/* Edition 06 — cohesive maritime UI / single-layer image mastheads. Always loaded LAST. */
:root{--ja6-navy:#092f47;--ja6-ocean:#087da0;--ja6-gold:#efc477;--ja6-border:#dce9ef;--ja6-paper:#fff}
/* The photograph fills its card and one translucent text-direction gradient provides legibility. */
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head,.rvw .ph){
 background-image:linear-gradient(270deg,rgba(4,36,58,.95) 0%,rgba(4,39,61,.83) 38%,rgba(5,47,68,.33) 73%,rgba(5,47,68,.09) 100%),var(--ja-hero-photo)!important;
 background-color:#0a3952!important;background-repeat:no-repeat!important;background-size:cover!important;
 background-position:center,center 47%!important;
 min-height:176px!important;box-shadow:0 10px 28px rgba(9,43,66,.10)!important;border:1px solid rgba(9,58,84,.16)!important;
}
html[dir=ltr] :is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head,.rvw .ph){
 background-image:linear-gradient(90deg,rgba(4,36,58,.95) 0%,rgba(4,39,61,.83) 38%,rgba(5,47,68,.33) 73%,rgba(5,47,68,.09) 100%),var(--ja-hero-photo)!important;
}
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head,.rvw .ph)::before,
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head,.rvw .ph)::after{content:none!important;display:none!important;background:none!important}
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head,.rvw .ph)>*{max-width:70%!important}
.dashboard-view .page-head.is-dashboard>div:first-child{max-width:70%!important}
/* Report-review pages previously had nested photographic surfaces. Only the main heading owns the image. */
.rvw .iw-top:has(.ph){background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;padding:0!important}
.rvw .iw-top:has(.ph)::before,.rvw .iw-top:has(.ph)::after{display:none!important;content:none!important}
.rvw .iw-top .ph{margin:0!important;background-position:center,center 39%!important}
/* Matching public / authority image headers without hard-splitting imagery from the copy. */
.pub-main:not(.is-landing) .pub-intro{background-image:linear-gradient(270deg,rgba(5,43,65,.96),rgba(5,42,65,.84) 42%,rgba(6,46,68,.26)),url('photos/harbor.webp')!important;background-size:cover!important;background-position:center!important}
.pub-main.is-complaint .pub-intro{background-image:linear-gradient(270deg,rgba(5,43,65,.95),rgba(5,42,65,.8) 45%,rgba(6,46,68,.18)),url('photos/cargo-ship.webp')!important}
.pub-main.is-feedback .pub-intro{background-image:linear-gradient(270deg,rgba(5,43,65,.95),rgba(5,42,65,.8) 45%,rgba(6,46,68,.18)),url('photos/calm-sea.webp')!important}
.pub-main:not(.is-landing) .pub-intro:before,.pub-main:not(.is-landing) .pub-intro:after{content:none!important;display:none!important}
.pub-main:not(.is-landing) .pub-intro :is(h1,p){max-width:76%!important}
.pv-search{background-image:linear-gradient(270deg,rgba(4,41,63,.96),rgba(5,47,69,.75) 52%,rgba(6,46,65,.14)),url('photos/daylight-port.webp')!important;background-position:center!important;background-size:cover!important}
.pv-search:before,.pv-search:after{content:none!important;display:none!important}
/* Login: stable above-the-fold desktop; responsive scrolling remains available on shorter devices. */
@media(min-width:900px) and (min-height:650px){
 .auth.auth-premium{min-height:0!important;padding:14px 26px!important;display:grid;place-items:center}
 .auth.auth-premium .auth-stage{height:min(570px,calc(100dvh - 168px))!important;min-height:0!important;max-width:1100px!important;overflow:hidden}
 .auth.auth-premium .auth-card{padding:clamp(20px,3vh,36px) clamp(26px,3vw,48px)!important}
 .auth.auth-premium .auth-story{padding:20px!important}
 .auth.auth-premium .auth-story-copy{padding:12px 18px!important}
 .auth.auth-premium .auth-story-copy h2{font-size:clamp(1.35rem,2vw,1.75rem)!important}
 .auth.auth-premium .auth-story-bottom{padding:0 18px 10px!important}
}
/* Team: help instead of a permanent full-height permissions card. */
.op-role-help{padding:0!important;overflow:hidden!important}
.op-role-help>summary{display:flex;align-items:center;gap:10px;padding:16px 18px;cursor:pointer;color:#12435b;font-weight:700;list-style:none}
.op-role-help>summary::-webkit-details-marker{display:none}
.op-role-help>summary svg{width:20px;height:20px;color:#0b7798}
.op-role-help>summary:hover{background:#eef8fb}
.op-role-help[open] .op-roles{padding:0 22px 22px!important;margin:0!important}
.op-team .op-email{display:inline-block;max-width:250px;overflow-wrap:anywhere;unicode-bidi:plaintext;text-align:start}
.op-team td{vertical-align:middle}
.op-more>.op-form .op-row{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.op-more>.op-form .op-row>.input{flex:1 1 145px;min-width:0}
/* Always show an accessible dropdown chevron with native keyboard controls intact. */
.field select,.filters select,.op-row select,select.input{appearance:auto!important;-webkit-appearance:menulist!important;padding-inline-end:28px!important;cursor:pointer}
/* Inline validation and retry-safe upload confirmation. */
.ja-inline-error{margin:6px 0 2px!important;color:#ad3940!important;font-size:.78rem!important;line-height:1.55}
.ja-field-invalid :is(input:not([type=checkbox]),select,textarea,.upload){border-color:#c74950!important;box-shadow:0 0 0 3px rgba(199,73,80,.10)!important}
.ix-saved-file{display:flex;align-items:center;gap:8px;color:#187054;background:#e9f7f1;border:1px solid #c9e7d9;border-radius:10px;padding:10px 12px;font-size:.8rem;line-height:1.5;overflow-wrap:anywhere}
.ix-saved-file .ic{width:19px;height:19px;flex:none}
.ix-terms-note{display:none!important}
/* Cohesive card and filter affordances. */
:where(.card,.kpi,.fi-card,.op-card,.cv-card,.iw-card){box-shadow:0 3px 13px rgba(8,46,67,.04),0 14px 30px rgba(8,46,67,.027)!important}
:where(.filters,.fi-filter)[aria-busy=true]{opacity:.72;transition:opacity .2s}
:where(.content-in,.pv-main)[aria-busy=true]{cursor:progress}
@media(max-width:700px){
 :is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head,.rvw .ph){background-image:linear-gradient(180deg,rgba(4,38,60,.9),rgba(4,42,65,.74)),var(--ja-hero-photo)!important;min-height:185px!important;background-position:center,center 40%!important}
 :is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head,.rvw .ph)>*,.dashboard-view .page-head.is-dashboard>div:first-child{max-width:100%!important}
 .pub-main:not(.is-landing) .pub-intro :is(h1,p){max-width:100%!important}
 .op-team .op-email{max-width:none}
}
@media(prefers-reduced-motion:reduce){*:focus{scroll-behavior:auto!important}}
/* Landing Hero follows the same full-bleed image-under-copy rule as the operational pages. */
.pub-main.is-landing .pub-intro{
 display:flex!important;align-items:stretch!important;justify-content:flex-end!important;min-height:370px!important;
 background-image:linear-gradient(270deg,rgba(4,36,57,.95) 0%,rgba(4,41,61,.81) 38%,rgba(4,42,63,.22) 79%,rgba(4,42,63,.03) 100%),url('photos/daylight-port.webp')!important;
 background-color:#0c405a!important;background-position:center,center 47%!important;background-size:cover!important;background-repeat:no-repeat!important;
}
html[dir=ltr] .pub-main.is-landing .pub-intro{background-image:linear-gradient(90deg,rgba(4,36,57,.95) 0%,rgba(4,41,61,.81) 38%,rgba(4,42,63,.22) 79%,rgba(4,42,63,.03) 100%),url('photos/daylight-port.webp')!important}
.pub-main.is-landing .ja-care-copy{width:min(62%,730px)!important;min-height:370px;position:relative;z-index:2;padding:35px clamp(22px,4vw,55px)!important}
.pub-main.is-landing .ja-care-photo{display:none!important}
.pub-main.is-landing .pub-intro h1{max-width:16ch!important}
.pub-main.is-landing .pub-intro p{color:#e9f5f9!important}
@media(max-width:700px){
 .pub-main.is-landing .pub-intro{min-height:345px!important;background-image:linear-gradient(180deg,rgba(4,36,57,.82),rgba(4,39,58,.56)),url('photos/daylight-port.webp')!important;background-position:center,40% center!important}
 .pub-main.is-landing .ja-care-copy{width:100%!important;min-height:345px;padding:28px 25px!important}
}

.op-help-question{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e4f3f9;color:#08799b;font-weight:800;font-size:1rem}
