/* Driftslogg – tablet-first industrial UI */
:root {
  color-scheme: light;
  --page: #f4f4f1;
  --surface: #fcfcfb;
  --surface-2: #f0efec;
  --surface-3: #e7e6e1;
  --ink: #0b0b0b;
  --ink-2: #52514e;
  --muted: #7a7873;
  --grid: #e1e0d9;
  --axis: #c3c2b7;
  --border: rgba(11, 11, 11, 0.12);
  --border-strong: rgba(11, 11, 11, 0.22);
  --brand: #1f3a5f;
  --brand-ink: #ffffff;
  --accent: #2a78d6;
  --accent-ink: #ffffff;
  --accent-soft: #e3eefb;
  --good: #0ca30c;
  --good-ink: #006300;
  --warning: #fab219;
  --warning-ink: #8a5a00;
  --serious: #ec835a;
  --critical: #d03b3b;
  --critical-ink: #ffffff;
  --critical-soft: #fbe7e7;
  --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100;
  --s5: #e87ba4; --s6: #008300; --s7: #6250d6; --s8: #e34948;
  --other: #a8a69f;
  --seq-100: #cde2fb; --seq-700: #0d366b;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.05);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #0d0d0d; --surface: #1a1a19; --surface-2: #232321; --surface-3: #2c2c2a;
    --ink: #f0efec; --ink-2: #c3c2b7; --muted: #9a988f; --grid: #2c2c2a; --axis: #45453f;
    --border: rgba(255,255,255,0.10); --border-strong: rgba(255,255,255,0.22);
    --brand: #16283f; --accent: #3987e5; --accent-soft: #1b2b40;
    --good-ink: #0ca30c; --warning-ink: #fab219; --critical-soft: #3a1c1c;
    --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500;
    --s5: #d55181; --s6: #008300; --s7: #9085e9; --s8: #e66767; --other: #6b6a64;
    --seq-100: #1b2b40; --seq-700: #9ec5f4;
    --shadow: 0 1px 2px rgba(0,0,0,.4);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0d0d0d; --surface: #1a1a19; --surface-2: #232321; --surface-3: #2c2c2a;
  --ink: #f0efec; --ink-2: #c3c2b7; --muted: #9a988f; --grid: #2c2c2a; --axis: #45453f;
  --border: rgba(255,255,255,0.10); --border-strong: rgba(255,255,255,0.22);
  --brand: #16283f; --accent: #3987e5; --accent-soft: #1b2b40;
  --good-ink: #0ca30c; --warning-ink: #fab219; --critical-soft: #3a1c1c;
  --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500;
  --s5: #d55181; --s6: #008300; --s7: #9085e9; --s8: #e66767; --other: #6b6a64;
  --seq-100: #1b2b40; --seq-700: #9ec5f4;
  --shadow: 0 1px 2px rgba(0,0,0,.4);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); background: var(--page); color: var(--ink); font-size: 15px; line-height: 1.45; -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h1 { font-size: 22px; font-weight: 650; }
