:root {
  color-scheme: dark;
  --bg: #070910;
  --surface: rgba(18, 22, 35, 0.84);
  --surface-strong: #151a29;
  --line: rgba(255, 255, 255, 0.10);
  --line-bright: rgba(135, 162, 255, 0.34);
  --text: #f6f8ff;
  --muted: #9ba5ba;
  --blue: #668cff;
  --cyan: #4de1e6;
  --violet: #a66cff;
  --green: #46d59a;
  --red: #ff667b;
  --amber: #f5bd5b;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

body.agent-open { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,390px); height: 100vh; overflow: hidden; }
body.agent-open.agent-wide { grid-template-columns: minmax(0,1fr); }
body.agent-wide .app { display: none; }
body.agent-wide .agent-panel { width: min(1100px,100%); margin: 0 auto; border-left: 0; }
.agent-open .app { min-width: 0; height: 100vh; overflow: auto; }
.agent-panel { display: flex; flex-direction: column; height: 100vh; min-width: 0; overflow: hidden; border-left: 1px solid var(--line); background: var(--bg); padding: 10px; }
.agent-toolbar { position: relative; z-index: 2; display: grid; grid-template-columns: auto auto minmax(80px,1fr) auto auto auto; gap: 6px; align-items: center; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.agent-toolbar .ghost-button { min-height: 34px; padding: 6px 9px; font-size: 11px; }
.agent-toolbar select { width: 100%; min-width: 0; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-strong); color: var(--text); padding: 5px 8px; font-size: 11px; }
.agent-more { position: relative; }
.agent-more summary { list-style: none; cursor: pointer; }
.agent-more summary::-webkit-details-marker { display: none; }
.agent-more__menu { position: absolute; top: calc(100% + 6px); right: 0; width: max-content; min-width: 180px; display: grid; gap: 3px; padding: 5px; border: 1px solid var(--line); border-radius: 10px; background: #121827; box-shadow: 0 16px 38px rgba(0,0,0,.36); }
.agent-more__menu button { padding: 8px 10px; border: 0; border-radius: 7px; color: var(--text); background: transparent; text-align: left; cursor: pointer; }
.agent-more__menu button:hover,.agent-more__menu button:focus-visible { background: rgba(255,255,255,.07); }
.agent-more__menu button:disabled { opacity: .45; cursor: default; }
.agent-icon-button { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: transparent; cursor: pointer; font-size: 18px; line-height: 1; }
.agent-icon-button:hover,.agent-icon-button:focus-visible { border-color: var(--line-bright); background: rgba(255,255,255,.06); }
#agentContent { flex: 1; min-height: 0; display: flex; overflow: hidden; }
.agent-panel .knowledge-view { width: 100%; max-width: 100%; min-height: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; overflow: hidden; }
.agent-panel .knowledge-form { flex: none; margin: 0; padding: 9px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: var(--bg); }
.agent-panel .knowledge-form > div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; align-items: end; }
.agent-panel .knowledge-form textarea { width: 100%; min-height: 42px; height: 42px; max-height: 110px; resize: vertical; color: var(--text); background: var(--surface-strong); font: inherit; border: 1px solid var(--line); border-radius: 9px; padding: 9px 10px; }
.agent-panel .knowledge-form .primary-button { min-height: 42px; padding: 8px 12px; }
.agent-panel .knowledge-form .form-error { margin: 5px 0 0; }
.agent-panel .knowledge-message { max-width: 100%; overflow-wrap: anywhere; }
.agent-panel .knowledge-conversation { flex: 1; min-height: 0; max-height: none; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 10px 3px; scrollbar-gutter: stable; }
.guided-view { background: radial-gradient(circle at 50% 0,rgba(102,140,255,.08),transparent 18rem); }
.guided-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 5px 11px; border-bottom: 1px solid var(--line); }
.guided-header .kicker { margin: 0 0 4px; font-size: 9px; }
.guided-header h2 { margin: 0; font-size: 17px; letter-spacing: -.02em; }
.guided-header > span { padding: 5px 8px; border: 1px solid rgba(70,213,154,.25); border-radius: 999px; color: #86dfba; background: rgba(70,213,154,.07); font-size: 10px; white-space: nowrap; }
.guided-message__meta { display: flex; align-items: center; gap: 8px; }
.guided-message > p { white-space: pre-line; }
.guided-local-badge { padding: 3px 6px; border-radius: 999px; color: #8ee3bd; background: rgba(70,213,154,.09); font-size: 9px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.guided-decision { flex: none; max-height: 54%; overflow: auto; padding: 12px 3px 2px; border-top: 1px solid var(--line); scrollbar-gutter: stable; }
.guided-decision.is-complete { max-height: 54%; }
.guided-breadcrumb { margin: 0 0 8px; color: #8fa6d5; font-size: 10px; font-weight: 750; letter-spacing: .035em; text-transform: uppercase; }
.guided-decision h3 { margin: 0 0 10px; font-size: 13px; font-weight: 650; line-height: 1.35; }
.guided-choices { display: grid; gap: 7px; }
.guided-choice { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid #303c53; border-radius: 11px; color: var(--text); background: linear-gradient(135deg,rgba(27,37,62,.94),rgba(17,25,42,.94)); text-align: left; cursor: pointer; transition: border-color .16s ease,transform .16s ease,background .16s ease; }
.guided-choice:hover,.guided-choice:focus-visible { border-color: var(--line-bright); background: linear-gradient(135deg,rgba(42,56,92,.96),rgba(22,31,53,.96)); transform: translateY(-1px); }
.guided-choice:disabled { opacity: .55; cursor: wait; transform: none; }
.guided-choice span { min-width:0;display:grid;gap:3px;line-height:1.35; }
.guided-choice strong { font-size:12px;font-weight:720; }
.guided-choice small { color:var(--muted);font-size:10px;line-height:1.35;font-weight:450; }
.guided-choice i { color: var(--cyan); font-style: normal; }
.agent-panel .guided-decision .knowledge-form { display: grid; gap: 9px; margin-top: 8px; padding: 10px; border: 1px solid #303c53; border-radius: 11px; background: rgba(15,23,39,.88); }
.agent-panel .knowledge-form > .guided-input-fields { display: grid; grid-template-columns: 1fr; gap: 8px; }
.guided-input-fields label { display: grid; gap: 5px; color: #cbd4e8; font-size: 11px; font-weight: 700; }
.guided-input-fields input,.guided-input-fields textarea { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: var(--surface-strong); font: inherit; }
.guided-input-fields textarea { min-height:82px;resize:vertical; }
.knowledge-conversation:empty { display:none; }
.guided-input-fields small { color: var(--muted); font-size: 10px; font-weight: 500; line-height: 1.4; }
.guided-status { margin: 8px 1px 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
.guided-decision .form-error { margin: 7px 1px 0; }
.agent-open .topbar { position: relative; height: auto; padding: 14px; flex-wrap: wrap; gap: 12px; }
.agent-open .screen { padding-top: 24px; }
.agent-open .primary-nav { position: static; transform: none; flex-wrap: wrap; }
.entity-files-table.activity-table td:nth-child(3) { white-space: normal; overflow-wrap: anywhere; }
.entity-files-table.activity-table td:nth-child(3) small { display: block; margin-top: 5px; }
@media(max-width:1000px) {
  body.agent-open { grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(0,1fr) minmax(360px,48vh); }
  .agent-panel { height: 100%; border-left: 0; border-top: 1px solid var(--line); padding: 8px; }
  .agent-open .app { min-height: 0; height: 100%; }
  .agent-panel .knowledge-form textarea { min-height: 40px; height: 40px; }
  .agent-panel .knowledge-form .primary-button { min-height: 40px; }
}
@media(max-width:520px) {
  .agent-toolbar { grid-template-columns: auto minmax(70px,1fr) auto auto auto; grid-template-areas: "new conversations more expand close" "back back back back back"; }
  #agentNew { grid-area: new; }
  #agentConversations { grid-area: conversations; }
  #agentMore { grid-area: more; }
  #expandAgent { grid-area: expand; }
  #closeAgent { grid-area: close; }
  #agentBack { grid-area: back; justify-self: start; }
  .guided-decision { max-height: 60%; }
}

* { box-sizing: border-box; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
html, body { width: 100%; min-height: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 34%, rgba(91, 94, 238, 0.12), transparent 28rem),
    radial-gradient(circle at 8% 100%, rgba(41, 168, 191, 0.07), transparent 30rem),
    var(--bg);
}
button, input { font: inherit; }
button, label { -webkit-tap-highlight-color: transparent; }

.app { min-height: 100vh; position: relative; isolation: isolate; }
.app::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.26;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  height: 76px;
  padding: 0 clamp(22px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.primary-nav { display: flex; align-items: center; justify-content: center; gap: 3px; padding: 4px; border: 1px solid rgba(255,255,255,.055); border-radius: 13px; background: rgba(11,14,24,.68); backdrop-filter: blur(18px); }
.primary-nav button { padding: 9px 11px; border: 0; border-radius: 9px; color: #8793aa; background: transparent; font-size: 10px; font-weight: 760; text-transform: uppercase; letter-spacing: .045em; white-space: nowrap; cursor: pointer; transition: color .2s ease, background .2s ease; }
.primary-nav button:hover { color: var(--text); background: rgba(255,255,255,.045); }
.primary-nav button.is-active { color: #edf2ff; background: linear-gradient(135deg, rgba(76,120,255,.24), rgba(119,85,231,.18)); box-shadow: inset 0 0 0 1px rgba(112,135,255,.2); }
.topbar .exit-app { color: #ff9bab; border-color: rgba(255,102,123,.35); }
.topbar .exit-app:hover { color: #fff; background: rgba(255,102,123,.12); }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 680; }
.brand-copy { display: grid; line-height: 1.05; gap: 4px; }
.brand-copy small { color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: .04em; }
.runtime-badge { margin-left: 4px; padding: 6px 9px; border: 1px solid rgba(255,174,66,.45); border-radius: 999px; color: #ffd08d; background: rgba(255,174,66,.11); font-size: 9px; font-weight: 850; letter-spacing: .055em; white-space: nowrap; }
.brand-dot { width: 22px; aspect-ratio: 1; border-radius: 8px; background: conic-gradient(from 30deg, var(--blue), var(--cyan), var(--violet), var(--blue)); box-shadow: 0 0 22px rgba(108, 120, 255, .34); }
.privacy { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.privacy i { width: 7px; aspect-ratio: 1; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.privacy.is-unavailable { color: #ffbc66; }
.privacy.is-unavailable i { background: #ffae42; box-shadow: 0 0 12px rgba(255,174,66,.72); }
.app.is-data-unconfigured .topbar { position: relative; }
.data-configuration-notice { margin: 16px auto 0; width: min(1120px,calc(100% - 40px)); padding: 14px 18px; border: 1px solid rgba(255,174,66,.55); border-radius: 14px; background: rgba(255,174,66,.1); color: var(--muted); }
.data-configuration-notice p { margin: 0; line-height: 1.45; }
.data-configuration-notice strong { color: var(--text); }
.primary-nav button:disabled { opacity: .38; cursor: not-allowed; }
.settings-required { border: 1px solid rgba(255,174,66,.55); background: rgba(255,174,66,.1); border-radius: 14px; padding: 16px; display: grid; gap: 5px; }
.settings-required span { color: var(--muted); }

.startup-error { min-height: 100vh; display: grid; place-items: center; padding: 28px; background: radial-gradient(circle at 50% 20%, rgba(108,92,231,.11), transparent 42%), var(--bg); }
.startup-error > section { width: min(720px, 100%); padding: clamp(32px, 6vw, 64px); text-align: center; border: 1px solid var(--line); border-radius: 32px; background: rgba(17,21,36,.94); box-shadow: 0 28px 80px rgba(0,0,0,.35); }
.startup-error__icon { width: 82px; aspect-ratio: 1; margin: 0 auto 28px; display: grid; place-items: center; border: 1px solid rgba(255,174,66,.45); border-radius: 50%; color: #ffbc66; background: rgba(255,174,66,.09); font-size: 42px; font-weight: 800; }
.startup-error h1 { margin: 14px 0 16px; font-size: clamp(30px, 5vw, 52px); line-height: 1.05; }
.startup-error > section > p { color: var(--muted); line-height: 1.7; }
.startup-error__steps { margin: 30px 0 22px; display: grid; grid-template-columns: 34px 1fr; gap: 12px 16px; align-items: center; text-align: left; }
.startup-error__steps span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--cyan); background: rgba(58,212,255,.1); font-weight: 800; }
.startup-error__steps p { margin: 0; color: var(--text); }
.startup-error__note { margin: 0; font-size: 13px; }

.screen { display: none; min-height: 100vh; }
.screen.is-active { display: flex; }
.screen--home { padding: 104px 22px 48px; flex-direction: column; justify-content: center; align-items: center; text-align: center; }

.assistant-visual { position: relative; width: clamp(220px, 29vh, 294px); aspect-ratio: 1; display: grid; place-items: center; margin-bottom: clamp(22px, 4vh, 42px); }
.aura { position: absolute; border-radius: 50%; border: 1px solid rgba(123, 145, 255, .12); animation: auraPulse 4.8s ease-in-out infinite; }
.aura--one { inset: 3%; }
.aura--two { inset: -10%; opacity: .52; animation-delay: -2.4s; }
.orb { position: relative; width: 62%; aspect-ratio: 1; overflow: hidden; border-radius: 44% 56% 52% 48% / 49% 43% 57% 51%; animation: orbFloat 6s ease-in-out infinite, orbMorph 9s ease-in-out infinite; box-shadow: 0 0 22px rgba(95, 136, 255, .42), 0 0 78px rgba(104, 79, 255, .25); background: radial-gradient(circle at 35% 26%, #e9ffff 0 4%, #86f5f1 13%, #577af4 38%, #653fd7 64%, #19143f 100%); }
.orb::after { content: ""; position: absolute; inset: 5%; border-radius: inherit; border: 1px solid rgba(255,255,255,.32); filter: blur(.3px); }
.orb__flow { position: absolute; width: 112%; height: 62%; left: -6%; border-radius: 50%; filter: blur(8px); mix-blend-mode: screen; }
.orb__flow--one { top: 5%; background: linear-gradient(90deg, transparent, rgba(72,238,232,.92), rgba(255,255,255,.72), transparent); animation: flowOne 5.5s ease-in-out infinite; }
.orb__flow--two { bottom: -4%; background: linear-gradient(90deg, rgba(190,74,255,.15), rgba(156,98,255,.9), rgba(72,138,255,.6)); animation: flowTwo 7s ease-in-out infinite; }
.orb__highlight { position: absolute; left: 23%; top: 16%; width: 28%; height: 18%; border-radius: 50%; background: rgba(255,255,255,.9); filter: blur(13px); transform: rotate(-25deg); }
.soundwave { position: absolute; bottom: 3%; display: flex; align-items: center; gap: 5px; height: 22px; opacity: .72; }
.soundwave i { display: block; width: 3px; height: 8px; border-radius: 99px; background: linear-gradient(var(--cyan), var(--violet)); animation: wave 1.5s ease-in-out infinite; }
.soundwave i:nth-child(2), .soundwave i:nth-child(4) { animation-delay: -.3s; }
.soundwave i:nth-child(3) { animation-delay: -.6s; }

.intro .kicker { margin-bottom: 12px; }
.intro h1 { margin: 0; font-size: clamp(36px, 5vw, 62px); line-height: 1; letter-spacing: -.055em; font-weight: 650; }
.home-lead { max-width: 600px; margin: 16px auto 0; color: var(--muted); line-height: 1.6; }
.home-navigation-note { margin: 28px 0 0; color: #748097; font-size: 11px; }
.kicker { margin: 0; color: #8d9bb9; font-size: 10px; font-weight: 800; letter-spacing: .21em; }
.feature-actions { width: min(440px, 100%); margin-top: 36px; display: grid; gap: 10px; }
.feature-button { width: 100%; padding: 13px 15px; display: grid; grid-template-columns: 48px 1fr 36px; align-items: center; gap: 14px; color: var(--text); text-align: left; border: 1px solid var(--line); border-radius: 19px; background: rgba(18, 22, 36, .72); box-shadow: 0 18px 55px rgba(0,0,0,.22); backdrop-filter: blur(18px); cursor: pointer; transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.feature-button:hover { transform: translateY(-3px); border-color: var(--line-bright); background: rgba(25, 30, 49, .9); }
.feature-button__icon { width: 48px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(145deg, #4876ff, #8d5bea); box-shadow: 0 8px 22px rgba(78, 95, 234, .3); font-weight: 900; }
.feature-button__icon--read { background: linear-gradient(145deg, #168f9f, #526ee8); }
.feature-button > span:nth-child(2) { font-weight: 680; }
.feature-button__arrow { justify-self: end; color: #8491ad; font-size: 20px; }
.upload-future-note { margin: 20px 0 0; color: #68748b; font-size: 11px; }

.screen--area { padding: 126px clamp(22px, 5vw, 76px) 54px; align-items: flex-start; justify-content: center; }
.area-shell { width: min(1180px, 100%); }
.area-heading { max-width: 760px; margin-bottom: 32px; }
.area-heading h1 { margin: 12px 0 10px; font-size: clamp(38px, 5vw, 62px); letter-spacing: -.055em; }
.area-heading > p:last-child { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.area-module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.area-module { min-height: 210px; padding: 25px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, rgba(21,26,42,.82), rgba(11,14,24,.82)); box-shadow: 0 20px 55px rgba(0,0,0,.18); }
.area-module > span { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 25px; border-radius: 12px; color: #bfcbff; background: rgba(88,113,228,.14); font-weight: 850; }
.area-module h2 { margin: 0 0 9px; font-size: 18px; }
.area-module p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.area-module small { margin-top: auto; padding-top: 20px; color: #77839b; font-size: 9px; font-weight: 760; text-transform: uppercase; letter-spacing: .09em; }
.area-module.is-future { background: linear-gradient(145deg, rgba(18,22,36,.62), rgba(9,12,20,.7)); }
.area-primary-action { margin-top: 22px; }
.entity-list-view, .entity-detail { width: 100%; }
.entity-filters { margin-bottom: 16px; padding: 14px; display: grid; grid-template-columns: minmax(220px,1.3fr) repeat(3,minmax(145px,.7fr)); gap: 10px; border: 1px solid var(--line); border-radius: 15px; background: rgba(15,19,31,.72); }
.entity-filters label { display: grid; gap: 7px; color: #8996ae; font-size: 9px; font-weight: 760; text-transform: uppercase; letter-spacing: .05em; }
.entity-filters input, .entity-filters select { min-width: 0; height: 40px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: #0c1220; font-size: 11px; }
.entity-table-wrap { max-height: calc(100vh - 390px); min-height: 280px; }
.entity-table { min-width: 1080px; table-layout: fixed; }
.entity-table--driver th:nth-child(1), .entity-table--driver td:nth-child(1) { width: 13%; }
.entity-table--driver th:nth-child(2), .entity-table--driver td:nth-child(2) { width: 15%; }
.entity-table--driver th:nth-child(3), .entity-table--driver td:nth-child(3) { width: 14%; }
.entity-table--driver th:nth-child(4), .entity-table--driver td:nth-child(4) { width: 12%; }
.entity-table--driver th:nth-child(5), .entity-table--driver td:nth-child(5) { width: 19%; }
.entity-table--driver th:nth-child(6), .entity-table--driver td:nth-child(6) { width: 13%; }
.entity-table--driver th:nth-child(7), .entity-table--driver td:nth-child(7) { width: 14%; }
.entity-table--vehicle th:nth-child(1), .entity-table--vehicle td:nth-child(1) { width: 15%; }
.entity-table--vehicle th:nth-child(2), .entity-table--vehicle td:nth-child(2) { width: 15%; }
.entity-table--vehicle th:nth-child(3), .entity-table--vehicle td:nth-child(3) { width: 13%; }
.entity-table--vehicle th:nth-child(4), .entity-table--vehicle td:nth-child(4) { width: 23%; }
.entity-table--vehicle th:nth-child(5), .entity-table--vehicle td:nth-child(5) { width: 16%; }
.entity-table--vehicle th:nth-child(6), .entity-table--vehicle td:nth-child(6) { width: 18%; }
.entity-table tr[data-entity-id], .entity-files tr[data-file-id] { cursor: pointer; }
.entity-table tr[data-entity-id]:hover td, .entity-files tr[data-file-id]:hover td { background: rgba(82,105,211,.075); }
.download-status { display: inline-flex; padding: 6px 9px; border-radius: 99px; font-size: 8px; font-weight: 850; letter-spacing: .04em; white-space: nowrap; }
.download-status.is-unknown { color: #aeb8ca; background: rgba(159,171,194,.1); }
.entity-detail__header { margin: 24px 0 18px; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.entity-detail__header h1 { margin: 10px 0 8px; font-size: clamp(34px,5vw,56px); letter-spacing: -.05em; }
.entity-detail__header p:last-child { color: var(--muted); }
.entity-summary { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.entity-summary > div { min-width: 0; padding: 15px; display: grid; gap: 7px; background: rgba(13,17,28,.55); }
.entity-summary > div + div { border-left: 1px solid var(--line); }
.entity-summary span { color: #8794ac; font-size: 9px; text-transform: uppercase; }
.entity-summary strong { overflow-wrap: anywhere; font-size: 12px; }
.entity-tabs { margin-top: 18px; }
.entity-tabs button:disabled { opacity: .45; cursor: default; }
.entity-files { margin-top: 22px; }
.entity-files > header { margin-bottom: 14px; }
.entity-files h2 { margin: 0 0 5px; }
.entity-files p { margin: 0; color: var(--muted); font-size: 12px; }
.entity-files-table { min-width: 1160px; table-layout: fixed; }
.entity-files-table th:nth-child(1), .entity-files-table td:nth-child(1) { width: 12%; }
.entity-files-table th:nth-child(2), .entity-files-table td:nth-child(2) { width: 14%; }
.entity-files-table th:nth-child(3), .entity-files-table td:nth-child(3) { width: 27%; }
.entity-files-table th:nth-child(4), .entity-files-table td:nth-child(4) { width: 10%; }
.entity-files-table th:nth-child(5), .entity-files-table td:nth-child(5) { width: 17%; }
.entity-files-table th:nth-child(6), .entity-files-table td:nth-child(6) { width: 11%; }
.entity-files-table th:nth-child(7), .entity-files-table td:nth-child(7) { width: 9%; }

.screen--validation { padding: 106px 22px 48px; flex-direction: column; align-items: center; }
.screen--validation.is-activities-view { padding-inline: clamp(10px, 1.5vw, 24px); }
.screen--validation.is-record-table-view { padding-inline: clamp(10px, 1.5vw, 24px); }
.screen--validation.is-charts-view { padding-inline: clamp(10px, 1.5vw, 24px); }
.screen--validation.is-activities-view .back-button,
.screen--validation.is-activities-view .workspace-card,
.screen--validation.is-record-table-view .back-button,
.screen--validation.is-record-table-view .workspace-card,
.screen--validation.is-charts-view .back-button,
.screen--validation.is-charts-view .workspace-card { width: min(1600px, 100%); }
.screen--validation.is-activities-view .reader-panel { padding-inline: clamp(14px, 2vw, 30px); }
.screen--validation.is-record-table-view .reader-panel { padding-inline: clamp(14px, 2vw, 30px); }
.screen--validation.is-charts-view .reader-panel { padding-inline: clamp(14px, 2vw, 30px); }
.back-button { width: min(820px, 100%); margin-bottom: 18px; padding: 8px 0; border: 0; background: transparent; color: var(--muted); text-align: left; cursor: pointer; }
.back-button:hover { color: var(--text); }
.workspace-card { width: min(820px, 100%); min-height: min(650px, calc(100vh - 176px)); overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg, rgba(22,27,43,.92), rgba(12,15,25,.9)); box-shadow: 0 30px 90px rgba(0,0,0,.35); backdrop-filter: blur(24px); }
.selection-panel, .processing-panel, .result-panel { min-height: inherit; padding: clamp(30px, 5vw, 58px); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.reader-panel { min-height: inherit; padding: clamp(25px, 4vw, 42px); }
.section-heading { text-align: center; margin-bottom: 28px; }
.section-heading h1, .processing-panel h2, .result-panel h2 { margin: 10px 0 9px; font-size: clamp(30px, 4.5vw, 43px); letter-spacing: -.045em; line-height: 1.08; }
.section-heading > p:last-child, .processing-panel > p, .result-message { margin: 0; color: var(--muted); }

.drop-zone { width: 100%; min-height: 270px; padding: 34px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed rgba(135, 154, 205, .38); border-radius: 22px; background: rgba(7, 10, 18, .4); cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.drop-zone:hover, .drop-zone:focus-visible, .drop-zone.is-dragging { outline: none; border-color: var(--cyan); background: rgba(43, 123, 153, .09); }
.drop-zone.is-dragging { transform: scale(1.008); box-shadow: inset 0 0 0 1px rgba(77, 225, 230, .18), 0 0 45px rgba(34, 167, 184, .08); }
.upload-symbol { width: 58px; aspect-ratio: 1; margin-bottom: 18px; display: grid; place-items: center; border-radius: 17px; border: 1px solid var(--line); color: var(--cyan); background: rgba(255,255,255,.035); font-size: 24px; }
.drop-zone > strong { font-size: 17px; }
.drop-zone__or { margin: 11px 0; color: #6f7b94; font-size: 12px; }
.select-file-button { padding: 11px 18px; border: 1px solid rgba(127, 151, 255, .34); border-radius: 12px; color: #dce5ff; background: rgba(94, 116, 221, .11); font-weight: 680; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.select-file-button:hover { border-color: var(--blue); background: rgba(94,116,221,.2); }
.drop-zone small { margin-top: 13px; color: #707c94; }
.file-input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.selected-file { width: 100%; margin-top: 16px; padding: 13px 15px; display: flex; align-items: center; gap: 13px; border: 1px solid rgba(70, 213, 154, .22); border-radius: 15px; background: rgba(70, 213, 154, .055); }
.selected-file__icon { width: 44px; aspect-ratio: 1; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; background: rgba(70,213,154,.12); color: var(--green); font-size: 10px; font-weight: 900; }
.selected-file__copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.selected-file__copy small { color: var(--muted); }
.selected-file__copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.selected-file button { margin-left: auto; border: 0; background: transparent; color: var(--muted); font-size: 23px; cursor: pointer; }
.upload-queue { width: 100%; max-height: 330px; margin-top: 16px; overflow: auto; border: 1px solid var(--line); border-radius: 14px; background: rgba(5,8,15,.36); }
.upload-queue__head, .upload-queue__row { min-width: 620px; display: grid; grid-template-columns: minmax(260px,1.5fr) minmax(150px,.8fr) minmax(190px,1fr); align-items: center; gap: 12px; padding: 11px 14px; text-align: left; }
.upload-queue__head { position: sticky; top: 0; z-index: 2; color: #8997b2; background: #111827; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.upload-queue__row { width: 100%; border: 0; border-top: 1px solid rgba(255,255,255,.055); color: var(--text); background: transparent; cursor: pointer; }
.upload-queue__row:disabled { cursor: default; }
.upload-queue__row:not(:disabled):hover { background: rgba(83,107,213,.08); }
.upload-queue__row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.upload-queue__row span { color: #aeb9ce; font-size: 10px; }
.upload-queue__row small { color: #8b98af; }
.upload-queue__row.is-processing small { color: var(--cyan); }
.upload-queue__row.is-complete small { color: var(--green); }
.upload-queue__row.is-warning small { color: #ffbc66; }
.upload-queue__row.is-error small { color: #ff788c; }
.selection-error { width: 100%; margin: 14px 0 0; padding: 11px 14px; border-radius: 12px; color: #ffd2d8; background: rgba(255,102,123,.1); text-align: center; }

.primary-button, .ghost-button { min-height: 46px; padding: 0 20px; border-radius: 13px; font-weight: 720; cursor: pointer; transition: transform .2s ease, filter .2s ease, border-color .2s ease; }
.primary-button { margin-top: 18px; border: 0; color: white; background: linear-gradient(135deg, #4c78ff, #7755e7); box-shadow: 0 11px 28px rgba(70, 91, 225, .25); }
.primary-button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.ghost-button { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,.035); }
.ghost-button:hover { border-color: var(--line-bright); }
.is-hidden { display: none !important; }

.scanner { position: relative; width: 116px; aspect-ratio: 1; margin-bottom: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(112, 142, 255, .22); box-shadow: 0 0 55px rgba(82, 95, 237, .12); }
.scanner::before, .scanner::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(77,225,230,.14); animation: scannerPulse 2.4s ease-out infinite; }
.scanner::before { inset: 13px; }
.scanner::after { inset: -15px; animation-delay: -1.2s; }
.scanner span { width: 55px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--cyan), var(--blue), var(--violet), var(--cyan)); animation: spin 1.4s linear infinite; box-shadow: 0 0 30px rgba(101, 123, 255, .42); }
.processing-panel { text-align: center; }
.processing-panel > p:not(.kicker) { max-width: 560px; overflow-wrap: anywhere; }
.loading-line { width: min(340px, 84%); height: 4px; margin-top: 26px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.07); }
.loading-line span { display: block; width: 42%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--violet)); animation: loading 1.25s ease-in-out infinite; }

.result-panel { text-align: center; }
.result-icon { width: 76px; aspect-ratio: 1; margin-bottom: 25px; display: grid; place-items: center; border-radius: 50%; color: white; font-size: 34px; font-weight: 900; }
.result-panel.is-success .result-icon { background: rgba(70,213,154,.15); color: var(--green); border: 1px solid rgba(70,213,154,.38); box-shadow: 0 0 40px rgba(70,213,154,.15); }
.result-panel.is-invalid .result-icon { background: rgba(255,102,123,.13); color: var(--red); border: 1px solid rgba(255,102,123,.35); }
.result-panel.is-incomplete .result-icon { background: rgba(245,189,91,.13); color: var(--amber); border: 1px solid rgba(245,189,91,.35); }
.result-message { max-width: 600px; }
.result-summary { width: 100%; margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 17px; background: rgba(5,8,14,.28); }
.result-summary > div { min-height: 90px; padding: 16px; display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.result-summary > div + div { border-left: 1px solid var(--line); }
.result-summary span { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.result-summary strong { font-size: 17px; overflow-wrap: anywhere; }
.result-actions { margin-top: 27px; display: flex; gap: 10px; }
.result-actions .primary-button { margin-top: 0; }

.details-dialog { width: min(1060px, calc(100% - 28px)); max-height: calc(100vh - 32px); padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; color: var(--text); background: #101521; box-shadow: 0 35px 110px rgba(0,0,0,.65); }
.details-dialog::backdrop { background: rgba(1,3,8,.76); backdrop-filter: blur(7px); }
.dialog-header { padding: 24px 27px 19px; display: flex; align-items: center; border-bottom: 1px solid var(--line); background: rgba(16,21,33,.96); }
.dialog-header h2 { margin: 7px 0 0; letter-spacing: -.035em; }
.dialog-close { width: 40px; aspect-ratio: 1; margin-left: auto; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: rgba(255,255,255,.04); font-size: 24px; cursor: pointer; }
.details-content { max-height: calc(100vh - 126px); padding: 24px 27px 35px; overflow: auto; }
.management-dialog { width: min(680px, calc(100% - 28px)); }
.management-content { padding: 26px 28px 30px; overflow: auto; color: #c8d0df; line-height: 1.55; }
.management-content h3 { margin: 0 0 9px; color: var(--text); font-size: 18px; }
.management-content p { margin: 8px 0; }
.management-count { margin: 20px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); }
.management-actions { margin-top: 25px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.danger-button { padding: 10px 14px; border: 1px solid rgba(255,102,123,.42); border-radius: 10px; color: #ff9bab; background: rgba(255,102,123,.08); font: inherit; font-weight: 800; cursor: pointer; }
.danger-button:hover { background: rgba(255,102,123,.15); }
.danger-zone { margin-top: 34px; padding-top: 20px; display: flex; justify-content: flex-end; border-top: 1px solid var(--line); }
.management-form { display: grid; gap: 13px; }
.management-form label { display: grid; gap: 7px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.management-form input, .management-form select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: #0b101b; }
.base-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.base-actions button { padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: rgba(255,255,255,.035); cursor: pointer; }
.downloads-view { width: 100%; }
.download-policy-note { margin: -10px 0 24px; padding: 12px 15px; display: flex; flex-wrap: wrap; gap: 8px 18px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: rgba(255,255,255,.022); font-size: 10px; }
.download-policy-note strong { color: #d9e1f2; }
.download-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.download-group { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg,rgba(20,25,40,.84),rgba(10,14,24,.84)); }
.download-group > header { margin-bottom: 18px; display: flex; justify-content: space-between; gap: 15px; }
.download-group h2 { margin: 7px 0; font-size: 23px; }
.download-group header p:last-child { margin: 0; color: var(--muted); font-size: 11px; }
.download-group header > strong { font-size: 34px; }
.download-state-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.download-state-card { min-height: 118px; padding: 15px; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start; border: 1px solid var(--line); border-radius: 14px; color: var(--text); background: rgba(255,255,255,.025); text-align: left; cursor: pointer; }
.download-state-card span { font-size: 10px; font-weight: 800; letter-spacing: .045em; }
.download-state-card strong { font-size: 26px; }
.download-state-card small { grid-column: 1/-1; align-self: end; color: var(--muted); }
.download-state-card:hover { border-color: var(--line-bright); transform: translateY(-1px); }
.download-state-card.is-ok { border-color: rgba(70,213,154,.25); }
.download-state-card.is-near { border-color: rgba(245,189,91,.28); }
.download-state-card.is-late { border-color: rgba(255,102,123,.3); }
.download-filters { margin-bottom: 15px; padding: 14px; display: grid; grid-template-columns: minmax(210px,1.2fr) repeat(3,minmax(150px,.7fr)); gap: 10px; border: 1px solid var(--line); border-radius: 15px; background: rgba(15,19,31,.72); }
.download-filters label { display: grid; gap: 7px; color: #8996ae; font-size: 9px; font-weight: 760; text-transform: uppercase; }
.download-filters input,.download-filters select { min-width: 0; height: 40px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: #0c1220; }
.download-table-wrap { width: 100%; max-height: calc(100vh - 390px); min-height: 260px; }
.download-table.activity-table { width: 100%; min-width: 1120px; table-layout: fixed; }
.download-table.activity-table th { min-width: 0; max-width: none; padding: 11px 9px; overflow: hidden; white-space: normal; overflow-wrap: normal; line-height: 1.3; vertical-align: middle; }
.download-table.activity-table td { min-width: 0; max-width: none; padding: 11px 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.4; vertical-align: middle; }
.download-table.download-table--driver.activity-table th,
.download-table.download-table--driver.activity-table td,
.download-table.download-table--vehicle.activity-table th,
.download-table.download-table--vehicle.activity-table td { min-width: 0; max-width: none; }
.download-table.activity-table th:nth-child(1),.download-table.activity-table th:nth-child(2) { left: auto; position: sticky; }
.download-table.activity-table td:nth-child(1),.download-table.activity-table td:nth-child(2) { left: auto; position: static; box-shadow: none; }
.download-table td small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; }
.download-table.activity-table.download-table--driver th:nth-child(1),.download-table.activity-table.download-table--driver td:nth-child(1) { width: 22%; }
.download-table.activity-table.download-table--driver th:nth-child(2),.download-table.activity-table.download-table--driver td:nth-child(2) { width: 18%; }
.download-table.activity-table.download-table--driver th:nth-child(3),.download-table.activity-table.download-table--driver td:nth-child(3) { width: 10%; }
.download-table.activity-table.download-table--driver th:nth-child(4),.download-table.activity-table.download-table--driver td:nth-child(4) { width: 7%; }
.download-table.activity-table.download-table--driver th:nth-child(5),.download-table.activity-table.download-table--driver td:nth-child(5) { width: 10%; }
.download-table.activity-table.download-table--driver th:nth-child(6),.download-table.activity-table.download-table--driver td:nth-child(6) { width: 10%; }
.download-table.activity-table.download-table--driver th:nth-child(7),.download-table.activity-table.download-table--driver td:nth-child(7) { width: 13%; }
.download-table.activity-table.download-table--driver th:nth-child(8),.download-table.activity-table.download-table--driver td:nth-child(8) { width: 10%; }
.download-table--driver td:nth-child(1) { white-space: normal; overflow-wrap: anywhere; }
.download-table--driver td:nth-child(2) { text-overflow: clip; }
.download-table--driver th:nth-child(7),.download-table--driver td:nth-child(7),
.download-table--vehicle th:nth-child(6),.download-table--vehicle td:nth-child(6) { white-space: normal; }
.download-table.activity-table.download-table--vehicle th:nth-child(1),.download-table.activity-table.download-table--vehicle td:nth-child(1) { width: 20%; }
.download-table.activity-table.download-table--vehicle th:nth-child(2),.download-table.activity-table.download-table--vehicle td:nth-child(2) { width: 12%; }
.download-table.activity-table.download-table--vehicle th:nth-child(3),.download-table.activity-table.download-table--vehicle td:nth-child(3) { width: 8%; }
.download-table.activity-table.download-table--vehicle th:nth-child(4),.download-table.activity-table.download-table--vehicle td:nth-child(4) { width: 12%; }
.download-table.activity-table.download-table--vehicle th:nth-child(5),.download-table.activity-table.download-table--vehicle td:nth-child(5) { width: 12%; }
.download-table.activity-table.download-table--vehicle th:nth-child(6),.download-table.activity-table.download-table--vehicle td:nth-child(6) { width: 18%; }
.download-table.activity-table.download-table--vehicle th:nth-child(7),.download-table.activity-table.download-table--vehicle td:nth-child(7) { width: 18%; }
.download-table tr[data-download-entity] { cursor: pointer; }
.download-table tr[data-download-entity]:hover td { background: rgba(82,105,211,.075); }
.download-state { display: inline-flex; padding: 6px 9px; border-radius: 99px; font-size: 8px; font-weight: 850; white-space: nowrap; }
.download-state.is-ok { color: var(--green); background: rgba(70,213,154,.1); }
.download-state.is-near { color: var(--amber); background: rgba(245,189,91,.1); }
.download-state.is-late { color: var(--red); background: rgba(255,102,123,.1); }
.download-state.is-unknown { color: #aeb8ca; background: rgba(159,171,194,.1); }
.details-overview { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.detail-card { padding: 14px 15px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.026); }
.detail-card--wide { grid-column: 1 / -1; }
.detail-card span, .signature-item > div > span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.detail-card strong { overflow-wrap: anywhere; font-size: 13px; }
.details-section-title { margin: 27px 0 12px; display: flex; align-items: baseline; justify-content: space-between; }
.details-section-title h3 { margin: 0; }
.details-section-title span { color: var(--muted); font-size: 12px; }
.signature-list { display: grid; gap: 8px; }
.signature-item { padding: 13px; display: grid; grid-template-columns: 30px minmax(150px, 1.2fr) minmax(120px,.8fr) minmax(150px,1fr) minmax(135px,.9fr) auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.02); font-size: 12px; text-align: left; }
.signature-item__number { color: #69758c; }
.signature-item code { display: block; margin-top: 5px; color: #8995ad; overflow-wrap: anywhere; }
.signature-item b { white-space: nowrap; font-size: 11px; }
.status--valid { color: var(--green); }
.status--invalid { color: var(--red); }
.status--incomplete { color: var(--amber); }
.technical-error { grid-column: 2 / -1; margin: 10px 0 0; padding: 12px; border-radius: 10px; color: #ffc4cd; background: rgba(255,102,123,.1); overflow-wrap: anywhere; }
.block-validation-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(190px,1fr)); gap: 8px; }
.block-validation-summary { padding: 15px; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.block-validation-summary > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.block-validation-summary b { font-size: 11px; }
.block-validation-summary.is-valid b { color: var(--green); }
.block-validation-summary.is-invalid { border-color: rgba(255,102,123,.28); background: rgba(255,102,123,.045); }
.block-validation-summary.is-invalid b { color: var(--red); }
.block-validation-summary.is-incomplete { border-color: rgba(245,189,91,.28); background: rgba(245,189,91,.045); }
.block-validation-summary.is-incomplete b { color: var(--amber); }
.block-validation-summary p { margin: 2px 0 0; color: #edb8c0; font-size: 11px; line-height: 1.45; }
.block-validation-summary p span { display: block; margin-bottom: 3px; color: var(--muted); text-transform: uppercase; font-size: 9px; letter-spacing: .07em; }
.block-validation-summary button { align-self: flex-start; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: rgba(255,255,255,.035); cursor: pointer; }
.block-validation-summary .block-validation-toggle { width: 100%; padding: 0; display: flex; flex-direction: column; align-items: stretch; gap: 8px; border: 0; color: inherit; background: transparent; text-align: left; }
.block-validation-toggle > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.block-validation-toggle > em { align-self: flex-start; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: rgba(255,255,255,.035); font-size: 11px; font-style: normal; }
.block-validation-toggle:hover > em { border-color: var(--line-bright); }
.incident-panel { min-width: 0; margin-top: 12px; padding: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: rgba(5,8,15,.52); }
.incident-panel[hidden] { display: none; }
.incident-panel.is-invalid { border-color: rgba(255,102,123,.34); box-shadow: inset 3px 0 0 rgba(255,102,123,.72); }
.incident-panel.is-incomplete { border-color: rgba(245,189,91,.34); box-shadow: inset 3px 0 0 rgba(245,189,91,.72); }
.incident-panel > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.incident-panel > header span, .incident-diagnosis > span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.incident-panel > header h4 { margin: 0; font-size: 17px; }
.incident-panel > header > b { flex: 0 0 auto; font-size: 11px; }
.incident-panel.is-invalid > header > b { color: var(--red); }
.incident-panel.is-incomplete > header > b { color: var(--amber); }
.incident-diagnosis { margin-top: 17px; padding: 15px 16px; border-radius: 12px; background: rgba(255,255,255,.028); }
.incident-diagnosis h5 { margin: 0 0 8px; font-size: 15px; }
.incident-diagnosis p { margin: 5px 0 0; color: #bac4d8; font-size: 12px; line-height: 1.55; }
.incident-technical { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(2,5,10,.28); }
.incident-technical > summary { padding: 12px 14px; color: #cbd5e8; font-size: 11px; font-weight: 700; cursor: pointer; }
.incident-technical[open] > summary { border-bottom: 1px solid var(--line); }
.incident-technical-item { padding: 15px; }
.incident-technical-item + .incident-technical-item { border-top: 1px solid var(--line); }
.incident-technical-item h5 { margin: 0 0 12px; color: #dce5f7; font-size: 12px; }
.incident-technical-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.incident-technical-grid > div { min-width: 0; padding: 9px 10px; border-radius: 8px; background: rgba(255,255,255,.025); }
.incident-technical-grid span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }
.incident-technical-grid strong { display: block; color: #cbd5e8; font-size: 11px; font-weight: 600; overflow-wrap: anywhere; word-break: break-word; }
.incident-technical-wide { grid-column: 1 / -1; }
.incident-hide { margin-top: 14px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: rgba(255,255,255,.035); cursor: pointer; }
.incident-hide:hover { border-color: var(--line-bright); }
.block-validation-summary span, .validation-problem span { color: var(--muted); font-size: 11px; }
.validation-problems { display: grid; gap: 8px; }
.validation-problem { padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(255,102,123,.25); border-radius: 12px; color: var(--text); background: rgba(255,102,123,.06); cursor: pointer; }
.validation-counters { padding: 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 9px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); font-size: 12px; }
.validation-counters button { margin-left: auto; padding: 8px 11px; border: 1px solid rgba(255,102,123,.3); border-radius: 9px; color: #ffd0d7; background: rgba(255,102,123,.09); cursor: pointer; }
.validation-filters { margin: 10px 0 13px; display: grid; grid-template-columns: repeat(2,minmax(180px,1fr)) auto; gap: 10px; align-items: end; }
.validation-filters label { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.validation-filters select { min-height: 40px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: #0d1422; }
.validation-filters > span { padding: 0 0 11px; color: var(--muted); font-size: 11px; }
.signature-technical { grid-column: 2 / -1; }
.signature-technical summary { color: var(--muted); cursor: pointer; }
.signature-technical code { margin-top: 9px; line-height: 1.55; }
.validation-advanced { margin-top: 22px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.018); }
.validation-advanced > summary { padding: 15px 17px; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-weight: 720; }
.validation-advanced > summary small { color: var(--muted); font-weight: 500; }
.validation-advanced[open] > summary { border-bottom: 1px solid var(--line); }
.validation-advanced > :not(summary) { margin-left: 16px; margin-right: 16px; }
.validation-advanced > :last-child { margin-bottom: 16px; }
.reader-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.reader-header h1 { margin: 8px 0 0; max-width: 590px; font-size: clamp(22px, 3.4vw, 34px); overflow-wrap: anywhere; }
.auth-badge { padding: 9px 12px; border: 1px solid rgba(70,213,154,.3); border-radius: 999px; color: var(--green); background: rgba(70,213,154,.08); font-size: 11px; font-weight: 800; white-space: nowrap; }
.auth-badge.is-unverified { color: var(--amber); border-color: rgba(245,189,91,.3); background: rgba(245,189,91,.08); }
.auth-badge.is-bad { color: var(--green); border-color: rgba(70,213,154,.3); background: rgba(70,213,154,.08); }
.auth-badge[role="button"] { cursor: pointer; }
.auth-badge[role="button"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.authenticity-notice { margin: 12px 0 0; padding: 10px 12px; border-left: 3px solid var(--amber); border-radius: 8px; color: #d6c69f; background: rgba(245,189,91,.07); font-size: 11px; line-height: 1.5; }
.authenticity-notice.is-bad { border-left-color: var(--amber); color: #e8c77f; background: rgba(245,189,91,.07); }

.file-recovery{width:100%;margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}
.file-recovery>header{text-align:left;margin-bottom:16px}.file-recovery>header h2{margin:5px 0;font-size:22px}.file-recovery>header p:last-child{margin:0;color:var(--muted);font-size:13px}
.file-recovery__form{display:grid;grid-template-columns:1fr 1.5fr 1fr 1fr;gap:10px;align-items:end}.file-recovery__form label{display:grid;gap:6px;color:var(--muted);font-size:11px}.file-recovery__form select,.file-recovery__form input{min-width:0;height:42px;border:1px solid var(--line);border-radius:9px;background:#0b1220;color:var(--text);padding:0 10px}.file-recovery__form button{grid-column:1/-1}
.file-recovery__result{margin-top:14px;display:grid;gap:8px}.file-recovery__result>header,.file-recovery__result article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:rgba(5,8,15,.35)}.file-recovery__result header span,.file-recovery__result article span{display:block;margin-top:4px;color:var(--muted);font-size:11px}.file-recovery__result article a{color:var(--green);white-space:nowrap}.file-recovery__result .is-warning{color:var(--amber)}
@media(max-width:760px){.file-recovery__form{grid-template-columns:1fr 1fr}.file-recovery__form label:nth-child(2){grid-column:1/-1}}
.administrative-context { margin: 12px 0 4px; padding: 10px 13px; display: flex; align-items: center; gap: 14px; border: 1px solid rgba(102,140,255,.22); border-radius: 10px; color: var(--text); background: rgba(70,92,177,.07); text-align: left; cursor: pointer; }
.administrative-context strong { font-size: 10px; color: #dbe4ff; }
.administrative-context span { color: var(--muted); font-size: 10px; }
.administrative-context.is-unassigned { border-color: rgba(245,189,91,.28); background: rgba(245,189,91,.06); }

.vu-section { width: 100%; }
.vu-section + .vu-section { margin-top: 28px; }
.vu-section .section-heading { margin-bottom: 18px; text-align: left; }
.vu-section .section-heading h2 { margin: 0 0 6px; font-size: 24px; }
.vu-section .section-heading p { margin: 0; color: var(--muted); }
.vu-summary { display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.vu-summary > div { min-height: 86px; padding: 16px; display: flex; flex-direction: column; gap: 8px; justify-content: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(7,11,20,.32); }
.vu-summary span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.vu-summary strong { overflow-wrap: anywhere; }
.vu-filters { margin-bottom: 16px; }
.vu-table { min-width: 1040px; table-layout: auto; }
.vu-table th, .vu-table td { width: auto; min-width: 92px; }
.vu-table th:first-child, .vu-table td:first-child { min-width: 46px; width: 46px; }
.vu-table th:nth-child(2), .vu-table td:nth-child(2),
.vu-table th:nth-child(3), .vu-table td:nth-child(3) { min-width: 146px; }
.vu-table th button { border: 0; padding: 0; color: inherit; background: transparent; font: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; white-space: nowrap; }
.table-pagination { padding: 13px 2px 0; display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: var(--muted); font-size: 11px; }
.table-pagination label { margin-right: auto; }
.table-pagination select, .table-pagination button { min-height: 34px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: #101727; }
.table-pagination button:disabled { opacity: .4; }
.speed-chart-scroll { width: 100%; overflow-x: auto; }
.speed-chart-stage { position: relative; width: max(100%,1200px); }
.speed-chart { width: max(100%,1200px); height: 320px; overflow: visible; background: repeating-linear-gradient(to top,rgba(255,255,255,.045) 0 1px,transparent 1px 25%); }
.speed-chart polyline { fill: none; stroke: #56a6ff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.speed-chart circle { fill: #73c0ff; cursor: help; vector-effect: non-scaling-stroke; }
.speed-hit-area { fill: transparent; cursor: crosshair; pointer-events: all; }
.speed-focus, .speed-guide { opacity: 0; pointer-events: none; transition: opacity .1s ease; vector-effect: non-scaling-stroke; }
.speed-focus { fill: #dff7ff !important; stroke: #4aa5ff; stroke-width: 3; }
.speed-guide { stroke: rgba(174,214,255,.45); stroke-width: 1; stroke-dasharray: 4 4; }
.speed-focus.is-visible, .speed-guide.is-visible { opacity: 1; }
.speed-tooltip { position: absolute; z-index: 4; min-width: 138px; padding: 9px 11px; display: none; grid-template-columns: 1fr auto; gap: 3px 10px; border: 1px solid rgba(105,172,255,.38); border-radius: 9px; color: var(--text); background: rgba(7,13,25,.96); box-shadow: 0 8px 24px rgba(0,0,0,.36); pointer-events: none; font-size: 10px; }
.speed-tooltip.is-visible { display: grid; }
.speed-tooltip strong, .speed-tooltip small { grid-column: 1 / -1; }
.speed-tooltip span { color: #aebbd1; }
.speed-tooltip b { color: #73c0ff; }
.speed-tooltip small { color: var(--muted); font-size: 8px; }
.companies-view { width: 100%; }
.companies-view h1 { margin: 7px 0; font-size: 30px; }
.companies-view h2 { margin: 25px 0 12px; font-size: 18px; }
.admin-create { margin: 20px 0; padding: 13px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.018); }
.admin-create input { min-height: 40px; min-width: 210px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: #111726; }
.admin-create label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.company-list { display: grid; gap: 10px; }
.company-row { display: grid; grid-template-columns: 1fr auto; align-items: center; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.02); }
.company-row > button:first-child { padding: 16px; display: grid; gap: 6px; border: 0; color: var(--text); background: transparent; text-align: left; cursor: pointer; }
.company-row span { color: var(--muted); font-size: 11px; }
.status-toggle { margin-right: 13px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 7px; color: var(--green); background: transparent; cursor: pointer; }
.company-title { margin: 18px 0; display: flex; justify-content: space-between; align-items: center; }
.company-title > span { color: var(--green); font-size: 10px; font-weight: 800; }
.base-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 10px; }
.base-grid article { padding: 14px; display: grid; gap: 7px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.02); }
.base-grid span { color: var(--muted); font-size: 9px; }
.base-grid button { justify-self: start; padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--text); background: transparent; cursor: pointer; }
.base-grid .base-open { width: 100%; padding: 0; display: grid; gap: 7px; border: 0; text-align: left; }
.table-action { padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; color: #cdd8f1; background: transparent; white-space: nowrap; cursor: pointer; }
.admin-table { min-width: 900px; }
.association-body { display: grid; gap: 13px; }
.association-body label { display: grid; gap: 6px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.association-body select,.association-body input { min-height: 40px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: #111726; }
.association-entity { padding: 13px; display: grid; gap: 6px; border: 1px solid var(--line); border-radius: 10px; }
.association-entity span { color: var(--muted); font-size: 11px; }
.quick-create { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.quick-create button { padding: 0 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: rgba(255,255,255,.035); cursor: pointer; }
.reader-meta { margin: 20px 0; padding: 13px 15px; display: flex; gap: 28px; border: 1px solid var(--line); border-radius: 13px; color: var(--muted); font-size: 12px; }
.reader-meta strong { margin-left: 7px; color: var(--text); }
.reader-tabs { display: flex; gap: 7px; overflow-x: auto; padding: 3px 1px 12px; }
.reader-tab { padding: 9px 13px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); background: rgba(255,255,255,.025); cursor: pointer; }
.reader-tab.is-active { color: white; border-color: rgba(102,140,255,.45); background: rgba(102,140,255,.13); }
.reader-content { min-height: 260px; margin-top: 8px; }
.content-block { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.018); overflow: hidden; }
.content-block summary { padding: 14px 16px; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.content-block summary strong { flex: 1; }
.content-block summary span { color: var(--muted); font-size: 11px; }
.block-warning { margin: 0 14px 12px; padding: 10px 12px; border-radius: 10px; color: #f4ce89; background: rgba(245,189,91,.08); font-size: 12px; }
.record-list { padding: 0 14px 14px; display: grid; gap: 8px; }
.data-record { padding: 12px; border: 1px solid rgba(255,255,255,.065); border-radius: 11px; background: rgba(5,8,14,.28); }
.data-record__title { margin-bottom: 9px; color: #8494b4; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.data-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px 14px; }
.record-technical { margin-top: 12px; border-top: 1px solid rgba(255,255,255,.065); padding-top: 10px; }
.record-technical summary { cursor: pointer; color: var(--muted); font-size: 11px; font-weight: 700; }
.record-technical .data-fields { margin-top: 10px; }
.reader-friendly-section .record-list { padding: 0; }
.data-field { min-width: 0; }
.data-field span { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.data-field strong { display: block; margin-top: 3px; overflow-wrap: anywhere; font-size: 12px; }
.nested-records { grid-column: 1 / -1; margin-top: 8px; padding-left: 12px; border-left: 2px solid rgba(102,140,255,.22); }
.trace-line { padding: 9px 14px 13px; color: #69758d; font-family: ui-monospace, monospace; font-size: 10px; }
.reader-another { margin-top: 16px; }
.activities-view { width: 100%; }
.activities-heading { margin-bottom: 16px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.activities-heading h2 { margin: 0 0 5px; font-size: 22px; letter-spacing: -.025em; }
.activities-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.activities-heading > strong { color: #c9d4ed; white-space: nowrap; }
.activity-summary { margin-bottom: 14px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 14px; background: rgba(7,11,20,.35); }
.activity-summary div { min-height: 68px; padding: 12px; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.activity-summary div + div { border-left: 1px solid var(--line); }
.activity-summary span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.activity-summary strong { font-size: 15px; }
.activity-filters { margin-bottom: 14px; padding: 12px; display: flex; align-items: end; gap: 10px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.018); }
.activity-filters label, .activity-pagination label { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.activity-filters input, .activity-filters select, .activity-pagination select { min-height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: #111726; color-scheme: dark; }
.activity-filters .ghost-button { min-height: 38px; }
.activity-filters label:last-child { margin-left: auto; }
.activity-table-wrap { width: 100%; max-height: min(62vh, 680px); overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; border: 1px solid var(--line); border-radius: 14px; }
.activity-table { width: 100%; min-width: 1370px; border-collapse: separate; border-spacing: 0; font-size: 11px; }
.activity-table th { position: sticky; top: 0; z-index: 1; padding: 11px 10px; color: #8f9db8; background: #111827; text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .055em; white-space: nowrap; }
.activity-table td { padding: 10px; border-top: 1px solid rgba(255,255,255,.055); color: #cad3e4; white-space: nowrap; }
.activity-table th:nth-child(1), .activity-table td:nth-child(1) { width: 52px; min-width: 52px; max-width: 52px; position: sticky; left: 0; }
.activity-table th:nth-child(2), .activity-table td:nth-child(2) { width: 164px; min-width: 164px; position: sticky; left: 52px; }
.activity-table th:nth-child(2), .activity-table td:nth-child(2) { box-shadow: 8px 0 12px -12px rgba(0,0,0,.9); }
.activity-table th:nth-child(1), .activity-table th:nth-child(2) { z-index: 4; background: #111827; }
.activity-table td:nth-child(1), .activity-table td:nth-child(2) { z-index: 2; background: #151a29; }
.activity-table tbody tr:nth-child(even) td:nth-child(1), .activity-table tbody tr:nth-child(even) td:nth-child(2) { background: #171d2d; }
.activity-table tbody tr:hover td:nth-child(1), .activity-table tbody tr:hover td:nth-child(2),
.activity-table tbody tr:focus td:nth-child(1), .activity-table tbody tr:focus td:nth-child(2) { background: #1b2741; }
.activity-table th:nth-child(3), .activity-table td:nth-child(3) { min-width: 164px; }
.activity-table th:nth-child(4), .activity-table td:nth-child(4) { min-width: 120px; }
.activity-table th:nth-child(5), .activity-table td:nth-child(5) { min-width: 150px; }
.activity-table th:nth-child(6), .activity-table td:nth-child(6) { min-width: 105px; }
.activity-table th:nth-child(7), .activity-table td:nth-child(7) { min-width: 145px; }
.activity-table th:nth-child(8), .activity-table td:nth-child(8) { min-width: 155px; }
.activity-table th:nth-child(9), .activity-table td:nth-child(9) { min-width: 100px; }
.activity-table th:nth-child(10), .activity-table td:nth-child(10) { min-width: 105px; }
.entity-table.activity-table { min-width: 980px; table-layout: fixed; }
.entity-files-table.activity-table { min-width: 1040px; table-layout: fixed; }
.entity-table.activity-table th,
.entity-files-table.activity-table th { min-width: 0; max-width: none; padding: 11px 9px; white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.3; }
.entity-table.activity-table td,
.entity-files-table.activity-table td { min-width: 0; max-width: none; padding-inline: 9px; }
.entity-table.activity-table th:nth-child(1), .entity-table.activity-table th:nth-child(2),
.entity-files-table.activity-table th:nth-child(1), .entity-files-table.activity-table th:nth-child(2) { left: auto; position: sticky; }
.entity-table.activity-table td:nth-child(1), .entity-table.activity-table td:nth-child(2),
.entity-files-table.activity-table td:nth-child(1), .entity-files-table.activity-table td:nth-child(2) { left: auto; position: static; box-shadow: none; }
.entity-table--driver.activity-table th:nth-child(1), .entity-table--driver.activity-table td:nth-child(1) { width: 13%; }
.entity-table--driver.activity-table th:nth-child(2), .entity-table--driver.activity-table td:nth-child(2) { width: 15%; }
.entity-table--driver.activity-table th:nth-child(3), .entity-table--driver.activity-table td:nth-child(3) { width: 14%; }
.entity-table--driver.activity-table th:nth-child(4), .entity-table--driver.activity-table td:nth-child(4) { width: 11%; }
.entity-table--driver.activity-table th:nth-child(5), .entity-table--driver.activity-table td:nth-child(5) { width: 19%; }
.entity-table--driver.activity-table th:nth-child(6), .entity-table--driver.activity-table td:nth-child(6) { width: 14%; }
.entity-table--driver.activity-table th:nth-child(7), .entity-table--driver.activity-table td:nth-child(7) { width: 14%; }
.entity-table--vehicle.activity-table th:nth-child(1), .entity-table--vehicle.activity-table td:nth-child(1) { width: 15%; }
.entity-table--vehicle.activity-table th:nth-child(2), .entity-table--vehicle.activity-table td:nth-child(2) { width: 15%; }
.entity-table--vehicle.activity-table th:nth-child(3), .entity-table--vehicle.activity-table td:nth-child(3) { width: 12%; }
.entity-table--vehicle.activity-table th:nth-child(4), .entity-table--vehicle.activity-table td:nth-child(4) { width: 24%; }
.entity-table--vehicle.activity-table th:nth-child(5), .entity-table--vehicle.activity-table td:nth-child(5) { width: 16%; }
.entity-table--vehicle.activity-table th:nth-child(6), .entity-table--vehicle.activity-table td:nth-child(6) { width: 18%; }
.entity-files-table.activity-table th:nth-child(1), .entity-files-table.activity-table td:nth-child(1) { width: 15%; }
.entity-files-table.activity-table th:nth-child(2), .entity-files-table.activity-table td:nth-child(2) { width: 14%; }
.entity-files-table.activity-table th:nth-child(3), .entity-files-table.activity-table td:nth-child(3) { width: 25%; }
.entity-files-table.activity-table th:nth-child(4), .entity-files-table.activity-table td:nth-child(4) { width: 11%; }
.entity-files-table.activity-table th:nth-child(5), .entity-files-table.activity-table td:nth-child(5) { width: 17%; }
.entity-files-table.activity-table th:nth-child(6), .entity-files-table.activity-table td:nth-child(6) { width: 10%; }
.entity-files-table.activity-table th:nth-child(7), .entity-files-table.activity-table td:nth-child(7) { width: 8%; }
.activity-table.vu-table { min-width: 1040px; }
.activity-table.vu-table th, .activity-table.vu-table td { width: auto; min-width: 92px; }
.activity-table.vu-table th:first-child, .activity-table.vu-table td:first-child { min-width: 46px; width: 46px; }
.activity-table.vu-table th:nth-child(2), .activity-table.vu-table td:nth-child(2),
.activity-table.vu-table th:nth-child(3), .activity-table.vu-table td:nth-child(3) { min-width: 146px; }
.record-table--vehicles { min-width: 1640px; }
.record-table--vehicles th:nth-child(4), .record-table--vehicles td:nth-child(4),
.record-table--vehicles th:nth-child(5), .record-table--vehicles td:nth-child(5) { min-width: 164px; }
.record-table--vehicles th:nth-child(6), .record-table--vehicles td:nth-child(6) { min-width: 132px; }
.record-table--vehicles th:nth-child(7), .record-table--vehicles td:nth-child(7),
.record-table--vehicles th:nth-child(8), .record-table--vehicles td:nth-child(8) { min-width: 142px; }
.record-table--vehicles th:nth-child(9), .record-table--vehicles td:nth-child(9) { min-width: 125px; }
.record-table--vehicles th:nth-child(11), .record-table--vehicles td:nth-child(11) { min-width: 145px; }
.record-table--places { min-width: 820px; }
.record-table td:nth-child(n+4) { text-align: left; }
.activity-table tbody tr { cursor: pointer; transition: background .15s ease; }
.activity-table tbody tr:nth-child(even) { background: rgba(255,255,255,.018); }
.activity-table tbody tr:hover, .activity-table tbody tr:focus { outline: none; background: rgba(77,111,203,.13); }
.activity-sort { padding: 0; border: 0; color: inherit; background: transparent; text-transform: inherit; letter-spacing: inherit; cursor: pointer; }
.activity-sort.is-active { color: #dce5ff; }
.activity-sort span { margin-left: 3px; color: #63718d; }
.activity-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 7px; font-weight: 700; }
.activity-driving { color: #55dda5; background: rgba(52,211,153,.1); }
.activity-work { color: #ffad55; background: rgba(249,143,45,.1); }
.activity-available { color: #66a9ff; background: rgba(67,139,246,.1); }
.activity-rest { color: #bd83ff; background: rgba(162,91,237,.11); }
.activity-other { color: #b5bfd2; background: rgba(181,191,210,.08); }
.empty-table { padding: 28px !important; color: var(--muted) !important; text-align: center; }
.activity-pagination { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.activity-pagination label { flex-direction: row; align-items: center; }
.activity-pagination > div { display: flex; align-items: center; gap: 10px; }
.activity-pagination .ghost-button { min-height: 38px; padding-inline: 14px; }
.activity-pagination button:disabled { opacity: .35; cursor: not-allowed; }
.activity-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.charts-view { width: 100%; }
.chart-filters { justify-content: flex-start; }
.chart-metrics { margin-bottom: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: rgba(7,11,20,.35); }
.chart-metrics > div { min-height: 76px; padding: 13px 14px; display: flex; flex-direction: column; justify-content: center; gap: 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chart-metrics span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .075em; }
.chart-metrics strong { font-size: 15px; white-space: nowrap; }
.chart-section-title { margin: 25px 0 12px; font-size: 17px; letter-spacing: -.02em; }
.chart-explanation { margin: -5px 0 13px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.chart-grid { display: grid; grid-template-columns: minmax(330px, .8fr) minmax(520px, 1.7fr); gap: 12px; }
.chart-grid--vehicles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chart-card { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(7,11,20,.38); }
.chart-card > header { margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; }
.chart-card > header span { color: #71809d; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.chart-card h4 { margin: 5px 0 0; font-size: 15px; }
.chart-empty { min-height: 210px; display: grid; place-items: center; color: var(--muted); text-align: center; }
.donut-layout { min-height: 275px; display: grid; grid-template-columns: minmax(190px, 230px) minmax(170px, 1fr); gap: 14px; align-items: center; }
.donut-chart { width: 100%; max-width: 230px; overflow: visible; }
.donut-chart text { fill: #8793aa; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.donut-chart .donut-total { fill: var(--text); font-size: 12px; letter-spacing: 0; }
.donut-segment { cursor: help; transition: opacity .16s ease, stroke-width .16s ease; }
.donut-segment:hover { opacity: .82; stroke-width: 33; }
.chart-legend { display: grid; gap: 7px; }
.chart-legend > div { padding: 8px 9px; display: grid; grid-template-columns: 9px 1fr auto; gap: 4px 8px; align-items: center; border-radius: 9px; background: rgba(255,255,255,.025); cursor: help; }
.chart-legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--chart-color); }
.chart-legend span, .chart-legend strong { font-size: 11px; }
.chart-legend small { grid-column: 2 / -1; color: var(--muted); font-size: 9px; }
.daily-chart-scroll { width: 100%; overflow-x: auto; padding: 5px 2px 10px; }
.daily-chart { width: max(100%, calc(var(--day-count) * 34px)); height: 275px; display: flex; align-items: flex-end; gap: 5px; border-bottom: 1px solid var(--line); background-image: repeating-linear-gradient(to top, rgba(255,255,255,.045) 0 1px, transparent 1px 25%); }
.daily-column { min-width: 29px; height: 100%; display: flex; flex: 1 0 29px; flex-direction: column; justify-content: flex-end; align-items: stretch; }
.daily-stack { height: 235px; display: flex; flex-direction: column-reverse; justify-content: flex-start; border-radius: 5px 5px 0 0; overflow: hidden; background: rgba(255,255,255,.025); }
.daily-stack span { display: block; min-height: 1px; background: var(--chart-color); cursor: help; transition: filter .15s ease; }
.daily-stack span:hover { filter: brightness(1.22); }
.daily-column small { height: 33px; padding-top: 7px; color: #6f7d97; font-size: 8px; white-space: nowrap; writing-mode: vertical-rl; }
.chart-axis-note { margin: 6px 0 0; color: #6f7d97; font-size: 9px; }
.horizontal-chart { max-height: 430px; overflow: auto; display: grid; gap: 11px; padding-right: 5px; }
.horizontal-bar { cursor: help; }
.horizontal-bar__label { margin-bottom: 5px; display: flex; justify-content: space-between; gap: 12px; color: #cbd4e8; font-size: 10px; }
.horizontal-bar__label span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.horizontal-bar__label strong { flex: 0 0 auto; }
.horizontal-bar__track { height: 8px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.055); }
.horizontal-bar__track i { display: block; height: 100%; min-width: 2px; border-radius: inherit; background: linear-gradient(90deg, #4d81ff, #58d5cc); }
#vehicleUsageChart .horizontal-bar__track i { background: linear-gradient(90deg, #8c61ef, #bd83ff); }
.chart-trace { margin: 12px 0 0; color: #68758d; font-size: 9px; }
.vehicle-summary { margin-bottom: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vehicle-summary small { color: var(--muted); font-size: 9px; }
.active-filters:empty { display: none; }
.active-filters { margin: -2px 0 16px; padding: 10px 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; border: 1px solid rgba(102,140,255,.2); border-radius: 11px; background: rgba(70,92,177,.07); font-size: 10px; }
.active-filters strong { color: #dbe4ff; }
.active-filters span { padding: 5px 8px; border-radius: 7px; color: #b9c7e5; background: rgba(255,255,255,.04); }
.active-filters button { margin-left: auto; padding: 5px 9px; border: 1px solid var(--line); border-radius: 7px; color: #d8e1f5; background: transparent; cursor: pointer; }
.relation-notice:empty { display: none; }
.relation-notice { margin: -5px 0 16px; padding: 10px 12px; border-left: 3px solid var(--amber); border-radius: 7px; color: #c6ccda; background: rgba(245,189,91,.065); font-size: 10px; line-height: 1.5; }
.horizontal-bar { width: 100%; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.horizontal-bar:hover .horizontal-bar__track i, .horizontal-bar:focus-visible .horizontal-bar__track i { filter: brightness(1.25); }
.daily-stack { cursor: pointer; }
.daily-stack:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.day-detail-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.day-detail-summary > div { padding: 11px; display: grid; gap: 5px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.025); }
.day-detail-summary span { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.day-detail-summary strong { font-size: 13px; }
.day-activity-list, .day-place-list { display: grid; gap: 6px; }
.day-activity-list button { padding: 9px 10px; display: grid; grid-template-columns: 90px 130px 1fr; gap: 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: rgba(255,255,255,.025); text-align: left; }
.day-activity-list small, .day-place-list span { color: var(--muted); }
.day-place-list span { padding: 7px 9px; border-radius: 7px; background: rgba(255,255,255,.02); }
.detail-filter-button { margin-top: 16px; }
.day-filter-context { margin-bottom: 14px; padding: 10px 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; border: 1px solid rgba(102,140,255,.22); border-radius: 10px; background: rgba(80,105,210,.07); font-size: 10px; }
.day-filter-context span { color: var(--muted); }
.day-filter-context button { margin-left: auto; padding: 6px 9px; border: 1px solid var(--line); border-radius: 7px; color: var(--text); background: rgba(255,255,255,.035); cursor: pointer; }
.day-timeline { margin: 18px 0 22px; padding: 14px 14px 17px; overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; background: rgba(5,8,15,.38); }
.timeline-overlap-note { margin: 10px 0 -7px; color: #aeb8cc; font-size: 9px; line-height: 1.5; }
.timeline-scale { min-width: 700px; margin-left: 68px; display: grid; grid-template-columns: repeat(5, 1fr); color: #78849c; font-size: 9px; }
.timeline-scale span:not(:first-child):not(:last-child) { text-align: center; }
.timeline-scale span:last-child { text-align: right; }
.timeline-lane { min-width: 768px; margin-top: 8px; display: grid; grid-template-columns: 58px 1fr; gap: 10px; align-items: center; }
.timeline-lane > span { color: #9aa6bd; font-size: 9px; font-weight: 800; }
.timeline-track { position: relative; height: 38px; overflow: hidden; border-radius: 7px; background: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 6px, rgba(255,255,255,.045) 6px 7px); }
.timeline-track::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 24.9%, rgba(255,255,255,.09) 25%, transparent 25.1%, transparent 49.9%, rgba(255,255,255,.09) 50%, transparent 50.1%, transparent 74.9%, rgba(255,255,255,.09) 75%, transparent 75.1%); }
.timeline-empty { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(155,165,186,.38); font-size: 9px; font-style: normal; }
.timeline-segment { position: absolute; z-index: 1; top: 4px; bottom: 4px; min-width: 2px; padding: 0; border: 1px solid rgba(255,255,255,.16); border-radius: 5px; background: currentColor; cursor: help; opacity: .88; }
.timeline-segment:hover, .timeline-segment:focus-visible { z-index: 3; opacity: 1; filter: brightness(1.2); outline: 2px solid rgba(255,255,255,.4); }
.timeline-no-data { min-width: 700px; padding: 25px; color: var(--muted); text-align: center; }
.day-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 11px; }
.day-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 10px; }
.day-table th, .day-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.day-table th { color: #94a7cf; font-size: 9px; text-transform: uppercase; }
.day-navigation { margin-top: 18px; display: flex; justify-content: space-between; gap: 12px; }
.day-navigation button { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: rgba(255,255,255,.035); cursor: pointer; }
.day-navigation button:disabled { opacity: .35; cursor: not-allowed; }

button:focus-visible, label:focus-visible, .brand:focus-visible { outline: 3px solid rgba(102,140,255,.42); outline-offset: 3px; }

.infringements-view { display:grid; gap:18px; }
.infringements-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:18px; }
.infringements-heading h2,.infringement-chart h3,.infringement-dialog h3 { margin:0 0 6px; }
.infringements-heading p,.infringement-chart p { margin:0; color:var(--muted); }
.technical-scope { flex:none; padding:7px 10px; border:1px solid rgba(242,185,80,.28); border-radius:999px; color:#f2c66d; background:rgba(242,185,80,.07); font-size:8px; font-weight:800; letter-spacing:.08em; }
.infringement-summary { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); border:1px solid var(--line); border-radius:13px; overflow:hidden; background:rgba(4,9,18,.22); }
.infringement-summary div { padding:14px 16px; }
.infringement-summary div+div { border-left:1px solid var(--line); }
.infringement-summary span { display:block; margin-bottom:5px; color:var(--muted); font-size:8px; text-transform:uppercase; }
.infringement-summary strong { font-size:17px; }
.infringement-summary .is-alert strong { color:#ff7c91; }
.infringement-filters { display:grid; grid-template-columns:145px 145px minmax(185px,1fr) minmax(175px,1fr) minmax(220px,1.2fr); gap:12px; padding:14px; border:1px solid var(--line); border-radius:13px; }
.infringement-filters label { color:var(--muted); font-size:8px; font-weight:700; text-transform:uppercase; }
.infringement-filters input,.infringement-filters select { width:100%; margin-top:6px; padding:10px; border:1px solid var(--line); border-radius:8px; color:var(--text); background:rgba(4,9,18,.42); }
.infringement-result-count { margin:-6px 0 0; color:var(--muted); font-size:9px; }
.infringement-table { min-width:1120px; }
.infringement-table tbody tr { cursor:pointer; }
.infringement-table tbody tr:hover { background:rgba(102,140,255,.08); }
.infringement-table td:nth-child(2) { min-width:220px; white-space:normal; }
.infringement-table th:nth-child(8),.infringement-table td:nth-child(8) { min-width:245px; white-space:normal; }
.infringement-cause-label { display:block; color:#e5d5ac; font-weight:750; line-height:1.35; }
.infringement-table td:nth-child(8) small { display:block; margin-top:5px; color:var(--muted); line-height:1.35; }
.infringement-cause-summary { padding:13px 15px; border:1px solid rgba(242,185,80,.19); border-radius:12px; background:rgba(242,185,80,.035); }
.infringement-cause-summary header { display:flex; justify-content:space-between; gap:14px; color:#dbc994; }
.infringement-cause-summary header span { color:var(--muted); font-size:9px; }
.infringement-cause-summary > div { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-top:10px; }
.infringement-cause-summary > div div { padding:10px 12px; border:1px solid var(--line); border-radius:9px; }
.infringement-cause-summary span,.infringement-cause-summary small { display:block; color:var(--muted); font-size:8px; }
.infringement-cause-summary strong { display:block; margin:4px 0; font-size:11px; }
.infringement-table th:nth-child(1),.infringement-table td:nth-child(1) { min-width:110px; }
.infringement-table th:nth-child(3),.infringement-table td:nth-child(3) { min-width:175px; }
.infringement-table th:nth-child(4),.infringement-table td:nth-child(4) { min-width:205px; }
.infringement-table th:nth-child(5),.infringement-table td:nth-child(5),.infringement-table th:nth-child(6),.infringement-table td:nth-child(6),.infringement-table th:nth-child(7),.infringement-table td:nth-child(7) { min-width:105px; }
.infringement-badge { display:inline-flex; max-width:190px; padding:5px 8px; border:1px solid transparent; border-radius:999px; font-size:7px; font-weight:900; letter-spacing:.04em; line-height:1.25; }
.infringement-badge.is-infringement { color:#ff8da0; border-color:rgba(255,90,120,.32); background:rgba(255,70,105,.11); }
.infringement-badge.is-compliant { color:#50dba0; border-color:rgba(65,215,150,.28); background:rgba(45,200,135,.09); }
.infringement-badge.is-insufficient { color:#f2c66d; border-color:rgba(242,185,80,.3); background:rgba(242,185,80,.08); }
.infringement-badge.is-special { color:#84b6ff; border-color:rgba(100,155,255,.3); background:rgba(90,135,255,.09); }
.infringement-dialog { width:min(1180px,calc(100vw - 32px)); max-width:none; }
.infringement-detail-status { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:16px; color:var(--muted); }
.infringement-explanation { color:#cbd4e6; font-size:13px; line-height:1.6; }
.infringement-detail-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:18px 0; border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.infringement-detail-grid div { padding:13px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
.infringement-detail-grid span { display:block; margin-bottom:5px; color:var(--muted); font-size:8px; text-transform:uppercase; }
.infringement-chart { margin-top:22px; }
.infringement-timeline-scroll { margin-top:14px; overflow-x:auto; padding-bottom:9px; }
.infringement-timeline { min-width:900px; padding:18px; border:1px solid var(--line); border-radius:12px; background:rgba(4,9,18,.42); }
.infringement-timeline__hours { display:flex; justify-content:space-between; margin-bottom:8px; color:#8491aa; font-size:8px; }
.infringement-timeline__track { position:relative; height:72px; overflow:visible; border-radius:7px; background:repeating-linear-gradient(135deg,rgba(255,255,255,.025) 0 7px,rgba(255,255,255,.05) 7px 8px); }
.infringement-timeline__track::after { content:""; position:absolute; inset:0; pointer-events:none; background:repeating-linear-gradient(90deg,transparent 0 calc(12.5% - 1px),rgba(255,255,255,.07) calc(12.5% - 1px) 12.5%); }
.infringement-timeline__empty { position:absolute; inset:0; display:grid; place-items:center; color:rgba(180,190,210,.28); font-size:10px; }
.infringement-timeline__segment { position:absolute; z-index:2; top:17px; height:38px; min-width:2px; border:1px solid rgba(255,255,255,.16); cursor:help; }
.infringement-timeline__segment.is-driving,.infringement-timeline__legend .is-driving::before { background:#22c98b; }
.infringement-timeline__segment.is-work,.infringement-timeline__legend .is-work::before { background:#ee9a39; }
.infringement-timeline__segment.is-availability,.infringement-timeline__legend .is-availability::before { background:#438ee8; }
.infringement-timeline__segment.is-rest,.infringement-timeline__legend .is-rest::before { background:#9660e8; }
.infringement-timeline__segment.is-manual-rest,.infringement-timeline__legend .is-manual-rest::before { background:repeating-linear-gradient(135deg,#a66ff0 0 5px,#7043b4 5px 10px); box-shadow:inset 0 0 0 1px rgba(235,216,255,.55); }
.infringement-timeline__segment.is-unknown,.infringement-timeline__legend .is-unknown::before { background:repeating-linear-gradient(135deg,#4d5667 0 5px,#303746 5px 10px); }
.infringement-timeline__window { position:absolute; z-index:3; top:5px; bottom:5px; border:2px solid #d6e1ff; border-radius:6px; pointer-events:none; }
.infringement-timeline__limit { position:absolute; z-index:5; top:-6px; bottom:-6px; width:2px; background:#ffd06d; }
.infringement-timeline__limit i { position:absolute; bottom:100%; left:50%; transform:translateX(-50%); color:#ffd06d; font-size:8px; font-style:normal; }
.infringement-timeline__excess { position:absolute; z-index:4; top:11px; bottom:11px; border:2px solid #ff5575; background:rgba(255,65,100,.28); pointer-events:none; }
.infringement-timeline__gap { position:absolute; z-index:4; top:10px; bottom:10px; min-width:3px; border:2px solid #f2b950; background:repeating-linear-gradient(135deg,rgba(242,185,80,.34) 0 7px,rgba(242,185,80,.08) 7px 14px); cursor:help; }
.infringement-timeline__gap::after { content:"SIN INFORMACIÓN"; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); color:#ffe0a0; font-size:7px; font-weight:900; letter-spacing:.08em; white-space:nowrap; }
.infringement-timeline__gap:focus-visible,.infringement-timeline__gap:hover { filter:brightness(1.18); outline:2px solid rgba(255,224,160,.55); }
.infringement-timeline__gap.is-card-out { border-color:#ffb55a; background:repeating-linear-gradient(135deg,rgba(255,181,90,.42) 0 7px,rgba(255,181,90,.08) 7px 14px); }
.infringement-timeline__gap.is-manual-partial { border-color:#c589ff; background:repeating-linear-gradient(135deg,rgba(197,137,255,.38) 0 7px,rgba(242,185,80,.12) 7px 14px); }
.infringement-timeline__gap.is-no-activity { border-color:#9ca8bc; background:repeating-linear-gradient(135deg,rgba(156,168,188,.34) 0 7px,rgba(80,90,108,.1) 7px 14px); }
.infringement-timeline__legend { display:flex; flex-wrap:wrap; gap:14px; margin-top:13px; color:var(--muted); font-size:8px; }
.infringement-timeline__legend span::before { content:""; display:inline-block; width:8px; height:8px; margin-right:5px; border-radius:2px; vertical-align:-1px; }
.legal-scope-notice { margin-top:18px; padding:13px 15px; border-left:3px solid #f2b950; border-radius:8px; color:#d9c99f; background:rgba(242,185,80,.07); }
.legal-scope-notice p { margin:5px 0 0; line-height:1.5; }
.infringement-coverage-explanation { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:15px 0; }
.infringement-coverage-explanation div { padding:13px 15px; border:1px solid rgba(242,185,80,.2); border-radius:10px; background:rgba(242,185,80,.045); }
.infringement-coverage-explanation span { color:#f2c66d; font-size:8px; font-weight:800; text-transform:uppercase; }
.infringement-coverage-explanation p { margin:6px 0 0; color:#cbd4e6; line-height:1.5; }
.infringement-primary-cause { margin:15px 0; padding:15px 17px; border-left:3px solid #f2b950; border-radius:9px; background:rgba(242,185,80,.065); }
.infringement-primary-cause span { display:block; color:#f2c66d; font-size:8px; font-weight:850; letter-spacing:.08em; }
.infringement-primary-cause strong { display:block; margin-top:5px; font-size:14px; }
.infringement-primary-cause p { margin:7px 0 0; color:#cbd4e6; line-height:1.5; }
.infringement-primary-cause small { display:block; margin-top:8px; color:#b5bfd0; }
.infringement-partial-detail { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:12px 0 0; }
.infringement-partial-detail div { padding:9px 10px; border:1px solid rgba(197,137,255,.2); border-radius:8px; background:rgba(197,137,255,.045); }
.infringement-partial-detail dt { color:#bba5d8; font-size:8px; text-transform:uppercase; }
.infringement-partial-detail dd { margin:5px 0 0; line-height:1.45; }
.infringement-user-view { max-width:none; }
.analysis-controls { padding:18px; border:1px solid var(--line); border-radius:14px; background:rgba(8,15,29,.48); }
.analysis-control-heading { display:flex; justify-content:space-between; align-items:center; gap:18px; margin-bottom:14px; }
.analysis-control-heading span,.analysis-summary span,.attention-section header span { display:block; color:#8fa0be; font-size:8px; font-weight:850; letter-spacing:.09em; }
.analysis-control-heading strong { display:block; margin-top:5px; font-size:13px; }
.analysis-date-grid { display:grid; grid-template-columns:160px 160px 1fr; gap:12px; align-items:end; }
.analysis-date-grid label { color:var(--muted); font-size:8px; font-weight:800; text-transform:uppercase; }
.analysis-date-grid input { width:100%; margin-top:6px; padding:10px; border:1px solid var(--line); border-radius:9px; color:var(--text); background:#0b1322; }
.quick-periods { display:flex; flex-wrap:wrap; gap:7px; }
.quick-periods button,.attention-switches label,.rule-check { padding:9px 11px; border:1px solid var(--line); border-radius:9px; color:#cbd5e8; background:rgba(255,255,255,.025); cursor:pointer; }
.quick-periods button:hover,.rule-check:hover { border-color:#5878cf; background:rgba(75,110,210,.08); }
.rule-check-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.rule-check { display:flex; gap:8px; align-items:center; font-size:10px; line-height:1.3; }
.rule-check--all { white-space:nowrap; }
.analysis-summary { display:grid; grid-template-columns:1.4fr repeat(3,1fr); border:1px solid var(--line); border-radius:14px; overflow:hidden; background:linear-gradient(120deg,rgba(33,54,96,.18),rgba(4,9,18,.2)); }
.analysis-summary div { min-width:0; padding:16px 18px; }
.analysis-summary div+div { border-left:1px solid var(--line); }
.analysis-summary strong { display:block; margin-top:7px; font-size:18px; overflow-wrap:anywhere; }
.analysis-summary .is-alert strong { color:#ff879a; }
.attention-switches { display:flex; flex-wrap:wrap; gap:8px; }
.attention-switches label { font-size:9px; }
.attention-section { padding:18px; border:1px solid var(--line); border-radius:15px; background:rgba(4,9,18,.28); }
.attention-section>header { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:14px; }
.attention-section h3 { margin:5px 0 0; font-size:18px; }
.attention-section>header>strong { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; color:#ff93a4; background:rgba(255,80,110,.1); }
.attention-section--gaps>header>strong { color:#f2c66d; background:rgba(242,185,80,.1); }
.attention-section--special>header>strong { color:#84b6ff; background:rgba(90,135,255,.1); }
.attention-section>p { margin:-7px 0 14px; color:var(--muted); font-size:10px; }
.attention-list,.gap-list { display:grid; gap:10px; }
.attention-card,.gap-card { display:grid; grid-template-columns:minmax(240px,1fr) auto auto; gap:18px; align-items:center; padding:15px 17px; border:1px solid var(--line); border-radius:12px; background:rgba(12,21,38,.72); }
.attention-card:hover,.gap-card:hover { border-color:#536da9; transform:translateY(-1px); }
.attention-card h4,.gap-card h4 { margin:4px 0; font-size:14px; }
.attention-card p,.gap-card p { margin:4px 0; color:var(--muted); font-size:10px; }
.attention-card__date,.gap-card>div>span { color:#9cb2da; font-size:9px; }
.attention-card dl { display:grid; grid-template-columns:repeat(3,minmax(92px,1fr)); margin:0; }
.attention-card dl div { padding:5px 13px; border-left:1px solid var(--line); }
.attention-card dt { color:var(--muted); font-size:7px; text-transform:uppercase; }
.attention-card dd { margin:4px 0 0; font-weight:800; }
.gap-card small { display:block; margin-top:8px; color:#d6c58f; line-height:1.45; }
.compliant-results { border:1px solid var(--line); border-radius:13px; overflow:hidden; }
.compliant-results>summary { display:flex; justify-content:space-between; gap:15px; padding:15px 17px; cursor:pointer; font-weight:800; }
.compliant-results>summary span { color:var(--muted); font-size:9px; font-weight:500; }
.compliant-list { display:grid; max-height:380px; overflow:auto; border-top:1px solid var(--line); }
.compliant-list button { display:grid; grid-template-columns:110px 1fr auto; gap:14px; padding:11px 17px; border:0; border-bottom:1px solid var(--line); color:var(--text); text-align:left; background:transparent; }
.compliant-list em { color:#50dba0; font-size:8px; font-style:normal; }
.weekly-bars { display:flex; align-items:flex-end; gap:10px; height:190px; padding:20px; border:1px solid var(--line); border-radius:12px; }
.weekly-bars>div { display:grid; grid-template-rows:1fr auto auto; flex:1; height:100%; text-align:center; }
.weekly-bars>div>span { align-self:end; min-height:3px; border-radius:6px 6px 2px 2px; background:linear-gradient(#53a4ff,#5f67dc); }
.weekly-bars small { color:var(--muted); }
.weekly-timeline{margin-top:14px;padding:16px;border:1px solid var(--line);border-radius:12px;overflow-x:auto}.weekly-timeline__row{display:grid;grid-template-columns:80px minmax(720px,1fr) 105px;align-items:center;gap:10px;margin:8px 0}.weekly-timeline__row>div{position:relative;height:34px;border-radius:5px;background:repeating-linear-gradient(90deg,#0d1727 0 calc(25% - 1px),#2b3850 calc(25% - 1px) 25%)}.weekly-timeline__row>div>span{position:relative;z-index:1;display:inline-block;width:20%;color:#738099;font-size:8px}.weekly-timeline__row i{position:absolute;z-index:2;top:11px;height:15px;min-width:2px}.weekly-timeline .is-driving{background:#22c98b}.weekly-timeline .is-work{background:#ee9a39}.weekly-timeline .is-availability{background:#438ee8}.weekly-timeline .is-rest{background:#9660e8}.weekly-timeline .is-unknown{background:repeating-linear-gradient(135deg,#4d5667 0 4px,#303746 4px 8px)}.weekly-timeline__limit{position:absolute;z-index:4;top:-6px;bottom:-6px;width:2px;background:#ffd06d}.weekly-timeline__limit em{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);color:#ffd06d;font-size:8px;font-style:normal;white-space:nowrap}.weekly-timeline>p{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0;color:var(--muted);font-size:9px}.weekly-timeline>p span{display:inline-block;width:10px;height:10px;border-radius:2px}
.biweekly-blocks,.compensation-flow { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.biweekly-blocks div,.compensation-flow div { padding:18px; border-right:1px solid var(--line); }
.biweekly-blocks span,.compensation-flow span { display:block; color:var(--muted); font-size:8px; }
.biweekly-blocks strong,.compensation-flow strong { display:block; margin:7px 0; font-size:18px; }
.weekly-rest-line { display:flex; align-items:center; gap:15px; padding:25px; border:1px solid var(--line); border-radius:12px; }
.weekly-rest-line>i { flex:1; height:3px; background:linear-gradient(90deg,#6d58dd,#aa6eea); }
.weekly-rest-line>div { padding:15px 24px; border-radius:999px; text-align:center; background:rgba(150,96,232,.15); }
.weekly-rest-line small { display:block; color:#c4a6ef; }
.weekly-limit-chart,.weekly-deadline-chart,.weekly-rest-weeks,.weekly-compensation-chart{margin:14px 0;padding:18px;border:1px solid #2a3b56;border-radius:12px;background:linear-gradient(145deg,rgba(14,25,43,.92),rgba(7,14,25,.92))}.weekly-limit-chart header{display:flex;justify-content:space-between;gap:24px}.weekly-limit-chart header div{display:grid;gap:4px}.weekly-limit-chart header div:last-child{text-align:right}.weekly-limit-chart header span,.weekly-deadline-chart small,.weekly-compensation-chart small{color:#93a0b6;font-size:10px;text-transform:uppercase;letter-spacing:.06em}.weekly-limit-chart__track{position:relative;height:28px;margin:24px 0 13px;border:1px solid #31415d;border-radius:999px;background:#08101d;box-shadow:inset 0 2px 8px #0008}.weekly-limit-chart__value,.weekly-limit-chart__difference{position:absolute;top:3px;bottom:3px;left:0;border-radius:999px;background:linear-gradient(90deg,#3984dc,#57c8e5)}.weekly-limit-chart.is-complete .weekly-limit-chart__value{background:linear-gradient(90deg,#267b5b,#54d7a0)}.weekly-limit-chart.is-danger .weekly-limit-chart__difference{border-radius:0 999px 999px 0;background:linear-gradient(90deg,#d63c58,#ff6078)}.weekly-limit-chart.is-below-danger .weekly-limit-chart__value{background:linear-gradient(90deg,#c18632,#efb94c)}.weekly-limit-chart__track>b{position:absolute;z-index:2;top:-8px;bottom:-8px;width:2px;background:#ffd06d}.weekly-limit-chart__track>b em{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);padding:2px 5px;border-radius:4px;background:#3b2b0e;color:#ffd06d;font-size:8px;font-style:normal;white-space:nowrap}.weekly-limit-chart footer{display:flex;justify-content:space-between;gap:15px;color:#9eabc0;font-size:11px}.weekly-limit-chart.is-danger footer strong{color:#ff667d}.weekly-deadline-chart h4,.weekly-rest-weeks h4,.weekly-compensation-chart h4{margin:0 0 18px}.weekly-deadline-chart__track{position:relative;height:30px;margin:28px 7px 18px;border:1px solid #34445e;border-radius:999px;background:#08101d}.weekly-deadline-chart__allowed,.weekly-deadline-chart__late{position:absolute;top:4px;bottom:4px;left:0;border-radius:999px;background:linear-gradient(90deg,#4e62bc,#8c72e9)}.weekly-deadline-chart__late{border-radius:0 999px 999px 0;background:linear-gradient(90deg,#cb334f,#ff5c75)}.weekly-deadline-chart__track>b{position:absolute;z-index:2;top:-8px;bottom:-8px;width:2px;background:#ffd06d}.weekly-deadline-chart__track>b.is-actual{background:#ff5670}.weekly-deadline-chart__track>b em{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);font-size:8px;font-style:normal;white-space:nowrap}.weekly-deadline-chart__dates,.weekly-compensation-chart__dates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.weekly-deadline-chart__dates span,.weekly-compensation-chart__dates span{display:grid;gap:5px;padding:13px;border:1px solid #263650;border-radius:9px;background:#0a1423}.weekly-deadline-chart__dates strong,.weekly-compensation-chart__dates strong{font-size:13px}.weekly-rest-weeks>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.weekly-rest-weeks article{position:relative;padding:16px;border:1px solid #395174;border-left:4px solid #6b8fd1;border-radius:9px;background:#0b1525}.weekly-rest-weeks article.is-missing{border-color:#7d4c25;border-left-color:#ef9c45}.weekly-rest-weeks article>span{color:#8fa1bb;font-size:9px;letter-spacing:.08em}.weekly-rest-weeks article>strong{display:block;margin:4px 0 10px}.weekly-rest-weeks article p{display:grid;gap:3px;margin:7px 0}.weekly-rest-weeks article small{color:#9eabc0}.weekly-compensation-chart__dates em{color:#a8b4c8;font-size:10px;font-style:normal;line-height:1.4}
.weekly-span-chart{margin:0 0 16px;padding:14px;border:1px solid #263650;border-radius:10px;background:#08111f}.weekly-span-chart header{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:12px}.weekly-span-chart h5{margin:0;font-size:14px}.weekly-span-chart header p{max-width:760px;margin:0;color:#95a2b7;font-size:10px;line-height:1.45}.weekly-span-chart__rows{display:grid;gap:8px}.weekly-span-chart__row{display:grid;grid-template-columns:170px minmax(360px,1fr) minmax(275px,390px);align-items:center;gap:12px;min-height:76px;padding:10px;border:1px solid #334663;border-radius:8px;background:#0d1829}.weekly-span-chart__identity span,.weekly-span-chart__total>span{display:block;color:#8798b0;font-size:8px;letter-spacing:.07em}.weekly-span-chart__identity strong,.weekly-span-chart__total>strong{display:block;margin-top:5px;font-size:11px}.weekly-span-chart__days{display:grid;grid-template-columns:repeat(7,minmax(36px,1fr));overflow:hidden;border:1px solid #344660;border-radius:7px}.weekly-span-chart__days>div{position:relative;min-width:0;padding:6px 5px;background:#101c2d;border-left:1px solid #263650}.weekly-span-chart__days>div:first-child{border-left:0}.weekly-span-chart__days span{display:block;color:#aebbd0;font-size:9px;font-weight:700}.weekly-span-chart__days small{display:block;margin-top:3px;color:#73839b;font-size:8px}.weekly-span-chart__days i{display:block;height:8px;margin-top:5px;overflow:hidden;border-radius:4px;background:#07101c}.weekly-span-chart__days b{display:block;height:100%;min-width:0;border-radius:4px;background:#9c6ee8}.weekly-span-chart__days .is-outside{opacity:.28}.weekly-span-chart__days .has-source{box-shadow:inset 0 3px #9c6ee8}.weekly-span-chart__days .has-allocation{box-shadow:inset 0 3px #49c796}.weekly-span-chart__days .has-deadline{box-shadow:inset 0 -3px #ec9c46}.weekly-span-chart__days .has-source.has-deadline{box-shadow:inset 0 3px #9c6ee8,inset 0 -3px #ec9c46}.weekly-span-chart__rest-list{display:grid;gap:5px;margin-top:7px}.weekly-span-chart__rest-list article{display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:6px 8px;border:1px solid #344660;border-radius:6px;background:#101c2d}.weekly-span-chart__rest-list b{grid-column:1/-1;color:#c7d5e8;font-size:9px}.weekly-span-chart__rest-list span{color:#91a1b8;font-size:8px}.weekly-span-chart__rest-list strong{grid-column:2;grid-row:2/4;align-self:center;color:#fff;font-size:10px}.weekly-span-chart__crossing{margin-top:7px;padding:6px 8px;border-left:3px solid #7aa7e8;border-radius:4px;background:#101c2d}.weekly-span-chart__crossing p{margin:0;color:#a9b8cb;font-size:8px;line-height:1.45}.weekly-span-chart__crossing p+p{margin-top:5px}.weekly-span-chart__total small{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px;color:#8997ab;font-size:8px}.weekly-span-chart__total em,.weekly-span-chart footer span{font-style:normal}.weekly-span-chart__total em{padding:2px 5px;border-radius:8px;background:#17243a}.weekly-span-chart__total .is-source,.weekly-span-chart footer .is-source{color:#c6a6fa}.weekly-span-chart__total .is-allocation,.weekly-span-chart footer .is-allocation{color:#74ddb1}.weekly-span-chart__total .is-deadline,.weekly-span-chart footer .is-deadline{color:#ffc177}.weekly-span-chart footer{display:flex;justify-content:flex-end;gap:12px;margin-top:9px;color:#8997ab;font-size:8px}.weekly-span-chart footer span::before{content:"";display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:currentColor}
.weekly-span-chart{padding:22px}.weekly-span-chart>header{align-items:flex-start;margin-bottom:20px}.weekly-span-chart h5{font-size:18px}.weekly-span-chart>header p{max-width:850px;font-size:13px;line-height:1.55}.weekly-span-chart__rows{gap:16px}.weekly-span-chart__row{display:block;min-height:0;padding:18px;border-radius:12px}.weekly-span-chart__row-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.weekly-span-chart__row-heading>b{color:#d8e2f0;font-size:13px}.weekly-span-chart__identity span{font-size:10px}.weekly-span-chart__identity strong{margin-top:6px;font-size:16px}.weekly-span-chart__days{margin-top:16px;border-radius:9px}.weekly-span-chart__days>div{padding:9px 10px}.weekly-span-chart__days span{font-size:12px}.weekly-span-chart__days small{margin-top:4px;font-size:11px}.weekly-span-chart__days i{display:none}.weekly-span-chart__periods{display:grid;gap:14px;margin-top:12px}.weekly-span-chart__rest{padding:14px;border:1px solid #344660;border-radius:10px;background:#0a1423}.weekly-span-chart__rest>header{align-items:center;margin:0 0 9px}.weekly-span-chart__rest>header b{font-size:14px}.weekly-span-chart__rest>header strong{color:#fff;font-size:15px}.weekly-span-chart__period-lane{position:relative;height:92px;overflow:visible;border:1px solid #344660;border-radius:9px;background:repeating-linear-gradient(90deg,#0d1828 0 calc(14.2857% - 1px),#2b3c55 calc(14.2857% - 1px) 14.2857%)}.weekly-span-chart__period{position:absolute;top:35px;height:22px;min-width:3px;border-radius:999px;box-shadow:0 0 0 2px #08111f,0 0 14px currentColor}.weekly-span-chart__period.is-normal{color:#57b7df;background:linear-gradient(90deg,#388fd2,#62c6db)}.weekly-span-chart__period.is-reduced{color:#a87af1;background:linear-gradient(90deg,#8051d4,#b27bf1)}.weekly-span-chart__marker{position:absolute;z-index:3;display:grid;transform:translateX(-50%);white-space:nowrap;font-size:11px}.weekly-span-chart__marker b{color:#fff;font-size:12px}.weekly-span-chart__marker em{color:#b8c5d8;font-style:normal}.weekly-span-chart__marker.is-start{top:3px}.weekly-span-chart__marker.is-end{top:61px}.weekly-span-chart__marker.is-near-left{transform:none;text-align:left}.weekly-span-chart__marker.is-near-right{transform:translateX(-100%);text-align:right}.weekly-span-chart__marker::after{content:"";position:absolute;left:50%;width:2px;background:#fff}.weekly-span-chart__marker.is-near-left::after{left:0}.weekly-span-chart__marker.is-near-right::after{left:100%}.weekly-span-chart__marker.is-start::after{top:28px;height:25px}.weekly-span-chart__marker.is-end::after{bottom:29px;height:25px}.weekly-span-chart__continuation{position:absolute;z-index:3;top:38px;color:#d5dfed;font-size:11px;font-weight:700}.weekly-span-chart__continuation.is-left{left:10px}.weekly-span-chart__continuation.is-right{right:10px}.weekly-span-chart__rest>p{margin:9px 0 0;color:#aebbd0;font-size:12px;line-height:1.5}.weekly-span-chart__empty{margin:12px 0 0;padding:13px;border-left:4px solid #718099;border-radius:6px;background:#101c2d;color:#c4cfdd;font-size:13px}.weekly-span-chart__events{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.weekly-span-chart__events em{padding:4px 8px;border-radius:999px;background:#17243a;font-size:11px;font-style:normal}.weekly-span-chart__events .is-source,.weekly-span-chart footer .is-source{color:#c6a6fa}.weekly-span-chart__events .is-allocation,.weekly-span-chart footer .is-allocation{color:#74ddb1}.weekly-span-chart__events .is-deadline,.weekly-span-chart footer .is-deadline{color:#ffc177}.weekly-span-chart footer{gap:18px;margin-top:14px;font-size:11px}.weekly-span-chart footer .is-normal{color:#62c6db}.weekly-span-chart footer span::before{width:9px;height:9px}
@media(max-width:1100px){.rule-check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-summary div:nth-child(3){border-left:0;border-top:1px solid var(--line)}.analysis-summary div:nth-child(4){border-top:1px solid var(--line)}.attention-card{grid-template-columns:1fr}.attention-card dl{order:2}.attention-card button{justify-self:start}.analysis-date-grid{grid-template-columns:1fr 1fr}.quick-periods{grid-column:1/-1}}
@media(max-width:650px){.rule-check-grid,.analysis-date-grid,.analysis-summary{grid-template-columns:1fr}.analysis-summary div+div{border-left:0;border-top:1px solid var(--line)}.analysis-control-heading{align-items:flex-start;flex-direction:column}.attention-card dl{grid-template-columns:1fr}.attention-card dl div{border-left:0;border-top:1px solid var(--line)}.gap-card{grid-template-columns:1fr}.biweekly-blocks,.compensation-flow,.weekly-deadline-chart__dates,.weekly-compensation-chart__dates,.weekly-rest-weeks>div{grid-template-columns:1fr}.weekly-limit-chart header,.weekly-limit-chart footer,.weekly-span-chart header{align-items:flex-start;flex-direction:column}.weekly-limit-chart header div:last-child{text-align:left}.weekly-span-chart__row{grid-template-columns:1fr;overflow-x:auto}.weekly-span-chart__days{min-width:420px}.weekly-span-chart footer{justify-content:flex-start;flex-wrap:wrap}.weekly-rest-line{align-items:stretch;flex-direction:column}.weekly-rest-line>i{min-height:24px;width:3px;align-self:center}.compliant-results>summary{flex-direction:column}}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes auraPulse { 0%, 100% { transform: scale(.92); opacity: .22; } 50% { transform: scale(1.05); opacity: .72; } }
@keyframes orbFloat { 0%, 100% { transform: translateY(6px) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
@keyframes orbMorph { 0%,100% { border-radius: 44% 56% 52% 48% / 49% 43% 57% 51%; } 33% { border-radius: 52% 48% 43% 57% / 57% 52% 48% 43%; } 66% { border-radius: 48% 52% 58% 42% / 43% 57% 46% 54%; } }
@keyframes flowOne { 0%,100% { transform: translate(-8%, -12%) rotate(-8deg); } 50% { transform: translate(12%, 25%) rotate(16deg); } }
@keyframes flowTwo { 0%,100% { transform: translate(5%, 15%) rotate(12deg); } 50% { transform: translate(-12%, -22%) rotate(-14deg); } }
@keyframes wave { 0%,100% { height: 6px; } 50% { height: 21px; } }
@keyframes scannerPulse { 0% { transform: scale(.85); opacity: .8; } 100% { transform: scale(1.2); opacity: 0; } }
@keyframes loading { from { transform: translateX(-110%); } to { transform: translateX(340%); } }

@media (max-width: 680px) {
  .topbar { height: 112px; padding: 10px 14px 52px; }
  .data-configuration-notice { margin-top: 14px; width: calc(100% - 28px); }
  .primary-nav { position: absolute; left: 10px; right: 10px; bottom: 8px; display: grid; grid-template-columns: repeat(4, 1fr); }
  .primary-nav button { padding: 6px 3px; font-size: 7px; }
  .privacy { font-size: 0; }
  .screen--home { padding-top: 130px; }
  .assistant-visual { width: 210px; }
  .feature-actions { margin-top: 32px; }
  .screen--validation { padding: 82px 12px 20px; }
  .workspace-card { min-height: calc(100vh - 130px); border-radius: 21px; }
  .selection-panel, .processing-panel, .result-panel { padding: 28px 17px; }
  .drop-zone { min-height: 250px; padding-inline: 16px; }
  .result-summary { grid-template-columns: 1fr; }
  .result-summary > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .result-actions { width: 100%; flex-direction: column; }
  .download-groups { grid-template-columns: 1fr; }
  .download-state-grid { grid-template-columns: 1fr 1fr; }
  .download-filters { grid-template-columns: 1fr; }
  .result-actions button { width: 100%; }
  .details-overview { grid-template-columns: 1fr; }
  .incident-panel > header { flex-direction: column; }
  .incident-technical-grid { grid-template-columns: 1fr; }
  .incident-technical-wide { grid-column: auto; }
  .signature-item { grid-template-columns: 26px 1fr; }
  .signature-item > div, .signature-item > b { grid-column: 2; }
  .detail-card--wide { grid-column: auto; }
  .reader-header { flex-direction: column; }
  .reader-meta { flex-direction: column; gap: 7px; }
  .data-fields { grid-template-columns: 1fr; }
  .activity-summary { grid-template-columns: repeat(2, 1fr); }
  .activity-summary div + div { border-left: 0; border-top: 1px solid var(--line); }
  .activity-filters { align-items: stretch; flex-direction: column; }
  .activity-filters label:last-child { margin-left: 0; }
  .activity-pagination { align-items: stretch; flex-direction: column; }
  .activity-pagination > div { justify-content: space-between; }
  .activity-detail-grid { grid-template-columns: 1fr; }
  .chart-grid, .chart-grid--vehicles { grid-template-columns: 1fr; }
  .donut-layout { grid-template-columns: 1fr; justify-items: center; }
  .chart-legend { width: 100%; }
  .vehicle-summary, .day-detail-summary { grid-template-columns: 1fr; }
  .day-activity-list button { grid-template-columns: 1fr; }
  .screen--area { padding: 142px 14px 30px; }
  .area-module-grid { grid-template-columns: 1fr; }
  .entity-filters { grid-template-columns: 1fr; }
  .entity-summary { grid-template-columns: 1fr; }
  .entity-summary > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .infringements-heading { flex-direction:column; }
  .infringement-summary,.infringement-detail-grid { grid-template-columns:1fr; }
  .infringement-summary div+div { border-left:0; border-top:1px solid var(--line); }
  .infringement-filters { grid-template-columns:1fr; }
  .infringement-coverage-explanation { grid-template-columns:1fr; }
  .infringement-cause-summary > div { grid-template-columns:1fr; }
  .infringement-partial-detail { grid-template-columns:1fr; }
}

@media (min-width: 681px) and (max-width: 1120px) {
  .topbar { height: 116px; padding-bottom: 50px; }
  .primary-nav { position: absolute; left: clamp(22px, 4vw, 64px); right: clamp(22px, 4vw, 64px); bottom: 8px; display: grid; grid-template-columns: repeat(8, 1fr); }
  .primary-nav button { padding-inline: 5px; font-size: 8px; }
  .screen--home { padding-top: 132px; }
  .screen--validation { padding-top: 136px; }
  .screen--area { padding-top: 146px; }
  .area-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entity-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .entity-summary { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .infringement-summary { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .infringement-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
/* Escenario conservador: evidencia sólida y descanso asumido permanecen visibles como categorías distintas. */
.conservative-explanation{margin:18px 0;padding:16px 18px;border:1px solid rgba(71,196,255,.22);border-left:3px solid #49c8ff;border-radius:14px;background:rgba(30,111,160,.09)}
.conservative-explanation strong{color:#d9f4ff}.conservative-explanation p{margin:5px 0;color:var(--muted)}
.conservative-summary{grid-template-columns:1.25fr .8fr 1fr 1.35fr}.coverage-summary{align-items:flex-start!important}.text-button{padding:0;border:0;background:none;color:#75cfff;font:inherit;font-weight:700;cursor:pointer}
.scenario-explorer{margin:22px 0;padding:20px;border:1px solid var(--line);border-radius:18px;background:rgba(8,16,31,.52)}
.scenario-explorer>header{display:flex;justify-content:space-between;margin-bottom:14px}.scenario-explorer>header span,.selected-period-panel header span{font-size:.72rem;letter-spacing:.12em;color:#89a1c7}.scenario-explorer h3{margin:4px 0}.scenario-explorer p{color:var(--muted)}
.scenario-timeline-scroll{overflow-x:auto;padding:8px 0 14px}.scenario-timeline{position:relative;min-width:900px;height:74px;cursor:crosshair;touch-action:none;user-select:none}.scenario-track{position:absolute;inset:12px 0;border:1px solid #283957;border-radius:10px;overflow:hidden;background:#09111f}.scenario-segment{position:absolute;top:0;height:100%;min-width:1px}.scenario-segment.is-driving{background:#16c784}.scenario-segment.is-work{background:#f0a43c}.scenario-segment.is-availability{background:#4d9cff}.scenario-segment.is-rest{background:#9b63ed}.scenario-segment.is-manual{background:#7646bb}.scenario-segment.is-assumed{background:repeating-linear-gradient(135deg,rgba(248,190,75,.85) 0 5px,rgba(248,190,75,.18) 5px 10px)}.scenario-segment.is-ambiguous{background:repeating-linear-gradient(45deg,#7d3542 0 4px,#28171f 4px 8px)}
#scenarioSelection{position:absolute;z-index:4;top:0;bottom:0;border:2px solid #fff;background:rgba(86,145,255,.2);pointer-events:none}.scenario-legend{display:flex;gap:10px 18px;flex-wrap:wrap;color:var(--muted);font-size:.8rem}.scenario-legend span:before{content:"";display:inline-block;width:11px;height:11px;margin-right:6px;border-radius:3px;background:#777}.scenario-legend .is-driving:before{background:#16c784}.scenario-legend .is-work:before{background:#f0a43c}.scenario-legend .is-availability:before{background:#4d9cff}.scenario-legend .is-rest:before{background:#9b63ed}.scenario-legend .is-manual:before{background:#7646bb}.scenario-legend .is-assumed:before{background:repeating-linear-gradient(135deg,#f8be4b 0 3px,#493817 3px 6px)}
.selection-inputs{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:18px 0}.selection-inputs label{display:grid;gap:6px;color:var(--muted);font-size:.75rem;letter-spacing:.08em}.selection-inputs input{min-width:220px;padding:11px;border:1px solid var(--line);border-radius:10px;background:#0b1424;color:var(--text)}
.selected-period-panel{margin-top:16px;padding:18px;border:1px solid #263a5d;border-radius:15px;background:#0a1424}.selected-period-panel header{display:flex;justify-content:space-between;gap:15px;margin-bottom:14px}.selected-period-panel header>div{display:grid;gap:5px}.selected-period-grid{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));border:1px solid var(--line);border-radius:12px;overflow:hidden}.selected-period-grid>div{display:grid;gap:5px;padding:13px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.selected-period-grid span{color:var(--muted);font-size:.76rem}.selected-period-grid .is-assumed{background:repeating-linear-gradient(135deg,rgba(248,190,75,.08) 0 6px,transparent 6px 12px)}
.assumption-warning,.assumption-note{color:#f8cf76!important}.assumption-warning{padding:11px 14px;border-left:3px solid #f8be4b;background:rgba(248,190,75,.08)}.evidence-note{padding:11px 14px;border-left:3px solid #20c997;background:rgba(32,201,151,.08)}.threshold-notes{margin:12px 0 0;color:#c8d8ef}.coverage-list{display:grid;gap:10px;max-height:55vh;overflow:auto}.coverage-list article{padding:13px;border:1px solid var(--line);border-radius:10px;background:rgba(10,20,36,.7)}.coverage-list article>span{float:right;color:#f8cf76}.coverage-list p{margin:5px 0}.coverage-list small{color:var(--muted)}
@media(max-width:1050px){.conservative-summary{grid-template-columns:repeat(2,1fr)}.selected-period-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.conservative-summary,.selected-period-grid{grid-template-columns:1fr}.scenario-explorer{padding:14px}.selection-inputs{display:grid}.selection-inputs input{min-width:0;width:100%}}
/* Infracciones: presentación compacta y cronología reutilizable */
.definitive-infringements{display:grid;gap:18px}.definitive-title{display:flex;align-items:center;justify-content:space-between}.definitive-title h2{margin:3px 0 0;font-size:28px}.compact-analysis-filters{display:flex;align-items:flex-start;gap:10px;position:relative;z-index:5}.compact-analysis-filters details{position:relative;min-width:270px}.compact-analysis-filters summary{list-style:none;display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 15px;border:1px solid #2a3851;border-radius:9px;background:#0d1626;cursor:pointer}.compact-analysis-filters summary::-webkit-details-marker{display:none}.compact-analysis-filters summary span{color:#9eaac0;font-size:12px;text-transform:uppercase}.compact-analysis-filters summary strong:after{content:"⌄";margin-left:12px;color:#7f8da6}.compact-popover{position:absolute;top:calc(100% + 7px);left:0;z-index:20;width:420px;padding:16px;display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#101a2c;border:1px solid #33435e;border-radius:12px;box-shadow:0 18px 45px #02050bbf}.compact-popover label{display:grid;gap:6px;color:#9faac0;font-size:12px}.compact-popover input[type=date]{width:100%}.compact-popover .quick-periods{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px}.compact-popover button,.rule-popover label{border:1px solid #2c3b55;background:#0b1423;color:#dfe7f7;border-radius:7px;padding:9px 11px}.rule-popover{width:340px;grid-template-columns:1fr}.rule-popover label{display:flex;align-items:center;gap:9px;font-size:13px}.compact-analysis-filters>.ghost-button{margin-left:auto}.definitive-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.definitive-summary article{position:relative;min-height:105px;padding:18px 20px;border:1px solid #2a3a53;border-radius:11px;background:linear-gradient(135deg,#0d1728,#09111e);display:grid;align-content:center;gap:3px}.definitive-summary article>span{font-size:11px;letter-spacing:.08em}.definitive-summary article>strong{font-size:28px}.definitive-summary article>small{color:#9da9bc}.definitive-summary .is-danger{border-color:#a7283d}.definitive-summary .is-danger span,.definitive-summary .is-danger strong{color:#ff5269}.definitive-summary .is-warning{border-color:#8b6516}.definitive-summary .is-warning span,.definitive-summary .is-warning strong{color:#f3b62f}.definitive-summary .is-coverage{border-color:#245b96}.definitive-summary .is-coverage span,.definitive-summary .is-coverage strong{color:#54a8ff}.definitive-summary button{position:absolute;right:16px;bottom:16px}.definitive-results,.definitive-reviews{display:grid;gap:8px}.definitive-results h3,.definitive-reviews h3{font-size:16px;margin:0 0 4px}.infringement-result-row{display:grid;grid-template-columns:minmax(260px,1.7fr) minmax(330px,1.4fr) auto auto;align-items:center;gap:18px;padding:14px 16px;border:1px solid #642338;border-left:3px solid #e9364f;border-radius:9px;background:#15131d}.infringement-result-row>div:first-child{display:grid;gap:5px}.infringement-result-row>div:first-child span{font-weight:750}.infringement-result-row small{color:#a9b3c6}.infringement-result-row dl{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0}.infringement-result-row dl div{display:grid;gap:3px}.infringement-result-row dt{color:#8996aa;font-size:10px;text-transform:uppercase}.infringement-result-row dd{margin:0}.infringement-result-row .is-danger{color:#ff475f}.infringement-result-row>b{font-size:10px;color:#ff5269;border:1px solid #b62f44;border-radius:5px;padding:6px 8px}.infringement-result-row button,.review-result-row button,.coverage-list button{background:#0b192c;border:1px solid #2d4768;color:#82bdff;padding:8px 12px;border-radius:7px}.review-result-row{display:grid;grid-template-columns:minmax(300px,1fr) 2fr auto;align-items:center;gap:20px;padding:13px 16px;border:1px solid #72571e;border-radius:9px;background:#16150f}.review-result-row>div{display:flex;justify-content:space-between;gap:20px}.review-result-row p{margin:0;color:#d2af55}.timeline-workspace{scroll-margin-top:20px;border:1px solid #2c3b56;border-radius:12px;background:#0b1423;padding:16px;display:grid;gap:14px}.timeline-workspace>header{display:flex;align-items:center;justify-content:space-between}.timeline-workspace>header span{font-size:10px;letter-spacing:.11em;color:#9caac0}.timeline-workspace>header h3{margin:4px 0 0}.timeline-toolbar{display:flex;align-items:end;gap:8px}.timeline-toolbar label{display:grid;gap:5px;color:#9ba8bc;font-size:11px}.timeline-toolbar button{height:39px;border:1px solid #2a3b57;background:#101b2d;color:#e8eef9;border-radius:7px;padding:0 14px}.activity-timeline{display:grid;gap:7px;overflow-x:auto;padding-bottom:8px}.activity-time-scale,.activity-timeline-row{display:grid;grid-template-columns:105px minmax(820px,1fr);gap:10px;align-items:center}.activity-time-scale>div{position:relative;height:22px}.activity-time-scale span{position:absolute;transform:translateX(-50%);font-size:9px;color:#7f8ca1}.activity-timeline-row>time{font-size:11px;color:#b7c1d2;text-align:right}.activity-day-track{height:32px;position:relative;border:1px solid #263653;border-radius:5px;background:#09111f;overflow:visible;cursor:crosshair}.activity-day-track:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 calc(4.166% - 1px),#26344b calc(4.166% - 1px) 4.166%);opacity:.6}.activity-segment{position:absolute;top:3px;height:24px;border:0;border-radius:2px;z-index:2;padding:0;min-width:1px}.activity-segment.is-driving{background:#299342}.activity-segment.is-work{background:#ca741d}.activity-segment.is-availability{background:#2777c8}.activity-segment.is-rest{background:#6b35ad}.activity-segment.is-manual{box-shadow:inset 0 -3px #a976e4}.activity-segment.is-assumed{background-color:#5b3386;background-image:repeating-linear-gradient(135deg,transparent 0 5px,#a68bb655 5px 8px)}.activity-segment.is-unknown{background:repeating-linear-gradient(135deg,#1a2434 0 5px,#39455a 5px 8px)}.timeline-highlight{position:absolute;top:-3px;height:36px;border:2px solid #ff4059;background:#ff40591c;z-index:3;pointer-events:none}.timeline-limit{position:absolute;top:-10px;height:50px;border-left:2px dashed #ffbd45;z-index:4}.timeline-limit b{position:absolute;bottom:100%;transform:translateX(-50%);font-size:8px;color:#ffca62;background:#452c11;padding:3px 5px;border-radius:4px}.timeline-selection{position:absolute;top:0;height:100%;background:#75c4ff3b;border:1px solid #75c4ff;z-index:6;pointer-events:none}.activity-timeline-legend{display:flex;justify-content:center;gap:18px;margin:8px 0;font-size:11px;color:#aeb9ca}.activity-timeline-legend span:before{content:"";display:inline-block;width:14px;height:8px;margin-right:6px;border-radius:2px;background:#65748b}.activity-timeline-legend .is-driving:before{background:#299342}.activity-timeline-legend .is-work:before{background:#ca741d}.activity-timeline-legend .is-availability:before{background:#2777c8}.activity-timeline-legend .is-rest:before{background:#6b35ad}.activity-timeline-legend .is-assumed:before{background:repeating-linear-gradient(135deg,#5b3386 0 4px,#9b78b8 4px 6px)}.selected-infringement-detail{border-left:3px solid #ee3e57;background:#111a2a;padding:14px 16px;border-radius:8px}.selected-infringement-detail h4{margin:0 0 10px}.selected-infringement-detail dl{display:flex;flex-wrap:wrap;gap:16px 30px;margin:0}.selected-infringement-detail dl div{display:grid}.selected-infringement-detail dt{font-size:9px;color:#8f9cb0;text-transform:uppercase}.selected-infringement-detail dd{margin:3px 0 0}.selected-infringement-detail p{margin:10px 0;color:#bdc7d7}.timeline-hint{color:#8f9cb0;text-align:center}.rest-detail{border:1px solid #593b85;background:#141026;padding:14px;border-radius:9px}.rest-detail h4{margin:0;color:#c99bff}.rest-detail dl{display:flex;gap:20px;flex-wrap:wrap}.rest-detail dl div{display:grid}.rest-detail dd{margin:3px 0}.timeline-range-error{padding:18px;border:1px solid #a26c20;background:#2a2112;color:#ffc96a;border-radius:8px}.coverage-list article{grid-template-columns:minmax(220px,1fr) auto}.coverage-list article button{grid-column:1/-1;justify-self:start}.definitive-infringements .selected-period-panel{margin-top:10px}
@media(max-width:1050px){.definitive-summary{grid-template-columns:1fr}.infringement-result-row{grid-template-columns:1fr}.infringement-result-row dl{grid-template-columns:repeat(3,1fr)}.compact-analysis-filters{flex-wrap:wrap}.compact-analysis-filters>.ghost-button{margin-left:0}.review-result-row{grid-template-columns:1fr}.compact-popover{width:min(420px,calc(100vw - 80px))}}
@media(max-width:650px){.compact-analysis-filters details{min-width:100%}.definitive-title{align-items:flex-start}.infringement-result-row dl{grid-template-columns:1fr}.timeline-toolbar{flex-wrap:wrap}.activity-time-scale,.activity-timeline-row{grid-template-columns:80px minmax(720px,1fr)}}

/* Infracciones: evidencia visual del origen de los descansos */
.definitive-summary{grid-template-columns:1fr}
.activity-segment.is-assumed{background:#261d36 repeating-linear-gradient(135deg,rgba(181,137,226,.72) 0 3px,rgba(38,29,54,.96) 3px 9px);box-shadow:inset 0 0 0 1px rgba(202,169,237,.34)}
.activity-timeline-legend .is-assumed:before{background:#261d36 repeating-linear-gradient(135deg,#b589e2 0 2px,#261d36 2px 6px);border:1px solid rgba(202,169,237,.35)}
.activity-segment.is-card-out{background:repeating-linear-gradient(135deg,#222b39 0 5px,#697487 5px 8px);box-shadow:inset 0 0 0 1px rgba(196,207,225,.35)}
.activity-timeline-legend .is-card-out:before{background:repeating-linear-gradient(135deg,#222b39 0 4px,#697487 4px 7px)}
.activity-segment.is-no-record{background:repeating-linear-gradient(135deg,#0b1220 0 6px,#263247 6px 9px);box-shadow:inset 0 0 0 1px rgba(136,151,176,.3)}
.activity-timeline-legend .is-no-record:before{background:repeating-linear-gradient(135deg,#0b1220 0 4px,#526078 4px 7px)}
.activity-timeline-legend .is-manual-entry:before{background:linear-gradient(#6b35ad 0 65%,#d0a3ff 65% 100%)}
.chart-manual-note{margin:.8rem 0 0;color:#bba4da;font-size:.76rem;line-height:1.45}
.vehicle-period-list{display:grid;gap:.75rem}.vehicle-period-card{width:100%;padding:1rem 1.1rem;border:1px solid #2d3d58;border-radius:11px;background:#101a2a;color:inherit;text-align:left;cursor:pointer}.vehicle-period-card:hover,.vehicle-period-card:focus-visible{border-color:#638fea;background:#142139}.vehicle-period-card>header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.8rem}.vehicle-period-card>header span{color:#83a8ff;font-size:.78rem}.vehicle-period-metrics{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:1px;overflow:hidden;border:1px solid #29364d;border-radius:8px;background:#29364d}.vehicle-period-metrics>div{display:grid;gap:.3rem;padding:.75rem;background:#0d1625}.vehicle-period-metrics span{color:#96a3b8;font-size:.69rem;text-transform:uppercase;letter-spacing:.04em}.vehicle-period-metrics strong{font-size:.95rem}.vehicle-period-card small{display:block;margin-top:.7rem;color:#8795aa}.vehicle-period-detail{display:grid;gap:1rem}.vehicle-period-detail-summary{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:.75rem}.vehicle-period-detail-summary>div{display:grid;gap:.35rem;padding:.9rem;border:1px solid #29344a;border-radius:9px;background:#111a2a}.vehicle-period-detail-summary span{color:#9aa7ba;font-size:.7rem;text-transform:uppercase}.vehicle-file-link{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px 0;padding:16px 18px;border:1px solid rgba(91,221,174,.35);border-radius:14px;background:rgba(32,181,133,.08)}.vehicle-file-link div{display:grid;gap:5px}.vehicle-file-link span{color:var(--muted)}.vehicle-period-table{width:100%;border-collapse:collapse}.vehicle-period-table th,.vehicle-period-table td{padding:.65rem;border-bottom:1px solid #29344a;text-align:left}.vehicle-period-table th{color:#91a0b7;font-size:.7rem;text-transform:uppercase}
@media(max-width:900px){.vehicle-period-metrics,.vehicle-period-detail-summary{grid-template-columns:repeat(2,minmax(130px,1fr))}}
@media(max-width:720px){.vehicle-file-link{align-items:stretch;flex-direction:column}}
.timeline-segment.activity-card-out{background:repeating-linear-gradient(135deg,#222b39 0 5px,#697487 5px 8px)}
.activity-timeline-evidence-note{margin:0 auto 4px;max-width:900px;color:#8794a9;font-size:10px;line-height:1.45;text-align:center}
.analysis-secondary-cases{margin-top:16px;border:1px solid #2a3851;border-radius:9px;padding:12px 14px;background:#0c1525}
.analysis-secondary-cases summary{cursor:pointer;color:#c7d3e6;font-weight:700}
.analysis-secondary-cases article{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-top:1px solid #26344a;color:#9eabc0}
.analysis-secondary-cases article:first-of-type{margin-top:10px}
@media(max-width:650px){.definitive-summary{grid-template-columns:1fr}}

/* Episodios visuales: una secuencia causal, varias evaluaciones normativas. */
.episode-result-row dl{grid-template-columns:repeat(2,minmax(145px,1fr))}.episode-result-row dl small{font-size:10px}.episode-period{display:grid;gap:5px;margin:14px 0;padding:12px 14px;border:1px solid #2d3d58;border-radius:8px;background:#0b1423}.episode-period span,.episode-evaluation span{color:#8f9db2;font-size:10px;text-transform:uppercase}.episode-evaluations{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;margin:14px 0}.episode-evaluation{padding:14px;border:1px solid #4d2940;border-left:3px solid #e9364f;border-radius:9px;background:#14131d}.episode-evaluation h4{margin:0 0 12px}.episode-evaluation>div{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.episode-evaluation>div>div{display:grid;gap:4px}.episode-evaluation p{margin:12px 0 0;color:#b9c5d7}.episode-evaluation .is-danger{color:#ff5269}.episode-evaluation .evaluation-number{display:block;margin-bottom:6px;color:#ff6a7d;font-size:9px;letter-spacing:.12em}.infringement-detail .activity-timeline,.infringement-chart .activity-timeline{max-width:100%}
.daily-rest-history{margin-top:16px;padding-top:14px;border-top:1px solid #38435a}.daily-rest-history h5{margin:0;font-size:15px}.daily-rest-history>p{margin:6px 0 12px;color:#aab7ca;line-height:1.45}.daily-rest-history>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:9px}.daily-rest-history button{display:grid;gap:5px;padding:12px;border:1px solid #34445e;border-radius:9px;background:#0c1625;color:#edf2fb;font:inherit;text-align:left;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.daily-rest-history button:hover{border-color:#739ce0;transform:translateY(-1px)}.daily-rest-history button:focus-visible{outline:2px solid #8bb7ff;outline-offset:2px}.daily-rest-history button.is-current{border-color:#ff667d;box-shadow:inset 0 0 0 1px #ff526966;background:#18131d}.daily-rest-history button.is-selected{outline:2px solid #78a8ff;outline-offset:2px}.daily-rest-history button.is-current.is-selected{outline-color:#ff8293}.daily-rest-history button span{color:#8fa0b7;font-size:9px;letter-spacing:.08em}.daily-rest-history button strong{font-size:13px}.daily-rest-history button small{color:#aebbd0;font-size:11px}.daily-rest-history button small b{color:#dce5f2}.daily-rest-history button em{margin-top:3px;color:#c9a8f4;font-size:11px;font-style:normal}.daily-rest-history button.is-current em{color:#ff8293}.selected-rest-caption{margin:6px 0 12px!important;padding:9px 12px;border-left:3px solid #78a8ff;background:#101a2b;color:#c8d4e6!important}.selected-rest-caption strong{color:#fff}
@media(max-width:650px){.episode-result-row dl,.episode-evaluation>div{grid-template-columns:1fr}.daily-rest-history>div{grid-template-columns:1fr}}
.inspection-form,.inspection-summary{display:grid;gap:1.25rem}.inspection-form{padding:1.4rem;border:1px solid #29344a;border-radius:18px;background:#0d1422}.inspection-form fieldset{border:0;padding:0;margin:0}.inspection-vehicles,.inspection-cards,.inspection-missing,.inspection-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.8rem}.inspection-vehicles label,.inspection-cards article,.inspection-missing article,.inspection-metrics div{display:flex;gap:.65rem;flex-direction:column;padding:1rem;border:1px solid #2a3549;border-radius:12px;background:#111a2a}.inspection-vehicles label{flex-direction:row;align-items:center}.inspection-summary>header{display:flex;justify-content:space-between;align-items:end}.inspection-summary h3{margin-bottom:0}.inspection-metrics span,.inspection-cards span,.inspection-missing span{color:#9faac0}.inspection-metrics strong{font-size:1.5rem}
.inspection-plain-summary{padding:1rem 1.15rem;border:1px solid #2d405f;border-left:4px solid #6d9dff;border-radius:12px;background:#0d1728}.inspection-plain-summary p{margin:.45rem 0 0;color:var(--muted)}
.inspection-coverage-card{display:grid;gap:1rem;padding:1.1rem;border:1px solid #2b3a52;border-radius:14px;background:#101928}.inspection-coverage-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.inspection-coverage-card>header span,.inspection-simple-grid span{color:var(--muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.04em}.inspection-coverage-card>header h3{margin:.25rem 0}.inspection-coverage-card>header p{margin:0;color:var(--muted)}.inspection-coverage-card>header>strong{padding:.35rem .6rem;border-radius:999px;background:#17243a;color:#9fc0ff;font-size:.78rem}.inspection-coverage-card.is-complete>header>strong{background:#103328;color:#55d6a5}.inspection-coverage-card.is-partial>header>strong{background:#38270d;color:#f3bd55}.inspection-coverage-card.is-empty>header>strong{background:#351822;color:#ff91a2}
.inspection-simple-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.inspection-simple-grid>div{display:grid;gap:.35rem;padding:.85rem;border:1px solid #28364e;border-radius:10px;background:#0b1423}.inspection-simple-grid strong{line-height:1.45}.inspection-gap-notice{padding:.85rem 1rem;border:1px solid #72571e;border-radius:10px;background:#19170f}.inspection-gap-notice p{margin:.35rem 0 0;color:#e8c36f}.inspection-technical-detail{border-top:1px solid #29364a;padding-top:.8rem}.inspection-technical-detail summary,.inspection-inconclusive-results summary{cursor:pointer;color:#8ebcff;font-weight:700}.inspection-missing-periods>p{color:var(--muted)}.inspection-inconclusive-results{margin-top:1rem;padding:1rem;border:1px solid #72571e;border-radius:11px;background:#17150f}.inspection-evaluation-item.is-inconclusive{border-color:#72571e}.inspection-evaluation-item.is-inconclusive em{color:#efbf62}
@media(max-width:760px){.inspection-simple-grid{grid-template-columns:1fr}}

.settings-view{display:grid;gap:1rem;max-width:1100px;margin:0 auto}.settings-card{display:flex;justify-content:space-between;align-items:center;gap:1.2rem;padding:1.25rem 1.4rem;border:1px solid #29344a;border-radius:16px;background:#101929}.settings-card>div:first-child{min-width:0}.settings-card h2{margin:0 0 .4rem;font-size:1.05rem}.settings-card p{margin:.25rem 0;color:#aeb9ce}.settings-path{overflow-wrap:anywhere;color:#eef2ff!important}.settings-actions{display:flex;gap:.65rem;flex-wrap:wrap;justify-content:flex-end}.settings-metrics{display:grid;grid-template-columns:repeat(3,minmax(145px,1fr));gap:.65rem;margin-top:.8rem}.settings-metrics span{display:flex;flex-direction:column;padding:.8rem;border-radius:10px;background:#0b1321;color:#9faac0}.settings-metrics strong{font-size:1.45rem;color:#eef2ff}.settings-problems{width:min(100%,520px)}.settings-problems summary{cursor:pointer;color:#ffbd72;font-weight:700}.settings-problems button{display:grid;width:100%;gap:.2rem;margin-top:.55rem;padding:.7rem;text-align:left;border:1px solid #39465e;border-radius:9px;background:#0b1321;color:#eef2ff}.settings-problems span,.settings-problems small{color:#aeb9ce}.settings-ok{color:#73dfaa!important}.settings-toggle{display:flex;align-items:center;gap:.6rem}.settings-card--danger{border-color:#5b2c38}.uninstall-options,.deletion-options{display:grid;gap:.75rem;margin:1rem 0}.uninstall-options button,.deletion-options button{display:grid;gap:.35rem;text-align:left;padding:1rem}.uninstall-options span,.deletion-options span{font-weight:400;opacity:.85}@media(max-width:800px){.settings-card{align-items:stretch;flex-direction:column}.settings-actions{justify-content:flex-start}.settings-metrics{grid-template-columns:1fr}.settings-problems{width:100%}}
.settings-tabs{display:flex;gap:.45rem;padding:.35rem;border:1px solid #29344a;border-radius:14px;background:#0b1321;overflow-x:auto}.settings-tabs button{flex:1;min-width:max-content;padding:.75rem 1rem;border:1px solid transparent;border-radius:10px;background:transparent;color:#aeb9ce;font-weight:750}.settings-tabs button:hover{color:#eef2ff;background:#121e31}.settings-tabs button.is-active{border-color:#50698f;background:#17253b;color:#eef2ff}.settings-panel{display:grid;gap:1rem}.settings-intro{padding:1.2rem 1.4rem;border:1px solid #29344a;border-radius:16px;background:linear-gradient(135deg,#101929,#0d1d2b)}.settings-intro h2{margin:.2rem 0 .45rem}.settings-intro p:last-child{margin:0;color:#aeb9ce}.settings-support-details{padding:1rem 1.2rem;border:1px solid #29344a;border-radius:14px;background:#0d1524}.settings-support-details summary{cursor:pointer;color:#9eb8ff;font-weight:700}.settings-support-details>div{margin-top:1rem;padding-top:.8rem;border-top:1px solid #29344a}.program-summary{background:linear-gradient(135deg,#101929,#102234)}
.update-channel{align-items:stretch}.update-channel>div{flex:1}.update-version-grid{display:grid;grid-template-columns:repeat(4,minmax(125px,1fr));gap:.55rem;margin:.8rem 0}.update-version-grid span{display:grid;gap:.25rem;padding:.7rem;border-radius:10px;background:#0b1321;color:var(--muted);font-size:.72rem}.update-version-grid strong{color:var(--text);font-size:.9rem;overflow-wrap:anywhere}.update-version-grid .is-verified{color:#73dfaa}.update-version-grid .is-invalid{color:#ff8da0}.update-channel>.ghost-button{align-self:center;white-space:nowrap}@media(max-width:900px){.update-version-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.settings-tabs button{flex:0 0 auto}.update-version-grid{grid-template-columns:1fr}}
.knowledge-center details{margin-top:.8rem}.knowledge-center summary{cursor:pointer;color:#9eb8ff}.knowledge-center details a{display:grid;gap:.2rem;margin-top:.55rem;padding:.65rem;border:1px solid #303c53;border-radius:9px;color:#eef2ff;text-decoration:none}.knowledge-center details small{color:#9faac0}.knowledge-view{display:grid;gap:1rem;max-width:980px;margin:0 auto}.knowledge-policy{display:flex;gap:.8rem;align-items:center;padding:1rem 1.2rem;border:1px solid rgba(80,201,160,.3);border-radius:14px;background:rgba(51,178,137,.07)}.knowledge-policy span{color:var(--muted)}.knowledge-conversation{display:grid;gap:.8rem;max-height:56vh;overflow:auto;padding:.3rem}.knowledge-message{width:min(86%,760px);padding:1rem 1.15rem;border:1px solid #303c53;border-radius:15px;background:#101929}.knowledge-message--user{justify-self:end;border-color:#3f4f78;background:#17213a}.knowledge-message--agent{justify-self:start}.knowledge-speaker{font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#8fa6d5}.knowledge-message p{margin:.55rem 0 0;line-height:1.6}.knowledge-clarification{padding:.7rem;border-left:3px solid #5dd7ad;background:rgba(63,201,153,.08)}.knowledge-sources{margin-top:.8rem}.knowledge-sources summary{cursor:pointer;color:#9eb8ff;font-weight:700}.knowledge-sources a{display:grid;gap:.25rem;margin-top:.5rem;padding:.65rem .75rem;border:1px solid #344159;border-radius:9px;color:#eaf0ff;text-decoration:none}.knowledge-sources span{color:#9faac0;font-size:.76rem}.knowledge-form{display:grid;gap:.45rem;padding:1rem;border:1px solid #2d3950;border-radius:15px;background:#0d1524}.knowledge-form>div{display:grid;grid-template-columns:1fr auto;gap:.7rem;align-items:end}.knowledge-form textarea{min-height:78px;resize:vertical}@media(max-width:700px){.knowledge-policy{align-items:flex-start;flex-direction:column}.knowledge-message{width:94%}.knowledge-form>div{grid-template-columns:1fr}}
.inspection-cards details,.inspection-summary table details{margin-top:.45rem}.inspection-cards summary,.inspection-summary table summary{cursor:pointer;color:#9eb8ff;font-weight:700}.inspection-cards details p{margin:.65rem 0;color:#c7d0e0}.inspection-cards details small{display:block;margin:.35rem 0;padding:.45rem;border-left:2px solid #35425a}.inspection-summary table details p{max-width:48rem;white-space:normal;color:#c7d0e0}
.inspection-heading,.inspection-title{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem}.inspection-history{display:grid;gap:.75rem}.inspection-history-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem;align-items:stretch}.inspection-history-open{display:grid;grid-template-columns:110px 1fr 220px 220px;gap:1rem;align-items:center;text-align:left;padding:1rem 1.2rem;border:1px solid #29344a;border-radius:12px;background:#111a2a;color:inherit}.inspection-history-row>.inspection-delete{align-self:stretch}.inspection-history em{font-style:normal;color:#aeb9ce}.inspection-delete-summary{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:.5rem 1rem}.inspection-delete-summary dt{color:#9faac0}.inspection-delete-summary dd{margin:0;overflow-wrap:anywhere}.inspection-period{display:grid;grid-template-columns:repeat(2,minmax(180px,320px));gap:1rem}.inspection-period label{display:grid;gap:.45rem}.inspection-state{padding:.7rem 1rem;border:1px solid #3b4962;border-radius:999px;font-weight:700}.inspection-state.is-ready{color:#73dfaa}.inspection-state.is-partial{color:#f3bd67}.inspection-state.is-not_evaluable{color:#f08c9b}.inspection-actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.inspection-blocked{color:#f08c9b}.inspection-results{display:grid;gap:1rem;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #29344a}.inspection-results>article{padding:1.2rem;border:1px solid #29344a;border-radius:14px;background:#0d1422}.inspection-results article>div:last-child{display:grid;gap:.5rem}.inspection-results article button{display:grid;grid-template-columns:1fr auto auto;gap:1rem;text-align:left;padding:.8rem;border:1px solid #35425a;border-radius:10px;background:#111a2a;color:inherit}.inspection-results article button em{font-style:normal;color:#ff7188}.inspection-result-counts{display:flex;gap:.6rem;flex-wrap:wrap;margin:.8rem 0}.inspection-result-counts span{padding:.35rem .6rem;border-radius:999px;background:#172238;color:#b9c4d8}@media(max-width:900px){.inspection-heading,.inspection-title{align-items:flex-start;flex-direction:column}.inspection-history-row{grid-template-columns:1fr}.inspection-history-open{grid-template-columns:1fr}.inspection-period{grid-template-columns:1fr}.inspection-results article button{grid-template-columns:1fr}.inspection-summary .record-table-wrap{overflow-x:auto}}
.inspection-violation-timeline{margin:1rem 0 1.2rem;padding:1rem;border:1px solid #33415a;border-radius:12px;background:#0a111e;overflow-x:auto}.inspection-violation-timeline>header{display:flex;justify-content:space-between;gap:1rem;align-items:flex-end;margin-bottom:.8rem}.inspection-violation-timeline h4,.inspection-violation-timeline p{margin:.15rem 0}.inspection-violation-timeline>header>p{color:var(--muted);font-size:.85rem}.inspection-violation-days{min-width:850px}.inspection-violation-day{display:grid;grid-template-columns:105px minmax(620px,1fr) 135px;gap:.75rem;align-items:center;margin:.55rem 0}.inspection-violation-day>small{color:#ff8195;text-align:right}.inspection-violation-track{position:relative;height:58px;border:1px solid #31405b;border-radius:7px;overflow:hidden;background:repeating-linear-gradient(90deg,#0d1727 0 calc(25% - 1px),#2b3850 calc(25% - 1px) 25%)}.inspection-violation-hours{position:absolute;inset:0;z-index:1;display:flex;justify-content:space-between;color:#8995aa;font-size:.65rem;padding:2px 4px;pointer-events:none}.inspection-violation-track>i{position:absolute;z-index:2;bottom:5px;height:17px;min-width:2px}.inspection-violation-track>.is-driving{background:#22c98b}.inspection-violation-track>.is-work{background:#ee9a39}.inspection-violation-track>.is-availability{background:#438ee8}.inspection-violation-track>.is-rest{background:#9660e8}.inspection-violation-track>.is-unknown{background:repeating-linear-gradient(135deg,#576174 0 4px,#303746 4px 8px)}.inspection-violation-window{position:absolute;z-index:4;height:31px;min-width:3px;border:2px solid #ff4968;background:rgba(255,73,104,.16);cursor:pointer}.inspection-violation-window:hover,.inspection-violation-window:focus{background:rgba(255,73,104,.32);outline:2px solid #ff9aac;outline-offset:1px}.inspection-violation-track>b{position:absolute;z-index:5;top:0;bottom:0;width:2px;background:#ffd06d}.inspection-violation-legend{display:flex;gap:1rem;flex-wrap:wrap;margin-top:.8rem;color:var(--muted);font-size:.8rem}.inspection-violation-legend span::before{content:"";display:inline-block;width:11px;height:11px;border-radius:2px;margin-right:.35rem;vertical-align:-1px}.inspection-violation-legend .is-driving::before{background:#22c98b}.inspection-violation-legend .is-work::before{background:#ee9a39}.inspection-violation-legend .is-availability::before{background:#438ee8}.inspection-violation-legend .is-rest::before{background:#9660e8}.inspection-violation-legend .is-violation::before{border:2px solid #ff4968;background:rgba(255,73,104,.16)}.inspection-violation-legend .is-threshold::before{width:2px;background:#ffd06d}@media(max-width:900px){.inspection-violation-timeline>header{align-items:flex-start;flex-direction:column}}
.inspection-evaluation-rows{display:grid;gap:.5rem}.inspection-insufficient-results{margin-top:1rem;border-top:1px solid #29344a;padding-top:1rem}.inspection-insufficient-results>summary{cursor:pointer;font-weight:750;color:#d7deec}.inspection-insufficient-results>summary span{display:inline-grid;place-items:center;min-width:1.6rem;margin-left:.4rem;padding:.15rem .4rem;border-radius:999px;background:#29344a}.inspection-insufficient-results>p{color:var(--muted);font-size:.85rem}.inspection-evaluation-rows button.is-insufficient{border-color:#765d2f;background:#191711}.inspection-evaluation-rows button.is-insufficient em{color:#f1bf65}
.inspection-assumption-detail{margin:1rem 0;padding:1rem;border-radius:12px;border:1px solid #806431;background:#211c12}.inspection-assumption-detail.is-applied{border-color:#a77b31}.inspection-assumption-detail h4{margin:0 0 .5rem;color:#f1bf65}.inspection-assumption-detail p{margin:.3rem 0;color:#d7c9a9}.inspection-assumption-detail dl{display:flex;gap:1rem;flex-wrap:wrap}.inspection-assumption-detail dl div{padding:.6rem .8rem;border-radius:8px;background:#17140e}.inspection-assumption-detail dt{color:var(--muted);font-size:.75rem}.inspection-assumption-detail dd{margin:.25rem 0 0;font-weight:700}.inspection-activity-breakdown{margin:1rem 0;border:1px solid #303d54;border-radius:12px;padding:.8rem 1rem}.inspection-activity-breakdown summary{cursor:pointer;font-weight:750}.inspection-activity-breakdown summary span{color:var(--muted)}.inspection-activity-breakdown>div{display:grid;gap:.4rem;margin-top:.8rem}.inspection-activity-breakdown article{display:grid;grid-template-columns:minmax(150px,1fr) auto auto;gap:1rem;padding:.65rem .75rem;border-radius:8px;background:#111a2a}.inspection-activity-breakdown article em{color:var(--muted);font-style:normal}@media(max-width:700px){.inspection-activity-breakdown article{grid-template-columns:1fr}}
.inspection-article7-evidence{margin:1rem 0;padding:1rem;border:1px solid rgba(90,205,160,.35);border-radius:12px;background:rgba(90,205,160,.06)}.inspection-article7-evidence h4{margin:0 0 .4rem}.inspection-article7-evidence p{margin:0 0 .75rem;color:var(--muted)}.inspection-article7-evidence>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.inspection-article7-evidence span{display:flex;flex-direction:column;gap:.3rem;color:var(--muted);font-size:.75rem}.inspection-article7-evidence strong{color:var(--text);font-size:1rem}@media(max-width:700px){.inspection-article7-evidence>div{grid-template-columns:1fr}}
.inspection-operational-notice{margin:.85rem 0 1rem;padding:.75rem 1rem;border-left:3px solid #7695cf;border-radius:7px;background:#111a2a;color:var(--muted);font-size:.86rem}
.eu-seriousness{display:inline-flex;margin:0 0 .75rem;padding:.28rem .55rem;border:1px solid #765b2b;border-radius:999px;background:#211a0e;color:#f2bf62;font-size:.72rem;font-weight:800}.eu-seriousness.is-vsi,.eu-seriousness.is-msi{border-color:#80394a;background:#26131a;color:#ff718d}
.spanish-sanction{display:inline-flex;margin:0 0 .75rem .45rem;padding:.28rem .55rem;border:1px solid #356a50;border-radius:999px;background:#10281f;color:#79dab0;font-size:.72rem;font-weight:700}.spanish-sanction b{color:#a0f0ca;margin-right:.2rem}
.inspection-evaluation-item{border:1px solid #35425a;border-radius:11px;background:#111a2a;overflow:hidden}.inspection-results article .inspection-evaluation-toggle{width:100%;border:0;border-radius:0;background:transparent;display:grid;grid-template-columns:minmax(180px,1fr) auto auto 22px;align-items:center;gap:1rem}.inspection-evaluation-toggle>i{font-style:normal;font-size:1.2rem;color:var(--muted);transition:transform .2s ease}.inspection-evaluation-item.is-open>.inspection-evaluation-toggle>i{transform:rotate(180deg)}.inspection-evaluation-item.is-open{border-color:#5776ae}.inspection-evaluation-detail:empty{display:none}.inspection-evaluation-detail{padding:1rem;border-top:1px solid #35425a;background:#0b1320}.inspection-detail-loading{color:var(--muted)}.inspection-inline-metrics{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:.65rem}.inspection-inline-metrics>div{padding:.75rem;border-radius:9px;background:#121c2c}.inspection-inline-metrics span{display:block;color:var(--muted);font-size:.75rem;text-transform:uppercase}.inspection-inline-metrics strong{display:block;margin-top:.25rem}.inspection-inline-chart{margin-top:1rem}.inspection-inline-chart>h4{margin-bottom:.65rem}.inspection-open-modal{margin-top:1rem}@media(max-width:800px){.inspection-results article .inspection-evaluation-toggle{grid-template-columns:1fr}.inspection-inline-metrics{grid-template-columns:1fr 1fr}}
.inspection-existing{display:grid;gap:.75rem;margin-top:1.5rem}.inspection-load-error{display:grid;gap:.45rem;padding:1rem;border:1px solid #a26c20;border-radius:10px;background:#2a2112;color:#ffc96a}.inspection-load-error button{justify-self:start}.chart-grid--timeline{grid-template-columns:minmax(280px,340px) minmax(0,1fr);gap:18px}.chart-grid--timeline>.chart-card{overflow:hidden}.chart-grid--timeline .donut-layout{grid-template-columns:1fr;align-content:start}.chart-grid--timeline .donut-chart{justify-self:center;max-width:210px}.chart-grid--timeline .chart-legend{width:100%}.card-timeline-toolbar{display:grid;grid-template-columns:auto minmax(180px,1fr) auto;align-items:center;gap:.75rem;margin-bottom:16px}.card-timeline-toolbar button{position:static;padding:8px 11px;border:1px solid #2a3b57;border-radius:7px;background:#101b2d;color:#e8eef9}.card-timeline-toolbar button:disabled{opacity:.4}.card-timeline-toolbar strong{text-align:center;font-size:11px;color:#aeb9ca}@media(max-width:1150px){.chart-grid--timeline{grid-template-columns:1fr}.chart-grid--timeline .donut-layout{grid-template-columns:minmax(190px,230px) minmax(170px,1fr)}.card-timeline-toolbar{grid-template-columns:1fr}.card-timeline-toolbar button{width:100%}}
.inspection-vehicles label span{display:grid;gap:.2rem}.inspection-vehicles label small{display:block;color:#9faac0}
.inspection-vehicle-rows,.inspection-driver-rows{display:grid;gap:.7rem}.inspection-vehicle-row,.inspection-driver-row{display:grid;align-items:center;gap:.85rem;padding:.9rem 1rem;border:1px solid #2a3549;border-radius:12px;background:#111a2a}.inspection-vehicle-row{grid-template-columns:minmax(110px,.65fr) minmax(150px,.9fr) minmax(140px,.8fr) minmax(260px,1.7fr) auto}.inspection-driver-row{grid-template-columns:minmax(170px,1.35fr) minmax(155px,1fr) minmax(100px,.7fr) minmax(125px,.8fr) minmax(135px,1fr) minmax(70px,.45fr) auto}.inspection-vehicle-row>div,.inspection-driver-row>div{display:grid;gap:.3rem;min-width:0}.inspection-vehicle-row>div>span,.inspection-driver-row>div>span{color:#8f9bb1;font-size:.72rem;text-transform:uppercase}.inspection-vehicle-row strong,.inspection-driver-row strong{overflow-wrap:anywhere}.inspection-vehicle-row em{color:#9faac0;font-style:normal}.inspection-vehicle-row details,.inspection-driver-row details{margin:0}.inspection-vehicle-row details[open],.inspection-driver-row details[open]{grid-column:1/-1;padding-top:.8rem;border-top:1px solid #2a3549}.inspection-vehicle-row summary,.inspection-driver-row summary{cursor:pointer;color:#9eb8ff;font-weight:700;white-space:nowrap}.inspection-file-list,.inspection-episodes{display:grid;gap:.55rem}.inspection-file{display:flex;align-items:center;justify-content:space-between;gap:.65rem;min-width:0;padding:.55rem .65rem;border:1px solid #2d3a51;border-radius:9px;background:#0d1524}.inspection-file b{min-width:0;overflow-wrap:anywhere}.inspection-file small{color:#9faac0}.inspection-download{flex:0 0 auto;padding:.45rem .65rem;border:1px solid #49628a;border-radius:7px;color:#dce7ff;text-decoration:none;font-weight:700}.inspection-download:hover{border-color:#7e9bd0;background:#17243a}.inspection-driver-detail{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));gap:.65rem}.inspection-driver-detail p{margin:0;padding:.65rem;border-radius:8px;background:#0d1524}.inspection-episodes button{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(110px,.7fr) minmax(150px,1fr);gap:.75rem;align-items:center;padding:.7rem .8rem;border:1px solid #354660;border-radius:9px;background:#0d1524;color:inherit;text-align:left}.inspection-episodes button:hover{border-color:#7893c4;background:#14213a}.inspection-episodes button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:1300px){.inspection-driver-row{grid-template-columns:minmax(170px,1.4fr) minmax(155px,1fr) repeat(2,minmax(105px,.7fr)) minmax(120px,.8fr) auto}.inspection-driver-row>div:nth-child(6){display:none}.inspection-vehicle-row{grid-template-columns:minmax(110px,.7fr) minmax(150px,1fr) minmax(140px,.8fr) minmax(230px,1.4fr) auto}}
@media(max-width:1050px){.inspection-driver-row,.inspection-vehicle-row{grid-template-columns:repeat(2,minmax(0,1fr))}.inspection-driver-row>details,.inspection-vehicle-row>details{grid-column:1/-1}.inspection-driver-detail{grid-template-columns:repeat(2,minmax(0,1fr))}.inspection-file{align-items:flex-start;flex-direction:column}.inspection-episodes button{grid-template-columns:1fr 1fr}.inspection-episodes button span:last-child{grid-column:1/-1}}
@media(max-width:650px){.inspection-driver-row,.inspection-vehicle-row,.inspection-driver-detail{grid-template-columns:1fr}.inspection-driver-row>details,.inspection-vehicle-row>details{grid-column:auto}.inspection-episodes button{grid-template-columns:1fr}.inspection-episodes button span:last-child{grid-column:auto}}
.inspection-vehicle-controls{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:.35rem 0 .8rem}.inspection-vehicle-controls>div{display:flex;gap:.6rem;flex-wrap:wrap}.inspection-vehicle-controls span{color:#aeb9ce;font-weight:700}.inspection-vehicle-controls button{padding:.55rem .8rem}.inspection-vehicle-controls button:disabled{opacity:.45}@media(max-width:700px){.inspection-vehicle-controls{align-items:flex-start;flex-direction:column}.inspection-vehicle-controls>div{width:100%}.inspection-vehicle-controls button{flex:1}}
.inspection-selected-heading,.inspection-selected-vehicles article,.inspection-selector-actions{display:flex;align-items:center;justify-content:space-between;gap:1rem}.inspection-selected-heading{margin:.35rem 0 .8rem}.inspection-selected-vehicles{display:grid;gap:.65rem}.inspection-selected-vehicles article{padding:.85rem 1rem;border:1px solid #2a3549;border-radius:12px;background:#111a2a}.inspection-selected-vehicles article span{display:grid;gap:.2rem}.inspection-selected-vehicles small,.inspection-selection-empty{color:#9faac0}.inspection-selection-empty{margin:.25rem 0}.inspection-vehicle-dialog{width:min(760px,calc(100% - 28px))}.inspection-vehicle-dialog-body{display:grid;gap:1rem;max-height:calc(100vh - 150px);padding:1.25rem;overflow:auto}.inspection-selector-actions{padding-top:.25rem}.inspection-selector-actions button{min-width:145px}.inspection-vehicle-dialog .inspection-vehicles{grid-template-columns:1fr}@media(max-width:700px){.inspection-selected-heading,.inspection-selected-vehicles article,.inspection-selector-actions{align-items:stretch;flex-direction:column}.inspection-selected-heading button,.inspection-selected-vehicles button,.inspection-selector-actions button{width:100%}}
.inspection-mode{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.inspection-mode legend{grid-column:1/-1}.inspection-mode label{display:grid;grid-template-columns:auto 1fr;gap:.25rem .7rem;padding:1rem;border:1px solid #33435e;border-radius:12px;background:#0d1626;cursor:pointer}.inspection-mode label.is-selected{border-color:#6d8cff;background:#15233d}.inspection-mode input{grid-row:1/3;width:auto;align-self:start;margin-top:.2rem;accent-color:#6d8cff}.inspection-mode strong{font-size:1rem}.inspection-mode span{color:#9faac0;font-size:.84rem;line-height:1.4}@media(max-width:700px){.inspection-mode{grid-template-columns:1fr}}
.entity-selection-cell{width:42px;text-align:center}.entity-selection-cell input{width:18px;height:18px;accent-color:#6d8cff}.entity-table tr.is-selected{background:#17243a}.entity-selection-bar{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin:0 0 1rem;padding:.8rem 1rem;border:1px solid #38517a;border-radius:12px;background:#101b2d}.entity-selection-bar strong{margin-right:auto}.chart-period-summaries{display:grid;gap:1.25rem}.chart-period-summaries>section+section{padding-top:1.25rem;border-top:1px solid #29344a}.activity-timeline-row[role=group]{cursor:pointer;border-radius:7px;transition:background .15s ease,outline-color .15s ease}.activity-timeline-row[role=group]:hover{background:#142036}.activity-timeline-row.is-selected-day{outline:2px solid #83a8ff;outline-offset:2px;background:#17243a}.card-timeline-toolbar label{display:flex;align-items:center;gap:.45rem;color:#aeb9ca;font-size:12px}.card-timeline-toolbar select{min-width:105px}.selected-day-vehicles{margin-top:18px}.selected-day-vehicle-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.75rem}.selected-day-vehicle-grid>div{display:grid;gap:.45rem;padding:1rem;border:1px solid #29344a;border-radius:10px;background:#111a2a}.selected-day-vehicle-grid span{color:#aeb9ca}.vu-attribution-card strong{font-size:1.04rem;line-height:1.3}.vu-attribution-card .vu-attribution-role{color:#8fa7d7;font-size:.7rem;font-weight:800;letter-spacing:.09em}.vu-attribution-card .vu-attribution-copy{line-height:1.45}.vu-attribution-meta{display:flex;flex-wrap:wrap;gap:.35rem .9rem;margin:.15rem 0}.vu-attribution-meta span{color:#d4dbea}.vu-activity-summary{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.2rem}.vu-activity-summary span{padding:.3rem .48rem;border-radius:6px;background:#0c1423;color:#c6d0df;font-size:.78rem}.vu-activity-summary b{color:#f4f7ff}.vu-attribution-card .vu-attribution-detail{justify-self:start;margin-top:.45rem}.vu-attribution-card.is-unidentified-evidence{border-color:#46516a;background:#121a28}.vu-person-time-note{margin:1rem 0 0;padding:.65rem .8rem;border-left:3px solid #50658d;background:#101827;color:#bdc7d8}
.activity-time-scale span:first-child{transform:none}.activity-time-scale span:last-child{transform:translateX(-100%)}
#cardActivityTimeline .activity-time-scale,#cardActivityTimeline .activity-timeline-row{grid-template-columns:100px minmax(0,1fr)}
.entity-table.activity-table{min-width:1120px}.entity-table .entity-actions{padding-inline:8px;text-align:center}.entity-delete-button{min-width:76px;padding:7px 9px;font-size:10px}.entity-table--driver.activity-table th:nth-child(8),.entity-table--driver.activity-table td:nth-child(8),.entity-table--vehicle.activity-table th:nth-child(7),.entity-table--vehicle.activity-table td:nth-child(7){width:9%}
.entity-table--driver.activity-table th:nth-child(1),.entity-table--driver.activity-table td:nth-child(1){width:11%}.entity-table--driver.activity-table th:nth-child(2),.entity-table--driver.activity-table td:nth-child(2){width:14%}.entity-table--driver.activity-table th:nth-child(3),.entity-table--driver.activity-table td:nth-child(3){width:12%}.entity-table--driver.activity-table th:nth-child(4),.entity-table--driver.activity-table td:nth-child(4){width:10%}.entity-table--driver.activity-table th:nth-child(5),.entity-table--driver.activity-table td:nth-child(5){width:17%}.entity-table--driver.activity-table th:nth-child(6),.entity-table--driver.activity-table td:nth-child(6){width:13%}.entity-table--driver.activity-table th:nth-child(7),.entity-table--driver.activity-table td:nth-child(7){width:14%}.entity-table--vehicle.activity-table th:nth-child(1),.entity-table--vehicle.activity-table td:nth-child(1){width:13%}.entity-table--vehicle.activity-table th:nth-child(2),.entity-table--vehicle.activity-table td:nth-child(2){width:13%}.entity-table--vehicle.activity-table th:nth-child(3),.entity-table--vehicle.activity-table td:nth-child(3){width:11%}.entity-table--vehicle.activity-table th:nth-child(4),.entity-table--vehicle.activity-table td:nth-child(4){width:21%}.entity-table--vehicle.activity-table th:nth-child(5),.entity-table--vehicle.activity-table td:nth-child(5){width:15%}.entity-table--vehicle.activity-table th:nth-child(6),.entity-table--vehicle.activity-table td:nth-child(6){width:18%}
.inspection-tolerance{display:grid;gap:.45rem;margin-top:1rem;color:var(--text)}
.inspection-tolerance span{color:var(--muted);font-size:.85rem}
.inspection-tolerance input{max-width:12rem}
.inspection-pdf-controls{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;padding:1rem;border:1px solid #354660;border-radius:12px;margin-bottom:1rem}.inspection-pdf-controls label,.inspection-pdf-selection{color:var(--muted);font-size:.85rem}.inspection-pdf-selection{display:block;padding:.6rem 1rem;border-bottom:1px solid #263348}.inspection-pdf-controls input,.inspection-pdf-selection input{width:auto;accent-color:#6d8cff}#inspectionReportsBack{margin-bottom:1rem}
.report-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.report-category-grid button{display:grid;gap:.7rem;padding:1.8rem;text-align:left}.report-category-grid strong{font-size:1.3rem}.report-category-grid span{color:var(--muted)}#reportBack{margin-bottom:1rem}.report-available-period{grid-column:1/-1;display:grid;gap:.5rem;padding:1rem;border:1px solid #385876;border-radius:10px;background:#102033}.report-available-period small{color:var(--muted)}@media(max-width:700px){.report-category-grid{grid-template-columns:1fr}}
.reports-view{max-width:980px;margin:0 auto}.report-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;padding:1.4rem;border:1px solid var(--line);border-radius:18px;background:#0d1626}.report-form>label,.report-period label{display:grid;gap:.45rem;color:var(--muted)}.report-form select,.report-form input{width:100%;padding:.8rem;border:1px solid #33435e;border-radius:9px;background:#091321;color:var(--text)}.report-period{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.report-form aside{display:flex;gap:.55rem;flex-wrap:wrap;grid-column:1/-1;padding:1rem;border:1px solid #2d4963;border-radius:12px;background:#0b1b2b}.report-form aside strong{width:100%}.report-form aside span{padding:.35rem .6rem;border-radius:999px;background:#123229;color:#71dab1;font-size:.8rem}.report-form .form-error,.report-form>.primary-button{grid-column:1/-1}@media(max-width:700px){.report-form{grid-template-columns:1fr}.report-period{grid-template-columns:1fr}}
.multi-manning-card{margin:1rem 0;padding:1.25rem;border:1px solid #384766;border-left:4px solid #6f93ff;border-radius:14px;background:#101827}
.multi-manning-card.is-multi_manning_confirmed{border-left-color:#45d09e}
.multi-manning-card.is-multi_manning_diagnostic_candidate{border-left-color:#f0a94b}
.multi-manning-card>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.8rem}
.multi-manning-card span{display:grid;gap:.3rem;color:var(--muted)}
.multi-manning-card strong{color:var(--text)}
.multi-manning-rest{margin-top:1rem;padding-top:1rem;border-top:1px solid #2a3650}
.coverage-verdict{padding:1rem 1.15rem;border:1px solid #8b6516;border-left:4px solid #f3b62f;border-radius:12px;background:#19170f}.coverage-verdict strong{color:#f3c85a}.coverage-verdict p{margin:.45rem 0 0;color:var(--muted)}.regulatory-legend{display:flex;gap:.55rem;flex-wrap:wrap;margin:1rem 0}.regulatory-legend span,.coverage-status{padding:.3rem .55rem;border-radius:999px;font-size:.72rem;font-weight:800}.regulatory-legend .is-covered,.coverage-status.is-covered{background:#103328;color:#55d6a5}.regulatory-legend .is-context,.coverage-status.is-context{background:#152d48;color:#7fc2ff}.regulatory-legend .is-pending,.coverage-status.is-pending{background:#38270d;color:#f3bd55}.regulatory-legend .is-deferred,.coverage-status.is-deferred{background:#282b35;color:#b6bdcb}.regulatory-coverage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.regulatory-group{padding:1rem;border:1px solid #2d3b53;border-radius:12px;background:#0d1626}.regulatory-group>header{display:flex;align-items:center;justify-content:space-between}.regulatory-group h3{margin:0}.regulatory-group article{padding:.75rem 0;border-top:1px solid #27344a}.regulatory-group header+article{margin-top:.75rem}.regulatory-group article p{margin:.3rem 0 0;color:var(--muted);font-size:.88rem}.coverage-sources{color:var(--muted);font-size:.8rem}@media(max-width:760px){.regulatory-coverage{grid-template-columns:1fr}}
.inspection-external-evidence{margin-top:1.25rem;padding:1rem;border:1px solid #334155;border-radius:14px;background:#0d1422}.inspection-evidence-toggle{display:flex;align-items:center;gap:.65rem;font-weight:700}.inspection-evidence-toggle input{width:auto}.inspection-external-evidence>p{color:#94a3b8}.inspection-evidence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.inspection-evidence-grid label{display:flex;flex-direction:column;gap:.45rem}.inspection-evidence-grid select,.inspection-evidence-grid input{width:100%}.inspection-external-summary,.inspection-context-results{margin:1.25rem 0;padding:1rem;border:1px solid #334155;border-radius:14px}.inspection-external-summary article{display:grid;gap:.35rem;padding:1rem;background:#111a2b;border-radius:10px}.inspection-external-summary small{color:#a8b3c7}.inspection-context-results{display:grid;gap:.75rem}.inspection-context-results button{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:1rem;align-items:center;text-align:left;padding:1rem;border:1px solid #334155;border-radius:10px;background:#111a2b;color:inherit}@media(max-width:760px){.inspection-evidence-grid{grid-template-columns:1fr}.inspection-context-results button{grid-template-columns:1fr}}

.inspection-file-meta{display:grid;gap:.3rem;min-width:0;text-transform:none}.inspection-file-meta small{font-size:.78rem;line-height:1.4;font-weight:400;overflow-wrap:anywhere}
.action-data{max-width:100%;overflow-wrap:anywhere;margin-top:1rem}.action-data dl{margin:.5rem 0}.action-data dt{font-weight:600;color:var(--text-muted,#aab4c8)}.action-data dd{margin:0 0 .5rem 0}.action-data ul{padding-left:1.2rem}.action-data li{margin-bottom:.75rem}

.inspection-vehicle-row>.inspection-document-detail,.inspection-driver-row>.inspection-document-detail{grid-column:1/-1;display:block;padding-top:.8rem;border-top:1px solid #2a3549}.inspection-document-detail>.inspection-driver-detail{display:grid}

/* Optional agent settings: reuse the existing local form visual language. */
.agent-settings>div{width:100%}.agent-settings .settings-actions{justify-content:flex-start;margin:.8rem 0}.agent-settings .settings-actions label{display:grid;gap:.35rem;flex:1 1 170px;min-width:0}.agent-settings input:not([type=checkbox]){width:100%;min-width:0;box-sizing:border-box;padding:11px 12px;border:1px solid var(--line);border-radius:9px;color:var(--text);background:#0b101b}.technical-document{padding:.8rem 0;border-bottom:1px solid var(--line)}.agent-settings h3{margin:1.3rem 0 .6rem}

.agent-artifact{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.5rem .7rem;align-items:center;margin-top:.85rem;padding:.7rem;border:1px solid rgba(102,140,255,.3);border-radius:10px;background:rgba(102,140,255,.07)}
.agent-artifact>div{min-width:0;display:grid;gap:.18rem}.agent-artifact strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem}.agent-artifact>div span,.agent-artifact__status{color:var(--muted);font-size:.72rem}.agent-artifact__status{grid-column:1/-1}.agent-artifact .ghost-button{padding:.55rem .7rem;white-space:nowrap}.agent-artifact .ghost-button:disabled{opacity:.72}
.agent-action-result-view{width:min(1080px,100%);margin:0 auto}.agent-action-result-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin-bottom:1rem;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--line)}.agent-action-result-summary>div{display:grid;gap:.35rem;padding:1rem 1.15rem;background:#0e1727}.agent-action-result-summary span{color:var(--muted);font-size:.75rem;text-transform:uppercase;letter-spacing:.06em}.agent-action-result-summary strong{font-size:1.5rem}.agent-action-result-list{display:grid;gap:.75rem}.agent-action-result-list>article{overflow:hidden;border:1px solid #2d3a51;border-radius:12px;background:#0d1524}.agent-action-result-list article>button{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:1rem;align-items:center;padding:1rem;border:0;color:inherit;background:transparent;text-align:left;cursor:pointer}.agent-action-result-list article>button:hover,.agent-action-result-list article>button:focus-visible{background:#14213a}.agent-action-result-list button span{min-width:0;display:grid;gap:.25rem}.agent-action-result-list button small{overflow:hidden;text-overflow:ellipsis;color:var(--muted);white-space:nowrap}.agent-action-result-list button em{font-style:normal;color:#aebbd4;font-size:.8rem}.agent-action-result-list button i{font-style:normal;color:#8fa8ff}.agent-action-result-list ul{display:grid;gap:.45rem;margin:0;padding:.75rem 1rem 1rem 2.4rem;border-top:1px solid #27344a}.agent-action-result-list li{padding-left:.2rem}.agent-action-result-list li strong{display:block}.agent-action-result-list li span{color:var(--muted);font-size:.8rem}.agent-action-result-list article>p{margin:0;padding:0 1rem 1rem;color:var(--muted)}
.agent-action-result-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem;align-items:center;padding:1rem}.agent-action-result-card span{display:grid;gap:.3rem}.agent-action-result-card small{color:var(--muted)}.agent-action-result-card em{font-style:normal;color:#b9c7e5}.agent-action-result-count{color:var(--muted)}.agent-action-result-table{min-width:780px}.agent-action-result-table td{max-width:260px;overflow-wrap:anywhere}
@media(max-width:620px){.agent-toolbar{grid-template-columns:auto minmax(70px,1fr) auto auto auto;gap:4px}.agent-toolbar .ghost-button{padding-inline:7px}.agent-action-result-summary{grid-template-columns:1fr}.agent-action-result-list article>button{grid-template-columns:minmax(0,1fr) auto}.agent-action-result-list button em{grid-column:1/-1}.agent-action-result-list button i{grid-column:2;grid-row:1}.agent-action-result-card{grid-template-columns:1fr}.agent-action-result-card em{justify-self:start}}
.settings-card.license-restricted{border-color:#a94a61;background:#211521}.settings-license-error{color:#ff91aa!important;font-weight:700}
.activity-timeline-legend .is-unknown:before{background:repeating-linear-gradient(135deg,#1a2434 0 4px,#596579 4px 7px)}
.inspection-simple-grid.is-single{grid-template-columns:minmax(0,1fr)}
.inspection-document-files,.inspection-driver-overviews{display:grid;gap:14px}.inspection-document-file{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:18px;border:1px solid #34445e;border-radius:10px;background:#0b1423;min-width:0}.inspection-document-file>header{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:18px}.inspection-document-file>header>strong{overflow-wrap:anywhere;font-size:1rem;min-width:0}.inspection-document-file>div{min-width:0}.inspection-document-file>div>span{color:#b9c6db;font-size:.9rem;font-weight:600}.inspection-document-file p{margin:6px 0 0;line-height:1.6}.inspection-document-file>small{grid-column:1/-1;color:#e8c36f}.inspection-vehicle-document>button{justify-self:start}.inspection-vehicle-document h4{margin:8px 0 0;font-size:1.15rem}.inspection-driver-overview{border:1px solid #34445e;border-radius:10px;padding:18px;display:grid;gap:14px;background:#0b1423}.inspection-driver-overview>header{display:flex;justify-content:space-between;gap:16px}.inspection-driver-overview p{margin:6px 0;line-height:1.5}.inspection-driver-overview>header>strong{font-size:.9rem;color:#b9c6db}.inspection-linked-files a{color:#9bc4ff;overflow-wrap:anywhere}.inspection-driver-overview>.inspection-download{justify-self:start}.inspection-driver-rows>article{scroll-margin-top:24px}.inspection-driver-rows>article:target{outline:2px solid #9bc4ff}@media(max-width:760px){.inspection-document-file{grid-template-columns:1fr}.inspection-document-file>header,.inspection-driver-overview>header{flex-direction:column;align-items:flex-start}.inspection-vehicle-document>button{width:100%;white-space:normal}}
.inspection-vehicle-drivers{padding:18px;border:1px solid #34445e;border-radius:12px;background:#0b1423;min-width:0}
.inspection-vehicle-drivers>header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.inspection-vehicle-drivers>header>span{color:#f3c56c;font-size:.9rem}
.inspection-vehicle-drivers>p{color:#b9c6db;font-size:.95rem;margin:8px 0 16px}
.inspection-driver-compact-list{list-style:none;margin:0;padding:0}
.inspection-driver-compact{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.6fr) auto;align-items:center;gap:18px;padding:16px 0;border-top:1px solid #2a3b53}
.inspection-driver-compact>div{display:grid;gap:7px;min-width:0}
.inspection-driver-compact strong{font-size:1rem;overflow-wrap:anywhere}
.inspection-driver-compact small{font-size:.9rem;color:#b9c6db;overflow-wrap:anywhere}
.inspection-driver-compact .inspection-download{font-size:.95rem;white-space:normal;text-align:center;min-height:44px;background:#101e32;cursor:pointer}
.inspection-driver-compact .inspection-download:hover{background:#1b3150;border-color:#9bc4ff}
.inspection-document-status{display:inline-block;justify-self:start;padding:6px 11px;border-radius:9px;font-size:.9rem;font-weight:700;line-height:1.35}
.inspection-document-status.is-complete{background:#103328;color:#77e5bb}
.inspection-document-status.is-partial{background:#382b13;color:#f3c56c}
.inspection-document-status.is-empty{background:#39212a;color:#ffacb8}
:is(.inspection-driver-detail-view,.inspection-vehicle-detail-view){display:grid;grid-template-columns:minmax(0,1fr);gap:22px;min-width:0}
:is(.inspection-driver-detail-view,.inspection-vehicle-detail-view)>section{min-width:0}
:is(.inspection-driver-detail-view,.inspection-vehicle-detail-view) h1:focus{outline:none}
:is(.inspection-driver-detail-view,.inspection-vehicle-detail-view)>button{justify-self:start}
:is(.inspection-driver-detail-view,.inspection-vehicle-detail-view) .inspection-title{margin:0}
:is(.inspection-driver-detail-view,.inspection-vehicle-detail-view) .inspection-document-detail{padding:20px;border:1px solid #34445e;border-radius:12px;background:#0b1423}
:is(.inspection-driver-detail-view,.inspection-vehicle-detail-view) h2{font-size:1.2rem;margin:0 0 12px}
:is(.inspection-driver-detail-view,.inspection-vehicle-detail-view) p,:is(.inspection-driver-detail-view,.inspection-vehicle-detail-view) li{line-height:1.55}
:is(.inspection-driver-detail-view,.inspection-vehicle-detail-view) small{font-size:.9rem;color:#b9c6db}
.inspection-file-table-scroll{overflow-x:auto;border:1px solid #34445e;border-radius:12px;max-width:100%;min-width:0}
.inspection-file-table{width:100%;min-width:850px;border-collapse:collapse;table-layout:fixed;background:#0b1423}
.inspection-file-table th,.inspection-file-table td{padding:18px 16px;text-align:left;vertical-align:top;border-bottom:1px solid #34445e;font-size:.95rem;line-height:1.6}
.inspection-file-table th{color:#b9c6db;background:#111e30;font-weight:600}
.inspection-file-table th:first-child{width:28%}.inspection-file-table th:nth-child(2){width:25%}.inspection-file-table th:nth-child(3){width:27%}.inspection-file-table th:last-child{width:20%}
.inspection-file-table td:first-child{overflow-wrap:anywhere}
.inspection-file-table td small{display:block;margin-top:8px;color:#f3c56c}
.inspection-file-table tr:last-child td{border-bottom:0}
.inspection-file-table .inspection-download{font-size:.9rem;white-space:normal;text-align:center}
@media(max-width:960px){.inspection-driver-compact{grid-template-columns:minmax(0,1fr) minmax(180px,.7fr)}.inspection-driver-compact>button{grid-column:1/-1;justify-self:start}}
@media(max-width:560px){.inspection-driver-compact{grid-template-columns:1fr;gap:12px}.inspection-vehicle-drivers{padding:14px}.inspection-driver-detail-view>button{width:100%;white-space:normal}}
.inspection-document-view>.inspection-title{align-items:center;margin:10px 0}
.inspection-document-view>.inspection-title h1{font-size:1.5rem;margin:0 0 6px}
.inspection-document-view>.inspection-title p{margin:4px 0;font-size:.95rem}
.inspection-document-view>.inspection-title .kicker{display:none}
.inspection-document-view>.inspection-tabs{margin:10px 0}
.inspection-document-view .inspection-summary{gap:12px}
.inspection-vehicle-sheet{padding:14px;gap:10px;min-width:0}
.inspection-vehicle-sheet>header{align-items:center;flex-wrap:wrap;gap:10px}
.inspection-vehicle-sheet>header h3{margin:0;font-size:1.25rem}
.inspection-vehicle-sheet>header>button{margin-left:auto;padding:9px 15px;font-size:.95rem}
.inspection-vehicle-sheet>header .inspection-document-status{font-size:.85rem;letter-spacing:0;text-transform:none}
.inspection-vehicle-sheet>header .inspection-document-status.is-complete{color:#77e5bb}
.inspection-vehicle-sheet>header .inspection-document-status.is-partial{color:#f3c56c}
.inspection-vehicle-sheet>header .inspection-document-status.is-empty{color:#ffacb8}
.inspection-vehicle-sheet .inspection-document-file{padding:12px;gap:8px}
.inspection-vehicle-sheet .inspection-document-file p{margin-top:3px;font-size:.95rem;line-height:1.45}
.inspection-vehicle-sheet .inspection-document-file>small{font-size:.85rem}
.inspection-vehicle-sheet h4{font-size:1rem;margin:4px 0 0}
.inspection-vehicle-sheet .inspection-file-table th,.inspection-vehicle-sheet .inspection-file-table td{padding:7px 10px;font-size:.93rem;line-height:1.4}
.inspection-vehicle-sheet .inspection-file-table th:first-child{width:34%}
.inspection-vehicle-sheet .inspection-file-table th:nth-child(2){width:27%}
.inspection-vehicle-sheet .inspection-file-table th:nth-child(3){width:27%}
.inspection-vehicle-sheet .inspection-file-table th:last-child{width:12%}
.inspection-vehicle-sheet .inspection-file-table .inspection-download{padding:3px 8px;font-size:.9rem;display:inline-block;white-space:nowrap}
.inspection-associated-heading>th{background:#17263b}
.inspection-associated-heading>th>div{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center}
.inspection-associated-heading strong{color:#f6f8ff}
.inspection-associated-heading span{font-weight:400}
.inspection-associated-heading .inspection-document-status{padding:3px 8px;font-weight:700;font-size:.85rem}
.inspection-more-link{margin-left:auto;padding:3px 0;border:0;background:transparent;color:#9bc4ff;cursor:pointer;white-space:nowrap;font-size:.9rem;font-weight:600}
.inspection-more-link:hover{text-decoration:underline}
.inspection-associated-missing td{background:#201c12}
.inspection-missing-inline{padding:7px 10px;border-left:3px solid #d3a23c;background:#201c12;color:#f3c56c;font-size:.9rem;line-height:1.5}
.inspection-missing-inline span{display:inline-block}
.inspection-associated-missing .inspection-missing-inline{padding:0;border:0}
.inspection-scope-footnote{border:0;background:transparent;padding:0;margin:0;font-size:.85rem;color:#a9b6ca}
.inspection-note-status{color:#77e5bb;font-size:.9rem}
.inspection-empty-inline{margin:0;font-size:.95rem;color:#b9c6db}
.inspection-vehicle-sheet .inspection-technical-detail{padding-top:6px;margin:0;font-size:.9rem}
@media(max-width:760px){.inspection-vehicle-sheet>header>button{margin-left:0}.inspection-vehicle-sheet{padding:10px}.inspection-associated-heading>th>div{gap:6px 10px}}
.inspection-file-downloads{margin:0;padding:0;min-width:0}
.inspection-file-downloads>summary{cursor:pointer;color:#9bc4ff;font-weight:700;padding:8px 0;font-size:.95rem}
.inspection-file-downloads[open]>summary{margin-bottom:5px}
.inspection-file-downloads>.inspection-document-files{gap:8px}
.inspection-selected-drivers{display:grid;gap:10px}
.inspection-selected-driver{padding:12px;border:1px solid #34445e;border-radius:10px;background:#0b1423;min-width:0}
.inspection-selected-driver>header{display:flex;align-items:center;gap:10px 18px;flex-wrap:wrap}
.inspection-selected-driver>header>div{display:grid;gap:4px;min-width:0}
.inspection-selected-driver>header strong{font-size:1rem;overflow-wrap:anywhere}
.inspection-selected-driver>header small{font-size:.9rem;color:#b9c6db;overflow-wrap:anywhere}
.inspection-selected-driver>.inspection-missing-inline{margin-top:8px}
.inspection-selected-driver>.inspection-file-downloads{margin-top:4px}
.inspection-vehicle-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-left:auto}
.inspection-vehicle-actions>.primary-button{padding:9px 15px;font-size:.95rem}
.inspection-vehicle-actions>.inspection-more-link{margin-left:0}
.inspection-no-card-summary{margin:4px 0 12px;padding:10px 12px;border:1px solid #34445e;border-radius:8px;font-size:.95rem;line-height:1.5}
.inspection-no-card-summary.is-all-without-card{border-left:3px solid #f5bd5b;background:#211d12;color:#ffda8b;font-weight:650}
.inspection-no-card-table{min-width:500px}
@media(max-width:760px){.inspection-vehicle-actions{margin-left:0}}
@media(max-width:600px){.inspection-selected-driver>header .inspection-more-link{margin-left:0}}
.validation-basis{margin:20px 0;padding:20px;border:1px solid #3c5277;border-radius:12px;line-height:1.6;font-size:1rem}.validation-basis summary{font-weight:700;cursor:pointer}.validation-basis a{color:#9bc4ff}.validation-basis li{margin:8px 0}.settings-path{overflow-wrap:anywhere}.settings-actions{flex-wrap:wrap}
.weekly-rest-timing-summary{margin:1rem 0;padding:1rem;border:1px solid #3c5277;border-radius:12px;background:#101a2a}.weekly-rest-timing-summary h4{margin:0 0 .8rem}.weekly-rest-timing-summary>div{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:.65rem}.weekly-rest-timing-summary span{display:grid;gap:.35rem;padding:.75rem;border-radius:9px;background:#0b1320;color:var(--muted);font-size:.76rem}.weekly-rest-timing-summary strong{color:var(--text);font-size:.95rem}.weekly-rest-timing-summary p{margin:.8rem 0 0;color:var(--muted);line-height:1.45}@media(max-width:900px){.weekly-rest-timing-summary>div{grid-template-columns:1fr 1fr}}@media(max-width:560px){.weekly-rest-timing-summary>div{grid-template-columns:1fr}}
/* Company-card evidence stays distinct from the administrative Company/Base. */
.tachograph-company-summary {display:flex;flex-wrap:wrap;gap:.35rem 1rem;padding:.8rem 1rem;border-left:3px solid #78afff;background:#101c2e;border-radius:0 .6rem .6rem 0;}
.tachograph-company-summary span {color:#b9c6da;}
.tachograph-company-summary strong {overflow-wrap:anywhere;}
.tachograph-company-expand {margin-top:1rem;}
.tachograph-company-expand>summary {cursor:pointer;color:#9ec5ff;font-weight:700;padding:.6rem 0;}
.tachograph-company-details {margin:1.5rem 0;}
.tachograph-company-details>p {color:#b9c6da;line-height:1.6;}
.tachograph-company-record {padding:1rem 1.2rem;margin:1rem 0;border:1px solid #344763;border-radius:.75rem;background:#0c1524;}
.tachograph-company-record header {display:flex;gap:.5rem 1rem;flex-wrap:wrap;}
.tachograph-company-record header span {color:#f9c668;}
.tachograph-company-record dl {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;}
.tachograph-company-record dt {color:#b9c6da;}
.tachograph-company-record dd {margin:.3rem 0 0;overflow-wrap:anywhere;}
.tachograph-company-source {color:#a9b9cf;font-size:.9rem;overflow-wrap:anywhere;line-height:1.5;}
.tachograph-company-source a {color:#9ec5ff;}
@media(max-width:700px){.tachograph-company-record dl {grid-template-columns:1fr;}}
.inspection-history-open {cursor:pointer;transition:border-color .15s,background .15s;}
.inspection-history-open:hover:not(:disabled),.inspection-history-open:focus-visible {border-color:#86b8ff;background:#19283e;}
.inspection-history-open:focus-visible {outline:2px solid #86b8ff;outline-offset:3px;}
.inspection-history-open:disabled {cursor:progress;opacity:.8;}
.inspection-opening {grid-column:1/-1;color:#9ec5ff;font-weight:700;}
.inspection-archive {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;margin-top:1.5rem;padding:1.2rem;border:1px solid #344963;border-radius:14px;background:#101c2c;}
.inspection-archive strong {font-size:1.1rem;}
.inspection-archive p {margin:.4rem 0 0;color:#b6c5dc;}
.inspection-archive button {cursor:pointer;white-space:normal;}
.inspection-archive button:disabled {cursor:progress;}
#inspectionArchiveStatus {flex-basis:100%;margin:0;}
#inspectionArchiveStatus:empty {display:none;}

/* Keep every reader tab visible and the same workspace width across sections. */
.screen--validation.is-reader-view { padding-inline: clamp(10px, 1.5vw, 24px); }
.screen--validation.is-reader-view .back-button,
.screen--validation.is-reader-view .workspace-card { width: min(1600px, 100%); }
.screen--validation.is-reader-view .reader-panel { padding-inline: clamp(14px, 2vw, 30px); }
#readerTabs { flex-wrap: wrap; overflow: visible; align-items: stretch; }
#readerTabs .reader-tab { max-width: 100%; white-space: normal; text-align: left; }
.history-file-notes { color: var(--muted); font-size: .9rem; }
.history-file-notes:empty { display: none; }

.entity-history-loading .history-loading-message { margin: 72px auto; max-width: 580px; text-align: center; }
.entity-history-loading h1 { font-size: 1.6rem; }
.entity-history-loading .loading-line { margin-inline: auto; }
.entity-history-loading [role="alert"] .ghost-button { display: block; margin: 20px auto; }

.driver-statistics-controls label:last-child { margin-left: 0; }
.driver-statistics-controls[hidden] { display: none; }
.driver-compare-toggle { display: flex; align-items: center; gap: 10px; margin: 18px 0; cursor: pointer; }
.driver-compare-toggle input { width: 18px; height: 18px; accent-color: var(--blue); }
.driver-comparison-table { width: 100%; min-width: 540px; table-layout: fixed; border-collapse: collapse; }
.driver-comparison-table th, .driver-comparison-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; overflow-wrap: anywhere; }
.driver-comparison-table th:first-child { width: 40%; }
.driver-comparison-table thead th { color: var(--muted); background: #111827; }
.driver-comparison-table thead th:nth-child(2) { color: #62d9b3; }
.driver-comparison-table thead th:nth-child(3) { color: #be9aff; }
.driver-comparison-table tbody th { font-weight: 600; }
.driver-statistics-chart { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: #0b1525; }
.driver-statistics-chart svg { display: block; width: 100%; }
.driver-statistics-chart .evolution-point { cursor: pointer; }
.driver-period-a { color: #62d9b3; }
.driver-period-b { color: #be9aff; }
.history-download-records { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 18px; }
.history-download-records summary { cursor: pointer; font-weight: 600; color: var(--blue); }

/* Acceso al resultado criptográfico individual desde el historial reunido. */
.file-signature-link { border:0; padding:0; background:transparent; color:#9bc5ff; font:inherit; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.file-signature-link:hover { color:#d7e7ff; }
.file-signature-link:focus-visible { outline:2px solid #9bc5ff; outline-offset:4px; border-radius:3px; }
.file-signature-link:disabled { color:inherit; cursor:default; text-decoration:none; }

/* Detalle horario opcional; comparte los datos de la cronología de infracciones. */
.infringement-activity-breakdown { margin:1rem 0; border:1px solid #35425a; border-radius:10px; background:#101a2b; }
.infringement-activity-breakdown > summary { padding:.9rem 1rem; cursor:pointer; color:#9bc5ff; font-weight:650; }
.infringement-activity-breakdown > summary:focus-visible { outline:2px solid #9bc5ff; outline-offset:2px; border-radius:10px; }
.infringement-activity-breakdown__content { padding:0 1rem 1rem; }
.infringement-activity-breakdown__period { margin:.25rem 0 .8rem; color:var(--muted); }
.infringement-activity-breakdown__scroll { max-height:420px; overflow:auto; border:1px solid #35425a; border-radius:8px; }
.infringement-activity-breakdown table { width:100%; border-collapse:collapse; font-size:.9rem; }
.infringement-activity-breakdown caption { padding:.6rem .8rem; text-align:left; color:var(--muted); }
.infringement-activity-breakdown th, .infringement-activity-breakdown td { padding:.65rem .8rem; text-align:left; white-space:nowrap; border-bottom:1px solid #29374c; }
.infringement-activity-breakdown thead th { position:sticky; top:0; z-index:1; background:#18263b; color:#c7d8ef; }
.infringement-activity-breakdown tbody tr:nth-child(even) { background:#142035; }
.infringement-activity-breakdown tbody tr.is-rest { background:#28203c; }
.infringement-activity-breakdown tbody tr.is-rest td:first-child { color:#d6b7ff; font-weight:650; }
.infringement-activity-breakdown tbody tr.is-unknown { background:#30291b; }
.infringement-activity-breakdown tbody tr.is-unknown td:first-child { color:#ffcc78; }
.infringement-activity-breakdown__note { margin:.65rem 0 0; color:var(--muted); font-size:.85rem; }

.une-toolbar {display:flex;flex-wrap:wrap;gap:12px;margin-bottom:18px}
.une-layout {display:grid;grid-template-columns:minmax(240px, .7fr) minmax(400px, 2fr);gap:20px;align-items:start}
.une-layout .settings-card {display:block;min-width:0;padding:24px}
.une-layout textarea {width:100%;margin:12px 0;resize:vertical;font:inherit;color:inherit;background:#101827;border:1px solid #44506a;border-radius:12px;padding:14px}
.une-files {max-height:480px;overflow:auto;margin-top:16px}
.une-files label {display:block;padding:10px 0;overflow-wrap:anywhere}
.une-files label[hidden] {display:none}
.une-conversation {max-height:600px;overflow:auto}
.une-conversation article {padding:18px;border:1px solid #34425b;border-radius:12px;margin-bottom:16px}
.une-text {white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;margin-top:12px}
.une-preview {white-space:pre-wrap;overflow-wrap:anywhere;max-height:400px;overflow:auto;font:inherit;background:#0b1321;padding:16px}
@media(max-width:900px){.une-layout{grid-template-columns:1fr}}

/* Three product areas; file-analysis navigation remains inside its area. */
.topbar {position:relative;inset:auto;height:auto;min-height:86px;gap:16px;padding:16px clamp(20px,3vw,48px);flex-wrap:wrap}
.module-nav {display:flex;flex-wrap:wrap;gap:8px;flex:1;justify-content:center}
.module-nav button {padding:14px 20px;border:1px solid #303b53;border-radius:12px;background:#101725;color:#c5cee0;font:inherit;font-weight:650;cursor:pointer}
.module-nav button:hover,.module-nav button.is-active {background:#25294c;border-color:#7185eb;color:#fff}
#primaryNav {position:relative;inset:auto;transform:none;display:flex;flex-wrap:wrap;margin:0 clamp(20px,3vw,48px) 12px;gap:5px}
#primaryNav button {font-size:12px;padding:12px 16px}
body:not([data-module="analysis"]) #primaryNav,body:not([data-module="analysis"]) #openAgent {display:none!important}
body[data-module="quality"] #localStatus {display:none}
@media(max-width:900px){.module-nav{order:3;flex-basis:100%}.module-nav button{flex:1;font-size:14px;padding:12px 8px}.topbar{padding-bottom:12px}}
.une-tabs {display:flex;gap:10px;flex-wrap:wrap;margin:0 0 24px}
.une-tabs button {padding:12px 22px;border-radius:12px;border:1px solid #35425a;background:#101725;color:#aebbd2;font:inherit;cursor:pointer}
.une-tabs button.is-active {background:#25294c;color:#fff;border-color:#7185eb}
.une-chat {max-width:1100px;margin:0 auto}
.une-chat .settings-card {display:block;padding:24px}
.une-chat textarea {display:block;width:100%;margin:14px 0;resize:vertical;font:inherit;color:inherit;background:#101827;border:1px solid #44506a;border-radius:12px;padding:14px}
.une-notice {font-size:13px;color:#aebbd2;margin-top:18px}
body[data-module="quality"] .screen--area {padding-top:30px}
body[data-module="quality"] .area-heading {margin-bottom:20px}
body[data-module="quality"] .area-heading h1 {font-size:clamp(26px,3vw,40px);line-height:1.2}

.une-step-card {border:1px solid #34435b;border-radius:14px;padding:18px;margin:12px 0;}
.une-step-card h3 {margin:0 0 12px;}
.une-step-card summary {cursor:pointer;color:#a9caff;}
.une-readable-preview {white-space:pre-wrap;overflow-wrap:anywhere;max-height:400px;overflow:auto;line-height:1.6;margin-top:14px;font-family:inherit;}

.une-permission-row { display:flex; flex-wrap:wrap; gap:1rem; padding:1rem 0; border-bottom:1px solid #334155; }
.une-permission-row strong { flex-basis:100%; overflow-wrap:anywhere; }

.une-permissions { display:block; margin-top:1.5rem; }
.une-permissions > label { display:block; margin:.7rem 0; }
.une-permissions input[type="checkbox"] { width:auto; margin-right:.5rem; }

.une-folder-filters { display:flex; flex-wrap:wrap; gap:1rem; margin:1rem 0; }
.une-folder-filters label { display:grid; gap:.4rem; flex:1; min-width:220px; }
.une-folder-list { max-height:360px; overflow-y:auto; margin-bottom:1rem; padding-right:.7rem; }
.une-permission-row[hidden] { display:none; }

.une-shell { display:grid; grid-template-columns:240px minmax(0,1fr); gap:24px; align-items:start; }
.une-sidebar { position:sticky; top:20px; display:flex; flex-direction:column; gap:12px; background:#101929; border:1px solid #29344a; border-radius:16px; padding:16px; max-height:calc(100vh - 100px); }
.une-sidebar small,.une-chat-list p { color:#aeb9ce; font-size:.85rem; }
.une-chat-list { overflow-y:auto; flex:1; min-height:80px; max-height:55vh; }
.une-chat-link { display:block; width:100%; text-align:left; background:transparent; border:1px solid transparent; color:#cbd5e1; border-radius:9px; padding:12px; cursor:pointer; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.une-chat-link:hover,.une-chat-link.is-active { background:#252943; border-color:#535c9c; }
.une-main { min-width:0; }
.une-main .area-heading h1 { font-size:clamp(1.5rem,2.5vw,2.25rem); }
.une-main .une-chat { max-width:none; margin:0; }
.une-main .area-module-grid { grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); }
@media(max-width:800px) { .une-shell { grid-template-columns:180px minmax(0,1fr); gap:12px; } .une-sidebar { padding:10px; } }
@media(max-width:600px) { .une-shell { grid-template-columns:1fr; } .une-sidebar { position:static; max-height:240px; } }

/* Compact quality workspace; all privacy/audit detail remains available on demand. */
.une-shell {grid-template-columns:210px minmax(0,1fr);gap:20px}
.une-main .area-heading {margin:0 0 16px;padding:0}
.une-main .area-heading h1 {font-size:1.65rem;margin:0}
.une-main .une-toolbar {gap:8px;margin-bottom:10px}
.une-main .une-toolbar button {padding:10px 16px;min-height:40px;margin:0}
.une-main .une-chat .settings-card {padding:16px;background:transparent;border:0}
.une-main .une-conversation {max-height:55vh}
.une-main .une-conversation article {padding:14px;margin-bottom:12px}
.une-main .une-text {white-space:normal;margin-top:8px}
.une-text p {margin:.5em 0}
.une-table-scroll {overflow:auto}
.une-text table {width:100%;border-collapse:collapse;font-size:.94em}
.une-text th,.une-text td {padding:10px;border:1px solid #34425b;text-align:left}
.une-privacy {font-size:.8rem;color:#79dfbd;margin:8px 0 12px}
.une-privacy summary,.une-audit summary {cursor:pointer}
.une-privacy p {color:#aebbd2;max-width:850px}
.une-audit {font-size:.85rem;margin:16px 0;color:#aebbd2}
.une-audit details {padding:10px;border-bottom:1px solid #34425b}
.une-audit small {overflow-wrap:anywhere}
.une-sidebar .primary-button,.une-sidebar .ghost-button {padding:10px;font-size:.9rem}
.une-chat-entry {display:flex;align-items:center;gap:2px}
.une-chat-entry .une-chat-link {min-width:0;flex:1;padding:10px;font-size:.87rem}
.une-chat-delete {flex:none;width:28px;height:32px;background:transparent;border:0;color:#aebbd2;cursor:pointer;font-size:1.3rem}
.une-chat-delete:hover {color:#ff9baa;background:#34202b;border-radius:6px}
.infringement-activity-breakdown tr[hidden] {display:none}
.infringement-activity-filter {margin:0 0 12px 8px;padding:6px;color:inherit;background:#101827;border:1px solid #44506a;border-radius:6px}
@media(max-width:700px){.une-shell{grid-template-columns:1fr}.une-sidebar{position:static;max-height:230px}.une-main .une-conversation{max-height:none}}

.une-main .une-protection-panel {display:block;padding:20px;margin-top:18px}
.une-protection-heading {display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.une-protection-heading h2 {margin:0}
.une-protection-status {color:#79dfbd;font-size:.85rem}
.une-protection-panel > p {font-size:.9rem;color:#aebbd2;line-height:1.5;margin:10px 0 16px;max-width:850px}
.une-protection-details {border-top:1px solid #34425b;padding:12px 0}
.une-protection-details summary {cursor:pointer;color:#cbd8ed;font-size:.93rem}
.une-protection-details .une-notice {margin:10px 0;line-height:1.5}
.une-protection-filters,.une-protection-form {display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:14px 0}
.une-protection-filters label,.une-protection-form label {display:grid;gap:6px;flex:1;min-width:190px;font-size:.85rem}
.une-protection-panel input,.une-protection-panel select {width:100%;padding:10px;border:1px solid #44506a;background:#101827;border-radius:8px;color:#edf2ff;font:inherit;box-sizing:border-box}
.une-identity-results {max-height:350px;overflow:auto}
.une-identity-row {display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,.6fr);gap:10px;padding:12px 4px;border-top:1px solid #29344a;overflow-wrap:anywhere}
.une-identity-row span,.une-identity-row small {display:block;color:#aebbd2;font-size:.78rem;margin-bottom:5px}
.une-identity-row strong {font-size:.9rem}
.une-identity-row code {color:#79dfbd;font-size:.85rem}
.une-identity-row details {grid-column:1/-1;font-size:.8rem}
.une-identity-row p {margin:8px 0}
@media(max-width:650px){.une-identity-row{grid-template-columns:1fr}.une-protection-form button{width:100%}}

.une-review-people {display:grid;gap:.6rem;max-height:240px;overflow:auto;margin:1rem 0;}
.une-review-people label {display:flex;align-items:center;gap:.6rem;}
.une-review-people input {width:auto;}
.une-advanced > summary {font-weight:600;}
.une-advanced .une-protection-details {margin-left:.8rem;}
.une-clarification {border:1px solid #6675ba;border-radius:14px;padding:1rem;margin:1rem 0;}
.une-clarification h2 {font-size:1.15rem;}
.une-clarification textarea {width:100%;}

.une-permission-row[hidden], [data-review-row][hidden] {display:none!important;}
.une-folder-review {border:1px solid #34465f;border-radius:14px;padding:1rem;margin:1rem 0;width:100%;}
.une-review-results {max-height:450px;overflow:auto;}
.une-review-results article {padding:1rem 0;border-bottom:1px solid #34465f;}
.une-review-results code,.une-review-results small {display:block;margin:.3rem 0;}
.une-review-actions {display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.6rem;}
.une-review-actions button,.une-review-actions select {background:#182334;color:#eef1ff;border:1px solid #43516b;border-radius:8px;padding:.55rem;cursor:pointer;}

.une-config-section {border:1px solid #34465f;border-radius:14px;margin:1rem 0;padding:1rem;width:100%;}
.une-config-section > summary {font-size:1.08rem;font-weight:700;cursor:pointer;}
.une-config-section[open] > summary {margin-bottom:1rem;}
.une-config-section .area-module-grid {margin-top:1rem;}
.une-folder-choice {display:grid;gap:.5rem;margin:1rem 0;}
.une-folder-choice select {width:100%;background:#101b2b;color:#edf1ff;border:1px solid #43516b;border-radius:10px;padding:.8rem;}
.une-permissions > .une-config-section {border:0;padding:0;}

.une-check-progress.is-checking {display:flex;align-items:center;gap:.65rem;}
.une-check-progress.is-checking::before {content:"";width:1.1rem;height:1.1rem;flex:none;border:3px solid #ffffff30;border-top-color:#8fa2ff;border-radius:50%;animation:une-check-spin .8s linear infinite;}
@keyframes une-check-spin {to {transform:rotate(360deg);}}
@media (prefers-reduced-motion:reduce) {.une-check-progress.is-checking::before {animation:none;}}

.une-folder-picker {border:1px solid #36445d;border-radius:12px;padding:14px 18px;background:#101a2b;}
.une-folder-picker > summary {cursor:pointer;font-weight:600;}
.une-folder-picker-search {display:block;margin:14px 0 10px;}
.une-folder-picker-search input {display:block;width:100%;padding:10px;border:1px solid #36445d;border-radius:8px;background:#0c1422;color:inherit;}
.une-folder-picker-options {max-height:320px;overflow-y:auto;}
.une-folder-picker-options label {display:flex;align-items:flex-start;gap:10px;padding:9px 5px;overflow-wrap:anywhere;cursor:pointer;}
.une-folder-picker-options input {flex:none;margin-top:5px;}
[data-folder-option][hidden], [data-folder-review-choice][hidden], #uneFolderAdvanced[hidden], #uneSelectedFolderReview[hidden] {display:none!important;}

/* Conversation-first layout, scoped to Quality only. */
body[data-module="quality"] .topbar {min-height:58px;padding:8px 20px;gap:12px;border-bottom:1px solid #ffffff0d;}
body[data-module="quality"] .brand-dot {width:22px;height:22px;}
body[data-module="quality"] .brand-copy {font-size:13px;}
body[data-module="quality"] .brand-copy small {font-size:10px;}
body[data-module="quality"] .runtime-badge {padding:5px 8px;font-size:9px;}
body[data-module="quality"] .module-nav button {padding:8px 14px;font-size:13px;border-radius:9px;}
body[data-module="quality"] .topbar .exit-app {min-height:34px;padding:7px 14px;font-size:13px;}
body[data-module="quality"] .screen--area {padding:12px 20px 16px;}
body[data-module="quality"] .area-shell {width:100%;max-width:none;}
body[data-module="quality"] .une-shell {grid-template-columns:220px minmax(0,1fr);gap:16px;}
body[data-module="quality"] .une-shell.is-sidebar-collapsed {grid-template-columns:68px minmax(0,1fr);gap:12px;}
body[data-module="quality"] .une-sidebar {padding:8px;gap:10px;top:10px;border-radius:12px;background:#0e1521;}
.une-sidebar-content {display:flex;flex-direction:column;gap:10px;min-height:0;}
.une-sidebar-content[hidden] {display:none!important;}
.une-sidebar-toggle,.une-sidebar-quick button {border:0;background:transparent;color:#c9d4e8;cursor:pointer;padding:10px 4px;border-radius:8px;}
.une-sidebar-toggle:hover,.une-sidebar-quick button:hover {background:#27314c;color:white;}
.une-sidebar-quick {display:none;}
.is-sidebar-collapsed .une-sidebar-quick {display:flex;flex-direction:column;gap:10px;}
.une-sidebar-quick button {font-size:22px;}
.une-sidebar-quick small {display:block;font-size:11px;}
body[data-module="quality"] .area-heading {margin:0 0 6px;}
body[data-module="quality"] .area-heading h1 {font-size:22px;line-height:1.2;}
body[data-module="quality"] .une-toolbar {margin:0 0 6px;}
body[data-module="quality"] .une-toolbar button {min-height:30px;padding:5px 12px;font-size:12px;}
.une-shell.is-chat-view .une-main {display:flex;flex-direction:column;height:calc(100dvh - 90px);min-height:560px;overflow:auto;}
.une-shell.is-chat-view .une-chat {flex:1;min-height:0;display:flex;}
.une-shell.is-chat-view .une-chat > .settings-card {display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;padding:6px;}
.une-shell.is-chat-view .une-conversation {flex:1;min-height:200px;max-height:none;overflow:auto;scrollbar-gutter:stable;}
.une-shell.is-chat-view .une-conversation article {padding:12px 16px;}
.une-shell.is-chat-view .une-chat textarea {min-height:64px;height:64px;max-height:180px;margin:5px 0;padding:10px;flex:none;}
.une-shell.is-chat-view .une-chat > .settings-card > details {flex:none;margin:3px 0;font-size:12px;}
.une-shell.is-chat-view #unePrepare {align-self:flex-end;min-height:36px;padding:7px 18px;margin:4px 0;}
.une-shell.is-chat-view #uneStatus {margin:4px 0;font-size:13px;}
#uneStatus.is-working {display:flex;gap:9px;align-items:center;color:#a6b6ff;}
#uneStatus.is-working::before {content:"";width:14px;height:14px;border:2px solid #ffffff25;border-top-color:#8fa2ff;border-radius:50%;animation:une-check-spin .8s linear infinite;}
@media(prefers-reduced-motion:reduce){#uneStatus.is-working::before {animation:none;}}
@media(max-width:760px){body[data-module="quality"] .topbar {padding:6px 10px;}body[data-module="quality"] .screen--area {padding:8px;}body[data-module="quality"] .runtime-badge {display:none;}body[data-module="quality"] .une-shell {grid-template-columns:180px minmax(0,1fr);}body[data-module="quality"] .une-shell.is-sidebar-collapsed {grid-template-columns:54px minmax(0,1fr);gap:6px;}.une-shell.is-chat-view .une-main {height:calc(100dvh - 130px);}body[data-module="quality"] .module-nav button {padding:6px;font-size:11px;}}

/* Shared compact navigation: identical tracks in all three modules. */
body[data-module] .topbar {display:grid;grid-template-columns:minmax(230px,1fr) auto 130px 120px 64px;align-items:center;min-height:58px;height:58px;padding:8px 20px;gap:12px;border-bottom:1px solid #ffffff0d;}
body[data-module] .topbar .brand {grid-column:1;grid-row:1;min-width:0;gap:10px;}
body[data-module] .topbar .brand-dot {width:22px;height:22px;flex-shrink:0;}
body[data-module] .topbar .brand-copy {font-size:13px;}
body[data-module] .topbar .brand-copy small {font-size:10px;}
body[data-module] .topbar .runtime-badge {padding:5px 8px;font-size:9px;}
body[data-module] .topbar .module-nav {grid-column:2;grid-row:1;display:grid;grid-template-columns:repeat(3,160px);gap:8px;}
body[data-module] .topbar .module-nav button {padding:8px 10px;font-size:13px;border-radius:9px;min-height:36px;white-space:nowrap;}
body[data-module] .topbar #localStatus {grid-column:3;grid-row:1;font-size:11px;}
body[data-module] .topbar #openAgent {grid-column:4;grid-row:1;font-size:12px;padding:7px 10px;min-height:34px;}
body[data-module] .topbar .exit-app {grid-column:5;grid-row:1;min-height:34px;padding:7px 10px;font-size:13px;}
.une-source-name {overflow-wrap:anywhere;}
@media(max-width:1200px){body[data-module] .topbar {grid-template-columns:minmax(170px,1fr) auto 64px;height:96px;min-height:96px;grid-template-rows:32px 36px;gap:6px 12px;}body[data-module] .topbar .module-nav {grid-row:2;grid-column:1 / -1;grid-template-columns:repeat(3,minmax(0,180px));justify-content:center;}body[data-module] .topbar #localStatus {display:none;}body[data-module] .topbar #openAgent {grid-row:1;grid-column:2;}body[data-module] .topbar .exit-app {grid-row:1;grid-column:3;}body[data-module] .topbar .runtime-badge {display:none;}.une-shell.is-chat-view .une-main {height:calc(100dvh - 124px);min-height:450px;}}
@media(max-width:760px){body[data-module] .topbar {padding:6px 10px;}body[data-module] .topbar .module-nav button {font-size:11px;padding:6px;}.une-shell.is-chat-view .une-main {height:calc(100dvh - 120px);}}
.une-shell.is-chat-view .une-chat > .settings-card {align-items:stretch;justify-content:flex-start;gap:4px;}
.une-shell.is-chat-view .une-conversation {width:100%;}
.une-compose-tools {display:flex;align-items:center;flex-wrap:wrap;gap:6px;}
.une-compose-tools button,.une-downloads button {font-size:12px;padding:6px 10px;min-height:30px;}
#uneInputStatus {font-size:12px;color:#aebbd2;}
.une-downloads {font-size:13px;margin:4px 0 8px;border:1px solid #34425b;border-radius:10px;padding:8px 12px;}
.une-download-list {max-height:160px;overflow:auto;}
.une-download-list>div {display:flex;gap:8px;align-items:center;padding:6px 0;border-bottom:1px solid #ffffff12;}
.une-download-list span {flex:1;min-width:0;overflow-wrap:anywhere;}
.une-downloads small {display:block;color:#aebbd2;margin-top:6px;}
.une-spelling,.une-attachment {font-size:12px;max-height:180px;overflow:auto;padding:6px;border:1px solid #34425b;border-radius:8px;}
.une-spelling>div {display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:4px;}
.une-spelling button {font-size:12px;padding:4px 8px;min-height:24px;}
.une-attachment img {max-width:200px;max-height:100px;object-fit:contain;}
.une-attachment summary button {float:right;background:transparent;color:inherit;border:0;cursor:pointer;}
#uneInputReview:empty,#uneAttachments:empty {display:none;}
#unePasteMenu {position:fixed;z-index:9999;display:flex;flex-direction:column;gap:4px;padding:6px;background:#172033;border:1px solid #536181;border-radius:10px;box-shadow:0 8px 30px #0008;min-width:200px;}
#unePasteMenu button {background:transparent;border:0;color:#f1f5ff;text-align:left;padding:10px;border-radius:6px;cursor:pointer;font:inherit;font-size:14px;}
#unePasteMenu button:hover,#unePasteMenu button:focus {background:#303958;}
/* Maximise the conversation; secondary panels open above it, not in its place. */
.une-shell.is-chat-view .une-main {min-height:0;overflow:visible;}
.une-chat-header {display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;position:relative;flex:none;margin-bottom:5px;}
.une-chat-header .area-heading,.une-chat-header .une-toolbar {margin:0!important;}
.une-chat-header .area-heading h1 {font-size:18px!important;}
.une-chat-header .une-downloads {margin:0 0 0 auto;background:#101827;}
.une-chat-header .une-downloads[open] {position:absolute;right:0;top:0;z-index:20;width:min(780px,100%);max-height:65dvh;overflow:auto;box-shadow:0 12px 30px #0009;}
.une-chat-header .une-download-list {max-height:45dvh;}
.une-shell.is-chat-view .une-chat > .settings-card {border:0;padding:0;gap:4px;}
.une-shell.is-chat-view .une-conversation {min-height:120px;overscroll-behavior:contain;}
.une-shell.is-chat-view label[for="uneQuestion"] {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
.une-composer {display:flex;align-items:center;gap:10px;flex:none;}
.une-shell.is-chat-view .une-composer textarea {flex:1;min-width:0;height:56px;min-height:56px;margin:0;}
.une-shell.is-chat-view .une-composer #unePrepare {align-self:center;margin:0;white-space:nowrap;}
.une-chat-footer {display:flex;align-items:center;flex-wrap:wrap;gap:6px 18px;position:relative;flex:none;font-size:12px;}
.une-chat-footer details {margin:0;}
.une-chat-footer details[open] {position:absolute;bottom:100%;right:0;z-index:15;background:#101827;border:1px solid #465776;border-radius:10px;padding:14px;width:min(760px,100%);max-height:50dvh;overflow:auto;box-shadow:0 -8px 30px #0008;}
.une-chat-footer details[open] details {position:static;width:auto;box-shadow:none;}
.une-chat-footer summary {cursor:pointer;}
.une-shell.is-chat-view #uneStatus:empty {display:none;}
.une-shell.is-chat-view #uneStatus {margin:0;font-size:12px;}
#uneBulkPermissions {margin:12px 0;}
#uneBulkPermissions[hidden] {display:none;}
.une-save-success {position:fixed;bottom:24px;right:24px;z-index:100;background:#153e34;color:#d6fff0;border:1px solid #56c99a;padding:14px 24px;border-radius:12px;box-shadow:0 8px 30px #0006;}
@media(max-width:760px){.une-chat-header .une-downloads {margin-left:0;}.une-composer {gap:5px;}.une-shell.is-chat-view .une-composer #unePrepare {padding:8px;font-size:12px;}}

/* Online technical conversations: full-height workspace, independent of Quality. */
body[data-module="technical"] .area-shell{max-width:none;width:100%}
body[data-module="technical"] .screen--area{padding:10px 20px}
.technical-chat{display:grid;grid-template-columns:240px minmax(0,1fr);gap:16px;height:calc(100dvh - 115px);min-height:420px}
.technical-chat.compact{grid-template-columns:56px minmax(0,1fr)}
.technical-sidebar{display:flex;flex-direction:column;gap:8px;overflow:auto;padding:5px;background:#101827;border-radius:12px}
.technical-history{display:flex;flex-direction:column;gap:8px}.technical-history button{text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.technical-chat.compact .technical-history,.technical-chat.compact .technical-sidebar span{display:none}
.technical-main{min-width:0;min-height:0;display:flex;flex-direction:column}.technical-main header{display:flex;gap:16px;align-items:start;flex-wrap:wrap}.technical-main h1{font-size:22px;margin:4px 0}.technical-main details{font-size:13px;max-width:75%}.technical-main summary{cursor:pointer}.technical-main header button{margin-left:auto}
.technical-messages{flex:1;overflow:auto;min-height:140px;overflow-wrap:anywhere;padding:12px}.technical-messages article{padding:16px;border:1px solid #33415a;border-radius:14px;margin:0 0 16px}.technical-messages p{line-height:1.65}.technical-messages table{border-collapse:collapse;width:100%}.technical-messages td,.technical-messages th{padding:10px;border:1px solid #33415a}
.technical-sources{display:flex;flex-direction:column;gap:8px;font-size:14px}.technical-sources a{color:#a4c6ff;text-decoration:underline}.technical-main form{display:flex;gap:12px;align-items:end}.technical-main textarea{flex:1;min-height:72px;max-height:180px;background:#101827;color:inherit;border:1px solid #42516c;border-radius:14px;padding:12px;font:inherit}.technical-main>p{margin:4px;font-size:13px;color:#edb965}
.technical-working span{display:inline-block;width:14px;height:14px;border:2px solid #596780;border-top-color:#8e80ff;border-radius:50%;animation:tech-spin 1s linear infinite}@keyframes tech-spin{to{transform:rotate(360deg)}}
@media(max-width:760px){.technical-chat{grid-template-columns:170px minmax(0,1fr)}.technical-main form{flex-wrap:wrap}.technical-main details{max-width:100%}.technical-chat{height:calc(100dvh - 140px)}}
.technical-input-tools{display:flex;align-items:center;gap:8px;padding-top:6px}.technical-input-tools button{padding:5px 12px;min-height:30px;font-size:12px}.technical-input-tools small{font-size:12px;color:#a8b5c9}
.technical-attachments{display:flex;gap:8px;flex-wrap:wrap;max-height:100px;overflow:auto}.technical-attachments>div{display:flex;align-items:center;max-width:100%}.technical-attachments button{padding:6px 10px;min-height:28px;font-size:12px}.technical-attachments>div>button:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#techAttachmentDialog{color:#e5eaf5;background:#101827;border:1px solid #465571;border-radius:16px;width:min(850px,92vw);max-height:88vh;overflow:auto;padding:24px}#techAttachmentDialog::backdrop{background:#000a}#techAttachmentDialog p{line-height:1.5}#techAttachmentDialog pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:55vh;overflow:auto}#techAttachmentDialog canvas{display:block;max-width:100%;height:auto;cursor:crosshair;touch-action:none;background:white}#techReviewClose{margin-top:12px}
#techInputMenu{position:fixed;z-index:20000;background:#152035;border:1px solid #52617a;border-radius:10px;padding:6px;box-shadow:0 8px 30px #0008;min-width:215px}#techInputMenu button{display:block;width:100%;border:0;border-radius:6px;background:transparent;color:#f1f4ff;text-align:left;padding:12px;font:inherit}#techInputMenu button:hover,#techInputMenu button:focus{background:#344365}
#techAttachmentDialog{overflow:hidden;padding:0}#techAttachmentReview{max-height:calc(88vh - 95px);overflow:auto;padding:20px}.technical-review-footer{display:flex;gap:10px;justify-content:flex-end;padding:14px 20px;border-top:1px solid #42516c;background:#101827}.technical-review-footer #techReviewClose{margin:0}.technical-review-footer button{font-size:14px;padding:10px 16px}
/* Welcome hub: scoped to the landing screen, existing workspaces unchanged. */
#homeView.screen--home{box-sizing:border-box;width:min(1320px,100%);min-height:calc(100dvh - 58px);height:auto;margin:0 auto;padding:48px 48px 24px;display:none;flex-direction:column;align-items:stretch;justify-content:center;text-align:left;gap:0;}
#homeView.screen--home.is-active{display:flex;}
.launch-hero{display:grid;grid-template-columns:1.3fr 1fr;align-items:center;gap:30px;margin-bottom:38px;}
.launch-eyebrow{display:flex;align-items:center;gap:10px;color:#9eaed0;font-size:10px;font-weight:750;letter-spacing:.2em;margin:0 0 22px;}
.launch-eyebrow>span{width:6px;height:6px;background:#80e8df;box-shadow:0 0 14px #62d9cf80;border-radius:50%;}
#homeTitle{font-size:clamp(36px,4.1vw,62px);line-height:1.08;letter-spacing:-.05em;font-weight:700;margin:0;color:#f2f5ff;}
#homeTitle em{font-style:normal;background:linear-gradient(105deg,#8cddf0,#b6a1ff 80%);background-clip:text;-webkit-background-clip:text;color:transparent;}
.launch-description{font-size:16px;line-height:1.7;color:#a4b0c7;margin:24px 0;}
.launch-caption{font-size:12px;color:#8594b0;}.launch-caption>span{color:#dbe5f9;margin-right:5px;}
.launch-instrument{position:relative;max-width:430px;width:100%;justify-self:end;text-align:center;isolation:isolate;}
.launch-instrument svg{display:block;position:relative;width:100%;filter:drop-shadow(0 18px 30px #0005);}
.launch-halo{position:absolute;inset:10%;background:radial-gradient(ellipse,#516dea35,transparent 70%);filter:blur(20px);z-index:-1;animation:launchBreathe 7s ease-in-out infinite alternate;}
.launch-instrument-caption{font-size:9px;letter-spacing:.24em;color:#7288ab;}
.launch-section-label{display:flex;justify-content:space-between;color:#7d8ba5;font-size:9px;font-weight:750;letter-spacing:.18em;margin-bottom:14px;}
.launch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.launch-card{--accent:#84c7fa;display:flex;flex-direction:column;text-align:left;color:#e8eefb;border:1px solid #ffffff14;border-radius:20px;padding:24px;background:linear-gradient(145deg,#142033aa,#0b101bcc);cursor:pointer;position:relative;overflow:hidden;transition:transform .2s,border-color .2s,background .2s;}
.launch-card--quality{--accent:#bda7ff;background:linear-gradient(145deg,#211c35aa,#0b101bcc);}.launch-card--technical{--accent:#78dcc9;background:linear-gradient(145deg,#142c2e99,#0b101bcc);}
.launch-card:hover{transform:translateY(-5px);border-color:var(--accent);background-color:#182137;}.launch-card:focus-visible{outline:3px solid var(--accent);outline-offset:4px;}
.launch-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px;}.launch-number{font-size:12px;letter-spacing:.12em;color:#6c7c96;}
.launch-icon{display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffff15;border-radius:13px;background:#ffffff05;color:var(--accent);}.launch-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;}
.launch-card-title{font-size:21px;font-weight:700;letter-spacing:-.025em;margin-bottom:12px;}.launch-card-text{color:#a7b3c8;font-size:14px;line-height:1.65;min-height:48px;}.launch-tags{color:#798aa6;font-size:11px;line-height:1.5;margin:18px 0 22px;}
.launch-card-action{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #ffffff0c;padding-top:16px;color:var(--accent);font-size:13px;font-weight:650;margin-top:auto;}.launch-card-action>span{font-size:20px;}
.launch-footer{display:flex;justify-content:space-between;gap:16px;font-size:10px;color:#697b98;margin-top:22px;line-height:1.6;}.launch-footer b{font-weight:400;padding:0 8px;}
body[data-module="home"] .topbar .module-nav{visibility:hidden;pointer-events:none;}
@keyframes launchBreathe{from{opacity:.55;transform:scale(.95)}to{opacity:1;transform:scale(1.12)}}
@media(max-width:1200px){#homeView.screen--home{min-height:calc(100dvh - 96px);padding:30px;}.launch-hero{margin-bottom:26px;}.launch-card{padding:20px;}.launch-card-title{font-size:19px;}body[data-module="home"] .topbar{height:58px;min-height:58px;grid-template-rows:32px;}body[data-module="home"] .topbar .module-nav{display:none;}}
@media(max-width:760px){#homeView.screen--home{padding:30px 20px;}.launch-hero{grid-template-columns:1fr;gap:14px;}.launch-instrument{display:none;}.launch-grid{grid-template-columns:1fr;}.launch-card-top{margin-bottom:12px;}.launch-card-text{min-height:0;}.launch-footer{flex-direction:column;gap:4px;}.launch-description br{display:none;}#homeTitle{font-size:38px;}}
@media(prefers-reduced-motion:reduce){.launch-halo{animation:none;}.launch-card{transition:none;}.launch-card:hover{transform:none;}}

@media(min-width:761px) and (max-height:900px){#homeView.screen--home{padding-top:24px;padding-bottom:18px;}.launch-hero{margin-bottom:22px;}.launch-instrument{max-width:310px;}.launch-description{margin:18px 0;font-size:15px;}.launch-eyebrow{margin-bottom:16px;}.launch-card{padding:20px;}.launch-card-top{margin-bottom:16px;}.launch-tags{margin:12px 0 16px;}.launch-footer{margin-top:16px;}}
