.cupps-shell{--ink:#10243e;--muted:#6b7c93;--line:#dce5ef;--brand:#155eef;--navy:#071a33;--good:#0b8f65;--bad:#c63f4b;display:grid;gap:18px;color:var(--ink);padding:4px 0 28px}.cupps-hero,.cupps-page-head{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:26px 28px;border-radius:20px;background:linear-gradient(125deg,#071a33,#10345d 63%,#155eef);color:#fff;box-shadow:0 16px 38px #0d2c5524}.cupps-hero h1,.cupps-page-head h1{margin:6px 0;font-size:clamp(25px,3vw,38px)}.cupps-hero p,.cupps-page-head p{margin:0;opacity:.8;max-width:760px}.eyebrow{font-size:11px;letter-spacing:.14em;font-weight:800;opacity:.68}.hero-actions{display:flex;gap:9px}.cupps-shell button,.cupps-shell a.primary{border:1px solid #ffffff3b;background:#ffffff12;color:inherit;border-radius:11px;padding:10px 15px;font:inherit;font-weight:800;cursor:pointer;text-decoration:none}.cupps-shell .primary{background:var(--brand)!important;color:#fff!important;border-color:transparent!important}.cupps-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.cupps-kpis article{padding:17px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 8px 22px #1733520a;display:grid;gap:3px}.cupps-kpis span{color:var(--muted);font-size:12px}.cupps-kpis strong{font-size:29px}.cupps-kpis small{color:#8b99aa}.cupps-kpis article.good strong{color:var(--good)}.cupps-kpis article.danger strong{color:var(--bad)}.cupps-grid.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.cupps-grid.cards a{display:grid;gap:7px;min-height:118px;padding:20px;border:1px solid var(--line);border-radius:16px;background:#fff;color:var(--ink);text-decoration:none;transition:.18s}.cupps-grid.cards a:hover{transform:translateY(-2px);border-color:#9dbdfb;box-shadow:0 12px 28px #13345713}.cupps-grid.cards b{font-size:17px}.cupps-grid.cards span{color:var(--muted);line-height:1.8}.cupps-panel,.cupps-form{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}.cupps-panel{padding:0}.panel-head{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid var(--line)}.panel-head h2{margin:0;font-size:17px}.panel-head span{color:var(--muted);font-size:12px}.cupps-table{width:100%;border-collapse:collapse;font-size:13px}.cupps-table th,.cupps-table td{padding:12px 14px;border-bottom:1px solid #edf1f5;text-align:right;vertical-align:middle}.cupps-table th{background:#f7f9fc;color:#607188;font-size:11px;font-weight:800}.cupps-table tr:hover td{background:#fbfdff}.pill{display:inline-block;padding:4px 8px;border-radius:999px;background:#edf3fb;color:#3e526b;font-size:11px;font-weight:800}.pill.online,.pill.ready{background:#e5f7f0;color:#087551}.pill.offline,.pill.fault{background:#fff0f1;color:#a72d39}.cupps-split{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px;align-items:start}.cupps-form{padding:19px;display:grid;gap:12px;position:sticky;top:15px}.cupps-form h2{margin:0 0 4px}.cupps-form label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#53647a}.cupps-form input,.cupps-form select{width:100%;box-sizing:border-box;border:1px solid #cfd9e6;border-radius:9px;padding:10px 11px;background:#fff;color:#14263e;font:inherit}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px}.form-message{padding:9px 11px;border-radius:9px;background:#eef5ff;color:#164d9f;margin:0}.operation-board{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:11px}.resource-tile{border:1px solid var(--line);border-top:4px solid #9aa9b9;border-radius:14px;background:#fff;padding:14px;min-height:132px;box-shadow:0 6px 18px #203c5909}.resource-tile.online{border-top-color:#13a477}.resource-tile.offline{border-top-color:#d24d57}.tile-top{display:flex;justify-content:space-between;color:var(--muted);font-size:11px}.resource-tile h3{font-size:17px;margin:16px 0 3px}.resource-tile p{margin:0;color:var(--muted)}.resource-tile footer{display:flex;align-items:center;gap:6px;margin-top:14px;font-size:11px}.status-dot{width:7px;height:7px;border-radius:50%;background:#95a2b1}.online .status-dot{background:#13a477}.offline .status-dot{background:#d24d57}.event-list{display:grid}.event-row{display:grid;grid-template-columns:75px 1fr auto;gap:13px;align-items:center;padding:12px 17px;border-bottom:1px solid #edf1f5}.event-row p{margin:3px 0 0;color:var(--muted)}.event-row time{direction:ltr;color:#8290a2;font-size:11px}.sev{font-size:10px;font-weight:900;text-transform:uppercase}.sev.critical,.sev.error{color:#b52d3a}.sev.warning{color:#a66a00}.device-grid,.integration-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;padding:14px}.device-grid article,.integration-grid article{border:1px solid var(--line);border-radius:13px;padding:15px;background:#fff;display:grid;gap:6px}.device-grid header{display:flex;justify-content:space-between}.device-grid h3,.device-grid p,.integration-grid h2,.integration-grid p{margin:0}.device-grid small,.integration-grid p{color:var(--muted)}.device-grid em{font-style:normal;color:var(--bad);font-size:11px}.integration-grid{padding:0}.integration-grid article>span{font-size:10px;font-weight:900;color:var(--brand);letter-spacing:.1em}.integration-grid strong{font-size:11px;color:var(--good)}.architecture{padding:20px}.architecture pre{padding:18px;border-radius:12px;background:#071a33;color:#cce0ff;overflow:auto}.url-cell{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cupps-alert{padding:12px 15px;background:#fff0f1;border:1px solid #ffd0d4;color:#9e2632;border-radius:11px}@media(max-width:1200px){.cupps-kpis{grid-template-columns:repeat(3,1fr)}}@media(max-width:900px){.cupps-hero,.cupps-page-head{align-items:flex-start;flex-direction:column}.cupps-grid.cards{grid-template-columns:1fr 1fr}.cupps-split{grid-template-columns:1fr}.cupps-form{position:static}.cupps-table{min-width:760px}.cupps-panel{overflow:auto}}@media(max-width:620px){.cupps-kpis,.cupps-grid.cards{grid-template-columns:1fr}.two-fields{grid-template-columns:1fr}}


.cupps-feature-nav{display:flex;gap:.55rem;flex-wrap:wrap;margin:0 0 1.25rem;padding:.6rem;border:1px solid var(--border-color,#dfe5ef);border-radius:16px;background:var(--surface,#fff)}
.cupps-feature-nav a{padding:.65rem .9rem;border-radius:11px;color:inherit;text-decoration:none;font-size:.9rem;transition:.18s ease}
.cupps-feature-nav a:hover{background:#eef3ff;color:#274fc7}
.cupps-feature-nav a.active{background:#3157d5;color:#fff;box-shadow:0 6px 18px rgba(49,87,213,.22)}
@media(max-width:720px){.cupps-feature-nav{display:grid;grid-template-columns:1fr 1fr}.cupps-feature-nav a{text-align:center}.cupps-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Consistent header actions, table workspaces and contextual help */
.cupps-page-head .hero-actions{align-items:stretch;flex-wrap:wrap}
.cupps-page-head .hero-actions>a,.cupps-page-head .hero-actions>button{min-height:42px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;line-height:1.2}
.cupps-page-help{display:flex;justify-content:center;padding:12px 0 2px}.cupps-help-button{background:#fff!important;color:var(--brand)!important;border:1px solid #b9cdf8!important;min-width:170px}
.cupps-modal-backdrop{position:fixed;inset:0;z-index:1300;background:rgba(4,17,38,.58);display:grid;place-items:center;padding:18px;backdrop-filter:blur(3px)}
.cupps-help-dialog{width:min(620px,100%);max-height:88vh;overflow:auto;background:#fff;color:var(--ink);border-radius:18px;box-shadow:0 28px 80px rgba(0,0,0,.28)}
.cupps-help-dialog>header,.cupps-help-dialog>footer{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--line)}.cupps-help-dialog>footer{border:0;border-top:1px solid var(--line);justify-content:flex-end}
.cupps-help-dialog h2{margin:4px 0 0}.cupps-help-dialog>p{padding:0 22px;color:var(--muted);line-height:1.9}.cupps-help-dialog ol{margin:0;padding:8px 42px 22px 22px;display:grid;gap:12px;line-height:1.9}
.cupps-master-groups{display:grid;gap:10px}.cupps-tab-group{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:#fff}.cupps-tab-group>strong{font-size:12px;color:var(--muted);margin-left:5px}.cupps-tab{background:#f4f7fb!important;color:#42536a!important;border-color:transparent!important}.cupps-tab.active{background:var(--brand)!important;color:#fff!important}
.cupps-commandbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:#fff}.cupps-commandbar>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.cupps-search{min-width:260px;border:1px solid #ccd7e5;border-radius:10px;padding:10px 12px;font:inherit}
.cupps-grid-wrap{overflow:auto}.cupps-grid{width:100%;border-collapse:collapse;background:#fff}.cupps-grid th,.cupps-grid td{padding:12px 14px;border-bottom:1px solid #e9eef4;text-align:right;white-space:nowrap}.cupps-grid th{font-size:11px;color:#63758c;background:#f7f9fc}.cupps-grid td.actions{display:flex;gap:6px}.cupps-grid td.actions button{padding:6px 9px;color:#30445e;background:#fff;border-color:#d8e1ec}.cupps-grid td.actions .danger-action{color:#a82d3a;border-color:#f0c7cb}
.cupps-editor{padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff}.cupps-editor h2{margin:0 0 14px}.cupps-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cupps-form-grid label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#53647a}.cupps-form-grid input,.cupps-form-grid select,.cupps-form-grid textarea{width:100%;box-sizing:border-box;padding:10px;border:1px solid #ccd7e5;border-radius:9px;font:inherit}.cupps-form-grid button{align-self:end}.cupps-report-tabs{display:flex;gap:8px;flex-wrap:wrap}.cupps-report-tabs button{background:#fff!important;color:var(--ink)!important;border-color:var(--line)!important}.cupps-report-tabs button.active{background:var(--brand)!important;color:#fff!important}
@media(max-width:760px){.cupps-commandbar{align-items:stretch;flex-direction:column}.cupps-search{min-width:0;width:100%}.cupps-form-grid{grid-template-columns:1fr}.cupps-tab-group{align-items:stretch}.cupps-tab-group>strong{width:100%}}


/* Unified master-data, expert workspace and footer actions */
.cupps-tab-card{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 8px 22px #1733520a}
.cupps-tab-caption{color:var(--muted);font-size:11px;font-weight:900;margin-inline:4px}
.cupps-tab-separator{width:1px;align-self:stretch;min-height:30px;background:var(--line);margin-inline:3px}
.cupps-tab-card .cupps-tab{min-height:38px;padding:7px 12px}
.cupps-modal{width:min(980px,100%);max-height:92vh;overflow:auto;background:#fff;color:var(--ink);border-radius:18px;box-shadow:0 28px 80px rgba(0,0,0,.28)}
.cupps-modal.wide{width:min(1120px,100%)}
.cupps-modal>header,.cupps-modal>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;border-bottom:1px solid var(--line)}
.cupps-modal>header h2{margin:0}.cupps-modal>footer{border:0;border-top:1px solid var(--line);justify-content:flex-end}
.cupps-modal .cupps-form-grid{padding:18px 20px}
.cupps-form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.cupps-form-grid .span-2{grid-column:span 2}.cupps-form-grid .span-3{grid-column:1/-1}
.cupps-form-grid textarea{min-height:92px;resize:vertical}
.inline-select{display:flex;align-items:center;gap:8px;margin-inline-start:auto;color:var(--muted);font-size:12px;font-weight:800}.inline-select select{width:auto;min-width:135px}
.master-image{width:42px;height:42px;border-radius:10px;object-fit:cover;background:#eef3fa;display:grid;place-items:center;color:#65758b;font-weight:900}
.description-cell{max-width:260px;overflow:hidden;text-overflow:ellipsis}
.image-editor{display:grid;grid-template-columns:88px 1fr;align-items:center;gap:12px}.image-editor img{width:88px;height:74px;border-radius:12px;object-fit:cover;background:#eef3fa}
.table-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border-top:1px solid var(--line);background:#fbfcfe}
.table-pager>div{display:flex;align-items:center;gap:7px}.table-pager select{width:auto;min-width:75px}
.table-pager button{min-width:38px;padding:7px 10px;color:var(--ink);background:#fff;border-color:var(--line)}
.ahp-explainer{padding:14px 17px;border:1px solid #cfe0ff;border-radius:13px;background:#f1f6ff;color:#294e87;line-height:1.9}
.weight-bar{position:relative;min-width:180px;height:26px;border-radius:8px;background:#edf2f8;overflow:hidden}.weight-bar i{position:absolute;inset-block:0;right:0;background:linear-gradient(90deg,#3f6ee8,#155eef)}.weight-bar span{position:relative;z-index:1;display:grid;place-items:center;height:100%;font-size:11px;font-weight:900;color:#10243e}
.cupps-page-help{height:0;position:relative;z-index:5;padding:0}
.cupps-shell .cupps-help-button{position:absolute;left:0;bottom:-49px;width:38px;min-width:38px;min-height:38px;height:38px;padding:0!important;border:0!important;border-radius:50%;background:transparent!important;color:#8b95a8!important;box-shadow:none!important;font-size:19px;line-height:1;transform:none!important;transition:color .18s ease,background .18s ease}
.cupps-shell .cupps-help-button:hover{color:var(--navy)!important;background:rgba(7,26,51,.06)!important;box-shadow:none!important;transform:none!important}
@media(max-width:760px){.cupps-tab-separator{display:none}.cupps-tab-caption{width:100%;margin-top:4px}.cupps-tab-card .cupps-tab{flex:1}.cupps-form-grid.three{grid-template-columns:1fr}.cupps-form-grid .span-2,.cupps-form-grid .span-3{grid-column:auto}.image-editor{grid-template-columns:1fr}.table-pager{align-items:stretch;flex-direction:column}.inline-select{width:100%;justify-content:space-between;margin:6px 0 0}.inline-select select{flex:1}}


/* CUPPS UI polish v3 */
.cupps-pager{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 18px;border-top:1px solid var(--line);background:#fbfcfe}
.pager-summary,.pager-actions,.pager-actions label{display:flex;align-items:center;gap:8px}.pager-summary strong{font-size:15px}.pager-summary span,.pager-actions label span{font-size:12px;color:var(--muted)}
.pager-actions select{width:112px;min-height:36px;padding:6px 10px}.pager-actions button{width:36px;min-width:36px;min-height:36px;height:36px;padding:0;background:#fff!important;color:var(--ink)!important;border:1px solid var(--line)!important}
.pager-current{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--navy);color:#fff;font-weight:900}
.row-number{width:58px;text-align:center!important;color:#718096!important;font-variant-numeric:tabular-nums}
.cupps-grid td.actions{white-space:nowrap}.cupps-grid td small{display:block;color:var(--muted);margin-top:2px}
.cupps-modal{overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.cupps-modal-body{overflow:auto;padding:0}.cupps-master-modal{width:min(980px,calc(100vw - 32px));max-height:min(780px,calc(100vh - 32px))}
.master-editor-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr);gap:18px;padding:20px;background:#f7f9fc}.master-editor-fields{display:grid;align-content:start;gap:14px}
.cupps-form-section-card{padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff}.cupps-form-section-card h3{margin:0 0 16px;font-size:15px}.cupps-form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.modal-toggle{display:flex!important;align-items:center;justify-content:space-between;gap:18px;min-height:70px;padding:12px 16px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink)!important}.modal-toggle span{display:grid;gap:2px}.modal-toggle small{color:var(--muted);font-weight:500}.modal-toggle input{width:20px!important;height:20px;min-height:20px!important;flex:none}
.multi-image-editor{align-self:start;padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff}.multi-image-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.multi-image-head>div{display:grid}.multi-image-head small{color:var(--muted);font-size:10px}
.image-upload-button{position:relative;overflow:hidden;display:inline-flex;align-items:center;min-height:36px;padding:7px 11px;border-radius:9px;background:#eef4ff;color:var(--brand);font-size:11px;font-weight:900;cursor:pointer}.image-upload-button input{position:absolute;inset:0;opacity:0;cursor:pointer}
.image-empty{display:grid;place-items:center;min-height:150px;margin-top:14px;border:1px dashed #cbd7e6;border-radius:12px;color:var(--muted);font-size:12px;background:#fafcff}
.image-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:14px}.image-gallery figure{position:relative;margin:0;aspect-ratio:4/3;border-radius:11px;overflow:hidden;background:#eef2f7}.image-gallery img{width:100%;height:100%;object-fit:cover}.image-gallery button{position:absolute;top:6px;left:6px;width:28px;min-width:28px;min-height:28px;height:28px;padding:0;border:0!important;border-radius:50%;background:rgba(12,24,45,.78)!important;color:#fff!important}
.scale-guide-static{grid-column:1/-1;display:grid;gap:5px;padding:13px 15px;border:1px solid #cfe0ff;border-radius:12px;background:#f3f7ff;color:#294e87}.scale-guide-static span{font-size:12px;line-height:1.8}
.dashboard-manage-footer,.cupps-page-help{height:48px!important;position:relative;z-index:5}
.dashboard-manage-button,.cupps-shell .cupps-help-button{left:0!important;bottom:5px!important}
.cupps-shell .cupps-help-button{font-size:0!important}.cupps-shell .cupps-help-button span{font-size:19px}
.flight-kpis,.integration-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.compact-tabs{justify-content:flex-start}.flight-commandbar>div{display:flex;align-items:end;gap:10px}.date-filter{display:grid;gap:4px;color:var(--muted);font-size:11px}.date-filter input{min-width:160px}
.cupps-operation-modal,.integration-modal{width:min(980px,calc(100vw - 32px));max-height:min(820px,calc(100vh - 32px))}.cupps-operation-modal .cupps-form-grid,.integration-modal .cupps-form-grid{padding:20px}
.integration-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.integration-status-card{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:12px;padding:16px;border:1px solid var(--line);border-right:4px solid #91a0b3;border-radius:14px;background:#fff}.integration-status-card.connected{border-right-color:var(--good)}.integration-status-card.degraded{border-right-color:#d58a18}.integration-status-card h3,.integration-status-card p{margin:0}.integration-status-card p{color:var(--muted);font-size:11px}.integration-status-card>strong{font-size:11px}.integration-card-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#edf3ff;color:var(--brand);font-size:20px}.integration-state{display:inline-flex;padding:4px 9px;border-radius:999px;background:#fff0f1;color:#a72d39;font-size:11px;font-weight:900}.integration-state.connected{background:#e5f7f0;color:#087551}.integration-state.degraded{background:#fff6df;color:#956000}
.integration-architecture{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:12px;padding:18px;border-radius:16px;background:linear-gradient(125deg,#071a33,#10345d);color:#fff}.integration-architecture div{display:grid;gap:3px;text-align:center}.integration-architecture span{font-size:11px;opacity:.68}.integration-architecture i{font-style:normal;opacity:.55;font-size:24px}
@media(max-width:900px){.master-editor-layout{grid-template-columns:1fr}.flight-kpis,.integration-kpis{grid-template-columns:repeat(2,1fr)}.integration-status-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.cupps-pager,.pager-actions{align-items:stretch;flex-direction:column}.pager-actions label{justify-content:space-between}.cupps-form-grid.two{grid-template-columns:1fr}.flight-commandbar>div{align-items:stretch;flex-direction:column}.integration-status-grid{grid-template-columns:1fr}.integration-architecture{grid-template-columns:1fr}.integration-architecture i{transform:rotate(-90deg)}}


/* Unified form, page-help, Smart and Settings standard */
.page-footer-action{height:48px;position:relative;z-index:5;margin-top:4px}
.cupps-help-button,.cupps-shell .cupps-help-button{position:absolute;left:0;bottom:5px;width:38px;min-width:38px;min-height:38px;height:38px;padding:0!important;border:0!important;border-radius:50%;background:transparent!important;color:#8b95a8!important;box-shadow:none!important;line-height:1;transform:none!important;transition:color .18s ease,background .18s ease}
.cupps-help-button:hover,.cupps-shell .cupps-help-button:hover{color:var(--navy)!important;background:rgba(7,26,51,.07)!important;border:0!important;box-shadow:none!important;transform:none!important}.help-icon{font-size:19px;font-weight:900}
.master-editor-aside{display:grid;align-content:start;gap:12px}.record-summary-card,.aircraft-type-preview{display:grid;gap:5px;padding:18px;border-radius:14px;background:linear-gradient(145deg,#071a33,#123d6b);color:#fff;box-shadow:0 14px 30px rgba(7,26,51,.18)}.record-summary-card span,.record-summary-card small,.aircraft-type-preview span,.aircraft-type-preview small{opacity:.68}.record-summary-card b,.aircraft-type-preview strong{font-size:18px}
.single-image-editor{display:grid;gap:13px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff}.single-image-editor>div:first-child{display:grid}.single-image-editor small{font-size:10px;color:var(--muted)}.single-image-editor figure{position:relative;margin:0;aspect-ratio:4/3;overflow:hidden;border-radius:12px;background:#eef3f8}.single-image-editor figure img{width:100%;height:100%;object-fit:cover}.single-image-editor figure button{position:absolute;top:7px;left:7px;width:29px;min-width:29px;min-height:29px;height:29px;padding:0;border:0!important;border-radius:50%;background:rgba(7,26,51,.8)!important;color:#fff!important}.single-image-empty{display:grid!important;place-items:center;min-height:170px;border:1px dashed #cbd7e6;border-radius:12px;background:#fafcff;color:var(--muted);font-size:12px}
.aircraft-type-preview{align-self:start;gap:9px}.aircraft-type-preview b{font-weight:500;opacity:.75}.aircraft-type-preview div{display:flex;align-items:center;justify-content:space-between;padding-top:10px;border-top:1px solid rgba(255,255,255,.14)}.aircraft-type-preview em{font-style:normal;font-size:20px;font-weight:900}
.assignment-table-tools{display:flex!important;align-items:center!important;gap:9px!important;flex:1}.assignment-table-tools .cupps-search{width:min(440px,100%)}
.smart-workspace{display:grid;gap:16px}.smart-control-card{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:20px 22px;border:1px solid #d8e3f3;border-radius:17px;background:linear-gradient(115deg,#fff,#f4f8ff);box-shadow:0 10px 28px rgba(15,44,85,.07)}.smart-control-card h2,.smart-control-card p{margin:0}.smart-control-card p{color:var(--muted);font-size:12px}.smart-control-card>div:last-child{display:flex;align-items:center;gap:9px}.smart-control-card select{min-width:220px}
.smart-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.smart-metric-grid article{display:flex;align-items:center;gap:13px;padding:17px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 7px 20px rgba(17,42,76,.05)}.smart-metric-grid i{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;font-style:normal;font-size:20px;font-weight:900}.smart-metric-grid article>div{display:grid}.smart-metric-grid span,.smart-metric-grid small{color:var(--muted);font-size:11px}.smart-metric-grid strong{font-size:25px}.smart-metric-grid .blue i{background:#eaf1ff;color:#155eef}.smart-metric-grid .violet i{background:#f0ebff;color:#714bd7}.smart-metric-grid .red i{background:#fff0f1;color:#c63f4b}.smart-metric-grid .green i{background:#e5f7f0;color:#0b8f65}
.smart-two-column{display:grid;grid-template-columns:1.2fr .8fr;gap:16px}.smart-panel .panel-head>div{display:grid;gap:2px}.smart-panel .panel-head h2{margin:0}.shortage,.no-shortage{display:inline-grid;place-items:center;min-width:28px;height:25px;border-radius:7px;font-weight:900}.shortage{background:#fff0f1;color:#c63f4b}.no-shortage{background:#e5f7f0;color:#087551}
.simulation-card{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff}.simulation-card>header{padding:16px 19px;border-bottom:1px solid var(--line)}.simulation-card h2{margin:0}.simulation-card>.cupps-form-grid{padding:18px}.simulation-results{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:0 18px 18px}.simulation-results>div{display:grid;gap:4px;padding:13px;border-radius:12px;background:#f5f8fc}.simulation-results span{color:var(--muted);font-size:11px}.simulation-results b{font-size:18px}.simulation-results p{grid-column:1/-1;margin:0;padding:13px;border-radius:11px;background:#eef5ff;color:#214b89}
.settings-workspace{display:grid;grid-template-columns:1fr 1fr;gap:16px}.settings-card{overflow:hidden;display:grid;grid-template-rows:auto 1fr auto;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(17,42,76,.05)}.settings-card>header{padding:17px 19px;border-bottom:1px solid var(--line);background:#fbfcfe}.settings-card h2{margin:0}.settings-card-body{padding:19px}.settings-card-body .cupps-form-grid{gap:15px}.settings-card-body label{gap:7px}.settings-card>footer{display:flex;justify-content:flex-end;padding:14px 19px;border-top:1px solid var(--line);background:#fbfcfe}.settings-table{grid-column:1/-1}.settings-table-head{gap:18px}.settings-table-head .cupps-search{width:min(360px,100%)}
@media(max-width:1050px){.smart-two-column{grid-template-columns:1fr}.smart-metric-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.smart-control-card{align-items:stretch;flex-direction:column}.smart-control-card>div:last-child{align-items:stretch;flex-direction:column}.smart-control-card select{min-width:0}.settings-workspace{grid-template-columns:1fr}.settings-table{grid-column:auto}.settings-table-head{align-items:stretch;flex-direction:column}.simulation-results{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.smart-metric-grid,.simulation-results{grid-template-columns:1fr}.assignment-table-tools{align-items:stretch!important;flex-direction:column}.master-editor-layout{padding:12px}.cupps-form-section-card{padding:14px}}


/* Persisted expert results, table footer and data-quality layout */
.cupps-modal-alert{display:grid;gap:3px;margin:14px 18px 0}.cupps-modal-alert b{font-size:12px}.cupps-modal-alert span{font-size:11px}
.cupps-table-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 16px 12px;border-top:1px solid var(--line)}.cupps-table-footer .cupps-pager{flex:1;border-top:0;padding-inline:0}.table-record-count{flex:0 0 auto;padding:7px 11px;border-radius:999px;background:#eef3fa;color:var(--muted);font-size:11px;font-weight:800}
.score-results-panel{border-color:#cbdcf6;box-shadow:0 10px 28px rgba(34,82,153,.08)}.score-results-panel>.panel-head>div{display:grid;gap:3px}.score-results-panel>.panel-head h2{margin:0}.score-results-panel>.panel-head small{color:var(--muted);font-size:10px}.final-score{display:flex;align-items:baseline;gap:4px}.final-score strong{font-size:19px;color:#155eef}.final-score span{color:var(--muted);font-size:10px}
.data-quality-kpis{margin-bottom:0}.data-quality-layout{display:grid;grid-template-columns:minmax(300px,.78fr) minmax(0,1.22fr);gap:16px}.quality-insight-card,.quality-report-card{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(17,42,76,.06)}.quality-insight-card>header,.quality-report-card>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 19px;border-bottom:1px solid var(--line);background:#fbfcfe}.quality-insight-card h2,.quality-report-card h2{margin:0}.quality-insight-card>header>strong{font-size:27px;color:#155eef}.quality-card-body{display:grid;gap:16px;padding:19px}.quality-card-body progress{width:100%;height:10px;overflow:hidden;border:0;border-radius:99px;accent-color:#155eef}.quality-card-body p{margin:0;color:var(--muted);font-size:12px;line-height:1.9}.quality-factor-list{display:grid;border:1px solid var(--line);border-radius:12px}.quality-factor-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px}.quality-factor-list>div+div{border-top:1px solid var(--line)}.quality-factor-list span{font-size:11px}.quality-factor-list b{font-size:10px}.quality-factor-list .ok{color:#087551}.quality-factor-list .warn{color:#bd3d48}.quality-report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:19px}.quality-report-grid article{display:grid;align-content:center;min-height:105px;padding:15px;border:1px solid #e1e8f2;border-radius:13px;background:linear-gradient(145deg,#fff,#f7faff)}.quality-report-grid span,.quality-report-grid small{color:var(--muted);font-size:10px}.quality-report-grid strong{margin-top:6px;font-size:23px;color:var(--navy)}
@media(max-width:960px){.data-quality-layout{grid-template-columns:1fr}.quality-report-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.cupps-table-footer{align-items:stretch;flex-direction:column}.table-record-count{align-self:flex-start}.quality-report-grid{grid-template-columns:1fr}}


/* Unified flight operations and resource allocation */
.flight-workspace-tabs{position:sticky;top:8px;z-index:4}
.flight-allocation-workspace{display:grid;gap:16px}
.cupps-allocation-modal{width:min(960px,calc(100vw - 32px))}
.allocation-form-stack{display:grid;gap:14px}
.selected-flight-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px;border:1px solid #dbe6f4;border-radius:12px;background:#f7faff}
.selected-flight-summary>div{display:grid;gap:4px;padding:9px 11px;border-radius:9px;background:#fff}
.selected-flight-summary span{color:var(--muted);font-size:10px}
.selected-flight-summary b{font-size:12px;color:var(--navy)}
@media(max-width:720px){.selected-flight-summary{grid-template-columns:1fr}.cupps-allocation-modal{width:min(100% - 16px,960px)}}


/* CUPPS information architecture 1.8 */
.infrastructure-kpis article small{display:block;margin-top:5px;color:var(--muted);font-size:9px;font-weight:600}
.connection-health-note{display:grid;gap:4px;padding:13px 15px;border:1px solid #d8e4f2;border-radius:12px;background:#f7faff}
.connection-health-note b{font-size:11px;color:var(--navy)}.connection-health-note span{font-size:10px;color:var(--muted)}
.smart-readiness-strip{display:grid;grid-template-columns:minmax(230px,.45fr) minmax(0,1fr);gap:18px;padding:16px 18px;border:1px solid #dbe5f1;border-radius:15px;background:#fff}
.smart-readiness-strip.needs-attention{border-color:#f1d2a5;background:linear-gradient(135deg,#fffaf2,#fff)}
.smart-readiness-strip.ready{border-color:#bfe7d9;background:linear-gradient(135deg,#f4fcf8,#fff)}
.smart-readiness-strip header{display:grid;align-content:center;gap:9px}.smart-readiness-strip header>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
.smart-readiness-strip header span{font-size:11px;font-weight:800;color:var(--navy)}.smart-readiness-strip header b{font-size:20px;color:#155eef}
.smart-readiness-strip progress{width:100%;height:8px;border:0;border-radius:99px;accent-color:#155eef}
.readiness-issues{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.readiness-issues a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px;border:1px solid #e1e8f2;border-radius:11px;background:#fff;color:var(--ink);text-decoration:none;transition:.18s}
.readiness-issues a:hover{border-color:#155eef;box-shadow:0 6px 16px rgba(21,94,239,.1)}.readiness-issues a span{font-size:10px}.readiness-issues a strong{font-size:17px;color:#c06b12}
.readiness-issues p{grid-column:1/-1;align-self:center;margin:0;color:#087551;font-size:11px;font-weight:800}
@media(max-width:850px){.smart-readiness-strip{grid-template-columns:1fr}.readiness-issues{grid-template-columns:1fr}}