h2 { font-size: 17px; font-weight: 650; }
h3 { font-size: 14px; font-weight: 650; color: var(--ink-2); }
.boot { padding: 40px; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.num { font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }

/* ---------- top bar */
.topbar { position: sticky; top: 0; z-index: 30; background: var(--brand); color: var(--brand-ink); display: flex; align-items: center; gap: 12px; padding: 0 16px; min-height: 52px; }
.topbar .logo { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .2px; text-decoration: none; color: inherit; white-space: nowrap; }
.topbar .logo svg { width: 26px; height: 26px; }
.topbar .crumb { opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.topbar .spacer { flex: 1; }
.topbar .tb-btn { background: transparent; border: 1px solid rgba(255,255,255,.25); color: inherit; border-radius: 8px; padding: 6px 10px; cursor: pointer; white-space: nowrap; min-height: 36px; }
.topbar .tb-btn:hover { background: rgba(255,255,255,.1); }
.user-menu { position: relative; }
.menu-pop { position: absolute; right: 0; top: calc(100% + 6px); background: var(--surface); color: var(--ink); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 210px; padding: 6px; z-index: 40; }
.menu-pop button, .menu-pop a { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 10px 12px; border-radius: 6px; cursor: pointer; color: var(--ink); text-decoration: none; }
.menu-pop button:hover, .menu-pop a:hover { background: var(--surface-2); }
.menu-pop .menu-head { padding: 8px 12px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--border); margin-bottom: 4px; }

/* ---------- tabs */
.tabs { position: sticky; top: 52px; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--border); display: flex; overflow-x: auto; scrollbar-width: none; padding: 0 8px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { display: flex; align-items: center; gap: 6px; padding: 14px 14px 12px; text-decoration: none; color: var(--ink-2); border-bottom: 3px solid transparent; white-space: nowrap; font-weight: 550; }
.tabs a:hover { color: var(--ink); }
.tabs a.active { color: var(--ink); border-bottom-color: var(--accent); }
.badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; font-size: 12px; font-weight: 700; background: var(--surface-3); color: var(--ink); }
.badge.red { background: var(--critical); color: #fff; }
.badge.blue { background: var(--accent); color: #fff; }

/* ---------- layout */
.page { max-width: 1400px; margin: 0 auto; padding: 20px 16px 80px; }
.page-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.page-head .spacer { flex: 1; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.card + .card { margin-top: 16px; }
.card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.card-head .spacer { flex: 1; }
.card-sub { color: var(--muted); font-size: 13px; margin-top: 2px; }
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.section-title { margin: 28px 0 10px; display: flex; align-items: center; gap: 10px; }
.stack > * + * { margin-top: 12px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.end { justify-content: flex-end; }

/* ---------- buttons & inputs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; font-weight: 600; text-decoration: none; color: var(--ink); white-space: nowrap; user-select: none; }
.btn:hover { background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.07); }
.btn.danger { background: var(--critical); border-color: var(--critical); color: #fff; }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--surface-2); }
.btn.sm { min-height: 34px; padding: 0 10px; font-size: 13px; }
.btn.icon { padding: 0; width: 40px; min-height: 40px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.big-stop { width: 100%; min-height: 120px; font-size: 30px; font-weight: 800; letter-spacing: 1px; background: var(--critical); color: #fff; border: 0; border-radius: 14px; cursor: pointer; box-shadow: 0 6px 18px rgba(208,59,59,.28); display: flex; align-items: center; justify-content: center; gap: 16px; }
.big-stop:active { transform: scale(.99); }
.big-stop svg { width: 40px; height: 40px; }
.big-cycle { width: 100%; min-height: 160px; font-size: 40px; font-weight: 800; letter-spacing: 2px; background: var(--accent); color: #fff; border: 0; border-radius: 16px; cursor: pointer; box-shadow: 0 6px 18px rgba(42,120,214,.3); }
.big-cycle:active { transform: scale(.99); filter: brightness(.95); }
.big-cycle small { display: block; font-size: 14px; font-weight: 500; letter-spacing: 0; opacity: .85; margin-top: 4px; }

label.field { display: block; }
label.field > span, .field-label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
input[type=text], input[type=password], input[type=number], input[type=datetime-local], input[type=search], select, textarea {
  width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); }
textarea { min-height: 70px; resize: vertical; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, .tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
.hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.check input { width: 22px; height: 22px; }

/* segmented control */
.seg { display: inline-flex; border: 1px solid var(--border-strong); border-radius: 8px; overflow: hidden; flex-wrap: wrap; }
.seg button { border: 0; background: var(--surface); padding: 0 14px; min-height: 42px; cursor: pointer; border-right: 1px solid var(--border); font-weight: 550; }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed=true] { background: var(--accent); color: #fff; }

/* tiles */
.tiles { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.tile { min-height: 56px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; text-align: left; font-weight: 600; display: flex; flex-direction: column; justify-content: center; line-height: 1.25; overflow-wrap: anywhere; hyphens: auto; }
.tile small { font-weight: 450; color: var(--muted); font-size: 12px; }
.tile:hover { background: var(--surface-2); }
.tile[aria-pressed=true] { background: var(--accent); border-color: var(--accent); color: #fff; }
.tile[aria-pressed=true] small { color: rgba(255,255,255,.85); }
.tile-group-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin: 12px 0 6px; display: flex; align-items: center; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex: none; }

/* ---------- stop cards */
.ongoing-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.stop-card { background: var(--critical-soft); border: 1px solid color-mix(in srgb, var(--critical) 40%, transparent); border-left: 6px solid var(--critical); border-radius: var(--radius); padding: 14px 16px; }
.stop-card .timer { font-size: 38px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stop-card .meta { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.stop-card .what { margin: 10px 0; font-weight: 600; }
.stop-card .what .missing { color: var(--critical); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 6px; background: var(--surface-2); font-size: 13px; font-weight: 550; border: 1px solid var(--border); }
.status-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); white-space: nowrap; }
.status-pill.good { color: var(--good-ink); }
.status-pill.bad { color: var(--critical); }
.status-pill.warn { color: var(--warning-ink); }
.status-pill svg { width: 14px; height: 14px; }

/* ---------- tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); font-weight: 650; padding: 10px 12px; border-bottom: 1px solid var(--border); background: var(--surface-2); white-space: nowrap; position: sticky; top: 0; }
.tbl td { padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl tr.clickable { cursor: pointer; }
.tbl tr.clickable:hover td { background: var(--surface-2); }
.tbl td .comment-input { min-height: 36px; padding: 4px 8px; }
.tbl .flag td { background: color-mix(in srgb, var(--critical) 9%, transparent); }
.empty { padding: 28px; text-align: center; color: var(--muted); }

/* ---------- KPI tiles */
.kpis { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; min-height: 104px; display: flex; flex-direction: column; }
.kpi .label { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.kpi .value { font-size: 30px; font-weight: 700; margin-top: 4px; line-height: 1.1; }
.kpi .value.dim { color: var(--muted); }
.kpi .sub { font-size: 12.5px; color: var(--muted); margin-top: auto; padding-top: 6px; }
.kpi.hero { grid-column: span 2; }
.kpi.hero .value { font-size: 44px; }
.meter { height: 6px; border-radius: 3px; background: var(--surface-3); margin-top: 8px; position: relative; overflow: visible; }
.meter > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--accent); }
.meter > b { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); }
@media (max-width: 520px) { .kpi.hero { grid-column: span 1; } }

/* ---------- filters bar */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 12px; margin-bottom: 16px; }
.filters select, .filters input { width: auto; min-height: 40px; }
.filters .spacer { flex: 1; }

/* ---------- alerts */
.alert { border-radius: var(--radius); padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; border: 1px solid var(--border); background: var(--surface); }
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.alert.warn { border-color: color-mix(in srgb, var(--warning) 60%, transparent); background: color-mix(in srgb, var(--warning) 12%, var(--surface)); }
.alert.warn svg { color: var(--warning-ink); }
.alert.bad { border-color: color-mix(in srgb, var(--critical) 50%, transparent); background: var(--critical-soft); }
.alert.bad svg { color: var(--critical); }
.alert.info svg { color: var(--accent); }

/* ---------- project cards */
.proj-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.proj-card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.proj-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.proj-card h2 { margin-bottom: 4px; }
.proj-card .row { margin-top: 12px; gap: 6px; }

/* ---------- cycle display */
.cycle-display { text-align: center; padding: 8px 0 14px; }
.cycle-display .now { font-size: clamp(56px, 12vw, 104px); font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; letter-spacing: -1px; }
.cycle-display .now.over { color: var(--critical); }
.cycle-display .lbl { font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); font-weight: 650; margin-bottom: 6px; }
.cycle-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin-top: 14px; }
.cycle-stats > div { background: var(--surface-2); border-radius: 8px; padding: 10px 12px; }
.cycle-stats .l { font-size: 12px; color: var(--muted); font-weight: 600; }
.cycle-stats .v { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stepper { display: flex; align-items: stretch; gap: 8px; }
.stepper input { text-align: center; font-size: 26px; font-weight: 700; min-height: 56px; }
.stepper .btn { min-width: 56px; min-height: 56px; font-size: 24px; }

/* ---------- modal */
.modal-back { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px 12px; }
.modal { background: var(--surface); border-radius: 14px; width: 100%; max-width: 760px; box-shadow: 0 20px 60px rgba(0,0,0,.3); display: flex; flex-direction: column; margin: auto 0; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); }
.modal.wide { max-width: 980px; }
.modal-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.modal-head h2 { flex: 1; }
.modal-body { padding: 16px 18px; overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; padding: 14px 18px; border-top: 1px solid var(--border); background: var(--surface); border-radius: 0 0 14px 14px; }
.modal-foot .left { margin-right: auto; }

