:root{
  color-scheme:dark;
  --bg:#030603;
  --surface:#070d06;
  --raised:#101d0b;
  --text:#b0d591;
  --muted:#829c6e;
  --border:#2c4422;
  --green:#b4ee7c;
  --amber:var(--green);
  --red:var(--green);
  --mono:"Courier New",Courier,monospace;
  --glow:0 0 12px #a0ec6e24;
  font-family:var(--mono);
  font-synthesis:none;
  font-size:14px;
  line-height:1.5;
}
*{box-sizing:border-box}
::selection{background:var(--green);color:var(--bg);text-shadow:none}
body{margin:0;background:var(--bg);color:var(--text);isolation:isolate}
body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;box-shadow:inset 0 0 160px #8ad95208}
button,input,select,textarea{font:inherit}
a{color:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{opacity:.45;cursor:not-allowed}
button,a,summary{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--green);outline-offset:5px}
input,select,textarea{width:100%;min-height:44px;border:1px solid #415c32;background:var(--bg);color:var(--text);border-radius:0;padding:11px 12px}
input:hover,select:hover,textarea:hover{border-color:#708d57}
textarea{resize:vertical;line-height:1.6;min-height:108px}
input::placeholder,textarea::placeholder{color:#7e9869;opacity:1}
input[type=checkbox],input[type=radio]{width:17px;height:17px;min-height:17px;margin:0;accent-color:var(--green);flex:none}
label{font-size:12px;font-weight:400}
label>input,label>select,label>textarea{margin-top:7px}
fieldset{border:0;margin:0;padding:0;min-width:0}
legend{font-size:12px;padding:0}
.icon{display:inline-block;width:20px;height:20px;flex:none;vertical-align:middle}
.skip-link{position:fixed;left:16px;top:-100px;background:var(--green);color:var(--bg);padding:12px 18px;z-index:100}
.skip-link:focus{top:10px}

/* The screen is one quiet, monochrome workspace. */
.app-header{position:relative}
.header-inner{max-width:1140px;padding:0 40px;margin:auto;min-height:94px;display:flex;align-items:center;gap:42px}
.wordmark{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:400;letter-spacing:-.7px;text-decoration:none;color:var(--green);text-shadow:var(--glow)}
.brand-doggy{display:block;width:48px;height:40px;flex:none;image-rendering:pixelated;background-color:#030401;background-image:url("/static/brand/doggy-sprites.a823068e8cce.webp");background-repeat:no-repeat;background-size:288px 192px;background-position:0 -6px;animation:brand-doggy-idle 1.2s steps(6,end) infinite}
@keyframes brand-doggy-idle{to{background-position-x:-288px}}
body:not([data-review-rain]) .brand-doggy,body[data-review-rain=static] .brand-doggy,body[data-review-rain=off] .brand-doggy{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.brand-doggy{animation:none}}
.brand-dot{margin-left:-9px}
nav{display:inline-flex;align-items:center;gap:20px}
nav a{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 1px;text-decoration:none;color:var(--muted);font-size:12px;border-bottom:1px solid transparent}
nav a:hover{color:var(--green)}
nav a[aria-current=page]{border-color:var(--green);color:var(--green);text-shadow:var(--glow)}
nav .icon{width:15px;height:15px}
.mode-label{margin-left:auto;font-size:10px;color:var(--muted);text-align:right}
.mode-label::before{content:"";display:inline-block;width:5px;height:5px;background:var(--green);margin-right:9px;vertical-align:1px;box-shadow:0 0 9px #a4f27366}
main{max-width:1140px;margin:auto;padding:47px 40px 55px;min-height:calc(100dvh - 154px)}
h1{font-size:36px;font-weight:400;line-height:1.2;letter-spacing:-1.6px;margin:0;color:var(--green);text-shadow:var(--glow)}
h2{font-size:15px;font-weight:400;line-height:1.4;margin:0}
h3{font-size:13px;font-weight:400;margin:0 0 10px}
p{margin:0 0 16px}
.eyebrow{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:14px}
.intro{color:var(--muted);font-size:12px;line-height:1.7;max-width:520px;margin-top:12px}
.signal-dot{color:var(--green)}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:29px}
.page-heading .intro{margin-bottom:0}
.heading-actions{display:flex;gap:9px;flex:none}
.btn{border:1px solid #4d693a;background:transparent;color:var(--text);min-height:44px;padding:10px 17px;border-radius:0;font-size:12px;font-weight:400;line-height:1.5;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;white-space:nowrap}
.btn:hover:not(:disabled){background:var(--raised);border-color:var(--green);color:var(--green);box-shadow:0 0 15px #9bec690b}
.btn-primary{background:var(--green);color:var(--bg);border-color:var(--green);box-shadow:0 0 16px #a4ed711a}
.btn-primary:hover:not(:disabled){background:#c3f597;border-color:#c3f597;color:var(--bg)}
.btn-small{min-height:44px;padding:9px 14px;font-size:11px}
.btn .icon{width:17px;height:17px}
.icon-button{width:44px;height:44px;min-width:44px;border:1px solid var(--border);border-radius:0;background:transparent;color:var(--muted);display:inline-grid;place-items:center;line-height:1}
.icon-button:hover{background:var(--raised);color:var(--green);border-color:#759a54}

/* Three schematic controls, drawn with the same phosphor as the text. */
.setup-landing{padding:20px 0 8px}
.landing-copy{margin:0 0 43px}
.landing-copy h1{font-size:40px;letter-spacing:-1.8px;text-shadow:none}
.setup-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;position:relative}
.setup-entry{display:flex;flex-direction:column;align-items:stretch;min-width:0;min-height:0;aspect-ratio:1;padding:25px 24px 24px;border:1px solid #354d26;border-radius:0;background:#090f06;color:var(--green);text-align:left;transform:none;box-shadow:none}
.setup-entry:hover{border-color:#789b53;background:#0d1508;transform:none;box-shadow:none}
.setup-entry:focus-visible{outline:2px solid var(--green);outline-offset:6px}
.entry-graphic{display:grid;place-items:center;flex:1;min-width:0;min-height:0;margin:0 0 23px}
.entry-graphic>svg{display:block;width:100%;height:auto;max-height:180px;overflow:visible;transform:none;filter:none}
.entry-copy{display:flex;align-items:center;justify-content:space-between;gap:15px}
.entry-label{display:grid;gap:5px}
.entry-caption{font-size:10px;line-height:1.5;color:var(--muted)}
.entry-title{font-size:13px;line-height:1.5;letter-spacing:.035em;color:var(--green)}
.entry-copy>.icon{width:17px;height:17px;color:var(--muted)}
.setup-entry:hover .entry-copy>.icon{color:var(--green)}
.schematic-line{fill:none;stroke:var(--green);stroke-width:1.3;stroke-linecap:square;stroke-linejoin:miter}
.schematic-dim{fill:none;stroke:#6d9250;stroke-width:1;stroke-linecap:square;stroke-linejoin:miter}
.schematic-fill{fill:var(--green);stroke:none}
.schematic-surface{fill:#060c04;stroke:#779c53;stroke-width:1}
.schematic-text{fill:var(--green);stroke:none;font:11px var(--mono);letter-spacing:.06em}
.landing-status{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;margin:26px auto 0;color:var(--muted);font-size:11px;line-height:1.6}
#landing-save-state{display:inline-flex;align-items:center;gap:9px}
#landing-save-state::before{content:"";width:5px;height:5px;border:1px solid currentColor}
.landing-status .btn{border:0;padding:10px 0;gap:10px;color:var(--green);font-size:11px}
.landing-status .btn:hover{background:none;box-shadow:none;text-shadow:var(--glow)}
.landing-status .icon{width:14px;height:14px}

/* The background carries the repeated effort; the interface stays still. */
#review-rain{position:fixed;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}
body:not([data-review-rain]) #review-rain,body[data-review-rain=off] #review-rain{display:none}
.review-rain-stage{position:relative;display:flex;align-items:center;justify-content:center;min-height:104px;padding:23px 42px;margin-top:8px}
#review-rain-line{display:flex;flex-wrap:wrap;justify-content:center;gap:6px .6em;width:max-content;max-width:100%;margin:0;font-size:clamp(18px,2vw,28px);line-height:1.3;letter-spacing:0;color:var(--green);font-weight:400;text-shadow:0 0 20px #a0ec6e35}
#review-rain-line [data-rain-copy]{display:inline-block;white-space:nowrap}
body[data-review-rain=active] #review-rain-line{color:transparent;text-shadow:none}
.rain-toggle{position:absolute;right:0;top:50%;margin-top:-22px;width:44px;height:44px;display:none;align-items:center;justify-content:center;padding:10px;border:0;background:var(--bg);color:var(--muted)}
body[data-review-rain=active] .rain-toggle,body[data-review-rain=static] .rain-toggle{display:inline-flex}
.rain-toggle:hover{color:var(--green)}
.rain-toggle .icon{width:14px;height:14px}
.rain-toggle:disabled{display:none!important}
.review-rain-stage+.landing-status{margin-top:0}
@media(max-width:600px){.review-rain-stage{min-height:96px;padding:22px 30px 22px 0;justify-content:flex-start}#review-rain-line{font-size:clamp(14px,3.6vw,20px)}.rain-toggle{right:-10px}}
@media(prefers-reduced-motion:reduce){#review-rain{display:none}body[data-review-rain] #review-rain-line{color:var(--green);text-shadow:none}.rain-toggle{display:none!important}}

/* Meaning is carried by labels, symbols and line treatments, never color alone. */
.status{display:inline-flex;align-items:center;gap:7px;font-size:10px;line-height:1.5;color:var(--muted);white-space:nowrap}
.status::before{content:"";width:5px;height:5px;flex:none;border:1px solid currentColor}
.status-good{color:var(--green)}
.status-good::before{background:currentColor;box-shadow:0 0 7px #a0ed6433}
.status-warn,.status-bad,.attention-text{color:var(--green)}
.status-warn::before,.status-bad::before{content:"!";width:auto;height:auto;border:0;font-size:11px}
.workspace-status{display:flex;align-items:center;gap:12px;margin-bottom:19px;font-size:12px}
.workspace-status>span+span{border-left:1px solid var(--border);padding-left:12px}
.subtle{color:var(--muted);font-size:11px;font-weight:400}
.notice{border:1px solid var(--border);padding:12px 15px;font-size:12px;color:var(--muted);line-height:1.6;margin-bottom:20px}
.notice strong{color:var(--text);font-weight:400}
.notice a{text-underline-offset:3px}
.notice-warn{color:var(--green);border-style:dashed;background:#0c1508}
.action-notice{display:flex;align-items:center;justify-content:space-between;gap:15px}

.setup-form{display:grid;gap:19px}
.step-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-bottom:1px solid var(--border)}
.step-tab{min-height:50px;padding:12px 15px;border:0;border-bottom:1px solid transparent;margin-bottom:-1px;border-radius:0;background:transparent;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:9px;font-size:12px;text-align:left}
.step-tab:hover{color:var(--green);background:#0c1408}
.step-tab[aria-selected=true]{border-bottom-color:var(--green);color:var(--green);text-shadow:var(--glow)}
.step-tab .icon{width:18px;height:18px}
.step-number{display:none}
.setup-card{background:var(--surface);border:1px solid var(--border);padding:23px}
.setup-panel{min-width:0;scroll-margin-top:20px}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.form-stack{display:grid;gap:17px}
.field-hint{font-size:11px;line-height:1.6;color:var(--muted);margin-top:6px;font-weight:400}
.field-space{margin-top:19px}
label.field-space{display:block}
.source-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:10px}
.option-tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;min-height:106px;padding:16px;border:1px solid var(--border);background:var(--bg);color:var(--muted);cursor:pointer}
.option-tile:hover{border-color:#769654}
.option-tile:has(input:checked){border-color:var(--green);background:var(--raised);color:var(--green)}
.option-tile:has(input:focus-visible),.segment:has(input:focus-visible),.choice:has(input:focus-visible){outline:2px solid var(--green);outline-offset:4px}
.tile-icon{color:var(--muted);display:inline-flex;margin-bottom:5px}
.tile-icon .icon{width:23px;height:23px}
.option-tile:has(input:checked) .tile-icon{color:var(--green)}
.tile-label{font-size:12px}
.tile-meta{font-size:9px;line-height:1.4;color:var(--muted)}
.tile-check{position:absolute;right:12px;top:12px;color:var(--green);display:none}
.tile-check .icon{width:14px;height:14px}
.option-tile:has(input:checked) .tile-check{display:block}
.segmented{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.segment,.choice{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid var(--border);padding:10px 13px;color:var(--muted);background:var(--bg);font-size:11px;cursor:pointer;font-weight:400}
.segment:hover,.choice:hover{border-color:#769654}
.segment:has(input:checked),.choice:has(input:checked){background:var(--raised);border-color:#94be69;color:var(--green)}
.segment .icon,.choice .icon{width:17px;height:17px}
.channel-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.channel-card{border:1px solid var(--border);padding:19px;background:var(--bg)}
.channel-heading{display:flex;align-items:center;gap:10px;margin-bottom:19px}
.channel-heading .icon{color:var(--green);width:23px;height:23px}
.channel-heading h3{margin:0}
.channel-heading .tile-meta{margin-left:auto}
.channel-choices{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.channel-choices .choice{font-size:11px;padding-left:10px;padding-right:10px}
.checkbox-line{display:flex;align-items:flex-start;gap:10px;min-height:44px;padding:12px 0;font-size:12px;line-height:1.6;font-weight:400;color:var(--muted)}
.checkbox-line input{margin-top:2px}
.checkbox-line span{flex:1}
.checkbox-line:has(input:checked){color:var(--text)}
.business-grid{display:grid;grid-template-columns:1fr;gap:19px}
.business-grid>*{min-width:0}
.divider{height:1px;background:var(--border);margin:20px 0}
.preview-label{font-size:10px;line-height:1.5;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:10px}
.preview-label .icon{width:15px;height:15px;margin-right:5px}
.message-preview{background:var(--bg);border:1px solid #3a5629;padding:17px;font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.preview-box,.compact-preview{padding:18px;border:1px solid var(--border);background:#090f06}
.channel-grid+.compact-preview{margin-top:19px}
.message-schedule{display:flex;align-items:center;gap:8px;margin:14px 0 0;font-size:10px;line-height:1.6;color:var(--muted)}
.message-schedule .icon{width:16px;height:16px;color:var(--green)}
.flow-strip,.empty-flow{display:flex;align-items:center;justify-content:center;gap:12px}
.flow-node{display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:11px}
.flow-node .icon{color:var(--green);width:19px;height:19px}
.flow-connector{display:flex;align-items:center;color:var(--muted)}
.flow-connector .icon{width:16px;height:16px}
.empty-flow{margin:0 auto 23px}
.empty-flow .flow-node{flex-direction:column;gap:10px;min-width:66px;font-size:10px;color:var(--muted)}
.empty-flow .flow-node .icon{width:39px;height:39px;padding:7px}
.readiness-section{padding:4px 2px}
.readiness-section h2{display:flex;align-items:center;gap:8px;font-size:12px}
.readiness-section h2 .icon{width:17px;height:17px;color:var(--green)}
.readiness-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px}
.readiness-chip{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px dashed #52713b;background:transparent;color:var(--muted);padding:10px 12px;font-size:10px}
.readiness-chip .icon{width:15px;height:15px}
.readiness-chip.is-passed{color:var(--green);border-style:solid}
.readiness-chip:hover,.readiness-chip[aria-expanded=true]{border-color:var(--green);background:var(--raised);color:var(--green)}
.requirement-dot{display:inline-grid;place-items:center;width:11px;height:11px;border:1px solid var(--green);color:var(--green);font-size:8px;line-height:1}
.requirement-dot::before{content:"!"}
.readiness-detail{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;padding:12px 15px;border-left:2px solid var(--green);background:var(--bg);font-size:12px;color:var(--muted)}
.readiness-detail p{margin:3px 0 0}
.readiness-detail strong{color:var(--text);font-weight:400}
.detail-required{font-size:9px;color:var(--green);margin-left:8px}
.action-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:10px}
.action-buttons{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.save-state{display:flex;align-items:center;gap:8px;font-size:9px;line-height:1.5;color:var(--muted);margin:0}
.save-dot{width:5px;height:5px;border:1px solid var(--muted)}
.save-state.is-dirty .save-dot{background:var(--green);border-color:var(--green)}
details{margin-top:18px;border-top:1px solid var(--border);padding-top:4px}
summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:12px;gap:9px;list-style:none}
summary::-webkit-details-marker{display:none}
summary::before{content:"+";font-size:16px;color:var(--green)}
details[open]>summary::before{content:"−"}
summary .status{margin-left:auto}
details>.form-stack,details>.grid-2{margin-top:12px}
.provider-details .field-hint{padding-bottom:10px}

.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:29px}
.stat{display:grid;grid-template-columns:1fr auto;grid-template-rows:1fr auto auto;align-items:start;text-align:left;min-height:201px;border:1px solid #354d26;padding:18px 22px 20px;background:#090f06;color:var(--text);column-gap:14px;row-gap:5px;border-radius:0;transform:none}
.stat:hover{border-color:#88ad61;background:#0b1407}
.stat[aria-pressed=true]{outline:1px solid var(--green);outline-offset:2px;background:#101b0a}
.stat:focus-visible{outline:2px solid var(--green);outline-offset:5px}
.stat-graphic{display:grid;place-items:center;grid-column:1/-1;grid-row:1;min-width:0;min-height:106px;margin-bottom:8px}
.stat-graphic>svg{display:block;max-width:220px;width:100%;height:106px;transform:none;filter:none}
.stat-number{grid-column:1;grid-row:2;font-size:32px;font-weight:400;line-height:1.1;letter-spacing:-1px;font-variant-numeric:tabular-nums;color:var(--green);text-shadow:var(--glow)}
.stat-label{grid-column:1;grid-row:3;font-size:10px;color:var(--muted)}
.stat>.icon{grid-column:2;grid-row:2/4;align-self:center;width:17px;height:17px;color:var(--muted)}
.stat.attention{border-style:dashed}
.section-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.section-top>div{display:flex;align-items:center;gap:8px}
.request-actions{display:flex;align-items:center;gap:8px}
.activity-note{margin:0 0 22px}
.activity-note summary,.activity-note p{font-size:11px;color:var(--muted)}
.activity-note p{margin:0 0 14px}
.table-shell{border:1px solid var(--border);overflow:hidden;background:var(--surface)}
table{border-collapse:collapse;width:100%;text-align:left}
th{font-size:9px;line-height:1.5;font-weight:400;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:14px 18px;border-bottom:1px solid var(--border);background:var(--bg)}
td{padding:16px 18px;border-bottom:1px solid var(--border);font-size:12px;vertical-align:top}
tbody tr:last-child td{border-bottom:0}
tbody tr:hover{background:#0d1709}
.table-link{border:0;background:none;color:var(--text);font:inherit;padding:0;text-align:left;min-height:44px;display:block}
.table-link:hover{color:var(--green)}
.table-link small{display:block;font-size:10px;line-height:1.5;color:var(--muted);margin-top:4px}
.table-time{color:var(--muted);font-size:11px;white-space:nowrap}
.reply-cell{max-width:240px;overflow-wrap:anywhere}
.empty{padding:43px 20px;text-align:center}
.empty h3{font-size:14px;font-weight:400;margin:0 0 18px}
.empty p{font-size:12px;color:var(--muted);max-width:320px;margin:0 auto 20px}
.empty-symbol{display:grid;place-items:center;width:44px;height:44px;color:var(--green);margin:0 auto 18px}
.table-note{font-size:10px;line-height:1.6;color:var(--muted);margin:13px 0 0}
.error-message{border:1px dashed var(--green);background:#0d1608;color:var(--green);padding:12px 15px;font-size:12px;line-height:1.6;margin:0 0 18px}
.error-message:not(:empty)::before{content:"[!] "}
.error-message:empty{display:none}
.loading-state{padding:100px 0;text-align:center;color:var(--muted);font-size:12px}
.app-footer{max-width:1140px;margin:0 auto;padding:10px 40px 20px;display:flex;align-items:center;justify-content:flex-end;min-height:60px;color:var(--muted);font-size:10px}
.footer-controls{display:flex;align-items:center;gap:18px}
.footer-controls .btn{font-size:10px;border:0;padding:8px 0;color:var(--muted)}
.footer-controls .btn:hover{background:none;box-shadow:none;color:var(--green)}
.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:13px 21px;background:var(--bg);color:var(--green);border:1px solid var(--green);box-shadow:0 0 28px #8de25318;font-size:12px;z-index:30;max-width:calc(100vw - 32px);width:max-content}

/* Editors remain legible and direct, with no ornamental window chrome. */
dialog{background:var(--bg);color:var(--text);border:1px solid #71984c;border-radius:0;padding:0;width:calc(100% - 32px);max-width:620px;max-height:calc(100dvh - 56px);overflow:auto;box-shadow:0 0 60px #8bc7500c,0 35px 100px #000000c9}
dialog::backdrop{background:#010301e8}
.setup-editor{max-width:790px}
.dialog-header{padding:22px 24px 19px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--border)}
.dialog-header h2{font-size:20px;font-weight:400;letter-spacing:-.7px;color:var(--green);text-shadow:var(--glow)}
.dialog-header p{margin:5px 0 0;color:var(--muted);font-size:11px}
.dialog-content{padding:22px 24px 24px}
.setup-editor .setup-form{padding:22px 27px 25px}
.dialog-actions{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid var(--border);padding-top:20px;margin-top:20px}
.dialog-actions .btn:first-child{margin-right:auto}
.preview-meta{font-size:11px;color:var(--muted);margin:17px 0 0}
.preview-meta strong{display:block;color:var(--text);font-weight:400;margin-top:4px}
.definition-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px 22px;margin:0 0 22px}
.definition-grid dt{font-size:9px;line-height:1.5;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);margin-bottom:5px}
.definition-grid dd{font-size:12px;margin:0;overflow-wrap:anywhere}
.history{margin:0;padding:0;list-style:none}
.history li{border-left:1px solid #4d7034;margin-left:4px;padding:0 0 20px 17px;position:relative}
.history li:last-child{padding-bottom:0}
.history li::before{content:"";position:absolute;top:6px;left:-3px;width:5px;height:5px;background:var(--green)}
.history strong{font-size:12px;font-weight:400;display:block}
.history time{font-size:9px;line-height:1.6;color:var(--muted)}
.history p{font-size:11px;color:var(--muted);margin:4px 0 0;overflow-wrap:anywhere}
.reply-item{padding:13px 15px;border:1px solid var(--border);margin:10px 0;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}
.reply-item time{display:block;font-size:9px;color:var(--muted);margin-bottom:5px}
.demo-tools{border-top:1px solid var(--border);margin-top:22px;padding-top:18px}
.demo-tools>p{font-size:11px;color:var(--green)}
.demo-reply{display:flex;align-items:flex-end;gap:9px;margin-top:12px}
.demo-reply label{flex:1}
.details-reason{font-size:12px;color:var(--green);margin:0 0 20px}
.required-hint{color:var(--muted);font-size:11px;margin-bottom:17px}
.full-width{grid-column:1/-1}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;min-height:1px!important;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
[hidden]{display:none!important}

/* Public customer form uses the same calm, high-contrast type and controls. */
.testimonial-page{max-width:640px;min-height:100dvh;padding-top:70px}
.testimonial-page h1{font-size:30px;margin-bottom:22px;overflow-wrap:anywhere}
.testimonial-page p{font-size:13px;line-height:1.7;color:var(--muted)}
.testimonial-page form{display:grid;gap:22px;margin-top:30px}
.testimonial-page label{display:block;line-height:1.7}
.testimonial-page label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:12px;color:var(--muted)}
.testimonial-page input[type=checkbox]{margin-top:3px}
.testimonial-page button{border:1px solid var(--green);background:var(--green);color:var(--bg);min-height:48px;padding:12px 18px}

@media(min-width:801px) and (max-height:760px){main{padding-top:24px}.setup-landing{padding-top:6px}.landing-copy{margin-bottom:34px}}
@media(max-width:800px){
  .header-inner{padding:0 24px;gap:25px;min-height:84px}
  main{padding:35px 24px 44px}
  .mode-label{max-width:140px}
  .app-footer{padding-left:24px;padding-right:24px}
  .setup-cards{gap:16px}
  .setup-entry{min-height:0;padding:19px 17px}
  .entry-graphic{min-height:0;margin-bottom:21px}
  .entry-title{font-size:12px}
  .stats{gap:12px}
  .stat{padding:16px}
}
@media(max-width:600px){
  .header-inner{padding:20px 20px 10px;min-height:auto;display:grid;grid-template-columns:1fr auto;gap:16px 12px}
  .wordmark{font-size:17px}
  .mode-label{grid-column:2;grid-row:1;font-size:9px;max-width:144px}
  nav{grid-column:1/-1;justify-self:start;gap:22px}
  nav a{min-height:44px}
  main{padding:28px 20px 35px}
  h1{font-size:30px;letter-spacing:-1.2px}
  .page-heading{align-items:flex-start;flex-direction:column;gap:20px;margin-bottom:22px}
  .heading-actions{width:100%;flex-wrap:wrap}
  .heading-actions .btn-primary{flex:1}
  .setup-landing{padding-top:8px}
  .landing-copy{margin-bottom:30px}
  .landing-copy h1{font-size:clamp(26px,6.8vw,36px);letter-spacing:-1.25px}
  .setup-cards{grid-template-columns:1fr;gap:15px}
  .setup-entry{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;min-height:142px;aspect-ratio:auto;padding:13px 17px;gap:20px}
  .entry-graphic{min-height:113px;margin:0}
  .entry-graphic>svg{max-height:120px}
  .entry-title{font-size:12px}
  .entry-copy{gap:8px}
  .entry-copy>.icon{width:15px;height:15px}
  .landing-status{margin-top:20px;font-size:10px;gap:12px}
  .landing-status .btn{font-size:10px}
  .step-tab{padding:10px 7px;min-height:47px;font-size:10px;gap:5px}
  .step-tab .icon{width:16px;height:16px}
  .setup-form{gap:15px}
  .setup-card{padding:19px 15px}
  .source-grid{grid-template-columns:repeat(2,1fr);gap:8px}
  .option-tile{padding:15px;min-height:102px}
  .grid-2,.grid-3,.channel-grid{grid-template-columns:1fr;gap:16px}
  .channel-card{padding:16px}
  .segment,.choice{font-size:11px;padding:10px 11px}
  .flow-strip,.empty-flow{gap:9px}
  .flow-node{font-size:10px;gap:6px}
  .readiness-chips{gap:6px}
  .readiness-chip{font-size:10px;padding:10px}
  .readiness-detail{align-items:flex-start;flex-direction:column;gap:10px}
  .action-bar{align-items:stretch;flex-direction:column;gap:12px}
  .action-buttons{justify-content:stretch}
  .action-buttons>.btn{flex:1}
  .stats{gap:8px;margin-bottom:22px}
  .stat{padding:13px 10px;min-height:147px;column-gap:8px}
  .stat-graphic{min-height:64px;margin:0 -5px 8px}
  .stat-graphic>svg{height:64px}
  .stat-number{font-size:26px}
  .stat-label{font-size:9px}
  .stat>.icon{display:none}
  .table-shell{overflow-x:auto}
  table{min-width:575px}
  td,th{padding-left:14px;padding-right:14px}
  .empty{padding:35px 15px}
  .empty-flow .flow-node{min-width:61px;font-size:9px}
  .app-footer{padding:8px 20px 20px}
  dialog{max-height:calc(100dvh - 24px);width:calc(100% - 20px)}
  .dialog-header{padding:19px 18px 16px}
  .dialog-header h2{font-size:18px}
  .dialog-content{padding:20px 18px}
  .setup-editor .setup-form{padding:17px 15px 20px}
  .dialog-actions{flex-wrap:wrap}
  .dialog-actions .btn{flex:1}
  .dialog-actions .btn:first-child{margin-right:0}
  .definition-grid{gap:15px}
  .demo-reply{flex-direction:column;align-items:stretch}
  .toast{bottom:16px}
}

/* A quiet entry point: business details, then one choice of setup style. */
.setup-entry-page{max-width:480px;text-align:left;padding:20px 0 36px}
.setup-entry-page h1{font-size:clamp(25px,4vw,32px);margin-bottom:32px;letter-spacing:-1px}
.setup-entry-page .form-stack{gap:24px}
.setup-entry-page .btn-primary{width:100%;min-height:50px;margin-top:6px}
.setup-entry-page .entry-save-status{margin:0;font-size:11px;color:var(--muted)}
.setup-entry-page h2{font-size:18px;margin:0 0 24px;color:var(--green)}
.setup-path-options{display:grid;gap:14px}
.setup-path{display:grid;grid-template-columns:1fr auto;gap:8px 18px;width:100%;padding:22px;background:var(--surface);color:var(--text);border:1px solid var(--border);box-shadow:0 3px 0 #1c2b13;text-align:left}
.setup-path:hover{border-color:var(--green);background:#0b1408}
.setup-path strong{font-size:15px;color:var(--green);font-weight:400}
.setup-path span{grid-column:1;font-size:12px;color:var(--muted)}
.setup-path .icon{grid-column:2;grid-row:1/3;align-self:center}
.entry-back{display:inline-flex;align-items:center;min-height:44px;margin-top:16px;padding:4px 0;background:none;border:0;color:var(--muted);text-decoration:underline;text-underline-offset:4px;font-size:11px}
.setup-entry-page .entry-caption{font-size:12px;margin-bottom:24px}
@media(max-width:600px){.setup-entry-page{padding-top:16px}.setup-entry-page h1{margin-bottom:26px}.setup-path{padding:20px}.setup-entry-page input{font-size:16px}.setup-entry-page .form-stack{gap:20px}}
