/* GNSCL Berth Applications — one hand-written stylesheet, tokens first. */

:root {
  --navy-900: #0b2239;
  --navy-800: #12304f;
  --navy-700: #1b4169;
  --sea-600: #0b6e79;
  --sea-700: #095862;
  --sea-50: #e8f4f5;

  --ink: #17212b;
  --ink-2: #3f4d5a;
  --muted: #5d6b78;
  --line: #d6dde4;
  --line-strong: #aeb9c4;
  --bg: #f3f5f7;
  --surface: #ffffff;

  --info: #1d5fa8;     --info-bg: #e8f0fa;
  --success: #1c7440;  --success-bg: #e5f3ea;
  --warning: #8a5300;  --warning-bg: #fdf1dc;
  --danger: #b0302a;   --danger-bg: #fbeaea;
  --neutral: #4a5563;  --neutral-bg: #edf0f3;

  --focus: #f2b705;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(11, 34, 57, .06), 0 1px 3px rgba(11, 34, 57, .06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; color: var(--navy-900); }
h1 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.1rem); letter-spacing: -.01em; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1rem; }
a { color: var(--sea-700); text-underline-offset: 2px; }
a:hover { color: var(--navy-800); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.muted { color: var(--muted); }
.icon { width: 1em; height: 1em; flex: none; }

.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--focus); color: var(--ink); padding: 8px 14px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }

/* --- Header / footer ----------------------------------------------------- */
.site-header { background: var(--navy-900); color: #fff; position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; min-width: 0; }
.brand:hover { color: #fff; }
.brand-logo { display: block; width: 53px; height: 52px; flex: none; object-fit: contain; }
.brand-divider { width: 1px; align-self: stretch; margin: 14px 2px; background: rgba(255, 255, 255, .22); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-text strong { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text span { font-size: .8rem; color: #b8c7d6; }
.site-nav { display: flex; align-items: center; gap: 18px; font-size: .92rem; }
.site-nav a { color: #dfe8f1; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; text-decoration: underline; }
.nav-user { color: #b8c7d6; max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inline-form { display: inline; margin: 0; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: #dfe8f1; cursor: pointer; text-decoration: underline; }
.link-button:hover { color: #fff; }

.main { flex: 1; padding-block: 28px 64px; outline: none; }
.site-footer { background: var(--surface); border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer-inner { padding-block: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-inner p { margin: 0; max-width: 60ch; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: var(--radius-sm);
  border: 1px solid transparent; font: inherit; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--sea-600); color: #fff; }
.btn-primary:hover { background: var(--sea-700); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--navy-800); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--navy-700); color: var(--navy-900); }
.btn-quiet { background: transparent; color: var(--danger); }
.btn-quiet:hover { background: var(--danger-bg); color: var(--danger); }
.btn-on-dark { background: #fff; color: var(--navy-900) !important; text-decoration: none !important; }
.btn-on-dark:hover { background: var(--sea-50); }
.btn-small { min-height: 36px; padding: 6px 12px; font-size: .9rem; }
.btn-large { min-height: 50px; padding: 12px 22px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* --- Cards, notices, chips ---------------------------------------------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }

.notice { border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 20px; border-left: 4px solid; font-weight: 500; }
.notice p { margin: 0; }
.notice-success { background: var(--success-bg); border-color: var(--success); }
.notice-info { background: var(--info-bg); border-color: var(--info); }
.notice-warning { background: var(--warning-bg); border-color: var(--warning); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; white-space: nowrap; border: 1px solid;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip-neutral { color: var(--neutral); background: var(--neutral-bg); border-color: #d3d9df; }
.chip-info { color: var(--info); background: var(--info-bg); border-color: #c6d8ef; }
.chip-success { color: var(--success); background: var(--success-bg); border-color: #bfdfcb; }
.chip-warning { color: var(--warning); background: var(--warning-bg); border-color: #f0d6a8; }
.chip-danger { color: var(--danger); background: var(--danger-bg); border-color: #efc4c2; }

.callout { border-radius: var(--radius); padding: 18px 20px; margin-bottom: 24px; border: 1px solid; }
.callout h2 { font-size: 1.05rem; }
.callout p:last-child { margin-bottom: 0; }
.callout-warning { background: var(--warning-bg); border-color: #f0d6a8; }
.callout-warning h2 { color: var(--warning); }
.meta { color: var(--muted); font-size: .85rem; margin: 0; }

/* --- Page header --------------------------------------------------------- */
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; margin-bottom: 14px; }
.back-link::before { content: "←"; }
.page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 24px; }
.page-header h1 { margin-bottom: .25rem; }
.page-header .chip { margin-top: 6px; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sea-700); margin: 0 0 6px; }
.lede { color: var(--ink-2); font-size: 1.05rem; max-width: 62ch; margin: 0; }

/* --- Forms --------------------------------------------------------------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid + .grid { margin-top: 18px; }
.field { margin: 0; min-width: 0; border: 0; padding: 0; }
.field-wide { grid-column: 1 / -1; }
.label { display: block; font-weight: 600; margin-bottom: 4px; color: var(--ink); padding: 0; }
.optional { font-weight: 400; color: var(--muted); }
.hint { color: var(--muted); font-size: .88rem; margin: 0 0 6px; }
.input {
  display: block; width: 100%; min-height: 44px; padding: 9px 12px;
  font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
.input:hover { border-color: var(--navy-700); }
.input:focus { outline: none; border-color: var(--sea-600); box-shadow: 0 0 0 3px rgba(11, 110, 121, .22); }
textarea.input { resize: vertical; min-height: 72px; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233f4d5a' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 12px 8px; }
.input-group { display: flex; }
.input-group .input:first-of-type { border-top-right-radius: 0; border-bottom-right-radius: 0; flex: 1; min-width: 0; }
.input-group .input-unit { width: 76px; flex: none; border-left: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; background-color: var(--bg); }

.has-error .input { border-color: var(--danger); border-width: 2px; padding: 8px 11px; }
.has-error .input-group .input-unit { border-width: 2px 2px 2px 0; }
.field.has-error { padding-left: 14px; border-left: 4px solid var(--danger); }
.field-error { color: var(--danger); font-weight: 600; font-size: .9rem; margin: 0 0 6px; }

.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 16px; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; padding: 8px 10px; border-radius: var(--radius-sm); border: 1px solid transparent; }
.check:hover { background: var(--bg); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--sea-600); cursor: pointer; }
.check-boxed { border-color: var(--line-strong); background: var(--bg); padding: 14px 16px; font-weight: 600; }
.field > .reveal { margin-top: 12px; }
.js .reveal.is-hidden { display: none; }
.field > .reveal { max-width: 460px; }

.form-group { border: 0; padding: 0; margin: 0 0 28px; }
.form-group legend { font-size: 1.05rem; font-weight: 700; color: var(--navy-900); margin-bottom: 12px; padding: 0; }
.field-spacer { display: block; }

.error-summary { border: 3px solid var(--danger); border-radius: var(--radius); background: #fff; padding: 18px 22px; margin-bottom: 24px; outline: none; }
.error-summary:focus { box-shadow: 0 0 0 3px var(--focus); }
.error-summary h2 { color: var(--danger); font-size: 1.1rem; }
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary li + li { margin-top: 4px; }
.error-summary a { color: var(--danger); font-weight: 600; }
.error-summary p { margin-bottom: 8px; }

/* --- Application form layout -------------------------------------------- */
.form-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.section-nav { position: sticky; top: calc(var(--header-h) + 20px); }
.section-nav ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.section-nav a {
  display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px;
  padding: 9px 12px; margin-left: -2px; border-left: 2px solid transparent;
  color: var(--ink-2); text-decoration: none; font-size: .93rem;
}
.section-nav a:hover { color: var(--navy-900); background: rgba(255,255,255,.6); }
.section-nav a.is-active { border-left-color: var(--sea-600); color: var(--navy-900); font-weight: 600; background: var(--surface); }
.step-num {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: .8rem; font-weight: 700; background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink-2);
}
.is-complete .step-num { background: var(--success-bg); border-color: #bfdfcb; color: var(--success); }
.section-nav .has-error .step-num { background: var(--danger-bg); border-color: #efc4c2; color: var(--danger); }
.step-state { font-size: .78rem; font-weight: 600; }
.step-state svg { width: 16px; height: 16px; color: var(--success); display: block; }
.section-nav .has-error .step-state { color: var(--danger); }

.berth-form { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.form-section h2 { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; margin-bottom: 6px; }
.section-num {
  display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 8px;
  background: var(--navy-900); color: #fff; font-size: .9rem; font-weight: 700;
}
.section-help { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.form-section h2 + .grid, .form-section h2 + p:not(.section-help) { margin-top: 16px; }
.subhead { font-size: .95rem; margin: 24px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-2); }
.terms { margin: 0 0 18px; padding-left: 20px; color: var(--ink-2); }
.terms li + li { margin-top: 4px; }

.action-bar { position: sticky; bottom: 0; z-index: 10; margin-top: 4px; }
.action-bar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 -4px 16px rgba(11,34,57,.08);
  padding: 12px 16px;
}
.action-hint { margin: 0; color: var(--muted); font-size: .88rem; }
.action-hint.is-dirty { color: var(--warning); font-weight: 600; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-left: auto; }

/* --- Application list ---------------------------------------------------- */
.app-group { margin-bottom: 32px; }
.app-group h2 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.count { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--neutral-bg); color: var(--neutral); font-size: .8rem; }
.table-wrap { padding: 0; overflow-x: auto; }
.app-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.app-table th, .app-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.app-table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: #fafbfc; font-weight: 700; }
.app-table tbody tr:last-child > * { border-bottom: 0; }
.app-table tbody tr:hover { background: #fafcfd; }
.app-table tbody th { font-weight: 600; }
.row-link { color: var(--navy-900); text-decoration: none; }
.row-link:hover { text-decoration: underline; }
.sub { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.cell-action { text-align: right; }

.empty-state { max-width: 720px; }
.how-it-works { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.how-it-works li { counter-increment: step; position: relative; padding: 18px 18px 18px 62px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.how-it-works li::before {
  content: counter(step); position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sea-50); color: var(--sea-700); font-weight: 700;
}
.how-it-works strong { display: block; color: var(--navy-900); margin-bottom: 4px; }
.how-it-works span { color: var(--ink-2); font-size: .93rem; }
.how-it-works.compact { margin-top: 20px; }
.how-it-works.compact li { background: var(--bg); }

/* --- Detail page --------------------------------------------------------- */
.status-card { margin-bottom: 20px; border-top: 4px solid var(--info); }
.status-success { border-top-color: var(--success); }
.status-warning { border-top-color: var(--warning); }
.status-danger { border-top-color: var(--danger); }
.status-neutral { border-top-color: var(--neutral); }
.progress { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.progress-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: .88rem; color: var(--muted); padding: 0 6px; }
.progress-step::before { content: ""; position: absolute; top: 9px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.progress-step:first-child::before { display: none; }
.progress-dot { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-strong); }
.progress-step.is-done { color: var(--ink-2); }
.progress-step.is-done::before, .progress-step.is-current::before, .progress-step[class*="is-outcome"]::before { background: var(--sea-600); }
.progress-step.is-done .progress-dot { background: var(--sea-600); border-color: var(--sea-600); }
.progress-step.is-done .progress-dot::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.progress-step.is-current { color: var(--navy-900); font-weight: 700; }
.progress-step.is-current .progress-dot { border-color: var(--info); box-shadow: 0 0 0 4px var(--info-bg); background: var(--info); }
.is-outcome-success { color: var(--success); font-weight: 700; } .is-outcome-success .progress-dot { background: var(--success); border-color: var(--success); }
.is-outcome-warning { color: var(--warning); font-weight: 700; } .is-outcome-warning .progress-dot { background: var(--warning); border-color: var(--warning); }
.is-outcome-danger { color: var(--danger); font-weight: 700; } .is-outcome-danger .progress-dot { background: var(--danger); border-color: var(--danger); }
.status-guidance { font-size: 1.02rem; color: var(--ink); max-width: 70ch; margin: 0; }
.decision { margin: 16px 0 0; padding: 14px 18px; border-radius: var(--radius-sm); border-left: 4px solid; }
.decision p { margin: 0 0 6px; font-weight: 500; }
.decision footer { color: var(--muted); font-size: .85rem; }
.decision-success { background: var(--success-bg); border-color: var(--success); }
.decision-warning { background: var(--warning-bg); border-color: var(--warning); }
.decision-danger { background: var(--danger-bg); border-color: var(--danger); }
.decision-info, .decision-neutral { background: var(--info-bg); border-color: var(--info); }
.status-actions { margin: 18px 0 0; }

.key-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 28px; }
.key-facts div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.key-facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.key-facts dd { margin: 4px 0 0; font-weight: 600; color: var(--navy-900); }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.section-title { font-size: 1.1rem; margin-bottom: 12px; }
.summary-section { margin-bottom: 16px; padding: 20px 24px; }
.summary-section h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.summary-section .section-num { width: 26px; height: 26px; font-size: .8rem; }
.summary-list { margin: 0; }
.summary-list div { display: grid; grid-template-columns: minmax(140px, 36%) 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.summary-list div:first-child { border-top: 0; }
.summary-list dt { color: var(--muted); font-size: .92rem; }
.summary-list dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.detail-side { position: sticky; top: calc(var(--header-h) + 20px); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline-item { position: relative; padding: 0 0 18px 22px; border-left: 2px solid var(--line); margin-left: 6px; }
.timeline-item:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline-item::before { content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--sea-600); }
.timeline-body { margin: 0 0 2px; }

/* --- Landing & auth ------------------------------------------------------ */
.hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 36px; align-items: center; padding-block: 24px 40px; }
.hero h1 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.8rem); margin-bottom: 14px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-card h2 { font-size: 1.05rem; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 8px 0 8px 30px; border-top: 1px solid var(--line); }
.checklist li:first-child { border-top: 0; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 6px; height: 11px; border: solid var(--sea-600); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.how { margin-bottom: 32px; }
.how h2 { margin-bottom: 16px; }
.note ul { margin: 0; padding-left: 20px; color: var(--ink-2); }
.note li + li { margin-top: 4px; }

.auth-panel { max-width: 460px; margin: 16px auto; padding: 32px; }
.auth-panel-wide { max-width: 760px; }
.auth-panel h1 { margin-bottom: 8px; }
.auth-panel .lede { margin-bottom: 24px; font-size: 1rem; }
.auth-panel form > .field { margin-bottom: 18px; }
.auth-switch { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--ink-2); }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 960px) {
  .form-layout, .detail-layout, .hero { grid-template-columns: 1fr; }
  .section-nav { position: static; }
  .section-nav ol { display: flex; overflow-x: auto; border-left: 0; border-bottom: 2px solid var(--line); gap: 4px; }
  .section-nav li { flex: none; }
  .section-nav a { grid-template-columns: 26px auto auto; border-left: 0; margin: 0 0 -2px; border-bottom: 2px solid transparent; }
  .section-nav a.is-active { border-bottom-color: var(--sea-600); background: transparent; }
  .step-title { white-space: nowrap; }
  .detail-side { position: static; }
  .key-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  .card { padding: 18px; }
  .grid, .grid-3 { grid-template-columns: 1fr; }
  .field-spacer { display: none; }
  .nav-user { display: none; }
  .brand-text span { display: none; }
  .brand-logo { width: 43px; height: 42px; }
  .brand-divider { margin-block: 16px; }
  .progress { grid-template-columns: 1fr; gap: 12px; }
  .progress-step { flex-direction: row; text-align: left; }
  .progress-step::before { display: none; }
  .summary-list div { grid-template-columns: 1fr; gap: 2px; }
  .actions { width: 100%; }
  .actions .btn { flex: 1; }
  .page-header > form, .page-header > form .btn { width: 100%; }

  /* Stack the table into labelled rows */
  .app-table thead { display: none; }
  .app-table, .app-table tbody, .app-table tr, .app-table th, .app-table td { display: block; width: 100%; }
  .app-table tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .app-table tbody tr:last-child { border-bottom: 0; }
  .app-table th, .app-table td { border: 0; padding: 3px 0; }
  .app-table td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: .85rem; }
  .cell-action { text-align: left; padding-top: 10px !important; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* --- Signature pad ------------------------------------------------------- */
.signature-field { margin-top: 18px; }
.signature-pad {
  position: relative; width: 100%; max-width: 640px; aspect-ratio: 5 / 2;
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background-image: linear-gradient(#fbfcfd, #fff);
  overflow: hidden;
}
.has-error .signature-pad { border: 2px solid var(--danger); }
.signature-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; z-index: 2; border-radius: inherit; }
.signature-canvas:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.signature-saved { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; }
.js .signature-saved { display: none; }  /* JS redraws it into the canvas */
.signature-line { position: absolute; left: 6%; right: 6%; bottom: 24%; border-bottom: 1px solid var(--line-strong); z-index: 0; }
.signature-line span { position: absolute; left: 0; bottom: 4px; color: var(--muted); font-size: .9rem; }
.signature-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: #b3bec9; font-size: 1.1rem; letter-spacing: .04em; z-index: 0; pointer-events: none; }
.signature-pad.is-signed .signature-placeholder,
.signature-pad:has(.signature-saved) .signature-placeholder { display: none; }
.signature-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 640px; margin-top: 8px; flex-wrap: wrap; }
.signature-status { margin: 0; font-size: .9rem; color: var(--muted); }
.signature-status.is-signed { color: var(--success); font-weight: 600; }
.signature-status.is-warning { color: var(--warning); font-weight: 600; }
.signature-image { display: block; max-width: 300px; width: 100%; height: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }

/* ===========================================================================
   Staff
   ======================================================================== */
:root {
  /* Decision chart series (validated: light surface, CVD-safe; amber needs the table view). */
  --chart-approved: #2e8b57;
  --chart-deferred: #d99a1e;
  --chart-rejected: #c8433b;
}
.site-header-staff { background: #0a1a2b; border-bottom: 3px solid var(--sea-600); }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--focus); color: var(--ink); font-size: .75rem; font-weight: 700; margin-left: 4px; text-decoration: none; }
.chip-sla .icon { width: 14px; height: 14px; }
.chip-sla::before { display: none; }
.chip-note { font-weight: 400; opacity: .8; }
.header-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; }
.paused-note { display: block; margin-top: 4px; color: var(--warning); font-weight: 600; font-size: .95rem; }
.sub-inline { color: var(--muted); font-size: .85rem; font-weight: 400; }
.callout-info { background: var(--info-bg); border-color: #c6d8ef; }
.callout-success { background: var(--success-bg); border-color: #bfdfcb; }
.callout-danger { background: var(--danger-bg); border-color: #efc4c2; }
.callout-neutral { background: var(--neutral-bg); border-color: #d3d9df; }
.btn-quiet-neutral { background: transparent; color: var(--ink-2); }
.btn-quiet-neutral:hover { background: var(--neutral-bg); color: var(--ink); }

/* KPI row */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 24px; }
.kpi { display: flex; flex-direction: column; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; min-width: 0; }
a.kpi:hover { border-color: var(--sea-600); color: var(--ink); }
.kpi-label { display: flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.kpi-value { font-size: 2.1rem; font-weight: 700; line-height: 1.1; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.kpi-value small { font-size: 1.1rem; font-weight: 600; margin-left: 1px; }
.kpi-sub { font-size: .8rem; color: var(--muted); }
.kpi-alert { border-color: #efc4c2; border-top: 4px solid var(--danger); padding-top: 13px; }
.kpi-alert .kpi-label { color: var(--danger); }
.kpi-alert .icon { width: 15px; height: 15px; }

/* Dashboard layout */
.dash-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.dash-main, .dash-side { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.card-flush { padding: 0; overflow: hidden; }
.card-head { padding: 18px 20px 12px; }
.card-head h2 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 2px; }
.card-head-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; padding: 0 0 12px; }
.card-sub { color: var(--muted); font-size: .88rem; margin: 0; }
.card-flush .table-wrap { border-top: 1px solid var(--line); }
.card-foot { border-top: 1px solid var(--line); padding: 12px 20px; }
.card-foot summary, .side-form summary, .chart-table summary { cursor: pointer; font-weight: 600; color: var(--sea-700); }
.mini-list { list-style: none; margin: 10px 0 0; padding: 0; }
.mini-list li { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; padding: 8px 0; border-top: 1px solid var(--line); }
.mini-list .sub { display: inline; flex: 1; }
.row-breached { background: #fff7f6; }
.row-breached > th:first-child { box-shadow: inset 4px 0 0 var(--danger); }
.empty-inline { display: flex; align-items: center; gap: 12px; padding: 20px; border-top: 1px solid var(--line); }
.empty-inline p { margin: 0; color: var(--ink-2); }
.empty-icon { width: 28px; height: 28px; color: var(--success); flex: none; }
.card.empty-inline { border-top: 1px solid var(--line); }

/* Chart */
.chart-card h2 { font-size: 1.1rem; margin-bottom: 2px; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0 0; padding: 0; font-size: .85rem; color: var(--ink-2); }
.legend li { display: flex; align-items: center; gap: 6px; }
.swatch { width: 12px; height: 12px; border-radius: 3px; }
.swatch-approved { background: var(--chart-approved); }
.swatch-deferred { background: var(--chart-deferred); }
.swatch-rejected { background: var(--chart-rejected); }
.chart { position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.grid-line { stroke: #e6ebf0; stroke-width: 1; }
.grid-line.baseline { stroke: var(--line-strong); }
.axis-label { fill: var(--muted); font-size: 11px; font-family: var(--font); }
.bar-total { fill: var(--ink-2); font-size: 11px; font-weight: 600; font-family: var(--font); }
.seg-approved { fill: var(--chart-approved); }
.seg-deferred { fill: var(--chart-deferred); }
.seg-rejected { fill: var(--chart-rejected); }
.bar .hit { fill: transparent; }
.bar { cursor: default; outline: none; }
.bar:hover .hit, .bar:focus .hit { fill: rgba(11, 34, 57, .05); }
.bar.is-current .axis-label { fill: var(--navy-900); font-weight: 700; }
.chart-tip {
  position: absolute; z-index: 5; pointer-events: none; min-width: 150px;
  background: var(--navy-900); color: #fff; border-radius: var(--radius-sm); padding: 8px 10px;
  font-size: .82rem; box-shadow: 0 4px 14px rgba(11,34,57,.25); transform: translate(-50%, -100%); margin-top: -8px;
}
.chart-tip strong { display: block; margin-bottom: 4px; }
.chart-tip span { display: flex; justify-content: space-between; gap: 12px; }
.chart-table { margin-top: 12px; }
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin-top: 8px; }
.data-table th, .data-table td { padding: 6px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; }

/* Side lists */
.dash-side h2, .side-card h2 { font-size: 1rem; margin-bottom: 12px; }
.berth-list, .activity { list-style: none; margin: 0; padding: 0; }
.berth-list li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.berth-list li:first-child { border-top: 0; padding-top: 0; }
.date-block { display: grid; place-items: center; width: 46px; height: 50px; flex: none; border-radius: 8px; background: var(--sea-50); color: var(--sea-700); line-height: 1; }
.date-day { font-size: 1.2rem; font-weight: 700; }
.date-mon { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.berth-info { min-width: 0; }
.berth-info a { font-weight: 600; }
.activity-item { padding: 10px 0; border-top: 1px solid var(--line); }
.activity-item:first-child { border-top: 0; padding-top: 0; }
.activity-item p { margin: 0; }
.activity-body { color: var(--ink-2); font-size: .9rem; margin: 2px 0 !important; }

/* Queue filters */
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 18px; padding: 16px 20px; margin-bottom: 14px; }
.filters .field { min-width: 180px; }
.field-grow { flex: 1; min-width: 220px !important; }
.filter-check { padding-bottom: 10px; }
.filter-actions { display: flex; gap: 8px; }
.results-count { color: var(--muted); font-size: .9rem; margin: 0 0 10px; }

/* Staff application page */
.detail-layout-staff { grid-template-columns: minmax(0, 1fr) 360px; }
.action-card { border-top: 4px solid var(--sea-600); margin-bottom: 24px; }
.action-card h2 { font-size: 1.2rem; }
.action-card .field + .field, .action-card .grid + .field, .action-card fieldset + .grid, .action-card fieldset + .field { margin-top: 18px; }
.option-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.option-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 14px 44px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); cursor: pointer; background: #fff; }
.option-card:hover { border-color: var(--navy-700); }
.option-card input { position: absolute; left: 14px; top: 16px; width: 18px; height: 18px; margin: 0; accent-color: var(--sea-600); }
.option-card:has(input:checked) { border: 2px solid var(--sea-600); padding: 13px 13px 13px 43px; background: var(--sea-50); }
.option-success:has(input:checked) { border-color: var(--success); background: var(--success-bg); }
.option-warning:has(input:checked) { border-color: var(--warning); background: var(--warning-bg); }
.option-danger:has(input:checked) { border-color: var(--danger); background: var(--danger-bg); }
.option-card:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.option-title { font-weight: 700; color: var(--navy-900); }
.option-desc { font-size: .85rem; color: var(--ink-2); }
.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.form-actions .meta { flex: 1; min-width: 200px; }
.assessment { background: var(--bg); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 18px; border-left: 4px solid var(--info); }
.assessment p { margin: 0 0 4px; }
.js [data-when-decision].is-hidden { display: none; }
.detail-side-staff { display: flex; flex-direction: column; gap: 16px; }
.side-card { padding: 18px 20px; }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.facts div:first-child { border-top: 0; padding-top: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.contact-name { font-weight: 600; margin-bottom: 6px; }
.contact-line { margin: 0 0 2px; font-size: .92rem; overflow-wrap: anywhere; }
.side-form { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.side-form form { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; align-items: flex-start; }
.side-form .field { width: 100%; }
.note-form { margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.note-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 8px 0 4px; }
.check-compact { padding: 4px 6px 4px 0; font-size: .9rem; }
.check-compact input { width: 18px; height: 18px; }
.check-described { padding: 8px 0; }
.check-described .sub { font-size: .82rem; }
.timeline-tags { margin: 0 0 4px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 4px; }
.tag-internal { background: var(--neutral-bg); color: var(--neutral); }
.tag-shared { background: var(--info-bg); color: var(--info); }
.tag-call { background: var(--sea-50); color: var(--sea-700); }
.tag-sla { background: var(--danger-bg); color: var(--danger); }
.timeline-call::before { border-color: var(--sea-700); background: var(--sea-50); }
.timeline-sla::before { border-color: var(--danger); }
.fact-highlight { border-color: #bfdfcb !important; background: var(--success-bg) !important; }

/* Staff admin */
.users-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.user-card { padding: 18px 20px; margin-bottom: 12px; }
.user-card.is-inactive { opacity: .7; background: #fafbfc; }
.user-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.user-head h3 { margin: 0; }
.user-head p { margin: 0; }
.user-form { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.user-form fieldset { border: 0; margin: 0; padding: 0; }
.role-checks { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.user-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.user-actions .check { margin-right: auto; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.issued h2 { color: var(--success); }
.temp-password code { font-size: 1.3rem; font-weight: 700; letter-spacing: .06em; background: #fff; padding: 6px 12px; border-radius: var(--radius-sm); border: 1px solid #bfdfcb; user-select: all; }

/* Agent notifications */
.nav-notifications { display: inline-flex; align-items: center; }
.notification-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; max-width: 800px; }
.notification { padding: 16px 20px; border-left: 4px solid var(--line-strong); }
.notification-success { border-left-color: var(--success); }
.notification-warning { border-left-color: var(--warning); }
.notification-danger { border-left-color: var(--danger); }
.notification-info { border-left-color: var(--info); }
.notification.is-unread { background: #fbfdff; }
.notification-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.notification h2 { font-size: 1.02rem; margin-bottom: 6px; }
.notification p { margin-bottom: 4px; }

@media (max-width: 1100px) {
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .dash-layout, .detail-layout-staff, .users-layout { grid-template-columns: 1fr; }
  .option-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-value { font-size: 1.7rem; }
  .facts div { grid-template-columns: 1fr; gap: 0; }
}

/* A field plus its "not applicable" tick */
.field-with-toggle { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.input:disabled { background: var(--bg); color: var(--muted); cursor: not-allowed; }

/* Pending (on hold): its own tone so it never reads as "in review" or "deferred" */
:root { --hold: #5b3f99; --hold-bg: #f1edf9; --hold-line: #d8cdef; }
.chip-hold { color: var(--hold); background: var(--hold-bg); border-color: var(--hold-line); }
.status-hold { border-top-color: var(--hold); }
.is-outcome-hold { color: var(--hold); font-weight: 700; }
.is-outcome-hold .progress-dot { background: var(--hold); border-color: var(--hold); }
.decision-hold { background: var(--hold-bg); border-color: var(--hold); }
.callout-hold { background: var(--hold-bg); border-color: var(--hold-line); }
.option-hold:has(input:checked) { border-color: var(--hold); background: var(--hold-bg); }
.notification-hold { border-left-color: var(--hold); }
.kpi-hold { border-top: 4px solid var(--hold); padding-top: 13px; }
.action-card-hold { border-top-color: var(--hold); }
.assessment-hold { border-left-color: var(--hold); }
.date-block-hold { background: var(--hold-bg); color: var(--hold); }
.card-link { margin: 12px 0 0; font-size: .9rem; }
.option-cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1200px) { .option-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .option-cards-4 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Terminal Manager "Notes to agent" */
.notes-to-agent { margin-top: 18px; padding: 14px 16px; background: var(--warning-bg); border-radius: var(--radius-sm); border: 1px solid #f0d6a8; }
.notes-to-agent.has-error { border-left-width: 4px; }
.btn-return { border-color: #d9a441; color: var(--warning); }
.btn-return:hover { border-color: var(--warning); color: #6b4000; background: var(--warning-bg); }

/* Roles & permissions */
.matrix { width: 100%; border-collapse: collapse; font-size: .92rem; }
.matrix th, .matrix td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.matrix thead th { background: #fafbfc; border-bottom: 1px solid var(--line-strong); }
.matrix-perm { min-width: 260px; font-weight: 600; }
.matrix-perm .sub { font-weight: 400; max-width: 46ch; }
.matrix-role { text-align: center !important; min-width: 110px; }
.matrix-role a { font-weight: 700; color: var(--navy-900); }
.matrix-cell { text-align: center !important; vertical-align: middle !important; }
.matrix-yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--success-bg); color: var(--success); }
.matrix-yes .icon { width: 15px; height: 15px; }
.matrix-no { color: var(--line-strong); }
.matrix-group th { background: var(--bg); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-block: 7px; }
.roles-title { margin-top: 28px; display: flex; align-items: center; gap: 10px; }
.role-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.role-card { display: flex; flex-direction: column; padding: 18px 20px; }
.role-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.role-card-head h3 { margin: 0; }
.role-desc { color: var(--ink-2); font-size: .92rem; margin-bottom: 8px; }
.role-actions { margin: auto 0 0; padding-top: 12px; }
.role-card-agent { background: #fafbfc; border-style: dashed; }
.agent-abilities { margin: 0; padding-left: 18px; font-size: .9rem; color: var(--ink-2); }
.agent-abilities li + li { margin-top: 4px; }
.role-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.role-form { max-width: 760px; }
.role-side { display: flex; flex-direction: column; gap: 16px; }
.perm-fieldset { border: 0; padding: 0; margin: 0; }
.perm-group { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 14px 8px; margin-top: 10px; }
.perm-group-title { margin: 6px 0 2px; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.perm-option { border-top: 1px solid var(--line); border-radius: 0; }
.perm-group-title + .perm-option { border-top: 0; }
.member-list { list-style: none; margin: 0; padding: 0; }
.member-list li { padding: 8px 0; border-top: 1px solid var(--line); }
.member-list li:first-child { border-top: 0; padding-top: 0; }
.danger-zone { border-color: #efc4c2; }
.danger-zone h2 { color: var(--danger); }
.danger-zone.has-error { border-width: 2px; }
@media (max-width: 960px) { .role-layout { grid-template-columns: 1fr; } }

.check.is-fixed { opacity: .65; cursor: not-allowed; }
.user-locked { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

/* Account security pages */
.forgot-link { margin: 14px 0 0; text-align: center; font-size: .95rem; }
.verify-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.auth-panel .stack .field { margin: 0; }
a.nav-user { color: #b8c7d6; text-decoration: none; }
a.nav-user:hover, a.nav-user[aria-current="page"] { color: #fff; text-decoration: underline; }

/* Footer credit line */
.footer-credit { border-top: 1px solid var(--line); padding-block: 12px; }
.footer-credit p { margin: 0; font-size: .8rem; color: var(--muted); text-align: center; }
.footer-credit a { color: var(--ink-2); font-weight: 600; }
.footer-credit a:hover { color: var(--sea-700); }

/* Senior Manager review */
.action-card-sm { border-top-color: var(--navy-700); }
.assessment-sm { border-left-color: var(--navy-700); }

/* Agent account requests */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 14px; border-bottom: 2px solid var(--line); }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; margin-bottom: -2px; color: var(--ink-2); text-decoration: none; border-bottom: 2px solid transparent; font-weight: 600; }
.tab:hover { color: var(--navy-900); }
.tab.is-active { color: var(--navy-900); border-bottom-color: var(--sea-600); }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.address-cell { white-space: pre-line; font-size: .9rem; color: var(--ink-2); }
.invite-link code { display: block; font-size: .9rem; background: #fff; padding: 8px 12px; border-radius: var(--radius-sm); border: 1px solid #bfdfcb; overflow-wrap: anywhere; user-select: all; }