/* ---------- toasts */
#toasts { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: min(92vw, 520px); }
.toast { background: #222; color: #fff; padding: 12px 16px; border-radius: 10px; box-shadow: 0 6px 20px rgba(0,0,0,.25); font-weight: 550; pointer-events: auto; }
.toast.err { background: var(--critical); }
.toast.ok { background: #1d6b34; }

/* ---------- login */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; background: var(--brand); }
.login-card { background: var(--surface); border-radius: 16px; padding: 28px; width: 100%; max-width: 400px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.login-card .logo-big { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.login-card .logo-big svg { width: 40px; height: 40px; }
.login-card .err { color: var(--critical); font-weight: 600; min-height: 22px; margin-top: 10px; }

/* ---------- charts */
.chart { width: 100%; position: relative; }
.chart svg { display: block; overflow: visible; }
.chart text { font-family: var(--font); font-size: 12px; fill: var(--ink-2); }
.chart .axis-text { fill: var(--muted); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.chart .value-text { fill: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.chart .label-text { fill: var(--ink-2); }
.chart .grid-line { stroke: var(--grid); stroke-width: 1; }
.chart .base-line { stroke: var(--axis); stroke-width: 1; }
.chart .ref-line { stroke: var(--ink-2); stroke-width: 1.5; stroke-dasharray: 5 4; }
.chart .ref-text { fill: var(--ink-2); font-size: 11.5px; font-weight: 600; }
.chart .hit { fill: transparent; cursor: pointer; }
.chart .cross { stroke: var(--muted); stroke-width: 1; }
.chart-empty { padding: 34px 10px; text-align: center; color: var(--muted); font-size: 14px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ink-2); margin: 2px 0 10px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-tip { position: fixed; z-index: 300; pointer-events: none; background: var(--surface); color: var(--ink); border: 1px solid var(--border-strong); border-radius: 8px; padding: 8px 10px; font-size: 13px; box-shadow: 0 6px 22px rgba(0,0,0,.18); max-width: 300px; display: none; line-height: 1.4; }
.chart-tip b { font-weight: 650; }
.chart-tip .tip-row { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.chart-tip .tip-row span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }

.heat-table { border-collapse: separate; border-spacing: 2px; font-size: 13px; width: 100%; }
.heat-table th { font-weight: 600; color: var(--ink-2); text-align: left; padding: 4px 6px; white-space: nowrap; }
.heat-table th.col { text-align: center; font-size: 12px; white-space: normal; vertical-align: bottom; min-width: 64px; }
.heat-table td { text-align: center; padding: 8px 4px; border-radius: 4px; font-variant-numeric: tabular-nums; font-weight: 600; min-width: 64px; }

@media (max-width: 700px) {
  .page { padding: 14px 10px 80px; }
  .topbar .crumb { display: none; }
  h1 { font-size: 19px; }
  .big-stop { min-height: 96px; font-size: 24px; }
}
@media print {
  .topbar, .tabs, .filters, .btn, #toasts { display: none !important; }
  .page { padding: 0; max-width: none; }
  .card { break-inside: avoid; }
}
.tbl td.num { white-space: nowrap; }

.tile-groups { display: flex; flex-wrap: wrap; gap: 0 18px; }
.tile-groups > .tile-group { flex: 1 1 auto; min-width: 150px; }
.tile-groups .tiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
@media (max-width: 700px) { .modal-back { padding: 0; align-items: stretch; } .modal { max-height: 100dvh; border-radius: 0; } .modal-foot { border-radius: 0; } }
.grid > .card + .card, .grid > div > .card:first-child { margin-top: 0; }

/* ===================================================== v2 additions */
/* ---------- network status */
.net-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.15); white-space: nowrap; }
.net-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fab219; }
.net-status.offline { background: #d03b3b; color: #fff; }
.net-status.offline::before { background: #fff; }
.toast.warn { background: #8a5a00; }
.pending-chip { background: color-mix(in srgb, var(--warning) 22%, var(--surface)); border-color: color-mix(in srgb, var(--warning) 60%, transparent); color: var(--ink); font-size: 12px; white-space: nowrap; }

/* ---------- compact stop editor */
.stop-editor { display: flex; flex-direction: column; gap: 14px; }
.stop-editor section { display: flex; flex-direction: column; gap: 8px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sec-head .field-label { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 750; }
.add-btn { color: var(--accent); }
.search-wrap { position: relative; }
.search-wrap > span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-wrap svg { width: 18px; height: 18px; }
.search-wrap input { padding-left: 40px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip-label { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; margin: 0 2px 0 6px; white-space: nowrap; }
.chip-row .chip-label:first-child, .recent-row .chip-label:first-child { margin-left: 0; }
.chip-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; font-weight: 600; font-size: 14px; line-height: 1.2; text-align: left; color: var(--ink); }
.chip-btn:hover { background: var(--surface-2); }
.chip-btn[aria-pressed=true] { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip-btn[aria-pressed=true] .dot { outline: 2px solid #fff; }
.chip-btn .dot { flex: none; }
.reason-grid { display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.reason-grid .chip-btn { width: 100%; }
.recent-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 8px; border-radius: 10px; background: var(--accent-soft); }
.recent-row:empty { display: none; }
.planned-row { padding-top: 4px; border-top: 1px dashed var(--border); }
.planned-row:empty { display: none; }
.inline-add { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px; border: 1px dashed var(--accent); border-radius: 10px; background: var(--accent-soft); }
.inline-add input, .inline-add select { width: auto; flex: 1 1 160px; min-height: 40px; }
.times-row { display: grid; gap: 10px; grid-template-columns: 1fr 1fr 120px; }
.bottom-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; padding-top: 10px; border-top: 1px solid var(--border); }
.live-mini { font-variant-numeric: tabular-nums; color: var(--critical); font-weight: 750; margin-left: 6px; }
.modal-head h2 { display: flex; align-items: baseline; flex-wrap: wrap; }

/* ---------- SAT card */
.sat-card .sat-main { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 4px 0 12px; }
.sat-hours .big { font-size: 34px; font-weight: 750; font-variant-numeric: tabular-nums; }
.sat-bar { flex: 1; min-width: 200px; height: 22px; border-radius: 11px; background: var(--surface-3); position: relative; overflow: hidden; }
.sat-bar i { position: absolute; inset: 0 auto 0 0; background: var(--accent); border-radius: 11px; }
.sat-passed .sat-bar i { background: var(--good); }
.sat-failed .sat-bar i, .sat-broken .sat-bar i { background: var(--critical); }
.sat-bar span { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 700; color: var(--ink); }
.sat-stats { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.sat-stats > div { background: var(--surface-2); border-radius: 8px; padding: 10px 12px; }
.sat-stats .l { font-size: 12px; color: var(--muted); font-weight: 600; }
.sat-stats .v { font-size: 18px; font-weight: 700; display: flex; align-items: center; flex-wrap: wrap; }
.sat-card .alert { margin: 12px 0 0; }
.sat-restarts { margin-top: 12px; font-size: 14px; }
.sat-restarts summary { cursor: pointer; font-weight: 650; color: var(--ink-2); }
.sat-restarts ul { margin: 8px 0 0; padding-left: 20px; }
.form-section { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--border); }

/* ---------- filter toggle (mobile) */
.filter-toggle { display: none; }

/* ---------- bottom nav (mobile) */
.bottom-nav { display: none; }

/* ---------- report */
.report-scroll { overflow-x: auto; padding-bottom: 20px; }
.report {
  --surface: #ffffff; --surface-2: #f3f3f0; --surface-3: #e7e6e1; --ink: #0b0b0b; --ink-2: #52514e; --muted: #77756f;
  --grid: #e4e3dc; --axis: #c3c2b7; --border: rgba(11,11,11,.14); --border-strong: rgba(11,11,11,.25);
  --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100; --s5: #e87ba4; --s6: #008300; --s7: #6250d6; --s8: #e34948; --other: #a8a69f;
  --good-ink: #006300; --critical: #d03b3b;
  color-scheme: light; background: #fff; color: #0b0b0b; width: 794px; margin: 0 auto; padding: 36px 40px; box-shadow: 0 2px 16px rgba(0,0,0,.12); border-radius: 4px; font-size: 13px;
}
.r-head { display: flex; justify-content: space-between; gap: 20px; border-bottom: 3px solid #1f3a5f; padding-bottom: 14px; margin-bottom: 18px; }
.r-kicker { font-size: 12px; font-weight: 750; letter-spacing: 1.2px; text-transform: uppercase; color: #1f3a5f; }
.r-head h1 { font-size: 24px; margin: 2px 0 4px; }
.r-meta { color: var(--ink-2); font-size: 12.5px; }
.r-meta.right { text-align: right; white-space: nowrap; }
.r-verdict { display: flex; gap: 18px; align-items: stretch; margin-bottom: 14px; }
.r-verdict-box { flex: none; width: 170px; border-radius: 8px; padding: 14px; background: var(--surface-2); border: 2px solid var(--border-strong); display: flex; flex-direction: column; justify-content: center; }
.r-verdict-box .l { font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); }
.r-verdict-box .v { font-size: 24px; font-weight: 800; margin: 4px 0; }
.r-passed .r-verdict-box { border-color: #0ca30c; background: #e9f7e9; }
.r-passed .r-verdict-box .v { color: #006300; }
.r-failed .r-verdict-box, .r-broken .r-verdict-box { border-color: #d03b3b; background: #fbe7e7; }
.r-failed .r-verdict-box .v, .r-broken .r-verdict-box .v { color: #b02a2a; }
.r-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.r-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); border-bottom: 1.5px solid var(--axis); padding: 6px 8px; }
.r-table td { border-bottom: 1px solid var(--grid); padding: 6px 8px; vertical-align: top; }
.r-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.r-table .status-pill { font-size: 11.5px; padding: 1px 8px; }
.r-log td { font-size: 11.5px; padding: 4px 6px; }
.r-sec { margin: 0 0 18px; break-inside: avoid; page-break-inside: avoid; }
.r-sec h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .5px; color: #1f3a5f; margin: 0 0 8px; padding-bottom: 4px; border-bottom: 1px solid var(--grid); }
.r-sec:has(.r-log) { break-inside: auto; page-break-inside: auto; }
.r-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--grid); border: 1px solid var(--grid); }
.r-kpis > div { background: #fff; padding: 8px 10px; }
.r-kpis .l { font-size: 11px; color: var(--muted); font-weight: 600; }
.r-kpis .v { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.r-notes { width: 100%; min-height: 90px; background: #fff; color: #0b0b0b; }
.r-notes-print { display: none; white-space: pre-wrap; min-height: 60px; border: 1px solid var(--grid); padding: 8px; }
.r-sig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.r-sig h3 { font-size: 13px; color: var(--ink); margin: 0 0 6px; }
.r-sig .line { border-bottom: 1px solid #555; padding-top: 22px; font-size: 10.5px; color: var(--muted); }
.r-sig .line.tall { padding-top: 40px; }
.r-foot { margin-top: 24px; padding-top: 8px; border-top: 1px solid var(--grid); color: var(--muted); font-size: 11px; text-align: center; }

@media print {
  @page { size: A4; margin: 12mm; }
  html, body { background: #fff !important; }
  .topbar, .tabs, .bottom-nav, .report-controls, .page-head, #toasts, .net-status, .modal-back { display: none !important; }
  .page.report-page { padding: 0 !important; max-width: none !important; }
  .report-scroll { overflow: visible; padding: 0; }
  .report { box-shadow: none; width: auto; padding: 0; border-radius: 0; }
  .r-notes { display: none; }
  .r-notes-print { display: block; }
  .r-notes-print.empty { min-height: 80px; }
  .chart-tip { display: none !important; }
}

/* ---------- andon */
body.andon-mode { background: #0b0f15; color: #f0efec; color-scheme: dark; overflow-x: hidden; }
body.andon-mode #app {
  --surface: #121821; --surface-2: #1a222d; --surface-3: #263040; --ink: #f0efec; --ink-2: #c3c2b7; --muted: #8d939c; --grid: #222b37; --axis: #3a4554;
  --s1: #3987e5; --s7: #9085e9; --other: #6b6a64;
}
.an-head { display: flex; align-items: center; gap: 14px; padding: 12px 20px; background: #121821; border-bottom: 1px solid #222b37; }
.an-title { display: flex; align-items: center; gap: 12px; font-size: clamp(18px, 2.2vw, 30px); font-weight: 700; flex: 1; min-width: 0; }
.an-title span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-title svg { width: 34px; height: 34px; }
.an-clock { font-size: clamp(20px, 2.4vw, 34px); font-weight: 700; }
.an-btn { background: transparent; color: #c3c2b7; border: 1px solid #3a4554; border-radius: 8px; padding: 8px 12px; cursor: pointer; text-decoration: none; font-size: 14px; }
.an-body { padding: 18px 20px 30px; display: flex; flex-direction: column; gap: 18px; }
.an-loading { color: #8d939c; padding: 40px; font-size: 20px; }
.an-status { border-radius: 16px; padding: 20px 26px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.an-status.run { background: linear-gradient(135deg, #0c6b2c, #0ca30c); }
.an-status.stop { background: linear-gradient(135deg, #8f1d1d, #d03b3b); animation: an-pulse 2s ease-in-out infinite; }
@keyframes an-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(208,59,59,.5); } 50% { box-shadow: 0 0 0 10px rgba(208,59,59,0); } }
.an-status-label { font-size: clamp(42px, 7vw, 110px); font-weight: 900; letter-spacing: 2px; line-height: 1; color: #fff; }
.an-since { font-size: clamp(18px, 2.4vw, 34px); color: rgba(255,255,255,.9); font-weight: 600; }
.an-stops { display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 260px; }
.an-stop { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(0,0,0,.22); border-radius: 12px; padding: 10px 16px; }
.an-stop-what { display: flex; flex-direction: column; color: #fff; }
.an-stop-what b { font-size: clamp(20px, 2.6vw, 38px); }
.an-stop-what span { font-size: clamp(14px, 1.6vw, 22px); opacity: .9; }
.an-stop-timer { font-size: clamp(32px, 4.6vw, 70px); font-weight: 800; color: #fff; }
.an-kpis { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.an-kpi { background: #121821; border: 1px solid #222b37; border-radius: 14px; padding: 16px 18px; border-top: 5px solid #3a4554; }
.an-kpi.ok { border-top-color: #0ca30c; }
.an-kpi.low { border-top-color: #d03b3b; }
.an-kpi .l { font-size: clamp(13px, 1.3vw, 18px); color: #8d939c; font-weight: 650; }
.an-kpi .v { font-size: clamp(34px, 4.4vw, 66px); font-weight: 800; line-height: 1.1; margin-top: 4px; }
.an-kpi .s { font-size: clamp(12px, 1.2vw, 16px); color: #8d939c; margin-top: 4px; }
.an-lower { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.an-panel { background: #121821; border: 1px solid #222b37; border-radius: 14px; padding: 16px 18px; }
.an-panel .chart text { font-size: 14px; }
.an-panel-title { font-size: clamp(14px, 1.4vw, 20px); font-weight: 700; color: #c3c2b7; margin-bottom: 10px; display: flex; justify-content: space-between; gap: 10px; }
.an-sat-status { font-size: 14px; padding: 2px 10px; border-radius: 999px; background: #263040; }
.an-sat-passed .an-sat-status { background: #0ca30c; color: #fff; }
.an-sat-failed .an-sat-status, .an-sat-broken .an-sat-status { background: #d03b3b; color: #fff; }
.an-sat-hours { font-size: clamp(36px, 4.4vw, 64px); font-weight: 800; }
.an-sat-hours small { font-size: .45em; color: #8d939c; font-weight: 600; }
.an-sat-bar { height: 18px; border-radius: 9px; background: #263040; overflow: hidden; margin: 8px 0; }
.an-sat-bar i { display: block; height: 100%; background: #3987e5; border-radius: 9px; }
.an-sat-passed .an-sat-bar i { background: #0ca30c; }
.an-sat-sub { color: #8d939c; font-size: clamp(13px, 1.2vw, 17px); }
body.andon-mode .net-status { background: #d03b3b; color: #fff; }

/* ---------- responsive tables → cards */
.tbl td.ellipsis { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===================================================== phone */
@media (max-width: 700px) {
  input[type=text], input[type=password], input[type=number], input[type=datetime-local], input[type=search], select, textarea { font-size: 16px; }
  .page { padding-bottom: 96px; }
  .tabs { display: none; }
  .bottom-nav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--border); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(0,0,0,.08); }
  .bottom-nav > a, .bottom-nav > button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; color: var(--muted); text-decoration: none; font-size: 11.5px; font-weight: 650; background: none; border: 0; cursor: pointer; position: relative; border-radius: 8px; }
  .bottom-nav svg { width: 24px; height: 24px; }
  .bottom-nav .active { color: var(--accent); background: var(--accent-soft); }
  .bn-badge { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--critical); color: #fff; font-size: 11px; font-style: normal; font-weight: 750; display: flex; align-items: center; justify-content: center; }
  .bn-menu { position: absolute; right: 8px; bottom: calc(100% + 6px); top: auto; }
  .page-head { gap: 8px; }
  .page-head .btn { flex: 1 1 auto; }

  .filters.collapsible > *:not(.filter-toggle) { display: none; }
  .filters.collapsible.open > *:not(.filter-toggle):not(.spacer) { display: flex; }
  .filters.collapsible.open > .hidden { display: none !important; }
  .filters.collapsible.open select, .filters.collapsible.open input[type=datetime-local] { width: 100%; }
  .filter-toggle { display: inline-flex; width: 100%; }

  .table-wrap.resp { border: 0; background: transparent; overflow: visible; }
  .table-wrap.resp table, .table-wrap.resp tbody, .table-wrap.resp tr, .table-wrap.resp td { display: block; width: 100%; }
  .table-wrap.resp thead { display: none; }
  .table-wrap.resp tr { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; margin-bottom: 8px; }
  .table-wrap.resp tr.flag { border-left: 4px solid var(--critical); }
  .table-wrap.resp td { border: 0; padding: 3px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; max-width: none; white-space: normal; }
  .table-wrap.resp td::before { content: attr(data-label); color: var(--muted); font-size: 12.5px; font-weight: 600; text-align: left; flex: none; }
  .table-wrap.resp td[data-label=""]::before, .table-wrap.resp td:empty { display: none; }
  .table-wrap.resp tr { display: flex; flex-direction: column; }
  .table-wrap.resp td.card-title { order: -1; font-size: 16px; font-weight: 700; justify-content: flex-start; text-align: left; padding-bottom: 4px; }
  .table-wrap.resp td.card-title::before { display: none; }
  .table-wrap.resp td { padding: 2px 0; font-size: 14px; }
  .table-wrap.resp td .comment-input { width: 60%; }
  .tbl .flag td { background: transparent; }
  .table-wrap.resp td.hide-sm, .hide-sm { display: none !important; }
  .sat-stats { grid-template-columns: 1fr 1fr; }
  .sat-stats .v { font-size: 16px; }
  .recent-row .chip-btn:nth-of-type(n+5) { display: none; }
  .chip-label { margin-left: 2px; }

  .times-row { grid-template-columns: 1fr 1fr; }
  .times-row > :last-child { grid-column: 1 / -1; }
  .reason-grid { grid-template-columns: 1fr 1fr; }
  .chip-btn { font-size: 14px; padding: 6px 10px; }
  .bottom-row .seg { width: 100%; }
  .bottom-row .seg button { flex: 1; padding: 0 6px; }
  .sat-hours .big { font-size: 28px; }
  .big-cycle { min-height: 42vh; font-size: 44px; }
  .cycle-display .now { font-size: 64px; }
  .stop-card .timer { font-size: 32px; }
  .net-status { font-size: 11.5px; padding: 3px 8px; }
  .topbar .logo span { display: none; }
  .an-head { flex-wrap: wrap; }
  .an-status { padding: 16px; }
}

/* ---------- version / copyright */
.app-foot { text-align: center; color: var(--muted); font-size: 12px; padding: 0 16px 24px; margin-top: -48px; }
.menu-pop .menu-foot { padding: 8px 12px 4px; font-size: 11.5px; color: var(--muted); border-top: 1px solid var(--border); margin-top: 4px; }
.update-bar { position: fixed; left: 50%; transform: translateX(-50%); top: 60px; z-index: 150; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
  background: var(--accent); color: #fff; padding: 10px 14px; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.25); font-weight: 600; max-width: calc(100vw - 24px); }
.update-bar .btn { background: #fff; color: var(--accent); border-color: #fff; }
.an-version { color: #6b7280; font-size: 12px; white-space: nowrap; }
@media (max-width: 700px) { .app-foot { margin-top: -90px; padding-bottom: 96px; } .update-bar { top: auto; bottom: 84px; } .an-version { display: none; } }
@media print { .app-foot, .update-bar { display: none !important; } }

/* ===================================================== v2.2 additions */
.info-btn { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); background: transparent;
  font: italic 700 12px/1 Georgia, 'Times New Roman', serif; cursor: pointer; padding: 0; flex: none; vertical-align: middle; }
.info-btn:hover, .info-btn:focus-visible { background: var(--accent); color: #fff; }
.info-pop { position: fixed; z-index: 400; background: var(--surface); color: var(--ink); border: 1px solid var(--border-strong); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.22);
  padding: 12px 14px; font-size: 13.5px; line-height: 1.5; }
.info-pop b { font-weight: 700; }
.field-label-row { display: flex !important; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.kpi .label { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.calc-box { background: var(--accent-soft); border-radius: 8px; padding: 10px 12px; font-size: 13.5px; line-height: 1.55; color: var(--ink); }
.calc-box .calc-main { font-size: 14.5px; }
.calc-box .muted { color: var(--ink-2); }
.dev-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.seg-sm button { min-height: 44px; }
.input-with-unit { position: relative; flex: 1; min-width: 140px; max-width: 220px; }
.input-with-unit input { padding-right: 36px; }
.input-unit { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }
.check.full { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.lang-switch button { border: 1px solid var(--border-strong); background: var(--surface); border-radius: 8px; padding: 6px 14px; cursor: pointer; font-weight: 600; color: var(--ink-2); }
.lang-switch button[aria-pressed=true] { background: var(--accent); border-color: var(--accent); color: #fff; }

/* machine state */
.state-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.state-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; border: 1px solid var(--border); background: var(--surface); }
.state-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.state-since { font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.state-run { color: var(--good-ink); } .state-run .state-dot { background: var(--good); }
.state-stop { color: var(--critical); } .state-stop .state-dot { background: var(--critical); animation: dot-pulse 1.2s infinite; }
.state-pause { color: var(--warning-ink); } .state-pause .state-dot { background: var(--warning); }
.state-changeover { color: var(--accent); } .state-changeover .state-dot { background: var(--accent); }
.state-idle { color: var(--ink-2); }
@keyframes dot-pulse { 50% { opacity: .3; } }

/* andon states */
.an-status { position: relative; }
.an-status.pause { background: linear-gradient(135deg, #8a5a00, #e0a100); }
.an-status.changeover { background: linear-gradient(135deg, #184f95, #2a78d6); }
.an-status.idle { background: linear-gradient(135deg, #2a323e, #3d4757); }
.an-status.idle .an-status-label { color: #d6dae0; }
.an-hint { font-size: clamp(14px, 1.6vw, 22px); opacity: .85; margin-top: 6px; }
.an-sat-badge { position: absolute; top: 12px; right: 16px; background: #fff; color: #0c6b2c; font-weight: 800; border-radius: 999px; padding: 6px 14px; font-size: clamp(14px, 1.4vw, 20px); }
.an-btn-start { background: #0ca30c; border-color: #0ca30c; color: #fff; font-weight: 700; }
.an-btn-end { background: transparent; border-color: #d03b3b; color: #ff9b9b; font-weight: 700; }
