/* Fleet Watch responsive carrier profile v1 */
body:has(.fw-carrier-profile){background:radial-gradient(ellipse at 85% 0,#142532 0,transparent 55%),#080e13}
body:has(.fw-carrier-profile) .app-shell{max-width:1800px}
body:has(.fw-carrier-profile) .brand-mark{border:2px solid #ff594a;border-radius:50%;background:transparent;color:#ff594a;box-shadow:0 0 12px #ff594a40;font:24px Georgia,serif}
body:has(.fw-carrier-profile) .brand strong{font-family:Georgia,serif;letter-spacing:.12em}
.fw-carrier-profile{--fw-edge:#435563;--fw-sage:#86b49a;display:block!important;color:#f4f7fa;line-height:1.55}
.fw-carrier-profile .carrier-header{position:relative;isolation:isolate;min-height:220px;padding:28px 30px;border:1px solid #334552;border-radius:18px;background:linear-gradient(135deg,#14212b,#0a1219 75%);margin-bottom:22px;overflow:hidden}
.fw-profile-kicker{color:#b9c6d0;margin:0 0 8px;font:18px Georgia,serif}
.fw-carrier-profile .carrier-header h1{font:500 clamp(36px,4.5vw,70px)/1.08 Georgia,serif;margin:12px 0;max-width:75%;text-wrap:balance}
.fw-carrier-profile .carrier-kicker{display:flex;gap:10px;flex-wrap:wrap}
.fw-carrier-profile .carrier-kicker span{border:1px solid #657783;border-radius:999px;padding:5px 13px;letter-spacing:.08em;background:#0c1721a8}
.fw-profile-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:20px;align-items:start}
.fw-profile-grid>*{min-width:0;margin:0!important}
.fw-profile-grid .fw-full-width{grid-column:1/-1}
.fw-carrier-profile :is(.carrier-section,.carrier-tender-gauge,.information-panel){background:linear-gradient(130deg,#182632c4,#0a131bed);border:1px solid var(--fw-edge);border-radius:16px;box-shadow:inset 0 1px 0 #ffffff12,0 10px 24px #00000025;overflow:hidden}
.fw-carrier-profile .carrier-tender-gauge{padding:24px;border-color:#9e896a;box-shadow:inset 0 1px 0 #f6d59155,0 0 16px #e8c4810b}
.fw-carrier-profile :is(h2,h3,h4,.section-title strong){font-family:Georgia,serif;font-weight:500;color:#f4f7fa}
.fw-carrier-profile h2{font-size:clamp(23px,2vw,34px);margin:0}
.fw-carrier-profile .carrier-tender-gauge>header{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.fw-carrier-profile .tender-rating{font-size:13px;max-width:100%;overflow-wrap:anywhere;border:1px solid currentColor;border-radius:999px;padding:6px 12px}
.fw-carrier-profile .carrier-section>summary{background:transparent;min-height:70px;padding:18px;gap:12px}
.fw-carrier-profile .section-title strong{font-size:clamp(21px,1.9vw,29px)}
.fw-carrier-profile .section-title small{font-size:12px;line-height:1.5;color:#acbcc9}
.fw-carrier-profile .section-index{color:#a9bdcc}
.fw-carrier-profile .section-state{font-size:10px}
.fw-carrier-profile .carrier-section[open]>summary{background:#ffffff03;border-bottom:1px solid #44546270}
.fw-carrier-profile .section-body{padding:20px;min-width:0}
.fw-carrier-profile :is(.metric,.tender-metrics>div,.record-card,.nested-record){background:#101c2570;border-color:#42546380}
.fw-carrier-profile :is(.source-note,.source-banner,.section-disclaimer,.tender-policy-note,[data-tender-status]){font-size:12px;line-height:1.6;color:#b5c4d0}
.fw-carrier-profile .sms-measure{display:grid;grid-template-columns:minmax(110px,1fr) minmax(80px,1.6fr) auto;gap:12px;align-items:center;margin:17px 0}
.fw-carrier-profile .sms-track{height:12px;border:1px solid #617d8b66;border-radius:999px;background:#293b48;overflow:visible}
.fw-carrier-profile .sms-track i{height:100%;border-radius:inherit;background:linear-gradient(90deg,#00e59a 0%,#ffe34b 52%,#ff405e 100%);box-shadow:inset 0 2px 2px #ffffff80,0 0 8px #00e59a30}
.fw-assessment-overview{display:grid;grid-template-columns:minmax(170px,.9fr) minmax(0,1fr);gap:25px;align-items:center;margin:22px 0}
.fw-arc{position:relative;min-width:0;align-self:start}.fw-arc svg{width:100%;display:block;overflow:visible}
.fw-arc-base,.fw-arc-value{fill:none;stroke-width:17;stroke-linecap:butt}.fw-arc-base{stroke:#354550}.fw-arc-value{filter:drop-shadow(0 0 5px #ffffff50)}
.fw-arc-number{position:absolute;top:49%;left:0;right:0;text-align:center;font:42px Georgia,serif}
.fw-arc-caption{position:absolute;top:79%;left:0;right:0;text-align:center;font-size:10px;letter-spacing:.13em;color:#becad3}
.fw-assessment-reason{border-left:1px solid #536471;padding-left:24px;min-width:0}.fw-assessment-reason h3{font-size:23px;margin-top:0}.fw-assessment-reason p{font-size:14px;color:#c4cfd8}
.fw-original-meter{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
.fw-original-labels{display:none!important}
.fw-carrier-profile .tender-scroll{max-height:600px;overflow:auto;padding:0 16px;scrollbar-gutter:stable}
.fw-carrier-profile .tender-scroll section{padding:18px 0;border-bottom:1px solid #46566580}
.fw-carrier-profile .tender-details>summary{padding:16px 0;cursor:pointer;min-height:44px}
.fw-carrier-profile .tender-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}
.fw-carrier-profile .tender-metrics>div{padding:12px;border:1px solid #46566580;border-radius:8px;min-width:0}.fw-carrier-profile .tender-metrics dd{margin:6px 0;overflow-wrap:anywhere}
.fw-evidence-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.fw-evidence-sections>.carrier-section[open]{grid-column:1/-1}
.fw-carrier-profile :is(button,a,summary):focus-visible{outline:2px solid #9bcab3;outline-offset:4px}
.fw-carrier-profile :is(button,.carrier-actions a){min-height:44px}
.fw-carrier-profile .record-table-wrap,.fw-carrier-profile .tender-table-wrap{max-width:100%;overflow:auto}
.fw-carrier-profile :is(.rating-panel,.ownership-grid){min-width:0}
body.theme-light:has(.fw-carrier-profile){background:#e5edf2}.theme-light .fw-carrier-profile{--fw-edge:#afbec9;color:#182a37}.theme-light .fw-carrier-profile :is(.carrier-section,.carrier-tender-gauge,.information-panel){background:#f8fafc;color:#182a37}.theme-light .fw-carrier-profile :is(h2,h3,h4,.section-title strong){color:#182a37}.theme-light .fw-carrier-profile .carrier-header{color:#182a37;background:linear-gradient(135deg,#ffffff,#eaf0f5);border-color:#afbec9}.theme-light .fw-carrier-profile .fw-assessment-reason p{color:#364e60}.theme-light .fw-carrier-profile :is(.metric,.tender-metrics>div,.record-card,.nested-record){background:#edf2f6}.theme-light .fw-carrier-profile :is(.source-note,.source-banner,.section-disclaimer,.tender-policy-note,[data-tender-status],.section-title small){color:#415566}
@media(min-width:1900px){body:has(.fw-carrier-profile) .application-view{padding-inline:48px}.fw-profile-grid{gap:26px}}
@media(max-width:1000px){.fw-profile-grid{grid-template-columns:minmax(0,1fr)}.fw-evidence-sections{grid-template-columns:minmax(0,1fr)}.fw-profile-grid>*{grid-column:1!important}.fw-carrier-profile .carrier-header h1{max-width:100%}}
@media(max-width:600px){.fw-carrier-profile .carrier-header{padding:22px 18px;min-height:180px;background-position:65% center}.fw-carrier-profile .carrier-header h1{font-size:38px}.fw-carrier-profile .carrier-tender-gauge{padding:18px}.fw-assessment-overview{grid-template-columns:minmax(0,1fr);gap:10px}.fw-arc{max-width:300px;width:100%;margin:auto}.fw-assessment-reason{padding-left:0;border-left:0}.fw-carrier-profile .sms-measure{grid-template-columns:minmax(0,1fr) auto}.fw-carrier-profile .sms-track{grid-column:1/-1;grid-row:2}.fw-carrier-profile .sms-measure>strong{grid-column:2;grid-row:1}.fw-carrier-profile .section-body{padding:15px}.fw-carrier-profile .tender-scroll{max-height:none;padding:0}.fw-carrier-profile .tender-metrics{grid-template-columns:minmax(0,1fr)}.fw-carrier-profile .carrier-section>summary{grid-template-columns:24px minmax(0,1fr);padding:16px 12px}.fw-carrier-profile .section-state{grid-column:2}.fw-carrier-profile .fw-arc-caption{font-size:10px}}
@media(prefers-reduced-motion:reduce){.fw-carrier-profile *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.fw-carrier-profile .tender-metrics>div{display:block}.fw-carrier-profile .tender-metrics dt{font-size:12px;color:#b8c6d0}
.fw-oos-preview{padding:24px}.fw-oos-preview>h2{margin-bottom:18px}.fw-oos-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.fw-oos-panels>section{border:1px solid #536574;border-radius:12px;padding:18px;min-width:0}.fw-oos-panels h3{font-size:22px;margin:0 0 12px}.fw-oos-panels .tender-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.fw-oos-preview>.nested-record{margin-top:18px;padding:12px}.fw-oos-preview>.nested-record>summary{min-height:44px;cursor:pointer}.fw-oos-preview>.nested-record>section{padding:12px}
@media(max-width:600px){.fw-oos-preview{padding:18px}.fw-oos-panels{grid-template-columns:1fr}.fw-oos-panels .tender-metrics{grid-template-columns:1fr}}
/* Text must wrap as phrases rather than one-letter columns. */
.app-shell .fw-carrier-profile :is(h1,h2,h3,h4,p,dt,summary,.section-title,.section-title strong,.section-title small,.section-state,.sms-measure>span,.tender-rating){word-break:normal;overflow-wrap:normal;hyphens:none;white-space:normal}
.app-shell .fw-carrier-profile :is(.metric-grid,.tender-metrics){grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
.app-shell .fw-carrier-profile .fw-oos-panels .tender-metrics{grid-template-columns:minmax(0,1fr)}
.app-shell .fw-carrier-profile .tender-metrics>div{display:block;min-width:0}
.app-shell .fw-carrier-profile :is(.metric dd,.tender-metrics dd){word-break:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.app-shell .fw-carrier-profile .fw-atomic-value{white-space:nowrap;overflow-wrap:normal}
.app-shell .fw-carrier-profile .carrier-section>summary{grid-template-columns:26px minmax(0,1fr);align-items:start}
.app-shell .fw-carrier-profile .section-state{grid-column:2;max-width:100%}
.app-shell .fw-carrier-profile .fw-oos-panels>section{container-type:inline-size}
.app-shell .fw-carrier-profile .fw-assessment-reason{container-type:inline-size}
@media(max-width:600px){.app-shell .fw-carrier-profile :is(.metric-grid,.tender-metrics){grid-template-columns:minmax(0,1fr)}.app-shell .fw-carrier-profile .carrier-header h1{font-size:clamp(28px,9vw,38px)}}
@media print{.fw-carrier-profile .fw-original-meter{position:static!important;clip-path:none;width:auto!important;height:auto!important}.fw-carrier-profile .fw-arc{display:none}.fw-carrier-profile :is(.carrier-section,.carrier-tender-gauge){break-inside:avoid;box-shadow:none}}
.theme-light .app-shell .fw-carrier-profile :is(.metric dt,.tender-metrics dt,.section-state,.fw-arc-caption){color:#3b5262}.theme-light .app-shell .fw-carrier-profile .fw-arc-number{color:#182a37}

/* Day and night mode throughout the shared website / web app. */
body.theme-light{--bg:#edf2f6;--surface:#ffffff;--surface-2:#f3f6f9;--surface-3:#e2e9ef;--ink:#172632;--muted:#465e70;--line:#bcc9d3;--inset:#f7f9fb;--quiet-text:#415568;color-scheme:light;background:var(--bg);color:var(--ink)}
body:not(.theme-light){color-scheme:dark}
.theme-light :is(.topbar,.view-toolbar,.site-footer){background:#f8fafcf5;color:var(--ink);border-color:var(--line)}
.theme-light .topbar :is(.brand strong,.brand small,button){color:var(--ink);border-color:var(--line)}
.theme-light .topbar .brand-mark{color:#b52825;border-color:#c53630;box-shadow:0 0 8px #bd34341a}
.theme-light :is(.directory-card,.result-card,.directory-result,.information-panel,.carrier-information,.app-dialog,.photo-review,.history-summary,.insurance-notice,.ownership-summary,.dialog-frame,.record-card,.nested-record,.metric,.directory-filter,.universal-search,.trust-strip,.search-evidence,.inspection-findings,.evidence-packet){background:var(--surface);color:var(--ink);border-color:var(--line)}
.theme-light :is(input,select,textarea,.icon-action,.quiet-action,.photo-action,.carrier-actions button,.dialog-actions button,.broker-choice-grid button,.directory-carrier,.dialog-close,.panel-close,.panel-close-top){background:var(--surface-2);color:var(--ink);border-color:var(--line)}
.theme-light :is(.record-table th,.history-scroll th,.record-table td,.history-scroll td){background:var(--surface);color:var(--ink);border-color:var(--line)}
.theme-light :is(.source-note,.source-banner,.section-disclaimer,.json-fallback,.evidence-notes,.dialog-status){color:var(--muted)}
.theme-light :is(.sms-track,.probability-track,.methods-track){background:#d9e2e9;border-color:#a6b9c8}
.theme-light .fw-carrier-profile .carrier-kicker span{background:#f8fafc;color:#233d50;border-color:#8ba0b0}
.theme-light .fw-carrier-profile .fw-profile-kicker{color:#465e70}
.theme-light .fw-carrier-profile .fw-oos-panels>section{background:#f7f9fb;border-color:#a9bac8}
.theme-light .fw-carrier-profile .fw-oos-preview>.nested-record{border-color:#a9bac8}
.theme-light .fw-carrier-profile .sms-track{background:#d9e2e9}
.theme-light .fw-carrier-profile .tender-rating{background:transparent}
.theme-light .fw-carrier-profile .tender-rating-gray{color:#445a6b}
.theme-light .fw-carrier-profile .tender-rating-red{color:#a92828}
.theme-light .fw-carrier-profile .tender-rating-yellow{color:#775900}
.theme-light .fw-carrier-profile .tender-rating-green{color:#17633f}
.theme-light .fw-carrier-profile :is(.section-title,.section-index){color:#415568}
.theme-light .fw-carrier-profile .fw-arc-base{stroke:#d0dbe3}
.theme-light :focus-visible{outline-color:#245f83}
.theme-light .app-dialog::backdrop{background:#182a3770}
[data-theme-toggle]{min-width:44px;min-height:44px}
/* Decorative truck image is for the website; app route / installed app stays clean. */
.fw-site-surface .fw-carrier-profile .carrier-header{background:linear-gradient(90deg,#09131bf5 10%,#09131bc9 54%,#09131b28),url('carrier-banner.webp') center 48%/cover}
.theme-light.fw-site-surface .fw-carrier-profile .carrier-header{background:linear-gradient(90deg,#f8fafcf7 10%,#f8fafcd9 54%,#f8fafc20),url('carrier-banner.webp') center 48%/cover}
.fw-app-surface .fw-carrier-profile .carrier-header{background:linear-gradient(135deg,#14212b,#0a1219 75%)}
.theme-light.fw-app-surface .fw-carrier-profile .carrier-header{background:linear-gradient(135deg,#ffffff,#eaf0f5)}
@media(max-width:600px){.fw-site-surface .fw-carrier-profile .carrier-header{background-position:65% center}}
.top-actions .fw-install-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;font-size:13px;padding:8px 12px}.fw-install-dialog section h3{margin:0;font:23px Georgia,serif}.fw-install-dialog section p{margin:8px 0;line-height:1.65}.theme-light .fw-install-dialog h2,.theme-light .fw-install-dialog h3{color:var(--ink)}
@media(max-width:420px){.top-actions{gap:6px}.top-actions .fw-install-button{font-size:11px;padding:6px 8px}.topbar .brand{gap:7px}.topbar .brand strong{font-size:13px;letter-spacing:.06em}}

/* Approved compact carrier treatment and shared graph palette. */
.fw-carrier-profile :is(.carrier-section,.carrier-tender-gauge,.information-panel){border-radius:10px;border-color:#897956;box-shadow:inset 0 1px 0 #fff2,0 0 12px #f5bd4814;background:linear-gradient(135deg,#1c303d,#0b151d 72%)}
.fw-carrier-profile .carrier-header{min-height:0;padding:20px 22px;margin-top:12px;border-radius:10px}
.fw-carrier-profile .carrier-header h1{margin:4px 0 10px;letter-spacing:-.025em}
.fw-carrier-profile .carrier-kicker span{font-size:10px;letter-spacing:.035em;padding:4px 8px;border-radius:8px;line-height:1.45}
.fw-carrier-profile .carrier-kicker .fw-long-authority{border:0;border-radius:0;background:transparent;padding:3px 0;flex-basis:100%;font-size:11px;font-weight:500;letter-spacing:0}
.fw-carrier-profile .carrier-header>p{font-size:13px;line-height:1.5;margin:8px 0}
.fw-carrier-profile .carrier-header>.fw-profile-kicker{font-size:13px;margin:0}
.fw-trust-needle{stroke:#fff4d1;stroke-width:4;stroke-linecap:round;filter:drop-shadow(0 0 4px #ffdd8580)}
.fw-trust-hub{fill:#fff4d1;stroke:#897956;stroke-width:2}
.fw-arc-base{filter:drop-shadow(0 0 4px #ffe34b55)}
.fw-arc-number{top:40%;font-size:32px}.fw-arc-caption{top:61%;font-size:9px}
.fw-trust-legend{display:flex;justify-content:space-between;gap:6px;font-size:10px;margin-top:4px;color:var(--muted)}
.fw-carrier-profile .sms-track{overflow:hidden}.fw-carrier-profile .sms-track i{position:relative}
.fw-carrier-profile .sms-track i::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#ffffff60,transparent 55%,#ffffff15);pointer-events:none}
body:has(.fw-carrier-profile) .status-line{font-size:12px;padding-top:8px;min-height:0;line-height:1.45}
body:has(.fw-carrier-profile) .view-toolbar{padding-bottom:8px;gap:8px}
body:has(.fw-carrier-profile) .view-toolbar button{flex:0 1 auto;min-width:0;min-height:44px;padding:8px 12px;font-size:12px}
.fw-carrier-profile .carrier-section>summary{min-height:52px;padding:12px;gap:8px}
.fw-carrier-profile .section-title strong{font-size:22px}.fw-carrier-profile .section-title small{font-size:11px}
.fw-carrier-profile .section-body{padding:14px}
@media(max-width:600px){
 .topbar{padding-inline:12px;height:62px}.topbar .brand strong{font-size:13px!important;letter-spacing:.06em!important}.topbar .brand-mark{width:32px;height:32px;font-size:20px!important;flex-shrink:0}.topbar .brand{min-width:0;gap:7px}
 .top-actions{gap:6px;flex-shrink:0}.top-actions .icon-action{width:44px;height:44px}.top-actions .fw-install-button{font-size:11px;padding:6px 8px;min-height:44px}
 body:has(.fw-carrier-profile) .application-view{padding:12px 12px 40px}
 .fw-carrier-profile .carrier-header{padding:14px;min-height:0}.fw-carrier-profile .carrier-header h1{font-size:30px}
 .fw-carrier-profile .carrier-actions{margin-top:10px}.fw-carrier-profile .carrier-actions button{font-size:11px;padding-inline:10px}
 .fw-profile-grid{gap:12px}.fw-carrier-profile .carrier-tender-gauge{padding:14px}.fw-assessment-overview{margin:14px 0;gap:8px}.fw-arc{max-width:230px}.fw-assessment-reason h3{font-size:17px}.fw-assessment-reason p{font-size:12px;margin:6px 0}
 .fw-carrier-profile .sms-measure{grid-template-columns:minmax(95px,1fr) minmax(65px,1.2fr) auto;gap:7px;font-size:11px;margin:12px 0}.fw-carrier-profile .sms-track{grid-column:2;grid-row:1;height:9px}.fw-carrier-profile .sms-measure>strong{grid-column:3;grid-row:1}
 .fw-carrier-profile .section-title strong{font-size:20px}.fw-carrier-profile .carrier-section>summary{padding:10px}.fw-oos-preview{padding:14px}
}
.fw-install-dialog[open]{position:fixed;inset:12px;margin:auto;z-index:2147483647;max-height:calc(100dvh - 24px);overflow:auto}.fw-install-dialog:not([open]){display:none}
.fw-install-dialog.fw-dialog-fallback[open]{display:block;box-shadow:0 0 0 100vmax #000a}

.fw-tender-fold{border:1px solid var(--line);border-radius:9px;margin:10px 0;background:var(--surface)}
.fw-tender-fold>summary{cursor:pointer;padding:12px 14px;min-height:44px;font:18px Georgia,serif;line-height:1.4}
.fw-tender-section-scroll{max-height:360px;max-height:min(360px,50dvh);overflow:auto;padding:12px 14px;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}
.fw-tender-section-scroll:focus-visible{outline:2px solid #ffe34b;outline-offset:-2px}
@media(max-width:600px){.fw-carrier-profile .tender-scroll{max-height:65dvh;overflow:auto;padding:0 4px;scrollbar-gutter:stable}.fw-tender-section-scroll{max-height:40dvh}.fw-tender-fold>summary{font-size:16px}}
/* Bounded record areas throughout the website and installed app. */
.app-shell :is(.section-body,.history-scroll,.record-table-wrap,.tender-table-wrap,.json-fallback){max-height:min(560px,65dvh);overflow:auto;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}
.app-shell .tender-scroll{max-height:65dvh;overflow:auto;-webkit-overflow-scrolling:touch}
.app-shell .record-card[open]>:not(summary):not(.record-table-wrap){max-width:100%}
@media(max-width:600px){.app-shell :is(.section-body,.history-scroll,.record-table-wrap,.tender-table-wrap,.json-fallback){max-height:60dvh}}

.fw-carrier-profile [data-section="snapshot"] .metric-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:8px}
.fw-carrier-profile [data-section="snapshot"] .metric{padding:10px}
.fw-carrier-profile [data-section="snapshot"] .metric dt{font-size:10px;letter-spacing:.02em}
.fw-carrier-profile [data-section="snapshot"] .metric dd{font-size:14px;margin-top:5px}
@media(max-width:600px){.fw-carrier-profile [data-section="snapshot"] .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Corrected proportional arc, neon graph shimmer and single scroll ownership. */
.fw-arc-base{opacity:.16;filter:none}.fw-arc-value{opacity:1;stroke-width:17;filter:drop-shadow(0 0 5px #00ffa650);animation:fw-neon-pulse 2.6s ease-in-out infinite}
.fw-arc-shimmer{fill:none;stroke:#ffffffb8;stroke-width:9;stroke-linecap:round;stroke-dasharray:7 93;stroke-dashoffset:7;filter:drop-shadow(0 0 5px #fff);animation:fw-arc-slide 3.4s linear infinite;pointer-events:none}
@keyframes fw-arc-slide{to{stroke-dashoffset:-100}}@keyframes fw-neon-pulse{50%{filter:drop-shadow(0 0 8px #00ffa685)}}
.fw-carrier-profile .sms-track i{background:linear-gradient(90deg,#00ffa6 0%,#fff12b 52%,#ff2855 100%);box-shadow:inset 0 2px 2px #ffffff80,0 0 7px #00ffa650;animation:fw-neon-pulse 2.6s ease-in-out infinite}
.fw-carrier-profile .sms-track i::after{background:linear-gradient(110deg,transparent 20%,#ffffffa0 45%,transparent 70%);width:35%;inset:0 auto 0 -35%;animation:fw-bar-slide 2.8s linear infinite}
@keyframes fw-bar-slide{to{left:100%}}
.app-shell .view-toolbar,.theme-light .view-toolbar{position:static;background:transparent!important;border:0;box-shadow:none;padding:0;margin-bottom:12px;overflow:visible}
.app-shell .view-toolbar .view-context{display:none}
.app-shell .carrier-grade-line{border-left-color:var(--fw-grade-color,#9ba9b5)!important;box-shadow:inset 1px 0 0 var(--fw-grade-color,#9ba9b5);line-height:1.5}
.fw-carrier-profile .carrier-header{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.fw-carrier-profile .carrier-header>.fw-profile-kicker{flex-basis:100%}
.fw-carrier-profile .carrier-header>h1{max-width:100%;margin:0;font-size:clamp(30px,3.6vw,58px)}
.fw-carrier-profile .carrier-header>.carrier-kicker{display:contents}
.fw-carrier-profile .carrier-kicker .fw-long-authority{flex-basis:100%;order:3}
.fw-carrier-profile .carrier-header>.carrier-grade-line{order:4;width:auto;margin:6px 0}
.fw-carrier-profile .carrier-header>p:not(.fw-profile-kicker):not(.carrier-grade-line){flex-basis:100%;order:5;margin:4px 0}
.fw-carrier-profile .carrier-header>.carrier-actions{order:6;flex-basis:100%;margin-top:6px}
.fw-carrier-profile .carrier-actions button{width:auto!important;flex:0 0 auto;padding:8px 14px}
.fw-carrier-profile [data-twosu-evidence]{padding:20px!important;grid-column:1/-1}
.fw-packet-coming h3{font-size:24px;margin:0 0 12px}.fw-packet-coming .fw-coming-soon{font-size:14px;line-height:1.6;margin:0}
.fw-packet-coming>p:not(.fw-coming-soon),.fw-packet-coming>[data-files],.fw-packet-coming>button{display:none}
.app-shell .tender-scroll{max-height:none!important;overflow:visible!important;padding:0!important;scrollbar-gutter:auto}
.app-shell .section-body{max-height:420px;max-height:min(420px,60dvh);overflow:auto;scrollbar-gutter:stable;position:relative}
.app-shell .section-body :is(.history-scroll,.record-table-wrap,.tender-table-wrap,.json-fallback,.carrier-information-scroll){max-height:none!important;overflow:visible!important;scrollbar-gutter:auto}
.app-shell .fw-tender-section-scroll{max-height:min(360px,50dvh);overflow:auto;scrollbar-gutter:stable}
.app-shell .fw-tender-section-scroll :is(.tender-table-wrap,.history-scroll,.record-table-wrap,.json-fallback){max-height:none!important;overflow:visible!important}
.app-shell .carrier-section>.panel-close-top{position:static;float:none;display:block;margin:8px 12px 0 auto;min-height:34px;font-size:11px;padding:5px 10px;max-width:100%}
.fw-carrier-profile .fw-oos-panels{gap:14px}.fw-carrier-profile .fw-oos-panels .tender-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.fw-oos-panels>section{padding:14px}
.fw-evidence-sections{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.fw-evidence-sections>.carrier-section[open]{grid-column:1/-1}
.fw-carrier-profile .section-title small{line-height:1.4}.fw-carrier-profile .section-title strong{font-size:21px}
@media(min-width:1001px){.fw-profile-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}.fw-profile-grid>[data-section="inspections"]{grid-column:1/-1}.fw-profile-grid>[data-section="inspections"]>.section-body{max-height:360px}.fw-profile-grid>[data-section="sms-basic"]{grid-column:1/-1}}
@media(min-width:701px) and (max-width:1000px){.fw-evidence-sections{grid-template-columns:repeat(2,minmax(0,1fr))}.fw-assessment-overview{grid-template-columns:minmax(180px,.8fr) minmax(0,1fr)}}
@media(max-width:700px){.fw-evidence-sections{grid-template-columns:minmax(0,1fr)}.fw-carrier-profile .fw-oos-panels .tender-metrics{grid-template-columns:minmax(0,1fr)!important}}
@media(prefers-reduced-motion:reduce){.fw-arc-value,.fw-arc-shimmer,.fw-carrier-profile .sms-track i,.fw-carrier-profile .sms-track i::after{animation:none!important}.fw-arc-shimmer{display:none}}
.app-shell .fw-source-credits>summary{display:block!important;padding:14px!important;min-height:60px}
.app-shell .fw-source-credits .section-title{display:block;width:100%;min-width:0}
.app-shell .fw-source-credits .section-title strong{display:block;font-size:21px;line-height:1.3}
.app-shell .fw-source-credits .section-title small{display:block;margin-top:6px;max-width:100%;font-size:12px;line-height:1.45}
.fw-carrier-profile .carrier-actions{display:flex;flex-wrap:wrap;justify-content:flex-start}
@media(min-width:1001px){
 .fw-profile-grid>[data-section="sms-basic"],.fw-profile-grid>[data-section="inspections"]{grid-column:auto;align-self:stretch}
 .fw-profile-grid>[data-section="sms-basic"]>.section-body,.fw-profile-grid>[data-section="inspections"]>.section-body{max-height:300px}
 .fw-carrier-profile .carrier-tender-gauge h2{font-size:26px}
}

.fw-oos-graph{margin:0}.fw-oos-graph figcaption{font-size:11px;line-height:1.4;color:var(--muted);margin-bottom:12px}.fw-oos-graph .sms-measure{grid-template-columns:minmax(70px,1fr) minmax(70px,1.1fr) auto;font-size:12px;margin:12px 0}.fw-oos-graph .sms-track{grid-column:2;grid-row:auto}.fw-oos-graph .sms-measure>strong{grid-column:3;grid-row:auto}
@media(min-width:1001px){.fw-profile-grid{grid-auto-rows:8px;grid-auto-flow:row dense;gap:12px;align-items:start}.fw-profile-grid>*{align-self:start!important}.fw-profile-grid>[data-section="sms-basic"]>.section-body{max-height:260px}}
@media(max-width:1000px){.fw-profile-grid{grid-auto-rows:auto;grid-auto-flow:row}.fw-profile-grid>*{grid-row:auto!important}}
@media(max-width:600px){.fw-oos-panels{gap:10px}.fw-oos-panels>section{padding:12px}.fw-oos-panels h3{font-size:18px}.fw-oos-graph .sms-measure{grid-template-columns:minmax(65px,1fr) minmax(65px,1.1fr) auto;font-size:11px}}

.fw-sms-preview{padding:12px}.fw-sms-preview h3{font-size:20px;margin:0 0 8px}.fw-sms-preview .sms-measure{font-size:11px;margin:7px 0;gap:7px;grid-template-columns:minmax(90px,1fr) minmax(65px,1.2fr) auto}.fw-sms-preview .sms-track{height:8px}.fw-sms-preview button{font-size:11px;min-height:32px;padding:5px 8px;margin-top:4px}
@media(max-width:1000px){.fw-sms-preview{display:none!important}}

/* Banner rule applies equally to browsers and installed apps. */
.app-shell .fw-carrier-profile .carrier-header{background:linear-gradient(135deg,#14212b,#0a1219 75%)}
.theme-light .app-shell .fw-carrier-profile .carrier-header{background:linear-gradient(135deg,#ffffff,#eaf0f5)}
@media(min-width:768px) and (min-height:500px) and (orientation:landscape),(min-width:1100px){
 .app-shell .fw-carrier-profile .carrier-header{background:linear-gradient(90deg,#09131bf5 10%,#09131bc9 54%,#09131b28),url('carrier-banner.webp') center 48%/cover}
 .theme-light .app-shell .fw-carrier-profile .carrier-header{background:linear-gradient(90deg,#f8fafcf7 10%,#f8fafcd9 54%,#f8fafc20),url('carrier-banner.webp') center 48%/cover}
}
.app-shell .fw-carrier-profile button{min-height:44px!important}
.app-shell .freshness-status,.theme-light .app-shell .freshness-status{background:transparent;border:0;padding:4px 0;margin:4px 0;font-size:12px;line-height:1.5;color:var(--muted);box-shadow:none}

.theme-light .fw-carrier-profile .sms-track{background:#253744;border-color:#607885}

.fw-profile-grid>[data-tender-gauge]:has(.tender-details[open]){grid-column:1/-1!important}

/* Revision 6: aligned graph tracks, balanced cards and quiet day photography. */
.fw-carrier-profile .sms-measure{grid-template-columns:minmax(120px,1fr) minmax(0,1.6fr) 64px!important;gap:12px!important}
.fw-carrier-profile .sms-track{grid-column:2!important;grid-row:1!important;width:100%;margin:0!important;transform:none!important}
.fw-carrier-profile .sms-measure>strong{grid-column:3!important;grid-row:1!important;text-align:right;font-variant-numeric:tabular-nums}
.fw-arc-shimmer{animation:fw-arc-slide 2.8s linear infinite,fw-neon-pulse 2.6s ease-in-out infinite}
.fw-profile-grid{grid-auto-rows:auto!important;grid-auto-flow:row!important;align-items:stretch!important}
.fw-profile-grid>*{grid-row-end:auto!important;align-self:stretch!important}
.fw-sms-preview{grid-column:1/-1}
.fw-carrier-profile .fw-long-authority{background:transparent!important;display:block;width:auto;max-width:100%;line-height:1.6}
.theme-light .fw-carrier-profile{--muted:#354957;--ink:#14232e;color:#14232e}
.theme-light .fw-carrier-profile :is(p,dt,small,.source-note,.source-banner,.section-title small,.fw-long-authority){color:#354957}
@media(min-width:768px) and (min-height:500px) and (orientation:landscape),(min-width:1100px){.theme-light .app-shell .fw-carrier-profile .carrier-header{background:linear-gradient(90deg,#f8fafcfa 0%,#f8fafce8 55%,#f8fafccf 100%),url('carrier-banner.webp') center 48%/cover}}
.fw-carrier-profile :is(.inspection-trend,.assessment-chart,.rating-context,.monthly-bars,.monthly-bar-month,.history-scroll){min-width:0;max-width:100%;width:auto;box-sizing:border-box}
.fw-carrier-profile .inspection-trend table{min-width:0!important;width:100%!important;table-layout:fixed}
.fw-carrier-profile .inspection-trend :is(th,td){white-space:normal!important;overflow-wrap:anywhere}
.fw-carrier-profile .inspection-trend thead th{position:static!important}
.fw-carrier-profile .bar-row{grid-template-columns:65px minmax(0,1fr) 110px}
.fw-carrier-profile .section-body>button{position:static!important;display:block;margin:0 0 16px auto}
@media(max-width:600px){.fw-carrier-profile .sms-measure{grid-template-columns:minmax(0,1fr) 64px!important}.fw-carrier-profile .sms-track{grid-column:1/-1!important;grid-row:2!important}.fw-carrier-profile .sms-measure>strong{grid-column:2!important}.fw-carrier-profile .bar-row{grid-template-columns:65px minmax(0,1fr)}.fw-carrier-profile .bar-row>strong{grid-column:1/-1;text-align:right}}
@media(prefers-reduced-motion:reduce){.fw-arc-shimmer{animation:none!important}}

.fw-related-explainer{margin:12px 16px;padding:12px;border:1px solid var(--line,#394550);border-radius:12px}.fw-related-explainer summary{cursor:pointer;font-weight:700}.fw-related-explainer p{max-height:150px;overflow:auto;line-height:1.6;font-size:13px}

/* Full-width expansion retains source order and explicit scroll anchoring. */
.fw-evidence-sections{grid-auto-flow:row!important;align-items:start;overflow-anchor:none}.fw-evidence-sections>.carrier-section[open]{grid-column:1/-1!important}


/* Arc tracer: same soft 35% highlight and 2.8s linear sweep as bar graphs. */
.fw-arc-shimmer{animation:none;filter:none;stroke:none;pointer-events:none}
.fw-arc-shimmer path{animation:fw-curve-tracer 2.8s linear infinite}
@keyframes fw-curve-tracer{from{stroke-dashoffset:var(--fw-tracer-start)}to{stroke-dashoffset:var(--fw-tracer-end)}}
@media(prefers-reduced-motion:reduce){.fw-arc-shimmer{display:none}.fw-arc-shimmer path{animation:none}}


/* Section 18: keep closed movement records at their summary's height. */
[data-section="movements"] .record-list{align-items:start;align-content:start;grid-auto-rows:max-content}
[data-section="movements"] .record-card{align-self:start;height:auto;min-height:0}
[data-section="movements"] .record-card:not([open])>:not(summary){display:none!important}


/* FleetWatch equal collapsed section boxes v1 */
@media(min-width:701px){
 .fw-carrier-profile .fw-evidence-sections{
  align-items:stretch;
  gap:12px;
 }
 .fw-carrier-profile .fw-evidence-sections>.carrier-section:not([open]){
  align-self:stretch;
  height:178px;
  min-height:0;
  box-sizing:border-box;
 }
 .fw-carrier-profile .fw-evidence-sections>.carrier-section:not([open])>summary{
  height:176px;
  min-height:0;
  box-sizing:border-box;
  grid-template-columns:26px minmax(0,1fr);
  grid-template-rows:minmax(0,1fr) auto;
  align-items:start;
  gap:10px 8px;
  padding:16px 12px;
 }
 .fw-carrier-profile .fw-evidence-sections>.carrier-section:not([open])>summary>.section-index{
  grid-column:1;
  grid-row:1;
 }
 .fw-carrier-profile .fw-evidence-sections>.carrier-section:not([open])>summary>.section-title{
  grid-column:2;
  grid-row:1;
  min-width:0;
 }
 .fw-carrier-profile .fw-evidence-sections>.carrier-section:not([open])>summary>.section-state{
  grid-column:2;
  grid-row:2;
 }
}

/* fw-header-status-stack-v1 */
.fw-carrier-profile .carrier-header>.fw-grade-row{
  flex:0 0 100%;order:2;min-width:0;display:flex;
  justify-content:flex-start;align-items:flex-start;margin:4px 0 0;
}
.fw-carrier-profile .fw-grade-row>.carrier-grade-line{
  flex:0 1 auto;width:fit-content;max-width:100%;margin:0!important;
  text-align:left;overflow-wrap:anywhere;
}
.fw-carrier-profile .carrier-kicker>.fw-permission-row{
  flex:0 0 100%;order:3;min-width:0;margin:0 0 4px;text-align:left;
}
.fw-carrier-profile .fw-permission-row>span{
  display:inline-block;max-width:100%;box-sizing:border-box;
  white-space:normal;overflow-wrap:anywhere;
}

/* fw-hide-carrier-grade-v1 — presentation only */
.carrier-header .carrier-grade-line,
[data-section="carrier-rating"] {
    display: none !important;
}
