/* Interactive samples inherit the same paper, ink, borders, and motion. */
.labs-integrations{grid-template-columns:.9fr 1.7fr;gap:40px}.labs-integrations .integration-logos{grid-template-columns:repeat(10,minmax(0,1fr));gap:18px}.labs-integrations .integration-brand{min-width:0;justify-content:center;font-size:9px}.labs-integrations .integration-brand img{width:30px;height:26px}.labs-integrations .integration-wordmark{align-self:center}.athena-wordmark{font-size:12px;letter-spacing:-.6px;color:#592c74;font-weight:600;white-space:nowrap}.ownership-note{margin-top:34px;border-top:1px solid var(--line);padding-top:26px;display:grid;grid-template-columns:1fr 1.3fr;gap:40px}.ownership-note h3{font:500 23px/1.3 'Space Grotesk',sans-serif;letter-spacing:-.02em}.ownership-note p{font-size:14px;line-height:1.75;color:var(--muted);max-width:700px}
.work-panel{grid-template-columns:.85fr 1.15fr;min-height:555px;background:white}.work-description{align-self:center;padding:40px}.work-description h3{font-size:31px}.work-demo{padding:28px;min-width:0;border-left:1px solid var(--line);background:radial-gradient(#d5dbe6 .7px,transparent .7px) 0 0/19px 19px,#fafbfd;display:grid;align-items:center}.demo-window{width:100%;max-width:660px;margin:auto;border:1px solid #dce1e8;background:#fff;border-radius:9px;box-shadow:0 12px 28px -24px #1b284469;overflow:hidden;animation:demo-enter .4s var(--ease)}.demo-toolbar{display:flex;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid #e6e8ed;min-height:47px}.demo-dots{font-size:11px;letter-spacing:2px;color:#b4bfcc}.demo-toolbar strong{font:500 12px/1.4 'Space Grotesk',sans-serif}.demo-badge{margin-left:auto;font:8px/1.4 ui-monospace,monospace;color:#758095;white-space:nowrap}.demo-body{padding:22px}.demo-label{display:block;font:9px/1.5 ui-monospace,monospace;text-transform:uppercase;letter-spacing:.07em;color:#7b8293;margin-bottom:10px}.demo-options{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:17px}.demo-options button{border:1px solid #e0e3e9;border-radius:5px;padding:9px 12px;background:white;color:#575d70;font-size:11px;line-height:1.35;min-height:34px;transition:background .2s,transform .2s,border-color .2s}.demo-options button[aria-pressed=true]{background:var(--ink);color:#fff;border-color:var(--ink)}.demo-options button:hover:not([aria-pressed=true]){background:#f4f5f8;transform:translateY(-1px)}.work-demo button:focus-visible,.work-demo input:focus-visible{outline:2px solid #6e7e9a;outline-offset:3px}.demo-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin-top:18px}.demo-primary{border:1px solid var(--ink);background:var(--ink);color:#fff;border-radius:4px;font:500 11px/1.4 Inter,sans-serif;padding:10px 13px;min-height:37px;display:inline-flex;align-items:center;justify-content:center;gap:10px;transition:transform .2s,box-shadow .2s,background .2s}.demo-primary svg{width:14px;height:14px}.demo-primary:hover:not(:disabled){transform:translateY(-2px);background:#343449;box-shadow:0 5px 9px -5px #21213666}.demo-primary:active:not(:disabled){transform:translateY(0) scale(.98)}.demo-primary:disabled{opacity:.45;cursor:default}.demo-reset{display:inline-flex;align-items:center;gap:8px;border:0;background:none;color:#7a8495;font-size:10px;padding:8px 0;min-height:34px}.demo-reset:hover{color:var(--ink)}.demo-reset span{font-size:16px;transition:rotate .3s}.demo-reset:hover span{rotate:-45deg}.demo-status{font-size:11px;line-height:1.6;color:#436458;margin-top:12px;min-height:18px;overflow-wrap:anywhere}.demo-status:empty{margin-top:0;min-height:0}.demo-hint{font-size:11px;line-height:1.7;color:#788093}.demo-hint:empty{display:none}
.queue-head{display:flex;justify-content:space-between;align-items:baseline}.queue-head>.micro{font-size:10px;color:#7b8293}.request-queue{border:1px solid #e2e5eb;border-radius:6px;overflow:hidden}.request-row{display:flex;gap:11px;align-items:center;width:100%;padding:12px;border:0;border-bottom:1px solid #e8eaf0;background:#fff;color:var(--ink);text-align:left;transition:background .2s}.request-row:last-child{border-bottom:0}.request-row[aria-pressed=true]{background:#f2f3f7;box-shadow:inset 2px 0 var(--ink)}.request-row:hover{background:#f5f6f8}.request-avatar{height:28px;width:28px;display:grid;place-items:center;flex:none;background:#e9ecf1;border-radius:7px;font:500 12px 'Space Grotesk',sans-serif;color:#69758b}.request-row strong{font-size:11px;font-weight:500;display:block}.request-row small{display:block;margin-top:3px;font-size:10px;color:#7e8595}.request-state{margin-left:auto;color:#7a8292;font:9px/1.4 ui-monospace,monospace;white-space:nowrap}.is-resolved .request-state{color:#467262}.is-resolved .request-avatar{background:#e5eee9;color:#467262}.request-detail{margin-top:18px}.request-detail>p{font-size:12px;line-height:1.7;color:#555d70}.recommendation{display:flex;align-items:flex-start;gap:9px;background:#f8f9fb;border:1px solid #e6e9ef;border-radius:5px;padding:12px;margin-top:13px}.recommendation p{font-size:11px;line-height:1.65;color:#596377}.recommendation-mark{font-size:20px;line-height:1;color:#7d88a1}
/* Reuse the homepage voice stage and keep its controls beside the illustration. */
.voice-work-panel{grid-template-columns:1fr 1fr;background:var(--paper)}
.voice-work-panel .work-description{padding:40px}
.voice-work-panel .work-description h3{font-size:36px;max-width:440px}
.voice-work-panel .work-demo{background:transparent;border:0;padding:28px 28px 28px 0}
.voice-work-panel .voice-stage{width:100%;min-height:490px}
.voice-work-panel .voice-chooser{margin-top:27px}
.voice-work-panel .role-tabs{gap:8px;margin:15px 0 24px}
.voice-work-panel .role-tabs button{font-size:11px;padding:9px 13px}
.clinic-actions{display:flex;align-items:center;gap:22px;margin-bottom:16px}
#voice-play:disabled{opacity:.45;cursor:default;transform:none}
#voice-audio-status{margin-bottom:14px}
.is-speaking .wave i{animation-duration:.65s}
.voice-work-panel .project-link{margin-top:6px}
.voice-work-panel .project-link svg{width:14px;height:14px;flex:none}
.voice-work-panel button:focus-visible{outline:2px solid #6e7e9a;outline-offset:3px}
@media(max-width:1250px){.voice-work-panel .work-description{padding:30px}.voice-work-panel .work-demo{padding:22px 22px 22px 0}.voice-work-panel .work-description h3{font-size:32px}}
@media(max-width:850px){.voice-work-panel{grid-template-columns:1fr}.voice-work-panel .work-description{padding:30px}.voice-work-panel .work-demo{padding:0 30px 30px}}
@media(max-width:550px){.voice-work-panel .work-description{padding:25px 21px}.voice-work-panel .work-description h3{font-size:29px}.voice-work-panel .work-demo{padding:0 16px 20px}.voice-work-panel .role-tabs{gap:7px}.voice-work-panel .role-tabs button{font-size:10px;padding:9px 11px}.voice-work-panel .voice-stage{min-height:460px;padding:18px 14px}.voice-work-panel .voice-orbit{width:min(248px,100%);height:auto;aspect-ratio:1}}
.demo-checks{padding:0;margin:0 0 20px;border:0;display:flex;gap:14px;flex-wrap:wrap}.demo-checks label,.demo-toggle{display:flex;align-items:center;gap:7px;font-size:11px;color:#555d70;cursor:pointer}.demo-checks input,.demo-toggle input{accent-color:#333349;width:14px;height:14px}.demo-checks legend{padding:0}.demo-toggle{margin:18px 0}.privacy-route{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;margin:20px 0}.privacy-route>div{border:1px solid #e1e5eb;background:#fafbfc;border-radius:6px;padding:13px;min-height:83px;display:flex;flex-direction:column;justify-content:center;min-width:0}.privacy-route .demo-label{font-size:8px;margin-bottom:7px}.privacy-route strong{font-size:11px;font-weight:500;line-height:1.5}.privacy-route small{font-size:9px;line-height:1.6;color:#7c8495;margin-top:3px;overflow-wrap:anywhere}.route-arrow{color:#8997ad;font-size:19px}.has-run .route-arrow{animation:payload-travel .7s ease both}.security-resource{display:flex;flex-direction:column;align-items:center;gap:15px;padding:15px 0 19px}.security-resource>svg{width:52px;height:52px;color:#6b7e93}.security-resource>strong{font:500 16px/1.5 'Space Grotesk',sans-serif}.audit-head{display:flex;align-items:center;justify-content:space-between;margin-top:13px}.audit-head .demo-label{margin:0}.audit-log{max-height:164px;overflow-y:auto;border-top:1px solid #e5e8ee;min-height:80px}.audit-log>div{display:grid;grid-template-columns:22px 1fr 2fr;gap:10px;padding:11px 0;border-bottom:1px solid #e9ebf0;font-size:10px;line-height:1.5;animation:demo-enter .25s ease}.audit-log strong{font-size:10px;font-weight:500;text-align:right;color:#667487}.audit-log .micro{font-size:9px}.audit-log>.demo-hint{padding-top:18px}.demo-status[data-outcome=denied]{color:#955d4a}.demo-export{border:0;background:none;padding:8px 0;color:#416858;font-size:11px;text-decoration:underline;text-underline-offset:4px}
@keyframes demo-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes payload-travel{from{transform:translateX(-8px);opacity:.2}to{transform:translateX(0);opacity:1}}
@media(max-width:1250px){.labs-integrations{grid-template-columns:1fr}.labs-integrations .integration-logos{max-width:none}.work-demo{padding:22px}.work-description{padding:28px}.work-description h3{font-size:27px}.demo-body{padding:18px}.demo-toolbar{padding-inline:15px;gap:8px}}
@media(max-width:850px){.labs-integrations .integration-logos{grid-template-columns:repeat(5,1fr);row-gap:23px}.labs-integrations .integration-brand{flex-direction:column}.work-panel{grid-template-columns:1fr}.work-description{padding:30px}.work-description>p{max-width:620px}.deliverables{margin-block:19px 23px}.work-demo{border-left:0;border-top:1px solid var(--line);padding:28px}.ownership-note{grid-template-columns:1fr;gap:14px}.demo-window{max-width:600px}}
@media(max-width:550px){.labs-integrations .integration-logos{grid-template-columns:repeat(5,minmax(0,1fr));gap:21px 8px}.labs-integrations .integration-brand{font-size:8px}.labs-integrations .integration-brand img{width:25px;height:23px}.athena-wordmark{font-size:9px;letter-spacing:-.5px}.labs-integrations{gap:25px}.work-description{padding:25px 21px}.work-description h3{font-size:26px}.work-demo{padding:16px 12px}.demo-body{padding:17px 13px}.demo-toolbar{padding:12px 11px;gap:7px}.demo-toolbar strong{font-size:11px}.demo-dots{display:none}.demo-badge{font-size:7px}.demo-options button{font-size:10px;padding:9px}.request-row{padding:10px 8px;gap:8px}.request-state{font-size:8px}.request-row strong{font-size:10px}.request-row small{font-size:9px}.demo-checks{gap:11px}.demo-checks label{font-size:10px}.privacy-route{gap:6px}.privacy-route>div{padding:10px 8px}.privacy-route strong{font-size:10px}.ownership-note h3{font-size:23px}.ownership-note p{font-size:13px}.demo-footer{gap:9px}.demo-primary{font-size:10px}}
@media(prefers-reduced-motion:reduce){.demo-window,.audit-log>div{animation:none}.has-run .route-arrow, .has-run .sample-receipt{animation:none}.demo-primary:hover:not(:disabled),.demo-options button:hover:not([aria-pressed=true]){transform:none}}
.voice-demo-note{margin-top:9px}.voice-call-status{display:flex;align-items:center;justify-content:center;gap:7px;font:11px/1.4 ui-monospace,monospace;margin:0 0 13px;color:var(--muted)}.voice-state-dot{width:6px;height:6px;border-radius:50%;background:#9196a4}#demo-voice[data-status=listening] .voice-state-dot{background:#55806a}#demo-voice[data-status=speaking] .voice-state-dot{background:#66688b}#demo-voice[data-status=error] .voice-state-dot{background:#b76666}#demo-voice[data-status=connecting] .voice-state-dot,#demo-voice[data-status=thinking] .voice-state-dot{background:#b69362}.live-transcript{margin-top:25px;border-top:1px solid var(--line);padding-top:16px}.live-transcript h4{font:10px/1.5 ui-monospace,monospace;color:var(--muted);margin:0 0 12px}#voice-transcript-list{max-height:180px;overflow-y:auto;overscroll-behavior:contain}.live-transcript-row{display:grid;grid-template-columns:50px minmax(0,1fr);gap:12px;padding:9px 0;font-size:11px;line-height:1.6}.live-transcript-row strong{font-weight:500;color:var(--muted)}.live-transcript-row p{margin:0;overflow-wrap:anywhere}.voice-work-panel [hidden]{display:none!important}

/* Keep the working interface ahead of supporting detail on narrow screens. */
.work-panel{grid-template-areas:"description demo" "support demo";grid-template-rows:auto auto}
.work-description{grid-area:description;align-self:end;padding-bottom:0}
.work-support{grid-area:support;align-self:start;padding:0 40px 40px}
.work-support .deliverables{margin:22px 0}
.work-support>.project-link{margin-top:22px}
.work-demo{grid-area:demo}
.voice-work-panel .work-description{padding-bottom:0}
.voice-work-panel .work-support{padding-top:0}
.voice-chooser{margin-top:22px}
.specialty-disclosure{display:flex;align-items:center;gap:9px;border:0;background:none;padding:8px 0;margin:4px 0 20px;color:var(--muted);font:12px/1.5 Inter,sans-serif;min-height:36px;cursor:pointer}
.specialty-disclosure span{transition:transform .2s}
.specialty-disclosure[aria-expanded=true] span{transform:rotate(180deg)}
.specialty-disclosure:hover{color:var(--ink)}
.specialty-disclosure:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.voice-work-panel .role-tabs{margin-bottom:0}
.voice-work-panel .role-tabs button{min-height:36px;font-size:12px}
.voice-work-panel .demo-hint{font-size:13px;line-height:1.65;color:var(--muted)}
.voice-work-panel .voice-chooser{font-size:11px;color:var(--muted)}
@media(max-width:850px){
 .work-panel,.voice-work-panel{grid-template-areas:"description" "demo" "support";grid-template-columns:minmax(0,1fr)}
 .work-description,.voice-work-panel .work-description{padding:28px 28px 22px}
 .work-support{padding:0 28px 28px}
 .work-demo{border-bottom:1px solid var(--line)}
 .work-support .deliverables{margin:24px 0 0}
 .voice-work-panel .work-support{padding-top:22px}
}
@media(max-width:550px){
 .labs-work{padding-top:34px;padding-bottom:34px;scroll-margin-top:25px}
 .labs-work .world-intro{gap:14px;margin-bottom:20px}
 .labs-work .world-intro h2{font-size:28px;line-height:1.16}
 .labs-work .world-intro>p{font-size:14px;line-height:1.6}
 .work-selector{grid-template-columns:repeat(3,minmax(0,1fr))}
 .work-selector button{min-height:42px;font-size:11px}
 .work-description,.voice-work-panel .work-description{padding:22px 20px 18px}
 .work-description .micro{font-size:10px}
 .work-description h3,.voice-work-panel .work-description h3{font-size:25px;margin-top:12px;margin-bottom:10px}
 .work-description>p{font-size:14px;line-height:1.6}
 .demo-boundary{margin-top:10px;font-size:12px}
 .work-support{padding:0 20px 24px}
 .demo-toolbar strong,.demo-primary,.demo-reset,.demo-select,.request-main strong{font-size:12px}
 .demo-primary,.demo-select{min-height:42px}
 .demo-toolbar .demo-badge,.request-main small{font-size:10px}
 .voice-work-panel .work-demo{padding:16px 12px 0}
 .voice-work-panel .voice-stage{min-height:420px}
}
.work-support>p{font-size:15px;line-height:1.7;color:var(--muted);margin:20px 0 0}
@media(max-width:550px){.work-support>p{font-size:14px}}
.demo-output{border-top:1px solid var(--line);margin-top:18px;padding-top:18px;animation:demo-enter .3s var(--ease)}
.demo-output[hidden]{display:none}
.sample-order{padding:14px;border:1px solid var(--line);border-radius:5px;font-size:12px}
.sample-order>strong{display:block;margin-bottom:12px}
.sample-order>span,.sample-receipt div>span{display:flex;justify-content:space-between;gap:15px;padding:7px 0}
.sample-order b,.sample-receipt b{font-weight:500}
.sample-order>span:last-child{border-top:1px solid var(--line);margin-top:6px}
.sample-receipt{background:#fafbfc;border:1px solid var(--line);padding:18px;border-radius:5px;font-size:12px}
.sample-receipt>strong,.sample-receipt>small{display:block;overflow-wrap:anywhere}
.sample-receipt>small{color:var(--muted);margin:4px 0 12px}
.sample-receipt>strong:last-child{margin-top:8px;padding-top:12px;border-top:1px solid var(--line);text-align:right;font-size:18px}
.demo-boundary-note{padding-top:12px;margin-top:14px!important;border-top:1px solid var(--line)}
.demo-export:disabled{opacity:.5;cursor:default}
.demo-export:focus-visible{outline:2px solid var(--ink);outline-offset:3px}

@media(prefers-reduced-motion:reduce){.demo-output{animation:none}}
.customer-record{border:1px solid var(--line);border-radius:6px;padding:18px;margin:18px 0;background:#fff}
.record-heading{display:flex;justify-content:space-between;gap:12px;align-items:start}
.record-heading strong{display:block;font:500 16px/1.4 'Space Grotesk',sans-serif}
.record-heading small{display:block;margin-top:5px;font-size:12px;color:var(--muted)}
.record-state{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;padding:4px 8px;border:1px solid var(--line);border-radius:20px;font-size:10px;line-height:1.4;color:var(--muted)}
.record-state svg,.record-correction svg{width:13px;height:13px;flex:none}
.record-state.is-complete{color:#416858;background:#f2f7f3;border-color:#d8e5dc}
.record-lines{margin:16px 0 10px}
.record-line,.record-total{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:12px;line-height:1.6;padding:6px 0}
.record-line strong,.record-line b{font-weight:500}
.record-line.is-removed{color:#7c8290}
.record-total{border-top:1px solid var(--line);padding-top:12px;margin-top:5px}
.record-total strong{font:500 19px/1.4 'Space Grotesk',sans-serif;white-space:nowrap}
.record-total del{font:12px/1.4 Inter,sans-serif;color:#7c8290;margin-right:5px}
.record-refund{color:#416858}
.record-correction{display:flex;align-items:center;gap:5px;font-size:11px;line-height:1.5;color:#416858;margin:8px 0}
.record-address{border-top:1px solid var(--line);padding-top:14px;margin-top:12px}
.record-address .demo-label{margin-bottom:7px}
.record-address strong,.record-address del{display:block;font-size:13px;line-height:1.6;font-weight:500}
.record-address del{font-size:11px;color:#7c8290;font-weight:400}
.record-address.is-updated strong{color:#416858}
.reply-preview{background:#fafbfc;border:1px solid var(--line);border-radius:6px;padding:16px}
.reply-preview>strong{font-size:12px;font-weight:500}
.reply-preview>p{font-size:12px;line-height:1.75;margin-top:10px;overflow-wrap:anywhere}
.reply-preview .demo-hint{font-size:11px}
.recommendation .demo-label{font-size:8px;margin-bottom:5px}
.demo-output{border:0;margin-top:16px;padding-top:0}
.customer-record.is-updated{border-color:#c8d9cf}
.customer-record.just-updated{animation:record-update .65s ease}
.privacy-request{border-left:2px solid #d7dce5;padding:2px 0 2px 14px;margin:20px 0}
.privacy-request>p{font-size:12px;line-height:1.75;color:var(--muted);overflow-wrap:anywhere}
.privacy-request .demo-label{margin-bottom:6px}
.privacy-route>div{min-height:100px;background:#fff}
.privacy-route strong,.privacy-route small{font-size:12px}
.privacy-route .demo-label{font-size:9px}
.privacy-route .is-protected{border-color:#c8d9cf;background:#f8fbf9}
.privacy-route .is-protected strong,.privacy-route .is-protected small{color:#416858}
.receipt-order{font-size:12px;color:var(--muted);margin:15px 0 7px}
.receipt-items>div{display:flex;justify-content:space-between;gap:15px;padding:7px 0}
.has-run .sample-receipt{animation:record-update .65s ease}
.portal-file .record-line,.portal-file .record-total{white-space:normal}
.portal-file>strong{display:block;margin-bottom:10px;font:500 15px/1.4 system-ui,sans-serif}
@keyframes record-update{50%{background:#f1f7f3;border-color:#8ba996}}
@media(max-width:550px){
 .customer-record,.reply-preview,.privacy-work{padding:14px}
 .record-heading strong{font-size:15px}
 .record-state{font-size:9px}
 .request-row strong{font-size:12px}.request-row small,.request-state{font-size:10px}
 .request-detail>p,.recommendation p{font-size:12px}
 .privacy-route{grid-template-columns:minmax(0,1fr);gap:8px}
 .privacy-route>div{min-height:0;padding:12px}
 .privacy-route .route-arrow{text-align:center;line-height:1;transform:rotate(90deg)}
 .privacy-route .route-arrow{animation:none}
 .privacy-route strong,.privacy-route small{font-size:12px}
 .processor-heading{align-items:start}
 .sample-order,.sample-receipt{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.customer-record.just-updated,.has-run .sample-receipt{animation:none}}

/* One voice-sized stage keeps the page still while its products change. */
.work-panel,.voice-work-panel{height:578px;min-height:0;grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr) auto;grid-template-areas:"description demo" "support demo";overflow:hidden}
.work-description,.voice-work-panel .work-description{padding:32px 40px 18px;align-self:center;min-height:0;overflow:auto}
.work-description h3,.voice-work-panel .work-description h3{font-size:32px;line-height:1.2;margin:16px 0}
.work-description>p{max-width:490px;font-size:15px;line-height:1.7}
.work-description .deliverables{margin:22px 0 0}
.work-support,.voice-work-panel .work-support{padding:0 40px 30px;align-self:end}
.work-support>.project-link{margin:0}
.work-demo,.voice-work-panel .work-demo{height:100%;padding:26px;min-height:0;min-width:0;overflow:hidden;align-items:center;box-sizing:border-box}
.demo-window{height:526px;max-width:660px;display:flex;flex-direction:column;margin:0 auto;animation:demo-enter .25s var(--ease);box-sizing:border-box}
.demo-toolbar{height:47px;min-height:47px;flex:none;padding:12px 16px;box-sizing:border-box}
.demo-body{padding:16px;min-height:0;flex:1;overflow:auto;overscroll-behavior:contain}
.work-demo .demo-body [hidden]{display:none!important}
.demo-footer{margin-top:12px}.demo-options{margin-bottom:10px}.demo-label{margin-bottom:7px}
.voice-work-panel .voice-stage{height:526px;min-height:0;overflow:auto;overscroll-behavior:contain;padding:24px;box-sizing:border-box}
.voice-work-panel .voice-orbit{width:260px;height:260px;margin:14px auto 12px}
.voice-work-panel .voice-stage .voice-panel{padding-top:0}
.voice-work-panel .role-tabs{margin-top:11px}
.voice-work-panel .specialty-disclosure{margin-bottom:12px}
.voice-work-panel .clinic-actions{margin-bottom:10px;gap:18px}
.voice-work-panel .demo-hint{font-size:12px;line-height:1.6;margin-top:8px}
.voice-work-panel .voice-chooser{margin-top:17px}

/* The order and its reply occupy one sheet, rather than growing a document. */
#demo-product .demo-body{display:grid;grid-template-rows:20px 58px 32px minmax(0,1fr) 42px 37px 28px;gap:6px;overflow:hidden}
#demo-product .queue-head>.demo-label{margin:0}
#demo-product .request-queue{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-width:0;border-radius:6px}
#demo-product .request-row{padding:8px;display:grid;grid-template-columns:25px minmax(0,1fr);gap:6px;border-bottom:0;border-right:1px solid var(--line);min-width:0;position:relative}
#demo-product .request-row:last-child{border-right:0}
#demo-product .request-avatar{height:25px;width:25px;font-size:10px}
#demo-product .request-row strong{font-size:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#demo-product .request-row small{font-size:9px;line-height:1.5}
#demo-product .request-state{position:absolute;right:5px;top:4px;font-size:0}
#demo-product .request-row.is-resolved .request-state:after{content:'✓';font-size:10px}
#demo-product .request-row[aria-pressed=true]{box-shadow:inset 0 -2px var(--ink)}
#demo-product .request-detail{margin:0;overflow:auto}
#demo-product .request-detail>p{font-size:11px;line-height:1.6;margin:0}
.request-sheet{border:1px solid var(--line);border-radius:7px;overflow:hidden;display:flex;flex-direction:column;min-height:0}
.sheet-tabs{display:flex;flex:none;gap:12px;border-bottom:1px solid var(--line);padding:0 12px;height:31px;background:#fafbfc}
.sheet-tabs button{border:0;border-bottom:2px solid transparent;background:none;font-size:10px;color:var(--muted);padding:6px 0;cursor:pointer;transition:color .18s,border-color .18s}
.sheet-tabs button[aria-pressed=true]{color:var(--ink);border-bottom-color:var(--ink)}
.sheet-tabs button:disabled{opacity:.45;cursor:default}
#demo-product .customer-record{border:0;border-radius:0;padding:10px 12px;margin:0;min-height:0;overflow:auto;flex:1;font-size:11px}
#demo-product .record-heading{gap:6px;align-items:center}
#demo-product .record-heading strong{font-size:13px}
#demo-product .record-heading small{display:none}
#demo-product .record-state{font-size:8px;padding:3px 6px}
#demo-product .record-lines{margin:8px 0 4px}
#demo-product .record-line{padding:2px 0;font-size:10px}
#demo-product .record-total{padding:5px 0 3px;margin:0;font-size:10px}
#demo-product .record-total strong{font-size:16px}
#demo-product .record-address{padding-top:7px;margin-top:5px}
#demo-product .record-address .demo-label{font-size:8px;margin-bottom:3px}
#demo-product .record-address strong,#demo-product .record-address del{font-size:11px}
#demo-product .record-correction{font-size:9px;margin:4px 0}
#demo-product .recommendation{padding:8px 10px;margin:0;align-items:center;overflow:auto}
#demo-product .recommendation p{font-size:10px;line-height:1.5;margin:0}
#demo-product .recommendation-mark{font-size:17px}
#demo-product .demo-footer{margin:0}
#demo-product .demo-status{margin:0;font-size:10px;line-height:1.6;overflow:auto}
#request-evidence{padding:12px;overflow:auto;min-height:0}
#request-evidence .reply-preview{border:0;background:white;padding:0}
#request-evidence .reply-preview>p{font-size:11px;line-height:1.7;margin:9px 0}
#request-evidence .reply-preview .demo-hint{font-size:10px}
#request-evidence .demo-export{font-size:10px}

/* A small studio reveals the design through choices and a usable app. */
#demo-design .demo-body{overflow:hidden;display:flex;flex-direction:column;gap:10px}
.studio-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.studio-controls .demo-options{margin:0;gap:4px;flex-direction:column}
.studio-controls .demo-label{font-size:9px;margin-bottom:6px}
.studio-controls .demo-options button{width:100%;font-size:11px;min-height:32px;padding:6px 3px}
#demo-design .demo-checks{gap:14px;margin:0;flex:none}
#demo-design .demo-checks label{font-size:10px}
.studio-canvas{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;overflow:hidden;box-sizing:border-box;background:radial-gradient(#cfd4df .6px,transparent .6px) 0 0/14px 14px,#f5f5f8;padding:10px;border-radius:9px}
.studio-canvas .portal-preview{height:100%;max-height:316px;min-height:0;box-sizing:border-box}
#demo-design .demo-footer{margin:0;flex:none}

/* One route, one receipt. Sensitive details stay on the customer side. */
#demo-privacy .demo-body{display:flex;flex-direction:column;overflow:auto}
#demo-privacy .demo-options{margin-bottom:9px}
#privacy-mode-note{font-size:10px;line-height:1.6;min-height:32px;margin:0 0 9px}
#demo-privacy .demo-toggle{font-size:11px;margin:0 0 10px}
#demo-privacy .privacy-route{margin:0 0 12px;gap:8px;flex:none}
#demo-privacy .privacy-route>div{min-height:77px;padding:11px}
#demo-privacy .privacy-route .demo-label{font-size:8px}
#demo-privacy .privacy-route strong,#demo-privacy .privacy-route small{font-size:11px}
.privacy-result-space{flex:1 0 auto;min-height:190px;display:grid;align-items:start;background:#fafbfc;border:1px solid var(--line);border-radius:7px}
#demo-privacy .demo-body>*{flex-shrink:0}
#demo-privacy .demo-footer{flex:none}
#demo-privacy .privacy-request{margin:16px;border-left:2px solid #c7ced9;padding-left:14px}
#demo-privacy .privacy-request>p{font-size:12px;line-height:1.7;margin:0}
#privacy-output{padding:12px;min-height:0}
#privacy-output .sample-receipt{padding:12px;border:0;background:white;font-size:11px}
.receipt-identity{display:flex;justify-content:space-between;gap:12px;align-items:center}
.receipt-identity svg{width:23px;height:23px;color:#416858;border:1px solid #c8d9cf;border-radius:50%;padding:4px;flex:none}
.receipt-identity strong,.receipt-identity small{display:block;font-size:11px}
.receipt-identity small{font-size:10px;margin-top:3px;color:var(--muted)}
.receipt-identity .demo-label{font-size:8px;margin-bottom:4px}
#privacy-output .receipt-order{margin:10px 0 4px;font-size:10px}
#privacy-output .receipt-items>div{padding:3px 0;font-size:10px}
.receipt-total{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:7px;padding-top:8px;border-top:1px solid var(--line)}
.receipt-total strong{font:500 19px/1.3 'Space Grotesk',sans-serif}
#demo-privacy .demo-status{height:31px;min-height:31px;margin:8px 0 0;overflow:auto;font-size:10px;line-height:1.5}

/* Try a permission in the product and see the member change. */
#demo-security .demo-body{display:flex;flex-direction:column;overflow:hidden}
.security-member{display:flex;align-items:center;gap:12px;padding:20px 16px;border:1px solid var(--line);border-radius:9px;margin:7px 0 17px;background:#fafbfc;transition:background .25s,border-color .25s}
.member-avatar{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:12px;background:#e6e9ef;color:#5e6a80;font:500 14px 'Space Grotesk',sans-serif}
.member-identity{flex:1;min-width:0}.member-identity strong{font:500 16px/1.4 'Space Grotesk',sans-serif}.security-member .demo-label{font-size:8px;margin-bottom:4px}.member-access{text-align:right}
.access-badge{display:inline-block;padding:5px 9px;border:1px solid var(--line);border-radius:5px;background:#fff;font-size:11px;font-weight:500;transition:color .25s,border-color .25s,background .25s}
.security-member.is-updated{background:#f4f8f5;border-color:#c8d9cf}.is-updated .access-badge{color:#416858;background:#edf5ef;border-color:#c8d9cf}
.security-action{display:flex;align-items:center;gap:12px}.permission-lock{width:36px;height:36px;display:grid;place-items:center;background:#f4f4f7;border-radius:7px}.permission-lock svg{width:19px;height:19px;color:#738095}
#demo-security .demo-status{height:36px;min-height:36px;margin:11px 0 8px;overflow:auto;font-size:11px;line-height:1.6}
#demo-security .audit-head{margin:8px 0 0}
#demo-security .audit-log{flex:1;min-height:0;max-height:none;overflow:auto;padding-top:3px}
#demo-security .audit-log>div{display:grid;grid-template-columns:26px minmax(0,1fr) 20px;gap:10px;align-items:center;padding:12px 0}
.audit-mark{width:24px;height:24px;border-radius:50%;background:#f6eee9;color:#955d4a;display:grid;place-items:center;font-size:13px}
[data-outcome=allowed] .audit-mark{background:#eaf3ed;color:#416858}
#demo-security .audit-log strong{text-align:left;font-size:11px;color:var(--ink);display:block}
#demo-security .audit-log small{display:block;font-size:10px;color:var(--muted);line-height:1.6;margin-top:3px}
#demo-security .audit-log .micro{color:#8590a2;font-size:9px;text-align:right}

@media(max-width:1250px) and (min-width:851px){
 .work-description,.voice-work-panel .work-description{padding:25px 28px 16px}
 .work-support,.voice-work-panel .work-support{padding:0 28px 28px}
 .work-demo,.voice-work-panel .work-demo{padding:22px}
 .demo-window,.voice-work-panel .voice-stage{height:534px}
 .studio-controls{gap:8px}
}
@media(max-width:850px){
 .work-panel,.voice-work-panel{height:1030px;grid-template-columns:minmax(0,1fr);grid-template-areas:"description" "demo" "support";grid-template-rows:330px 570px minmax(0,1fr)}
 .work-description,.voice-work-panel .work-description{padding:28px;align-self:stretch;max-height:100%;box-sizing:border-box;overflow:auto}
 .work-description h3,.voice-work-panel .work-description h3{font-size:28px}
 .work-description .deliverables{display:flex;flex-wrap:wrap;gap:9px 18px;margin-top:16px}
 .work-description .deliverables li{font-size:11px}
 .work-demo,.voice-work-panel .work-demo{padding:22px;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
 .demo-window,.voice-work-panel .voice-stage{height:526px;max-width:600px}
 .work-support,.voice-work-panel .work-support{padding:20px 28px;align-self:center}
 .voice-work-panel .work-description{padding:22px 28px}
 .voice-work-panel .demo-hint{font-size:11px;line-height:1.55}
 .voice-work-panel .clinic-actions{margin-bottom:7px}
 .voice-work-panel .voice-demo-note{margin-top:6px}
}
@media(max-width:550px){
 .work-panel,.voice-work-panel{height:1000px;grid-template-rows:326px 566px minmax(0,1fr)}
 .work-description,.voice-work-panel .work-description{padding:20px}
 .work-description h3,.voice-work-panel .work-description h3{font-size:25px;margin:12px 0}
 .work-description>p{font-size:14px;line-height:1.6}
 .work-demo,.voice-work-panel .work-demo{padding:20px 12px}
 .work-support,.voice-work-panel .work-support{padding:20px}
 .demo-body{padding:14px 12px}.demo-toolbar{padding:12px}
 .demo-toolbar strong{font-size:11px}.demo-badge{font-size:8px}
 .demo-primary{min-height:37px;font-size:11px;padding:9px 11px}
 .studio-controls{gap:6px}.studio-controls .demo-options{gap:3px;flex-direction:column}.studio-controls .demo-options button{width:100%;font-size:11px;padding:6px 3px;min-height:32px}.studio-controls .demo-label{font-size:9px}
 #demo-privacy .privacy-route{grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr);gap:5px}
 #demo-privacy .privacy-route>div{min-height:76px;padding:8px;box-sizing:border-box}
 #demo-privacy .privacy-route small{overflow-wrap:anywhere}
 #demo-privacy .privacy-route .route-arrow{transform:none}
 #demo-design .demo-checks{gap:9px}.studio-canvas{padding:7px}
 #demo-product .request-row{grid-template-columns:1fr;padding:7px;gap:0}.request-queue .request-avatar{display:none}
 #demo-product .request-detail>p{font-size:10px}
 #demo-product .record-state{font-size:7px}
 #demo-product .recommendation p{font-size:9px}
 .security-member{padding:16px 11px;gap:9px}.member-avatar{width:34px;height:34px;font-size:11px}.member-identity strong{font-size:14px}
 .voice-work-panel .voice-stage{padding:18px 14px}
 .voice-work-panel .voice-orbit{width:248px;height:248px;margin:15px auto}
 .voice-work-panel .role-tabs button{font-size:10px;min-height:32px;padding:7px 10px}
 .voice-work-panel .voice-chooser{margin-top:12px}
 .voice-work-panel .specialty-disclosure{min-height:30px;margin-bottom:6px}
 .voice-work-panel .clinic-actions .button{font-size:11px;padding:9px 12px}
}
@media(prefers-reduced-motion:reduce){.demo-window,.request-sheet,.security-member,.access-badge{animation:none!important;transition:none!important}.customer-record.just-updated{animation:none!important}}

.portal-preview{--portal-accent:#373655;--portal-soft:#efedf6;--portal-space:18px;display:grid;grid-template-columns:98px minmax(0,1fr);grid-template-rows:88px minmax(0,1fr);width:100%;height:316px;margin:auto;color:#232236;font:13px/1.5 Inter,system-ui,sans-serif;background:#fff;border:1px solid #e0e2e9;border-radius:12px;overflow:hidden;box-shadow:0 15px 34px -25px #25213965;transition:width .32s cubic-bezier(.23,1,.32,1),border-radius .32s,background .25s}
.portal-preview[data-brand="1"]{--portal-accent:#43675b;--portal-soft:#edf4ef}
.portal-preview[data-layout="1"]{--portal-space:11px}
.portal-preview[data-device="1"]{width:288px;max-width:100%;grid-template-columns:1fr;grid-template-rows:76px 44px minmax(0,1fr);border-radius:20px}
.portal-header{grid-column:1/-1;padding:var(--portal-space) 20px;color:white;background:var(--portal-accent);display:flex;align-items:center;gap:12px;position:relative;overflow:hidden;transition:background .25s,padding .25s}
.portal-header:after{content:'';position:absolute;width:150px;height:150px;border:1px solid #ffffff20;border-radius:50%;right:-20px;top:-50px;pointer-events:none}
.portal-header b{font:500 23px/1.2 'Space Grotesk',system-ui,sans-serif;display:block;letter-spacing:-.04em}.portal-header small{display:block;font-size:10px;margin-top:7px;opacity:.8}
.portal-monogram{border:1px solid #ffffff45;border-radius:9px;height:34px;width:34px;display:grid;place-items:center;flex:none}
.portal-nav{display:flex;flex-direction:column;gap:6px;padding:var(--portal-space) 8px;border-right:1px solid #e5e7ed;background:#fafafb;transition:padding .25s}
.portal-preview button{border:1px solid #e0e2e9;border-radius:6px;padding:8px 9px;background:white;color:#525568;font:inherit;font-size:10px;cursor:pointer;min-height:36px;transition:background .2s,color .2s,border-color .2s,transform .16s}
.portal-preview button:hover:not(:disabled){transform:translateY(-1px);border-color:var(--portal-accent)}.portal-preview button:active:not(:disabled){transform:scale(.97)}
.portal-nav button{border-color:transparent;text-align:left;background:transparent}.portal-preview button[aria-pressed="true"]{background:var(--portal-soft);color:var(--portal-accent);border-color:var(--portal-accent)}
.portal-preview button:disabled{opacity:.5;cursor:default}.portal-preview button:focus-visible{outline:2px solid var(--portal-accent);outline-offset:2px}
.portal-content{padding:var(--portal-space);min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;animation:portal-arrive .25s cubic-bezier(.23,1,.32,1);transition:padding .25s}
.portal-content h4{font:500 20px/1.2 'Space Grotesk',system-ui,sans-serif;margin:0 0 7px;letter-spacing:-.03em}.portal-content>p{margin:0;font-size:11px;color:#626578;line-height:1.6}
.portal-preview [hidden]{display:none!important}.portal-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:15px 0}.portal-actions button{min-height:62px;background:var(--portal-soft);border-color:transparent;text-align:left;line-height:1.8}
.portal-actions button[aria-pressed="true"]{background:var(--portal-accent);color:white}.portal-preview [data-confirm]{background:var(--portal-accent);color:white;border-color:var(--portal-accent)}
.portal-file{font:11px/1.6 Inter,system-ui,sans-serif;overflow-wrap:anywhere;padding:12px;border:1px solid #e0e2e9;border-radius:7px;background:#fafafb;margin:12px 0 8px}
.portal-preview .record-line,.portal-preview .record-total{display:flex;flex-wrap:wrap;justify-content:space-between;column-gap:8px;row-gap:3px;padding:4px 0;font-size:11px}.portal-preview .record-line>*,.portal-preview .record-total>*{white-space:nowrap}.portal-preview .record-total{border-top:1px solid #e0e2e9;padding-top:8px}.portal-preview .record-total strong{font-size:17px}.portal-file>strong{display:block;font:500 13px/1.4 Inter,system-ui,sans-serif;margin-bottom:6px}.portal-confirmation{border-left:2px solid var(--portal-accent);padding:8px 12px;margin-top:12px!important;background:var(--portal-soft);animation:portal-arrive .25s ease-out}
.portal-preview[data-device="1"] .portal-header{padding:14px 18px}.portal-preview[data-device="1"] .portal-nav{flex-direction:row;border-right:0;border-bottom:1px solid #e5e7ed;padding:5px 8px;gap:4px}.portal-preview[data-device="1"] .portal-nav button{flex:1;text-align:center;font-size:9px;min-height:30px;padding:5px}.portal-preview[data-device="1"] .portal-content{padding:14px}.portal-preview[data-device="1"] .portal-content h4{font-size:18px}.portal-preview[data-device="1"] .portal-actions{margin:10px 0}.portal-preview[data-device="1"] .portal-actions button{font-size:9px;min-height:50px;padding:6px}
@keyframes portal-arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.portal-preview,.portal-preview *{transition:none!important;animation:none!important}}
@media(max-width:400px){.portal-preview{grid-template-columns:80px minmax(0,1fr)}.portal-header b{font-size:20px}.portal-actions{grid-template-columns:1fr;gap:5px;margin:9px 0}.portal-actions button{min-height:36px}.portal-nav button{font-size:9px;padding:6px}.portal-content{padding:12px}.portal-content>p{font-size:10px}.portal-preview[data-device="1"] .portal-actions{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Fixed waveform bars keep animations under the strict style policy. */
.voice-wave i:nth-child(1){--bar:0;--height:8px}
.voice-wave i:nth-child(2){--bar:1;--height:14px}
.voice-wave i:nth-child(3){--bar:2;--height:23px}
.voice-wave i:nth-child(4){--bar:3;--height:32px}
.voice-wave i:nth-child(5){--bar:4;--height:20px}
.voice-wave i:nth-child(6){--bar:5;--height:38px}
.voice-wave i:nth-child(7){--bar:6;--height:28px}
.voice-wave i:nth-child(8){--bar:7;--height:18px}
.voice-wave i:nth-child(9){--bar:8;--height:12px}
.wave i:nth-child(1){--i:0;--h:6}
.wave i:nth-child(2){--i:1;--h:10}
.wave i:nth-child(3){--i:2;--h:16}
.wave i:nth-child(4){--i:3;--h:24}
.wave i:nth-child(5){--i:4;--h:32}
.wave i:nth-child(6){--i:5;--h:25}
.wave i:nth-child(7){--i:6;--h:18}
.wave i:nth-child(8){--i:7;--h:12}
.wave i:nth-child(9){--i:8;--h:7}
