﻿[hidden]{display:none!important}.topbar nav{gap:2px;margin-left:10px}.topbar nav button{padding:9px 10px}.topbar nav button.active{background:#ffffff16;color:white;border-bottom-color:#e51b35}.flight-data-panel{margin-bottom:18px;scroll-margin-top:16px}.flight-data-panel>.panel-heading{border-bottom:1px solid var(--line);padding:16px 20px}.flight-data-panel>.panel-heading button{font-size:11px}#flight-data-body{padding:18px 20px}.flight-fields{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px 16px}.flight-fields label{min-width:0}.flight-data-panel .form-section{margin:18px 0 12px}.flight-details{border-top:1px solid var(--line);padding:12px 0;margin-top:16px}.flight-details summary{cursor:pointer;font-size:12px;font-weight:600}.flight-details .flight-fields{margin:14px 0}.flight-details p{font-size:11px;margin:10px 0}.flight-form-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.flight-form-footer>span,#aircraft-status{font-size:11px;color:var(--muted)}.aircraft-settings-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:20px;align-items:start}.fleet-list{padding:0 12px 14px;display:grid;gap:7px}.fleet-option{display:flex;justify-content:space-between;align-items:center;text-align:left;gap:8px;padding:13px}.fleet-option small{font-size:10px;font-weight:400}.fleet-option.active{background:#fff2f4;color:#c92037;border-color:#efb4bd}.aircraft-editor .panel-heading{border-bottom:1px solid var(--line)}.aircraft-editor .panel-heading p{font-size:11px;margin-top:5px}.aircraft-tabs{display:flex;gap:6px;padding:0 18px;background:#fafbfc;border-bottom:1px solid var(--line);overflow:auto}.aircraft-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;border-radius:0;white-space:nowrap;font-size:12px;padding:15px 12px}.aircraft-tabs button.active{border-bottom-color:var(--red);color:var(--red)}#aircraft-editor-body{padding:22px}.editor-help{font-size:12px;color:var(--muted);margin-bottom:18px}.aircraft-basic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.aircraft-basic-grid input[readonly]{background:#f3f5f8;color:#6c7d92}.config-table{max-height:560px}.config-table th{position:sticky;top:0;z-index:1;white-space:normal}.config-table input{min-width:110px;font-size:12px}.config-table [data-component-field=component]{min-width:170px}.config-table td{padding:10px}.restriction-filter{display:flex;gap:12px;margin-bottom:15px}.restriction-filter input{max-width:350px}.restriction-filter select{max-width:200px}.aircraft-editor .dialog-actions{border-top:1px solid var(--line);padding-top:18px}.fleet-panel{position:sticky;top:20px}.flight-strip{margin-top:0}@media(max-width:1300px){.flight-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.topbar{gap:10px;padding:0 18px}.topbar nav button{font-size:10px;padding:8px}.account>span{max-width:90px;overflow:hidden;text-overflow:ellipsis}.aircraft-basic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.topbar{flex-wrap:wrap;height:auto;padding:12px 16px}.topbar nav{order:3;width:100%;margin:0;overflow:auto}.topbar nav button{white-space:nowrap}.aircraft-settings-layout{grid-template-columns:1fr}.fleet-panel{position:static}.fleet-list{display:flex;overflow:auto}.fleet-option{flex-direction:column;min-width:110px}.fleet-panel .panel-heading{padding:12px 16px}.aircraft-basic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.flight-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#flight-data-body{padding:15px 12px}.flight-form-footer{align-items:flex-start;flex-direction:column}.flight-form-footer .actions{width:100%}.flight-form-footer button{font-size:11px;flex:1}.aircraft-basic-grid{grid-template-columns:1fr 1fr;gap:12px}#aircraft-editor-body{padding:14px}.restriction-filter{flex-direction:column}.restriction-filter>*{max-width:none!important}.aircraft-tabs{padding:0 8px}.aircraft-tabs button{font-size:11px;padding:12px 8px}.aircraft-editor .panel-heading{align-items:flex-start;flex-direction:column}}

.slot.invalid-assignment{border:2px solid #c62828;background:#fff0ef;color:#922020}
#paste-preview td{white-space:normal;min-width:75px}
#paste-text{min-height:170px}
.board-toolbar{flex-wrap:wrap;gap:10px}

dialog.paste-dialog{width:min(1200px,96vw);max-width:96vw} .paste-grid-scroll{max-height:380px;margin:12px 0} #paste-grid input{min-width:105px} #paste-grid td:nth-child(3) input{min-width:160px} #paste-grid td:nth-child(7) input{min-width:240px} #paste-grid td{padding:4px} #paste-grid thead{position:sticky;top:0;background:#f3f5f8;z-index:1} .paste-dialog details{margin:12px 0}

/* Dense flight data: the whole flight on one screen, plan still visible. */
.flight-data-panel .panel-heading{padding:14px 16px}
.flight-groups{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0}
.flight-group{flex:1 1 calc(var(--cols)*140px);min-width:calc(var(--cols)*128px);border:1px solid var(--line);
 border-radius:9px;padding:4px 11px 10px;margin:0;background:#fcfdfe}
.flight-group legend{font-size:9px;letter-spacing:1.3px;color:var(--muted);font-weight:700;padding:0 5px}
.flight-fields.compact{grid-template-columns:repeat(var(--cols,3),minmax(0,1fr));gap:8px 11px;margin:0}
.flight-fields.compact label{font-size:10px;letter-spacing:.3px;color:#6b7a91}
.flight-fields.compact input,.flight-fields.compact select{padding:6px 8px;font-size:12.5px;border-radius:6px;margin-top:3px}
.flight-data-panel .flight-details{padding:9px 0;margin-top:10px}
.flight-data-panel .flight-details summary{font-size:12px}
.flight-data-panel textarea{min-height:56px}
.flight-data-panel .flight-form-footer{margin-top:8px}
.flight-data-panel.collapsed #flight-data-body{display:none}
.flight-data-panel .crew-notes{display:block;margin-top:10px;font-size:10px;letter-spacing:.3px;color:#6b7a91}

/* Landing page */
#home-view .page-heading{margin-bottom:18px}
.home-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:14px;margin-bottom:22px}
.home-card{display:flex;flex-direction:column;align-items:flex-start;gap:5px;text-align:left;padding:20px;
 border-radius:12px;border:1px solid var(--line);background:#fff;box-shadow:var(--shadow);min-height:132px}
.home-card.wide{grid-column:span 2;background:linear-gradient(135deg,#2b3036,#454c55);color:#fff;border-color:#2b3036}
.home-card.hero{grid-column:span 2;background:linear-gradient(135deg,#e4002b,#a8001f);color:#fff;border-color:#b3001f;
 min-height:172px;justify-content:center;gap:9px}
.home-card.hero .home-icon{color:#fff;font-size:40px;font-weight:300}
.home-card.hero strong{font-size:25px;letter-spacing:-.4px}
.home-card.hero small{color:#ffd9de;font-size:13px}
.home-card.hero:hover{background:linear-gradient(135deg,#ff1a3f,#b3001f);border-color:#b3001f}
.home-card.wide small{color:#d6d9dd}
.home-card:hover{border-color:#9fb3cd}
.home-icon{font-size:22px;color:var(--red);line-height:1}
.home-card.wide .home-icon{color:#ff8d9c}
.home-card strong{font-size:15px}
.home-card small{font-weight:400;line-height:1.45}
.home-recent .table-scroll{max-height:none;padding:0 18px 18px}
.home-recent .empty{padding:0 18px 26px}
.alert-pill{background:#fff2dd;color:#8a5c14}
@media(max-width:760px){.home-card.wide{grid-column:span 1}}
.mode-tag{margin-left:9px;font-size:9px;letter-spacing:.6px;text-transform:uppercase;background:#eef2f8;
 color:#5a6b85;border-radius:4px;padding:2px 7px}
.flight-row-wrap{display:flex;gap:8px;align-items:stretch}
.flight-row-wrap .flight-row{flex:1}
.flight-row-wrap>.danger{font-size:11px;padding:8px 11px}
#flight-search{margin-bottom:12px}
.home-recent td{vertical-align:top}
.row-sub{display:block;color:var(--muted);font-size:9px;margin-top:2px}
.ok-pill{background:#e9f7f1;color:#177e60}
.export-cta{padding:13px;font-size:14px;box-shadow:var(--shadow)}
.export-warning{border-left-width:3px;border-left-color:#c0392b;background:#fdeceb;color:#8c2019;
 font-size:12px;margin-bottom:14px;padding:11px 12px}
.validation-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.validation-head h3{display:flex;align-items:center;gap:6px}
.validation-head button{font-size:10px;padding:5px 9px}
.critical-count{background:#fdeceb;color:#a3261c;font-weight:700}
.alert.critical{border-left-color:#c0392b;background:#fdeceb;color:#8c2019}
.alert.critical strong{letter-spacing:.6px;font-size:9px;margin-right:4px}
.dest-pill{display:inline-block;color:#fff;font-weight:700;font-size:10px;border-radius:4px;padding:1px 6px;line-height:1.4}
.slot .dest-pill{font-size:9px;margin:1px 0}
.notice{background:#e9f7f1;color:#146b52;border-radius:8px;padding:10px 12px;font-size:12px;margin-top:14px}
.login-links{font-size:12px;margin:0 0 14px;color:var(--muted)}
.login-links a{color:var(--red);font-weight:600}
.link-button{background:none;border:0;padding:0;color:var(--red);font-weight:600;cursor:pointer}

/* Users */
.account button{color:#fff;background:transparent;border:1px solid #ffffff55;font-size:12px;padding:6px 10px}
.account button:hover{background:#ffffff22}
.users-tabs{border:1px solid var(--line);border-bottom:0;border-radius:12px 12px 0 0;background:#fff}
.users-panel{border-radius:0 0 12px 12px;padding:16px}
.users-filters{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:12px}
.users-filters input{max-width:340px}.users-filters select{max-width:200px}
.users-table{max-height:none}.users-table td{vertical-align:middle}
.row-actions{display:flex;gap:6px;flex-wrap:wrap}
.status{font-size:10px;font-weight:700;border-radius:4px;padding:2px 7px}
.status-activo{background:#e9f7f1;color:#177e60}.status-inactivo{background:#eef0f3;color:#5b6573}
.status-bloqueado{background:#fdeceb;color:#a3261c}.status-pendiente{background:#fff4e0;color:#8a5c14}
.role-admin{background:#fde8eb;color:#a5001f}.role-Manager{background:#e8eefb;color:#1d4f9a}
.yes{color:#177e60;font-weight:700}.no{color:#a0a7b1}
.users-note{margin-top:12px}
.temporary-password{display:flex;gap:10px;align-items:center;margin-top:14px}
.temporary-password code{font-size:20px;letter-spacing:1px;background:#f4f5f7;padding:8px 12px;border-radius:6px}

/* Open flight card on the home page */
.open-flight-card{cursor:default}
.open-flight-card .card-eyebrow{font-size:9px;letter-spacing:1.4px;font-weight:700;color:#ff9aab!important}
.open-flight-card .card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:10px}
.open-flight-card .card-actions button{font-size:12px;padding:7px 12px;background:#ffffff1a;color:#fff;border-color:#ffffff55}
.open-flight-card .card-actions button.primary{background:#e4002b;border-color:#e4002b}
.open-flight-card.closed{background:#fff;color:var(--ink);border:1px dashed #c9ced6}
.open-flight-card.closed small{color:var(--muted)}
.open-flight-card.closed .card-actions button.primary{color:#fff}
.history-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px 10px;align-items:end;margin:4px 0 8px}
.history-filters label{font-size:10.5px}
.history-filters input,.history-filters select{padding:6px 8px;font-size:12.5px}
.history-filters .span-2{grid-column:span 2}
.history-filters button{height:33px;font-size:11px}
.rev-tag{font-size:11px;font-weight:700;color:#177e60;white-space:nowrap}
.rev-tag.draft{color:var(--muted);font-weight:500}
#flt-count{margin:0 0 6px;font-size:11px}

#idle-banner{position:fixed;left:50%;top:84px;transform:translateX(-50%);z-index:70;display:flex;gap:14px;align-items:center;
 padding:12px 16px;border-radius:10px;background:#fff4e0;border:1px solid #e8a84a;color:#6d4a10;box-shadow:0 12px 30px #2b303630;font-size:13px}
#idle-banner[hidden]{display:none}

.dynamic-mode{margin:12px;padding:12px;border:1px solid #c5d9ee;border-radius:8px;background:#f5f9ff}.dynamic-mode p{font-size:11px;margin:6px 0}.dynamic-mode svg{width:100%;max-height:180px}.dynamic-mode .secondary-row{font-size:11px;gap:8px}
/* Fuel diagram shares the authoritative, saved calculation with the balance. */
.fuel-diagram {border:1px solid #d6e2eb;border-radius:12px;padding:18px;margin:14px 0;background:#fff;}
.fuel-diagram svg {display:block;width:100%;max-width:760px;margin:auto;font:14px system-ui;fill:#17364f;}
.fuel-diagram p {margin:12px 0;}
.fuel-view-controls {display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.fuel-view-controls button[aria-pressed="true"] {background:#17364f;color:white;}
.landing-tanks {display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin-top:12px;}
.placement-details {padding:12px;background:#f4f8fc;border-radius:8px;margin-top:8px;}
.placement-details p {margin:10px 0;font-size:13px;}
.placement-options {display:flex;flex-wrap:wrap;gap:6px;max-height:240px;overflow:auto;}
.placement-options button {font-size:12px;text-align:left;}

/* Compact input area; preserve the surrounding planning layout and page scroll. */
#flight-data-body{padding:10px 16px}
.flight-data-panel .flight-groups{gap:8px;margin:6px 0}
.flight-data-panel .flight-group{padding:3px 9px 8px}
.flight-data-panel .flight-fields.compact{gap:6px 9px}
.orientation-badge{display:inline-block;padding:1px 5px;border:1px solid #8ba5b8;border-radius:4px;font-size:10px;color:#24516d;background:#eaf4fa}
@media(min-width:1100px){
 #fuel-details[open]>.fuel-input-layout{display:grid;grid-template-columns:minmax(280px,0.9fr) minmax(380px,1.1fr);gap:8px 16px;align-items:start}
 #fuel-details>summary{grid-column:1/-1}
 #fuel-details .fuel-input-layout>.fuel-diagram{grid-column:1;grid-row:1/4;margin:0}
 #fuel-details .fuel-input-layout>.flight-groups,#fuel-details .fuel-input-layout>fieldset,#fuel-details .fuel-input-layout>p{grid-column:2;margin:0}
 #fuel-details .fuel-diagram svg{max-height:300px}
 #fuel-details .landing-tanks{grid-template-columns:repeat(3,minmax(0,1fr))}
}


.board-zoom{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;padding:8px 16px;border-bottom:1px solid var(--line);font-size:11px}.board-zoom button{padding:5px 10px}.board-zoom output{min-width:42px;text-align:center;font-variant-numeric:tabular-nums}
/* Language switch on the signed-out pages and in the account menu. */
.lang-switch{margin-top:10px;font-size:12px;letter-spacing:.04em}
.lang-switch a{color:inherit;opacity:.7}
.lang-switch strong{font-weight:700}
.lang-menu{display:flex;gap:6px;align-items:center}
.lang-menu button[aria-pressed="true"]{background:#22262b;color:#fff;border-color:#22262b}

/* Aircraft catalogue spreadsheet: scroll stays inside the sheet. */
.spreadsheet{max-height:55vh;overflow:auto;border:1px solid var(--line)}
.spreadsheet table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%}
.spreadsheet th,.spreadsheet td{padding:0!important;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.spreadsheet thead th{position:sticky;top:0;z-index:2;background:#e9eff5;min-width:160px;max-width:220px;white-space:normal;padding:6px!important;font-size:11px}
.spreadsheet th small{display:block;color:#6a7887;margin-bottom:4px}
.spreadsheet tr>th:first-child{position:sticky;left:0;min-width:42px;background:#e9eff5;text-align:center;z-index:1}
.spreadsheet thead tr>th:first-child{z-index:3}
.spreadsheet input{width:100%;min-width:160px;border:0!important;border-radius:0!important;margin:0!important;padding:9px!important;background:white;font-variant-numeric:tabular-nums}
.spreadsheet input[readonly],.spreadsheet .missing{background:#f0f2f4;color:#647180}
.spreadsheet input.modified{background:#fff3cc}
.spreadsheet input:focus{outline:2px solid #397ac1;outline-offset:-2px;box-shadow:none}

/* Itinerary on the landing page: green dispatched, white pending, grey past */
.netline-table{max-height:420px}
.netline-table tr.leg td{background:#fff}
.netline-table tr.leg-dispatched td{background:#e9f7f1}
.netline-table tr.leg-dispatched td:first-child{box-shadow:inset 3px 0 0 #177e60}
.netline-table tr.leg-past td{background:#eef0f3;color:#5b6573}
.netline-table tr.leg-cancelled td{background:#f6f7f9;color:#8a93a0;text-decoration:line-through}
.netline-table tr.leg-cancelled .pill{text-decoration:none}
.netline-table .leg-state{background:#eef2f8;color:#42557a;font-weight:700}
.netline-table td{white-space:nowrap}
.home-recent .panel-heading .actions select{font-size:11px;padding:6px 8px}

/* How long is left before the flight leaves: the closer it is, the louder it reads. */
.netline-table td.netline-eta{font-variant-numeric:tabular-nums;white-space:nowrap}
.netline-table td.netline-eta.soon{color:#b45309;font-weight:600}
.netline-table td.netline-eta.urgent{color:#b42318;font-weight:700}
.netline-table td.netline-eta.gone{color:var(--muted,#6b7280)}

/* UTC clock in the topbar: the whole operation is planned on this time. */
.utc-clock{display:inline-flex;align-items:baseline;gap:6px;padding:4px 10px;border-radius:8px;
 border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);line-height:1}
.utc-clock strong{font-variant-numeric:tabular-nums;font-size:15px;letter-spacing:.5px}
.utc-clock small{font-size:11px;opacity:.75;text-transform:uppercase}
@media (max-width:1100px){.utc-clock small:first-child{display:none}}

/* Delete reads as a red button with white letters, not red letters on white. */
button.danger{background:#c62038;border-color:#c62038;color:#fff}
button.danger:hover{background:#a4172c;border-color:#a4172c}
button.primary.danger{background:#c62038}
/* The clock sits on the red topbar: its date and the UTC mark need full contrast. */
.utc-clock{background:rgba(0,0,0,.22);border-color:rgba(255,255,255,.35);color:#fff}
.utc-clock small{color:#fff;opacity:.92;font-weight:600;letter-spacing:.4px}
.utc-clock strong{color:#fff}

/* Schedule board: one lane per tail, hours running to the right, like the programming Gantt. */
.gantt-panel{padding:0;overflow:hidden}
.gantt-legend{display:flex;flex-wrap:wrap;gap:16px;align-items:center;padding:12px 18px;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}
.gantt-legend .gantt-key{display:inline-block;width:22px;height:11px;border-radius:3px;margin-right:6px;vertical-align:-1px;border:1px solid #c7ced8}
.gantt-key.upcoming{background:#fff}
.gantt-key.started{background:#fde7bd;border-color:#e0a63a}
.gantt-key.dispatched{background:#cdeccd;border-color:#3f9142}
.gantt-key.past{background:#e7eaef;border-color:#b8bfc9}
.gantt-legend .gantt-hint{margin-left:auto}
.gantt-scroll{overflow:auto;max-height:calc(100vh - 250px)}
.gantt-grid{display:grid;grid-template-columns:var(--tail) var(--lane);position:relative;width:max-content;--tail:110px}
.gantt-corner{position:sticky;left:0;top:0;z-index:5;background:#16233c;color:#fff;font-size:10px;font-weight:700;letter-spacing:.6px;
 text-transform:uppercase;display:flex;align-items:center;justify-content:center;border-right:1px solid #0e1728}
.gantt-axis{position:sticky;top:0;z-index:3;background:#fff;border-bottom:1px solid var(--line)}
.gantt-days{display:flex}
.gantt-day{box-sizing:border-box;border-right:1px solid #c7ced8;border-bottom:1px solid var(--line);background:#16233c;color:#fff;
 font-size:11px;font-weight:600;text-align:center;padding:5px 0}
.gantt-hours{display:flex}
.gantt-hour{box-sizing:border-box;font-size:9px;color:#6b7686;text-align:left;padding:3px 0 3px 3px;border-right:1px solid #eef0f4}
.gantt-hour.strong{color:#16233c;font-weight:700;border-right-color:#c7ced8}
.gantt-tail{position:sticky;left:0;z-index:2;background:#16233c;color:#fff;display:flex;flex-direction:column;justify-content:center;
 align-items:center;gap:2px;font-weight:700;font-size:12px;border-bottom:1px solid #0e1728;border-right:1px solid #0e1728}
.gantt-tail small{font-weight:500;font-size:10px;opacity:.7}
.gantt-lane{position:relative;border-bottom:1px solid var(--line);background:#fbfcfd}
.gantt-rule{position:absolute;top:0;bottom:0;width:1px;background:#eef0f4}
.gantt-rule.strong{background:#dde1e8}
.gantt-now{position:absolute;top:0;bottom:0;width:2px;background:#e51b35;z-index:4;box-shadow:0 0 0 1px #e51b3533}
.gantt-now::after{content:attr(data-now);position:absolute;top:2px;left:3px;background:#e51b35;color:#fff;font-size:9px;
 font-weight:700;letter-spacing:.4px;padding:2px 5px;border-radius:0 4px 4px 0;white-space:nowrap}
.gantt-bar{position:absolute;height:48px;padding:3px 5px;border-radius:5px;border:1px solid #9aa4b2;background:#fff;
 display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;font-weight:600;cursor:pointer;text-align:left}
.gantt-bar:hover{box-shadow:0 2px 8px #16233c33;z-index:3}
.gantt-bar-top{display:flex;justify-content:space-between;gap:4px;font-size:10px;white-space:nowrap}
.gantt-bar-top em{font-style:normal;font-weight:700;font-size:11px}
.gantt-bar-foot{display:flex;justify-content:space-between;gap:4px;font-size:9px;font-weight:500;color:#5b6675;font-variant-numeric:tabular-nums}
.gantt-rev{color:#2f7a33;font-weight:700}
.gantt-bar.upcoming{border-color:#e51b35;background:#fff}
.gantt-bar.started{border-color:#e0a63a;background:#fde7bd}
.gantt-bar.dispatched{border-color:#3f9142;background:#cdeccd}
.gantt-bar.past{border-color:#b8bfc9;background:#e7eaef;color:#5b6675}
.gantt-bar.cancelled{border:1px dashed #a66060;background:#f6e8e8;color:#774949}
.gantt-bar.cancelled .gantt-bar-top{text-decoration:line-through}
@media(max-width:900px){.gantt-grid{--tail:76px}.gantt-tail{font-size:11px}}
.account .shared-changes{position:relative;flex:0 0 auto;width:30px;height:30px;padding:0;border:1px solid #ffffff55;border-radius:6px;background:transparent;color:#fff;font-size:20px;line-height:1;box-shadow:none}
.account .shared-changes::after{content:'';position:absolute;top:3px;right:3px;width:5px;height:5px;border-radius:50%;background:#fff}
.account .shared-changes:focus-visible{outline:2px solid #fff;outline-offset:2px}

/* The bulk report is wide by nature: it scrolls instead of squeezing its columns. */
.bulk-table{max-height:420px}
.bulk-table table{font-size:11px;white-space:nowrap}
.bulk-table th{position:sticky;top:0;background:#16233c;color:#fff;font-size:10px;z-index:1}
.bulk-table td{max-width:320px;overflow:hidden;text-overflow:ellipsis}

/* A download link inside a panel heading reads as a button, like the ones beside it. */
a.button{display:inline-block;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:8px;
 padding:9px 13px;font-weight:600;font-size:12px;text-decoration:none}
a.button:hover{background:#f4f6f9}

/* A lane for the legs the itinerary has not given an aircraft to yet. */
.gantt-tail.unassigned{background:#3d4657;font-size:10px;letter-spacing:.3px}
.gantt-tail.unassigned small{opacity:.85}

/* A sector the itinerary skips: the aircraft must fly it, but no leg was published. */
.gantt-bar.gap{border-style:dashed;border-color:#b45309;background:repeating-linear-gradient(45deg,#fffaf0,#fffaf0 4px,#fde7bd 4px,#fde7bd 8px);
 color:#8a5a12;cursor:help}
.gantt-bar.gap em{font-size:13px}
.gantt-bar.gap .gantt-bar-foot{color:#b45309;font-style:italic}

/* A leg taken from the pasted report, still absent from the published itinerary. */
.netline-table .row-sub.pasted{color:#6b46c1;font-weight:600}
.gantt-bar.pasted{border-left:4px solid #6b46c1}

/* Reading the itinerary needs the corporate network: say so where it is read. */
.netline-network{font-size:11px;color:#8a5a12;margin-top:4px}

/* Searching the flight list: one box, beside the state filter. */
#netline-search{min-width:210px;font-size:12px;padding:8px 10px}
@media(max-width:900px){#netline-search{min-width:0;width:100%}}

/* A dispatch condition: it reads before the notices, without being a limit exceeded. */
.alert.condition{border-left:4px solid #e0a63a;background:#fffaf0;color:#7a4f0a}
.alert.condition strong{color:#b45309;letter-spacing:.3px}

#paste-grid tr.grid-row-error>th,#paste-grid tr.grid-row-error>td{background:#fff0f2;border-top:2px solid #c92040;border-bottom:2px solid #c92040}#paste-grid .grid-error-message{color:#a10e2b;font-size:12px;white-space:normal;min-width:170px;max-width:240px;padding:6px}#paste-grid input[aria-invalid=true]{border-color:#c92040}
/* Three days of legs no longer fit on the page: the home list scrolls inside
   its own box, and the header stays put so the columns keep their names. The
   selector outranks .home-recent .table-scroll, which lifted the cap. */
.home-recent .table-scroll.netline-table{max-height:min(62vh,600px);overflow:auto}
.netline-table thead th{position:sticky;top:0;z-index:1;background:#f7f9fb}
/* One band per UTC calendar day in the flight list; today's in red, so the eye
   lands on it first. */
.netline-table tr.day-separator td{background:var(--navy,#16233c);color:#fff;padding:8px 10px;font-size:11px;letter-spacing:.3px;border-bottom:0;text-decoration:none}
.netline-table tr.day-separator.today td{background:var(--red,#c8102e)}
.netline-table tr.day-separator strong{text-transform:capitalize}
.netline-table tr.day-separator .day-tag{display:inline-block;margin-left:8px;padding:1px 8px;border-radius:10px;background:#ffffff2e;font-size:9px;font-weight:700;letter-spacing:.8px;text-transform:uppercase}
.netline-table tr.day-separator small{margin-left:10px;opacity:.8}
/* Pallets in transit: one row per earlier leg to choose from. */
.transit-list{display:grid;gap:8px;margin:14px 0}
/* Varios usuarios: aviso de quién edita, solo lectura y marca en las listas. */
.lock-banner{margin:0 0 12px;padding:9px 14px;border-radius:9px;background:#eef4ff;color:#1d3d73;border:1px solid #c6d7f5;font-size:12px}
.lock-banner.locked{background:#fff6e5;color:#7a4b00;border-color:#f3cf86}
body.flight-readonly #planning-view :is(#add-pallet,#import-button,#paste-button,#transit-button,#undo-button,#nil-button,#auto-button,
 #clear-positions,#delete-all-pallets,#flight-settings,#paste-pallets-top,#transit-pallets-top,#flight-data-body,#board,#pending,
 #manifest-body,#selected-panel,#configure-current-aircraft,#load-type-board,#restrictions-button){pointer-events:none;opacity:.55}
.lock-tag{display:inline-block;margin-left:8px;padding:1px 7px;border-radius:999px;background:#fff1d6;color:#7a4b00;font-size:10px;font-weight:700;white-space:nowrap}
.transit-option{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border:1px solid var(--line);border-radius:9px;cursor:pointer}
.transit-option:has(input:checked){border-color:var(--red);background:#fff5f6}
.transit-option input{width:auto;flex:none;margin:3px 0 0;padding:0;accent-color:var(--red)}
.transit-option>span{flex:1;min-width:0;font-weight:400;color:var(--ink);line-height:1.45}
.transit-option small{color:var(--muted)}
.transit-option .pill{margin-left:6px;background:var(--red);color:#fff;font-size:9px}
/* Flight status from OpsLink: best departure, delay, departed legs locked. */
.leg-timing{display:inline-block;margin-left:4px;color:var(--muted,#6f7780);font-size:11px;white-space:nowrap}
.leg-delay{font-weight:700;margin-left:3px}
.leg-delay.late{color:#b42318}
.leg-delay.early{color:#177e60}
.gantt-state{font-style:normal;font-size:9px;font-weight:700;letter-spacing:.4px;margin-left:5px;padding:0 4px;border-radius:3px;background:#ffffffb3;color:#42557a}
.gantt-bar.departed{cursor:not-allowed;background-image:repeating-linear-gradient(135deg,transparent 0 7px,#0000000d 7px 14px)}
.gantt-bar.departed .gantt-state{background:#22262b;color:#fff}
/* The paste / LCS dialog: a file card, live totals, a compact grid and its actions always in view. */
.dialog-heading{z-index:6}
.paste-dialog #modal-body{padding-bottom:0}
.paste-lead{font-size:12px;color:var(--muted);margin-bottom:12px}
.lcs-card{border:1px solid #f0d9a8;background:#fffaf0;border-radius:12px;padding:14px 16px;margin-bottom:16px;display:grid;gap:12px}
.lcs-file{display:flex;align-items:center;gap:12px}.lcs-file strong{display:block;font-size:13px;overflow-wrap:anywhere}.lcs-file small{color:var(--muted);font-size:11px}
.lcs-icon{flex:none;width:40px;height:40px;border-radius:10px;background:#1d6f42;color:#fff;font-size:10px;font-weight:800;letter-spacing:.5px;display:grid;place-items:center}
.lcs-check{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.5;color:#6b4a08;margin:0}
.lcs-check span{flex:none;width:20px;height:20px;border-radius:50%;background:#e8a84a;color:#fff;font-weight:800;font-size:12px;display:grid;place-items:center;margin-top:1px}
.lcs-block h4{font-size:11px;letter-spacing:.3px;text-transform:uppercase;color:#876025;margin:0 0 8px}
.lcs-block ul{margin:0;padding-left:18px;font-size:12px;color:#5b4310}
.lcs-diff{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px}
.lcs-diff>div{background:#fff;border:1px solid #f0d9a8;border-radius:9px;padding:8px 10px;display:grid;grid-template-columns:1fr 1fr;gap:2px 10px}
.lcs-diff small{grid-column:1/-1;font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.3px}
.lcs-diff span{display:grid}.lcs-diff b{font-size:13px}.lcs-diff i{font-style:normal;font-size:10px;color:var(--muted)}
.lcs-diff span+span b{color:#b7253b}
.paste-bar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:10px}
.paste-stats{display:flex;gap:8px}.paste-stats>div{background:#f4f6fa;border-radius:10px;padding:8px 14px;min-width:86px}
.paste-stats strong{display:block;font-size:18px;line-height:1.1;font-weight:650}.paste-stats small{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.4px}
.paste-hint{flex:1;min-width:220px;font-size:11px;color:var(--muted);margin:0}.paste-bar>button{font-size:11px;padding:8px 12px;white-space:nowrap}
.paste-dialog .paste-grid-scroll{max-height:min(46vh,430px);margin:0;border:1px solid var(--line);border-radius:10px}
#paste-grid{border-collapse:separate;border-spacing:0}
#paste-grid thead th{position:sticky;top:0;z-index:2;background:#f3f5f8;padding:9px 8px;border-bottom:1px solid var(--line)}
#paste-grid tbody th{color:#a9b4c2;font-weight:500;font-size:10px;text-align:right;padding:0 6px 0 10px;width:28px;border-bottom:1px solid #f1f3f7;background:transparent}
#paste-grid td{padding:2px 3px;border-bottom:1px solid #f1f3f7}
#paste-grid tbody tr:nth-child(even){background:#fafbfd}#paste-grid tbody tr:hover{background:#f1f6ff}
#paste-grid input{min-width:0;width:100%;height:30px;padding:4px 8px;font-size:12px;border:1px solid transparent;background:transparent;border-radius:6px;box-shadow:none}
#paste-grid input:hover{border-color:#d5dce6;background:#fff}#paste-grid input:focus{border-color:#688cb9;background:#fff;outline:2px solid #688cb933}
#paste-grid td:nth-child(2){width:9%}#paste-grid td:nth-child(3){width:15%}#paste-grid td:nth-child(4){width:9%}#paste-grid td:nth-child(5){width:10%}#paste-grid td:nth-child(6){width:8%}
#paste-grid td:nth-child(3) input,#paste-grid td:nth-child(7) input{min-width:0}
#paste-grid td:nth-child(3) input{font-weight:600}#paste-grid td:nth-child(5) input,#paste-grid td:nth-child(6) input{text-align:right;font-variant-numeric:tabular-nums}
#paste-grid td:last-child{width:34px;text-align:center}
#paste-grid [data-remove]{border:0;background:transparent;color:#b8c2cf;font-size:15px;line-height:1;padding:4px 8px;border-radius:6px}#paste-grid [data-remove]:hover{background:#fdecec;color:#b7253b}
.paste-dialog details.paste-text{margin:10px 0;font-size:12px}.paste-dialog details.paste-text summary{cursor:pointer;color:var(--muted)}
.paste-checked{display:flex;gap:10px;align-items:flex-start;background:#eef9f3;border:1px solid #bfe6d5;border-radius:10px;padding:10px 14px;margin:14px 0 10px}
.paste-checked .tick{flex:none;width:22px;height:22px;border-radius:50%;background:#30ac8d;color:#fff;font-weight:800;font-size:13px;display:grid;place-items:center}
.paste-checked strong{font-size:13px}.paste-checked p{font-size:11px;color:#3b6b5a;margin:2px 0 0}
#paste-preview .table-scroll{border:1px solid var(--line);border-radius:10px;max-height:240px!important}
#paste-preview th{position:sticky;top:0;background:#f3f5f8;z-index:1}#paste-preview td{padding:7px 8px}
.compat{display:inline-block;font-size:10px;font-weight:600;padding:2px 8px;border-radius:999px}.compat.ok{background:#eef9f3;color:#187f60}.compat.bad{background:#fdecec;color:#9e2334}
.paste-footer{position:sticky;bottom:0;z-index:4;background:#fff;border-top:1px solid var(--line);margin:16px -23px 0;padding:14px 23px;display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.paste-mode{display:flex!important;flex-direction:row;align-items:center;gap:10px;font-size:11px;color:var(--muted);margin:0}.paste-mode select{width:auto;min-width:290px;font-size:12px}
.paste-footer .actions{display:flex;gap:8px}.paste-footer button{padding:10px 16px}
@media(max-width:760px){.paste-mode{width:100%}.paste-mode select{flex:1;min-width:0}.paste-footer .actions{width:100%}.paste-footer .actions button{flex:1}}
/* The fleet-wide CG shift: one row, the button level with its fields. */#uld-policy-form{display:grid;grid-template-columns:140px minmax(0,1fr) auto;gap:14px;align-items:end;margin:14px 0 12px}#uld-policy-form label{margin:0}#uld-policy-form button{white-space:nowrap;padding:11px 16px}@media(max-width:760px){#uld-policy-form{grid-template-columns:1fr}}
/* Help: the user manual. */
#help-view .page-heading{align-items:flex-end;gap:16px}#help-search{max-width:340px}
.help-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:20px;align-items:start}
.help-index{position:sticky;top:16px;padding:10px;display:grid;gap:2px;max-height:calc(100vh - 40px);overflow:auto}
.help-index a{display:flex;gap:10px;align-items:center;padding:9px 10px;border-radius:8px;font-size:12px;color:var(--ink);text-decoration:none;line-height:1.3}
.help-index a:hover{background:#f1f6ff}.help-index a span{flex:none;width:20px;text-align:center}
.help-body{display:grid;gap:16px}.help-chapter{padding:22px 26px;scroll-margin-top:16px;max-width:900px}
.help-chapter h2{display:flex;gap:10px;align-items:center;font-size:19px;margin-bottom:12px}
.help-chapter h4{font-size:12px;letter-spacing:.4px;text-transform:uppercase;color:var(--muted);margin:18px 0 8px}
.help-chapter p,.help-chapter li,.help-chapter dd{font-size:13px;line-height:1.65}.help-chapter p{margin:0 0 10px}
.help-chapter ul,.help-chapter ol{margin:0 0 10px;padding-left:20px;display:grid;gap:5px}
.help-chapter dt{font-weight:700;font-size:13px;margin-top:12px}.help-chapter dd{margin:3px 0 0;color:#445063}
.help-tip{border-left:3px solid #688cb9;background:#f1f6ff;border-radius:0 8px 8px 0;padding:10px 14px;font-size:12px;line-height:1.6;margin-top:12px}
@media(max-width:900px){.help-layout{grid-template-columns:1fr}.help-index{position:static;max-height:none;grid-template-columns:1fr 1fr}#help-search{max-width:none;width:100%}}
@media print{.topbar,.help-index,#help-search,#toast{display:none!important}.help-layout{display:block}.help-chapter{box-shadow:none;border:0;break-inside:avoid;padding:10px 0}}
.legacy-card{padding:18px 20px;margin-bottom:18px;border-left:4px solid #e0a030}.legacy-card h3{margin:0 0 6px}.legacy-card p{font-size:12px;line-height:1.6}.legacy-card ul{font-size:12px;margin:8px 0 12px 18px}.legacy-card .actions{display:flex;gap:8px}.legacy-card a.button{display:inline-flex;align-items:center;padding:9px 14px;border-radius:9px;background:var(--red);color:#fff;text-decoration:none;font-size:12px;font-weight:600}
/* Flight progress on the schedule board: the part flown fills the bar. */.gantt-bar{position:absolute;overflow:hidden}.gantt-bar>span{position:relative;z-index:1}.gantt-progress{position:absolute;left:0;top:0;bottom:0;z-index:0;pointer-events:none;transition:width .6s}.gantt-progress.taxi{background:#f5c04a66}.gantt-progress.airborne{background:linear-gradient(90deg,#4a90d933,#4a90d980);border-right:2px solid #2f6db3}.gantt-progress.landed,.gantt-progress.arrived{background:#30ac8d33}.gantt-phase{font-style:normal;font-size:9px;font-weight:700;border-radius:999px;padding:0 6px;white-space:nowrap}.gantt-phase.taxi{background:#fff4dd;color:#8a5a00}.gantt-phase.airborne{background:#e3efff;color:#1d4f8c}.gantt-phase.landed,.gantt-phase.arrived{background:#e3f6ee;color:#187f60}.gantt-key.flying{background:linear-gradient(90deg,#4a90d933,#4a90d980);border-right:2px solid #2f6db3}
