:root{color-scheme:light;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#172b45;background:#eef4fc;font-size:16px;line-height:1.55}*{box-sizing:border-box}body{margin:0;background:radial-gradient(at 5% 0%,#d3f5ef,transparent 48%),radial-gradient(at 95% 20%,#e8e0ff,transparent 50%),#eef4fc;min-height:100vh}.shell{width:min(100% - 28px,850px);margin:28px auto 60px}.hero,.panel{border:1px solid #c2cfdf;border-radius:22px;background:linear-gradient(135deg,#fff,#f4f8ff);padding:clamp(18px,4vw,30px);margin:18px 0;box-shadow:0 8px 24px #17315312}.hero{border-top:5px solid #08796e}.eyebrow{font-weight:750;letter-spacing:.07em;color:#235c6d}h1{font-size:clamp(2rem,6vw,3rem);line-height:1.15;margin:8px 0}h2{font-size:1.35rem;line-height:1.3}h3{font-size:1.08rem}p{overflow-wrap:anywhere}nav{display:flex;flex-wrap:wrap;gap:12px}a{color:#2345a7;font-weight:700;text-underline-offset:3px}nav a{padding:10px 14px;min-height:44px;border-radius:12px;background:#e9efff}.notice{background:#edf4fc;border:1px solid #bacbdf;border-radius:14px;padding:16px 20px;margin:16px 0}.notice p:last-child{margin-bottom:0}.warning{background:#fff4d6;border-color:#c28b1b;color:#523c0a}.error{background:#fff0f2;border-color:#b53a53;color:#77243a}.success{border-top:5px solid #08796e}.privacy{background:#eef8f5;color:#183e38}.reference{font-size:1.6rem;font-weight:800;letter-spacing:.04em;color:#075e53}.entry,.choices{display:grid;gap:12px}label,legend{font-weight:650}label:not(.check){display:grid;gap:7px}input,select,textarea,button,.button{font:inherit}input:not([type=checkbox]),select,textarea{width:100%;min-width:0;min-height:46px;border:1px solid #7187a3;border-radius:10px;background:#fff;color:#172b45;padding:10px 12px}textarea{resize:vertical;min-height:110px}fieldset{border:1px solid #9bb0c8;border-radius:12px;padding:16px;display:grid;gap:14px;min-width:0}input[type=checkbox]{width:21px;height:21px;flex:none;accent-color:#08796e}.check{display:flex;align-items:flex-start;gap:12px;padding:10px 0;min-height:44px}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;max-width:100%;padding:11px 22px;border:1px solid #3658a4;border-radius:14px;background:linear-gradient(#9bc9ff 0%,#3975dd 12%,#244ba8 55%,#1c3f93);box-shadow:inset 0 2px 0 #ffffffa6,inset 0 -3px 0 #102f73,0 4px 0 #193371;color:#fff;font-weight:750;text-decoration:none;cursor:pointer;line-height:1.4;word-break:normal;overflow-wrap:normal;text-align:center}.emerald{background:linear-gradient(#a4f3df 0%,#158e7b 13%,#076456 60%,#075548);border-color:#076456;box-shadow:inset 0 2px 0 #ffffffb3,inset 0 -3px 0 #034a3f,0 4px 0 #06463e}.violet{background:linear-gradient(#ddd0ff 0%,#8655cd 12%,#6234a4 60%,#4c278b);border-color:#61349f;box-shadow:inset 0 2px 0 #ffffffb3,inset 0 -3px 0 #402074,0 4px 0 #392066}button:active,.button:active{transform:translateY(2px)}:focus-visible{outline:3px solid #5b38b5;outline-offset:4px}.help{font-size:.94rem;color:#405772;margin-top:0}input[type=file]{white-space:normal;overflow-wrap:anywhere}input::file-selector-button{font:inherit;padding:8px;border:1px solid #879ab2;border-radius:8px;background:#e8f0fd;color:#172b45;margin-right:10px}button:disabled{cursor:wait;opacity:.8}[hidden]{display:none!important}@media(min-width:640px){.choices{grid-template-columns:1fr 1fr;align-items:end}.choices button{grid-column:1/-1;justify-self:start}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.preserve-lines{white-space:pre-wrap}.case-tools{display:flex;gap:10px;flex-wrap:wrap}.audit-detail{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;font:inherit}.entry+.entry{border-top:1px solid #c2cfdf;padding-top:22px;margin-top:24px}.entry{min-width:0}.option-list{display:grid;gap:10px}.option-list fieldset{background:#f4f8ff}

.action-panel{margin:14px 0;border:1px solid #b9c9dc;border-radius:14px;overflow:clip;background:#fff}.action-panel>summary{cursor:pointer;padding:14px 16px;min-height:48px;font-weight:750;background:linear-gradient(#fff,#e6efff);color:#172b45}.action-panel:nth-of-type(even)>summary{background:linear-gradient(#fff,#e0f5ef)}.action-panel>form{padding:18px}.case-tools{margin:18px 0}.case-tools>button{flex:1 1 160px}.case-tools>form{margin:0;border:0;padding:0;flex:1 1 200px}

.selected-label{display:block;white-space:normal;overflow-wrap:anywhere;font-size:.92rem;font-weight:500;color:#294b70;line-height:1.5}

.rose{background:linear-gradient(#ffc7d4 0%,#b52d50 13%,#8d1e3d 60%,#771832);border-color:#86203c;box-shadow:inset 0 2px 0 #ffffffb3,inset 0 -3px 0 #68132b,0 4px 0 #5b1127}input::placeholder,textarea::placeholder{color:#52627a;opacity:1}

/* Public channel header and availability. */
.saambou-public .hero {
  background: linear-gradient(120deg, #fff 35%, #eef7ff 75%, #e5f7f0);
  border-top-color: #08796e;
}
.public-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #cad8e7;
}
.public-toolbar nav { gap: 10px; }
.public-toolbar a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--glass-edge);
  border-radius: 13px;
  color: #182643;
  background:
    radial-gradient(ellipse at 32% 0%, #fff 0%, #ffffffa6 35%, transparent 68%),
    linear-gradient(180deg, var(--glass-top), var(--glass-body) 54%, var(--glass-base));
  box-shadow: inset 0 2px #fff, inset 0 -2px #ffffff80,
    0 4px var(--glass-edge), 0 7px 13px var(--glass-glow);
  text-decoration: none;
}
.public-toolbar a:hover { text-decoration: underline; }
.public-toolbar a:active {
  transform: translateY(2px);
  box-shadow: inset 0 1px #fff, 0 2px var(--glass-edge);
}
.public-toolbar a[aria-current]::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.public-toolbar .home-link {
  --glass-top: #d8fff7;
  --glass-body: #9bf4e7;
  --glass-base: #6edbcc;
  --glass-edge: #25978e;
  --glass-glow: #38d8bf55;
}
.public-toolbar a[lang="af"] {
  --glass-top: #f5eaff;
  --glass-body: #e3c8ff;
  --glass-base: #cea8f8;
  --glass-edge: #8753be;
  --glass-glow: #b86bfa55;
}
.public-toolbar a[lang="en"] {
  --glass-top: #fff3fa;
  --glass-body: #ffc9e8;
  --glass-base: #ffa9d7;
  --glass-edge: #ba558e;
  --glass-glow: #ff7fbd55;
}
.public-brand {
  display: grid;
  grid-template-columns: clamp(42px, 10vw, 74px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 3vw, 24px);
  padding-top: 20px;
}
.public-brand img { width: 100%; height: auto; }
.public-brand p { margin: 0; }
.public-brand .eyebrow { font-size: .92rem; letter-spacing: .035em; }
.channel-closed { background: #eaf1fb; color: #203958; }
.channel-closed h2 { margin-top: 0; }

/* Shared Saam Bou glass surfaces. */
body {
  background:
    radial-gradient(ellipse at 4% 8%, #8de8db 0%, transparent 45%),
    radial-gradient(ellipse at 98% 12%, #ceb4ff 0%, transparent 44%),
    radial-gradient(ellipse at 78% 92%, #ffd2e2 0%, transparent 48%),
    #edf4ff;
}
.hero, .saambou-public .hero, .panel {
  background: linear-gradient(145deg,#ffffffe8,#f5f8ff9e);
  border: 1px solid #fff;
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px #253d6529, 0 16px 36px #2b3c6d26;
}
.hero, .saambou-public .hero {
  border-top: 4px solid #08796e;
}
fieldset, .action-panel, .option-list fieldset {
  background: #f4f7fd;
}
.action-panel > summary {
  background: linear-gradient(180deg,#fff,#e2eaff);
}
input:not([type=checkbox]), select, textarea {
  box-shadow: inset 0 2px 4px #233c6312;
}
.hero nav { row-gap: 14px; }
button, button.violet, button.emerald, button.rose, .button, .hero nav a:not([lang]) {
  --sb-top: #e6f8ff;
  --sb-mid: #a6dcff;
  --sb-bottom: #81c5ff;
  --sb-edge: #3b78ad;
  background:
    radial-gradient(ellipse at 32% 0%, #fff 0%, #ffffff80 32%, transparent 67%),
    linear-gradient(180deg,var(--sb-top),var(--sb-mid) 55%,var(--sb-bottom));
  color: #14243c;
  border: 1px solid var(--sb-edge);
  box-shadow: inset 0 2px #fff, inset 0 -2px #ffffff80,
    0 3px var(--sb-edge), 0 7px 13px #243e7029;
  font-weight: 750;
}
.hero nav a:not([lang]) { --sb-top:#e2fffa; --sb-mid:#a0f4e4; --sb-bottom:#75dfce; --sb-edge:#298d80; }
#show-forms { --sb-top:#fff6dc; --sb-mid:#ffe0a1; --sb-bottom:#ffc875; --sb-edge:#9d621e; }
button.violet { --sb-top:#f7eeff; --sb-mid:#dec6ff; --sb-bottom:#c9a7fb; --sb-edge:#7951ac; }
button.emerald { --sb-top:#e5ffec; --sb-mid:#b2efbe; --sb-bottom:#89dd9d; --sb-edge:#3d8351; }
button.rose { --sb-top:#fff1f7; --sb-mid:#ffc7dc; --sb-bottom:#f6a7c6; --sb-edge:#aa4b72; }
button:not(:disabled):hover, .button:hover, .hero nav a:not([lang]):hover {
  text-decoration: underline;
  text-underline-offset: .16em;
}
#workspace > h2 { margin-top: 0; }
.worklist-filters { margin: 0 0 12px; }
.worklist-filters > button { justify-self: start; margin-bottom: 4px; }
@media (min-width: 640px) {
  .worklist-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .worklist-filters > button { grid-column: 1 / -1; }
}

/* Staff workspace and public contribution layout. */
body.saambou-staff .shell { width: min(100% - 32px, 1520px); }
.saambou-staff .hero { display: grid; gap: 8px; }
.saambou-staff .hero h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.saambou-staff .hero p { margin: 0; }
.saambou-staff .hero nav { margin-top: 10px; }
.worklist-layout { display: grid; gap: 24px; }
.worklist-filter-panel { min-width: 0; }
.worklist-filter-panel summary { min-height: 44px; padding: 9px 0; font-weight: 750; cursor: pointer; }
.worklist-filters { grid-template-columns: minmax(0, 1fr); gap: 9px; }
.worklist-filters > button { grid-column: auto; }
.worklist-results { min-width: 0; }
.worklist-count { margin: 0 0 12px; color: #29445f; font-weight: 750; }
.worklist-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 4px;
  border-top: 1px solid #b6c9db;
}
.worklist-row h3, .worklist-row p { margin: 0; }
.worklist-row h3 { overflow-wrap: anywhere; }
.worklist-row p:last-child { color: #314c66; font-size: .875rem; }
.worklist-badges { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px 0; }
.worklist-badges span { padding: 2px 8px; border-radius: 7px; background: #ece6fc; color: #392663; font-size: .82rem; font-weight: 700; }
.worklist-badges .worklist-status { background: #d5f5eb; color: #134e49; }
.worklist-badges .worklist-priority { background: #ffedc7; color: #654010; }
.saambou-public .shell { width: min(100% - 32px, 1120px); }
.public-intake { display: grid; gap: 16px; align-items: start; }
.public-intake > .entry, .public-intake aside > :first-child { margin-top: 0; }
@media (min-width: 880px) {
  .worklist-layout { grid-template-columns: minmax(230px, 300px) minmax(0, 1fr); }
  .worklist-results { padding-left: 24px; border-left: 1px solid #b6c9db; }
  .public-intake { grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr); gap: 22px; }
  .public-intake .choices { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 450px) {
  .worklist-row { grid-template-columns: minmax(0, 1fr); }
  .worklist-row button { justify-self: start; }
}

/* Compact staff settings and case actions. */
.saambou-staff #workspace { padding: clamp(14px, 2vw, 24px); }
.saambou-staff #workspace p { margin-block: .35rem .6rem; }
.saambou-staff #workspace h3 { margin-block: .65rem .3rem; }
.compact-settings { gap: 12px; }
.compact-settings > h3 { border-top: 1px solid #b6c9db; padding-top: 12px; }
.compact-settings > details { min-width: 0; }
.compact-settings > button, .recipient-row > button { justify-self: start; }
.recipient-row { align-items: end; margin: 8px 0; }
.saambou-staff .action-panel { margin: 8px 0; }
.saambou-staff .action-panel > summary { padding: 9px 12px; min-height: 44px; }
.saambou-staff .action-panel > form { padding: 12px; }
@media (min-width: 720px) {
  .compact-settings { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .compact-settings > :is(h3,p,details,button) { grid-column: 1 / -1; }
  .recipient-row { grid-template-columns: minmax(0,1fr) minmax(0,2fr); }
  .recipient-row > button { grid-column: 1 / -1; }
}
@media (min-width: 1150px) {
  .compact-settings { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

.desk-header {
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap:14px 24px; padding:14px 18px; border-radius:20px;
  background:linear-gradient(125deg,#fff,#e5f4ffb8);
  border:1px solid #fff; box-shadow:0 8px 28px #263c6229;
}
.desk-brand { display:flex; align-items:center; gap:12px; }
.desk-brand img { width:32px; height:auto; }
.desk-brand p { margin:0; font-size:.78rem; }
.desk-brand h1 { margin:0; font-size:1.65rem; }
.desk-header nav { gap:9px; }
.desk-header nav button,.desk-header nav a { min-height:44px; padding:8px 12px; }
.case-back { margin-bottom:16px; }
.case-desk { display:grid; gap:18px; }
.case-content,.case-actions { min-width:0; overflow-wrap:anywhere; }
.case-content > h2 { margin-top:0; }
.case-actions > h3:first-child { margin-top:0; }
.case-actions .case-tools { margin-block:8px 16px; }
@media(min-width:900px) {
  .case-desk { grid-template-columns:minmax(0, 1.65fr) minmax(0, 1fr); align-items:start; }
  .case-actions { border-left:1px solid #b6c9db; padding-left:18px; }
}

/* Guided product workspace — deliberately replaces the former field-first staff UI. */
  :root {
    --sb-ink: #10233f;
    --sb-muted: #526780;
    --sb-canvas: #f3f7ff;
    --sb-card: #ffffff;
    --sb-line: #cfdaea;
    --sb-blue: #2f66f5;
    --sb-teal: #078c80;
    --sb-violet: #7042d5;
    --sb-amber: #b76e00;
    --sb-shadow: 0 12px 30px #1d37661c, 0 2px 6px #1d376610;
    --sb-radius: 18px;
  }
  body.saambou-staff {
    color: var(--sb-ink);
    background:
      radial-gradient(circle at 0 0, #d7f8ef 0, transparent 32rem),
      radial-gradient(circle at 100% 0, #ded7ff 0, transparent 30rem),
      linear-gradient(160deg, #f8fbff, var(--sb-canvas));
  }
  .skip-link { position: fixed; inset: .5rem auto auto .5rem; z-index: 10; transform: translateY(-180%); padding: .7rem 1rem; border-radius: .75rem; background: #10233f; color:#fff; }
  .skip-link:focus { transform: translateY(0); }
  body.saambou-staff .shell { width:min(100% - 24px, 1320px); margin:12px auto 46px; }
  .desk-header {
    position:sticky; inset-block-start: max(8px, env(safe-area-inset-top, 0px)); z-index:5;
    display:grid; grid-template-columns:minmax(0,1fr); gap:10px; padding:12px;
    border:1px solid #fff; border-radius:var(--sb-radius); background:#fffffff2; box-shadow:var(--sb-shadow);
  }
  .desk-brand { gap:10px; min-width:0; }
  .desk-brand img { width:36px; flex:none; }
  .desk-brand .eyebrow { font-size:.68rem; letter-spacing:.1em; color:var(--sb-teal); font-weight:800; }
  .desk-brand h1 { font-size:1.22rem; letter-spacing:-.03em; }
  .desk-subtitle { display:none; margin:0; font-size:.8rem; color:var(--sb-muted); }
  .desk-header nav { display:flex; flex-wrap:nowrap; gap:7px; overflow-x:auto; padding-bottom:2px; scrollbar-width:thin; }
  .desk-header nav > :is(button,a) {
    flex:none; min-block-size:40px; padding:7px 12px; border-radius:12px; border:1px solid #c9d8ef;
    color:#19314f; background:#fff; box-shadow:0 2px 0 #b6c7dc; font-size:.86rem; font-weight:780; text-decoration:none;
  }
  .desk-header nav > button.nav-home { color:#fff; border-color:#2855ca; background:linear-gradient(180deg,#6d9cff,#2f66f5 62%,#254fc4); box-shadow:inset 0 1px #ffffff8f,0 3px 0 #2349af; }
  .desk-header nav > button.violet { color:#fff; border-color:#5a31ac; background:linear-gradient(180deg,#a98aff,#7042d5 62%,#5630a7); box-shadow:inset 0 1px #ffffff8f,0 3px 0 #4a288f; }
  .desk-header nav > button.emerald { color:#fff; border-color:#087c71; background:linear-gradient(180deg,#5ed3be,#078c80 62%,#05685f); box-shadow:inset 0 1px #ffffff8f,0 3px 0 #05584f; }
  .desk-header nav > .portal-link { background:#eef5ff; }
  .desk-header nav > :is(button,a):active { transform:translateY(2px); box-shadow:0 1px 0 #98aec7; }
  body.saambou-staff #feedback { margin:10px 0; padding:9px 13px; border-radius:12px; font-size:.9rem; background:#fff; color:var(--sb-muted); border-color:var(--sb-line); }
  body.saambou-staff #workspace { margin:0; padding:16px; border:0; border-radius:var(--sb-radius); background:transparent; box-shadow:none; }
  body.saambou-staff .panel { background:transparent; }
  .field { display:grid; gap:5px; min-width:0; }
  .field > label { display:block; color:#253a58; font-size:.82rem; font-weight:800; }
  body.saambou-staff :is(input:not([type=checkbox]), select, textarea) { min-block-size:46px; border:1px solid #aebed4; border-radius:11px; background:#fff; color:var(--sb-ink); box-shadow:inset 0 1px 2px #0c24530d; }
  body.saambou-staff textarea { min-block-size:90px; }
  body.saambou-staff :is(button,.button) { min-block-size:42px; padding:8px 14px; border-radius:11px; color:#fff; border-color:#2657c5; background:linear-gradient(180deg,#6d9cff,#2f66f5 62%,#254fc4); box-shadow:inset 0 1px #ffffff8f,0 3px 0 #2349af,0 6px 14px #244e931c; }
  body.saambou-staff :is(button,.button).emerald { border-color:#087c71; background:linear-gradient(180deg,#5ed3be,#078c80 62%,#05685f); box-shadow:inset 0 1px #ffffff8f,0 3px 0 #05584f,0 6px 14px #075d5524; }
  body.saambou-staff :is(button,.button).violet { border-color:#5a31ac; background:linear-gradient(180deg,#a98aff,#7042d5 62%,#5630a7); box-shadow:inset 0 1px #ffffff8f,0 3px 0 #4a288f,0 6px 14px #55349b21; }
  body.saambou-staff :is(button,.button):not(:disabled):hover { filter:saturate(1.08) brightness(1.02); text-decoration:none; }
  .focus-hero { padding:20px; border:1px solid #d7e0ef; border-radius:var(--sb-radius); background:linear-gradient(135deg,#fff 0%,#f7fbff 58%,#e7fff8); box-shadow:var(--sb-shadow); }
  .focus-hero h2 { margin:0; font-size:clamp(1.45rem,5vw,2.1rem); letter-spacing:-.04em; text-wrap:balance; }
  .focus-hero p { color:var(--sb-muted); max-width:55ch; margin:.35rem 0 0; text-wrap:pretty; }
  .focus-actions { display:flex; flex-wrap:wrap; gap:9px; margin-top:16px; }
  .focus-grid { display:grid; gap:14px; margin-top:14px; }
  .focus-card, .snapshot-section, .organise-section, .setup-intro { padding:17px; border:1px solid #d8e2ef; border-radius:var(--sb-radius); background:var(--sb-card); box-shadow:var(--sb-shadow); }
  .focus-card h2,.snapshot-section h2,.organise-section h2,.setup-intro h2 { margin:0; font-size:1.05rem; letter-spacing:-.02em; }
  .focus-card > p,.snapshot-section > p,.organise-section > p,.setup-intro > p { margin:.35rem 0 0; color:var(--sb-muted); font-size:.91rem; }
  .focus-card-primary { border-top:4px solid var(--sb-blue); }
  .focus-card-guide { border-top:4px solid var(--sb-teal); }
  .next-case { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:9px; padding:12px 0; border-top:1px solid #e0e8f2; }
  .next-case:first-of-type { margin-top:9px; }
  .next-case strong,.next-case span { display:block; overflow-wrap:anywhere; }.next-case span { color:var(--sb-muted); font-size:.8rem; }
  .next-case button { min-block-size:36px; padding:6px 10px; }
  .flow-list { list-style:none; counter-reset:flow; display:grid; gap:10px; padding:0; margin:14px 0 0; }
  .flow-list li { position:relative; padding-left:34px; min-height:27px; }.flow-list li::before { counter-increment:flow; content:counter(flow); position:absolute; inset:0 auto auto 0; display:grid; place-items:center; width:24px; height:24px; border-radius:8px; background:#e7edff; color:#2955ca; font-weight:800; font-size:.78rem; }
  .flow-list strong,.flow-list span { display:block; }.flow-list span { color:var(--sb-muted); font-size:.84rem; }
  .snapshot-section { margin-top:14px; }.snapshot-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-top:12px; }.snapshot-grid article { min-width:0; padding:12px; border-radius:13px; background:#f5f8ff; border:1px solid #e0e8f4; }.snapshot-grid strong,.snapshot-grid span { display:block; }.snapshot-grid strong { font-size:1.35rem; color:#294fab; }.snapshot-grid span { color:var(--sb-muted); font-size:.75rem; overflow-wrap:anywhere; }
  .workspace-intro { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:10px; margin-bottom:14px; }.workspace-intro .symbol { display:grid; place-items:center; width:40px; height:40px; border-radius:13px; color:#fff; background:linear-gradient(135deg,#5689ff,#7042d5); font-size:1.25rem; }.workspace-intro h2 { margin:0; font-size:1.4rem; }.workspace-intro p { margin:2px 0 0; color:var(--sb-muted); font-size:.88rem; }.workspace-intro button { grid-column:1/-1; width:max-content; }
  .worklist-layout { display:grid; gap:13px; }.worklist-filter-panel { padding:0; border:1px solid #d5e1ee; border-radius:14px; background:#fff; box-shadow:var(--sb-shadow); }.worklist-filter-panel > summary { padding:13px 15px; color:#263b59; }.worklist-filter-panel > form { padding:4px 14px 14px; border-top:1px solid #e5edf6; }.worklist-filters { display:grid; gap:10px; }.worklist-filters > button { width:max-content; }
  .worklist-results { padding:0; border:1px solid #d5e1ee; border-radius:var(--sb-radius); background:#fff; box-shadow:var(--sb-shadow); overflow:hidden; }.results-header { padding:14px 15px; background:linear-gradient(135deg,#f4f8ff,#fbfdff); border-bottom:1px solid #e3ebf5; }.worklist-count { margin:0; color:#314b6f; font-weight:800; font-size:.91rem; }.worklist-results > p { padding:0 15px; }
  .worklist-row { grid-template-columns:minmax(0,1fr) auto; gap:12px; padding:14px 15px; border-top:1px solid #e5edf6; }.worklist-row:first-of-type { border-top:0; }.worklist-row h3 { font-size:1rem; }.worklist-row button { min-block-size:38px; padding:7px 11px; }.worklist-badges span { border-radius:999px; padding:3px 8px; }.worklist-badges .worklist-status { background:#dff8ed; color:#135a4f; }.worklist-badges .worklist-priority { background:#fff0cd; color:#7c4c00; }
  .setup-intro { display:grid; gap:12px; margin-bottom:12px; border-top:4px solid var(--sb-violet); }.setup-flow { display:grid; gap:10px; }.setup-section { border:1px solid #d4dfed; border-radius:15px; background:#fff; box-shadow:var(--sb-shadow); overflow:hidden; }.setup-section > summary { display:grid; grid-template-columns:32px minmax(0,1fr); align-items:center; gap:10px; min-height:60px; padding:11px 14px; cursor:pointer; list-style:none; }.setup-section > summary::-webkit-details-marker { display:none; }.setup-step { display:grid; place-items:center; width:30px; height:30px; border-radius:10px; color:#fff; background:linear-gradient(135deg,#7761ee,#4a55cf); font-weight:850; }.setup-section summary strong,.setup-section summary small { display:block; }.setup-section summary strong { font-size:.98rem; }.setup-section summary small { margin-top:1px; color:var(--sb-muted); font-size:.78rem; }.setup-section[open] > summary { background:linear-gradient(100deg,#f3f1ff,#f8fcff); border-bottom:1px solid #e1e8f2; }.setup-section > :not(summary) { margin-inline:14px; }.setup-section > .field,.setup-section > .check { margin-top:12px; }.setup-section > .field:last-child,.setup-section > .check:last-child { margin-bottom:15px; }.setup-section > details { margin-block:12px; }.setup-actions { display:none; }
  .organise-section { margin-top:16px; }.category-list { display:grid; gap:8px; margin-top:12px; }.category-item { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:3px 10px; padding:10px 0; border-top:1px solid #e1e9f2; }.category-item span { color:var(--sb-muted); font-size:.8rem; }.category-item button { grid-column:2; grid-row:1/3; min-block-size:36px; padding:5px 10px; }.organise-section > details { margin-top:12px; padding:10px 0 0; border-top:1px solid #e1e9f2; }.organise-section > details > summary { cursor:pointer; font-weight:800; }.organise-section > details form { margin-top:12px; }
  .form-library { margin-top:14px; padding:17px; border:1px solid #d8e2ef; border-radius:var(--sb-radius); background:var(--sb-card); box-shadow:var(--sb-shadow); }
  .form-library > h2 { margin:0; font-size:1.05rem; letter-spacing:-.02em; }.form-library > p { margin:.35rem 0 0; color:var(--sb-muted); font-size:.91rem; }
  .form-library-grid { display:grid; gap:10px; margin-top:13px; }.form-version-card { display:grid; gap:5px; padding:14px; border:1px solid #dce5f1; border-radius:14px; background:linear-gradient(135deg,#fff,#f4f8ff); box-shadow:0 5px 15px #18365d0d; }.form-version-card h3,.form-version-card p,.form-version-card small { margin:0; }.form-version-card h3 { font-size:1rem; }.form-version-card p,.form-version-card small { color:var(--sb-muted); font-size:.84rem; }.form-badge { justify-self:start; padding:3px 8px; border-radius:999px; color:#463174; background:#efe8ff; font-size:.72rem; font-weight:850; }.form-badge-ready { color:#075c52; background:#dbf8ee; }.advanced-form-tools { margin-top:14px; padding:13px 15px; border:1px solid #d6e1ef; border-radius:14px; background:#fff; box-shadow:var(--sb-shadow); }.advanced-form-tools > summary { cursor:pointer; color:#283f5f; font-weight:850; }.advanced-form-tools > p { color:var(--sb-muted); font-size:.88rem; }.advanced-form-tools form { margin-top:12px; }
  /* Lively but disciplined visual signals: colour identifies purpose, never content. */
  .focus-card,.snapshot-section,.organise-section,.setup-intro,.form-library { position:relative; overflow:hidden; }
  .focus-card::after,.snapshot-section::after,.organise-section::after,.form-library::after { content:""; position:absolute; inset:0 auto 0 0; width:4px; background:var(--section-accent,#2f66f5); }
  .snapshot-section { --section-accent:#b77409; }.organise-section { --section-accent:#7042d5; }.form-library { --section-accent:#078c80; }
  .focus-card-guide { --section-accent:#078c80; }.focus-card-primary { --section-accent:#2f66f5; }
  .setup-progress { display:inline-flex; align-items:center; width:max-content; max-width:100%; margin:0!important; padding:5px 9px; border-radius:999px; color:#4d347f!important; background:#efe9ff; font-size:.78rem!important; font-weight:850; }
  .snapshot-grid article { position:relative; overflow:hidden; background:linear-gradient(135deg,#fff,#f3f7ff); }.snapshot-grid article:nth-child(2) { background:linear-gradient(135deg,#fffdf5,#fff2cf); }.snapshot-grid article:nth-child(3) { background:linear-gradient(135deg,#f8fffd,#dcf9f0); }.snapshot-grid article::before { content:""; position:absolute; inset:0 0 auto; height:3px; background:#4e7bf6; }.snapshot-grid article:nth-child(2)::before { background:#d58a00; }.snapshot-grid article:nth-child(3)::before { background:#078c80; }
  .category-item { position:relative; grid-template-columns:auto minmax(0,1fr) auto; gap:9px; padding:11px 8px; border:1px solid #e1e9f2; border-radius:13px; background:linear-gradient(135deg,#fff,#f7faff); box-shadow:0 4px 12px #18365d0a; }.category-item + .category-item { border-top:1px solid #e1e9f2; }.category-item > div { min-width:0; }.category-item strong,.category-item span { display:block; overflow-wrap:anywhere; }.category-symbol { display:grid!important; place-items:center; width:32px; height:32px; border-radius:10px; color:#2457bd!important; background:#e5edff; font-size:1rem!important; font-weight:900; }.category-item button { grid-column:3; grid-row:1; }.category-skoolomgewing_en_fasiliteite .category-symbol { color:#a95c00!important; background:#fff0ce; }.category-kommunikasie_en_diens .category-symbol { color:#08796e!important; background:#d9f7ee; }.category-sport_kultuur_en_gebeure .category-symbol { color:#8d3db1!important; background:#f3e4ff; }.category-welstand_en_behoort .category-symbol { color:#ae3d67!important; background:#ffe4ee; }.category-volhoubaarheid_en_innovasie .category-symbol { color:#447711!important; background:#ecf8d8; }
  .form-version-card { transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease; }.form-version-card:hover { transform:translateY(-2px); border-color:#aac6f5; box-shadow:0 9px 20px #18365d17; }.advanced-form-tools[open] { border-color:#b8cbed; background:linear-gradient(135deg,#fff,#f3f7ff); }
  .case-back { margin-bottom:12px; }.case-desk { padding:17px; border:1px solid #d4dfed; border-radius:var(--sb-radius); background:#fff; box-shadow:var(--sb-shadow); }.case-content > h2 { font-size:1.35rem; letter-spacing:-.03em; }.case-actions > h3 { color:var(--sb-muted); font-size:.85rem; text-transform:uppercase; letter-spacing:.08em; }.case-tools { gap:8px; }.case-tools > :is(button,form) { flex:1 1 135px; }.case-tools button { width:100%; min-block-size:39px; padding:7px 10px; }.action-panel { border-color:#d4dfed; border-radius:13px; background:#fff; }.action-panel > summary { padding:11px 12px; background:#f5f8fe; color:var(--sb-ink); }.action-panel:nth-of-type(even) > summary { background:#f2fbf9; }.action-panel > form { padding:12px; }
  .notice { box-shadow:none; }
  :where(a:any-link,button,input,select,textarea,summary):focus-visible { outline:3px solid #ef9b17; outline-offset:3px; }
  @media (pointer:coarse) { body.saambou-staff :is(button,.button,.desk-header nav > :is(button,a)) { min-block-size:44px; } }
  @media (min-width:700px) { body.saambou-staff .shell { width:min(100% - 44px,1320px); margin-top:20px; }.desk-header { grid-template-columns:minmax(0,1fr) auto; align-items:center; padding:14px 18px; }.desk-brand img { width:42px; }.desk-brand h1 { font-size:1.45rem; }.desk-subtitle { display:block; }.desk-header nav { justify-content:flex-end; overflow:visible; }.focus-grid { grid-template-columns:1.2fr .8fr; }.workspace-intro { grid-template-columns:auto minmax(0,1fr) auto; }.workspace-intro button { grid-column:auto; }.worklist-layout { grid-template-columns:minmax(230px,290px) minmax(0,1fr); align-items:start; }.worklist-filter-panel { position:sticky; top:112px; }.worklist-filter-panel > summary { cursor:default; }.worklist-filter-panel > form { display:grid; }.setup-section[open] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:12px; padding-bottom:14px; }.setup-section[open] > summary { grid-column:1/-1; margin:0 0 2px; }.setup-section[open] > .field,.setup-section[open] > .check,.setup-section[open] > details { margin:10px 14px 0; }.setup-section[open] > :is(.field,.check,details):nth-last-child(1) { margin-bottom:0; }.organise-section { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:0 22px; }.organise-section > :is(h2,p) { grid-column:1/-1; }.organise-section .focus-actions { grid-column:1/-1; }.category-list { grid-column:1/-1; grid-template-columns:repeat(2,minmax(0,1fr)); }.organise-section > details { grid-column:1/-1; }.case-desk { padding:20px; }.case-actions { padding-left:18px; } }
  @media (max-width:420px) { body.saambou-staff #workspace { padding:12px 0; }.desk-header { border-radius:15px; }.desk-header nav > :is(button,a) { padding-inline:10px; }.worklist-row { grid-template-columns:minmax(0,1fr); }.worklist-row button { justify-self:start; }.snapshot-grid { gap:6px; }.snapshot-grid article { padding:9px; } }
  @media (prefers-reduced-motion:reduce) { .desk-header nav > :is(button,a),button,.button { transition:none; } }

/* Shared glass controls for the public form and staff workspace. */
body:is(.saambou-public,.saambou-staff) .shell :is(button,.button,.public-toolbar a,.desk-header nav a):is(a,button,.button) {
  --glass-hue: 216;
  --glass-surface: hsl(var(--glass-hue) 94% 85% / .92);
  --glass-rim: hsl(var(--glass-hue) 51% 48%);
  min-block-size: 44px;
  max-inline-size: 100%;
  padding: .52rem 1rem;
  border: 1px solid var(--glass-rim);
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 33% -36%, #fff 0 23%, #ffffff80 42%, transparent 66%),
    linear-gradient(180deg, #ffffffcf, #ffffff38 45%, transparent 46%, #ffffff40),
    var(--glass-surface);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 #ffffffb8,
    0 2px 3px #15294a24, 0 5px 12px #15294a13;
  color: #172b45;
  font-weight: 750;
  text-decoration: none;
  overflow-wrap: break-word;
}

body:is(.saambou-public,.saambou-staff) :is(.emerald,.public-toolbar .home-link) { --glass-hue: 166; }
body:is(.saambou-public,.saambou-staff) :is(.violet,.public-toolbar [lang="af"]) { --glass-hue: 266; }
body:is(.saambou-public,.saambou-staff) :is(.rose,.public-toolbar [lang="en"]) { --glass-hue: 328; }
.saambou-staff #show-forms { --glass-hue: 39; }
body.saambou-staff .desk-header .portal-link { --glass-surface: #e8edf5; --glass-rim: #64758d; }
body.saambou-public .public-toolbar [aria-current] {
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px var(--glass-rim), 0 3px 9px #15294a22;
}

@media (hover: hover) {
  body:is(.saambou-public,.saambou-staff) .shell :is(button,.button,.public-toolbar a,.desk-header nav a):not(:disabled):hover {
    filter: none;
    text-decoration: underline;
    text-underline-offset: .18em;
    box-shadow: inset 0 1px 0 #fff, 0 4px 11px #15294a30;
  }
}
body:is(.saambou-public,.saambou-staff) :is(button,.button,.public-toolbar a,.desk-header nav a):not(:disabled):active {
  transform: translateY(1px);
  box-shadow: inset 0 1px 3px #15294a30;
}
body:is(.saambou-public,.saambou-staff) :is(button,.button,.public-toolbar a,.desk-header nav a):focus-visible {
  outline: 3px solid #3c369e;
  outline-offset: 2px;
}
.desk-header nav { flex-wrap: wrap; }

.privacy-switch { align-items:center; font-weight:750; cursor:pointer; }
.privacy-switch input[type=checkbox] {
  appearance:none;
  width:46px;
  height:26px;
  margin:0;
  border:1px solid #637389;
  border-radius:999px;
  background:radial-gradient(circle at 12px 50%,#fff 0 8px,transparent 9px),#657589;
}
.privacy-switch input:checked {
  border-color:#07695f;
  background:radial-gradient(circle at 32px 50%,#fff 0 8px,transparent 9px),#08796e;
}
@media (forced-colors:active) {
  .privacy-switch input[type=checkbox] { appearance:auto; }
}
