/* DFR web edition: web-only styles, linked after the page's own CSS. Nothing here is used by the desktop EXE. */

/* ---- print: Pilot Profile content starts on page 1 -------------------------------------------------------------------------------------- */
/* The license and summary cards are `break-inside: avoid` and, with a certificate preview, taller than what is left of page 1 after the header,
   so the whole grid was pushed to page 2 leaving an almost empty first page. Let the cards split, and cap the certificate preview height. */
@media print {
  body.print-current-profile #pilotProfilePage .feature-card { break-inside: auto !important; page-break-inside: auto !important; }
  body.print-current-profile #pilotProfilePage .license-photo-shell img,
  body.print-current-profile #pilotProfilePage .license-photo-shell canvas { max-height: 3.4in !important; width: auto !important; max-width: 100% !important; object-fit: contain; }
  body.print-current-profile #pilotProfilePage .feature-page-content { padding-top: 0 !important; }
}

/* ---- left sidebar navigation, clean header (web edition) ------------------------------------------------------------------------------- */
:root { --sb-w: 232px; --sb-w-collapsed: 60px; --sb-bg: #12263f; --sb-fg: #dbe5f1; --sb-muted: #8fa3bb; --sb-active: #2f6fba; --sb-hover: rgba(255,255,255,.08); }

/* header: status pills out (Saved / Online / Lock); the page keeps writing to them, they are only not shown */
#saveStatus, #dfrCloudStatus, #authLockBtn, #authLogoutBtn { display: none !important; }
#dfrCloudStatus[data-attention="true"] { display:inline-block!important; }
body.auth-locked #dfrCloudStatus { display:none!important; }
@media print { #dfrCloudStatus[data-attention="true"] { display:none!important; } }
/* the old horizontal navigation stays in the DOM (the sidebar activates its buttons) but is not shown */
.toolbar-nav > .toolbar-menu, .toolbar-nav > #homeToolbarBtn, .toolbar-nav > #mpMessagesBtn { display: none !important; }
body.dfr-sb-on .toolbar-nav { display: none !important; }
.dfr-header-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; margin-left: auto; }
.dfr-header-right .auth-session-strip { margin: 0; padding: 4px 10px; }
.dfr-header-right .mp-toolbar-utilities { display: flex; align-items: center; gap: 8px; margin: 0; }
.dfr-clock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #34495e; white-space: nowrap; }
.dfr-clock .dfr-clock-icon { width: 15px; height: 15px; }

/* shell: sidebar is fixed on the left; the page content (toolbar controls + .wrap) shifts right by its width */
.dfr-sidebar { position: fixed; z-index: 40; top: 0; left: 0; bottom: 0; width: var(--sb-w); display: flex; flex-direction: column; background: var(--sb-bg); color: var(--sb-fg); box-shadow: 2px 0 12px rgba(0,0,0,.18); transition: width .16s ease; font-family: inherit; }
.dfr-sidebar[hidden] { display: none; }
body.dfr-sb-on { padding-left: var(--sb-w); transition: padding-left .16s ease; }
body.dfr-sb-on.dfr-sb-collapsed { padding-left: var(--sb-w-collapsed); }
body.dfr-sb-collapsed .dfr-sidebar { width: var(--sb-w-collapsed); }
body:not(.dfr-sb-on) { padding-left: 0; }
.dfr-sb-top { padding: 10px 8px 4px; }
.dfr-sb-rail { flex: 1 1 auto; overflow-y: auto; overflow-x: hidden; padding: 4px 8px; }
.dfr-sb-bottom-wrap { padding: 6px 8px 10px; border-top: 1px solid rgba(255,255,255,.12); }
.dfr-sb-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 40px; padding: 8px 12px; margin: 2px 0; border: 0; border-radius: 8px; background: transparent; color: var(--sb-fg); font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .4px; text-align: left; cursor: pointer; position: relative; }
.dfr-sb-item:hover { background: var(--sb-hover); }
.dfr-sb-item:focus-visible, .dfr-sb-flyitem:focus-visible { outline: 2px solid #8cc4ff; outline-offset: 1px; }
.dfr-sb-primary { text-transform: uppercase; }
.dfr-sb-icon { flex: 0 0 22px; width: 22px; height: 22px; shape-rendering: geometricPrecision; }
.dfr-sb-text { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dfr-sb-chev { flex: 0 0 14px; width: 14px; height: 14px; transition: transform .15s; color: var(--sb-muted); }
.dfr-sb-open > .dfr-sb-head .dfr-sb-chev { transform: rotate(90deg); }
.dfr-sb-item.dfr-sb-current { background: var(--sb-active); color: #fff; }
.dfr-sb-item.dfr-sb-current::before { content: ''; position: absolute; left: -8px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 3px 3px 0; background: #8cc4ff; }
.dfr-sb-has-current > .dfr-sb-head:not(.dfr-sb-current) { background: rgba(47,111,186,.28); }
.dfr-sb-sub { margin: 0 0 4px 20px; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.16); }
.dfr-sb-sub[hidden] { display: none; }
.dfr-sb-subitem { min-height: 34px; padding: 6px 10px; font-size: 12px; font-weight: 600; letter-spacing: .2px; }
.dfr-sb-sep { height: 1px; margin: 6px 4px; background: rgba(255,255,255,.14); }
.dfr-sb-sep[hidden] { display: none; }
.dfr-sb-danger { color: #ffb4ab; }
.dfr-sb-badge { margin-left: auto; }
.dfr-sb-toggle { color: var(--sb-muted); }
.dfr-sb-bottom .dfr-sb-sub { margin-left: 20px; }
/* collapsed: icons only; labels and submenus hidden (submenus open as flyouts) */
body.dfr-sb-collapsed .dfr-sb-text, body.dfr-sb-collapsed .dfr-sb-chev, body.dfr-sb-collapsed .dfr-sb-sub { display: none !important; }
body.dfr-sb-collapsed .dfr-sb-item { justify-content: center; padding: 8px 0; }
body.dfr-sb-collapsed .dfr-sb-badge { position: absolute; top: 2px; right: 6px; margin: 0; }
body.dfr-sb-collapsed .dfr-sb-item.dfr-sb-current::before { left: -8px; }
.dfr-sb-flyout { position: fixed; z-index: 60; min-width: 220px; max-height: calc(100vh - 16px); overflow-y: auto; padding: 6px; border-radius: 10px; background: #fff; color: #1d2b3c; box-shadow: 0 8px 28px rgba(0,0,0,.28); border: 1px solid #cfd6df; }
.dfr-sb-flyout-title { padding: 6px 10px 4px; font-size: 10px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: #65758a; }
.dfr-sb-flyitem { display: block; width: 100%; padding: 8px 10px; border: 0; border-radius: 6px; background: transparent; color: inherit; font: inherit; font-size: 13px; font-weight: 600; text-align: left; cursor: pointer; }
.dfr-sb-flyitem:hover { background: #eef3f9; }
.dfr-sb-flyitem.dfr-sb-current { background: #dbe8f7; }
.dfr-sb-flyout .dfr-sb-sep { background: #e1e6ed; }
.dfr-sb-flyout .dfr-sb-danger { color: #b3261e; }
.dfr-sb-scrim { display: none; }

/* narrow screens (<= 900px): the rail is icon-only and overlays nothing; expanding it opens a drawer over the content */
@media (max-width: 900px) {
  body.dfr-sb-on, body.dfr-sb-on.dfr-sb-collapsed { padding-left: var(--sb-w-collapsed); }
  body.dfr-sb-drawer .dfr-sidebar { width: var(--sb-w); box-shadow: 4px 0 24px rgba(0,0,0,.4); }
  body.dfr-sb-drawer .dfr-sb-scrim { display: block; position: fixed; inset: 0; z-index: 30; background: rgba(10,20,35,.35); }
  .dfr-clock { display: none; }
  .dfr-header-right .mp-open-log-shortcut { font-size: 11px; padding: 6px 8px; }
}

/* print never includes the sidebar, flyouts, scrim or the header clock, and removes the content offset */
@media print {
  .dfr-sidebar, .dfr-sb-flyout, .dfr-sb-scrim, .dfr-clock { display: none !important; }
  body.dfr-sb-on, body.dfr-sb-on.dfr-sb-collapsed { padding-left: 0 !important; transition: none !important; }
}

/* print: screen-only explanatory note is not part of the printed Home dashboard (it was orphaned alone on a trailing page) */
@media print { .team-readonly-note { display: none !important; } }

/* print: a sub-view the page keeps `hidden` (Drone Maintenance history) must stay hidden; the page's print rule forced it to display and added an extra page with only its heading */
@media print { html body[class] #maintenancePage #maintenanceHistoryView[hidden], html body[class] #maintenancePage .feature-page-content[hidden] { display: none !important; } }

/* print: Activity Log column widths. With the page's own 6% / 7% the Mission text broke mid-word ("BURGLA / RY") and the time lost its "M"; give those columns room
   (taken from Call Comments and PIC, which had spare width). Same total, same columns, same order. */
@media print {
  html body .activity-log-table th.num, html body .activity-log-table td.num { width: 3% !important; }
  html body .activity-log-table th.time { width: 8.5% !important; }
  html body .activity-log-table th.incident { width: 9.5% !important; }
  html body .activity-log-table th.mission { width: 11% !important; }
  html body .activity-log-table th.address { width: 17% !important; }
  html body .activity-log-table th.pic { width: 11% !important; }
  html body .activity-log-table th.station { width: 7.5% !important; }
  html body .activity-log-table th.call-comments { width: 32.5% !important; }
}
/* Web co-pilot field and Settings sections. */
.web-pic-selector { display:block; margin-top:6px; font-size:10px; font-weight:700; white-space:normal; }
.web-pic-selector[hidden] { display:none!important; }
#profilePilotPickerWrap[hidden], .dfr-sb-section[hidden] { display:none!important; }
.dfr-sidebar [hidden] { display:none!important; }
.web-pic-selector select { width:100%; min-width:90px; font-size:11px; }
.dfr-sb-section { padding:12px 14px 4px; font-size:10px; font-weight:800; text-transform:uppercase; opacity:.7; }

/* ---- header / identity cleanup ------------------------------------------------------------------------------------------------------------------ */
/* The signed-in name, role and CHANGE MY PIN no longer sit in the header (PIN change is in Settings; name and role are shown in the sidebar). The page keeps updating the strip. */
#authSessionBar { display: none !important; }
/* A Pilot knows who they are: no officer selector in the top area (the page still holds their own pilot value in the hidden control). Supervisor / Administrator keep it for management. */
body.dfr-role-pilot .toolbar-controls .pilot-group { display: none !important; }
body.dfr-role-pilot .toolbar-controls { grid-template-columns: max-content !important; }

/* sidebar identity + role badge: Pilot neutral, Supervisor / Administrator gold */
.dfr-sb-identity { flex: 0 0 auto; padding: 8px 14px; margin: 0 8px; border-top: 1px solid rgba(255,255,255,.12); }
.dfr-sb-who-role { font-size: 13px; font-weight: 600; color: var(--sb-fg); letter-spacing: .2px; }
.dfr-sb-identity[hidden] { display: none !important; }
/* no letter avatars: a Pilot has no identity block at all; collapsed rail is navigation icons only */
body.dfr-role-pilot .dfr-sb-identity, body.dfr-sb-collapsed .dfr-sb-identity { display: none !important; }
@media print { .dfr-sb-identity { display: none !important; } }

/* print: the PIC chooser is an on-screen control; the printed Call Comments carry the PIC / CP lines */
@media print { .web-pic-selector { display: none !important; } }


/* The Supervisor navigation icon (shield with check): GOLD lines. Only the icon stroke; there is no gold badge or pill anywhere. */
.dfr-sb-group[data-group="supervisor"] > .dfr-sb-item > svg.dfr-sb-icon { color: #e6b93a; stroke: #e6b93a; }

/* ---- Fleet > Drone Maintenance: Maintenance Tickets workspace ---------------------------------------------------------------------------------------- */
.mt-head-actions { display: flex; gap: 8px; }
.mt-intro { margin: 4px 0 12px; color: #4a5d73; font-size: 13px; }
.mt-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.mt-filter { padding: 7px 14px; border: 1px solid #c3cfdd; border-radius: 999px; background: #fff; color: #17324f; font: inherit; font-size: 12px; font-weight: 800; letter-spacing: .4px; cursor: pointer; }
.mt-filter span { display: inline-block; min-width: 18px; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: #e6edf5; font-size: 11px; text-align: center; }
.mt-filter.active { background: #12263f; border-color: #12263f; color: #fff; }
.mt-filter.active span { background: rgba(255,255,255,.2); }
.mt-list { display: grid; gap: 10px; }
.mt-ticket { border: 1px solid #d4dde8; border-radius: 10px; background: #fff; }
.mt-ticket.selected { border-color: #2f6fba; box-shadow: 0 0 0 2px rgba(47,111,186,.25); }
.mt-ticket-btn { display: block; width: 100%; padding: 12px 14px; border: 0; background: transparent; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.mt-ticket-btn:hover { background: #f5f8fc; }
.mt-ticket-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12px; }
.mt-ticket-top strong { font-size: 12px; letter-spacing: .6px; color: #4a5d73; }
.mt-ticket h4 { margin: 6px 0 2px; font-size: 15px; color: #12263f; }
.mt-snip { margin: 0 0 6px; color: #4a5d73; font-size: 13px; }
.mt-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; color: #65758a; }
.mt-status { margin-left: auto; padding: 2px 10px; border-radius: 6px; background: #e8eef6; color: #17324f; font-weight: 800; letter-spacing: .4px; }
.mt-pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .4px; }
.mt-routine { background: #e8f2ea; color: #1d5a2c; }
.mt-urgent { background: #fff0d6; color: #8a5200; }
.mt-safety { background: #fde3e1; color: #a02018; }
.mt-empty { margin: 8px 0; color: #65758a; }
.mt-detail { margin-top: 16px; }
.mt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px 20px; margin: 12px 0 16px; }
.mt-grid > div { min-width: 0; }
.mt-grid .span, .mt-manage .span { grid-column: 1 / -1; }
.mt-grid dt { font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: #65758a; }
.mt-grid dd { margin: 2px 0 0; color: #12263f; overflow-wrap: anywhere; }
.mt-manage { padding: 12px 14px; margin: 0 0 16px; border: 1px solid #d4dde8; border-radius: 10px; background: #f7f9fc; }
.mt-manage h4, .mt-detail h4 { margin: 0 0 8px; font-size: 13px; letter-spacing: .5px; text-transform: uppercase; color: #17324f; }
.mt-manage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 14px; margin-bottom: 10px; }
.mt-manage label, .mt-form label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: #34495e; }
.mt-manage select, .mt-manage input, .mt-manage textarea, .mt-form select, .mt-form input, .mt-form textarea { font: inherit; font-size: 14px; padding: 8px 10px; border: 1px solid #b9c6d6; border-radius: 6px; background: #fff; color: #12263f; width: 100%; box-sizing: border-box; }
.mt-history { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 13px; }
.mt-history li > span { display: block; color: #65758a; font-size: 12px; }
.mt-history li p { margin: 2px 0 0; color: #34495e; }
.mt-error { min-height: 1em; margin: 6px 0 0; color: #a02018; font-size: 13px; }
#mtDialog { width: min(640px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 14px; box-shadow: 0 24px 80px rgba(0,27,59,.4); }
#mtDialog::backdrop { background: rgba(10,20,35,.5); }
.mt-form { display: grid; gap: 12px; padding: 20px 22px; }
.mt-form h2 { margin: 0; font-size: 20px; color: #12263f; }
.mt-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; padding: 10px 12px; border-radius: 8px; background: #eef3f9; }
.mt-auto span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: #65758a; }
.mt-auto strong { font-size: 13px; color: #12263f; }
.mt-note { margin: 0; font-size: 12px; color: #65758a; }
.mt-actions { display: flex; justify-content: flex-end; gap: 10px; }
@media print { #mtDialog, #maintenanceTicketsView, #maintenanceTicketsTabBtn { display: none !important; } }

/* ---- older-history load (page/history-window.js) ------------------------------------------------------------------------------------------------------ */
/* Preserve the existing visual identity while keeping long operational text and dialogs usable. */
@media screen {
  button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #a76b09; outline-offset: 3px; }
  dialog { max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; }
  .mt-ticket, .mt-detail, .mt-auto strong, .pilot-document-copy { min-width: 0; overflow-wrap: anywhere; }
  .mt-actions, .mt-head-actions, .mt-filters { flex-wrap: wrap; }
  #mtDialog input, #mtDialog select, #mtDialog textarea { max-width: 100%; box-sizing: border-box; }
  #mtDialog label { min-width: 0; }
  [data-pilot-rename]:disabled, [data-pilot-delete]:disabled { opacity: .65; cursor: not-allowed; }
}
.dfr-loading-note { position: fixed; left: 50%; top: 12px; transform: translateX(-50%); z-index: 2147483000; padding: 8px 16px; border-radius: 8px; background: #12263f; color: #fff; font: 700 13px Arial, sans-serif; box-shadow: 0 6px 24px rgba(0,0,0,.3); }
body.dfr-loading-history #dailyPaper, body.dfr-loading-history #historyPanel, body.dfr-loading-history #mpReportsPage { pointer-events: none; opacity: .65; }
@media print { .dfr-loading-note { display: none !important; } }

/* Production visual system. Presentation only: existing handlers, permissions and print rules remain authoritative. */
@media screen {
 :root{--sb-bg:#102139;--sb-active:#235da0;--sb-w:236px;--ink:#1e3047;--muted:#5a6a7d;--line:#dbe3ec;--surface:#fff;--accent:#245f9e}
 body{background:#edf1f6!important;color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif!important;font-size:14px}
 button,input,select,textarea{font-family:inherit}
 button{transition:background-color .12s,border-color .12s}
 :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #367dc3!important;outline-offset:3px}
 :is(input,select,textarea){border-color:#bcc9d8!important;border-radius:6px;color:#21334a;background:#fff}
 :is(input,select):not([type=checkbox]):not([type=radio]){min-height:34px}
 textarea{line-height:1.5}
 button:disabled{cursor:not-allowed}
 .toolbar{background:#fff!important;border-bottom:1px solid var(--line)!important;box-shadow:0 2px 9px #172b4510!important}
 .toolbar-top{padding:12px 18px!important;min-height:55px;gap:12px}
 .dfr-header-right{gap:14px}.dfr-clock{color:#5a6a7d;font-weight:500}
 .auth-session-strip{background:#f2f5f9!important;border:1px solid var(--line);border-radius:7px}
 .dfr-sidebar{box-shadow:none;border-right:1px solid #203954}
 .dfr-sb-top{padding:16px 12px 10px}.dfr-sb-rail{padding:8px 12px}
 .dfr-sb-item{min-height:44px;border-radius:6px;font-size:12px;font-weight:650;letter-spacing:.55px}
 .dfr-sb-subitem{font-size:12px;letter-spacing:0;font-weight:500;min-height:35px}
 .dfr-sb-bottom-wrap{padding:12px}.dfr-sb-identity{padding:12px 24px}
 .wrap{max-width:1600px;padding:22px!important}
 .paper,.command-panel,.feature-card,.info-section,.ms-card,.mp-card{background:#fff!important;border:1px solid var(--line)!important;border-radius:10px!important;box-shadow:0 3px 12px #23364e06!important}
 .command-panel,.feature-card,.info-section{padding:20px!important}
 .command-panel-head h2,.feature-card h3{color:var(--ink);letter-spacing:-.25px}
 .command-panel-note,.feature-card-kicker,.mp-kicker{color:#58718e!important;font-size:10px;letter-spacing:1px}
 .command-grid,.ms-grid{gap:16px!important}
 .command-metric{border-radius:8px!important;background:#f5f8fb!important;border:1px solid #e3eaf2!important;padding:14px!important}
 .command-metric strong{color:#244c7c!important}.command-metric small{color:#52657b!important}
 .command-action{border-radius:7px!important;border-color:var(--line)!important;background:#f8fafc!important;color:var(--ink)!important}
 .command-action.primary,.ms-primary{background:#245f9e!important;color:#fff!important;border-color:#245f9e!important}
 .ms-hero{background:#fff!important;color:var(--ink)!important;border:1px solid var(--line);border-radius:10px;padding:20px!important}
 .ms-hero h2{font-size:24px!important}.ms-eyebrow{color:#54708d!important}.ms-note{color:#58697b!important}
 .home-tfr-panel{background:#f7faff!important;border-left:3px solid #447ab1!important}
 .home-tfr-copy h2{color:var(--ink)!important}.home-tfr-primary{background:#245f9e!important}
 .feature-page-hero,.mp-page-hero{background:#fff!important;color:var(--ink)!important;border-bottom:1px solid var(--line);padding:24px!important}
 .feature-page-hero h2,.mp-page-hero h2{font-size:25px!important;color:var(--ink)!important;letter-spacing:-.6px}
 th{background:#edf2f7!important;color:#40566f!important;font-size:11px;letter-spacing:.2px}
 td{border-color:#e0e6ee!important}tbody tr:hover{background:#f7faff}
 dialog{border:1px solid var(--line)!important;border-radius:12px!important;padding:26px!important;box-shadow:0 24px 70px #091b3940!important;color:var(--ink)}
 dialog::backdrop{background:#0c1c35a6}
 #managedAccountTools{background:#173e68;color:white;border:1px solid #35648e;border-radius:7px;padding:10px 16px;box-shadow:0 3px 14px #14243c28}
 #managedAccountDialog h2{margin-top:0}#managedAccountDialog h3{border-top:1px solid var(--line);padding-top:22px}
 #managedAccountDialog button{background:#245f9e;color:white;padding:10px 14px;border:0;border-radius:6px}
 .dfr-overview{margin-bottom:20px}.dfr-overview h1{font-size:27px;letter-spacing:-.7px;margin:4px 0 7px;color:#172b45}
 .dfr-overview p{color:#5b6d82;margin:0 0 16px}.dfr-overview-kicker{font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:#456b95;font-weight:700}
 .dfr-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
 .dfr-summary-card{display:block;text-align:left;background:#fff;border:1px solid var(--line);border-radius:9px;padding:17px 20px;color:var(--ink)}
 button.dfr-summary-card{cursor:pointer}.dfr-summary-card span{display:block;color:#5a708a;font-size:11px;font-weight:650;letter-spacing:.6px;text-transform:uppercase}
 .dfr-summary-card strong{display:block;font-size:23px;margin-top:7px;letter-spacing:-.5px}.dfr-summary-card small{display:block;margin-top:5px;color:#617185}
 .dfr-agency-label{font-size:12px;font-weight:650;color:#355674;max-width:290px;overflow-wrap:anywhere}
 #dfrAgencyGate{background:#0d1e34!important;color:#e7eef7!important;position:relative;padding:36px 16px;box-sizing:border-box}
 #dfrAgencyGate section{width:min(480px,100%)!important;background:#142a44!important;border:1px solid #34516f!important;border-radius:12px!important;padding:40px!important;box-shadow:0 25px 80px #020a164d!important}
 #dfrAgencyGate h1{letter-spacing:5px;font-size:42px!important;color:#fff;margin:0}
 #dfrAgencyGate h1:before{content:'';display:block;width:38px;height:4px;background:#669fd7;margin-bottom:20px}
 #dfrAgencyGate h2{font-size:23px;line-height:1.25;overflow-wrap:anywhere;color:#fff}
 #dfrAgencyGate p{line-height:1.55;color:#b9c9dc;font-size:14px}
 #dfrAgencyGate label{font-size:13px;font-weight:600;color:#e5edf7!important;margin-top:22px!important}
 #dfrAgencyGate input{background:#0c2037!important;border:1px solid #536b87!important;color:white!important;min-height:46px}
 #dfrAgencyGate input::placeholder{color:#a2b4c9}
 #dfrAgencyGate button{background:#3573b4!important;color:#fff!important;border:1px solid #5288bf!important;font-weight:650;min-height:45px}
 #dfrAgencyGate button.secondary{background:transparent!important;border:1px solid #4b6581!important;color:#d7e4f3!important;margin-top:10px!important}
 #dfrAgencyGate a{color:#a5d0ff}#dfrAgencyGate [role=status]{color:#f1c892!important}
 #dfrAgencyGate :focus-visible{outline-color:#b2d6ff!important}
 @media(max-width:1050px){.wrap{padding:16px!important}.dfr-clock{display:none}.command-grid{grid-template-columns:1fr!important}.dfr-summary-card{padding:14px}.dfr-summary-card strong{font-size:20px}}
 @media(max-width:760px){.dfr-summary-grid{grid-template-columns:1fr}.dfr-overview h1{font-size:23px}.toolbar-top{flex-wrap:wrap}.dfr-header-right{justify-content:flex-start}.wrap{padding:12px!important}#dfrAgencyGate section{padding:28px!important}.ms-grid{grid-template-columns:1fr!important}.feature-page-hero,.mp-page-hero{padding:16px!important}}
 @media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
}
@media print{.dfr-overview,.dfr-agency-label{display:none!important}}
@media screen {
 .ms-hero p{color:#52677f!important}
 #authSessionBar:not([hidden]){display:flex!important;width:auto;max-width:420px;font-size:11px;padding:6px 10px}
 #authSessionBar .auth-session-note{display:none}
 #managedAccountTools{bottom:30px!important}
 @media(max-width:850px){.dfr-header-right{flex-wrap:wrap}.ms-grid{grid-template-columns:1fr!important}}
}
@media screen{.dfr-recent{margin:18px 0}.dfr-recent li{line-height:1.6;padding:8px 0;overflow-wrap:anywhere;color:#51677f}.dfr-recent button{background:#edf3fa;color:#23588e;padding:8px 12px;border:1px solid #c9d8e9;border-radius:6px}.ms-card:has(#msRecords){display:none}.ms-grid{grid-template-columns:1fr 1fr!important}}
@media screen and (max-width:850px){.ms-grid{grid-template-columns:1fr!important}}
@media screen{.mp-form-grid label,.mp-form-grid input,.mp-form-grid select,.mp-form-grid textarea{font-size:13px!important}.mp-help,.feature-page-hero p,.mp-page-hero p{font-size:12px!important;line-height:1.5}.brand-kicker{font-size:10px!important}.feature-card-head h3{font-size:18px!important}.mp-button,.mp-back{font-size:11px!important;padding:10px 14px!important}}
/* Shared command-center tokens, explicitly scoped to screens so paper stays white. */
@media screen {
 :root{color-scheme:light;--dfr-bg:#edf2f7;--dfr-panel:#fff;--dfr-raised:#f4f7fb;--dfr-input:#fff;--dfr-text:#203249;--dfr-muted:#52667d;--dfr-border:#ccd7e4;--dfr-blue:#245f9e;--dfr-link:#235f9e;--dfr-good:#246544;--dfr-warn:#805916;--dfr-bad:#a13838;--surface:var(--dfr-panel);--ink:var(--dfr-text);--line:var(--dfr-border)}
 :root[data-theme=dark]{color-scheme:dark;--dfr-bg:#101b2b;--dfr-panel:#18273b;--dfr-raised:#203249;--dfr-input:#122135;--dfr-text:#e2eaf5;--dfr-muted:#acbfd5;--dfr-border:#3c526b;--dfr-blue:#326db0;--dfr-link:#9bcaff;--dfr-good:#91dcaf;--dfr-warn:#f2cd80;--dfr-bad:#ffaaaa;--muted:var(--dfr-muted);--accent:#89bafa}
 html body{background:var(--dfr-bg)!important;color:var(--dfr-text)!important}
 html body :is(.paper,.command-panel,.feature-card,.info-section,.ms-card,.mp-card,.ms-hero,.feature-page-hero,.mp-page-hero,.toolbar,.auth-session-strip,.dfr-summary-card,dialog,[role=dialog],[role=alertdialog],.modal-card,.modal-content,.mp-dialog-head,.mp-dialog-body,.info-toolbar,.station-availability-card,.info-document,.mp-list-item,.mp-form-grid,.wp-section){background:var(--dfr-panel)!important;color:var(--dfr-text)!important;border-color:var(--dfr-border)!important}
 html body :is(.command-metric,.command-action,.home-tfr-panel,.info-raw,.mp-empty,.mp-help,.dfr-sb-flyout){background:var(--dfr-raised)!important;color:var(--dfr-text)!important;border-color:var(--dfr-border)!important}
 html body :is(h1,h2,h3,h4,label,legend,.command-metric strong,.home-tfr-copy h2){color:var(--dfr-text)!important}
 html body :is(.dfr-overview p,.dfr-overview-kicker,.dfr-summary-card span,.dfr-summary-card small,.ms-note,.ms-eyebrow,.ms-hero p,.dfr-recent li,.command-metric small,.dfr-agency-label,.command-panel-note,.feature-card-kicker,.mp-kicker,.info-note,.mp-help,.feature-page-hero p,.mp-page-hero p){color:var(--dfr-muted)!important}
 html body :is(input,select,textarea){background:var(--dfr-input)!important;color:var(--dfr-text)!important;border:1px solid var(--dfr-border)!important;accent-color:var(--dfr-blue)}
 html body input::placeholder,html body textarea::placeholder{color:var(--dfr-muted)!important;opacity:1}
 html body :is(button,.mp-button,.mp-back){background:var(--dfr-raised);color:var(--dfr-text);border:1px solid var(--dfr-border);border-radius:6px}
 html body :is(button.primary,.mp-button.primary,.command-action.primary,.ms-primary){background:var(--dfr-blue)!important;color:#fff!important}
 html body button:hover:not(:disabled){border-color:#679cda}
 html body :is(input,select,textarea,button):disabled{opacity:.6}
 html body a{color:var(--dfr-link)}
 html body table{background:var(--dfr-panel);color:var(--dfr-text)}
 html body th{background:var(--dfr-raised)!important;color:var(--dfr-muted)!important;border-color:var(--dfr-border)!important}
 html body td{border-color:var(--dfr-border)!important}
 html body tbody tr:hover{background:var(--dfr-raised)}
 html body dialog{max-width:calc(100vw - 40px);max-height:calc(100dvh - 40px);overflow:auto}
 html body dialog::backdrop{background:#081323b8;backdrop-filter:blur(3px)}
 html body :is(.dfr-sidebar,.dfr-sb-top,.dfr-sb-rail){background:#102139;color:#dce8f6}
 html body .dfr-sidebar button{background:transparent;color:#dce8f6;border:0}
 html body .dfr-sidebar button:is(.active,[aria-current=page]){background:#235da0;color:#fff}
 html body .dfr-sidebar button:hover{background:#1b3b60}
 html body #dfrAgencyGate{isolation:isolate;background:var(--dfr-bg)!important;color:var(--dfr-text)!important;overflow:hidden}
 #dfrAgencyGate::before{content:'';position:absolute;inset:-50px;z-index:-1;background:radial-gradient(ellipse at 18% 32%,#4d91c866,transparent 32%),radial-gradient(ellipse at 80% 68%,#b7505033,transparent 22%),repeating-linear-gradient(90deg,transparent 0 130px,#4983ad33 140px 230px,transparent 240px 330px),linear-gradient(135deg,var(--dfr-bg),var(--dfr-raised));filter:blur(28px);transform:scale(1.08)}
 html body #dfrAgencyGate section{background:var(--dfr-panel)!important;border:1px solid var(--dfr-border)!important;box-shadow:0 24px 80px #08182b30!important}
 html body #dfrAgencyGate h1{font-size:14px!important;letter-spacing:1.3px!important;text-transform:uppercase;color:var(--dfr-muted)!important}
 html body #dfrAgencyGate h1:before{display:none}
 html body #dfrAgencyGate h2{font-size:26px;margin:26px 0 14px}
 html body #dfrAgencyGate :is(p,small){color:var(--dfr-muted)!important}
 html body #dfrAgencyGate label{color:var(--dfr-text)!important}
 html body #dfrAgencyGate input{background:var(--dfr-input)!important;color:var(--dfr-text)!important;border-color:var(--dfr-border)!important}
 html body #dfrAgencyGate button{background:var(--dfr-blue)!important;color:#fff!important}
 html body #dfrAgencyGate button.secondary{background:var(--dfr-raised)!important;color:var(--dfr-text)!important;border-color:var(--dfr-border)!important}
 html body #dfrAgencyGate [role=status]{color:var(--dfr-warn)!important}
 #dfrAppearance{width:690px}.dfr-close{float:right;padding:8px 12px}
 .dfr-theme-options{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:24px 0}
 .dfr-theme-options button{text-align:left;padding:12px;cursor:pointer}.dfr-theme-options strong,.dfr-theme-options small{display:block;margin-top:10px}.dfr-theme-options small{color:var(--dfr-muted)}
 .dfr-theme-options button[aria-pressed=true]{outline:3px solid #578fce;outline-offset:2px}
 .dfr-theme-preview{display:block;height:86px;border:1px solid #8c9caf;border-radius:5px;background:linear-gradient(90deg,#102139 25%,#eef2f7 25%);padding:12px 10px 12px 35%;box-sizing:border-box}
 .dfr-theme-preview.dark{background:linear-gradient(90deg,#102139 25%,#18273b 25%)}.dfr-theme-preview.system{background:linear-gradient(90deg,#102139 25%,#eef2f7 25% 60%,#18273b 60%)}
 .dfr-theme-preview i{display:block;height:10px;margin:5px 0;background:#7b9bbf;border-radius:2px}
 .dfr-appearance-section{margin:20px}.dfr-appearance-section button{padding:10px 16px}
 *{scrollbar-color:var(--dfr-border) var(--dfr-bg)}
 @media(max-width:1100px){.dfr-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wrap{min-width:0}.mp-page{overflow-x:auto}}
 @media(max-width:600px){.dfr-theme-options,.dfr-summary-grid{grid-template-columns:1fr}}
}
@media print{html,body{color-scheme:light!important;background:white!important;color:black!important}#dfrAppearance,.dfr-appearance-section{display:none!important}}
@media screen {
 html body :is(.control-group,.station-availability-reset,.ops-box,.ops-block,.inventory-admin-badge,.inventory-table-wrap,.mt-ticket,.cc-tabs,.cc-task,.manage-panel,.manage-card,.manage-pilot-row,.manage-personnel-box,.training-matrix-wrap,#myShiftPanel,.mt-auto,.mp-message,.mp-message-body,.mp-message-compose,.auth-modal-card,.security-modal-card,.part107-modal-card,.aviation-check-card,.dfr-app-dialog-card,.profile-section,.profile-card){background:var(--dfr-panel)!important;color:var(--dfr-text)!important;border-color:var(--dfr-border)!important}
 html[data-theme=dark] body :is(.control-group,.ms-card,.cc-task,.mt-ticket,.manage-card,.ops-box,.ops-block,.inventory-table-wrap,.training-matrix-wrap,dialog,[role=dialog],[role=alertdialog]) :is(p,span,strong,small,div,td){color:var(--dfr-text)}
 html body :is(.cc-tabs button,.cc-task button,.manage-toolbar-back){background:var(--dfr-raised)!important;color:var(--dfr-text)!important;border-color:var(--dfr-border)!important}
 html body :is(.auth-session-name,.auth-session-role,#authSessionName,.station-availability-summary,.station-availability-empty,.dfr-clock){color:var(--dfr-muted)!important}
 html body :is(.inventory-empty,.training-matrix-summary>div,.training-matrix-summary){background:var(--dfr-raised)!important;color:var(--dfr-text)!important}
 .dfr-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.dfr-summary-card{min-height:132px}
 html body .dfr-summary-card strong{font-size:25px;color:var(--dfr-text)}
 html body .dfr-summary-card small{line-height:1.5}
 @media(max-width:1280px){.dfr-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
 @media(max-width:600px){.dfr-summary-grid{grid-template-columns:1fr}}
}
@media screen {
 html body :is(.msg-thread,.compact-weather-title,.ms-weather-meta,.weather-auto-row,.inventory-note,.manage-cow-current,.security-summary,.manage-order-note,.matrix-summary>div,.cc-top-actions button,.cc-stats button,.cc-filters button,.cc-tabs button.active){background:var(--dfr-raised)!important;color:var(--dfr-text)!important;border-color:var(--dfr-border)!important}
 html body :is(.auth-session-role,.mt-pill,.mt-status,.cc-pill,.matrix-state,.station-status-pill){background:var(--dfr-raised)!important;color:var(--dfr-text)!important;border:1px solid var(--dfr-border)!important}
 html body :is(.matrix-state.good,.station-availability-card.status-available .station-status-pill,.mt-resolved){color:var(--dfr-good)!important;border-color:var(--dfr-good)!important}
 html body :is(.matrix-state.warn,.cc-pill.review,.mt-urgent,.station-availability-card.status-maintenance .station-status-pill){color:var(--dfr-warn)!important;border-color:var(--dfr-warn)!important}
 html body :is(.matrix-state.bad,.mt-safety,.station-availability-card.status-out-of-service .station-status-pill){color:var(--dfr-bad)!important;border-color:var(--dfr-bad)!important}
 html body :is(.msg-empty,.msg-subtitle,.mt-intro,.mt-ticket-meta,.inventory-note,.inventory-empty,.mp-empty,.cc-empty,.matrix-note){color:var(--dfr-muted)!important}
 html body .cc-tabs button.active{box-shadow:inset 0 -3px #4e8dcc}
 html body :is([role=alert],.error,.mp-error){color:var(--dfr-bad)!important}
}
@media screen{html body #dailyPaper{max-width:100%;min-width:0;overflow-x:auto;box-sizing:border-box}html body [aria-labelledby=dfr-tab-guard-title]>div{background:var(--dfr-panel)!important;color:var(--dfr-text)!important}html body .dfr-sidebar .dfr-sb-item.dfr-sb-current{background:#235da0;color:#fff}}
@media screen and (max-width:1280px){html body .manage-grid{grid-template-columns:minmax(0,1fr)}html body .manage-panel{max-width:100%;min-width:0;box-sizing:border-box;overflow-x:auto}}
@media screen {
 html body :is(.registration-warnings,.manage-station-row,.manage-delete-btn,.inspection-note,.inspection-hint,.inspection-help,.inspection-readonly-note,.weather-note,.weather-source,.weather-status){background:var(--dfr-raised)!important;color:var(--dfr-muted)!important;border-color:var(--dfr-border)!important}
 html body :is(.station-availability-name strong,.station-availability-name small,.manual-weather-row a,.manual-weather-row span,.inspection-note,.small-note){color:var(--dfr-muted)!important}
 html[data-theme=dark] body :is([style*="background:#fff"],[style*="background: #fff"],[style*="background:white"],[style*="background: white"]){background:var(--dfr-panel)!important;color:var(--dfr-text)!important}
 html[data-theme=dark] body :is(.compact-weather,.preflight-section,.activity-section) :is(p,small,span,a){color:var(--dfr-muted)!important}
}
@media screen {
 html body :is([class$="-dialog-head"],[class$="-dialog-body"],[class$="-dialog-footer"],[class$="-modal-card"],.toast,.notification,.tooltip,.menu,.dropdown-menu,.msg-compose,.msg-recipient-list,.msg-bubble,.mt-manage,.mt-grid>div,.mt-history li){background:var(--dfr-panel)!important;color:var(--dfr-text)!important;border-color:var(--dfr-border)!important}
 html[data-theme=dark] body dialog :is(p,small,span,label,dt,dd){color:var(--dfr-text)}
 html body :is(.maintenance-tab.active,.mt-filter.active,.msg-tab.active,.mp-tab.active){background:var(--dfr-blue)!important;color:#fff!important;border-color:var(--dfr-blue)!important}
 html body :is(.station-availability-card,.dfr-summary-card){background:var(--dfr-panel)!important}
}
@media screen{html body :is(.weather-metar-raw,.weather-source-line,.inspection-key,.inspection-status-help){background:var(--dfr-raised)!important;color:var(--dfr-muted)!important;border-color:var(--dfr-border)!important}}

@media screen{html body #authSessionBar #authChangeMyPinBtn{display:none!important}}
/* Command workspace composition. All dimensional rules stay out of paper output. */
@media screen {
 :root{--dfr-surface:var(--dfr-panel);--dfr-surface-raised:var(--dfr-raised);--dfr-surface-muted:var(--dfr-bg);--dfr-sidebar:#071b30;--dfr-sidebar-hover:#102f4c;--dfr-sidebar-active:#246cd8;--dfr-primary:#246cd8;--dfr-primary-hover:#1c57b2;--dfr-success:var(--dfr-good);--dfr-warning:var(--dfr-warn);--dfr-danger:var(--dfr-bad);--dfr-info:var(--dfr-link);--dfr-text-muted:var(--dfr-muted);--dfr-text-subtle:var(--dfr-muted);--dfr-border-strong:#7187a0;--dfr-shadow-sm:0 2px 8px #071b3006;--dfr-shadow-md:0 16px 48px #071b3015;--dfr-radius-sm:6px;--dfr-radius-md:10px;--dfr-radius-lg:14px;--dfr-space:8px;--sb-w:240px;--sb-bg:var(--dfr-sidebar);--dfr-bg:#f1f4f9;--dfr-border:#dce3ed}
 :root[data-theme=dark]{--dfr-bg:#101c2c;--dfr-panel:#18283c;--dfr-raised:#20334a;--dfr-border:#2e435c}
 html body .wrap{max-width:1800px;padding:28px 32px!important}
 html body :is(.dfr-sidebar,.dfr-sb-top,.dfr-sb-rail){background:var(--dfr-sidebar)}
 .dfr-product{padding:30px 24px 18px;color:#f0f6ff;line-height:1.5;white-space:nowrap}.dfr-product strong{font-size:19px;letter-spacing:-.5px}.dfr-product small{display:block;color:#94acc5;font-size:12px}
 .dfr-sb-collapsed .dfr-product{display:none}
 html body .dfr-sidebar .dfr-sb-current{background:var(--dfr-sidebar-active)!important}.dfr-sb-rail{padding-top:20px!important}.dfr-sb-item{margin-bottom:5px;min-height:46px!important}
 .toolbar-top>.brand-block{display:none!important}.dfr-header-agency{margin-right:auto;min-width:0}.dfr-header-agency strong{font-size:18px;display:block}.dfr-header-agency small{display:block;color:var(--dfr-muted);font-size:11px;margin-top:5px}
 html body .toolbar-top{min-height:80px;padding:12px 32px!important}.dfr-clock{display:none}.dfr-header-right{margin-left:auto}
 html body #authSessionBar{background:transparent!important;border:0;gap:10px;box-shadow:none}.dfr-avatar{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;background:var(--dfr-raised);color:var(--dfr-link);border:1px solid var(--dfr-border);border-radius:50%;font-weight:700}
 .dfr-eyebrow{font-size:10px;font-weight:700;letter-spacing:1.7px;color:var(--dfr-muted)}.dfr-page-heading{display:flex;justify-content:space-between;margin-bottom:24px}.dfr-overview h1{font-size:30px!important;font-weight:650;margin-top:10px}.dfr-overview p{font-size:14px;margin-top:10px}
 .dfr-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.dfr-summary-card{position:relative;min-height:134px!important;padding:22px!important;border-radius:var(--dfr-radius-md)!important;box-shadow:var(--dfr-shadow-sm)}.dfr-summary-card svg{float:right;color:var(--dfr-link);padding:7px;box-sizing:content-box;background:var(--dfr-raised);border-radius:8px}.dfr-summary-card span{max-width:75%;font-size:10px!important;letter-spacing:1px!important}.dfr-summary-card strong{font-size:27px!important;margin:14px 0 4px}.dfr-summary-card small{font-size:11px}
 .dfr-dashboard-major,.dfr-dashboard-lower{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:22px;margin-top:22px}.dfr-panel{min-width:0;background:var(--dfr-panel);border:1px solid var(--dfr-border);border-radius:var(--dfr-radius-md);box-shadow:var(--dfr-shadow-sm);overflow:hidden}.dfr-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 24px;border-bottom:1px solid var(--dfr-border)}.dfr-panel-heading h2{font-size:16px;margin:0;font-weight:650}.dfr-panel-heading button{background:transparent!important;border:0!important;color:var(--dfr-link)!important;font-size:11px;white-space:nowrap;padding:6px}
 .dfr-panel-note{font-size:12px;line-height:1.6;color:var(--dfr-muted);margin:16px 24px}.dfr-weather-state{padding:26px 24px 12px}.dfr-weather-state strong{display:block;font-size:28px;font-weight:600;margin:12px 0}.dfr-weather-state p{font-size:12px;color:var(--dfr-muted);line-height:1.7;max-width:390px}#dfrWeatherPanel #msWeather{margin:0 24px 20px;padding:12px 16px;background:var(--dfr-raised);border-radius:8px;font-size:12px;line-height:1.6;color:var(--dfr-muted)}
 .dfr-item-list{list-style:none;padding:0;margin:0 24px 20px}.dfr-item-list li{padding:16px 0;border-bottom:1px solid var(--dfr-border)}.dfr-item-list li:last-child{border-bottom:0}.dfr-item-list strong{font-size:13px;display:block;font-weight:600}.dfr-item-list small{display:block;font-size:12px;line-height:1.6;color:var(--dfr-muted);margin-top:6px;overflow-wrap:anywhere}
 .dfr-disclosure{border:1px solid var(--dfr-border);background:var(--dfr-panel);border-radius:8px;min-width:0}.dfr-disclosure>summary{padding:16px 20px;cursor:pointer;font-weight:600;font-size:12px;color:var(--dfr-muted)}.dfr-panel>.dfr-disclosure{border-width:1px 0 0;border-radius:0}.dfr-dashboard-secondary{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}.dfr-dashboard-secondary>.dfr-disclosure[open]{grid-column:1/-1}.dfr-disclosure .command-grid{padding:16px}.dfr-disclosure #stationAvailabilityPanel{margin:0;border:0!important;border-radius:0!important}.dfr-disclosure #homeTfrPanel{margin:0}.dfr-disclosure .ms-hero{border:0!important}.dfr-disclosure .station-availability-toolbar{flex-wrap:wrap}
 html body .paper:has(>.mp-page-hero),html body .paper:has(>.feature-page-hero){border:0!important;box-shadow:none!important;background:transparent!important;overflow:visible}.mp-page-hero,.feature-page-hero{margin-bottom:20px;border-radius:0!important;background:transparent!important;padding:8px 0 24px!important}.msg-layout{display:grid!important;grid-template-columns:minmax(260px,32%) minmax(0,1fr)!important;gap:0!important;border:1px solid var(--dfr-border);border-radius:12px;overflow:hidden;min-height:580px;background:var(--dfr-panel)}html body .msg-layout>.mp-card{border:0!important;border-radius:0!important;margin:0!important;padding:0!important;box-shadow:none!important}.msg-list-card{border-right:1px solid var(--dfr-border)!important}.msg-list-head,.msg-thread-head{padding:22px!important;border-bottom:1px solid var(--dfr-border)}.msg-conversations{padding:10px}.msg-thread{min-height:370px!important}.msg-compose{padding:18px!important}.msg-thread-head h3,.msg-list-head h3{font-size:15px}.msg-empty{padding:32px!important;line-height:1.8}
 .dfr-operations-heading{padding:20px 12px;border-bottom:1px solid var(--dfr-border);margin-bottom:18px}.dfr-operations-heading h1{font-size:27px;margin:8px 0}.dfr-operations-heading p{color:var(--dfr-muted);font-size:12px}#dailyPaper{width:100%!important;padding:18px!important}#dailyPaper th{padding-top:12px!important;padding-bottom:12px!important}
 #droneInventoryPage .inventory-table-wrap{border:1px solid var(--dfr-border);border-radius:10px;overflow:auto}#droneInventoryPage table td{padding:13px 10px}#maintenanceTicketsView{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}#maintenanceTicketsView:has(#mtDetail:not([hidden])){grid-template-columns:minmax(0,1fr) minmax(320px,1fr)}.mt-ticket{display:block;width:100%;padding:20px!important;border-radius:6px!important;border-bottom:1px solid var(--dfr-border)!important}.mt-list{display:grid;gap:0!important}.mt-ticket-top{display:flex;align-items:center;gap:14px}.mt-status,.mt-pill{border-radius:20px!important;padding:5px 10px!important;font-size:11px!important}.mt-detail{position:sticky;top:100px;align-self:start}.info-document{padding:24px!important;border-radius:10px!important}.cc-stats{gap:16px!important}.cc-tabs{border-bottom:1px solid var(--dfr-border);padding-bottom:12px}
 html body #dfrAgencyGate{display:grid;grid-template-columns:1fr 440px;gap:8vw;padding:7vh max(7vw,24px);min-height:100dvh;background:linear-gradient(125deg,var(--dfr-bg),var(--dfr-raised))!important}html body #dfrAgencyGate[hidden]{display:none!important}#dfrAgencyGate::before{background:radial-gradient(ellipse at 20% 30%,#267cbd66,transparent 40%),radial-gradient(ellipse at 48% 70%,#a3424925,transparent 17%),repeating-linear-gradient(90deg,transparent 0 110px,#549ac933 120px 200px,transparent 215px 270px),linear-gradient(135deg,#071b3033,transparent);filter:blur(25px)}.dfr-entry-atmosphere{align-self:stretch;display:flex;flex-direction:column;justify-content:center;position:relative;min-height:450px}.dfr-entry-atmosphere>span{font-size:11px;letter-spacing:3px;color:var(--dfr-muted);position:absolute;top:10px}.dfr-entry-atmosphere>strong{font-size:clamp(36px,4.4vw,66px);line-height:1.14;letter-spacing:-2px;font-weight:600;z-index:1}.dfr-entry-atmosphere>p{font-size:15px!important;margin-top:22px;z-index:1}.dfr-command-glow{position:absolute;inset:10% 0;background:repeating-linear-gradient(0deg,transparent 0 65px,#2c78ac22 68px 70px),repeating-linear-gradient(90deg,transparent 0 65px,#2c78ac22 68px 70px);mask-image:radial-gradient(ellipse,#000,transparent 70%);transform:perspective(500px) rotateY(18deg)}html body #dfrAgencyGate section{width:100%!important;max-width:440px;padding:40px!important;backdrop-filter:blur(18px);border-radius:14px!important;box-shadow:0 24px 90px #06172a26!important}html body #dfrAgencyGate h1{font-size:11px!important;letter-spacing:1.3px!important}html body #dfrAgencyGate h2{font-size:29px!important;margin:28px 0 12px}#dfrAgencyGate input{min-height:48px}#dfrAgencyGate button{min-height:48px}#selectedAgencyCode::before{content:'Agency Code: '}
 #dfrAppearance{width:850px!important;padding:36px!important}.dfr-theme-options{gap:20px}.dfr-theme-options button{padding:16px!important;border-radius:12px!important;position:relative}.dfr-theme-options button[aria-pressed=true]::after{content:'✓';position:absolute;right:14px;bottom:34px;color:var(--dfr-link);font-weight:bold}.dfr-theme-preview{height:125px!important}.dfr-appearance-section{margin:24px 0}.dfr-appearance-preview{height:130px;background:var(--dfr-bg);border:1px solid var(--dfr-border);border-radius:8px;display:grid;grid-template-columns:65px 1fr;overflow:hidden}.dfr-appearance-preview aside{background:var(--dfr-sidebar)}.dfr-appearance-preview div{padding:15px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.dfr-appearance-preview i{border:1px solid var(--dfr-border);background:var(--dfr-panel);border-radius:5px}
 @media(max-width:1280px){html body .wrap{padding:22px!important}.dfr-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dfr-panel-heading{padding:18px}.dfr-weather-state strong{font-size:23px}}
 @media(max-width:1050px){.dfr-dashboard-major,.dfr-dashboard-lower{grid-template-columns:1fr}.dfr-dashboard-secondary{grid-template-columns:1fr}html body #dfrAgencyGate{gap:5vw;padding:6vh 4vw;grid-template-columns:1fr 400px}.dfr-entry-atmosphere>strong{font-size:40px}.dfr-header-agency strong{font-size:15px}.dfr-header-right{gap:4px}.dfr-product{padding-left:14px}#maintenanceTicketsView:has(#mtDetail:not([hidden])){grid-template-columns:1fr}.mt-detail{position:static}}
 @media(max-width:800px){html body #dfrAgencyGate{display:flex;justify-content:center;padding:30px 20px}.dfr-entry-atmosphere{display:none}.msg-layout{grid-template-columns:1fr!important}.msg-thread{min-height:240px!important}.dfr-theme-options{gap:8px}#dfrAppearance{padding:22px!important}.dfr-theme-preview{height:90px!important}.dfr-header-agency{width:100%}.dfr-overview h1{font-size:24px!important}}
}
@media print{.dfr-dashboard-major,.dfr-dashboard-lower,.dfr-dashboard-secondary,.dfr-header-agency,.dfr-product,.dfr-avatar,.dfr-operations-heading{display:none!important}}
@media screen{
 html body .toolbar-controls{padding:8px 32px!important;gap:16px!important}.toolbar-controls .control-group{display:flex!important;align-items:center;gap:12px;padding:0!important;border:0!important;background:transparent!important}.toolbar-controls .control-label{margin:0!important}.toolbar-controls .pilot-group{max-width:340px}.toolbar-controls .date-group{max-width:195px}.toolbar-controls .control-row{flex:1}.toolbar-controls input,.toolbar-controls select{min-height:32px!important;height:32px}.auth-session-icon{display:none!important}
 .dfr-page-heading{margin-bottom:14px}.dfr-overview h1{font-size:27px!important}.dfr-overview p{margin-bottom:10px}.dfr-summary-card{min-height:118px!important;padding:18px!important}.dfr-weather-state{padding:18px 24px 4px}.dfr-weather-state strong{font-size:25px;margin:10px 0}.dfr-weather-state p{margin:8px 0}.dfr-dashboard-major,.dfr-dashboard-lower{gap:20px;margin-top:20px}.dfr-weather-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}.dfr-weather-metrics li{padding:8px 0;border:0}.dfr-weather-metrics strong{font-size:11px;color:var(--dfr-muted)}.dfr-weather-metrics small{font-size:15px;color:var(--dfr-text)}#dfrWeatherPanel #msWeather{padding:6px 12px;margin-bottom:16px}.dfr-product{padding-top:24px}.dfr-sb-top{padding-top:0!important;padding-bottom:0!important}.dfr-sb-rail{padding-top:12px!important}
 @media(max-width:800px){html body .toolbar-controls{padding:8px 16px!important}.toolbar-controls .control-group{max-width:100%}.dfr-weather-metrics{grid-template-columns:1fr 1fr}}
}
@media screen{.dfr-ticket-table-scroll{overflow:auto}.dfr-ticket-table{width:100%;border-collapse:collapse;min-width:660px}.dfr-ticket-table .mt-ticket{display:table-row;padding:0!important}.dfr-ticket-table td{padding:18px 12px;vertical-align:top;font-size:12px}.dfr-ticket-table th{padding:14px 12px;text-align:left}.dfr-ticket-table small,.dfr-ticket-table .mt-ticket-btn span{display:block;margin-top:8px;font-size:11px;color:var(--dfr-muted);line-height:1.5}.dfr-ticket-table .mt-ticket-btn{padding:0!important;text-align:left;border:0!important;background:transparent!important}.dfr-ticket-table .mt-ticket-btn strong{color:var(--dfr-link)}.dfr-ticket-table .mt-status,.dfr-ticket-table .mt-pill{display:inline-block;white-space:nowrap}.dfr-ticket-table .selected{box-shadow:inset 3px 0 var(--dfr-primary)}.dfr-ticket-table .sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}#maintenanceTicketsView:has(#mtDetail:not([hidden])){grid-template-columns:1fr}.mt-detail{position:static}}
@media screen{
 html body .inventory-hero{display:flex;align-items:center;justify-content:space-between;background:transparent!important;padding:8px 0 24px!important;margin-bottom:18px;border-bottom:1px solid var(--dfr-border);gap:18px}.inventory-hero h2{font-size:27px!important;font-weight:650!important;text-transform:none!important;margin:6px 0!important}.inventory-hero p{font-size:13px!important;font-weight:400!important;color:var(--dfr-muted)!important}.inventory-kicker{font-size:10px!important;letter-spacing:1.5px}.inventory-content{padding:0!important}html body #droneInventoryPage{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}.inventory-toolbar{padding:14px 0}.inventory-content>.dfr-disclosure{margin:12px 0 18px}.inventory-table-wrap{background:var(--dfr-panel)}.inventory-note{font-size:12px!important;font-weight:400!important;line-height:1.6}.inventory-table th{font-size:10px!important}.inventory-table{min-width:1100px}.inventory-hero #addDroneInventoryBtn{min-width:140px;padding:12px 16px!important;background:var(--dfr-primary)!important;color:white!important}
 html body .cc-top{background:var(--dfr-panel)!important;border-bottom:1px solid var(--dfr-border);padding:24px 30px}.cc-top p,.cc-eyebrow{color:var(--dfr-muted)!important}.cc-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.cc-stats strong{color:var(--dfr-text)!important}.cc-task-list{gap:0;border:1px solid var(--dfr-border);border-radius:10px;overflow:hidden}.cc-task{border:0!important;border-bottom:1px solid var(--dfr-border)!important;border-radius:0!important}.cc-task:last-child{border-bottom:0!important}html body .cc-task,html body .cc-audit,html body .cc-content,html body .cc-tabs{background:var(--dfr-panel)!important;color:var(--dfr-text)!important}.cc-task p,.cc-stats span{color:var(--dfr-muted)!important}
 .info-document-grid{grid-template-columns:1fr!important}.info-document{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px 20px;align-items:center}.info-document .info-document-icon{grid-column:1;grid-row:1/3;justify-self:start}.info-document h3{grid-column:2;margin:0!important}.info-document p{grid-column:2;margin:0!important}.info-document .mp-actions{grid-column:3;grid-row:1/3;margin:0!important}.info-toolbar{padding:16px 20px!important;border:1px solid var(--dfr-border);border-radius:10px}.info-document h3{font-size:15px!important}
 @media(max-width:800px){.info-document{grid-template-columns:40px 1fr}.info-document .mp-actions{grid-column:2;grid-row:auto}.cc-stats{grid-template-columns:1fr 1fr}}
}
@media screen{
 html body .toolbar{padding:0!important;gap:0!important}.toolbar-top{width:100%}html body .toolbar-top{min-height:72px!important}html body .toolbar-controls{width:100%;display:flex!important;align-items:center;min-height:46px;padding-top:6px!important;padding-bottom:6px!important}.toolbar-controls .pilot-group{flex:1}.toolbar-controls .date-group{flex:none}.toolbar-controls .control-group{min-height:32px!important}.toolbar-controls .date-group input{width:140px}
 body.view-extra>.wrap:not(.mp-extra-wrap){display:none!important}body>.wrap:has(>.mp-page):not(:has(>.mp-page:not([hidden]))){display:none!important}
 html body .mp-page{padding:0!important}html body .mp-page-hero,html body .feature-page-hero{background:transparent!important}.dfr-weather-metrics:has(li:only-child small:empty){display:none}.dfr-summary-card strong{font-size:26px!important}
 #maintenanceTicketsView[hidden]{display:none!important}
}
@media screen and (min-width:1051px){html body #dfrAgencyGate{grid-template-columns:440px minmax(0,1fr);padding-left:16vw;padding-right:10vw;gap:8vw}#dfrAgencyGate>section{grid-column:1;grid-row:1}.dfr-entry-atmosphere{grid-column:2;grid-row:1}.dfr-entry-atmosphere>strong{font-size:38px;letter-spacing:-1px;color:var(--dfr-muted)}.dfr-entry-atmosphere>p{font-size:13px!important}}
@media screen{.mp-utility-button svg{vertical-align:middle}.dfr-summary-card svg{width:20px;height:20px}.dfr-panel-heading button:hover{text-decoration:underline}}
@media screen{
 #dailyPaper .preflight-section:not(.dfr-preflight-open)>.preflight-inner{display:none!important}#dailyPaper .preflight-section{min-height:0!important;margin:0 0 20px!important;padding:0!important;border:0!important;break-after:auto!important}.dfr-preflight-toggle{width:100%;padding:14px 18px;text-align:left;font-weight:600;color:var(--dfr-link)!important;background:var(--dfr-raised)!important}.dfr-preflight-toggle:before{content:'▸';margin-right:12px}.dfr-preflight-toggle[aria-expanded=true]:before{content:'▾'}.dfr-preflight-open .preflight-inner{padding:18px 0}.dfr-operations-heading{padding:10px 0 16px}.dfr-operations-heading h1{font-size:25px}.dfr-operations-heading p{margin-bottom:0}#dailyPaper .activity-section{padding-top:0!important;min-height:0!important}.dfr-operations-heading+.preflight-section{margin-top:0!important}
 html body #authSessionName{font-size:13px!important;font-weight:600}html body #authSessionRole{display:block;font-size:10px!important;border:0!important;background:transparent!important;padding:3px 0!important}#authSessionBar>div:first-of-type{display:flex;flex-direction:column;align-items:flex-start}.dfr-header-agency strong{font-size:17px}
}
@media screen{.dfr-sb-bottom-wrap{max-height:35vh;overflow-y:auto;flex-shrink:0}.dfr-sb-rail{min-height:180px}.dfr-product,.dfr-sb-top,.dfr-sb-identity{flex-shrink:0}html body .mt-filter span{background:var(--dfr-raised)!important;color:var(--dfr-text)!important;border:1px solid var(--dfr-border)}html body .info-document p{color:var(--dfr-muted)!important}}
@media print{
 body.print-current-maintenance #maintenanceTicketsView:not([hidden]){display:block!important}#maintenanceTicketsView .mt-head-actions,#maintenanceTicketsView .mt-filters{display:none!important}.dfr-ticket-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:8pt;color:#111;background:white}.dfr-ticket-table th,.dfr-ticket-table td{padding:5pt;border:1px solid #bbb;overflow-wrap:anywhere;color:#111;background:white}.dfr-ticket-table small,.dfr-ticket-table span{display:block;font-size:8pt;color:#111}.dfr-ticket-table .mt-ticket-btn{display:block!important;color:#111!important;background:white!important;border:0!important;padding:0!important;font-size:8pt!important}.dfr-ticket-table .mt-status,.dfr-ticket-table .mt-pill{color:#111;background:white;border:0}.dfr-ticket-table-scroll{overflow:visible}
}
@media screen{:root{--sb-w-collapsed:72px}}
