/* One Two Secure – Health & Safety portal. Local only, no CDN. Mobile-first. */
:root {
  --navy: #0b2a4a;
  --navy-2: #143d66;
  --accent: #e8a317;
  --green: #1b7a3d;
  --green-d: #145c2e;
  --red: #b42318;
  --bg: #f4f6f8;
  --card: #ffffff;
  --text: #152033;
  --muted: #5b6b7c;
  --border: #d5dde6;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(11, 42, 74, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "DejaVu Sans", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--bg);
  font-size: 18px; line-height: 1.45; min-height: 100vh;
}
img { max-width: 100%; }
a { color: var(--navy-2); }
.wrap { max-width: 720px; margin: 0 auto; padding: 16px 16px 64px; }
.wrap-wide { max-width: 1100px; }

/* Top bar */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--navy); color: #fff; padding: 10px 16px; position: sticky; top: 0; z-index: 20;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1rem; }
.brand-text small { font-size: .78rem; opacity: .85; font-weight: 400; }
.logout-form { margin: 0; }
.btn-link {
  background: none; border: 0; color: inherit; text-decoration: underline; cursor: pointer;
  font: inherit; padding: 0; font-size: .95rem;
}
.topbar .btn-link { color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.4);
  padding: 6px 12px; border-radius: 999px; }

