/* CONSOLIDATED INTERFACE STYLESHEETS. Legacy component compatibility followed by Harborline V5. */

/* ===== premium.css ===== */
/*
 * JEDDAH ANCHOR / Premium maritime interface · design A + B + D
 * Shared presentation only. This stylesheet is loaded last, after route-owned CSS.
 * Keeps HTML contracts, existing business rules, CSP, and the embedded WordPress integration intact.
 * No external requests, JavaScript dependencies or inline style attributes.
 */
:root{
  --ink:#082c43;--ink-2:#2a4c63;--muted:#577287;--faint:#8298a7;
  --brand:#086d90;--brand-600:#075f80;--brand-700:#064d6d;
  --brand-50:#eaf6fb;--brand-100:#cce9f3;--cyan:#0b99c0;
  --gold:#c28a26;--gold-300:#edbb61;--gold-50:#fff8e9;
  --bg:#eef5f9;--surface:#fff;--surface-2:#f7fafc;
  --line:#dce8ee;--line-2:#c5d7e1;--info:#08658b;--info-bg:#e9f5fb;
  --r-sm:10px;--r:13px;--r-md:16px;--r-lg:20px;
  --sh-1:0 2px 8px rgba(4,39,63,.025),0 13px 30px rgba(6,48,73,.045);
  --sh-2:0 15px 35px rgba(7,46,69,.065),0 3px 8px rgba(7,46,69,.03);
  --ring:0 0 0 4px rgba(11,153,192,.19);
}
html{scroll-padding-top:20px}
body{background:radial-gradient(ellipse 850px 440px at 92% -180px,#dbeff8 0%,transparent 80%),var(--bg);letter-spacing:0}
body,button,input,textarea,select{font-family:"Inter","IBM Plex Sans Arabic",system-ui,sans-serif}
h1,h2,h3{letter-spacing:-.025em}
html[lang=ar] h1,html[lang=ar] h2,html[lang=ar] h3{letter-spacing:-.015em}
::selection{background:#b5e7f5;color:#05304b}
:focus-visible{outline:3px solid #0b99c0;outline-offset:3px}

/* APPLICATION CHROME ---------------------------------------------------- */
.shell{--sidebar-size:260px;min-height:100dvh}
.sidebar{background:linear-gradient(165deg,#082f49 0%,#06273e 64%,#051f35 100%);border-color:rgba(255,255,255,.08);box-shadow:inset -1px 0 rgba(255,255,255,.04)}
.sidebar::after{content:"";position:absolute;inset-inline:0;bottom:0;height:150px;background:radial-gradient(ellipse at 45% 120%,rgba(15,160,205,.19),transparent 72%);pointer-events:none}
.sidebar-head{padding:27px 18px 23px;border-bottom:1px solid rgba(255,255,255,.13)}
.sidebar-head .brand{gap:12px}
.sidebar-head .brand img{width:45px;height:45px;filter:drop-shadow(0 3px 7px rgba(0,0,0,.08))}
.sidebar-head .brand strong{font-size:1.07rem;letter-spacing:0}
.sidebar-head .brand small{font-size:.7rem;color:#c3d9e4}
.side-nav{gap:3px;padding:18px 12px;scrollbar-color:#54788c transparent}
.side-nav-label{display:block;margin:2px 15px 10px;font-size:.69rem;letter-spacing:.07em;color:#85acbf;font-weight:600}
.side-nav a{position:relative;min-height:45px;padding:8px 14px;border:1px solid transparent;border-radius:11px;color:#d4e6ee;font-size:.85rem;line-height:1.45;transition:background .16s,border-color .16s,color .16s,transform .16s}
.side-nav a .ic{width:18px;height:18px;color:#98bacb;stroke-width:1.9}
.side-nav a:hover{color:#fff;background:rgba(255,255,255,.105);border-color:rgba(255,255,255,.075);transform:translateX(-1px)}
html[dir=ltr] .side-nav a:hover{transform:translateX(1px)}
.side-nav a.is-active{color:#073a56;background:#f1faff;border-color:#fff;box-shadow:0 5px 14px rgba(0,0,0,.09),inset -3px 0 0 #0c84af;font-weight:700}
html[dir=ltr] .side-nav a.is-active{box-shadow:0 5px 14px rgba(0,0,0,.09),inset 3px 0 0 #0c84af}
.side-nav a.is-active .ic{color:#006e9b}
.nav-count{box-shadow:0 0 0 2px rgba(255,255,255,.12)}
.side-foot{position:relative;z-index:1;padding:15px 12px 17px;border-color:rgba(225,242,251,.12)}
.side-foot .account{padding-top:11px;border-top:1px solid rgba(255,255,255,.1)}
.side-foot .avatar{background:linear-gradient(145deg,#d2ecf6,#a7d5e8);color:#07334d;width:39px;height:39px;border:1px solid rgba(255,255,255,.43)}
.side-link{border-radius:10px;color:#d2e4ef}
.account-name{font-size:.82rem}
.account-name small{margin-top:4px;color:#adcada}
.topbar{background:rgba(255,255,255,.98);border-bottom-color:#dbe8ef;box-shadow:0 4px 20px rgba(4,39,62,.035)}
.content{background:radial-gradient(circle at 5% -40px,#e1f3fa,transparent 450px),transparent}
.content-in{max-width:1540px;gap:19px;padding:23px 24px 42px}
.workspace-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px;border:1px solid #dbe9ef;border-radius:16px;background:rgba(255,255,255,.86);box-shadow:0 4px 18px rgba(6,43,67,.025)}
.workspace-location{display:flex;align-items:center;gap:12px;min-width:0}
.workspace-emblem{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:13px;background:linear-gradient(155deg,#e3f3fa,#f1f9fc);color:#08749a;border:1px solid #cde8f2}
.workspace-emblem .ic{width:22px;height:22px;stroke-width:1.85}
.workspace-location>span:last-child{min-width:0;display:grid;gap:1px}
.workspace-overline{font-size:.65rem;letter-spacing:.06em;font-weight:600;color:#758d9c}
.workspace-location strong{font-weight:700;font-size:.98rem;color:#113c55;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.workspace-user{display:flex;align-items:center;gap:10px;font-size:.78rem;color:#436477}
.workspace-security{display:flex;align-items:center;gap:6px;color:#587c8f;font-size:.74rem}
.workspace-security .ic{width:16px;height:16px;color:#0d7e92}
.workspace-divider{height:25px;width:1px;background:#dce7ec;margin-inline:4px}
.workspace-user .avatar{width:31px;height:31px;background:#e8f4fa;color:#075b7c;border:1px solid #cae5f0}
.workspace-name{font-weight:600;color:#17445d;max-width:155px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* SHARED CONTROLS ------------------------------------------------------- */
.card,.fi-card,.iw-card,.pv-card{border-color:var(--line);border-radius:var(--r-lg);box-shadow:var(--sh-1)}
.card{background:linear-gradient(155deg,#fff 55%,#fcfefe)}
.card-head{padding-bottom:12px;border-bottom:1px solid #edf2f5;align-items:center}
.card-head h2{font-size:1.03rem;letter-spacing:0;font-weight:700;color:#103c57}
.card-head a,.row-link{color:#08749a;font-weight:700}
.btn{border-radius:11px;min-height:44px;letter-spacing:0;transition:background-color .18s,border-color .18s,box-shadow .18s,transform .18s}
.btn-primary{background:linear-gradient(120deg,#076d95,#073d5e);border-color:rgba(255,255,255,.08);color:#fff;box-shadow:0 5px 13px rgba(4,75,113,.13)}
.btn-primary:hover{background:linear-gradient(120deg,#087fa7,#085175);box-shadow:0 7px 19px rgba(4,75,113,.2);color:#fff}
.btn-secondary{background:#fff;color:#164b69;border-color:#bfd8e3;box-shadow:0 2px 4px rgba(6,43,67,.025)}
.btn-secondary:hover{background:#f0f9fc;border-color:#82b9d0;color:#074e70}
.btn-ghost:hover{background:#e7f3f9}
.btn:active{transform:translateY(1px)}
.field input:not([type=radio]):not([type=checkbox]):not([type=file]),.field select,.field textarea,.filters select,.search input,.moderation input,.input{border-radius:11px;background:#fbfdfe;border-color:#cbdce6;min-height:48px;box-shadow:inset 0 1px 2px rgba(5,46,70,.025)}
.field input:hover,.field textarea:hover,.field select:hover{border-color:#9dbfd0}
.field input:focus,.field textarea:focus,.field select:focus,.filters select:focus,.search input:focus{background:#fff;border-color:#087fa7;box-shadow:var(--ring)}
.field>label,.label{color:#21465e;font-weight:600}
.group-title{font-size:.96rem;color:#125473;border-bottom:1px solid #e0ebf1}
.help,.req-note{color:#607b8d}
.notice,.callout{border-radius:13px}
.upload{background:linear-gradient(145deg,#f9fcfe,#f0f8fc);border-color:#b9d4e2;border-radius:14px}
.upload:hover{background:#edf9ff}
.badge{border:1px solid transparent;letter-spacing:0}
.stars-static .star.on,.average-stars-gold{fill:#eea516}
.table-wrap{border-radius:12px;scrollbar-color:#9ebdce #edf5f8}
.table{border-collapse:separate;border-spacing:0}
.table th{background:#edf5f9;color:#48687e;font-weight:700;padding:12px 13px;border-top-color:#e2edf2}
.table th:first-child{border-start-start-radius:8px}
.table th:last-child{border-start-end-radius:8px}
.table td{padding:13px;border-bottom-color:#e9f0f4;color:#284b62}
.table tbody tr:nth-child(even) td{background:#fcfefe}
.table tbody tr:hover td{background:#f0f9fd}
.chip{border-radius:10px}
.chip.is-on{background:#084969;border-color:#084969;color:#fff}
.toolbar,.filters{min-width:0}
.page-head:not(.is-dashboard){gap:13px;margin-bottom:2px}
.page-head:not(.is-dashboard) h1,.fi-head h1{font-size:clamp(1.45rem,2.1vw,1.95rem);font-weight:700;color:#0a3551}
.page-head:not(.is-dashboard) p{font-size:.9rem}

/* DASHBOARD ------------------------------------------------------------- */
.dashboard-view{gap:20px}
.dashboard-view .page-head.is-dashboard{min-height:183px;padding:31px 34px;border-radius:23px;border:1px solid rgba(17,94,130,.2);box-shadow:0 16px 35px rgba(5,48,74,.11)}
.dashboard-view .page-head.is-dashboard::before{background:#0b3a55 url("photos/harbor.webp") center 56%/cover no-repeat}
.dashboard-view .page-head.is-dashboard::after{background:linear-gradient(270deg,rgba(3,34,54,.96),rgba(3,44,70,.91) 40%,rgba(2,46,73,.28) 100%)}
html[dir=ltr] .dashboard-view .page-head.is-dashboard::after{background:linear-gradient(90deg,rgba(3,34,54,.96),rgba(3,44,70,.91) 40%,rgba(2,46,73,.28))}
.dashboard-view .page-head.is-dashboard h1{font-size:clamp(1.8rem,3vw,2.4rem);line-height:1.3}
.dashboard-view .page-head.is-dashboard p{max-width:58ch;font-size:.94rem;color:#daecf6}
.dashboard-view .page-head.is-dashboard .btn-primary{background:linear-gradient(135deg,#0e8cb8,#086d98)}
.dashboard-view .page-head.is-dashboard .btn-secondary{background:rgba(255,255,255,.97)}
.dashboard-view .op-sec{border-inline-start:3px solid #d29b38;color:#164259;font-size:1.04rem;margin-top:8px}
.dashboard-view .kpis{gap:13px}
.dashboard-view .kpi{border-radius:18px;min-height:137px;background:#fff;border:1px solid #dceaf0;box-shadow:0 9px 28px rgba(5,44,70,.04)}
.dashboard-view .kpi::before{inset-block:16px;inset-inline-start:0;width:3px;background:#7ec2d8}
.dashboard-view .kpi.is-attn::before{background:#e7ad39}
.dashboard-view .kpi-value{font-size:2.32rem;color:#083956}
.dashboard-view .kpi-top{font-size:.83rem;color:#43647a;font-weight:700}
.dashboard-view .kpi-top .ic{width:23px;height:23px;color:#077eaa}
.dashboard-view .kpi-sub{font-size:.74rem;color:#688298}
.dashboard-view .op-dash,.dashboard-view .dash-grid{gap:14px}
.dashboard-view .op-dash>.card,.dashboard-view .dash-grid>.card{border-radius:19px}
.dashboard-view .op-agenda a,.dashboard-view .op-load li{border-color:#e1edf2;background:#f9fcfe}
.dashboard-view .task{border-radius:13px;background:#f9fcfe;min-height:71px}
.dashboard-view .task:hover{background:#eff9fd}
.dashboard-view .compliance.is-compact{border:1px solid #eedcb7;border-top:3px solid #e7aa36;background:linear-gradient(115deg,#fff,#fff9ed);border-radius:19px;box-shadow:0 10px 32px rgba(75,54,15,.045)}
.dashboard-view .comp-value{color:#073b58}

/* CUSTOMER RATINGS ------------------------------------------------------ */
.compliance.is-feature{border-color:#eddcb7;border-top:4px solid #e6aa36;border-radius:23px;box-shadow:0 18px 38px rgba(31,54,68,.06)}
.compliance.is-feature .comp-score{background:radial-gradient(ellipse at 50% 0%,#fff5d9,#fff 68%)}
.compliance.is-feature .comp-value{color:#0d3852;font-size:clamp(4.3rem,7.7vw,6.1rem)}
.compliance.is-feature .average-stars{filter:drop-shadow(0 4px 3px rgba(235,156,10,.13))}
.compliance.is-feature .meter-fill{background:linear-gradient(90deg,#dda11e,#f5c355)}
.compliance.is-feature .comp-info{background:linear-gradient(155deg,#fff,#f6fbfe)}
.feedback-table .table th{background:#ecf5f9}
.feedback-table .stars-static .star{width:21px;height:21px}
.feedback-table .comment-cell{color:#244a62}
.feedback-table .chip{border-radius:999px}

/* ADMIN OPERATIONS / INSPECTOR / REVIEW / CERTIFICATES ------------------ */
.op-steps li,.fi-steps li{border-radius:12px;border-color:#dbe9ef;background:#f9fcfe}
.op-steps li.is-now,.fi-steps .is-now{border-color:#8fcbe0;background:#eaf7fb}
.op-agenda a,.op-load li,.op-facts>div,.op-line,.op-next{border-radius:13px;border-color:#dfebf1;background:#fbfdff}
.op-agenda a:hover,.fi-list a:hover{box-shadow:0 7px 15px rgba(5,50,76,.05)}
.op-date{background:#e5f4fb;border:1px solid #c7e6f2;color:#086c93}
.cv-entity,.cv-block,.cv-note,.cv-cands,.cv-dups{border-color:#dce9f0;border-radius:15px}
.ia-task,.ia-next,.iw-card{box-shadow:var(--sh-1)}
.ia-head,.iw-head,.rvw .rv-head{border-radius:17px}
.ia-task,.ia-next,.iw-card,.iw-band,.iw-sec{border-color:#dfebf2}
.iw [type=checkbox],.iw [type=radio]{accent-color:#08749a}
.iw-rail,.iw-toolbar,.ia-toolbar{border-radius:14px}
.fiw{--navy:#092e47;--navy-2:#113e57;--gold:#bf8426;--gold-50:#fff7e8;--teal:#0a746f;gap:20px}
.fi-card{background:#fff}
.fi-card-ic{border-radius:13px;background:linear-gradient(135deg,#0b8ab7,#083e61)}
.fi-card-ic.gold{background:linear-gradient(135deg,#e4b053,#b67b1c)}
.fi-tabs a{border-radius:11px;background:#fff;border-color:#d6e7ef}
.fi-tabs a.is-on{background:#093d5a;border-color:#093d5a}
.fi-stats>div{background:#fff;border-color:#dce8ee;border-radius:16px;box-shadow:var(--sh-1)}
.fi-stats dd{color:#083b57}
.fi-list a{border-radius:13px;background:#fbfdfe}
.fi-seg{background:#e8f1f6}
.fi-chip,.fi-badge{font-weight:700}
.fi-issue{background:linear-gradient(155deg,#ebf8f6,#fff);border-color:#cae8e2}
.fi-pending{background:#fff9ee;border-color:#ecdab1}
.fi-testband{background:#fff3f0}

/* CUSTOMER CARE / PUBLIC ----------------------------------------------- */
.pub-header{border-bottom:1px solid #d8e8ef;background:rgba(255,255,255,.97);box-shadow:0 6px 25px rgba(6,49,77,.045)}
.pub-header-in{max-width:1340px;min-height:84px}
.pub-header .brand img{width:54px;height:54px}
.pub-header .brand strong{font-size:1.15rem;color:#0a3e5a}
.pub-end{gap:12px}
.pub-lang,.pv-lang{border-radius:999px;border:1px solid #c5dfe9;background:#f0f8fc;color:#0a6385;min-height:38px;display:inline-flex;align-items:center;padding-inline:16px;font-weight:700}
.pub-lang:hover,.pv-lang:hover{background:#e5f5fb}
.pub-main.is-landing{max-width:1340px;padding-top:27px;gap:19px}
.pub-main.is-landing .pub-intro{min-height:375px;border-radius:24px;padding:clamp(34px,6vw,78px);box-shadow:0 21px 44px rgba(4,48,76,.11)}
.pub-main.is-landing .pub-intro::before{background:#083e61 url("photos/daylight-port.webp") center 49%/cover no-repeat}
.pub-main.is-landing .pub-intro::after{background:linear-gradient(270deg,rgba(4,37,58,.96),rgba(4,43,67,.84) 47%,rgba(5,50,76,.13))}
html[dir=ltr] .pub-main.is-landing .pub-intro::after{background:linear-gradient(90deg,rgba(4,37,58,.96),rgba(4,43,67,.84) 47%,rgba(5,50,76,.13))}
.pub-main.is-landing .pub-kicker{color:#fce2ad;border-color:rgba(230,182,103,.57);background:rgba(7,51,74,.57)}
.pub-main.is-landing .pub-intro h1{font-size:clamp(2.25rem,4.2vw,4rem);line-height:1.18}
.pub-main.is-landing .choices{gap:17px}
.pub-main.is-landing .choice{border-top:3px solid #087eab;border-radius:20px;background:#fff;box-shadow:0 14px 35px rgba(6,50,76,.055)}
.pub-main.is-landing .choice:nth-child(2){border-top-color:#e0a537}
.pub-main.is-landing .choice:nth-child(3){border-top-color:#16876b}
.pub-main.is-landing .choice-ic{border-radius:16px}
.pub-main.is-landing .choice:hover{transform:translateY(-4px);box-shadow:0 19px 38px rgba(5,53,81,.105)}
.pub-main.is-complaint>.form,.pub-main.is-feedback>.form,.pub-main.is-inspection>.form{border-radius:20px;border-color:#d7e7ef;box-shadow:0 18px 44px rgba(5,49,77,.075)}
.pub-main.is-complaint .pub-intro,.pub-main.is-feedback .pub-intro,.pub-main.is-inspection .pub-intro{border-top:3px solid #e8b157}
.pub-main.is-feedback .rating-field{background:radial-gradient(circle at 50% 0,#fff4d7,#fff 74%);border-color:#eddaa8}
.pub-main.is-feedback .rating label{border-radius:15px}
.pub-main.is-feedback .rating label.on,.pub-main.is-feedback .rating label:hover{color:#eeab22}
.pub-main.is-feedback .rating input:checked+label{background:#fff2d2;border-color:#eccc85}
.pub-main .privacy-note{border-radius:12px}

/* AUTHENTICATION: premium split editorial composition ----------------- */
.auth.auth-premium{min-height:calc(100dvh - 79px);padding:clamp(20px,3.3vw,54px);background:radial-gradient(circle at 0 0,#d6e9f3,#ebf5f9 60%,#e5f0f6)}
.auth.auth-premium::before,.auth.auth-premium::after{display:none}
.auth-stage{display:contents}
.auth.auth-premium .auth-stage{display:grid;direction:ltr;grid-template-columns:minmax(350px,.85fr) minmax(0,1.15fr);width:min(1120px,100%);min-height:570px;overflow:hidden;border-radius:26px;border:1px solid rgba(255,255,255,.86);background:#fff;box-shadow:0 35px 75px rgba(5,46,72,.19),0 4px 12px rgba(5,46,72,.065)}
.auth.auth-premium .auth-card{direction:rtl;display:flex;flex-direction:column;align-items:stretch;justify-content:center;width:100%;min-width:0;max-width:none;border:0;border-radius:0;box-shadow:none;background:#fff;padding:clamp(29px,4.5vw,56px);gap:14px}
.auth.auth-premium .auth-brand{gap:13px;align-self:flex-start;border:0;padding-bottom:22px;margin-bottom:9px}
.auth.auth-premium .auth-brand img{width:53px;height:53px}
.auth.auth-premium .auth-brand strong{font-size:1.2rem;color:#083a57}
.auth.auth-premium .auth-brand small{font-size:.72rem;color:#54778b}
.auth.auth-premium h1{font-size:clamp(1.75rem,2.7vw,2.25rem);font-weight:700;color:#07334f}
.auth.auth-premium .muted{margin:-4px 0 12px;color:#5a7586;font-size:.91rem}
.auth.auth-premium form{gap:17px}
.auth.auth-premium .field label{font-size:.87rem;color:#244960}
.auth.auth-premium .field input{min-height:52px;background:#f9fcfd;border-color:#ccdde6}
.auth.auth-premium .btn-primary{margin-top:7px;min-height:55px;border-radius:11px}
.auth.auth-premium .auth-foot{justify-content:center;justify-self:stretch;width:100%;margin:15px 0 0;padding:10px 0;border-radius:0;background:transparent;color:#718795;font-size:.74rem}
.auth.auth-premium .auth-foot .ic{color:#0b8e8b}
.auth-story{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:28px;padding:clamp(28px,4vw,48px);color:#fff;background:#083a55 url("photos/daylight-port.webp") center 54%/cover no-repeat;overflow:hidden}
.auth-story::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(3,36,57,.7),rgba(3,32,51,.19) 31%,rgba(2,30,50,.89))}
.auth-story::after{content:"";position:absolute;width:400px;height:400px;inset-inline-end:-210px;inset-block-end:-260px;border:1px solid rgba(255,255,255,.21);border-radius:50%;box-shadow:0 0 0 55px rgba(255,255,255,.045),0 0 0 115px rgba(255,255,255,.025);pointer-events:none}
.auth-story-top{display:flex;align-items:center;gap:12px;font-size:.85rem;letter-spacing:.09em;font-weight:700;line-height:1.2}
.auth-story-top img{filter:drop-shadow(0 2px 8px rgba(0,0,0,.2))}
.auth-story-top-sub{display:block;margin-top:7px;color:#e6f1f5;font-size:.56rem;font-weight:500;letter-spacing:.16em}
.auth-story-copy{direction:rtl;align-self:flex-end;max-width:440px;text-align:right}
.auth-story-kicker{display:inline-flex;gap:9px;align-items:center;letter-spacing:.15em;color:#f1d3a1;font-size:.72rem;font-weight:700}
.auth-story-kicker>span{display:inline-block;width:28px;height:2px;background:#efb448}
.auth-story h2{margin:12px 0;font-size:clamp(2.2rem,4vw,3.6rem);font-weight:700;color:#fff;line-height:1.35;letter-spacing:0}
.auth-story-copy p{font-size:1.03rem;color:#eaf4f9}
.auth-story-en{display:block;margin-top:18px;letter-spacing:.15em;color:#f5d296;font-size:.72rem;font-weight:700}
.auth-story-bottom{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#d6e9f1;font-size:.65rem;letter-spacing:.13em;font-weight:600}
.auth-story-bottom i{width:3px;height:3px;border-radius:50%;background:#edb459}

/* AUTHORITY PORTAL ----------------------------------------------------- */
.pv{background:radial-gradient(ellipse at 82% 0,#dceefa,transparent 470px),#f1f7fa}
.pv-top{background:linear-gradient(110deg,#072a42,#084565);border-bottom:3px solid #dca64e}
.pv-top-in{max-width:1290px}
.pv-main{max-width:1020px}
.pv.is-auth .pv-main{max-width:1200px}
.pv-intro{border-radius:21px;border-color:#dbe9ef;border-top:4px solid #daa044;box-shadow:0 14px 34px rgba(7,45,67,.055)}
.pv.is-auth .pv-search{border-radius:22px;box-shadow:0 19px 41px rgba(5,44,72,.12)}
.pv.is-auth .pv-search::before{background:#083951 url("photos/harbor.webp") center 58%/cover no-repeat}
.pv.is-auth .pv-search::after{background:linear-gradient(270deg,rgba(3,37,59,.95),rgba(4,49,73,.81) 55%,rgba(3,48,74,.2))}
html[dir=ltr] .pv.is-auth .pv-search::after{background:linear-gradient(90deg,rgba(3,37,59,.95),rgba(4,49,73,.81) 55%,rgba(3,48,74,.2))}
.pv.is-auth .pv-search .pv-sform .btn{background:#e7b24f;color:#14354a}
.pv.is-auth .pv-search .pv-sform .btn:hover{background:#f5c36c}
.pv.is-auth:has(.pv-login) .pv-main{max-width:none}
.pv.is-auth:has(.pv-login) .pv-main::before{background:#09384f url("photos/calm-sea.webp") center/cover no-repeat}
.pv.is-auth .pv-login{border-radius:25px;box-shadow:0 26px 62px rgba(4,43,71,.19);border-top:4px solid #e7b04d}
.pv-res{border-radius:16px}

/* RESPONSIVE / A11Y ----------------------------------------------------- */
@media(min-width:1024px){
  .shell{grid-template-columns:var(--sidebar-size) minmax(0,1fr)}
  .sidebar{width:auto;box-shadow:none}
  .content-in{padding:25px clamp(22px,3vw,44px) 52px}
}
@media(max-width:1023px){
  .side-nav a:hover{transform:none}
  .content-in{padding:18px 16px 38px}
  .workspace-bar{padding:12px 15px}
  .dashboard-view .page-head.is-dashboard{min-height:158px}
}
@media(max-width:850px){
  .auth.auth-premium .auth-stage{grid-template-columns:minmax(0,1fr) minmax(0,.9fr);min-height:500px}
  .auth.auth-premium .auth-card{padding:26px}
  .auth-story{padding:25px}
  .auth-story h2{font-size:2.2rem}
  .workspace-name{display:none}
}
@media(max-width:640px){
  .auth.auth-premium{padding:17px 14px;align-content:center}
  .auth.auth-premium .auth-stage{display:flex;flex-direction:column;max-width:460px;border-radius:21px;min-height:0}
  .auth.auth-premium .auth-card{order:2;padding:25px 23px 20px}
  .auth.auth-premium .auth-brand{padding-bottom:4px;margin-bottom:3px}
  .auth.auth-premium h1{font-size:1.68rem}
  .auth.auth-premium .auth-story{order:1;min-height:168px;padding:21px 24px;background-position:center 48%}
  .auth-story-top{font-size:.75rem}
  .auth-story-top img{width:33px;height:33px}
  .auth-story-kicker,.auth-story-copy p,.auth-story-en,.auth-story-bottom{display:none}
  .auth-story-copy{align-self:flex-start;text-align:start}
  .auth-story h2{margin:5px 0 0;font-size:1.6rem}
  .auth.auth-premium .auth-foot{margin-top:8px}
  .workspace-bar{min-height:60px;gap:8px}
  .workspace-emblem{width:36px;height:36px}
  .workspace-location{gap:9px}
  .workspace-location strong{font-size:.85rem}
  .workspace-overline{font-size:.6rem}
  .workspace-security span,.workspace-divider,.workspace-user .avatar{display:none}
  .workspace-user{flex:none}
  .workspace-security .ic{width:19px;height:19px}
  .dashboard-view .page-head.is-dashboard{padding:24px 21px;min-height:180px}
  .dashboard-view .page-head.is-dashboard h1{font-size:1.85rem}
  .dashboard-view .page-head.is-dashboard::after{background:linear-gradient(270deg,rgba(3,34,54,.96),rgba(3,44,70,.88) 65%,rgba(2,46,73,.55))}
  .dashboard-view .kpi{min-height:117px;padding:14px}
  .dashboard-view .kpi-value{font-size:1.85rem}
  .dashboard-view .kpi-top{font-size:.76rem}
  .table-cards tbody tr{border:1px solid #dae7ee;border-radius:14px;box-shadow:0 6px 17px rgba(5,48,72,.04)}
  .table-cards tbody tr:hover td{background:transparent}
  .pub-header-in{min-height:70px;padding-inline:15px}
  .pub-main.is-landing .pub-intro{min-height:335px}
  .pub-main.is-landing .pub-intro::before{background-position:58% center}
  .pub-main.is-landing .pub-intro::after{background:linear-gradient(0deg,rgba(3,32,51,.97),rgba(3,32,51,.58) 72%,rgba(3,32,51,.18))}
  .pub-main.is-landing .choice{border-top:1px solid #d8e9ef;border-inline-start:3px solid #0c81a8}
  .pub-main.is-landing .choice:nth-child(2){border-inline-start-color:#dca044}
  .pub-main.is-landing .choice:nth-child(3){border-inline-start-color:#16876b}
  .compliance.is-feature .comp-score{min-height:270px}
}
@media(max-width:390px){
  .content-in{padding:14px 11px 29px}
  .workspace-bar{padding:10px}
  .workspace-location strong{font-size:.77rem}
  .dashboard-view .kpis{gap:9px}
  .dashboard-view .kpi{padding:12px 11px}
  .dashboard-view .kpi-value{font-size:1.65rem}
  .auth.auth-premium{padding:12px 10px}
  .auth.auth-premium .auth-card{padding:24px 20px 16px}
  .pub-main.is-feedback .rating label{width:46px;height:46px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  .btn,.side-nav a,.choice,.kpi,.fi-list a{transition:none!important;transform:none!important}
}
@media print{
  .workspace-bar{display:none!important}
  /* Existing certificate/QR print rendering remains in charge. */
  body{background:#fff!important}
  .card{box-shadow:none}
}


/* ===== premium-wow.css ===== */
/* JEDDAH ANCHOR / WOW Revision 2 — 2026-10-19
   Branded, accessible shared experience. Pure presentation: no form contracts,
   route behaviour, PDF or certificate output changed. All assets self-hosted. */
:root{
 --ja-navy:#072d47;--ja-midnight:#041e33;--ja-ocean:#08769d;
 --ja-teal:#148aa0;--ja-gold:#dda24a;--ja-ice:#eff8fc;
 --ja-ink:#113c56;--ja-muted:#59758a;--ja-border:#d7e7ef;
 --ja-elevation:0 12px 38px rgba(5,43,68,.065),0 1px 2px rgba(5,43,68,.025);
 --ja-elevation-up:0 20px 48px rgba(5,43,68,.105),0 4px 14px rgba(5,43,68,.035);
}
html{scroll-behavior:smooth}
body{color:var(--ja-ink);background:#eff6fa}
html[lang="ar"] body,html[lang="ar"] input,html[lang="ar"] textarea,html[lang="ar"] button{font-family:"IBM Plex Sans Arabic","Inter",sans-serif}
html[lang="en"] body{font-family:"Inter","IBM Plex Sans Arabic",sans-serif}
a,button{ -webkit-tap-highlight-color:transparent }
:where(a,button,input,select,textarea):focus-visible{outline:3px solid #0b97bd;outline-offset:3px}
::selection{background:#c0e6f2;color:#053550}
/* One real AR/EN switch in the TOP header of every screen. */
.ja-lang-switch{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;white-space:nowrap;min-height:42px;padding:0 14px;border:1px solid #c1dce7;background:#eef8fc;color:#065875;text-decoration:none;border-radius:12px;font-size:.82rem;font-weight:700;line-height:1;transition:color .2s,background .2s,border-color .2s,box-shadow .2s}
.ja-lang-switch .ic{width:18px;height:18px;stroke-width:2}
.ja-lang-switch .ja-lang-caret{opacity:.55;font-family:"Inter",sans-serif;font-size:.75rem}
.ja-lang-switch:hover{background:#d9f0f9;color:#063e5b;border-color:#9bcfdf;box-shadow:0 4px 16px rgba(8,111,151,.1)}
.ja-top-spacer,.ja-auth-header-spacer{flex:1}
.topbar{min-height:73px;padding-inline:24px;background:rgba(255,255,255,.98);border-bottom:1px solid var(--ja-border);box-shadow:0 6px 24px rgba(5,45,68,.045);gap:16px}
.topbar .brand{display:none}
.ja-top-title{display:inline-flex;align-items:center;gap:10px;color:var(--ja-navy);font-weight:700;font-size:.8rem;letter-spacing:.01em}
.ja-top-title>.ic{width:20px;height:20px;color:#0b83aa}
.ja-top-home{display:grid;place-items:center;width:42px;height:42px;border:1px solid #e2edf2;border-radius:12px;color:#4c7990;background:#fff}
.ja-top-home .ic{width:19px;height:19px}
.ja-top-home:hover{color:#076e94;background:#eef8fc}
.sidebar{background:linear-gradient(166deg,#053855 0%,#052c47 42%,#041b2e 100%);border:0;box-shadow:inset -1px 0 rgba(255,255,255,.07)}
.sidebar::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.45;background:radial-gradient(circle at 10% 14%,rgba(24,154,193,.32),transparent 260px),linear-gradient(158deg,transparent 75%,rgba(45,163,196,.12))}
.sidebar-head{position:relative;z-index:1;padding-top:29px;padding-bottom:27px;border-bottom:1px solid rgba(255,255,255,.15)}
.sidebar-head .brand img{width:52px;height:52px}
.sidebar-head .brand strong{color:#fff;font-size:1.13rem}
.sidebar-head .brand small{color:#b8d6e4;letter-spacing:.08em}
.side-nav{position:relative;z-index:1;padding-top:23px;gap:5px}
.side-nav-label{font-size:.67rem;color:#92c1d2;font-weight:700;letter-spacing:.09em;margin-bottom:10px}
.side-nav a{min-height:47px;border-radius:11px;padding-inline:14px;font-size:.85rem;color:#cbe0eb;transition:background .2s,color .2s,transform .2s}
.side-nav a .ic{width:19px;height:19px;stroke-width:1.8;flex:none}
.side-nav a:hover{background:rgba(107,202,228,.13);color:#fff;transform:translateY(-1px)}
.side-nav a.is-active{background:linear-gradient(106deg,#fff,#eaf8fd);color:#063d5c;box-shadow:0 6px 16px rgba(1,20,35,.14);border-color:#fff}
.side-nav a.is-active .ic{color:#0d7da4}
.side-nav a.is-active::before{content:"";position:absolute;inset-inline-start:1px;top:11px;bottom:11px;width:3px;border-radius:4px;background:#d5a04b}
.nav-count{background:linear-gradient(130deg,#f3be61,#d69028);color:#072d47;font-weight:800;border:0}
.content{background:radial-gradient(ellipse 860px 520px at 89% -240px,#d4ebf5,transparent 90%),#edf5f9}
.content-in{max-width:1600px;gap:20px;padding-bottom:48px}
.workspace-bar{position:relative;min-height:77px;border-radius:17px;padding:15px 21px;box-shadow:var(--ja-elevation);border:1px solid #dbeaf0;background:#fff}
.workspace-bar::before{content:"";position:absolute;inset-inline-start:0;top:17px;bottom:17px;width:3px;border-radius:0 6px 6px 0;background:linear-gradient(#eaba63,#0a89ad)}
.workspace-emblem{width:47px;height:47px;border-radius:14px;background:linear-gradient(145deg,#d9f1fb,#f4fbfe);box-shadow:inset 0 0 0 1px #e5f2f8;color:#067ba0}
.workspace-location strong{color:var(--ja-navy);font-size:1.02rem}
.workspace-overline{color:#608199;letter-spacing:.045em}
.workspace-security{background:#f0f8fc;color:#22657d;padding:9px 12px;border-radius:9px;border:1px solid #e0eef4}
.workspace-security .ic{color:#0a82a4}
.workspace-user .avatar{background:#dfedf5;color:#083c57;width:36px;height:36px;border:2px solid white;box-shadow:0 0 0 1px #cbe3ee}
/* universal rhythm: all 65 documented server-rendered states share these controls */
.card,.fi-card,.iw-card,.pv-card,.op-card,.cv-card{border-radius:18px;border-color:var(--ja-border);box-shadow:var(--ja-elevation);background:#fff}
.card-head{border-bottom:1px solid #e8f1f5;padding-bottom:17px}
.card-head h2{display:inline-flex;align-items:center;gap:8px;color:#0a3754;font-weight:700}
.card-head h2::before{content:"";display:inline-block;width:4px;height:19px;border-radius:3px;background:linear-gradient(180deg,#deb15c,#178db5)}
.page-head:not(.is-dashboard){position:relative;padding-inline-start:12px}
.page-head:not(.is-dashboard)::before{content:"";position:absolute;inset-inline-start:0;top:5px;height:37px;width:3px;background:linear-gradient(#e0aa51,#0e91b3);border-radius:6px}
.page-head:not(.is-dashboard) h1,.fi-head h1{font-size:clamp(1.6rem,2.4vw,2.15rem);letter-spacing:-.025em}
.btn{border-radius:11px;font-weight:700;transition:background .2s,border-color .2s,box-shadow .2s,transform .2s}
.btn-primary{background:linear-gradient(115deg,#0b85a9,#064267);box-shadow:0 8px 22px rgba(5,73,105,.17)}
.btn-primary:hover{background:linear-gradient(115deg,#109abc,#0b567d);box-shadow:0 12px 27px rgba(5,73,105,.2);transform:translateY(-1px)}
.btn-secondary{border-color:#bedbe8;background:#f8fcfe;color:#07536e}
.btn-secondary:hover{background:#eaf6fc;border-color:#91c8df;transform:translateY(-1px)}
.btn .ic{flex:none}
.field input:not([type=radio]):not([type=checkbox]):not([type=file]),.field select,.field textarea,.input,.search input,.pv input:not([type=checkbox]){border:1px solid #d1e1e9;border-radius:11px;background:#f8fbfd;box-shadow:inset 0 1px 2px rgba(4,34,56,.02);min-height:48px}
.field input:focus,.field textarea:focus,.field select:focus,.pv input:focus{background:#fff;border-color:#148ab1;box-shadow:0 0 0 4px rgba(21,149,187,.13)}
.field>label,.label,.pv-form label{font-weight:700;color:#214a62}
.table-wrap{border:1px solid #e2ebf0;overflow:auto;border-radius:14px}
.table th{background:linear-gradient(180deg,#ecf5f9,#e7f1f7);color:#315c76;font-size:.78rem;letter-spacing:.01em}
.table td{border-bottom-color:#e9f1f5}
.table tbody tr:hover td{background:#eef9fd}
.badge,.fi-badge{font-weight:700;border-radius:9px}
.chip,.fi-chip{font-weight:650}
.kpi,.fi-stat,.op-stat{background:#fff;border:1px solid #dbe8ee;box-shadow:var(--ja-elevation)}
/* command centre: purposeful maritime photography + distinct readable data groups */
.dashboard-view{gap:18px}
.dashboard-view .page-head.is-dashboard{position:relative;isolation:isolate;min-height:245px;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:clamp(27px,3.7vw,52px);overflow:hidden;border-radius:23px;box-shadow:0 23px 42px rgba(4,41,68,.16);border:1px solid rgba(255,255,255,.13)}
.dashboard-view .page-head.is-dashboard::before{content:"";position:absolute;inset:0;z-index:-2;background:#0b4564 url("photos/harbor.webp") center 52%/cover no-repeat}
.dashboard-view .page-head.is-dashboard::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(270deg,#062c47 0%,rgba(5,44,69,.95) 37%,rgba(5,50,76,.4) 100%)}
html[dir=ltr] .dashboard-view .page-head.is-dashboard::after{background:linear-gradient(90deg,#062c47 0%,rgba(5,44,69,.95) 37%,rgba(5,50,76,.4) 100%)}
.dashboard-view .page-head.is-dashboard:before{filter:saturate(.97)}
.dashboard-view .page-head.is-dashboard h1{font-size:clamp(2rem,3.1vw,2.9rem);line-height:1.2;letter-spacing:-.015em;color:#fff;margin:11px 0}
.dashboard-view .page-head.is-dashboard p{font-size:1rem;max-width:44ch;line-height:1.8;color:#cce4ee}
.ja-hero-eyebrow{display:inline-flex;align-items:center;gap:9px;color:#f6c97e;font-size:.7rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.ja-hero-eyebrow .ic{height:19px;width:19px;stroke-width:1.8}
.dashboard-view .page-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;z-index:1}
.dashboard-view .page-actions .btn{border-radius:11px;min-height:47px}
.dashboard-view .page-actions .btn-secondary{background:#fff;color:#12455e}
.dashboard-view .page-actions .btn-primary{background:#e5b257;border-color:#e5b257;color:#14334b;box-shadow:0 9px 20px rgba(5,25,44,.16)}
.dashboard-view .page-actions .btn-primary:hover{background:#f2c271}
.dashboard-view .kpis{gap:15px}
.dashboard-view .kpi{position:relative;min-height:154px;overflow:hidden;border-radius:18px;padding:19px 21px 18px;transition:transform .2s,box-shadow .2s,border-color .2s}
.dashboard-view .kpi::after{content:"";position:absolute;inset-inline-end:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,#1aa7c7,#7bd2e0)}
.dashboard-view .kpi:nth-child(4)::after{background:linear-gradient(#f1c26e,#d79625)}
.dashboard-view .kpi:hover{transform:translateY(-4px);box-shadow:var(--ja-elevation-up);border-color:#acd3e3}
.dashboard-view .kpi-top{color:#315a72;font-weight:700}
.dashboard-view .kpi-top>.ic{width:34px;height:34px;padding:8px;box-sizing:content-box;background:#e8f5fb;color:#0780a5;border-radius:12px}
.dashboard-view .kpi:nth-child(4) .kpi-top>.ic{background:#fff3df;color:#c98a19}
.dashboard-view .kpi-value{font-size:clamp(2rem,2.7vw,2.7rem);color:#092f4d;font-weight:800;line-height:1.3}
.dashboard-view .kpi-sub{font-size:.78rem;color:#69899b}
.dashboard-view .dash-grid .card{border-radius:18px}
.dashboard-view .task{border-radius:11px;padding:12px 14px}
.dashboard-view .task-count{font-weight:800}
.dashboard-view .table-wrap{border-radius:11px}
/* Public care: expressive content and stronger card storytelling, remains real route links */
.pub-header{background:rgba(255,255,255,.98);border-bottom:1px solid #dcebf1;box-shadow:0 3px 20px rgba(3,38,63,.045)}
.pub-header-in{max-width:1200px;min-height:86px;padding-inline:24px;gap:16px}
.pub-end{display:flex;align-items:center;gap:14px}
.pub-tag{font-size:.8rem;color:#426c82;font-weight:700}
.pub-main{max-width:880px}
.pub-main.is-landing{max-width:1160px;padding-top:28px}
.pub-main.is-landing .pub-intro{min-height:360px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:clamp(28px,5vw,57px);text-align:start;border-radius:24px;box-shadow:0 20px 43px rgba(4,42,70,.12);overflow:hidden}
.pub-main.is-landing .pub-intro::before{background:#0b4b70 url("photos/daylight-port.webp") center 45%/cover no-repeat}
.pub-main.is-landing .pub-intro::after{background:linear-gradient(270deg,#052e49 0%,rgba(5,47,70,.93) 42%,rgba(4,49,70,.12) 100%)}
html[dir=ltr] .pub-main.is-landing .pub-intro::after{background:linear-gradient(90deg,#052e49 0%,rgba(5,47,70,.93) 42%,rgba(4,49,70,.12) 100%)}
.pub-main.is-landing .pub-intro h1{font-size:clamp(2rem,4vw,3.5rem);max-width:17ch;line-height:1.25;color:#fff}
.pub-main.is-landing .pub-intro p{color:#dfedf7;font-size:1.02rem;line-height:1.75;max-width:42ch}
.pub-main.is-landing .pub-kicker{color:#f6c47c;border-color:rgba(246,196,124,.65);background:rgba(5,34,55,.36);font-size:.8rem}
.pub-main.is-landing .choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.pub-main.is-landing .choice{display:flex;flex-direction:column;align-items:flex-start;gap:13px;min-height:230px;padding:24px 22px;border-radius:18px;background:linear-gradient(152deg,#fff,#fafdff);border:1px solid #d9e8ef;box-shadow:var(--ja-elevation);transition:transform .2s,box-shadow .2s,border-color .2s}
.pub-main.is-landing .choice:hover{transform:translateY(-5px);box-shadow:var(--ja-elevation-up);border-color:#a5cfdf}
.pub-main.is-landing .choice-ic{display:grid;place-items:center;width:62px;height:62px;border-radius:17px;background:#e2f4fb;color:#087fa4}
.pub-main.is-landing .choice:nth-child(2) .choice-ic{background:#fff2d9;color:#c78415}
.pub-main.is-landing .choice:nth-child(3) .choice-ic{background:#e7f7ef;color:#117c57}
.pub-main.is-landing .choice-ic .ic{width:31px;height:31px}
.pub-main.is-landing .choice-body{width:100%;flex:1}
.pub-main.is-landing .choice-title{font-size:1.16rem;line-height:1.45;color:#0a3b57}
.pub-main.is-landing .choice-text{font-size:.83rem;color:#5d798d;line-height:1.65}
.pub-main.is-landing .choice-go{align-self:flex-end;background:#e9f5fa;color:#087fa5}
.pub-main.is-landing .choice:hover .choice-go{background:#0a7399;color:#fff}
.pub-main.is-landing .hint{border-radius:14px;background:#e5f4fa;color:#315b73}
/* Logins: top bar on both login pages, purposeful visuals, full RTL and English LTR. */
.ja-auth-header{position:relative;z-index:4;display:flex;align-items:center;gap:12px;min-height:72px;padding:10px clamp(18px,5.4vw,90px);background:#fff;border-bottom:1px solid #d9e7ef;box-shadow:0 4px 17px rgba(7,46,70,.04)}
.ja-auth-header-mark{display:inline-flex;align-items:center;gap:11px;color:#0b3953;font-size:.87rem;font-weight:700}
.ja-auth-header-mark>.ic{color:#0c89aa;width:22px;height:22px}
.auth.auth-premium{min-height:calc(100dvh - 151px);background:radial-gradient(circle at 0 12%,#d7edf7,transparent 48%),linear-gradient(145deg,#eff7fb,#e0eff6);padding:clamp(22px,4vw,62px)}
.auth.auth-premium .auth-stage{max-width:1160px;min-height:610px;box-shadow:0 27px 75px rgba(4,36,61,.21),0 6px 20px rgba(4,36,61,.04);border-radius:25px}
.auth.auth-premium .auth-card{align-items:stretch;padding:clamp(30px,5vw,68px);gap:19px}
.auth.auth-premium .auth-brand{margin:0 0 20px;padding:0}
.auth.auth-premium h1{font-size:clamp(1.85rem,2.45vw,2.45rem);letter-spacing:-.01em;color:#092e49}
.auth.auth-premium .muted{font-size:1rem;color:#678397;margin-bottom:16px}
.auth.auth-premium .field input{background:#f7fbfe;min-height:54px}
.auth.auth-premium .btn-primary{min-height:56px;font-size:.95rem}
.auth.auth-premium .auth-foot{font-size:.78rem}
html[dir=ltr] .auth.auth-premium .auth-card{direction:ltr}
html[dir=ltr] .auth-story-copy{direction:ltr;text-align:left;align-self:flex-start}
.auth-story{background:#073d5b url("photos/daylight-port.webp") center/cover no-repeat;min-height:100%;padding:clamp(26px,4.2vw,54px)}
.auth-story::before{background:linear-gradient(180deg,rgba(3,41,67,.7),rgba(4,42,68,.11) 35%,rgba(2,28,50,.9))}
.auth-story h2{font-size:clamp(2.2rem,3.5vw,3.6rem);line-height:1.3}
/* Authority login: redesigned as an actual two-column portal, not a centered old card. */
.pv-top{background:linear-gradient(105deg,#062f49,#074868);border-bottom:2px solid #e0ab55}
.pv-top-in{max-width:1240px;min-height:76px}
.pv-top .ja-lang-switch{background:#f1fbff;color:#064465;border-color:#e1f5fb}
.pv-top .ja-lang-switch:hover{background:#d8f1fa}
.pv.is-auth:has(.ja-authority-frame){background:radial-gradient(ellipse at 80% 0,#dceff8,#edf6fa 65%)}
.pv.is-auth:has(.ja-authority-frame) .pv-main{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;max-width:1250px;width:100%;min-height:calc(100dvh - 151px);padding:clamp(25px,4vw,58px) 24px}
.pv.is-auth:has(.ja-authority-frame) .pv-main::before,.pv.is-auth:has(.ja-authority-frame) .pv-main::after{display:none!important}
.ja-authority-frame{display:grid;grid-template-columns:1.04fr .96fr;width:min(1130px,100%);min-height:620px;direction:ltr;border:1px solid rgba(255,255,255,.85);border-radius:25px;overflow:hidden;background:#fff;box-shadow:0 31px 75px rgba(5,43,70,.20),0 6px 15px rgba(5,43,70,.05)}
.ja-authority-story{position:relative;isolation:isolate;min-height:620px;display:flex;flex-direction:column;justify-content:space-between;gap:26px;padding:clamp(30px,4vw,53px);background:#073b5b url("photos/cargo-ship.webp") center 47%/cover no-repeat;color:#fff}
.ja-authority-story::before{position:absolute;inset:0;content:"";z-index:-1;background:linear-gradient(180deg,rgba(1,33,57,.66),rgba(3,42,66,.24) 42%,rgba(2,28,48,.96))}
.ja-authority-story::after{position:absolute;bottom:-220px;inset-inline-end:-160px;content:"";height:360px;width:360px;border:1px solid rgba(255,255,255,.2);border-radius:50%;box-shadow:0 0 0 55px rgba(255,255,255,.03),0 0 0 130px rgba(255,255,255,.03);pointer-events:none}
.ja-authority-story-top{display:flex;gap:13px;align-items:center;font-size:.94rem;font-weight:800;letter-spacing:.09em}
.ja-authority-story-top img{width:55px;height:55px;filter:drop-shadow(0 5px 8px rgba(0,0,0,.3))}
.ja-authority-story-top small{display:block;color:#d4eaf2;font-size:.59rem;margin-top:5px;letter-spacing:.16em}
.ja-authority-story-copy{position:relative;direction:rtl;text-align:start;align-self:stretch;max-width:470px}
html[dir=ltr] .ja-authority-story-copy{direction:ltr}
.ja-authority-story-copy h2{font-size:clamp(2.2rem,3.7vw,3.55rem);color:#fff;line-height:1.28;margin:16px 0 11px}
.ja-authority-story-copy p{color:#e3f1f7;font-size:1rem;line-height:1.75}
.ja-authority-story-foot{display:flex;gap:15px;flex-wrap:wrap;color:#f3f8fc;font-size:.74rem}
.ja-authority-story-foot span{display:inline-flex;gap:7px;align-items:center}
.ja-authority-story-foot .ic{width:17px;height:17px;color:#e8b256}
.pv.is-auth .ja-authority-frame .pv-login{direction:rtl;min-width:0;width:100%;max-width:none;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:17px;margin:0;padding:clamp(31px,4.4vw,59px);background:#fff;box-shadow:none!important;border:0!important;border-radius:0;backdrop-filter:none;text-align:start}
html[dir=ltr] .pv.is-auth .ja-authority-frame .pv-login{direction:ltr}
.pv.is-auth .ja-authority-frame .pv-login h1{text-align:start;font-size:clamp(1.8rem,2.3vw,2.3rem);margin:0;color:#073551}
.pv.is-auth .ja-authority-frame .pv-login>p{text-align:start;max-width:48ch;color:#5a798d;line-height:1.75}
.pv.is-auth .ja-authority-frame .pv-login>.pv-big-ic{width:64px;height:64px;border-radius:17px;background:#e3f3fa;color:#087ca4}
.pv.is-auth .ja-authority-frame .pv-form{max-width:none;width:100%;gap:17px;margin-top:15px}
.pv.is-auth .ja-authority-frame .pv-form input{height:53px;border-radius:11px;background:#f7fbfe}
.pv.is-auth .ja-authority-frame .pv-form .btn{height:55px;border-radius:11px;font-weight:800}
.pv.is-auth .ja-authority-frame .pv-small{align-self:center;max-width:40ch;color:#6b8799;line-height:1.6}
.pv.is-auth:not(:has(.ja-authority-frame)) .pv-search{border-radius:23px}
.pv.is-auth:not(:has(.ja-authority-frame)) .pv-search::before{background-image:url("photos/harbor.webp")}
.pv .pv-card,.pv .pv-res{border-color:#dbe9f0;box-shadow:var(--ja-elevation)}
.pv .pv-res:hover{box-shadow:var(--ja-elevation-up);transform:translateY(-1px)}
/* consistent mobile, readable forms and fully visible top language switch */
@media(max-width:1100px){
 .ja-top-title{display:none}
 .content-in{padding-inline:20px}
 .dashboard-view .page-head.is-dashboard{min-height:226px}
 .pub-main.is-landing{padding-inline:24px}
}
@media(max-width:900px){
 .ja-authority-frame{grid-template-columns:1fr 1fr;min-height:550px}
 .ja-authority-story{min-height:550px;padding:30px}
 .ja-authority-story-copy h2{font-size:2.25rem}
 .pv.is-auth .ja-authority-frame .pv-login{padding:32px}
 .dashboard-view .page-head.is-dashboard{flex-wrap:wrap}
}
@media(max-width:720px){
 .topbar{min-height:62px;padding-inline:14px;gap:9px}
 .topbar .brand{display:inline-flex}
 .topbar .brand .brand-text{display:none}
 .ja-top-home{width:40px;height:40px}
 .ja-lang-switch{min-height:40px;padding-inline:12px;gap:7px;font-size:.79rem}
 .ja-lang-switch .ja-lang-caret{display:none}
 .workspace-bar{padding:11px 14px;min-height:65px}
 .workspace-location strong{font-size:.9rem}
 .workspace-location .workspace-overline{font-size:.6rem}
 .content-in{padding:17px 15px 30px}
 .dashboard-view .page-head.is-dashboard{min-height:255px;padding:27px 22px}
 .dashboard-view .page-head.is-dashboard h1{font-size:2rem}
 .dashboard-view .page-actions .btn{flex:1 1 auto}
 .dashboard-view .kpi{min-height:144px}
 .pub-header-in{min-height:71px;padding-inline:15px}
 .pub-end{gap:8px}
 .pub-main.is-landing{padding-inline:14px}
 .pub-main.is-landing .choices{grid-template-columns:1fr;gap:12px}
 .pub-main.is-landing .choice{min-height:136px;flex-direction:row;align-items:center;padding:18px}
 .pub-main.is-landing .choice-body{flex:1}
 .pub-main.is-landing .choice-go{align-self:center}
 .pub-main.is-landing .pub-intro{min-height:295px;padding:27px 23px}
 .pub-main.is-landing .pub-intro h1{font-size:2.15rem}
 .ja-auth-header{min-height:62px;padding:9px 16px}
 .auth.auth-premium{min-height:calc(100dvh - 135px)}
 .auth.auth-premium .auth-stage{display:flex;flex-direction:column;max-width:470px;min-height:auto}
 .auth.auth-premium .auth-story{order:1;min-height:180px;padding:24px}
 .auth.auth-premium .auth-card{order:2;padding:27px 24px}
 .ja-authority-frame{display:flex;flex-direction:column;max-width:510px;min-height:0}
 .ja-authority-story{order:0;min-height:205px;padding:24px}
 .ja-authority-story-copy h2{font-size:1.85rem;margin:7px 0}
 .ja-authority-story-copy p,.ja-authority-story-foot{display:none}
 .ja-authority-story-top img{width:42px;height:42px}
 .ja-authority-story-top{font-size:.75rem}
 .pv.is-auth .ja-authority-frame .pv-login{order:1;padding:27px 24px;gap:13px}
 .pv.is-auth:has(.ja-authority-frame) .pv-main{padding:19px 14px 28px;min-height:0}
}
@media(max-width:430px){
 .ja-auth-header-mark span{font-size:.72rem}
 .topbar .brand img{width:31px;height:31px}
 .ja-top-home{display:none}
 .workspace-location strong{font-size:.79rem}
 .workspace-security{padding:6px}
 .pub-tag{display:none}
 .pub-main.is-landing .pub-intro h1{font-size:1.9rem}
 .dashboard-view .page-head.is-dashboard h1{font-size:1.75rem}
 .dashboard-view .page-head.is-dashboard p{font-size:.85rem}
 .ja-authority-story{min-height:178px}
 .pv.is-auth .ja-authority-frame .pv-login{padding:25px 21px}
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{scroll-behavior:auto!important;transition-duration:0.01ms!important;animation-duration:0.01ms!important;animation-iteration-count:1!important}
}
@media print{
 .ja-lang-switch,.ja-auth-header,.ja-top-home{display:none!important}
 .dashboard-view .page-head.is-dashboard{box-shadow:none}
 .card,.pv-card{box-shadow:none!important}
}
/* The legacy shell hid topbar completely on desktop. R2 places the real
   language switch in the top header above content without hiding the sidebar. */
@media(min-width:1024px){
 .shell{display:grid;grid-template-columns:var(--sidebar-size,260px) minmax(0,1fr);grid-template-rows:74px minmax(0,1fr)}
 .shell>.topbar{display:flex;grid-column:2;grid-row:1;z-index:31;position:sticky;top:0;align-self:start;height:74px}
 .shell>.sidebar{grid-column:1;grid-row:1 / span 2;align-self:start;z-index:32;position:sticky;top:0;height:100vh}
 .shell>.content{grid-column:2;grid-row:2}
 .shell>.scrim{display:none!important}
}
@media(max-width:620px){
 .pv-top-in{gap:8px 10px}
 .pv-top .brand img{width:35px;height:35px}
 .pv-top .brand strong{font-size:.85rem}
 .pv-top .brand small{font-size:.58rem}
 .pv-top .pv-tag{order:3;width:100%;border:0;padding:0;color:#c5e0ec}
 .pv-top .pv-sp{flex:1}
 .pv-top .ja-lang-switch{min-height:39px}
}


/* ===== premium-clean.css ===== */
/* Jeddah Anchor — Edition 03 / CLEAN MARITIME
   A custom interface layer for the actual PHP application. No changes to
   permissions, data contracts, workflow states, templates or WordPress embed.
   Real page layouts are intentionally simplified, not decorated with duplicates. */
:root{
 --ja-ink:#082d45;--ja-midnight:#05273e;--ja-blue:#07698a;
 --ja-ocean:#0a8eaa;--ja-gold:#d8a44f;--ja-mist:#eaf4f8;
 --ja-border:#dce9ee;--ja-shadow:0 12px 32px rgba(8,41,61,.055);
 --bg:#edf4f7;--surface:#fff;--surface-2:#f8fbfc;
 --line:#dce8ee;--brand:#086b8d;--brand-600:#075976;--brand-700:#064866;
 --ink:#0b334a;--ink-2:#35576a;--muted:#607c8c;
}
html{scroll-padding-top:28px}
body{background:#edf4f7;color:var(--ja-ink)}
:where(a,button,input,select,textarea):focus-visible{outline:3px solid #0e8eb2;outline-offset:3px}
:where(button,a){-webkit-tap-highlight-color:transparent}

/* Language is a true two-option control in the highest header, consistent in all
   routed admin, public, authority and login interfaces. */
.ja-lang-switch,.pv-top .ja-lang-switch{
 display:inline-flex;align-items:center;gap:3px;min-height:43px;padding:4px 5px;
 border:1px solid #d5e5ed;border-radius:13px;color:#52758b;background:#f5fafc;
 box-shadow:none;line-height:1;white-space:nowrap;text-decoration:none
}
.ja-lang-switch:hover,.pv-top .ja-lang-switch:hover{background:#f5fafc;box-shadow:none;border-color:#bed7e3}
.ja-lang-switch>.ic{width:17px;height:17px;margin-inline:8px 4px;color:#287c99}
.ja-lang-switch>a{display:inline-flex;align-items:center;justify-content:center;min-height:32px;
 padding:5px 11px;border-radius:9px;text-decoration:none;color:#637f90;font-size:.78rem;font-weight:700;
 transition:background-color .15s,color .15s}
.ja-lang-switch>a:hover{background:#e4f1f6;color:#085372}
.ja-lang-switch>a.is-current,.ja-lang-switch>a[aria-current]{background:#075b7b;color:white;box-shadow:0 2px 6px rgba(3,61,89,.14)}
.ja-lang-divider{height:14px;width:1px;background:#d6e6ed}

/* Workspace: ONLY the top header and one navigational sidebar. No repeated
   workspace name, redundant title bar or desktop hamburger. */
.shell{--sidebar-size:254px;min-height:100dvh}
.topbar{background:#fff;box-shadow:none;border-bottom:1px solid #dce7ed;min-height:64px;height:64px;padding-inline:clamp(20px,2.4vw,37px)}
.topbar .brand,.topbar .ja-top-title{display:none!important}
.topbar .ja-top-spacer{flex:1}
.topbar .ja-top-home{border:1px solid #dbe9ef;background:#fff;width:41px;height:41px;border-radius:12px;color:#416e84}
.topbar .ja-top-home:hover{background:#e9f5fa;color:#08688b}
.workspace-bar{display:none!important}
.sidebar{background:linear-gradient(178deg,#062e49,#041d31 95%);border:0;box-shadow:none}
.sidebar::before{opacity:.24;background:radial-gradient(circle at 0 0,#1284ab,transparent 310px)}
.sidebar::after{display:none}
.sidebar-head{padding:28px 20px 24px;border-color:rgba(255,255,255,.12)}
.sidebar-head .brand{gap:12px;align-items:center}
.sidebar-head .brand img{width:49px;height:49px}
.sidebar-head .brand strong{font-size:1.07rem;color:#fff}
.sidebar-head .brand small{font-size:.64rem;letter-spacing:.05em;color:#b1d3e2}
.side-nav{position:relative;z-index:1;flex:0 0 auto;overflow:visible;align-content:start;gap:3px;padding:18px 13px}
.side-nav-label{margin:1px 13px 12px;color:#8eb5c8;letter-spacing:.05em;font-size:.68rem}
.side-nav a{border:1px solid transparent;min-height:41px;padding:7px 12px;font-size:.81rem;line-height:1.43;border-radius:10px;color:#ccdfeb;gap:11px}
.side-nav a .ic{width:18px;height:18px;color:#a2c4d3;stroke-width:1.8}
.side-nav a:hover{transform:none;background:rgba(255,255,255,.07);color:#fff}
.side-nav a.is-active{background:#f4fbfe;color:#063f5c;border-color:#fff;box-shadow:none}
.side-nav a.is-active::before{inset-inline-start:0;top:10px;bottom:10px;width:3px;background:#dca957}
.side-foot{position:relative;z-index:1;margin-top:auto;padding:13px;border-color:rgba(255,255,255,.12)}
.side-foot .account{border-color:rgba(255,255,255,.13)}
.side-link:hover{background:rgba(255,255,255,.08);color:#fff}
.content{background:radial-gradient(ellipse at 100% -60px,#dceef5,transparent 500px),#edf4f7}
.content-in{max-width:1680px;gap:21px;padding:27px clamp(21px,2.8vw,44px) 56px}
.content-in>.dashboard-view:first-child{margin-top:0}
@media(min-width:1024px){
 .shell{display:grid;grid-template-columns:var(--sidebar-size) minmax(0,1fr);grid-template-rows:64px minmax(0,1fr)}
 .shell>.topbar{grid-column:2;grid-row:1;position:sticky;top:0;z-index:40;display:flex;align-items:center;height:64px}
 .shell>.topbar .nav-toggle{display:none!important}
 .shell>.sidebar{grid-column:1;grid-row:1 / span 2;position:sticky;top:0;align-self:start;
   width:auto;height:auto;min-height:100dvh;max-height:none;overflow:visible;transform:none;visibility:visible}
 .shell>.sidebar .side-nav{overflow:visible!important;max-height:none!important;scrollbar-width:none}
 .shell>.content{grid-column:2;grid-row:2}
 .shell>.scrim{display:none!important}
}

/* A single consistent UI system shared by the operational modules. */
.card,.fi-card,.iw-card,.op-card,.cv-card,.pv-card,.kpi,.fi-stat,.op-stat{
 background:#fff;border:1px solid #dce8ee;border-radius:17px;
 box-shadow:var(--ja-shadow)
}
.card-head{padding-bottom:15px;border-bottom:1px solid #edf2f5}
.card-head h2::before{width:3px;height:17px;background:#d6a04a}
.card-head h2{font-weight:700;color:#0c3b56}
.page-head:not(.is-dashboard){padding-inline-start:0;gap:16px;margin:4px 0 8px}
.page-head:not(.is-dashboard)::before{display:none}
.page-head:not(.is-dashboard) h1{font-size:clamp(1.55rem,2.1vw,2.05rem);color:#092e47}
.btn,.fi-btn,.pv .btn{border-radius:10px;font-weight:700;transition:background .17s,border-color .17s,box-shadow .17s,transform .17s}
.btn-primary{background:#076587;color:#fff;box-shadow:0 6px 15px rgba(0,81,114,.12)}
.btn-primary:hover{background:#094a6b;box-shadow:0 9px 21px rgba(0,73,108,.18)}
.btn-secondary{background:#fff;border-color:#cbdde6;color:#104b69}
.btn-secondary:hover{background:#eaf6fa;border-color:#9ccad9}
:where(.field input,.field select,.field textarea,.input,.search input,.pv-form input){background:#fbfdfe;border-color:#d1e1e9;border-radius:10px}
:where(.field input,.field select,.field textarea,.input,.search input):focus{background:#fff;border-color:#118aad;box-shadow:0 0 0 3px rgba(17,138,173,.12)}
.table-wrap{border-radius:13px;border-color:#e0eaf0}
.table th{background:#f1f7fa;color:#496c7f;font-size:.78rem;font-weight:700}
.table tbody tr:hover td{background:#f6fbfd}
.badge,.fi-badge{border-radius:9px}
.empty{border-radius:16px}
/* Activity and ratings get a visual emphasis that respects actual saved values. */
.comp-value,.kpi-value{color:#062e48;font-variant-numeric:tabular-nums}
.average-stars-gold,.stars-static .star.on{color:#e5a528;fill:#e5a528}
.dashboard-view{gap:20px}
.dashboard-view .page-head.is-dashboard{
 min-height:285px;position:relative;isolation:isolate;overflow:hidden;
 border:1px solid rgba(255,255,255,.16);border-radius:19px;
 padding:clamp(28px,3.5vw,52px);gap:30px;
 box-shadow:0 17px 35px rgba(4,40,62,.11)
}
.dashboard-view .page-head.is-dashboard::before{filter:saturate(.86);background:#0a4160 url('photos/harbor.webp') center 54%/cover no-repeat}
.dashboard-view .page-head.is-dashboard::after{background:linear-gradient(270deg,#062d48 1%,rgba(6,45,72,.96) 37%,rgba(6,44,70,.23) 100%)}
html[dir=ltr] .dashboard-view .page-head.is-dashboard::after{background:linear-gradient(90deg,#062d48 1%,rgba(6,45,72,.96) 37%,rgba(6,44,70,.23) 100%)}
.dashboard-view .page-head.is-dashboard h1{font-size:clamp(2.05rem,3.4vw,3.1rem);color:#fff;line-height:1.24}
.dashboard-view .page-head.is-dashboard p{font-size:.95rem;color:#e1edf2;line-height:1.85;max-width:47ch}
.dashboard-view .page-head.is-dashboard .ja-hero-eyebrow{color:#f6cc88}
.dashboard-view .page-actions .btn{border-radius:10px;min-height:45px}
.dashboard-view .page-actions .btn-primary{background:#e5b45c;color:#193b4b;border-color:#e5b45c;box-shadow:none}
.dashboard-view .page-actions .btn-primary:hover{background:#f4c67b}
.dashboard-view .page-actions .btn-secondary{background:#fff;color:#0a4261}
.dashboard-view .kpis{gap:15px}
.dashboard-view .kpi{min-height:158px;padding:19px 20px;border-radius:15px;box-shadow:0 8px 25px rgba(6,52,78,.045)}
.dashboard-view .kpi::after{width:3px;background:#43b4cf}
.dashboard-view .kpi:nth-child(4)::after{background:#ddaa51}
.dashboard-view .kpi:hover{transform:translateY(-2px);box-shadow:0 13px 31px rgba(8,48,74,.085)}
.dashboard-view .kpi-top>.ic{background:#e9f5fa;color:#0b779b}
.dashboard-view .kpi-value{font-size:clamp(2rem,2.7vw,2.75rem)}
.dashboard-view .dash-grid .card{border-radius:17px}
.dashboard-view .task{border-color:#e3edf2;background:#f9fcfd;border-radius:10px}
.dashboard-view .task:hover{background:#edf7fb}

/* CUSTOMER CARE — purposeful editorial composition. The first service is a
   photographic primary CTA; the other two stay clear, accessible real links. */
.pub-header{background:#fff;border-bottom:1px solid #e0eaf0;box-shadow:none}
.pub-header-in{max-width:1360px;min-height:82px;padding:12px clamp(20px,4vw,48px)}
.pub-header .brand img{width:52px;height:52px}
.pub-header .brand strong{font-size:1.09rem;color:#0d3d58}
.pub-header .brand small{font-size:.73rem;color:#648399}
.pub-end,.ix-head-end{display:flex;align-items:center;gap:10px}
.pub-tag{display:none}
.pub-main{max-width:960px;padding:29px 22px 52px}
.pub-main.is-landing{max-width:1330px;gap:18px;padding:clamp(22px,3vw,34px) clamp(18px,4vw,46px) 54px}
.pub-main.is-landing .pub-intro{
 min-height:380px;padding:clamp(38px,5.6vw,74px);border-radius:21px;
 align-items:flex-start;text-align:start;box-shadow:none
}
.pub-main.is-landing .pub-intro::before{background:#084262 url('photos/daylight-port.webp') center 48%/cover no-repeat}
.pub-main.is-landing .pub-intro::after{background:linear-gradient(270deg,#082f4c 0%,rgba(7,45,70,.93) 36%,rgba(5,45,71,.12) 100%)}
html[dir=ltr] .pub-main.is-landing .pub-intro::after{background:linear-gradient(90deg,#082f4c 0%,rgba(7,45,70,.93) 36%,rgba(5,45,71,.12) 100%)}
.pub-main.is-landing .pub-kicker{color:#ffce82;font-size:.8rem;font-weight:700;background:transparent;border:1px solid rgba(235,196,125,.45);border-radius:50px;padding:7px 15px}
.pub-main.is-landing .pub-intro h1{font-size:clamp(2.55rem,4.5vw,4.45rem);line-height:1.22;max-width:18ch;letter-spacing:-.03em;margin:18px 0 14px;color:#fff}
.pub-main.is-landing .pub-intro p{font-size:clamp(.95rem,1.2vw,1.12rem);color:#d8e9f2;max-width:43ch;line-height:1.9}
.pub-main.is-landing .choices{display:grid;grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr);grid-template-rows:repeat(2,minmax(170px,1fr));gap:16px}
.pub-main.is-landing .choice{position:relative;overflow:hidden;display:flex;flex-direction:row;align-items:center;gap:20px;
 min-height:170px;padding:clamp(20px,2.5vw,30px);border-radius:17px;background:#fff;border:1px solid #dce8ee;
 box-shadow:0 6px 22px rgba(8,48,73,.035);transition:transform .2s,border-color .2s,box-shadow .2s}
.pub-main.is-landing .choice:hover{transform:translateY(-3px);box-shadow:0 17px 37px rgba(6,45,70,.1);border-color:#9cc9d8}
.pub-main.is-landing .choice:first-child{
 grid-row:span 2;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:18px;
 min-height:365px;border-color:rgba(255,255,255,.12);padding:clamp(28px,4vw,44px);
 background:linear-gradient(180deg,rgba(5,45,73,.23) 2%,rgba(4,36,57,.64) 48%,rgba(3,31,51,.98) 100%),url('photos/cargo-ship.webp') 55% 55%/cover no-repeat;
 box-shadow:0 13px 31px rgba(3,43,67,.12)
}
.pub-main.is-landing .choice:first-child:hover{border-color:#d5ab62;box-shadow:0 20px 38px rgba(3,43,67,.18)}
.pub-main.is-landing .choice-ic{display:grid;place-items:center;flex:none;width:65px;height:65px;border-radius:16px;background:#eaf6fa;color:#08799a}
.pub-main.is-landing .choice:nth-child(2) .choice-ic{background:#fff2de;color:#b57c19}
.pub-main.is-landing .choice:nth-child(3) .choice-ic{background:#e7f6ef;color:#197653}
.pub-main.is-landing .choice:first-child .choice-ic{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.31);color:#fff;backdrop-filter:blur(8px)}
.pub-main.is-landing .choice-ic .ic{width:31px;height:31px;stroke-width:1.7}
.pub-main.is-landing .choice-body{min-width:0;display:grid;align-content:center;gap:7px;flex:1}
.pub-main.is-landing .choice-title{font-size:clamp(1.2rem,1.8vw,1.55rem);line-height:1.4;color:#0b3853;font-weight:700}
.pub-main.is-landing .choice:first-child .choice-title{font-size:clamp(1.55rem,2.5vw,2.3rem);color:#fff}
.pub-main.is-landing .choice-en{font-size:.73rem;color:#54798e;letter-spacing:.035em}
.pub-main.is-landing .choice:first-child .choice-en{color:#cee3ed}
.pub-main.is-landing .choice-text{font-size:.86rem;line-height:1.75;color:#638092;max-width:44ch}
.pub-main.is-landing .choice:first-child .choice-text{font-size:.96rem;color:#e0ecf2}
.pub-main.is-landing .choice-go{align-self:center;flex:none;width:40px;height:40px;border-radius:50%;background:#ebf5fa;color:#0c789a}
.pub-main.is-landing .choice:first-child .choice-go{align-self:flex-end;background:#e7b762;color:#07374f;width:47px;height:47px}
.pub-main.is-landing .hint{background:transparent;border:1px solid #d6e7ed;border-radius:12px;color:#5a7a8c;font-size:.83rem;box-shadow:none}
.pub-main:not(.is-landing) .pub-intro{margin-bottom:5px}
.pub-main:not(.is-landing) .pub-intro h1{color:#0a3b54;font-size:clamp(1.8rem,2.6vw,2.35rem)}
.pub-main:not(.is-landing) .form{border-radius:18px}

/* Authority is a first-class branded product, not an unchanged floating card. */
.pv-top{background:#fff;border-bottom:1px solid #e0eaf0;box-shadow:none}
.pv-top-in{max-width:1360px;min-height:78px;gap:15px;padding-inline:clamp(18px,3.8vw,42px)}
.pv-top .brand strong{color:#0b405c}
.pv-top .brand small{color:#648397}
.pv-top .ja-lang-switch{background:#f5fafc;color:#52758b;border-color:#d5e5ed}
.pv-top .ja-lang-switch a.is-current{color:#fff}
.pv-tag{display:none}
.pv.is-auth:has(.ja-authority-frame){background:linear-gradient(160deg,#eaf4f8,#f4f8fa 72%)}
.pv.is-auth:has(.ja-authority-frame) .pv-main{max-width:1440px;min-height:calc(100dvh - 158px);padding:clamp(24px,3.2vw,48px)}
.ja-authority-frame{width:min(1190px,100%);min-height:632px;border:1px solid #d9e8ee;border-radius:22px;
 grid-template-columns:1fr 1fr;box-shadow:0 19px 49px rgba(4,41,64,.12)}
.ja-authority-story{min-height:632px;padding:clamp(32px,4vw,58px);background:#073a55 url('photos/daylight-port.webp') center/cover no-repeat}
.ja-authority-story::before{background:linear-gradient(180deg,rgba(3,41,65,.67) 0,rgba(3,38,62,.13) 40%,rgba(3,34,55,.98) 100%)}
.ja-authority-story::after{display:none}
.ja-authority-story-top{font-size:.84rem;letter-spacing:.12em}
.ja-authority-story-top img{width:54px;height:54px}
.ja-authority-story-copy h2{font-size:clamp(2.25rem,3.4vw,3.45rem);line-height:1.32}
.ja-authority-story-copy p{color:#dbeaf0;max-width:42ch}
.ja-authority-story-foot{gap:20px;color:#d6e7f0}
.pv.is-auth .ja-authority-frame .pv-login{padding:clamp(34px,4.6vw,66px);gap:16px}
.pv.is-auth .ja-authority-frame .pv-login>.pv-big-ic{background:#eaf5fa;color:#08789a;border:1px solid #d5ebf4}
.pv.is-auth .ja-authority-frame .pv-login h1{font-size:clamp(1.9rem,2.5vw,2.45rem)}
.pv.is-auth .ja-authority-frame .pv-login p{max-width:45ch}
.pv.is-auth .ja-authority-frame .pv-form input{background:#fafcfd;border-color:#d0e0e7;border-radius:10px}
.pv.is-auth .ja-authority-frame .pv-form .btn{background:#07678b;border-radius:10px;box-shadow:0 9px 18px rgba(4,86,118,.13)}
.pv-search{border-radius:20px;padding:clamp(26px,3.8vw,50px);background:#073754 url('photos/harbor.webp') center/cover no-repeat}
.pv-search::before{background:linear-gradient(270deg,rgba(4,39,62,.98),rgba(5,47,72,.8) 62%,rgba(4,42,63,.38))}
html[dir=ltr] .pv-search::before{background:linear-gradient(90deg,rgba(4,39,62,.98),rgba(5,47,72,.8) 62%,rgba(4,42,63,.38))}
.pv-res,.pv-card{border-radius:17px}
.pv .pv-code input,.pv .pv-sbox input{border-radius:9px}

/* The access screen also uses the same top-header language switch. */
.ja-auth-header{min-height:67px;background:#fff;padding-inline:clamp(18px,4vw,48px);box-shadow:none}
.ja-auth-home{display:inline-flex;align-items:center;gap:9px;text-decoration:none;color:#3c6e87;font-size:.84rem;font-weight:700}
.ja-auth-home>.ic{width:19px;height:19px}
.ja-auth-home:hover{color:#075f84}
.auth.auth-premium{min-height:calc(100dvh - 140px);padding:clamp(23px,4vw,54px);background:linear-gradient(135deg,#edf6fa,#e8f0f5)}
.auth.auth-premium .auth-stage{max-width:1180px;min-height:608px;border-radius:22px;box-shadow:0 18px 50px rgba(5,46,70,.13)}
.auth.auth-premium .auth-card{padding:clamp(34px,5vw,68px)}
.auth.auth-premium .auth-story{background-image:url('photos/daylight-port.webp')}
.auth-story::before{background:linear-gradient(180deg,rgba(4,44,70,.69),rgba(4,42,65,.1) 42%,rgba(2,29,47,.93))}
.auth.auth-premium h1{color:#082e47}

@media(min-width:1024px) and (max-height:780px){
 .sidebar-head{padding-block:14px}
 .side-nav{gap:1px;padding-block:9px}
 .side-nav a{min-height:37px;padding-block:5px;font-size:.79rem}
 .side-nav-label{margin-bottom:4px}
 .side-foot{padding-block:8px}
}
@media(max-width:1023px){
 .shell>.sidebar{height:100dvh;min-height:0;max-height:100dvh;overflow-y:auto;overscroll-behavior:contain}
 .sidebar .side-nav{overflow:visible;flex:0 0 auto}
 .topbar .nav-toggle{display:inline-grid!important;order:0}
 .topbar .brand{display:flex!important}
 .topbar .brand .brand-text{display:none}
 .topbar .ja-top-spacer{flex:1}
 .content-in{padding:23px clamp(16px,3vw,30px) 42px}
 .dashboard-view .page-head.is-dashboard{min-height:235px}
}
@media(max-width:820px){
 .pub-main.is-landing .choices{grid-template-columns:1fr 1fr;grid-template-rows:auto}
 .pub-main.is-landing .choice:first-child{grid-row:auto;grid-column:span 2;min-height:270px}
 .pub-main.is-landing .choice:nth-child(n+2){min-height:180px;display:flex;flex-direction:column;align-items:flex-start}
 .pub-main.is-landing .choice:nth-child(n+2) .choice-go{align-self:flex-end}
 .ja-authority-frame{grid-template-columns:1fr 1fr;min-height:570px}
 .ja-authority-story{min-height:570px}
 .pv.is-auth .ja-authority-frame .pv-login{padding:28px}
}
@media(max-width:720px){
 .topbar{height:60px;min-height:60px;padding-inline:13px}
 .content-in{padding:18px 14px 35px}
 .dashboard-view .page-head.is-dashboard{min-height:260px;padding:27px 24px}
 .dashboard-view .page-head.is-dashboard h1{font-size:2.1rem}
 .dashboard-view .page-actions{gap:9px}
 .dashboard-view .page-actions .btn{flex:1 1 auto}
 .dashboard-view .kpi{min-height:141px}
 .pub-header-in{min-height:72px;padding-inline:15px}
 .pub-header .brand img{width:42px;height:42px}
 .pub-main.is-landing{padding:16px 14px 38px;gap:14px}
 .pub-main.is-landing .pub-intro{min-height:330px;padding:28px 25px;border-radius:16px}
 .pub-main.is-landing .pub-intro h1{font-size:clamp(2.15rem,7vw,3rem)}
 .pub-main.is-landing .choices{grid-template-columns:1fr;gap:13px}
 .pub-main.is-landing .choice:first-child{grid-column:auto;min-height:295px}
 .pub-main.is-landing .choice:nth-child(n+2){min-height:135px;flex-direction:row;align-items:center;padding:20px 19px}
 .pub-main.is-landing .choice:nth-child(n+2) .choice-go{align-self:center}
 .pub-main.is-landing .choice-ic{width:51px;height:51px}
 .pub-main.is-landing .choice-ic .ic{width:25px;height:25px}
 .pub-main.is-landing .choice-title{font-size:1.11rem}
 .pub-main.is-landing .choice:first-child .choice-title{font-size:1.65rem}
 .pub-main.is-landing .choice-en{font-size:.68rem}
 .pub-main.is-landing .choice-text{font-size:.78rem}
 .pv.is-auth:has(.ja-authority-frame) .pv-main{padding:18px 14px 28px;min-height:0}
 .ja-authority-frame{display:flex;flex-direction:column;min-height:0;max-width:510px}
 .ja-authority-story{order:0;min-height:218px;padding:25px}
 .ja-authority-story-copy h2{font-size:1.95rem}
 .ja-authority-story-copy p,.ja-authority-story-foot{display:none}
 .pv.is-auth .ja-authority-frame .pv-login{order:1;padding:27px 24px}
 .auth.auth-premium .auth-stage{display:flex;flex-direction:column;min-height:0}
}
@media(max-width:460px){
 .ja-lang-switch{min-height:39px;padding:3px;gap:0}
 .ja-lang-switch>a{padding:4px 8px;font-size:.7rem;min-height:31px}
 .ja-lang-switch>.ic{width:15px;height:15px;margin-inline:5px}
 .pub-header .brand strong{font-size:.88rem}
 .pub-header .brand small{font-size:.58rem}
 .pub-main.is-landing .pub-intro{min-height:315px}
 .pub-main.is-landing .pub-intro h1{font-size:2.1rem}
 .pub-main.is-landing .choice:nth-child(n+2){gap:10px;padding:15px}
 .pub-main.is-landing .choice-go{width:35px;height:35px}
 .pv-top-in{min-height:65px;padding-inline:12px}
 .pv-top .brand img{width:38px;height:38px}
 .pv-top .brand small{font-size:.57rem}
 .ja-auth-home span{display:none}
}
@media(prefers-reduced-motion:reduce){
 *,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}
}
@media print{
 .topbar,.sidebar,.ja-lang-switch,.ja-auth-header{display:none!important}
 .shell{display:block!important}
 .shell>.content{display:block!important}
 .card,.pv-card{box-shadow:none!important}
}


/* ===== maritime-unified.css ===== */
/* JEDDAH ANCHOR — Unified Maritime / Edition 04.
   Shared visual grammar: clear PHOTO / SOLID NAVY split headers, quiet canvas,
   readable hierarchy, consistent operational components. All styling only:
   no business rules, API routes, JS actions or WordPress embed altered. */
:root{
  --bg:#f4f7f9;--surface:#fff;--surface-2:#f9fbfc;
  --ink:#0b3045;--ink-2:#35576b;--muted:#627c8b;
  --brand:#076b8e;--brand-600:#075a7a;--brand-700:#074461;
  --line:#dfe9ef;--line-2:#cbdde7;--gold:#cc9339;
  --ja-sh:0 3px 8px rgba(6,41,59,.025),0 15px 34px rgba(6,41,59,.045);
}
html{background:#f4f7f9;scroll-padding-top:76px}
body,body.is-admin,body.is-public{background:#f4f7f9!important;color:#0b3045}
body:before,body:after{pointer-events:none}
body,button,input,select,textarea{font-family:'Inter','IBM Plex Sans Arabic',system-ui,sans-serif}
:where(h1,h2,h3){font-weight:700}
:where(a,button,input,select,textarea):focus-visible{outline:3px solid #0f91b5;outline-offset:3px}
:where(a,button){-webkit-tap-highlight-color:transparent}
/* Consistent, single navigation/header. The old decorative light fade is removed. */
.shell{--sidebar-size:250px}
.content,.shell>.content,.content-in,.pub-main,.pv-main{background:#f4f7f9!important;background-image:none!important}
.content-in{max-width:1600px;padding:25px clamp(22px,2.7vw,44px) 54px;gap:21px}
.topbar{background:#fff!important;border-bottom:1px solid #e0e9ed;height:64px;min-height:64px;box-shadow:none}
.topbar .ja-top-spacer{flex:1}
.topbar .ja-top-home{border-color:#dce8ee;background:#f8fbfc;color:#245d75}
.topbar .ja-top-home:hover{background:#e7f3f8}
.sidebar{background:#052a42!important;background-image:none!important;box-shadow:none;border:0}
.sidebar:before,.sidebar:after{display:none!important}
.sidebar-head{padding:22px 18px 21px}
.side-nav{gap:2px;padding:14px 12px}
.side-nav a{min-height:39px;padding:7px 11px;border-radius:9px;font-size:.83rem}
.side-nav a:hover{background:#123b54;transform:none}
.side-nav a.is-active{background:#fff;color:#083c56;border-color:#fff;box-shadow:none}
.side-nav a.is-active:before{background:#d9a34b}
.side-foot{padding:12px}
.ja-lang-switch{background:#f4f9fb;border-color:#d9e8ee;border-radius:10px;box-shadow:none}
.ja-lang-switch>a.is-current{background:#075b7a;color:#fff}
.workspace-bar{display:none!important}
@media(min-width:1024px){
 .shell>.sidebar{position:sticky;top:0;overflow:visible!important;height:auto;max-height:none;min-height:100dvh}
 .shell>.sidebar .side-nav{overflow:visible!important;max-height:none!important}
 .topbar .nav-toggle{display:none!important}
}
/* Universal PHOTO/SOLID banner: the photograph remains at original luminance,
   is not covered by the dark overlay, and does not sit behind live text. */
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head){
 position:relative;isolation:isolate;overflow:hidden;
 display:flex;flex-direction:column;justify-content:center;align-items:flex-start;
 gap:11px;min-height:190px;padding:30px clamp(24px,3.2vw,45px);
 border:0;border-radius:17px;background:#06354e!important;background-image:none!important;
 box-shadow:0 10px 26px rgba(5,47,73,.08);color:white
}
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head)::before{
 content:none!important;display:none!important
}
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head)::after{
 content:""!important;display:block!important;position:absolute;top:0;bottom:0;inset-inline-end:0;
 width:42%;z-index:-1;pointer-events:none;
 background:url('photos/daylight-port.webp') center center/cover no-repeat!important;
 -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 65%,transparent 100%);
 mask-image:linear-gradient(90deg,#000 0%,#000 65%,transparent 100%);
 opacity:1;filter:contrast(1.015) saturate(1.12)
}
html[dir=ltr] :is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head)::after{
 -webkit-mask-image:linear-gradient(270deg,#000 0%,#000 65%,transparent 100%);
 mask-image:linear-gradient(270deg,#000 0%,#000 65%,transparent 100%)
}
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head)>*{position:relative;z-index:1;max-width:60%;min-width:0}
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head) h1{
 color:#fff!important;font-size:clamp(1.65rem,2.4vw,2.45rem)!important;line-height:1.3;letter-spacing:-.01em
}
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head) p{
 color:#cde4ee!important;font-size:.91rem;line-height:1.75;margin:0;max-width:60ch
}
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head) .page-actions,
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head) .fi-actions{
 display:flex;flex-wrap:wrap;gap:9px;align-items:center;max-width:100%
}
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head) .btn-secondary{
 background:#fff;color:#0b425d;border-color:#fff;box-shadow:none
}
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head) .btn-primary{
 background:#e9b75c;color:#0b3449;border-color:#e9b75c;box-shadow:none
}
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head) :is(.badge,.kind){background:#edf7fb;color:#194b64}
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head) a:not(.btn){color:#f6c87a}
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head) :is(.fi-eyebrow,.ja-hero-eyebrow){color:#f2c77d!important}
/* Dashboard uses the exact same banner, not a different darkened hero. */
.dashboard-view .page-head.is-dashboard{
 min-height:225px!important;display:flex;flex-direction:column;justify-content:center;
 padding:30px clamp(24px,3.2vw,45px)!important;box-shadow:0 10px 26px rgba(5,47,73,.08)
}
.dashboard-view .page-head.is-dashboard:before{display:none!important}
.dashboard-view .page-head.is-dashboard:after{z-index:-1}
.dashboard-view .page-head.is-dashboard>div:first-child{max-width:60%}
.dashboard-view .page-head.is-dashboard h1{font-size:clamp(2rem,2.7vw,2.65rem)!important;margin:0 0 7px}
.dashboard-view .page-head.is-dashboard p{max-width:60ch}
.dashboard-view .page-actions{align-self:flex-start}
/* Quiet, repeatable panels, data controls and charts across route-owned modules */
:is(.card,.fi-card,.op-card,.cv-card,.iw-card,.pv-card,.kpi,.fi-stat,.op-stat){
 border:1px solid #e0e9ee;border-radius:15px;background:#fff;
 background-image:none;box-shadow:var(--ja-sh)
}
.card-head{border-bottom:1px solid #eaf0f3;padding-bottom:13px;gap:12px}
.card-head h2{font-size:1.01rem;color:#103c54;font-weight:700}
.dashboard-view .kpi{min-height:148px;padding:19px 20px;transition:border-color .15s,box-shadow .15s}
.dashboard-view .kpi:hover{transform:none;border-color:#b4d7e5;box-shadow:0 8px 24px rgba(8,58,80,.085)}
.dashboard-view .kpi:after{width:3px;background:#4baecc}
.dashboard-view .kpi-top .ic{background:#e8f4f9;color:#076f94;border-radius:10px}
.dashboard-view .kpi-value{color:#062e46}
.dashboard-view .kpi-sub{font-size:.8rem;color:#597688}
.dashboard-view .op-sec{color:#143e57;border-color:#d2a04d}
.dashboard-view .task{background:#f8fbfc;border-color:#e2eaf0;border-radius:10px}
.dashboard-view .task:hover{background:#eff7fa;border-color:#b5d7e4}
:is(.table-wrap,.fi-table-wrap){border:1px solid #dfe9ee;border-radius:12px;overflow:auto;background:#fff}
.table th{background:#eff5f8!important;background-image:none!important;color:#365d73;font-size:.78rem;font-weight:700}
.table tbody tr:hover td{background:#f5fafc}
:where(.field input:not([type=checkbox]):not([type=radio]):not([type=file]),.field select,.field textarea,.input,.search input,.filters input,.filters select,.pv-form input){
 border-radius:10px;border-color:#d2e2e9;background:#fbfdfe;box-shadow:none
}
:where(.field input,.field select,.field textarea,.input,.search input):focus{background:#fff;border-color:#0e88aa;box-shadow:0 0 0 3px rgba(7,136,170,.13)}
.btn,.fi-btn,.pv .btn{border-radius:10px;font-weight:700;box-shadow:none}
.btn-primary{background:#075d7f;background-image:none;color:white;border-color:#075d7f}
.btn-primary:hover{background:#054866;background-image:none;color:white}
.btn-secondary{background:#fff;color:#0a4e6e;border-color:#c7dde7}
.btn-secondary:hover{background:#eef7fa;border-color:#95c7d8}
/* Consistent official gold stars */
.average-stars-gold,.stars-static .star.on{color:#e4a429;fill:#e4a429}
/* Public interface: identical header anatomy + low-noise background */
.pub-header,.pv-top,.ja-auth-header{background:#fff!important;background-image:none!important;border-bottom:1px solid #dde8ee;box-shadow:none}
.pub-header-in{max-width:1360px;min-height:78px}
.pub-main{gap:19px}
.pub-main.is-landing{max-width:1290px;padding:25px 26px 54px;gap:22px}
/* Landing is a REAL split panel. Photo is unfiltered and totally unobstructed. */
.pub-main.is-landing .pub-intro{
 display:grid!important;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr)!important;
 min-height:355px;padding:0!important;gap:0!important;align-items:stretch!important;
 border-radius:18px!important;overflow:hidden;box-shadow:0 13px 34px rgba(6,43,63,.09)!important;
 background:#06344d!important;background-image:none!important
}
.pub-main.is-landing .pub-intro:before,.pub-main.is-landing .pub-intro:after{display:none!important;content:none!important}
.pub-main.is-landing .ja-care-copy{
 display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
 gap:14px;padding:clamp(34px,4.2vw,61px);min-width:0;text-align:start
}
.pub-main.is-landing .pub-kicker{
 font-size:.72rem;color:#ffd58d;background:#0b405c;border:1px solid #417088;
 border-radius:999px;padding:7px 14px;font-weight:700
}
.pub-main.is-landing .pub-intro h1{
 font-size:clamp(2.2rem,3.45vw,3.6rem)!important;line-height:1.22;
 max-width:16ch;color:#fff!important;margin:6px 0 0;letter-spacing:-.015em
}
.pub-main.is-landing .pub-intro p{
 color:#e4f0f6!important;font-size:1rem;line-height:1.8;max-width:39ch
}
.ja-care-promise{display:inline-flex;align-items:center;gap:9px;color:#bcdce9;font-size:.79rem;margin-top:10px}
.ja-care-promise .ic{width:19px;height:19px;color:#dfb66d}
.ja-care-photo{
 position:relative;min-height:355px;overflow:hidden;
 background:#e5f1f7 url('photos/daylight-port.webp') center center/cover no-repeat
}
.ja-care-photo>span{position:absolute;inset-inline-start:28px;bottom:27px;display:grid;gap:3px;
 color:#fff;font:700 .85rem 'Inter',sans-serif;letter-spacing:.12em;
 text-shadow:0 2px 14px rgba(1,20,38,.85)
}
.ja-care-photo small{font-size:.55rem;letter-spacing:.2em;font-weight:600;color:#f9fcff}
/* Strong but clean services selector; no duplicate photo-card or overpainting. */
.ja-services-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:5px 0 -4px}
.ja-section-eyebrow{display:block;margin-bottom:5px;font:700 .71rem 'Inter','IBM Plex Sans Arabic',sans-serif;letter-spacing:.1em;color:#08799b}
.ja-services-heading h2{color:#07354d;font-size:clamp(1.4rem,2vw,1.85rem)}
.ja-services-heading p{color:#648091;font-size:.87rem}
.pub-main.is-landing .choices{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:auto!important;gap:16px}
.pub-main.is-landing .choice,.pub-main.is-landing .choice:first-child,.pub-main.is-landing .choice:nth-child(n+2){
 grid-row:auto!important;grid-column:auto!important;
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;
 min-height:260px!important;gap:14px!important;
 padding:25px!important;border:1px solid #dce8ee!important;border-radius:16px!important;
 background:#fff!important;background-image:none!important;box-shadow:var(--ja-sh)!important;
 color:#153e53!important;transform:none!important
}
.pub-main.is-landing .choice:hover,.pub-main.is-landing .choice:first-child:hover{border-color:#a3cbd9!important;transform:translateY(-2px)!important;box-shadow:0 15px 35px rgba(5,49,74,.11)!important}
.pub-main.is-landing .choice-ic,.pub-main.is-landing .choice:first-child .choice-ic{
 display:grid;place-items:center;flex:none;width:58px;height:58px;
 border-radius:14px;background:#e5f3fa!important;color:#087a9d!important;
 border:1px solid #d4eaf2;backdrop-filter:none
}
.pub-main.is-landing .choice:nth-child(2) .choice-ic{background:#fff3df!important;color:#b57c19!important;border-color:#f9e7c7}
.pub-main.is-landing .choice:nth-child(3) .choice-ic{background:#e7f7ef!important;color:#197653!important;border-color:#d8f0e3}
.pub-main.is-landing .choice-ic .ic{width:28px;height:28px}
.pub-main.is-landing .choice-body{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:5px}
.pub-main.is-landing .choice-title,.pub-main.is-landing .choice:first-child .choice-title{
 font-size:clamp(1.14rem,1.45vw,1.48rem)!important;color:#0a354f!important;font-weight:700;line-height:1.45
}
.pub-main.is-landing .choice-en,.pub-main.is-landing .choice:first-child .choice-en{color:#68899b!important;font-size:.72rem}
.pub-main.is-landing .choice-text,.pub-main.is-landing .choice:first-child .choice-text{color:#57758a!important;font-size:.86rem;line-height:1.7}
.pub-main.is-landing .choice-go,.pub-main.is-landing .choice:first-child .choice-go,.pub-main.is-landing .choice:nth-child(n+2) .choice-go{
 align-self:flex-end!important;display:grid;place-items:center;width:41px;height:41px;
 background:#075c7c!important;color:#fff!important;border-radius:12px
}
.pub-main.is-landing .hint{background:#edf7fa;border:1px solid #d5e9f0;border-radius:12px;color:#356579}
/* Public forms and information pages use same clear photo/solid editorial header. */
.pub-main:not(.is-landing) .pub-intro{
 min-height:170px;padding:30px clamp(24px,3vw,43px);border-radius:16px;
 background:#06354e!important;background-image:none!important;
 position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;box-shadow:none
}
.pub-main:not(.is-landing) .pub-intro:before{
 content:""!important;display:block!important;position:absolute;inset-block:0;inset-inline-end:0;width:40%;z-index:-1;
 background:url('photos/daylight-port.webp') center/cover no-repeat!important;
 -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 65%,transparent 100%);
 mask-image:linear-gradient(90deg,#000 0%,#000 65%,transparent 100%);filter:none;opacity:1
}
html[dir=ltr] .pub-main:not(.is-landing) .pub-intro:before{
 -webkit-mask-image:linear-gradient(270deg,#000 0%,#000 65%,transparent 100%);
 mask-image:linear-gradient(270deg,#000 0%,#000 65%,transparent 100%)
}
.pub-main:not(.is-landing) .pub-intro:after{display:none!important;content:none!important}
.pub-main:not(.is-landing) .pub-intro h1{position:relative;color:#fff!important;font-size:clamp(1.7rem,2.8vw,2.25rem);max-width:63%;z-index:1}
.pub-main:not(.is-landing) .pub-intro p{position:relative;color:#d7eaf2!important;font-size:.93rem;max-width:57%;z-index:1}
.pub-main.is-complaint>.form,.pub-main.is-feedback>.form{margin:0!important;padding:clamp(22px,3vw,36px)!important;border-radius:15px;box-shadow:var(--ja-sh)}
/* Authority portal: identical photographic treatment, no full-page grey-blue haze. */
.pv.is-auth:has(.ja-authority-frame),.pv{background:#f4f7f9!important;background-image:none!important}
.pv-search{background:#06354e!important;position:relative;isolation:isolate;overflow:hidden}
.pv-search:before{background:linear-gradient(270deg,#06354e 0%,#06354e 40%,transparent 68%)!important}
.pv-search:after{content:"";position:absolute;inset-block:0;inset-inline-end:0;width:45%;z-index:-2;
 background:url('photos/daylight-port.webp') center/cover no-repeat}
.ja-authority-story{background:#e8f3f7 url('photos/daylight-port.webp') center/cover no-repeat!important}
.ja-authority-story::before{background:linear-gradient(180deg,rgba(6,42,64,.30),rgba(6,42,64,.01) 45%,rgba(3,34,54,.88) 100%)!important}
.auth.auth-premium{background:#f4f7f9!important;background-image:none!important}
.auth.auth-premium .auth-stage,.ja-authority-frame{border-radius:18px;box-shadow:0 14px 43px rgba(3,40,59,.10)}
.auth.auth-premium .auth-story{background-image:url('photos/daylight-port.webp')}
.auth.auth-premium .auth-story:before{background:linear-gradient(180deg,rgba(3,43,62,.22),transparent 41%,rgba(3,37,55,.78))!important}
/* Responsive: no text on photographs on small devices. */
@media(max-width:1023px){
 .shell>.sidebar{height:100dvh;min-height:0;overflow-y:auto}
 .topbar .nav-toggle{display:inline-grid!important}
 .topbar .brand{display:flex!important}
 .content-in{padding:20px clamp(15px,3vw,28px) 38px}
}
@media(max-width:760px){
 :is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head){min-height:165px;padding:25px 22px;gap:10px}
 :is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head)>*{max-width:100%}
 :is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head)::after{width:100%;opacity:.20;-webkit-mask-image:none;mask-image:none}
 .dashboard-view .page-head.is-dashboard{min-height:195px!important;padding:26px 22px!important}
 .dashboard-view .page-head.is-dashboard>div:first-child{max-width:100%}
 .pub-main.is-landing{padding:16px 15px 36px;gap:18px}
 .pub-main.is-landing .pub-intro{grid-template-columns:1fr!important;min-height:0}
 .pub-main.is-landing .ja-care-copy{padding:29px 25px 33px;gap:11px}
 .pub-main.is-landing .pub-intro h1{font-size:clamp(1.95rem,7vw,2.55rem)!important}
 .pub-main.is-landing .ja-care-photo{min-height:210px;background-position:center 46%}
 .ja-services-heading{display:block}
 .ja-services-heading p{margin-top:5px}
 .pub-main.is-landing .choices{grid-template-columns:1fr!important;gap:13px}
 .pub-main.is-landing .choice,.pub-main.is-landing .choice:first-child,.pub-main.is-landing .choice:nth-child(n+2){min-height:160px!important;gap:10px!important;padding:20px!important}
 .pub-main.is-landing .choice-body{gap:3px}
 .pub-main.is-landing .choice-go,.pub-main.is-landing .choice:first-child .choice-go{align-self:flex-end}
 .pub-main:not(.is-landing) .pub-intro:before{width:100%;opacity:.18;-webkit-mask-image:none;mask-image:none}
 .pub-main:not(.is-landing) .pub-intro :is(h1,p){max-width:100%}
 .pub-main.is-complaint>.form,.pub-main.is-feedback>.form{margin:0!important}
}
@media(max-width:440px){
 .topbar{padding-inline:13px}
 .pub-header-in{padding:10px 14px;min-height:70px}
 .pub-header .brand img{width:39px;height:39px}
 .pub-main.is-landing{padding-inline:12px}
 .pub-main.is-landing .ja-care-photo{min-height:175px}
 .pub-main.is-landing .choice-title{font-size:1.15rem!important}
 .ja-services-heading h2{font-size:1.35rem}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media print{.topbar,.sidebar,.ja-lang-switch{display:none!important}.shell{display:block}.shell>.content{display:block!important} :is(.page-head,.fi-head,.ia-head,.pub-intro){color:#082e47!important;background:#fff!important;box-shadow:none!important;border:1px solid #ddd}.page-head:after,.pub-intro:before,.pub-intro:after{display:none!important}}
/* Stretch BOTH panels despite the legacy landing's justify-items:start. */
.pub-main.is-landing .pub-intro{justify-items:stretch!important;align-content:stretch!important}
.pub-main.is-landing .ja-care-copy,.pub-main.is-landing .ja-care-photo{width:100%;min-width:0}
/* Review workspace and authority search share the same photographic header. */
.rvw .ph{position:relative;isolation:isolate;overflow:hidden;min-height:172px;padding:28px 32px;border-radius:16px;background:#06354e!important;color:#fff;box-shadow:0 10px 26px rgba(5,47,73,.08)}
.rvw .ph::after{content:"";position:absolute;inset-block:0;inset-inline-end:0;width:40%;z-index:-1;pointer-events:none;background:url('photos/daylight-port.webp') center/cover no-repeat;-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 65%,transparent 100%);mask-image:linear-gradient(90deg,#000 0%,#000 65%,transparent 100%)}
.rvw .ph>*{max-width:60%}
.rvw .ph h1{color:#fff;font-size:clamp(1.65rem,2.4vw,2.3rem)}
.rvw .ph p{color:#d8e9f2}
html[dir=ltr] .rvw .ph::after{-webkit-mask-image:linear-gradient(270deg,#000 0%,#000 65%,transparent 100%);mask-image:linear-gradient(270deg,#000 0%,#000 65%,transparent 100%)}
.pv.is-auth .pv-search{position:relative;isolation:isolate;overflow:hidden;background:#06354e!important;background-image:none!important}
.pv.is-auth .pv-search::before{content:""!important;display:block!important;position:absolute;inset-block:0;inset-inline-end:0;inset-inline-start:auto;width:43%;z-index:-1;opacity:1;background:url('photos/daylight-port.webp') center/cover no-repeat!important;-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 65%,transparent 100%);mask-image:linear-gradient(90deg,#000 0%,#000 65%,transparent 100%)}
.pv.is-auth .pv-search::after{display:none!important;content:none!important}
.pv.is-auth .pv-search h1{color:#fff}
.pv.is-auth .pv-search>p{color:#d6e9f1}
.pv.is-auth .pv-search .pv-sform{max-width:59%}
html[dir=ltr] .pv.is-auth .pv-search::before{-webkit-mask-image:linear-gradient(270deg,#000 0%,#000 65%,transparent 100%);mask-image:linear-gradient(270deg,#000 0%,#000 65%,transparent 100%)}
@media(max-width:760px){.rvw .ph{padding:23px 20px}.rvw .ph::after{width:100%;opacity:.2;-webkit-mask-image:none;mask-image:none}.rvw .ph>*{max-width:100%}.pv.is-auth .pv-search::before{width:100%;opacity:.18;-webkit-mask-image:none;mask-image:none}.pv.is-auth .pv-search .pv-sform{max-width:100%}}


/* ===== HARBORLINE V5 ===== */
/* JEDDAH ANCHOR / HARBORLINE V5 — Final unified interface design system.
   References: Linear quiet chrome; Stripe table-density and responsive controls;
   Vercel/Geist typography and durable component tokens.
   The actual application's routes, fields, authorization and data are unchanged.
   All photos are bundled self-hosted Pexels-licensed assets; no hotlinks. */
:root {
  --bg:#f5f8fa; --surface:#ffffff; --surface-2:#f9fbfc;
  --ink:#102d40; --ink-2:#34536a; --muted:#668093; --line:#e1eaf0; --line-2:#ccdce6;
  --brand:#08688c; --brand-600:#065674; --brand-700:#064661;
  --navy:#063148; --gold:#d49b44; --gold-50:#fff6e7;
  --ja-canvas:#f4f8fa;--ja-edge:#dce7ed;--ja-radius:15px;
  --ja-shadow:0 2px 4px rgba(8,41,60,.018),0 10px 26px rgba(8,41,60,.046);
  --ja-shadow-raised:0 8px 25px rgba(8,41,60,.075),0 22px 48px rgba(8,41,60,.035);
}
html{background:var(--ja-canvas);scroll-padding-top:70px}
body,body.is-admin,body.is-public{background:var(--ja-canvas)!important;background-image:none!important;color:var(--ink)}
body,button,input,select,textarea{font-family:'IBM Plex Sans Arabic','Inter',system-ui,sans-serif;font-feature-settings:"kern" 1}
:lang(en){font-family:'Inter','IBM Plex Sans Arabic',system-ui,sans-serif}
:where(a,button,input,select,textarea):focus-visible{outline:3px solid #1996b8!important;outline-offset:2px}
::selection{background:#c1e8f2;color:#07374e}
/* One clear header, no faded band below it and no redundant breadcrumb strip. */
.shell{--sidebar-size:244px;min-height:100dvh}
.shell>.content,.content-in,.pub-main,.pv-main{background:var(--ja-canvas)!important;background-image:none!important}
.content-in{max-width:1660px;padding:23px clamp(20px,2.6vw,40px) 50px;gap:19px}
.topbar{height:65px;min-height:65px;background:#fff!important;background-image:none!important;border-bottom:1px solid var(--ja-edge);box-shadow:none!important;padding-inline:clamp(18px,2.6vw,40px)}
.topbar .ja-top-spacer{flex:1}.topbar .brand,.topbar .ja-top-title{display:none!important}
.topbar .ja-top-home{width:39px;height:39px;border:1px solid var(--ja-edge);background:#fff;color:#456e81;border-radius:10px;display:grid;place-items:center;transition:background .16s}
.topbar .ja-top-home:hover{background:#edf6fa;color:var(--brand)}
.workspace-bar{display:none!important}
.ja-lang-switch,.pv-top .ja-lang-switch{background:#f4f8fa!important;border:1px solid #d9e7ed;border-radius:11px;box-shadow:none;min-height:40px;padding:3px}
.ja-lang-switch>a{border-radius:8px;min-height:31px;padding:5px 11px;font-size:.77rem}
.ja-lang-switch>a.is-current{background:#076486;color:#fff;box-shadow:none}
.ja-lang-switch>.ic{color:#176e8a}
/* Human-scale sidebar. Grouped information architecture, quiet until active. */
.shell>.sidebar{background:#072e43!important;background-image:none!important;box-shadow:none;border:0}
.sidebar:before,.sidebar:after{content:none!important;display:none!important}
.sidebar-head{padding:23px 18px 22px;border-color:rgba(255,255,255,.12)}
.sidebar-head .brand img{width:48px;height:48px}
.sidebar-head .brand strong{color:#fff;font-size:1.03rem}
.sidebar-head .brand small{color:#a9ccdb;font-size:.59rem;letter-spacing:.05em}
.side-nav{gap:2px;padding:10px 11px 20px;overflow:visible!important;max-height:none!important}
.side-nav-label{display:block;padding:0 12px;margin:10px 0 6px;font-size:.65rem;font-weight:700;color:#94bdcf;letter-spacing:.07em;line-height:1.3}
.side-nav-label.ja-side-group{margin-top:20px;padding-top:15px;border-top:1px solid rgba(207,229,239,.11)}
.side-nav a{min-height:38px;border:1px solid transparent;border-radius:9px;color:#cadde7;font-size:.78rem;line-height:1.5;padding:7px 10px;gap:11px}
.side-nav a .ic{color:#a5c9d9;width:17px;height:17px;stroke-width:1.85}
.side-nav a:hover{background:#174258;color:white;transform:none}
.side-nav a.is-active{background:#ecf7fb!important;border-color:#ecf7fb!important;color:#064562!important;box-shadow:none!important;font-weight:700}
.side-nav a.is-active .ic{color:#0878a0!important}
.side-nav a.is-active::before{background:#d3a05c!important;width:3px;top:9px;bottom:9px}
.side-foot{padding:12px 11px;border-color:rgba(255,255,255,.12);margin-top:8px}
.side-link,.account{font-size:.79rem}
.side-link{margin-bottom:7px}
@media(min-width:1024px){
 .shell{grid-template-columns:var(--sidebar-size) minmax(0,1fr);grid-template-rows:65px minmax(0,1fr)}
 .shell>.sidebar{position:sticky;top:0;align-self:start;height:auto!important;min-height:100dvh;max-height:none!important;overflow:visible!important;transform:none!important;visibility:visible!important}
 .shell>.sidebar .side-nav{overflow:visible!important;max-height:none!important}
 .shell>.topbar{grid-row:1;grid-column:2;position:sticky;top:0;z-index:40;height:65px;display:flex}
 .shell>.content{grid-column:2;grid-row:2}
 .topbar .nav-toggle{display:none!important}
}
/* A real SPLIT photographic masthead: the photo is never under live text.
   No fade/mask/gradient on the photograph; visual consistency with four photo variants. */
.content-in{--ja-hero-photo:url('photos/harbor.webp')}
.content[data-section="admin"] .content-in{--ja-hero-photo:url('photos/yacht-hero.webp')}
.content[data-section="admin/inspections"] .content-in,
.content[data-section="admin/appointments"] .content-in{--ja-hero-photo:url('photos/harbor.webp')}
.content[data-section="admin/complaints"] .content-in,
.content[data-section="admin/feedback"] .content-in{--ja-hero-photo:url('photos/cargo-ship.webp')}
.content[data-section="admin/customers"] .content-in,
.content[data-section="admin/vessels"] .content-in{--ja-hero-photo:url('photos/daylight-port.webp')}
.content[data-section="admin/inspection-reports"] .content-in,
.content[data-section="admin/issued"] .content-in{--ja-hero-photo:url('photos/harbor.webp')}
.content[data-section="admin/invites"] .content-in,
.content[data-section="admin/qr"] .content-in,
.content[data-section="admin/team"] .content-in{--ja-hero-photo:url('photos/calm-sea.webp')}
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head,.rvw .ph){
 position:relative!important;isolation:isolate!important;overflow:hidden!important;
 display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;
 gap:10px!important;min-height:176px!important;padding:24px clamp(22px,2.55vw,37px)!important;
 border:1px solid #d8e4eb!important;border-radius:16px!important;
 background:#073750!important;background-image:none!important;box-shadow:var(--ja-shadow)!important;
 margin-top:0!important;color:#fff!important;
}
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head,.rvw .ph)::before{display:none!important;content:none!important}
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head,.rvw .ph)::after{
 content:""!important;display:block!important;position:absolute!important;
 top:0!important;bottom:0!important;inset-inline-end:0!important;inset-inline-start:auto!important;
 width:39%!important;z-index:-1!important;opacity:1!important;filter:none!important;
 background:var(--ja-hero-photo) center center/cover no-repeat!important;
 -webkit-mask-image:none!important;mask-image:none!important;transform:none!important;clip-path:none!important;
 pointer-events:none!important;border:0!important
}
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head,.rvw .ph)>*{
 position:relative;z-index:1;max-width:58%!important;min-width:0
}
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head,.rvw .ph) h1{color:white!important;font-size:clamp(1.45rem,2.05vw,2.15rem)!important;line-height:1.4!important;letter-spacing:-.02em;font-weight:700!important}
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head,.rvw .ph) p{color:#d3e7ee!important;font-size:.86rem!important;line-height:1.75!important}
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head) .page-actions,
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head) .fi-actions{max-width:59%!important;flex-wrap:wrap;align-items:center;gap:8px}
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head) .btn-primary{background:#e9b75d!important;color:#082f43!important;border-color:#e9b75d!important}
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head) .btn-secondary{background:#fff!important;color:#0c4a67!important;border-color:white!important}
:is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head) .head-line{flex-wrap:wrap}
.dashboard-view .page-head.is-dashboard{min-height:194px!important;gap:14px!important}
.dashboard-view .page-head.is-dashboard>div:first-child{max-width:58%!important}
.dashboard-view .page-head.is-dashboard h1{font-size:clamp(1.75rem,2.5vw,2.38rem)!important}
.dashboard-view .page-actions{align-self:flex-start}
.rvw .iw-top:has(.ph){display:block!important}
.rvw .iw-top .ph{margin-bottom:12px!important}
.rvw .ph h1{font-size:clamp(1.45rem,2vw,2.05rem)!important}
.rvw .ph>*{max-width:58%!important}
/* Data hierarchy: light panels with intentional compactness rather than empty padding. */
:is(.card,.fi-card,.op-card,.iw-card,.cv-card,.pv-card,.kpi,.fi-stat,.op-stat){background:#fff!important;background-image:none!important;border:1px solid var(--ja-edge)!important;border-radius:15px!important;box-shadow:var(--ja-shadow)!important}
:is(.card,.fi-card,.op-card,.iw-card,.cv-card) h2{color:#113b52}
.card-head{margin-bottom:13px;padding-bottom:13px;border-bottom:1px solid #eaf0f3}
.card-head h2{font-size:1rem;font-weight:700}
.card-head h2::before{background:#cf9c4e!important}
.dashboard-view .kpi{min-height:132px!important;padding:17px 19px!important;transition:border-color .15s,box-shadow .15s!important}
.dashboard-view .kpi:hover{transform:translateY(-1px)!important;border-color:#9fcbd9!important;box-shadow:var(--ja-shadow-raised)!important}
.dashboard-view .kpi:after{width:3px!important;background:#3ea0c1!important}
.dashboard-view .kpi:nth-child(4n+1):after{background:#cb994b!important}
.dashboard-view .kpi-top{color:#45697f;font-size:.76rem}
.dashboard-view .kpi-top .ic{background:#edf7fb;color:#06799c;width:38px;height:38px;border-radius:11px;padding:9px}
.dashboard-view .kpi-value{font-size:clamp(1.7rem,2.3vw,2.35rem);font-weight:700;color:#083148}
.dashboard-view .kpi-sub{font-size:.76rem;color:#637e8f}
.dashboard-view .op-sec{border-color:#d9a65a!important;color:#153b53}
.dashboard-view .task{background:#f8fbfd!important;border:1px solid #e4edf1!important;border-radius:10px}
:is(.table-wrap,.fi-table-wrap){border:1px solid #e2ebef;border-radius:12px;overflow-x:auto;background:#fff}
.table{border-collapse:separate;border-spacing:0}
.table th{background:#f1f6f8!important;background-image:none!important;color:#3b6176!important;font-size:.78rem!important;font-weight:700!important;padding-block:12px!important}
.table td{font-size:.8rem;color:#315469;line-height:1.5;border-color:#eaf0f4}
.table tbody tr:hover td{background:#f3f9fb!important}
.table tbody tr:last-child td{border-bottom:0}
:is(.badge,.fi-badge,.kind){border-radius:8px;font-size:.72rem}
.chips{gap:6px}
.chip{border-radius:9px;min-height:34px;background:#fff;font-size:.73rem}
.chip.is-on{background:#0b4e69;border-color:#0b4e69;color:#fff}
:where(.field input:not([type=checkbox]):not([type=radio]):not([type=file]),.field select,.field textarea,.input,.search input,.filters input,.filters select,.pv-form input){
 border-radius:10px;border:1px solid #cfdee7;background:#fff;box-shadow:none;min-height:43px;color:#193b51
}
:where(.field input,.field select,.field textarea,.input,.search input):focus{background:#fff;border-color:#087d9e;box-shadow:0 0 0 3px rgba(12,139,175,.12)}
:where(.field label,.label){font-size:.82rem;color:#24475d;font-weight:600}
.btn,.fi-btn,.pv .btn{border-radius:10px;font-size:.82rem;font-weight:700;box-shadow:none!important}
.btn-primary{background:#086b8d!important;border-color:#086b8d!important;color:#fff!important}
.btn-primary:hover{background:#054f6b!important;border-color:#054f6b!important}
.btn-secondary{background:#fff!important;color:#0a5472!important;border-color:#c9dfe8!important}
.btn-secondary:hover{background:#edf7fa!important;border-color:#a2cbd9!important}
.empty{border-radius:14px;gap:8px;padding:25px 16px}
.empty-ic{background:#e7f4f8;color:#0c7b9d}
.average-stars-gold,.stars-static .star.on,.rating .star{color:#e8a528;fill:#e8a528}
.compliance.is-feature .comp-score{background:#fffdf8}
/* Public: distinctive but connected to the exact same family.
   Both the light header and hero are intentionally plain, no radial gradients. */
.pub-header,.pv-top,.ja-auth-header{background:#fff!important;background-image:none!important;border-bottom:1px solid var(--ja-edge)!important;box-shadow:none!important}
.pub-header-in,.pv-top-in{max-width:1330px;min-height:71px;padding:11px 23px}
.pub-main.is-landing{max-width:1280px;padding:22px 24px 50px;gap:20px}
.pub-main.is-landing .pub-intro{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.03fr)!important;min-height:340px!important;background:#073850!important;background-image:none!important;border-radius:17px!important;box-shadow:var(--ja-shadow-raised)!important;border:0;gap:0!important;padding:0!important;overflow:hidden!important;align-items:stretch!important}
.pub-main.is-landing .pub-intro:before,.pub-main.is-landing .pub-intro:after{content:none!important;display:none!important}
.pub-main.is-landing .ja-care-copy{padding:clamp(30px,4vw,57px)!important;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:15px;text-align:start}
.pub-main.is-landing .pub-kicker{color:#f5c676!important;border:1px solid #397187!important;background:#0c4964!important;padding:6px 13px;border-radius:999px;font-size:.72rem;font-weight:700}
.pub-main.is-landing .pub-intro h1{margin:2px 0!important;font-size:clamp(2.1rem,3.35vw,3.25rem)!important;max-width:14ch;line-height:1.27;color:#fff!important;letter-spacing:-.02em}
.pub-main.is-landing .pub-intro p{max-width:38ch;font-size:.96rem!important;line-height:1.85;color:#d7e9ef!important}
.pub-main.is-landing .ja-care-promise{color:#b9d9e6;font-size:.8rem;gap:8px;margin-top:7px}
.pub-main.is-landing .ja-care-photo{width:100%;min-height:340px;background-image:url('photos/daylight-port.webp')!important;background-position:47% center;background-size:cover;filter:none!important;opacity:1!important;isolation:isolate}
.pub-main.is-landing .ja-care-photo:before,.pub-main.is-landing .ja-care-photo:after{content:none!important;display:none!important}
.pub-main.is-landing .ja-care-photo>span{position:absolute;inset-inline-start:19px;bottom:20px;color:#fff;font-size:.7rem;letter-spacing:.11em;text-shadow:0 1px 8px #102a37}
.ja-services-heading{margin:9px 0 0;align-items:flex-end}
.ja-section-eyebrow{color:#0d7699;letter-spacing:.13em;font-size:.68rem}
.ja-services-heading h2{font-size:clamp(1.35rem,1.8vw,1.75rem);color:#133d52}
.ja-services-heading p{color:#607b8e;font-size:.83rem}
.pub-main.is-landing .choices{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:15px!important}
.pub-main.is-landing .choice,.pub-main.is-landing .choice:first-child,.pub-main.is-landing .choice:nth-child(n+2){
 grid-row:auto!important;grid-column:auto!important;display:flex!important;flex-direction:column!important;
 align-items:flex-start!important;min-height:228px!important;gap:12px!important;padding:24px!important;
 background:#fff!important;background-image:none!important;border:1px solid var(--ja-edge)!important;
 border-radius:14px!important;box-shadow:var(--ja-shadow)!important;transition:border-color .15s,transform .15s,box-shadow .15s!important;
}
.pub-main.is-landing .choice:hover{transform:translateY(-2px)!important;border-color:#a9cfdc!important;box-shadow:var(--ja-shadow-raised)!important}
.pub-main.is-landing .choice-ic{height:53px;width:53px;border-radius:13px;background:#e9f5fa!important;color:#08769b!important;border:1px solid #d9edf2}
.pub-main.is-landing .choice-ic .ic{height:27px;width:27px}
.pub-main.is-landing .choice:nth-child(2) .choice-ic{background:#fff4e0!important;color:#b27b26!important;border-color:#f5e3bf}
.pub-main.is-landing .choice:nth-child(3) .choice-ic{background:#e9f7ef!important;color:#238262!important;border-color:#d7ece1}
.pub-main.is-landing .choice-body{gap:5px!important;align-items:flex-start!important;flex:1}
.pub-main.is-landing .choice-title{font-size:clamp(1.08rem,1.35vw,1.3rem)!important;font-weight:700!important;color:#123b52!important}
.pub-main.is-landing .choice-en{color:#6b899a!important;font-size:.68rem!important}
.pub-main.is-landing .choice-text{font-size:.83rem!important;line-height:1.65!important;color:#537185!important}
.pub-main.is-landing .choice-go{width:36px;height:36px;border-radius:10px;background:#e6f3f8!important;color:#086d8c!important;align-self:flex-end!important}
.pub-main.is-landing .choice:hover .choice-go{background:#075c7d!important;color:#fff!important}
.pub-main.is-landing .hint{border-radius:11px;border:1px solid #e0eaf0;background:#f7fbfd;color:#466b7e;padding:13px;font-size:.8rem}
/* Public forms: short text panel, clear photo, no image beneath the labels. */
.pub-main:not(.is-landing){max-width:960px;padding:26px 20px 52px;gap:20px}
.pub-main:not(.is-landing).is-narrow{max-width:740px}
.pub-main:not(.is-landing) .pub-intro{min-height:161px!important;border-radius:15px!important;border:0;background:#073850!important;background-image:none!important;box-shadow:var(--ja-shadow)!important;position:relative;isolation:isolate;overflow:hidden;padding:26px clamp(22px,3vw,39px)!important;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px}
.pub-main:not(.is-landing) .pub-intro:before{content:""!important;display:block!important;position:absolute;top:0;bottom:0;inset-inline-end:0;inset-inline-start:auto;width:37%;z-index:-1;background:url('photos/harbor.webp') center/cover no-repeat!important;opacity:1!important;filter:none!important;mask-image:none!important;-webkit-mask-image:none!important}
.pub-main:not(.is-landing) .pub-intro:after{content:none!important;display:none!important}
.pub-main.is-complaint .pub-intro:before{background-image:url('photos/cargo-ship.webp')!important}
.pub-main.is-feedback .pub-intro:before{background-image:url('photos/calm-sea.webp')!important}
.pub-main:not(.is-landing) .pub-intro h1{color:#fff!important;font-size:clamp(1.55rem,2.3vw,2rem)!important;max-width:59%;margin:0}
.pub-main:not(.is-landing) .pub-intro p{color:#cfe6ef!important;max-width:57%;line-height:1.7}
.pub-main:not(.is-landing) .form{margin:0!important;padding:clamp(22px,3vw,34px)!important;border-radius:15px!important}
.pub-main .form .group{margin-block:5px 19px}
.pub-main .form .group-title{color:#113c54;font-weight:700}
.pub-main .form input,.pub-main .form textarea,.pub-main .form select{background:#fff}
.pub-main .form .form-actions{padding-top:15px}
/* Authority / Verify: matching header anatomy; no tinted photograph or pseudo-image over the fields. */
.pv,.pv.is-auth{background:var(--ja-canvas)!important;background-image:none!important}
.pv-main{max-width:1290px;padding-top:23px}
.ja-authority-frame{border:1px solid #dbe8ef;border-radius:17px;overflow:hidden;box-shadow:var(--ja-shadow-raised)}
.ja-authority-story{background:#0a425b url('photos/harbor.webp') center/cover no-repeat!important;isolation:isolate}
.ja-authority-story:before{background:linear-gradient(180deg,rgba(5,38,56,.06),rgba(5,38,56,.12) 34%,rgba(5,38,56,.90))!important;opacity:1}
.ja-authority-story-copy{color:white}
.ja-authority-story h2{color:#fff}
.ja-authority-frame .pv-login{border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
.pv-login .pv-big-ic{background:#e9f5f9;color:#08799b;border-radius:13px}
.pv-search{background:#073850!important;background-image:none!important;overflow:hidden;isolation:isolate;position:relative;border-radius:15px!important}
.pv-search:before{content:""!important;display:block!important;position:absolute;top:0;bottom:0;inset-inline-end:0;inset-inline-start:auto;width:38%;background:url('photos/calm-sea.webp') center/cover no-repeat!important;filter:none!important;opacity:1!important;mask-image:none!important;-webkit-mask-image:none!important;z-index:-1!important}
.pv-search:after{content:none!important;display:none!important}
.pv-search>h1,.pv-search>p,.pv-search>.pv-sform{max-width:58%!important;position:relative;z-index:1}
.pv-search>h1{color:#fff!important;font-size:clamp(1.55rem,2.4vw,2.2rem)!important}
.pv-search>p{color:#cee6ef!important}
.auth.auth-premium{background:var(--ja-canvas)!important;background-image:none!important}
.auth.auth-premium .auth-stage{border-radius:18px;overflow:hidden;box-shadow:var(--ja-shadow-raised);border:1px solid var(--ja-edge)}
.auth.auth-premium .auth-card{background:#fff!important}
.auth.auth-premium .auth-story{background:url('photos/daylight-port.webp') center/cover no-repeat!important}
.auth.auth-premium .auth-story::before{background:linear-gradient(180deg,rgba(3,43,62,.18),rgba(3,43,62,.01) 39%,rgba(3,37,55,.77) 100%)!important}
.auth.auth-premium .auth-story-copy h2{color:#fff}
/* Modern, deliberate rating area. Gold reserved for real ratings. */
.comp-score .average-stars,.kpi .average-stars{max-width:140px}
.rating-field{border-radius:13px;background:#fffaf2!important;border:1px solid #f4e4c7;padding:22px}
.rating .star{color:#dfa02f!important}
/* Accessible mobile/compact: preserve hierarchy but remove decorative image, not data. */
@media(max-width:1023px){
 .shell>.sidebar{height:100dvh!important;min-height:0!important;overflow-y:auto!important}
 .topbar .brand{display:flex!important}
 .topbar .nav-toggle{display:inline-grid!important}
 .content-in{padding:20px clamp(15px,3vw,26px) 38px}
}
@media(max-width:800px){
 :is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head,.rvw .ph){min-height:154px!important;padding:22px!important}
 :is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head,.rvw .ph)::after{width:32%!important;opacity:1!important}
 :is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head,.rvw .ph)>*{max-width:64%!important}
 .dashboard-view .page-head.is-dashboard>div:first-child{max-width:64%!important}
 .pub-main.is-landing{padding:16px 16px 42px}
 .pub-main.is-landing .pub-intro{grid-template-columns:1fr!important}
 .pub-main.is-landing .ja-care-copy{padding:29px!important}
 .pub-main.is-landing .ja-care-photo{min-height:240px!important;background-position:center 44%}
 .pub-main.is-landing .choices{grid-template-columns:1fr!important;gap:12px!important}
 .pub-main.is-landing .choice,.pub-main.is-landing .choice:first-child,.pub-main.is-landing .choice:nth-child(n+2){min-height:153px!important;padding:21px!important}
 .pub-main.is-landing .choice-body{gap:3px!important}
 .ja-services-heading{display:block}
 .ja-services-heading p{margin-top:6px}
 .pv-search>h1,.pv-search>p,.pv-search>.pv-sform{max-width:66%!important}
}
@media(max-width:520px){
 .topbar{padding-inline:13px}
 .ja-lang-switch>a{padding-inline:9px}
 .content-in{padding-inline:12px}
 :is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head,.rvw .ph){min-height:0!important;padding:23px 18px!important;gap:9px!important}
 :is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head,.rvw .ph)::after{width:100%!important;opacity:.13!important}
 :is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head,.rvw .ph)>*{max-width:100%!important}
 :is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head) .page-actions,
 :is(.content-in .page-head,.content-in .fi-head,.content-in .ia-head) .fi-actions{max-width:100%!important}
 .dashboard-view .page-head.is-dashboard{min-height:0!important}
 .dashboard-view .page-head.is-dashboard>div:first-child{max-width:100%!important}
 .rvw .ph>*{max-width:100%!important}
 .pub-header-in,.pv-top-in{padding:10px 14px}
 .pub-main.is-landing{padding:12px 12px 35px}
 .pub-main.is-landing .ja-care-copy{padding:26px 22px!important;gap:11px!important}
 .pub-main.is-landing .pub-intro h1{font-size:clamp(1.85rem,8vw,2.45rem)!important}
 .pub-main.is-landing .ja-care-photo{min-height:185px!important}
 .pub-main.is-landing .choice{min-height:146px!important}
 .pub-main:not(.is-landing){padding:15px 12px 38px}
 .pub-main:not(.is-landing) .pub-intro{padding:23px 20px!important;min-height:145px!important}
 .pub-main:not(.is-landing) .pub-intro:before{width:100%!important;opacity:.13!important}
 .pub-main:not(.is-landing) .pub-intro :is(h1,p){max-width:100%!important}
 .pv-main{padding:15px 12px 35px}
 .pv-search:before{width:100%!important;opacity:.15!important}
 .pv-search>h1,.pv-search>p,.pv-search>.pv-sform{max-width:100%!important}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media print{.topbar,.sidebar,.ja-lang-switch{display:none!important}.shell{display:block}.shell>.content{display:block!important}:is(.page-head,.fi-head,.ia-head,.pub-intro){background:#fff!important;color:#14374b!important;box-shadow:none!important;border:1px solid #ddd!important}:is(.page-head,.fi-head,.ia-head,.pub-intro)::after{display:none!important}}
/* Visual QA correction: the staff login photo must stay genuinely visible.
   Copy belongs to its own opaque reading surface, not floating on bright cranes. */
.auth.auth-premium .auth-story{justify-content:space-between!important;gap:12px;padding:25px!important}
.auth.auth-premium .auth-story::before{content:none!important;display:none!important}
.auth.auth-premium .auth-story::after{content:none!important;display:none!important}
.auth.auth-premium .auth-story-top{align-self:flex-start;max-width:100%;padding:9px 13px;border-radius:11px;background:rgba(5,47,69,.92);backdrop-filter:none;box-shadow:0 6px 18px rgba(7,32,45,.14)}
.auth.auth-premium .auth-story-top-sub{color:#dcecf4}
.auth.auth-premium .auth-story-copy{max-width:100%;width:100%;align-self:stretch!important;text-align:start!important;margin-top:auto;padding:21px 23px 16px;background:rgba(4,43,64,.95);border:1px solid rgba(255,255,255,.12);border-radius:13px 13px 0 0}
.auth.auth-premium .auth-story-copy .auth-story-kicker,
.auth.auth-premium .auth-story-copy .auth-story-en{display:none!important}
.auth.auth-premium .auth-story-copy h2{font-size:clamp(1.58rem,2.25vw,2.2rem)!important;line-height:1.42!important;color:#fff}
.auth.auth-premium .auth-story-copy p{margin-top:5px;color:#d4e7ef;font-size:.88rem;line-height:1.6}
.auth.auth-premium .auth-story-bottom{width:100%;align-self:stretch;justify-content:flex-start;gap:8px;margin-top:-12px;padding:0 22px 16px;background:rgba(4,43,64,.95);border-radius:0 0 13px 13px;font-size:.58rem;color:#c4dce8}
.auth.auth-premium .auth-card .btn>span{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex-direction:row!important;gap:9px!important;white-space:nowrap}
.auth.auth-premium .auth-card .btn>span>.ic{display:inline-block!important;width:17px;height:17px;flex:none}
@media(max-width:760px){.auth.auth-premium .auth-story{padding:18px!important}.auth.auth-premium .auth-story-copy{padding:13px 17px!important}.auth.auth-premium .auth-story-copy h2{font-size:1.28rem!important}.auth.auth-premium .auth-story-bottom{padding:0 17px 12px}}
