@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&display=swap');
:root{font-family:'Cairo',sans-serif;color:#12283c;background:#f1f6fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #2185d4;outline-offset:4px}.app-shell{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh}.sidebar{padding:35px 22px 25px;background:#fff;border-inline-end:1px solid #e5ece6;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;font-size:27px;font-weight:700;letter-spacing:-1px}.brand-mark{width:42px;height:46px;display:grid;place-items:center;border-radius:15px 15px 15px 5px;background:#eaf4ff;color:#2170c7;font-size:33px}.brand small{display:block;font-size:9px;letter-spacing:1.8px;font-weight:600;color:#7c93aa;margin-top:3px}.nav-label{font-size:10px;color:#8095ab;letter-spacing:1.7px;margin:49px 13px 14px}.sidebar nav{display:grid;gap:8px}.sidebar nav a{display:flex;gap:12px;align-items:center;padding:13px 14px;border-radius:12px;font-size:13px;font-weight:500;color:#4d5f72}.sidebar nav a span{font-size:20px;line-height:1}.sidebar nav a.active{background:#eaf4ff;color:#2170c7}.sidebar-note{display:flex;gap:10px;margin-top:auto;padding:36px 9px 2px;font-size:11px;color:#52718c}.sidebar-note small{display:block;font-size:10px;color:#849bb3;margin-top:5px}.small-dot{width:7px;height:7px;background:#2170c7;border-radius:100%;margin-top:6px}.workspace{min-width:0;display:flex;flex-direction:column}.topbar{height:85px;border-bottom:1px solid #e5ece6;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:15px}.breadcrumb{font-size:12px;color:#647c95}.breadcrumb span{color:#c3d3e2;margin:0 12px}.topbar-actions{display:flex;align-items:center;gap:23px}.topbar select{border:1px solid #d8e4ef;padding:8px 10px;border-radius:9px;background:#fff;color:#324a60;font-size:12px;cursor:pointer}.avatar{display:grid;place-items:center;width:33px;height:33px;background:#eaf4ff;color:#1c4a75;border-radius:50%;font-size:13px;font-weight:700}main{padding:37px 38px;max-width:1500px;width:100%;margin:0 auto;flex:1}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:30px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;color:#2170c7;margin:0 0 11px}h1{font-size:clamp(23px,2.2vw,33px);font-weight:600;letter-spacing:-.8px;margin:0 0 10px;line-height:1.45}.subtitle{font-size:13px;color:#647c95;margin:0;line-height:1.8}.outline-badge{font-size:11px;color:#4d7fac;white-space:nowrap;border:1px solid #d8e4ef;border-radius:20px;padding:9px 13px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:27px}.stat{background:#fff;border:1px solid #e2e9f0;border-radius:19px;padding:24px}.stat>span{font-size:12px;color:#5f7c95}.stat strong{display:block;font-size:39px;font-weight:500;letter-spacing:-1.5px;margin:12px 0 6px;font-variant-numeric:tabular-nums}.stat small{font-size:11px;color:#849bb3}.panel{background:white;border:1px solid #e2e9f0;border-radius:20px;padding:23px 26px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;border-bottom:1px solid #edf2f7;padding-bottom:21px}.panel h2,.welcome-strip h2{font-size:15px;font-weight:600;margin:0}.text-link{font-size:11px;color:#2170c7}.text-link span{margin-inline-start:6px}.empty-state{text-align:center;padding:39px 18px 32px}.empty-symbol{display:grid;place-items:center;width:60px;height:60px;margin:0 auto 18px;background:#eaf4ff;color:#2d6fb5;border:1px solid #d8e4ef;border-radius:20px;font-size:29px}.empty-state h2{font-size:18px;margin:0 0 10px}.empty-state p{max-width:430px;margin:0 auto;color:#7c93aa;font-size:12px;line-height:1.9}.soft-badge{display:inline-block;background:#eaf4ff;color:#2170c7;font-size:10px;padding:7px 12px;border-radius:7px;margin-top:20px}.welcome-strip{margin-top:22px;background:#eaf4ff;border:1px solid #d8e4ef;border-radius:20px;padding:24px 29px;display:flex;justify-content:space-between;align-items:center;gap:20px;overflow:hidden}.welcome-strip p{font-size:12px;line-height:1.8;color:#4d7fac;max-width:470px;margin:9px 0 0}.welcome-art{font-size:51px;font-weight:700;background:#dbe9f7;color:#1c4a75;border-radius:20px;min-width:70px;height:70px;display:grid;place-items:center;position:relative;transform:rotate(-8deg)}.welcome-art span{position:absolute;inset-inline-end:-7px;top:-5px;font-size:16px;border:3px solid #eaf4ff;background:#2170c7;color:white;border-radius:50%;width:27px;height:27px;display:grid;place-items:center}footer{display:flex;justify-content:space-between;gap:15px;padding:12px 38px 24px;font-size:10px;color:#849bb3}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:13px;text-align:start}th,td{text-align:start;padding:16px;border-bottom:1px solid #e4ebf2}th{font-weight:500;color:#647c95}button{border:0;border-radius:8px;background:#2170c7;color:white;padding:10px 17px;cursor:pointer}.error-panel{padding:25px;background:#fff3ee;border-radius:15px}.error-panel p{font-size:13px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#blazor-error-ui{display:none;position:fixed;bottom:0;background:#fff1cd;width:100%;padding:15px;text-align:center;z-index:10}[lang=ar] h1,[lang=ar] .eyebrow,[lang=ar] .nav-label{letter-spacing:0}@media(max-width:1000px){.app-shell{grid-template-columns:195px minmax(0,1fr)}.sidebar{padding:28px 14px}main{padding:27px 24px}.topbar{padding:0 24px}.outline-badge{display:none}.stat{padding:18px}.stats{gap:12px}}@media(max-width:720px){.app-shell{grid-template-columns:1fr}.sidebar{padding:17px 20px;border-inline-end:0;border-bottom:1px solid #e5ece6}.brand{font-size:23px}.brand-mark{width:34px;height:37px}.nav-label,.sidebar-note{display:none}.sidebar nav{display:flex;flex-wrap:wrap;margin-top:18px;gap:8px}.sidebar nav a{font-size:12px;padding:10px}.topbar{height:64px;padding:0 20px}main{padding:25px 20px}.page-heading{margin-bottom:22px}.stats{gap:8px}.stat{padding:15px 12px}.stat>span{font-size:11px}.stat strong{font-size:31px}.stat small{font-size:10px}.panel{padding:20px 16px}.welcome-strip{padding:20px}.welcome-art{display:none}footer{padding:15px 20px;flex-wrap:wrap}.topbar-actions{gap:12px}}@media(max-width:380px){.stats{grid-template-columns:1fr}.stat{display:grid;grid-template-columns:1fr auto;align-items:center}.stat strong{grid-column:2;grid-row:1 / 3;margin:0}.stat small{grid-column:1}.breadcrumb{font-size:10px}.avatar{display:none}}

/* Owner overview — same navy/blue identity as the company Hub, so nothing on the platform still reads as the old mint theme. */
.dashboard-hero{position:relative;min-height:212px;margin-bottom:22px;padding:34px 38px;overflow:hidden;border-radius:24px;background:linear-gradient(112deg,#0f355c 0%,#123f6d 55%,#2185d4 100%);color:#fff;box-shadow:0 13px 30px rgba(10,47,82,.18)}
.dashboard-hero:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 75% 20%,rgba(255,255,255,.22),transparent 32%),linear-gradient(90deg,rgba(10,47,82,.3),transparent 65%);pointer-events:none}.hero-copy{position:relative;z-index:1;max-width:610px}.hero-kicker{font-size:10px;letter-spacing:2px;font-weight:700;color:#bcdaf7;margin-bottom:13px}.hero-copy h1{font-size:clamp(28px,3vw,44px);line-height:1.15;letter-spacing:-1.2px;margin-bottom:12px}.hero-copy p{max-width:500px;color:#dce9f7;font-size:14px;line-height:1.7;margin:0}.hero-action{display:inline-flex;margin-top:20px;padding:10px 16px;border-radius:9px;background:#fff;color:#123f6d;font-size:12px;font-weight:700}.hero-art{position:absolute;z-index:1;inset-inline-end:6%;bottom:-18px;width:185px;height:185px;display:grid;place-items:center}.hero-art img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 15px 15px rgba(7,25,41,.35))}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:18px;margin-bottom:22px}.companies-panel,.activity-panel{min-height:255px}.live-dot{display:inline-block;width:7px;height:7px;margin-inline-end:6px;border-radius:50%;background:#32b879;box-shadow:0 0 0 4px #e3f7eb}.activity-empty{display:grid;place-items:center;text-align:center;padding:42px 20px;color:#7c93aa}.activity-icon{display:grid;place-items:center;width:56px;height:56px;margin-bottom:14px;border-radius:18px;background:#eaf4ff;color:#2170c7;font-size:25px}.activity-empty h3{margin:0 0 7px;font-size:17px;color:#12283c}.activity-empty p{max-width:310px;margin:0;font-size:12px;line-height:1.8}.principles{display:flex;justify-content:space-between;align-items:center;gap:25px}.principle-copy{max-width:430px}.principle-list{display:flex;gap:20px;flex-wrap:wrap}.principle-list div{display:flex;align-items:center;gap:8px;color:#4d5f72;font-size:11px}.principle-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#eaf4ff;color:#2170c7;font-weight:700}@media(max-width:850px){.dashboard-grid{grid-template-columns:1fr}.hero-art{opacity:.75;inset-inline-end:0}.principles{align-items:flex-start;flex-direction:column}}@media(max-width:520px){.dashboard-hero{min-height:255px;padding:27px 23px}.hero-copy{max-width:75%}.hero-copy h1{font-size:28px}.hero-art{width:145px;height:145px;bottom:-8px;opacity:.7}.principles{padding:20px 18px}.principle-list{gap:12px}}

.company-dashboard-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:25px}.ops-hero{position:relative;display:flex;justify-content:space-between;align-items:center;overflow:hidden;min-height:175px;margin-bottom:18px;padding:30px 35px;border-radius:22px;background:linear-gradient(110deg,#173f54,#246b79 58%,#b6e2d2);color:#fff}.ops-hero h2{font-size:clamp(25px,3vw,38px);line-height:1.2;margin:10px 0}.ops-hero p{max-width:570px;color:#e2f4ed;font-size:13px;margin:0}.ops-hero-mark{font-size:95px;color:#c2f5dc;opacity:.8;transform:rotate(-15deg);margin-inline-end:8%}.ops-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.ops-kpis article{display:flex;align-items:center;gap:13px;padding:18px;border:1px solid #e2eae3;border-radius:16px;background:#fff}.ops-kpis article>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#e6f7ed;color:#31835b;font-size:20px}.ops-kpis small{display:block;color:#718177;font-size:11px}.ops-kpis strong{display:block;font-size:27px;color:#183f31;margin-top:4px}.ops-layout{display:grid;grid-template-columns:1.25fr .9fr;gap:18px;margin-bottom:18px}.ops-panel{min-height:275px}.ops-empty{text-align:center;padding:38px 15px}.ops-empty h3{margin:0 0 8px;color:#294a3b;font-size:16px}.ops-empty p{max-width:370px;margin:auto;color:#77867c;font-size:12px;line-height:1.8}.service-preview{display:flex;align-items:center;justify-content:center;gap:25px;padding:30px 10px}.donut-placeholder{display:grid;place-items:center;width:130px;height:130px;border-radius:50%;background:conic-gradient(#d8ebdf 0 25%,#eaf2ed 25% 100%);box-shadow:inset 0 0 0 24px #fff;color:#315d48;font-size:25px;font-weight:600}.donut-placeholder small{display:block;font-size:10px;font-weight:400}.service-preview ul{padding:0;margin:0;list-style:none;display:grid;gap:13px;color:#617367;font-size:11px}.service-preview li{display:grid;grid-template-columns:9px 1fr auto;gap:7px;align-items:center}.service-preview i{width:9px;height:9px;border-radius:50%}.service-preview .mint{background:#35b77a}.service-preview .blue{background:#4586e8}.service-preview .amber{background:#f1ad37}.service-preview b{color:#274b3a}.recent-panel{min-height:130px}.empty-table{text-align:center;padding:25px;color:#7a887f;font-size:12px}@media(max-width:850px){.ops-kpis{grid-template-columns:repeat(2,1fr)}.ops-layout{grid-template-columns:1fr}.ops-hero-mark{margin-inline-end:2%}}@media(max-width:520px){.company-dashboard-head{align-items:flex-start;flex-direction:column}.ops-hero{padding:24px;min-height:220px}.ops-hero-mark{position:absolute;inset-inline-end:10px;bottom:-12px;font-size:75px;opacity:.45}.ops-kpis{grid-template-columns:1fr 1fr}.ops-kpis article{padding:13px 10px;gap:8px}.ops-kpis strong{font-size:23px}.service-preview{gap:10px;flex-direction:column}}

/* Company operations shell: dark rail and airport banner to match the supplied dashboard reference. */
.company-shell{grid-template-columns:264px minmax(0,1fr);background:#f1f6fb}.company-shell .sidebar{padding:0 14px 26px;background:linear-gradient(180deg,#0f355c 0%,#123f6d 58%,#0b3154 100%);border:0;color:#fff}.company-shell .brand{padding:28px 18px 24px;color:#fff;font-size:30px}.company-shell .brand-mark{background:#2b8bd6;color:#fff}.company-shell .brand small{color:#b9d8ef}.company-shell .nav-label{color:#a9c8e2;margin:24px 13px 12px}.company-shell .sidebar nav{gap:3px}.company-shell .sidebar nav a{color:#e2effb;padding:11px 12px;border-radius:9px;font-size:13px;min-width:0}.company-shell .sidebar nav a span:first-child{font-size:18px}
.nav-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1}
.sidebar nav a{min-width:0}.sidebar nav a span:first-child{flex:0 0 auto}
.nav-icon{width:18px;height:18px;flex:0 0 18px;color:#8fb6da}
.sidebar nav a.active .nav-icon,.sidebar nav a:hover .nav-icon{color:#fff}
.tree-chev{width:12px;height:12px;flex:0 0 12px;color:#6f96bd;transition:transform .15s;margin-inline-start:auto}
.top-search .nav-icon{color:#2d5c8e}

/* Basic data tree: a collapsible branch in the sidebar instead of a landing page click-through. */
.nav-tree{border-radius:9px}
.nav-tree summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:9px;color:#e2effb;font-size:13px;min-width:0}
.nav-tree summary::-webkit-details-marker{display:none}
.nav-tree summary .tree-chev{margin-inline-start:auto;flex:0 0 auto;font-size:11px;color:#6f96bd;transition:transform .15s}
.nav-tree[open] summary .tree-chev{transform:rotate(180deg)}
.nav-tree[open] summary{background:rgba(255,255,255,.06)}
.nav-tree-items{display:flex;flex-direction:column;gap:1px;padding:2px 0 4px 14px;border-inline-start:1px solid rgba(255,255,255,.14);margin-inline-start:23px}
.nav-tree-items a{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:8px;color:#b9d8ef;font-size:12.5px;min-width:0}
.nav-tree-items a svg,.nav-tree-items a span:first-child{font-size:14px}
.nav-tree-items a:hover{background:rgba(255,255,255,.06);color:#fff}.company-shell .sidebar nav a.active,.company-shell .sidebar nav a:hover{background:#2185d4;color:#fff}.company-shell .sidebar-note{color:#d7eafb;margin:28px 9px 0;padding:26px 0 0;border-top:1px solid rgba(255,255,255,.14)}.company-shell .sidebar-note small{color:#a9c8e2}.company-shell .topbar{height:78px;padding:0 29px;background:#fff;border-bottom:1px solid #e1ebf4;gap:20px}.company-shell .breadcrumb{order:3;color:#4f6f8e;white-space:nowrap}.company-shell .topbar-actions{order:4}.top-search{display:flex;align-items:center;gap:12px;width:min(420px,40vw);padding:11px 15px;border:1px solid #d8e4ef;border-radius:10px;color:#7389a0;font-size:12px;background:#fbfdff}.top-search span:first-child{font-size:25px;line-height:1;color:#2d5c8e}.company-shell main{max-width:none;padding:28px 25px 36px}.company-shell footer{background:#f1f6fb;padding-inline:25px}.company-shell .ops-hero{background-image:linear-gradient(90deg,rgba(10,47,82,.88) 0%,rgba(19,78,113,.63) 55%,rgba(19,78,113,.12) 100%),url('assets/airport-hero.jpg');background-size:cover;background-position:center;min-height:185px;border-radius:15px}.company-shell .ops-hero-mark{display:none}.company-shell .ops-kpis article{border:0;box-shadow:0 3px 15px rgba(24,65,101,.08);border-radius:13px}.company-shell .ops-kpis article>span{background:#eaf4ff;color:#247bd0}.company-shell .ops-panel,.company-shell .recent-panel{border:0;box-shadow:0 3px 15px rgba(24,65,101,.06);border-radius:14px}.company-shell .panel-heading{border-bottom-color:#edf2f7}.company-shell .eyebrow{color:#2e8ad5}.company-shell .outline-badge{border-color:#d7e6f4;color:#4d7090}.company-shell .activity-icon{background:#e9f4ff;color:#2d83d5}@media(max-width:850px){.company-shell{grid-template-columns:1fr}.company-shell .sidebar{padding:12px 18px}.company-shell .brand{padding:8px 0}.company-shell .sidebar nav{display:flex;flex-wrap:wrap}.company-shell .nav-label,.company-shell .sidebar-note{display:none}.company-shell .topbar{height:auto;min-height:70px;flex-wrap:wrap;padding:12px 18px}.top-search{width:100%;order:1}.company-shell .breadcrumb{order:2}.company-shell .topbar-actions{order:3}}

.brand-logo{display:block;width:min(188px,100%);height:auto;object-fit:contain}.brand{min-height:72px}.company-shell .brand-logo{width:205px;filter:drop-shadow(0 3px 5px rgba(0,0,0,.2))}.company-shell .brand-mark{display:none}@media(max-width:720px){.brand-logo{width:160px}.company-shell .brand-logo{width:170px}}
.company-shell .brand{background:#fff;margin:0 -14px 18px;padding:20px 14px;border-radius:0 0 16px 16px;display:flex;justify-content:center}.company-shell .brand-logo{width:152px}.company-shell .brand small{color:#52718c}

/* Company Hub — approved navy identity (mockup reviewed and confirmed with the user). */
.nav-hint{font-size:10px;color:#7ea4c8;margin:-6px 13px 12px;line-height:1.5}
.nav-item-main{display:flex;align-items:center;gap:12px;min-width:0}
.company-shell .sidebar nav a.gateway{justify-content:space-between}
.gateway-chev{width:13px;height:13px;color:#6f96bd;flex:0 0 auto}
.company-shell .sidebar nav a.active .gateway-chev{color:#fff}

.hub-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:20px}
.hub-kpi{background:#fff;border-radius:16px;padding:16px;box-shadow:0 3px 15px rgba(24,65,101,.07);display:flex;flex-direction:column;gap:10px}
.hub-kpi-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.hub-kpi-icon{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;font-size:16px}
.kpi-blue .hub-kpi-icon{background:#eaf4ff;color:#2170c7}
.kpi-green .hub-kpi-icon{background:#e6f8ef;color:#1f9d6c}
.kpi-amber .hub-kpi-icon{background:#fdf3e2;color:#c8862a}
.kpi-red .hub-kpi-icon{background:#fdecec;color:#d94f4f}
.kpi-purple .hub-kpi-icon{background:#f1ecfc;color:#7c5cd9}
.hub-kpi strong{font-size:24px;font-weight:700;color:#0d2138;letter-spacing:-.4px}
.kpi-label{font-size:11.5px;color:#647c95}
.kpi-note{font-size:9.5px;font-weight:700;letter-spacing:.3px;color:#9db2c7;background:#f1f6fb;padding:4px 8px;border-radius:8px;white-space:nowrap;text-transform:uppercase}

.hub-row2{display:grid;grid-template-columns:1.6fr 1fr;gap:18px;margin-top:18px;align-items:start}

.bd-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bd-card{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #edf2f7;border-radius:13px;color:inherit}
.bd-card:hover{border-color:#cfe0f2}
.bd-icon{width:38px;height:38px;border-radius:11px;background:#eef5fc;color:#2d6fb5;display:grid;place-items:center;flex:0 0 38px;font-size:16px}
.bd-meta strong{display:block;font-size:12.5px;color:#12283c;margin-bottom:2px}
.bd-meta span{font-size:11px;color:#7c93aa}
.bd-card.disabled{opacity:.6;cursor:default}
.bd-card.disabled .bd-icon{background:#f1f3f6;color:#9aa8b5}

.role-row{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.role-dot{width:9px;height:9px;border-radius:50%;flex:0 0 9px}
.role-row .role-name{flex:1;font-size:12.5px;color:#324a60}
.role-row .role-count{font-size:12.5px;font-weight:700;color:#12283c}
.staff-list{margin-top:6px;border-top:1px solid #eef2f7;padding-top:14px}
.staff-item{display:flex;align-items:center;gap:10px;padding:7px 0}
.staff-avatar{width:30px;height:30px;border-radius:50%;background:#eef5fc;color:#2d6fb5;display:grid;place-items:center;font-size:11px;font-weight:700;flex:0 0 30px}
.staff-meta{flex:1;min-width:0}
.staff-meta strong{display:block;font-size:12.5px;color:#12283c}
.staff-meta span{font-size:11px;color:#849bb3}
.staff-more{display:block;text-align:center;font-size:11.5px;color:#2170c7;margin-top:10px}

@media(max-width:1050px){.hub-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.bd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-row2{grid-template-columns:1fr}}
@media(max-width:520px){.hub-kpis{grid-template-columns:1fr}.bd-grid{grid-template-columns:1fr}}

/* Basic-data screens (airports/stations/services/airlines, OCC's flight form): tabs and inline forms had no rules yet. */
.reference-tabs{display:flex;gap:4px;margin-bottom:20px;border-bottom:1px solid #edf2f7;flex-wrap:wrap}
.reference-tabs a{padding:11px 16px;font-size:12.5px;font-weight:600;color:#647c95;border-bottom:2px solid transparent;margin-bottom:-1px}
.reference-tabs a.active{color:#2170c7;border-bottom-color:#2170c7}
.reference-panel{padding:24px 26px}
.reference-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;align-items:end;margin-bottom:22px;padding-bottom:22px;border-bottom:1px solid #edf2f7}
.reference-form label{display:grid;gap:7px;font-size:12.5px;font-weight:500;color:#324a60}
.reference-form input,.reference-form select{border:1px solid #d8e4ef;border-radius:9px;padding:10px 12px;font:inherit;font-size:13px;background:#f8fbfd;color:#12283c}
.reference-form input:focus,.reference-form select:focus{outline:2px solid #2185d4;outline-offset:1px}
.reference-form .wide-field{grid-column:1/-1}
.reference-form button{white-space:nowrap;height:41px}
.plain-button{border:0;background:transparent;color:#2170c7;padding:6px 10px;font-size:12px;font-weight:600;cursor:pointer}
.plain-button.danger{color:#d94f4f}
.status-pill{display:inline-block;padding:4px 11px;border-radius:20px;font-size:11px;font-weight:600;background:#eef5fc;color:#2d6fb5;white-space:nowrap}
.status-pill.delayed{background:#fdecec;color:#b3312e}
.status-pill.active-ok{background:#ecfdf5;color:#047857}
.status-pill.inactive{background:#fdecec;color:#b3312e}
.muted-note{color:#8a97a6;font-size:12px}
.occ-kpis{grid-template-columns:repeat(5,1fr)}
@media(max-width:850px){.occ-kpis{grid-template-columns:repeat(2,1fr)}}

/* Basic-data management pages: search + collapsible add form + a clean table (matches the reference screens). */
.mgmt-panel{padding:22px 24px}
.mgmt-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:20px;flex-wrap:wrap}
.mgmt-search{display:flex;align-items:center;gap:10px;flex:1;min-width:220px;max-width:420px;padding:10px 14px;border:1px solid #d8e4ef;border-radius:10px;background:#f8fbfd;color:#7389a0}
.mgmt-search span{font-size:16px;color:#4d7fac}
.mgmt-search input{border:0;background:transparent;font:inherit;font-size:13px;color:#12283c;width:100%;outline:none}
.mgmt-add{position:relative}
.mgmt-add summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:6px;padding:10px 16px;border-radius:9px;background:#2170c7;color:#fff;font-size:13px;font-weight:600;white-space:nowrap}
.mgmt-add summary::-webkit-details-marker{display:none}
.mgmt-add[open] summary{background:#184f8f}
.mgmt-add .reference-form{position:absolute;inset-inline-end:0;top:calc(100% + 8px);z-index:5;width:min(520px,90vw);max-height:min(560px,80vh);overflow-y:auto;background:#fff;border:1px solid #e2e9f0;border-radius:14px;box-shadow:0 12px 30px rgba(24,65,101,.14);padding:18px;margin:0}
.mgmt-add.wide .reference-form{width:min(680px,92vw)}
.reference-form h3{grid-column:1/-1;font-size:10.5px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:#4d7fac;margin:14px 0 -4px;padding-top:14px;border-top:1px solid #edf2f7}
.reference-form h3:first-child{margin-top:0;padding-top:0;border-top:0}
.icao-tag{display:inline-block;margin-inline-start:6px;font-size:10px;font-weight:700;color:#7c93aa;background:#f1f6fb;padding:2px 6px;border-radius:6px}
.mgmt-add-link{display:inline-flex;align-items:center;gap:6px;padding:10px 16px;border-radius:9px;background:#2170c7;color:#fff;font-size:13px;font-weight:600;white-space:nowrap}
.row-actions{display:flex;gap:6px;justify-content:flex-end}
.icon-btn{width:30px;height:30px;display:inline-grid;place-items:center;border-radius:8px;border:1px solid #e2e9f0;background:#f8fbfd;color:#2170c7;font-size:14px;cursor:pointer;text-decoration:none}
.icon-svg{width:16px;height:16px;display:block}
.badge-icon{width:19px;height:19px;display:block}
.badge-icon-lg{width:27px;height:27px;display:block}
.icon-btn:hover{background:#eaf4ff;border-color:#cfe0f2}
.icon-btn.danger{color:#d94f4f}
.icon-btn.danger:hover{background:#fdecec;border-color:#f7cccc}
.table-wrap th:last-child,.table-wrap td:last-child{width:1%;white-space:nowrap}
.reference-form.full-page{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));border-bottom:0;padding-bottom:0;margin-bottom:0}
.form-actions-row{display:flex;align-items:center;gap:14px;margin-top:6px}

/* Add/edit pages: a real two-column layout (fields + a sticky actions/help rail), matching a proper admin form instead of a narrow floating card. */
.form-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}
.form-fields{padding:28px 30px}
.form-side{display:flex;flex-direction:column;gap:16px;position:sticky;top:20px}
.side-panel{padding:20px 22px}
.side-panel h3{display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:700;letter-spacing:.3px;text-transform:uppercase;color:#12283c;margin:0 0 16px}
.side-panel h3 svg{color:#2170c7}
.side-save{width:100%;padding:12px;border-radius:10px;background:#2170c7;color:#fff;font-weight:700;font-size:13px;border:0;cursor:pointer}
.side-save:hover{background:#184f8f}
.side-cancel{display:block;text-align:center;margin-top:10px;font-size:12.5px;color:#647c95;padding:8px;border-radius:8px}
.side-cancel:hover{background:#f1f6fb}
.help-panel ul{list-style:none;margin:0;padding:0;display:grid;gap:13px}
.help-panel li{display:flex;gap:9px;align-items:flex-start;font-size:12px;line-height:1.7;color:#4d5f72}
.help-panel li svg{color:#8fb6da;flex:0 0 auto;margin-top:1px}
.flight-summary{display:flex;flex-wrap:wrap;gap:22px;padding:14px 16px;background:#f8fbfd;border:1px solid #e2e9f0;border-radius:10px;margin-bottom:4px}
.flight-summary span{display:flex;flex-direction:column;gap:3px;font-size:12.5px;color:#12283c}
.flight-summary b{font-size:10px;font-weight:600;color:#7c93aa;text-transform:uppercase;letter-spacing:.4px}
.field-hint{font-size:11px;color:#7c93aa;margin:-6px 0 6px}
@media(max-width:900px){.form-layout{grid-template-columns:1fr}.form-side{position:static}}
.mgmt-add .notice{position:absolute;inset-inline-end:0;top:calc(100% + 8px);z-index:5;width:min(420px,90vw)}
.table-wrap table{font-size:13px}
.table-wrap th{font-size:10.5px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;color:#8095ab;padding:12px 16px}
.table-wrap td{padding:14px 16px;color:#12283c}
.table-wrap tbody tr:hover{background:#f8fbfd}
@media(max-width:600px){.mgmt-toolbar{flex-direction:column;align-items:stretch}.mgmt-search{max-width:none}.mgmt-add .reference-form{inset-inline-start:0;inset-inline-end:0;width:auto}}

.reference-form label.check-field{display:flex;align-items:center;gap:8px;align-self:center}
.reference-form label.check-field input{width:auto;padding:0;accent-color:#0d2238}
