/* Time Clock admin */

:root {
  color-scheme: light dark;

  --bg:              #F2F2F7;
  --bg-elevated:     #FFFFFF;
  --bg-sunken:       #E4E4EA;
  --sidebar-bg:      #FBFBFD;

  --label:           #1C1C1E;
  --label-secondary: rgba(60, 60, 67, 0.64);
  --separator:       rgba(60, 60, 67, 0.16);

  --brand:           #14213D;
  --brand-pressed:   #24314F;
  --on-brand:        #FFFFFF;
  --accent:          #D24F08;
  --accent-soft:     rgba(232, 89, 12, 0.12);
  --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%238E8E93' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  --green:           #1F7A36;
  --green-soft:      rgba(36, 138, 61, 0.12);
  --red:             #C7000F;
  --red-soft:        rgba(215, 0, 21, 0.09);
  --amber:           #A15C00;
  --amber-soft:      rgba(255, 159, 10, 0.16);

  --fill:            rgba(116, 116, 128, 0.09);

  --radius-lg: 14px;
  --radius-md: 10px;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.05);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --sidebar-w: 236px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:              #000000;
    --bg-elevated:     #1C1C1E;
    --bg-sunken:       #2C2C2E;
    --sidebar-bg:      #111113;

    --label:           #FFFFFF;
    --label-secondary: rgba(235, 235, 245, 0.62);
    --separator:       rgba(84, 84, 88, 0.6);

    --brand:           #7D9BE8;
    --brand-pressed:   #93ACEE;
    --on-brand:        #0A0F1C;
    --accent:          #FF9F0A;
    --accent-soft:     rgba(255, 159, 10, 0.16);
    --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%2398989F' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

    --green:           #30D158;
    --green-soft:      rgba(48, 209, 88, 0.16);
    --red:             #FF6961;
    --red-soft:        rgba(255, 69, 58, 0.16);
    --amber:           #FFB340;
    --amber-soft:      rgba(255, 159, 10, 0.16);

    --fill:            rgba(118, 118, 128, 0.24);
    --shadow-card:     none;
  }
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--label);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text",
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.47;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.mono, .data, td.num {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
.muted { color: var(--label-secondary); }
.small-text { font-size: 13px; }
.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: 12px 20px;
  background: var(--bg-elevated); color: var(--label); font-weight: 600;
  border-radius: 0 0 var(--radius-md) 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}
.skip-link:focus { left: 0; }

/* ---------- shell ---------- */

.shell { display: flex; min-height: 100vh; }

.sidebar {
  position: sticky; top: 0;
  flex: 0 0 var(--sidebar-w);
  height: 100vh;
  display: flex; flex-direction: column;
  padding: 18px 12px;
  background: var(--sidebar-bg);
  border-right: 0.5px solid var(--separator);
}

.brand {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 10px 18px;
  color: var(--label);
  font-weight: 650; font-size: 16px; letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand svg { flex: none; }

.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a, .nav-foot a, .nav-foot button {
  display: flex; align-items: center; gap: 11px;
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--label);
  font-size: 14.5px; font-weight: 500;
}
.nav a svg, .nav-foot svg { flex: none; color: var(--label-secondary); }
.nav a:hover, .nav-foot a:hover, .nav-foot button:hover { background: var(--fill); text-decoration: none; }
.nav a[aria-current="page"] { background: var(--bg-elevated); box-shadow: var(--shadow-card); font-weight: 600; }
.nav a[aria-current="page"] svg { color: var(--accent); }
@media (prefers-color-scheme: dark) {
  .nav a[aria-current="page"] { background: var(--bg-sunken); }
}
.nav .count {
  margin-left: auto;
  min-width: 20px; padding: 1px 7px;
  border-radius: 980px;
  background: var(--accent); color: var(--on-brand);
  font-size: 11.5px; font-weight: 700; text-align: center;
}
.nav-label {
  margin: 18px 10px 6px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--label-secondary);
}

.nav-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 0.5px solid var(--separator);
  display: flex; flex-direction: column; gap: 2px;
}
.nav-foot form { margin: 0; }
.nav-foot button {
  width: 100%; margin: 0;
  justify-content: flex-start;
  background: none; border: none; cursor: pointer;
  font: inherit; font-size: 14.5px; font-weight: 500;
  color: var(--label-secondary); text-align: left;
}
.nav-foot button:hover { color: var(--label); }
.nav-foot .who { display: block; font-size: 12px; color: var(--label-secondary); font-weight: 400; }

.topbar { display: none; }

