/* Pinpoint HR — spruce shell, cobalt actions, marigold for "you are here". */
:root {
  --spruce: #0c2a2c;
  --spruce-2: #14393c;
  --spruce-3: #1d4b4e;
  --mist: #edf2f0;
  --paper: #ffffff;
  --line: #d8e3e0;
  --ink: #10201f;
  --muted: #5b716e;
  --cobalt: #2e4bf2;
  --cobalt-d: #2038c4;
  --marigold: #ffb21e;
  --ok: #12996a;
  --warn: #d98400;
  --bad: #d23b3b;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 26px;
  --f-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'Figtree', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--f-body); font-size: 15.5px; line-height: 1.5;
  background: var(--mist); color: var(--ink);
}
h1, h2, h3 { font-family: var(--f-display); letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 800; }
h2 { font-size: 1.2rem; font-weight: 700; }
h3 { font-size: 1.02rem; font-weight: 700; }
p { margin: 0; }
a { color: var(--cobalt); }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sub { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.right { text-align: right; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; }
.stack > * + * { margin-top: 16px; }

/* ---------- Shell ---------- */
.shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.side {
  background: var(--spruce); color: #c9dcd9; position: sticky; top: 0; height: 100vh;
  padding: 24px 14px 18px; display: flex; flex-direction: column; gap: 22px; overflow-y: auto;
}
.brand { display: flex; align-items: center; gap: 12px; padding: 0 10px; color: #fff; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.brand b { font-family: var(--f-display); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav small { padding: 14px 14px 4px; font-size: .78rem; color: #7fa09b; font-weight: 600; }
.nav a {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px;
  color: inherit; text-decoration: none; font-weight: 500;
  transition: background .15s, color .15s;
}
.nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav a.active { background: var(--paper); color: var(--spruce); font-weight: 700; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.me { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; background: var(--spruce-2); }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--marigold); color: var(--spruce);
  display: grid; place-items: center; font-weight: 800; font-family: var(--f-display); flex: none; font-size: .95rem;
}
.me b { display: block; color: #fff; font-size: .95rem; line-height: 1.2; }
.me span { font-size: .8rem; color: #8fb0ab; }
.side-link {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: #c9dcd9;
  background: none; border: 0; font: inherit; cursor: pointer; text-decoration: none; width: 100%; text-align: left;
}
.side-link:hover { background: rgba(255,255,255,.08); color: #fff; }

.main { padding: 30px clamp(16px, 3.2vw, 46px) 96px; max-width: 1240px; width: 100%; }
.topline { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.topbar-m { display: none; }

/* ---------- Surfaces ---------- */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-main { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; }

.band {
  display: grid; grid-template-columns: repeat(4, 1fr); background: var(--spruce); color: #fff;
  border-radius: var(--r-lg); overflow: hidden; margin-bottom: 20px;
}
.band > div { padding: 22px 26px; border-left: 1px solid rgba(255,255,255,.1); }
.band > div:first-child { border-left: 0; }
.band .big { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1; letter-spacing: -0.03em; }
.band .lbl { color: #9bbab5; font-size: .9rem; margin-top: 8px; }
.band .accent { color: var(--marigold); }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; }
.fact b { display: block; font-family: var(--f-display); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.fact span { color: var(--muted); font-size: .9rem; }

.today { display: flex; flex-direction: column; gap: 14px; }
.today .state { font-family: var(--f-display); font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }

/* ---------- Buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px;
  border-radius: 12px; border: 0; background: var(--cobalt); color: #fff; font: inherit; font-weight: 700;
  cursor: pointer; text-decoration: none; transition: background .15s, transform .08s;
}
.btn:hover { background: var(--cobalt-d); }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: #b9c4c2; color: #eef3f2; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.ghost:hover { background: var(--mist); }
.btn.dark { background: var(--spruce); }
.btn.dark:hover { background: var(--spruce-3); }
.btn.sun { background: var(--marigold); color: var(--spruce); }
.btn.sun:hover { background: #f2a406; }
.btn.danger { background: transparent; color: var(--bad); border: 1.5px solid #efc3c3; }
.btn.danger:hover { background: #fbe9e9; }
.btn.small { padding: 7px 13px; font-size: .88rem; border-radius: 10px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; }
.field .hint { color: var(--muted); font-size: .85rem; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=search], select, textarea {
  width: 100%; padding: 11px 13px; border-radius: 11px; border: 1.5px solid var(--line); background: #fff;
  font: inherit; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(46,75,242,.14); }
textarea { min-height: 90px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.check input { width: 20px; height: 20px; accent-color: var(--cobalt); }
.form-errors, .validation-summary-errors {
  background: #fdeeee; border: 1px solid #f1c7c7; color: #8f2222; border-radius: 12px; padding: 12px 16px; margin-bottom: 18px;
}
.form-errors ul, .validation-summary-errors ul { margin: 0; padding-left: 18px; }
.validation-summary-valid { display: none; }

/* ---------- Tables ---------- */
.tbl-wrap { overflow-x: auto; margin: 0 -8px; padding: 0 8px; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-size: .85rem; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1.5px solid var(--line); white-space: nowrap; }
.tbl td { padding: 13px 12px; border-bottom: 1px solid #e8efed; vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .who { display: flex; align-items: center; gap: 12px; }
.tbl .who .avatar { width: 34px; height: 34px; font-size: .82rem; background: var(--spruce); color: #fff; }
.tbl .who b { display: block; line-height: 1.2; }
.tbl .who span { color: var(--muted); font-size: .85rem; }
.tbl .num, .tbl th.right { text-align: right; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px;
  font-size: .82rem; font-weight: 700; background: #e3ebe9; color: #35504d; white-space: nowrap;
}
.badge.ok { background: #dcf3ea; color: #0a6a46; }
.badge.late, .badge.pending { background: #fff0d1; color: #86520a; }
.badge.half { background: #ffe5d4; color: #98400f; }
.badge.leave { background: #e1e7ff; color: #2038c4; }
.badge.bad { background: #fbe0e0; color: #a02424; }

.empty { text-align: center; padding: 34px 12px; color: var(--muted); }
.empty b { display: block; color: var(--ink); font-family: var(--f-display); font-size: 1.1rem; margin-bottom: 4px; }

.callout {
  display: flex; align-items: center; gap: 14px; background: #fff6df; border: 1px solid #f5d98f;
  color: #6f4500; border-radius: var(--r-md); padding: 14px 18px; margin-bottom: 20px; flex-wrap: wrap;
}
.callout a { color: inherit; font-weight: 700; }

/* ---------- Week bars ---------- */
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: end; height: 170px; }
.bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; font-size: .85rem; color: var(--muted); }
.bar i { display: block; width: 100%; max-width: 44px; background: #cfdcd9; border-radius: 9px 9px 4px 4px; min-height: 4px; }
.bar.now i { background: var(--cobalt); }
.bar b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- Toasts ---------- */
.toast {
  position: fixed; z-index: 60; left: 50%; top: 18px; transform: translateX(-50%);
  padding: 12px 20px; border-radius: 14px; color: #fff; font-weight: 600; box-shadow: 0 10px 30px rgba(12,42,44,.25);
  max-width: min(92vw, 560px); animation: toast-in .35s ease-out, toast-out .4s ease-in 4.6s forwards;
}
.toast.ok { background: var(--spruce); border-left: 6px solid var(--marigold); }
.toast.err { background: #8f2222; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, -14px); } }
@keyframes toast-out { to { opacity: 0; transform: translate(-50%, -14px); visibility: hidden; } }

/* ---------- Check-in: the dial ---------- */
.punch-grid { display: grid; grid-template-columns: minmax(300px, 470px) minmax(0, 1fr); gap: 22px; align-items: start; }
.punch { background: var(--spruce); color: #fff; border-radius: var(--r-lg); padding: 26px 24px 28px; text-align: center; }
.dial { width: 100%; max-width: 380px; height: auto; display: block; margin: 0 auto; overflow: visible; }
.dial .d-edge { fill: rgba(255,255,255,.03); stroke: rgba(255,255,255,.18); stroke-width: .8; }
.dial .d-guide { fill: none; stroke: rgba(255,255,255,.14); stroke-width: .8; stroke-dasharray: 2 3; }
.dial .d-cross { stroke: rgba(255,255,255,.1); stroke-width: .6; }
.dial .d-fence { fill: rgba(255,178,30,.10); stroke: var(--marigold); stroke-width: 1.6; }
.dial[data-zone="in"] .d-fence { fill: rgba(40,210,150,.2); stroke: #3ee0a8; }
.dial .d-office { fill: var(--marigold); }
.dial[data-zone="in"] .d-office { fill: #3ee0a8; }
.dial .d-acc { fill: rgba(255,255,255,.08); stroke: rgba(255,255,255,.35); stroke-width: .6; stroke-dasharray: 1.5 2; }
.dial .d-you { transition: transform .5s cubic-bezier(.2,.8,.2,1); opacity: 0; }
.dial .d-you.on { opacity: 1; }
.dial .d-you circle:last-child { fill: #fff; stroke: var(--cobalt); stroke-width: 2.4; }
.dial .d-you-halo { fill: rgba(255,255,255,.2); transform-box: fill-box; transform-origin: center; animation: halo 2s ease-out infinite; }
.dial .d-lbl { font-size: 5.6px; fill: rgba(255,255,255,.55); text-anchor: middle; font-family: var(--f-body); }
.dial .d-lbl.fence { fill: var(--marigold); font-weight: 700; }
.dial[data-zone="in"] .d-lbl.fence { fill: #3ee0a8; }
@keyframes halo { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }

.readout { margin-top: 10px; }
.readout .dist { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 9vw, 3.6rem); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.readout .zone { margin-top: 8px; min-height: 3em; color: #b7d0cb; font-size: .98rem; max-width: 34ch; margin-inline: auto; }
.dial-wrap[data-zone="in"] .zone { color: #7ff0c6; }
.chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 14px 0 20px; }
.chip { padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: .85rem; color: #d6e6e3; }
.punch-btn { width: 100%; max-width: 380px; padding: 17px 24px; font-size: 1.12rem; border-radius: 16px; }
.punch .msg { margin-top: 14px; min-height: 1.4em; font-size: .95rem; color: #ffd98a; }
.punch .done { font-family: var(--f-display); font-size: 1.2rem; font-weight: 700; padding: 16px 0 4px; }

/* ---------- Login ---------- */
.login { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 100vh; }
.login-art { background: var(--spruce); color: #fff; padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.login-art .brand { padding: 0; }
.login-art h1 { font-size: clamp(2.2rem, 4.6vw, 4rem); max-width: 14ch; letter-spacing: -.035em; }
.login-art p { color: #a9c6c1; max-width: 38ch; margin-top: 16px; font-size: 1.05rem; }
.login-rings { position: absolute; right: -14%; top: 50%; width: min(78vw, 640px); transform: translateY(-50%); pointer-events: none; }
.login-rings circle { fill: none; stroke: rgba(255,255,255,.12); }
.login-rings .core { fill: var(--marigold); stroke: none; }
.login-rings .fence { stroke: var(--marigold); stroke-width: 1.6; fill: rgba(255,178,30,.08); animation: breathe 3.6s ease-in-out 1; }
.login-rings text { font-family: var(--f-body); font-size: 5px; fill: var(--marigold); font-weight: 700; }
@keyframes breathe { 0% { stroke-opacity: 0; fill-opacity: 0; } 40% { stroke-opacity: 1; fill-opacity: 1; } }
.login-form { display: grid; place-items: center; padding: 32px 22px; }
.login-form form { width: 100%; max-width: 380px; }
.login-form h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 6px; }
.login-form .field + .field { margin-top: 16px; }
.login-form .btn { width: 100%; margin-top: 22px; padding: 14px; }

/* ---------- Payslip ---------- */
.slip { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(20px, 4vw, 44px); max-width: 860px; }
.slip-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-bottom: 2px solid var(--spruce); padding-bottom: 18px; margin-bottom: 22px; }
.slip-head h2 { font-size: 1.5rem; }
.slip .kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; margin-bottom: 26px; }
.slip .kv div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding: 5px 0; }
.slip .kv span { color: var(--muted); }
.slip-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.slip table { width: 100%; border-collapse: collapse; }
.slip th { text-align: left; font-size: .85rem; color: var(--muted); padding: 8px 0; border-bottom: 1.5px solid var(--line); }
.slip th:last-child, .slip td:last-child { text-align: right; }
.slip td { padding: 9px 0; border-bottom: 1px solid #edf2f0; font-variant-numeric: tabular-nums; }
.slip tfoot td { font-weight: 800; border-top: 1.5px solid var(--ink); border-bottom: 0; }
.net { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--spruce); color: #fff; border-radius: 16px; padding: 18px 24px; margin-top: 26px; }
.net b { font-family: var(--f-display); font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; letter-spacing: -.03em; color: var(--marigold); }

/* ---------- Mobile ---------- */
.tabbar { display: none; }
.scrim { display: none; }

@media (max-width: 960px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: fixed; z-index: 50; inset: 0 auto 0 0; width: min(84vw, 300px); transform: translateX(-102%); transition: transform .25s ease; }
  .nav-open .side { transform: none; }
  .nav-open .scrim { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(6,20,22,.55); }
  .topbar-m {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; top: 0; z-index: 30;
    background: var(--spruce); color: #fff; padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top));
  }
  .topbar-m .brand img { width: 32px; height: 32px; border-radius: 9px; }
  .topbar-m .brand b { font-size: 1.15rem; }
  .icon-btn { background: none; border: 0; color: #fff; padding: 6px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
  .main { padding: 20px 16px calc(96px + env(safe-area-inset-bottom)); }
  .tabbar {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
    background: var(--paper); border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; font-size: .74rem; font-weight: 600; color: var(--muted); text-decoration: none; border-radius: 12px; }
  .tabbar a.active { color: var(--cobalt); }
  .band { grid-template-columns: repeat(2, 1fr); }
  .band > div:nth-child(3) { border-left: 0; }
  .band > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .grid-main, .grid-2, .punch-grid, .slip-cols { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .login { grid-template-columns: minmax(0, 1fr); }
  .login-art { min-height: 300px; }
  .login-rings { opacity: .55; right: -30%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .side, .tabbar, .topbar-m, .no-print, .scrim, .toast { display: none !important; }
  .shell { display: block; }
  .main { padding: 0; max-width: none; }
  body { background: #fff; }
  .slip { border: 0; padding: 0; max-width: none; }
  .net { background: none; color: #000; border: 2px solid #000; }
  .net b { color: #000; }
}

/* ---------- v2: compliance, settings, reports ---------- */
.tabs { display: flex; gap: 6px; margin: 0 0 20px; flex-wrap: wrap; }
.tabs a { padding: 8px 16px; border-radius: 999px; text-decoration: none; color: var(--muted); background: var(--paper); border: 1px solid var(--line); font-weight: 600; }
.tabs a.active { background: var(--spruce); color: #fff; border-color: var(--spruce); }
.form-grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
.callout { background: #fff8e6; border: 1px solid #f2d890; border-radius: var(--r-md); padding: 14px 18px; margin-bottom: 20px; color: #5b4300; }
.callout.warn { background: #fdecec; border-color: #f0b8b8; color: #7a1f1f; }
.callout b { display: block; margin-bottom: 2px; }
.warnlist, .duelist { list-style: none; margin: 12px 0 0; padding: 0; }
.warnlist li { padding: 8px 0 8px 22px; border-top: 1px solid var(--line); position: relative; }
.warnlist li::before { content: "!"; position: absolute; left: 0; top: 8px; width: 15px; height: 15px; border-radius: 50%; background: var(--warn); color: #fff; font-size: 11px; font-weight: 800; text-align: center; line-height: 15px; }
.duelist li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.duelist li:first-child { border-top: 0; }
.duelist b { color: var(--cobalt-d); }
.duelist small { display: block; }
.kvt { width: 100%; border-collapse: collapse; }
.kvt td { padding: 9px 0; border-top: 1px solid var(--line); vertical-align: top; }
.kvt tr:first-child td { border-top: 0; }
.kvt td:last-child { text-align: right; white-space: nowrap; }
.kvt small { display: block; font-size: .82rem; }
.kvt .tot td { font-weight: 800; border-top: 2px solid var(--ink); }
.badge.built, .badge.final { background: #dff5ec; color: #0b6b49; }
.badge.partly, .badge.draft { background: #fff1d6; color: #8a5600; }
.badge.not-yet { background: #eceff0; color: #4d5b59; }
@media print { .no-print, .side, .tabbar, .topbar-m, .toast, .callout.no-print { display: none !important; } .shell { display: block; } body { background: #fff; } }

/* ---------- Field work mode ---------- */
.worktype { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 16px; }
.worktype .wt input { position: absolute; opacity: 0; pointer-events: none; }
.worktype .wt span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); font-size: .92rem; cursor: pointer; }
.worktype .wt input:checked + span { background: var(--marigold); border-color: var(--marigold); color: #1b1b1b; font-weight: 700; }
.worktype .wt input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.field-note { max-width: 380px; margin: 0 auto 14px; text-align: left; }
.field-note label { display: block; font-size: .85rem; margin-bottom: 4px; opacity: .85; }
.field-note input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; font: inherit; }
.field-note input::placeholder { color: rgba(255,255,255,.5); }
[hidden] { display: none !important; }

/* ---------- Update log ---------- */
.livelog { background: #0f1b1a; color: #d6efe7; border-radius: 12px; padding: 16px 18px; min-height: 280px; max-height: 60vh; overflow: auto;
  font: .85rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; word-break: break-word; margin: 0 0 14px; }
.badge[data-state="succeeded"] { background: #dff5ea; color: #0b6b43; }
.badge[data-state="failed"], .badge[data-state="rolledback"] { background: #fde3e0; color: #9b1c12; }
.badge[data-state="running"], .badge[data-state="queued"] { background: #fff1cf; color: #7a5200; }