/* Language */
.langbar { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 16px; }
.lang-btn {
  flex: 1; text-align: center; min-width: 90px; padding: 12px 10px; border-radius: 999px;
  background: #fff; border: 2px solid var(--border); color: var(--text); text-decoration: none;
  font-weight: 600; font-size: 1rem;
}
.lang-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Cards / alerts */
.card { background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.login-card { max-width: 420px; margin: 24px auto; }
.alert { padding: 12px 14px; border-radius: 10px; margin: 12px 0; }
.alert-error { background: #fdecea; color: #7a1210; border: 1px solid #f5c2c0; }
.alert-info { background: #e8f1fb; color: #0b2a4a; border: 1px solid #b7d0ea; }
.muted { color: var(--muted); }
.center { text-align: center; }
.label-small { font-size: .85rem; color: var(--muted); margin: 0 0 4px; text-transform: uppercase; letter-spacing: .04em; }

/* Forms */
label { display: block; font-weight: 600; margin: 14px 0 6px; }
input:not([type]), input[type=text], input[type=password], input[type=date], input[type=file], select, textarea {
  width: 100%; font: inherit; padding: 14px 12px; border: 2px solid var(--border);
  border-radius: 10px; background: #fff; color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: 3px solid #c6daf0; border-color: var(--navy-2); }
textarea { font-family: ui-monospace, "Cascadia Mono", "DejaVu Sans Mono", monospace; font-size: .95rem; }
.check-row {
  display: flex; align-items: flex-start; gap: 14px; padding: 14px; background: #fff;
  border: 2px solid var(--border); border-radius: 12px; cursor: pointer; font-weight: 600; font-size: 1.05rem;
}
.check-row.small { font-size: 1rem; font-weight: 500; padding: 10px 12px; }
.check-row input { width: 28px; height: 28px; margin-top: 2px; flex-shrink: 0; accent-color: var(--green); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; padding: 14px 18px; border-radius: 12px;
  border: 2px solid transparent; cursor: pointer; text-decoration: none; color: #fff; background: var(--navy);
}
.btn-primary { background: var(--navy); }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--border); }
.btn-white { background: #fff; color: var(--green-d); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn:disabled, .btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-sign {
  background: var(--green); font-size: 1.35rem; padding: 20px; margin-top: 8px;
  box-shadow: 0 4px 0 var(--green-d); border: 0;
}
.btn-sign:not(:disabled):hover, .btn-sign:not(:disabled):active { background: var(--green-d); }
.btn-sign:disabled { background: #9aa7b5; box-shadow: none; }

/* Worker home */
.hello { font-size: 1.4rem; margin: 8px 0 4px; }
.summary { padding: 14px 16px; border-radius: 12px; font-weight: 700; margin: 12px 0 18px; }
.summary-todo { background: #fff4d6; color: #7a5300; border: 1px solid #f0d48a; }
.summary-done { background: #e6f6ec; color: var(--green-d); border: 1px solid #a8d9b7; }
.talk-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.talk-item a {
  display: grid; gap: 4px; background: var(--card); border-radius: var(--radius); padding: 16px;
  box-shadow: var(--shadow); text-decoration: none; color: inherit; border-left: 6px solid var(--accent);
}
.talk-item.is-signed a { border-left-color: var(--green); }
.status-pill { display: inline-block; font-size: .85rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; width: fit-content; }
.pill-todo { background: #fff4d6; color: #7a5300; }
.pill-signed { background: #e6f6ec; color: var(--green-d); }
.talk-ref { font-size: .85rem; color: var(--muted); font-weight: 700; letter-spacing: .04em; }
.talk-title { font-size: 1.15rem; font-weight: 700; }
.talk-meta { font-size: .95rem; color: var(--muted); }
.talk-meta.overdue, .overdue { color: var(--red); font-weight: 700; }
.talk-action { color: var(--navy-2); font-weight: 700; margin-top: 4px; }
.sample-badge, .sample-banner {
  display: inline-block; background: #fde8c8; color: #7a3d00; font-size: .8rem; font-weight: 700;
  padding: 3px 8px; border-radius: 6px; width: fit-content;
}
.sample-banner { display: block; margin-bottom: 10px; padding: 8px 12px; }

/* Talk page */
.back-link { font-weight: 600; text-decoration: none; }
.talk-ref-big { color: var(--muted); font-weight: 700; letter-spacing: .06em; margin: 0; }
.talk-h1 { margin: 4px 0 12px; font-size: 1.6rem; line-height: 1.25; }
.talk-body { background: var(--card); border-radius: var(--radius); padding: 18px 16px; box-shadow: var(--shadow); }
.talk-body h3 { margin: 1.2em 0 .4em; font-size: 1.15rem; color: var(--navy); }
.talk-body h3:first-child { margin-top: 0; }
.talk-body p { margin: .6em 0; }
.talk-body ul, .talk-body ol { margin: .4em 0 .8em; padding-left: 1.3em; }
.talk-body li { margin: .3em 0; }

/* Sign box – deliberately loud */
.sign-box {
  margin: 28px 0 40px; padding: 20px 16px 24px; border-radius: 18px;
  background: #fff8e8; border: 4px solid var(--accent); box-shadow: var(--shadow);
}
.sign-box h2 { margin: 0 0 6px; font-size: 1.4rem; color: #7a5300; }
.sign-intro { margin: 0 0 16px; color: #5a3f00; }
.step { margin: 16px 0; padding: 14px; background: #fff; border-radius: 12px; border: 1px solid #f0d48a; }
.step h3 { margin: 0 0 10px; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.step-check {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid #c9b48a; display: inline-block; flex-shrink: 0;
  background: #fff;
}
.step.done .step-check { background: var(--green); border-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.5' d='M3 8l3 3 7-7'/%3E%3C/svg%3E");
  background-size: 14px; background-repeat: no-repeat; background-position: center; }
.name-status { min-height: 1.4em; margin: 6px 0 0; font-weight: 700; font-size: .95rem; }
.name-status.ok { color: var(--green-d); }
.name-status.bad { color: var(--red); }
.sig-wrap {
  position: relative; border: 3px dashed #c9b48a; border-radius: 12px; background: #fff;
  touch-action: none; overflow: hidden; height: 180px;
}
#sig-canvas { display: block; width: 100%; height: 100%; cursor: crosshair; }
.sig-placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #b0a080; font-weight: 700; font-size: 1.2rem; pointer-events: none;
}
.sig-placeholder.hidden { display: none; }
#sig-clear { margin-top: 10px; }
.signed-box {
  margin: 28px 0; padding: 24px; text-align: center; background: #e6f6ec; border-radius: 16px;
  border: 2px solid #a8d9b7;
}
.big-tick { font-size: 3rem; color: var(--green); }

/* Confirmation full-screen */
.page-done { background: var(--green); }
.done-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.done-inner {
  background: #fff; color: var(--text); border-radius: 20px; padding: 28px 22px; max-width: 480px; width: 100%;
  text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,.2);
}
.done-tick {
  width: 80px; height: 80px; margin: 0 auto 12px; border-radius: 50%; background: var(--green); color: #fff;
  font-size: 2.8rem; display: flex; align-items: center; justify-content: center; line-height: 1;
}
.done-thanks { color: var(--muted); }
.done-details { text-align: left; background: #f4f6f8; border-radius: 12px; padding: 14px 16px; margin: 18px 0; }
.done-details dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-top: 8px; }
.done-details dd { margin: 0; font-weight: 700; font-size: 1.05rem; }

/* Admin */
.adminnav {
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin: 0 0 20px;
  padding-bottom: 12px; border-bottom: 2px solid var(--border);
}
.adminnav a { font-weight: 700; text-decoration: none; color: var(--muted); padding: 6px 0; border-bottom: 3px solid transparent; white-space: nowrap; flex: none; }
.adminnav a.active { color: var(--navy); border-bottom-color: var(--accent); }
.adminnav-user { margin-left: auto; color: var(--muted); font-size: .9rem; }
.row-between { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-start; }
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; font-size: .95rem; }
.table th { background: #eef3f8; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.table .num { text-align: center; font-weight: 700; }
.table .ok { color: var(--green-d); }
.table .bad { color: var(--red); }
.row-ok { background: #f5fbf7; }
.row-bad { background: #fff8f7; }
.row-archived { opacity: .6; }
.yes { color: var(--green-d); font-weight: 700; }
.no { color: var(--red); font-weight: 700; }
.sig-thumb { max-width: 140px; max-height: 56px; background: #fff; border: 1px solid var(--border); border-radius: 4px; }
.tag { display: inline-block; background: #eef3f8; color: var(--muted); font-size: .75rem; padding: 2px 6px; border-radius: 4px; }
.tag-warn { background: #fff4d6; color: #7a5300; }
.counts { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; }
.count { background: #fff; border-radius: 12px; padding: 12px 18px; box-shadow: var(--shadow); min-width: 110px; }
.count span { display: block; font-size: 1.8rem; font-weight: 800; line-height: 1.1; }
.count-ok span { color: var(--green-d); }
.count-bad span { color: var(--red); }
.admin-form label { margin-top: 10px; }
.admin-form.narrow { max-width: 520px; }
.grid-3 { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: 1fr 1fr 1fr; } }
.lang-fieldset { border: 2px solid var(--border); border-radius: 12px; padding: 14px 16px 18px; margin: 16px 0; background: #fff; }
.lang-fieldset legend { font-weight: 800; padding: 0 8px; }
.assignee-grid { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .assignee-grid { grid-template-columns: 1fr 1fr; } }
.actions { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.inline { display: inline; margin: 0; }
.pw-card .pw { font-size: 1.4rem; letter-spacing: .04em; }
.mono { font-family: ui-monospace, "Cascadia Mono", "DejaVu Sans Mono", monospace; }
.archive-form { margin-top: 24px; }
.ua { max-width: 180px; word-break: break-word; }
.nowrap { white-space: nowrap; }
.status-table { font-size: .9rem; }
@media (max-width: 800px) {
  .status-table { display: block; overflow-x: auto; }
}

/* keep anchors clear of the sticky top bar */
#sign, .step, #signed { scroll-margin-top: 76px; }
#sign-btn { scroll-margin-bottom: 16px; }
form > .btn-block[type=submit], .login-card .btn { margin-top: 18px; }

/* Overnight: holidays, training, RAMS, labour preview */
.quick-links { display: flex; gap: 8px; margin: 8px 0 16px; }
.quick-links a {
  flex: 1; text-align: center; background: #fff; border: 2px solid var(--border); border-radius: 12px;
  padding: 12px 8px; text-decoration: none; font-weight: 800; color: var(--navy);
}
.pill-bad { background: #fdecea; color: #7a1210; }
.stack { display: grid; gap: 12px; margin: 12px 0 28px; }
.req-card, .cert-card {
  display: grid; gap: 6px; background: #fff; border-radius: var(--radius); padding: 14px 14px 14px 16px;
  box-shadow: var(--shadow); border-left: 8px solid var(--border);
}
.talk-list .req-card, .talk-list .cert-card { list-style: none; }
.status-pending { border-left-color: var(--accent); }
.status-approved { border-left-color: var(--green); }
.status-declined { border-left-color: var(--red); }
.bucket-overdue { border-left-color: var(--red); background: #fff5f5; }
.bucket-due { border-left-color: #e8a317; background: #fff8e8; }
.bucket-ok { border-left-color: var(--green); background: #f3fbf6; }
.cert-thumb { max-width: 100%; max-height: 180px; width: auto; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.decide-form { margin-top: 8px; }
.handoff-title { margin-top: 28px; }
.drive-note { background: #fff4d6; border: 1px solid #f0d48a; padding: 12px 14px; border-radius: 10px; }
.table-scroll { overflow-x: auto; }
.pack-preview .sig-block { margin: 14px 0; padding-top: 10px; border-top: 1px solid var(--border); }
.type-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.type-row input[type=text], .type-row input[name=name] { flex: 1 1 160px; width: auto; }
.week-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.week { border-collapse: separate; border-spacing: 0; }
.week th, .week td { border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); padding: 4px; vertical-align: middle; }
.week th.name { position: sticky; left: 0; z-index: 2; background: #eef3f8; min-width: 148px; text-align: left; padding: 10px; }
.week th.day, .week td.day { text-align: center; min-width: 108px; padding: 10px 8px; font-size: .95rem; }
.week td.is-holiday, .crew-list .is-holiday { background: #fff4d6; font-weight: 700; }
.week-cards { display: none; }
.site-code { font-weight: 800; letter-spacing: .03em; color: var(--navy); }
.crew-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.crew-list li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.crew-list li span:last-child { text-align: right; }
.quick-links a.active { background: var(--navy); color: #fff; border-color: var(--navy); }
@media (max-width: 800px) {
  .week-desktop { display: none; }
  .week-cards { display: grid; gap: 12px; }
}
@media (max-width: 800px) {
  .adminnav { flex-wrap: wrap; overflow: visible; row-gap: 4px; }
  .adminnav-user { margin-left: 0; flex-basis: 100%; white-space: nowrap; }
  h1 { font-size: 1.35rem; }
}

/* Sample labour calendar: month and week, either width. */
.cal-switch { display: flex; gap: 8px; margin: 8px 0 14px; }
.cal-switch a {
  flex: 1; text-align: center; background: #fff; border: 2px solid var(--border); border-radius: 12px;
  padding: 10px 8px; text-decoration: none; font-weight: 800; color: var(--navy);
}
.cal-switch a.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.cal-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 8px;
}
.cal-nav h1, .cal-nav h2 { margin: 0; text-align: center; font-size: 1.35rem; }
.cal-nav a { font-weight: 800; text-align: center; text-decoration: none; }
.cal-period { margin: 0 0 10px; color: var(--muted); }
.cal-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cal-month { min-width: 980px; }
.cal-dow, .cal-month-row {
  display: grid; grid-template-columns: repeat(7, minmax(132px, 1fr)); gap: 4px;
}
.cal-dow { margin-bottom: 4px; }
.cal-dow div {
  text-align: center; font-size: .75rem; font-weight: 800; letter-spacing: .03em;
  text-transform: uppercase; color: var(--muted); padding: 4px 2px;
}
.cal-cell, .cal-day {
  background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 8px;
  box-shadow: var(--shadow); min-width: 0;
}
.cal-cell { min-height: 92px; font-size: .78rem; line-height: 1.3; }
.cal-cell.cal-out { background: #eef2f6; }
.cal-cell-h { display: flex; justify-content: space-between; gap: 6px; align-items: baseline; }
.cal-num { font-weight: 800; font-size: 1rem; }
.cal-cell time { color: var(--muted); font-size: .72rem; white-space: nowrap; }
.cal-jobs { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 4px; }
.cal-job { display: grid; gap: 1px; }
.cal-names, .cal-who, .cal-where, .cal-time { overflow-wrap: anywhere; }
.cal-time { font-weight: 800; font-variant-numeric: tabular-nums; }
.cal-cell.is-holiday, .cal-day.is-holiday, .cal-job.is-holiday, .cal-where.is-holiday {
  background: #fff4d6; font-weight: 700;
}
.cal-job.is-holiday, .cal-where.is-holiday { border-radius: 6px; padding: 2px 4px; }
.cal-week-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.cal-day h3 { margin: 0; font-size: 1rem; }
.cal-day .muted { margin: 0; font-size: .85rem; }
.cal-day .cal-where { margin: 8px 0 0; }
.cal-day .cal-time, .cal-day .cal-who { margin: 2px 0 0; }
@media (min-width: 801px) {
  .cal-default .cal-switch-month { background: var(--navy); color: #fff; border-color: var(--navy); }
  .cal-default .cal-block-week { display: none; }
}
@media (max-width: 800px) {
  .cal-default .cal-switch-week { background: var(--navy); color: #fff; border-color: var(--navy); }
  .cal-default .cal-block-month { display: none; }
  .cal-week-days { grid-template-columns: 1fr; }
  .cal-nav h1, .cal-nav h2 { font-size: 1.05rem; }
  .cal-cell { font-size: .85rem; }
}
.cal-force-month .cal-block-week { display: none; }
.cal-force-week .cal-block-month { display: none; }

/* SAMPLE site sign in */
.pill-grey { background: #eceff3; color: #4a5563; }
.signin-card { margin: 12px 0 18px; }
.signin-card h2 { margin-top: 0; }
.signin-card .btn-sign { font-size: 1.25rem; padding: 18px; }
.signin-job { margin: 6px 0 12px; }

/* Notifications outbox preview (SAMPLE) */
.email-preview { width: 100%; max-width: 420px; height: 560px; border: 1px solid #e3e8ef; border-radius: 4px; background: #f3f5f8; }
.refresh-now { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 6px 0 12px; }
.alert-ok { background: #e7f6ec; color: #11502a; border: 1px solid #b5dfc3; }
.badge { display: inline-block; padding: 1px 8px; border-radius: 10px; background: #e8f1fb; color: #0b2a4a; font-size: .85em; }
.badge-warn { background: #fff4e0; color: #7a4a00; }

/* Persistent worker menu (10 Oct 2026): big tappable buttons, wraps 2x2 on phones, no hamburger. */
.worker-menu {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
  max-width: 760px; margin: 12px auto 4px; padding: 0 16px;
}
.worker-menu.has-admin { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.worker-menu .wm-item {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px;
  text-align: center; background: #fff; border: 2px solid var(--border); border-radius: 12px;
  padding: 8px 6px; text-decoration: none; font-weight: 800; color: var(--navy); line-height: 1.15;
}
.worker-menu .wm-item.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.worker-menu .wm-admin { border-style: dashed; color: var(--muted); }
.wm-badge {
  display: inline-block; min-width: 1.5em; padding: 1px 6px; border-radius: 999px;
  background: var(--accent, #e8a400); color: #fff; font-size: .8rem; font-weight: 800;
}
.worker-menu .active .wm-badge { background: #fff; color: var(--navy); }
@media (max-width: 600px) {
  .worker-menu, .worker-menu.has-admin { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .worker-menu.has-admin .wm-admin { grid-column: 1 / -1; min-height: 44px; }
}
.done-wrap { width: 100%; max-width: 480px; }
.done-wrap .worker-menu { padding: 0; margin: 0 0 16px; }
/* Admin nav person chip */
.adminnav .person-chip, .person-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border: 2px solid var(--border);
  border-radius: 999px; background: #fff; color: var(--navy); font-weight: 800; text-decoration: none; white-space: nowrap;
}
.adminnav a.person-chip:hover { border-color: var(--navy); }
.chip-initials {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: .8rem; letter-spacing: .02em;
}
.chip-static { color: var(--muted); }

/* Toolbox talk library (Library / Presented filter, Present page, Markdown tables) */
.seg { display: inline-flex; gap: 4px; background: #eef3f8; padding: 4px; border-radius: 10px; margin: 6px 0 8px; flex-wrap: wrap; }
.seg-item { padding: 6px 14px; border-radius: 8px; color: var(--navy); text-decoration: none; font-weight: 600; }
.seg-item.active { background: var(--card); box-shadow: var(--shadow); }
.seg-count { color: var(--muted); font-weight: 400; font-size: .85em; margin-left: 2px; }
.btn.btn-sm { padding: 4px 12px; font-size: .9rem; min-height: 0; margin-right: 6px; }
.present-card { max-width: 640px; }
.present-card h1 { margin-top: 0; }
.talk-body em { font-style: italic; }
.talk-body .table-wrap { overflow-x: auto; margin: .6em 0 1em; }
.talk-table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.talk-table th, .talk-table td { border: 1px solid #d5dde6; padding: 6px 8px; text-align: left; vertical-align: top; }
.talk-table th { background: #eef3f8; }