.content { flex: 1; min-width: 0; }
main { max-width: 1080px; margin: 0 auto; padding: 30px 32px 90px; }
main:focus { outline: none; }

/* ---------- page header ---------- */

.page-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.page-head h1 { margin: 0; }
.page-head .sub { margin: 4px 0 0; color: var(--label-secondary); font-size: 14.5px; }
.page-head .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.page-head .actions .btn, .page-head .actions button { margin-top: 0; }
.crumb { font-size: 13.5px; margin-bottom: 6px; }

h1 { font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 6px; }
h2 {
  font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--label-secondary);
  margin: 36px 0 10px; padding-left: 2px;
}
h2 .aside { text-transform: none; letter-spacing: 0; font-weight: 400; }
h3 { font-size: 15px; margin: 0 0 8px; }
p { margin: 0 0 10px; }
p.lede { color: var(--label-secondary); margin: 0 0 6px; font-size: 14.5px; }

/* ---------- stats ---------- */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: 0 0 6px;
}
.stat {
  background: var(--bg-elevated);
  padding: 15px 18px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.stat .n { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat .l { font-size: 13px; color: var(--label-secondary); margin-top: 3px; }
a.stat { color: inherit; display: block; }
a.stat:hover { text-decoration: none; background: var(--fill); }

/* ---------- attention list ---------- */

.attention {
  list-style: none; margin: 0; padding: 0;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.attention li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-bottom: 0.5px solid var(--separator);
}
.attention li:last-child { border-bottom: none; }
.attention .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.attention .dot.red { background: var(--red); }
.attention .dot.grey { background: var(--label-secondary); }
.attention .what { flex: 1; min-width: 0; }
.attention .go { font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.all-clear {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  background: var(--green-soft); color: var(--green);
  border-radius: var(--radius-lg);
  font-weight: 500;
}

/* ---------- tables ---------- */

.table-wrap {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.table-wrap > table { background: transparent; }
table:not(.table-wrap > table) {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
th, td { text-align: left; padding: 11px 16px; vertical-align: middle; }
th {
  font-weight: 500; color: var(--label-secondary);
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em;
  border-bottom: 0.5px solid var(--separator);
  white-space: nowrap;
}
td { border-bottom: 0.5px solid var(--separator); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--fill); }
td.actions { width: 1%; white-space: nowrap; text-align: right; }
td .sub { display: block; font-size: 12.5px; color: var(--label-secondary); }
td.data { white-space: nowrap; }
table.plain tr:hover td { background: none; }

/* ---------- badges ---------- */

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px;
  font-size: 12px; font-weight: 600; letter-spacing: -0.005em;
  border-radius: 980px;
  white-space: nowrap;
}
.badge.open    { background: var(--accent-soft); color: var(--accent); }
.badge.open::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: livePulse 2s ease-in-out infinite; }
.badge.closed, .badge.good  { background: var(--green-soft); color: var(--green); }
.badge.flagged, .badge.bad  { background: var(--red-soft); color: var(--red); }
.badge.warn    { background: var(--amber-soft); color: var(--amber); }
.badge.pending, .badge.neutral { background: var(--fill); color: var(--label-secondary); }
.badge.stale   { background: var(--red-soft); color: var(--red); }
.badges { display: inline-flex; gap: 5px; flex-wrap: wrap; }

/* ---------- location ---------- */

.loc { display: flex; flex-direction: column; gap: 1px; line-height: 1.35; }
.where { font-weight: 550; }
.where.on { color: var(--green); }
.where.off { color: var(--red); }
.where.unknown, .where.nosite { color: var(--label-secondary); font-weight: 500; }
.loc .detail { font-size: 12px; color: var(--label-secondary); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.loc a { font-size: 12px; font-weight: 500; }

/* ---------- cards & forms ---------- */

.card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 20px 22px 22px;
  box-shadow: var(--shadow-card);
}
.card.narrow { max-width: 480px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 14px; }

label {
  display: block;
  font-size: 13px; font-weight: 500;
  color: var(--label-secondary);
  margin: 14px 0 6px;
}
.card form > label:first-of-type, .form-grid > div > label:first-child { margin-top: 0; }
.hint { font-size: 12.5px; color: var(--label-secondary); margin: 5px 0 0; }
label .opt { font-weight: 400; }

input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 0.5px solid var(--separator);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-family: inherit;
  letter-spacing: -0.01em;
  background: var(--bg);
  color: var(--label);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
select {
  background-image: var(--select-chevron);
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 12px;
  padding-right: 34px;
}
textarea { resize: vertical; min-height: 74px; line-height: 1.45; }
input:focus, select:focus, textarea:focus {
  outline: none;
  background: var(--bg-elevated);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
input[type="file"] { padding: 8px 10px; font-size: 14px; }
input[type="date"], input[type="datetime-local"] { min-height: 42px; }
input[type="checkbox"], input[type="radio"] { width: auto; -webkit-appearance: auto; appearance: auto; }
.radio-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.radio-row label { display: flex; align-items: center; gap: 7px; margin: 0; color: var(--label); font-weight: 500; }

/* ---------- buttons ---------- */

button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  margin-top: 16px;
  padding: 10px 20px;
  background: var(--brand); color: var(--on-brand);
  border: none; border-radius: 980px;
  font-family: inherit; font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background 0.15s var(--ease), transform 0.1s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
button:hover, .btn:hover { background: var(--brand-pressed); text-decoration: none; color: var(--on-brand); }
button:active, .btn:active { transform: scale(0.97); }
button:disabled { opacity: 0.4; cursor: default; transform: none; }
button.secondary, .btn.secondary { background: var(--fill); color: var(--label); }
button.secondary:hover, .btn.secondary:hover { background: var(--bg-sunken); color: var(--label); }
button.danger, .btn.danger { background: var(--red); color: #fff; }
button.danger:hover, .btn.danger:hover { background: var(--red); color: #fff; opacity: 0.9; }
button.small, .btn.small { margin-top: 0; padding: 6px 13px; font-size: 13px; }
button.link { background: none; color: var(--accent); padding: 0; margin: 0; font-weight: 500; }
button.link:hover { background: none; text-decoration: underline; }

button:focus-visible, a:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 2px;
}

.row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row-actions form { margin: 0; }
td.actions .row-actions { justify-content: flex-end; flex-wrap: nowrap; }

/* ---------- notices ---------- */

.error { background: var(--red-soft); color: var(--red); padding: 11px 15px; border-radius: var(--radius-md); font-size: 14px; font-weight: 500; margin-bottom: 16px; }
.callout { background: var(--accent-soft); padding: 15px 18px; border-radius: var(--radius-lg); margin-bottom: 20px; }
.callout.neutral { background: var(--fill); }
.callout p:last-child { margin-bottom: 0; }
.callout .pin { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 24px; font-weight: 700; letter-spacing: 0.08em; color: var(--accent); }

.toasts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.toast {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px 11px 16px;
  border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500;
  background: var(--green-soft); color: var(--green);
  animation: toastIn 0.22s var(--ease) both;
}
.toast.error { background: var(--red-soft); color: var(--red); margin: 0; }
.toast.info  { background: var(--fill); color: var(--label); }
.toast span { flex: 1; }
.toast button { margin: 0; padding: 2px 8px; background: none; color: inherit; font-size: 18px; line-height: 1; opacity: 0.6; }
.toast button:hover { background: none; color: inherit; opacity: 1; }
.toast.hide { opacity: 0; transition: opacity 0.3s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.inline-form { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.inline-form > div { flex: 1; min-width: 150px; }
.inline-form label { margin-top: 0; }
.inline-form button { margin-top: 0; }

.empty {
  color: var(--label-secondary);
  font-size: 14px;
  padding: 30px 20px;
  text-align: center;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.linkbox { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; margin-top: 10px; }
.linkbox input { flex: 1; min-width: 200px; margin: 0; font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; }
.linkbox button { margin-top: 0; }

/* ---------- disclosure panels ---------- */

details > summary {
  cursor: pointer;
  font-size: 13.5px; font-weight: 500;
  color: var(--accent);
  list-style: none;
  padding: 4px 0;
  -webkit-tap-highlight-color: transparent;
}
details > summary::-webkit-details-marker { display: none; }
details > summary::after { content: "\203A"; display: inline-block; margin-left: 4px; transition: transform 0.2s var(--ease); }
details[open] > summary::after { transform: rotate(90deg); }
details.panel { margin-top: 10px; }
details.panel > summary { font-size: 14.5px; }
details.panel[open] > summary { margin-bottom: 10px; }
.popover { padding: 10px 0 4px; min-width: 260px; white-space: normal; text-align: left; }
/* Row panels (Edit, Review...) open as a card over a dimmed page instead of
   stretching the table row. Tapping the dimmed page closes it (it's the summary). */
details[open] > .popover {
  position: fixed; z-index: 51; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(380px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow-y: auto;
  padding: 18px 20px 20px;
  background: var(--bg-elevated); color: var(--label);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  animation: popIn 0.18s var(--ease) both;
}
details[open]:has(> .popover) > summary::before {
  content: ""; position: fixed; inset: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.35); cursor: default;
}
.popover-title { font-weight: 600; margin: 0 0 12px; }
@keyframes popIn { from { opacity: 0; transform: translate(-50%, -48%); } to { opacity: 1; transform: translate(-50%, -50%); } }

/* ---------- login / error pages (no sidebar) ---------- */

.bare main { max-width: 420px; padding-top: 12vh; }
.bare .brand { justify-content: center; padding-bottom: 22px; font-size: 18px; }
.error-page { text-align: center; padding: 60px 0 0; }
.error-code { font-size: 13px; font-weight: 600; color: var(--label-secondary); letter-spacing: 0.08em; margin: 0 0 6px; }

/* ---------- search ---------- */

.search { position: relative; max-width: 320px; }
.search input { padding-left: 34px; }
.search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--label-secondary); pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- small screens ---------- */

@media (max-width: 900px) {
  .shell { display: block; }
  .sidebar { display: none; }
  .topbar {
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 20;
    padding: 10px 16px;
    background: var(--sidebar-bg);
    border-bottom: 0.5px solid var(--separator);
  }
  .topbar .brand { padding: 0; }
  .topbar details > summary { color: var(--label); font-size: 14.5px; padding: 6px 10px; border-radius: 9px; background: var(--fill); }
  .topbar details > summary::after { content: none; }
  .topbar details[open] .menu {
    position: absolute; left: 0; right: 0; top: 100%;
    padding: 8px 12px 14px;
    background: var(--sidebar-bg);
    border-bottom: 0.5px solid var(--separator);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }
  .topbar .nav-foot { margin-top: 10px; }
  main { padding: 22px 16px 70px; }
  h1 { font-size: 24px; }
  .grid-2 { grid-template-columns: 1fr; }
  table:not(.table-wrap > table) { display: block; overflow-x: auto; }
  th, td { padding: 10px 12px; }
}

/* ---------- long documents rendered from markdown ---------- */

.doc { font-size: 14.5px; line-height: 1.6; }
.doc h1 { font-size: 22px; margin: 0 0 12px; }
.doc h2 { text-transform: none; letter-spacing: -0.01em; font-size: 17px; color: var(--label); margin: 28px 0 8px; padding: 0; }
.doc h3 { margin: 18px 0 6px; }
.doc table { margin: 12px 0; font-size: 13.5px; box-shadow: none; border: 0.5px solid var(--separator); }
.doc th, .doc td { padding: 8px 10px; vertical-align: top; }
.doc blockquote { margin: 12px 0; padding: 10px 14px; background: var(--fill); border-radius: var(--radius-md); }
.doc ul, .doc ol { padding-left: 20px; }
.doc hr { border: none; border-top: 0.5px solid var(--separator); margin: 22px 0; }

/* ---------- checkbox lists, week picker ---------- */

.check-list { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 4px; }
.check-list label { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--label); font-weight: 500; }
.check-list .muted { margin-left: auto; }
.check-row { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 16px; color: var(--label); font-weight: 400; font-size: 14px; line-height: 1.45; }
.check-row input { margin-top: 3px; flex: none; }
.week-nav { align-items: center; }
.week-nav .btn { padding: 7px 13px; }
.week-label { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- two-step login ---------- */

.qr { background: #fff; border-radius: var(--radius-md); padding: 10px; width: 200px; height: 200px; margin: 8px 0; }
.qr svg { width: 100%; height: 100%; display: block; }
.secret { font-size: 15px; letter-spacing: 0.06em; word-break: break-all; user-select: all; }
.code-input { font-size: 22px; letter-spacing: 0.25em; font-variant-numeric: tabular-nums; }
.codes { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; font-size: 16px; user-select: all; }

/* ---------- manager guide, printing ---------- */

.guide { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.guide section { background: var(--bg-elevated); border-radius: var(--radius-lg); padding: 14px 18px; }
.guide section.wide { grid-column: 1 / -1; }
.guide h3 { margin: 0 0 6px; }
.guide ul { margin: 0; padding-left: 20px; font-size: 14px; }
.guide li { margin: 3px 0; }
@media (max-width: 760px) { .guide { grid-template-columns: 1fr; } }
@media print {
  .sidebar, .topbar, .no-print, .toast, .skip-link { display: none !important; }
  .shell { display: block; }
  body { background: #fff; color: #000; }
  main { padding: 0 !important; }
  .guide section { border: 1px solid #bbb; padding: 8px 12px; }
  .guide ul { font-size: 11.5px; }
}
