:root{--surface-radius-xl:28px;--surface-radius-lg:22px;--surface-radius-md:18px;--shadow-lg:0 28px 72px #0710222e;--shadow-md:0 18px 44px #07102224;--shell-gradient:radial-gradient(circle at top left, #3368be4d, transparent 34%), radial-gradient(circle at bottom right, #12b3a938, transparent 28%), linear-gradient(180deg, #eaf1ff 0%, #f5f8ff 100%);--shell-surface:#ffffffe0;--shell-surface-strong:#f8fbfff5;--shell-panel:#0d1629e6;--shell-panel-muted:#111e38c7;--shell-panel-soft:#ffffff14;--border-strong:#11274829;--border-soft:#11274814;--text-primary:#0d1b31;--text-secondary:#52637e;--text-on-dark:#f8fbff;--accent:#2465d6;--accent-strong:#17479e;--soap-accent:#cf4b4b;--warning:#c98212;--danger:#cf4b4b}:root[data-theme=dark]{--shell-gradient:radial-gradient(circle at top left, #2b67d440, transparent 34%), radial-gradient(circle at bottom right, #0fb1a92e, transparent 28%), linear-gradient(180deg, #09111f 0%, #0d1629 100%);--shell-surface:#101a2dd1;--shell-surface-strong:#15223bf5;--shell-panel:#050c17f5;--shell-panel-muted:#0b1424d6;--shell-panel-soft:#ffffff0d;--border-strong:#9db6dc2e;--border-soft:#9db6dc1a;--text-primary:#f5f8ff;--text-secondary:#a6b6d4;--text-on-dark:#f5f8ff;--accent:#5f9bff;--accent-strong:#7aa9ff;--soap-accent:#ff8f8f;--warning:#efb043;--danger:#ff7d7d}*{box-sizing:border-box}html,body,#root{min-height:100dvh}body{background:var(--shell-gradient);color:var(--text-primary);margin:0;font-family:Segoe UI,Inter,sans-serif}button,input,select{font:inherit}button{cursor:pointer}.app-feedback{place-items:center;min-height:100dvh;padding:24px;display:grid}.app-shell{--shell-safe-top:env(safe-area-inset-top,0px);--shell-safe-right:env(safe-area-inset-right,0px);--shell-safe-bottom:env(safe-area-inset-bottom,0px);--shell-safe-left:env(safe-area-inset-left,0px);--topbar-runtime-height:72px;--workflow-edge-reserve:176px;--workflow-edge-reserve-expanded:224px;--documents-edge-reserve:72px;--shell-inline-padding:clamp(12px, 2vw, 24px);--shell-bottom-padding:calc(var(--shell-safe-bottom) + 110px);--topbar-offset:calc(var(--shell-safe-top) + 12px + var(--topbar-runtime-height) + 12px);min-height:100dvh;padding:calc(var(--shell-safe-top) + 16px) calc(var(--shell-safe-right) + var(--shell-inline-padding)) var(--shell-bottom-padding) calc(var(--shell-safe-left) + var(--shell-inline-padding));position:relative}.app-shell__canvas{pointer-events:none;background:radial-gradient(circle at 10% 10%,#5b93ff2e,#0000 22%),radial-gradient(circle at 85% 15%,#22c1c324,#0000 24%);position:fixed;inset:0}.topbar{top:calc(var(--shell-safe-top) + 12px);z-index:20;border:1px solid var(--border-soft);border-radius:var(--surface-radius-xl);background:var(--shell-surface);max-width:1560px;box-shadow:var(--shadow-md);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);grid-template-columns:auto 1fr auto;align-items:center;gap:14px;margin:0 auto 18px;padding:14px 18px;display:grid;position:sticky}.topbar__brand,.topbar__actions{align-items:center;gap:10px;display:flex}.topbar__actions{justify-self:end;margin-left:auto}.topbar__brand-mark{background:linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);color:#fff;border-radius:16px;place-items:center;width:44px;height:44px;display:grid}.topbar__brand-copy{flex-direction:column;gap:2px;display:flex}.topbar__brand-copy strong{font-size:1.2rem;line-height:1}.topbar__brand-copy span,.topbar__status,.surface-chrome__header p,.field-shell__meta,.ui-empty-state p,.documents-panel__header p,.worklist-guidance p,.send-surface__hero-description,.send-surface__notice,.send-channel-card__copy>span,.send-detail__header p,.widget-surface__header p{color:var(--text-secondary)}.topbar__status{text-overflow:ellipsis;white-space:nowrap;background:#2465d614;border-radius:999px;justify-self:center;align-items:center;gap:8px;max-width:min(48vw,520px);padding:8px 12px;font-size:.85rem;font-weight:600;display:inline-flex;overflow:hidden}.topbar__status-name{min-width:0;color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.topbar__status-separator{color:#52637ecc;font-weight:700}.topbar__status-date{color:var(--text-primary);white-space:nowrap;font-weight:700}.topbar__status-chip{min-height:28px;color:var(--text-primary);white-space:nowrap;background:#ffffff94;border:1px solid #2465d61f;border-radius:999px;align-items:center;gap:6px;padding:0 10px;font-size:.8rem;font-weight:700;display:inline-flex}.topbar__status-chip--timer{background:#2465d61f;border-color:#2465d629}.topbar__status-chip--timer svg{color:var(--accent)}.topbar__meta{justify-self:center;align-items:center;gap:10px;min-width:0;max-width:min(56vw,640px);display:flex}.topbar__mode-badge{color:var(--text-primary);white-space:nowrap;background:#f5bf561f;border:1px solid #d3942b47;border-radius:999px;align-items:center;gap:8px;padding:8px 12px;font-size:.85rem;font-weight:700;display:inline-flex}.topbar__mode-badge svg{color:#c78717}.topbar__record-button{border:1px solid var(--border-soft);min-height:42px;color:var(--text-primary);font:inherit;white-space:nowrap;background:#2465d614;border-radius:999px;align-items:center;gap:8px;padding:0 14px;font-size:.86rem;font-weight:700;transition:background-color .16s,border-color .16s,color .16s,transform .16s;display:inline-flex}.topbar__finish-button{min-height:42px;color:var(--danger);font:inherit;white-space:nowrap;background:#cf4b4b14;border:1px solid #cf4b4b3d;border-radius:999px;align-items:center;gap:8px;padding:0 14px;font-size:.86rem;font-weight:700;transition:background-color .16s,border-color .16s,color .16s,transform .16s;display:inline-flex}.topbar__finish-button:hover,.topbar__finish-button:focus-visible{background:#cf4b4b24;border-color:#cf4b4b4d;outline:none;transform:translateY(-1px)}.topbar__record-button:hover{background:#2465d624;border-color:#2465d633;transform:translateY(-1px)}.topbar__record-button.is-active{background:linear-gradient(#2465d629,#2465d614);border-color:#2465d63d}.topbar__status-spacer{min-width:0}.topbar.is-summary-empty .topbar__status-spacer{display:none}.topbar-control,.topbar-profile{border:1px solid var(--border-soft);background:var(--shell-surface-strong);min-width:64px;min-height:46px;color:var(--text-primary);border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:0 12px;display:inline-flex}.flag-icon{width:22px;height:22px}.floating-panel{border:1px solid var(--border-soft);border-radius:var(--surface-radius-lg);background:var(--shell-surface-strong);width:min(360px,100vw - 32px);box-shadow:var(--shadow-lg);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:100;overflow:hidden}.floating-search{border-bottom:1px solid var(--border-soft);align-items:center;gap:10px;padding:14px 16px;display:flex}.floating-search input{width:100%;color:var(--text-primary);background:0 0;border:0;outline:none}.locale-panel__list,.session-panel__options{gap:8px;padding:14px 16px;display:grid}.locale-option,.session-option{border:1px solid var(--border-soft);width:100%;color:var(--text-primary);text-align:left;background:0 0;border-radius:16px;align-items:center;gap:12px;padding:12px 14px;display:flex}.locale-option.is-active,.session-option.is-active{background:#2465d614;border-color:#2465d666}.locale-option span{flex-direction:column;gap:2px;display:flex}.floating-empty,.floating-panel__footer,.session-panel__section,.session-panel__signout{padding:14px 16px}.session-panel__label{color:var(--text-secondary);margin-bottom:10px;font-size:.9rem;display:block}.session-panel__signout{border:0;border-top:1px solid var(--border-soft);width:100%;color:var(--danger);text-align:left;background:0 0}.edge-launcher{z-index:15;background:var(--shell-panel);width:42px;min-height:216px;color:var(--text-on-dark);box-shadow:var(--shadow-md);border:1px solid #82a0d640;justify-items:center;gap:10px;padding:14px 6px;display:grid;position:fixed;top:50%;transform:translateY(-50%)}.edge-launcher--left{left:var(--shell-safe-left);border-left:0;border-radius:0 18px 18px 0}.edge-launcher--right{right:var(--shell-safe-right);border-right:0;border-radius:18px 0 0 18px}.edge-launcher svg{flex:none}.edge-launcher__label{writing-mode:vertical-rl;text-orientation:mixed;letter-spacing:.02em;font-size:.84rem;font-weight:700}.edge-launcher.is-active{background:linear-gradient(#2564d6f5 0%,#12377df5 100%)}.bottom-launchers{right:var(--shell-safe-right);bottom:max(18px, calc(env(safe-area-inset-bottom,0px) + 18px));z-index:30;justify-items:end;gap:10px;display:grid;position:fixed}.assistant-launcher-pill{min-height:28px;color:var(--text-on-dark);cursor:pointer;background:#08182cdb;border:1px solid #76b5f538;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:0 12px;font-size:.76rem;font-weight:700;display:inline-flex;box-shadow:-12px 14px 28px #030a143d}.assistant-launcher-pill.is-active{background:#10325af5}.assistant-launcher-pill:hover,.assistant-launcher-pill:focus-visible{outline:none;transform:translate(-3px);box-shadow:-16px 18px 38px #040c1857}.bottom-launcher{width:46px;height:84px;color:var(--text-on-dark);text-align:center;background:linear-gradient(#10325afa,#0a213ef7 58%,#08182cfa),radial-gradient(circle at 0 0,#b3dcff29,#0000 42%);border:1px solid #76b5f547;border-right:0;border-radius:18px 0 0 18px;place-items:center;padding:0;transition:transform .18s,box-shadow .18s,filter .18s,opacity .18s;display:grid;position:relative;box-shadow:-14px 16px 34px #030a144d}.bottom-launcher.is-active{background:linear-gradient(#194a8afa,#0a213efa),radial-gradient(circle at 0 0,#b3dcff29,#0000 42%)}.bottom-launcher.is-live:after{background:#64ffb4;box-shadow:0 0 12px #64ffb48a}.bottom-launcher:hover,.bottom-launcher:focus-visible{filter:saturate(1.03);outline:none;transform:translate(-3px);box-shadow:-16px 18px 38px #040c1857}.bottom-launcher__icon{place-items:center;width:100%;height:100%;display:grid}.bottom-launcher:before{content:"";background:#08182cb8;border-radius:999px;width:14px;height:14px;position:absolute;top:10px;left:50%;transform:translate(-50%);box-shadow:0 0 0 1px #9acaff14}.bottom-launcher:after{content:"";background:#7dc8ff;border-radius:999px;width:6px;height:6px;position:absolute;top:14px;left:50%;transform:translate(-50%);box-shadow:0 0 12px #7dc8ff80}.bottom-launcher svg{filter:drop-shadow(0 4px 10px #0000002e);width:22px;height:22px}.bottom-launcher__copy{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.phase-edge-stack-layer{top:var(--topbar-offset);left:var(--shell-safe-left);z-index:18;position:fixed}.phase-edge-stack{align-items:flex-start;gap:8px;display:flex}.phase-edge-stack__items{gap:8px;display:grid}.phase-edge-stack__nav{align-self:flex-start;gap:8px;display:grid}.phase-edge-stack__nav-button{width:40px;height:40px;color:var(--text-on-dark);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#081224d1;border:1px solid #82a0d63d;border-radius:14px;place-items:center;padding:0;display:grid;box-shadow:0 10px 24px #040a162e}.phase-edge-stack__nav-button:disabled{cursor:default;opacity:.44}.phase-edge-stack__item{width:max-content;min-width:148px;max-width:min(276px,100vw - 108px);min-height:66px;color:var(--text-on-dark);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);text-align:left;background:#081224b8;border:1px solid #8daee847;border-left:0;border-radius:0 18px 18px 0;align-items:flex-start;gap:8px;padding:10px 14px 12px 8px;display:flex;position:relative;box-shadow:0 12px 30px #040a1633}.phase-edge-stack__item.is-collapsed-preview{min-width:140px}.phase-edge-stack__item.is-stage-open{background:linear-gradient(#2564d6b8 0%,#113679d1 100%);border-color:#7ea7f570}.phase-edge-stack__item.is-completed{border-color:#68dcaa52}.phase-edge-stack__item.is-pending:not(.is-stage-open){border-color:#f5ca6e42}.phase-edge-stack__item.is-progress:not(.is-stage-open){background:#0e1e3ac2;border-color:#7ea7f557}.phase-edge-stack__item.is-stub{opacity:.84}.phase-edge-stack__lead{flex:0 0 22px;justify-content:center;align-items:flex-start;width:22px;padding-top:0;display:flex}.phase-edge-stack__index{color:#ffd788;background:#f5ca6e24;border:1px solid #f5ca6e38;border-radius:999px;place-items:center;width:22px;height:22px;font-size:.68rem;font-weight:700;line-height:1;display:grid}.phase-edge-stack__copy{flex-direction:column;flex:1;gap:5px;min-width:0;padding-top:1px;display:flex}.phase-edge-stack__copy strong{white-space:nowrap;text-overflow:ellipsis;font-size:.98rem;line-height:1.05;overflow:hidden}.phase-edge-stack__meta{justify-content:flex-end;align-items:center;gap:0;min-width:0;display:flex}.phase-edge-stack__chips{flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:6px;width:100%;min-width:0;display:inline-flex}.phase-edge-stack__chip{color:#f5f8ffdb;white-space:nowrap;background:#ffffff14;border-radius:999px;align-items:center;gap:4px;min-height:20px;padding:0 8px;font-size:.68rem;font-weight:700;display:inline-flex}.phase-edge-stack__chip svg{flex:none}.phase-edge-stack__chip--pending{color:#ffd788;background:#f5ca6e24;justify-content:center;min-width:20px;min-height:20px;padding-inline:5px}.phase-edge-stack__chip--pending.is-completed{color:#b9ffdf;background:#68dcaa24}.phase-edge-stack__chip--pending.is-required{color:#ffe1e1;background:#cf4b4b2e}.phase-edge-stack__chip--pending.is-recommended{color:#ffe4b5;background:#c982122e}.phase-edge-stack__chip--pending.is-operational{color:#ffd788;background:#f5ca6e24}.phase-edge-stack__chip--time{background:#ffffff12}.soap-phase-title{align-items:baseline;gap:.01em;display:inline-flex}.soap-phase-title__accent{color:var(--soap-accent);text-shadow:0 0 .01em;font-style:italic;font-weight:800}.soap-phase-title--s .soap-phase-title__accent,.soap-phase-title--o .soap-phase-title__accent,.soap-phase-title--a .soap-phase-title__accent,.soap-phase-title--p .soap-phase-title__accent{color:var(--soap-accent)}.app-shell__workspace{grid-template-columns:minmax(0,1fr);align-items:start;gap:14px;width:100%;max-width:1580px;margin:0 auto;padding-left:0;padding-right:0;display:grid}.app-shell__workspace.has-left-edge{padding-left:var(--workflow-edge-reserve)}.app-shell__workspace.has-left-edge.is-left-expanded{padding-left:var(--workflow-edge-reserve-expanded)}.app-shell__workspace.is-single-phase-active{--phase-single-stack-height:72px}.app-shell__workspace.has-right-edge{padding-right:var(--documents-edge-reserve)}.layout-expanded .app-shell__workspace.has-right-edge.is-right-open{padding-right:0}.layout-expanded .app-shell__workspace.is-left-open{grid-template-columns:minmax(280px,320px) minmax(0,1fr)}.layout-expanded .app-shell__workspace.is-right-open{grid-template-columns:minmax(0,1fr) minmax(320px,360px)}.layout-expanded .app-shell__workspace.is-left-open.is-right-open{grid-template-columns:minmax(280px,320px) minmax(0,1fr) minmax(320px,360px)}.app-shell__rail,.app-shell__stage,.documents-panel,.phase-rail,.phase-screen{border:1px solid var(--border-soft);border-radius:var(--surface-radius-xl);background:var(--shell-surface);box-shadow:var(--shadow-md);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.app-shell__rail{min-height:calc(100dvh - 142px);overflow:hidden}.app-shell__stage{min-width:0;min-height:calc(100dvh - 142px);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;border-radius:0;align-content:start;padding:0 12px 16px;display:grid}.app-shell__stage--continuous-phase-active{height:calc(100dvh - var(--topbar-offset) - var(--shell-bottom-padding) + 22px);overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#7394c48f #0f1f3a14;align-content:stretch;gap:0;min-height:0;overflow-y:auto}.app-shell__stage--continuous-phase-active::-webkit-scrollbar{width:10px}.app-shell__stage--continuous-phase-active::-webkit-scrollbar-track{background:#0f1f3a0f;border-radius:999px}.app-shell__stage--continuous-phase-active::-webkit-scrollbar-thumb{background:linear-gradient(#abc9f3db,#6089c9d1);border:2px solid #ffffff52;border-radius:999px}.app-shell__stage--continuous-phase-active::-webkit-scrollbar-thumb:hover{background:linear-gradient(#bcd6f8e6,#7097d6db)}.app-shell__stage--intake{align-content:center;justify-items:center;padding:0;display:grid}.app-shell__continuous-phase-stack{gap:0;width:100%;display:grid}.app-shell__continuous-phase-card{scroll-margin-top:96px;display:grid}.app-shell__continuous-phase-card+.app-shell__continuous-phase-card{margin-top:-2px}.app-shell__continuous-phase-card.is-active .runtime-step-panel{box-shadow:0 22px 48px #0710221a}.phase-stage-view-switch{color:#3f2d05;background:linear-gradient(#f5d27bf5,#e0ba5ceb);border:0;border-radius:999px;place-items:center;width:44px;height:44px;margin:8px auto 0;display:grid;box-shadow:0 14px 24px #7c58122e}.phase-stage-view-switch:hover,.phase-stage-view-switch:focus-visible{background:linear-gradient(#fbdc8efa,#e6bf5ff5);transform:translateY(1px)}.phase-rail,.documents-panel,.phase-screen{height:100%}.phase-rail{flex-direction:column;display:flex}.phase-rail,.documents-panel{color:var(--text-on-dark);background:linear-gradient(#081224f5 0%,#0c1830eb 100%);border-color:#8cade82e;box-shadow:0 24px 64px #040a1647}.phase-rail h2,.documents-panel h2,.documents-panel h3,.phase-rail strong,.documents-panel strong,.documents-panel dd{color:var(--text-on-dark)}.phase-rail__header p,.documents-panel__header p,.documents-panel small,.documents-panel dt,.documents-panel .ui-empty-state p{color:#f5f8ffb8}.phase-rail__header,.documents-panel__header,.surface-chrome__header,.widget-surface__header{border-bottom:1px solid var(--border-soft);justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 18px 14px;display:flex}.phase-rail__list{gap:8px;padding:10px;display:grid}.phase-rail__header-meta{align-items:center;gap:8px;display:flex}.phase-rail__item{border:1px solid var(--border-soft);width:100%;color:var(--text-on-dark);text-align:left;background:#ffffff0a;border-color:#ffffff14;border-radius:16px;align-items:center;gap:12px;padding:10px 12px;display:flex}.phase-rail__item.is-active{background:linear-gradient(#2564d647 0%,#1136796b 100%);border-color:#7ea7f57a}.phase-rail__item-index{color:#ffd788;background:#f5ca6e29;border:1px solid #f5ca6e3d;border-radius:10px;place-items:center;width:30px;height:30px;font-weight:700;display:grid}.phase-rail__item-copy{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.phase-rail__item-copy small{color:#f5f8ffad}.phase-rail .ui-status-pill.is-neutral,.documents-panel .ui-status-pill.is-neutral{color:#f5f8ffbd;background:#ffffff14}.phase-rail .ui-status-pill.is-accent,.documents-panel .ui-status-pill.is-accent{color:#dceaff;background:#5f9bff2e}.phase-rail .ui-status-pill.is-warning,.documents-panel .ui-status-pill.is-warning{color:#ffd788;background:#f5ca6e24}.phase-rail .ui-status-pill.is-success,.documents-panel .ui-status-pill.is-success{color:#aaf0d1;background:#57dead1f}.phase-rail .ui-status-pill.is-priority,.documents-panel .ui-status-pill.is-priority{color:#ffb4b4;background:#ff7e7e24}.ui-menu-button{border-radius:999px;min-height:46px}.ui-button,.ui-icon-button{border:1px solid #0000;border-radius:14px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 16px;font-weight:600;display:inline-flex}.ui-button.is-primary{background:linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);color:#fff}.ui-button.is-secondary{border-color:var(--border-strong);color:var(--text-primary);background:#2465d614}.ui-button.is-ghost{color:var(--text-primary);background:0 0}.ui-button.is-soft{color:var(--text-primary);background:#088e781a}.ui-icon-button{border-color:var(--border-soft);width:40px;min-height:40px;color:var(--text-primary);background:0 0;padding:0}.ui-status-pill{border-radius:999px;align-items:center;min-height:28px;padding:0 10px;font-size:.85rem;font-weight:600;display:inline-flex}.ui-status-pill.is-accent{color:var(--accent);background:#2465d61f}.ui-status-pill.is-warning{color:var(--warning);background:#c9821229}.ui-status-pill.is-success{color:#138a65;background:#12987024}.ui-status-pill.is-priority{color:#b53d3d;background:#cf4b4b24}.ui-status-pill.is-neutral{color:var(--text-secondary);background:#5c6f8e1f}.phase-screen{gap:16px;padding:18px;display:grid}.phase-screen--step-layout{width:100%;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;border-radius:0;align-content:start;justify-items:stretch;padding:0}.runtime-step-panel{background:linear-gradient(#ffffffeb,#f7fafff0),radial-gradient(circle at 0 0,#6099e014,#0000 32%);border:1px solid #446fb633;border-radius:26px;align-self:start;gap:14px;width:min(100%,1040px);height:auto;min-height:0;margin:0;padding:16px;display:grid;box-shadow:0 18px 42px #07102214}.protocol-step-top{z-index:5;background:linear-gradient(#f5f9fffa 0%,#f5f9ffe6 72%,#f5f9ff00 100%);gap:10px;margin:-4px -4px 2px;padding:4px 4px 10px;display:grid;position:sticky;top:0}:root[data-theme=dark] .runtime-step-panel{background:linear-gradient(#0a162afa,#081222f5),radial-gradient(circle at 0 0,#5f9bff1f,#0000 32%);border-color:#7ea7f53d;box-shadow:0 22px 54px #0208123d}:root[data-theme=dark] .app-shell__stage--continuous-phase-active{scrollbar-color:#8cb1e07a #ffffff0a}:root[data-theme=dark] .app-shell__stage--continuous-phase-active::-webkit-scrollbar-track{background:#ffffff0a}:root[data-theme=dark] .app-shell__stage--continuous-phase-active::-webkit-scrollbar-thumb{background:linear-gradient(#9bc1f5e0,#6092e0d6);border-color:#0812228a}:root[data-theme=dark] .phase-stage-view-switch{color:#320;background:linear-gradient(#f8d47ef5,#daaa46eb);box-shadow:0 16px 28px #00000057}:root[data-theme=dark] .runtime-step-panel__summary-chip.is-required{color:#ffd7d7;background:#cf4b4b2e;border-color:#ff7d7d42}:root[data-theme=dark] .runtime-step-panel__summary-chip.is-recommended{color:#ffe6b8;background:#c982122e;border-color:#f0b95647}:root[data-theme=dark] .protocol-step-top{background:linear-gradient(#0a162afa 0%,#0a162ae6 72%,#0a162a00 100%)}.runtime-step-panel__head{background:linear-gradient(#ffffffc7,#f4f8ff9e);border:1px solid #446fb638;border-radius:12px;gap:12px;min-height:64px;margin:-2px -2px 0;padding:8px 10px;display:grid}.runtime-step-panel__header-main{flex-wrap:nowrap;justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.runtime-step-panel__title{flex-direction:column;flex:auto;align-items:flex-start;gap:10px;min-width:0;display:flex}.runtime-step-panel__title h2{margin:0;font-size:1.18rem;line-height:1.1}.runtime-step-panel__actions{flex:none;justify-content:flex-end;align-items:center;gap:8px;display:flex}.runtime-step-panel__action{border-radius:12px;min-height:38px;padding:0 16px}.runtime-step-panel__summary{width:100%;color:var(--text-secondary);flex-wrap:wrap;gap:8px;font-size:.92rem;font-weight:600;line-height:1.4;display:flex}.runtime-step-panel__summary-chips{flex-wrap:wrap;align-items:center;gap:6px;width:100%;display:flex}.runtime-step-panel__summary-chip{appearance:none;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:999px;align-items:center;min-height:24px;padding:0 10px;font-family:inherit;font-size:.76rem;font-weight:700;line-height:1;transition:transform .16s,box-shadow .16s,border-color .16s,background-color .16s;display:inline-flex}.runtime-step-panel__summary-chip:hover,.runtime-step-panel__summary-chip:focus-visible{outline:none;transform:translateY(-1px);box-shadow:0 10px 20px #07102214}.runtime-step-panel__summary-chip.is-required{color:#a33a3a;background:#cf4b4b1f;border-color:#cf4b4b3d}.runtime-step-panel__summary-chip.is-recommended{color:#946109;background:#c982121f;border-color:#c982123d}.runtime-step-tabs{scrollbar-width:none;background:linear-gradient(#ffffff8a,#f4f8ff57);border-bottom:1px solid #446fb62e;border-radius:0;align-items:flex-end;gap:0;width:100%;max-width:100%;min-height:46px;padding:0 12px;display:flex;overflow-x:auto}.runtime-step-tabs::-webkit-scrollbar{display:none}.runtime-step-tab{height:46px;min-height:46px;color:var(--text-secondary);white-space:nowrap;background:0 0;border-top:0;border-bottom:2px solid #0000;border-left:0;border-right:1px solid #446fb624;border-radius:0;flex:none;margin:0;padding:0 18px;font-size:.92rem;font-weight:700}.runtime-step-tab:last-child{border-right:0}.runtime-step-tab:hover,.runtime-step-tab:focus-visible{color:var(--text-primary);background:#2465d614;outline:none}.runtime-step-tab.is-active{color:var(--text-primary);background:linear-gradient(#ffffffd1,#f4f8ffa3);border-bottom-color:#2465d6eb;box-shadow:inset 0 1px #ffffff8a}.runtime-step-panel__body,.runtime-step-groups{align-content:start;gap:12px;min-height:0;display:grid}.runtime-step-group{background:0 0;border:0;border-radius:0;align-content:start;gap:14px;min-height:0;padding:12px 0 0;display:grid}:root[data-theme=dark] .runtime-step-group,:root[data-theme=dark] .protocol-plain-text-projection{background:#ffffff08;border-color:#9db6dc1f}.runtime-step-group.is-muted{background:#2465d60a}.protocol-group-section{min-height:0;box-shadow:none;background:0 0;border:0;border-radius:0;align-content:start;padding:0}.protocol-group-section__head{gap:6px}.protocol-group-section__head span{color:var(--text-secondary);font-size:.9rem;line-height:1.45}.protocol-plain-text-projection{border:1px solid var(--border-soft);background:#2465d60a;border-radius:16px;gap:8px;margin-bottom:12px;padding:14px 16px;display:grid}.protocol-plain-text-projection p{color:var(--text-secondary);margin:0;line-height:1.5}.protocol-header-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.protocol-record-lookup-action{min-height:38px;color:var(--text-primary);background:linear-gradient(#2465d62e,#18439424);border-color:#5082ce6b;border-radius:12px;padding:0 16px;font-weight:800}.protocol-field-meta{margin-top:6px}.protocol-header-mode-toggle{background:#ffffffb8;border:1px solid #446fb633;border-radius:14px;align-items:center;gap:6px;padding:4px;display:inline-flex;box-shadow:inset 0 1px #fff6}.protocol-header-mode-option{min-height:34px;color:var(--text-secondary);background:0 0;border:0;border-radius:10px;padding:0 14px;font-size:.86rem;font-weight:800;transition:background-color .12s,color .12s,box-shadow .12s}.protocol-header-mode-option:hover,.protocol-header-mode-option:focus-visible{color:var(--text-primary);background:#2465d614;outline:none}.protocol-header-mode-option.is-active{color:var(--text-primary);background:linear-gradient(#2465d629,#1843941f);box-shadow:inset 0 1px #ffffff57}.guided-text-structured-grid{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px 14px;display:flex}.guided-text-structured-slot{flex:none;width:max-content;min-width:0;max-width:100%;display:flex}.guided-text-structured-slot.ux-w-full{flex:100%;width:100%;max-width:100%}.guided-text-structured-slot>*{width:100%;min-width:0}.guided-text-document{background:linear-gradient(#ffffffc2,#f4f8ff9e);border:1px solid #446fb629;border-radius:18px;gap:14px;padding:14px 16px;display:grid}.guided-text-paragraph{color:var(--text-primary);margin:0;font-size:1rem;line-height:1.85}.guided-text-token-wrap{vertical-align:middle;align-items:center;max-width:100%;display:inline-flex}.guided-text-token-wrap--inline-text,.guided-text-token-wrap--compact-control{min-width:0;max-width:100%}.guided-text-token-wrap--choices{flex-wrap:wrap;gap:6px}.guided-text-token{min-height:38px;color:var(--text-primary);font:inherit;background:linear-gradient(#fffffff5,#f2f7ffeb);border:1px solid #446fb633;border-radius:12px;box-shadow:0 8px 18px #07102214}.guided-text-token--input,.guided-text-token--select{min-width:140px;max-width:min(100%,320px);padding:0 12px}.guided-text-token--inline-text{width:auto;min-width:0;max-width:min(100%,34ch);min-height:0;box-shadow:none;color:var(--text-primary);line-height:inherit;appearance:none;background:0 0;border:0;border-radius:0;padding:0 2px}.guided-text-token--inline-text::placeholder{color:var(--text-secondary);opacity:.72}.guided-text-token--inline-text:hover,.guided-text-token--inline-text:focus,.guided-text-token--inline-text:focus-visible{box-shadow:none;background:#2465d614;outline:none}.guided-text-token--inline-select{width:auto;min-width:0;max-width:min(100%,28ch);padding-right:1.85rem}.guided-text-token.ux-w-xs,.guided-text-token.ux-w-2xs{min-width:110px}.guided-text-token.ux-w-id{min-width:150px}.guided-text-token.ux-w-date{min-width:152px}.guided-text-token.ux-w-lg,.guided-text-token.ux-w-full,.guided-text-token.ux-w-md{min-width:220px}.guided-text-token--switch{padding:0 14px;font-weight:800}.guided-text-token--switch.is-active{background:linear-gradient(#2465d624,#1843941f);border-color:#2465d657}.guided-text-choice-group{flex-wrap:wrap;gap:8px;display:flex}.field-shell__control-main.is-required-missing .guided-text-choice-group,.field-shell__control-main.is-recommended-missing .guided-text-choice-group{border-radius:14px;padding:8px}.field-shell__control-main.is-required-missing .guided-text-choice-group{background:#c982120a;border:1px solid #c9821247}.field-shell__control-main.is-recommended-missing .guided-text-choice-group{background:#2465d60a;border:1px solid #2465d638}.guided-text-choice-group.is-header{justify-content:flex-end}.guided-text-choice{min-height:38px;color:var(--text-secondary);background:linear-gradient(#ffffffe6,#f2f7ffdb);border:1px solid #446fb62e;border-radius:999px;padding:0 14px;font-size:.88rem;font-weight:800}.guided-text-choice:disabled,.guided-text-choice.is-placeholder{color:var(--text-tertiary);cursor:default;opacity:.72;border-style:dashed}.guided-text-choice:hover,.guided-text-choice:focus-visible{color:var(--text-primary);border-color:#2465d647;outline:none}.guided-text-choice:disabled:hover,.guided-text-choice:disabled:focus-visible,.guided-text-choice.is-placeholder:hover,.guided-text-choice.is-placeholder:focus-visible{color:var(--text-tertiary);box-shadow:none;border-color:#446fb62e}.guided-text-choice.is-active{color:var(--text-primary);background:linear-gradient(#2465d629,#1843941f);border-color:#2465d661;box-shadow:0 10px 22px #2465d61f}.guided-text-choice--inline{min-height:34px;padding:0 12px}.guided-text-header-select{align-items:center;display:inline-flex}:root[data-theme=dark] .runtime-step-group.is-muted{background:#5f9bff0d}.runtime-step-group__head{gap:4px;display:grid}.runtime-step-group__head strong{font-size:1rem}.runtime-step-group__head span{color:var(--text-secondary);font-size:.92rem;line-height:1.45}.runtime-step-grid{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px 14px;min-width:0;display:flex}.runtime-form-field-slot{flex:none;width:max-content;min-width:0;max-width:100%;margin-bottom:0;display:flex}.runtime-form-field-slot>*{width:100%;min-width:0}.runtime-form-field-slot.ux-w-full{flex:100%;width:100%;max-width:100%}.runtime-step-panel .field-shell{gap:6px;width:100%;max-width:100%}.runtime-step-panel .field-shell__label{font-size:.94rem}.runtime-step-panel .ui-input,.runtime-step-panel .ui-select{background:#ffffffbd;border-radius:14px;min-height:46px}:root[data-theme=dark] .runtime-step-panel .ui-input,:root[data-theme=dark] .runtime-step-panel .ui-select{background:#ffffff0a}:root[data-theme=dark] .runtime-step-panel__head{background:linear-gradient(#142945b8,#0b192e8a);border-color:#7ea7f538}:root[data-theme=dark] .protocol-record-lookup-action{color:var(--text-on-dark);background:linear-gradient(#1b3656f5,#10233cf5);border-color:#7bc3ff57}:root[data-theme=dark] .protocol-header-mode-toggle{background:#0f1f36db;border-color:#7ea7f538;box-shadow:inset 0 1px #b5ddff14}:root[data-theme=dark] .protocol-header-mode-option{color:#cedbf2b8}:root[data-theme=dark] .protocol-header-mode-option:hover,:root[data-theme=dark] .protocol-header-mode-option:focus-visible{color:var(--text-on-dark);background:#5f9bff14}:root[data-theme=dark] .protocol-header-mode-option.is-active{color:var(--text-on-dark);background:linear-gradient(#1b3656f5,#10233cf5);box-shadow:inset 0 1px #b4dcff29}:root[data-theme=dark] .runtime-step-tabs{background:linear-gradient(#12243cb3,#0a172a66);border-bottom-color:#7ea7f52e}:root[data-theme=dark] .runtime-step-tab:hover,:root[data-theme=dark] .runtime-step-tab:focus-visible{color:var(--text-on-dark);background:#5f9bff14}:root[data-theme=dark] .runtime-step-tab.is-active{color:var(--text-on-dark);background:linear-gradient(#1b3656f5,#10233cf5);border-bottom-color:#7bc3fff5;box-shadow:inset 0 1px #b4dcff29}:root[data-theme=dark] .guided-text-document{background:linear-gradient(#0c192ee0,#091424d6);border-color:#7ea7f52e}:root[data-theme=dark] .guided-text-token{color:var(--text-on-dark);background:linear-gradient(#162a46f5,#0d1c32f0);border-color:#7ea7f533;box-shadow:0 12px 22px #02081233}:root[data-theme=dark] .guided-text-token--inline-text{box-shadow:none;background:0 0;border-color:#0000}:root[data-theme=dark] .guided-text-token::placeholder{color:#cedbf280}:root[data-theme=dark] .guided-text-token--inline-text:hover,:root[data-theme=dark] .guided-text-token--inline-text:focus,:root[data-theme=dark] .guided-text-token--inline-text:focus-visible{box-shadow:none;background:#5f9bff1f}:root[data-theme=dark] .guided-text-choice{color:#cedbf2c7;background:linear-gradient(#11223be6,#0a172adb);border-color:#7ea7f529}:root[data-theme=dark] .guided-text-choice:disabled,:root[data-theme=dark] .guided-text-choice.is-placeholder{color:#cedbf280}:root[data-theme=dark] .guided-text-choice:hover,:root[data-theme=dark] .guided-text-choice:focus-visible{color:var(--text-on-dark);border-color:#7bc3ff47}:root[data-theme=dark] .guided-text-choice:disabled:hover,:root[data-theme=dark] .guided-text-choice:disabled:focus-visible,:root[data-theme=dark] .guided-text-choice.is-placeholder:hover,:root[data-theme=dark] .guided-text-choice.is-placeholder:focus-visible{color:#cedbf280;border-color:#7ea7f529}:root[data-theme=dark] .guided-text-choice.is-active{color:var(--text-on-dark);background:linear-gradient(#1b3656f5,#10233cf5);border-color:#7bc3ff57;box-shadow:0 10px 22px #07102242}.intake-home-screen{align-items:center;min-height:100%;padding:clamp(10px,2vw,18px);display:grid}.phase-header{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.phase-header__copy h1{margin:6px 0 0;font-size:1.7rem}.phase-header__eyebrow{color:var(--accent);letter-spacing:.12em;text-transform:uppercase;font-size:.83rem;font-weight:700}.phase-header__actions{align-items:center;gap:12px;display:flex}.phase-header__summary{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.ui-segmented-control{background:#2465d614;border-radius:18px;gap:8px;padding:6px;display:inline-flex}.ui-segmented-control__item{min-height:40px;color:var(--text-secondary);background:0 0;border:0;border-radius:14px;padding:0 16px;font-weight:700}.ui-segmented-control__item.is-active{background:linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);color:#fff}.ui-section-card,.field-group{border:1px solid var(--border-soft);border-radius:var(--surface-radius-lg);background:var(--shell-surface-strong);gap:14px;padding:16px;display:grid}.ui-section-card.is-accent{background:linear-gradient(#2465d61a 0%,#2465d608 100%)}.review-reconciliation-panel{gap:14px;width:min(100%,1040px);display:grid}.review-reconciliation-panel__header{border:1px solid var(--border-soft);border-radius:var(--surface-radius-lg);background:linear-gradient(#2465d614,#2465d605);justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 18px;display:flex}.review-reconciliation-panel__header h3{margin:0;font-size:1rem}.review-reconciliation-panel__header p{color:var(--text-secondary);margin:6px 0 0}.review-reconciliation-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.review-context-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.review-context-card__meta{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.review-context-card__details{gap:10px;margin:0;display:grid}.review-context-card__details>div{gap:4px;display:grid}.review-context-card__details dt,.review-context-card__empty{color:var(--text-secondary);font-size:.92rem}.review-context-card__details dd{color:var(--text-primary);margin:0;font-weight:600}.review-longitudinal-panel{gap:14px;display:grid}.review-longitudinal-panel__header h3{margin:0;font-size:1rem}.review-longitudinal-panel__header p{color:var(--text-secondary);margin:6px 0 0}.review-longitudinal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.review-longitudinal-list{gap:10px;margin:0;display:grid}.review-longitudinal-list>div{gap:4px;display:grid}.review-longitudinal-list dt{color:var(--text-secondary);font-size:.92rem}.review-longitudinal-list dd{color:var(--text-primary);margin:0;font-weight:600}.review-longitudinal-card__actions{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}.review-longitudinal-card__phase-link{border:1px solid var(--border-soft);color:var(--text-primary);font:inherit;cursor:pointer;background:#2465d614;border-radius:999px;padding:.55rem .8rem;font-size:.8rem;font-weight:700;line-height:1;transition:background-color .16s,border-color .16s,color .16s,transform .16s}.review-longitudinal-card__phase-link:hover{background:#2465d624;border-color:#2465d647;transform:translateY(-1px)}.review-longitudinal-card__phase-link:focus-visible{outline-offset:2px;outline:2px solid #2465d647}.longitudinal-drawer-surface.ui-surface--drawer{width:min(468px,100vw - 24px)}.longitudinal-sheet-surface.ui-surface--sheet{max-height:min(88dvh,820px)}.longitudinal-surface{gap:16px;display:grid}.longitudinal-surface__hero{border:1px solid var(--border-soft);border-radius:var(--surface-radius-lg);background:linear-gradient(#2465d614,#2465d605);justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 18px;display:flex}.longitudinal-surface__hero h3{margin:0;font-size:1rem}.longitudinal-surface__hero p{color:var(--text-secondary);margin:6px 0 0}.longitudinal-surface__summary,.longitudinal-surface__module-nav,.longitudinal-surface__detail{gap:14px;display:grid}.longitudinal-surface__summary{grid-template-columns:1fr}.longitudinal-surface__module-nav{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));align-items:stretch}.longitudinal-surface__module-button{border:1px solid var(--border-soft);width:100%;min-height:76px;color:var(--text-primary);text-align:left;background:#fff6;border-radius:16px;gap:4px;padding:14px 16px;transition:border-color .16s,background-color .16s,transform .16s,box-shadow .16s;display:grid}.longitudinal-surface__module-button strong{font-size:.94rem}.longitudinal-surface__module-button span{color:var(--text-secondary);font-size:.82rem}.longitudinal-surface__module-button:hover,.longitudinal-surface__module-button:focus-visible{background:#2465d614;border-color:#2465d638;outline:none;transform:translateY(-1px);box-shadow:0 12px 28px #07102214}.longitudinal-surface__module-button.is-active{background:linear-gradient(#2465d61f,#2465d60a);border-color:#2465d647}.longitudinal-surface__detail-header{justify-content:flex-start;align-items:center;margin-bottom:12px;display:flex}.longitudinal-surface__updated-at,.review-longitudinal-card__manual-summary{color:var(--text-secondary);margin:12px 0 0;font-size:.9rem;line-height:1.5}:root[data-theme=dark] .longitudinal-surface__module-button{background:#ffffff08;border-color:#9db6dc1f}:root[data-theme=dark] .longitudinal-surface__module-button:hover,:root[data-theme=dark] .longitudinal-surface__module-button:focus-visible{background:#5f9bff1f;border-color:#7ea7f538;box-shadow:0 16px 36px #0307123d}:root[data-theme=dark] .longitudinal-surface__module-button.is-active{background:linear-gradient(#5f9bff29,#5f9bff0f);border-color:#7ea7f542}.longitudinal-surface__card-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.review-reconciliation-card__status{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.review-reconciliation-card__tracked,.review-reconciliation-card__complete-copy{color:var(--text-secondary);margin:0;font-size:.92rem}.review-reconciliation-list{gap:6px;display:grid}.review-reconciliation-list strong{font-size:.92rem}.review-reconciliation-list ul{color:var(--text-secondary);gap:4px;margin:0;padding-left:18px;display:grid}.review-reconciliation-card__actions{justify-content:flex-end;display:flex}.field-group__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.field-shell{gap:8px;display:grid}.field-shell__label{font-weight:700}.field-shell__control-row{justify-content:flex-start;align-items:center;gap:8px;width:100%;min-width:0;display:flex}.field-shell__control-main{flex:none;width:100%;max-width:100%;display:block}.field-shell__control-main.is-required-missing,.field-shell__control-main.is-recommended-missing{border-radius:16px}.field-shell__control-main.ux-w-2xs{width:min(124px,100%);max-width:124px}.field-shell__control-main.ux-w-xs{width:min(160px,100%);max-width:160px}.field-shell__control-main.ux-w-id{width:min(182px,100%);max-width:182px}.field-shell__control-main.ux-w-sm{width:min(260px,100%);max-width:260px}.field-shell__control-main.ux-w-md{width:min(380px,100%);max-width:380px}.field-shell__control-main.ux-w-lg{width:min(560px,100%);max-width:560px}.field-shell__control-main.ux-w-date{width:min(152px,100%);max-width:152px}.field-shell__control-main.ux-w-full{width:100%;max-width:none}.field-shell__meta{flex-wrap:wrap;gap:8px;font-size:.85rem;display:flex}.field-shell__inline-meta{min-height:30px;color:var(--text-primary);white-space:nowrap;background:#10233cb8;border:1px solid #84a6d647;border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;font-size:.84rem;font-weight:600;line-height:1;display:inline-flex}.field-shell__hint{color:var(--text-secondary)}.field-shell__provenance{color:var(--accent)}.field-shell__error{color:var(--danger)}.ui-input,.ui-select,.ui-textarea{border:1px solid var(--border-strong);width:100%;min-height:48px;color:var(--text-primary);background:#ffffff9e;border-radius:14px;outline:none;padding:0 14px}.field-shell__control-main.is-required-missing .ui-input,.field-shell__control-main.is-required-missing .ui-select,.field-shell__control-main.is-required-missing .ui-textarea,.field-shell__control-main.is-required-missing .ui-richtext__surface,.field-shell__control-main.is-required-missing .guided-text-switch,.field-shell__control-main.is-required-missing .guided-text-token{border-color:#cf4b4b70;box-shadow:0 0 0 1px #cf4b4b1f}.field-shell__control-main.is-recommended-missing .ui-input,.field-shell__control-main.is-recommended-missing .ui-select,.field-shell__control-main.is-recommended-missing .ui-textarea,.field-shell__control-main.is-recommended-missing .ui-richtext__surface,.field-shell__control-main.is-recommended-missing .guided-text-switch,.field-shell__control-main.is-recommended-missing .guided-text-token{border-color:#c982126b;box-shadow:0 0 0 1px #c982121a}.ui-textarea{resize:vertical;min-height:104px;font:inherit;padding:12px 14px;line-height:1.45}.ui-richtext{gap:10px;width:100%;min-width:0;display:grid}.ui-richtext__toolbar{border:1px solid var(--border-soft);box-sizing:border-box;background:#2465d60a;border-radius:14px;flex-wrap:wrap;align-items:center;gap:8px;width:100%;min-width:0;padding:10px;display:flex}.ui-richtext__insert-menu-anchor{position:relative}.ui-richtext__toolbar-button{border:1px solid var(--border-soft);background:var(--shell-surface);width:34px;height:34px;color:var(--text-primary);border-radius:10px;justify-content:center;align-items:center;padding:0;display:inline-flex}.ui-richtext__toolbar-button.is-active{color:var(--accent);background:#2465d61f;border-color:#2465d657}.ui-richtext__toolbar-button:disabled{cursor:default;opacity:.56}.ui-richtext__insert-menu{z-index:8;border:1px solid var(--border-strong);background:var(--shell-surface);border-radius:14px;gap:6px;min-width:184px;padding:10px;display:grid;position:absolute;top:calc(100% + 8px);left:0;box-shadow:0 18px 36px #0f172a2e}.ui-richtext__insert-menu-item{width:100%;min-height:40px;color:var(--text-primary);font:inherit;text-align:left;background:0 0;border:1px solid #0000;border-radius:12px;align-items:center;gap:10px;padding:0 12px;display:flex}.ui-richtext__insert-menu-item:hover,.ui-richtext__insert-menu-item:focus-visible{background:#2465d614;border-color:#2465d633}.ui-richtext__insert-menu-icon{width:28px;height:28px;color:var(--accent);background:#2465d614;border-radius:10px;justify-content:center;align-items:center;display:inline-flex}.ui-richtext__surface{border:1px solid var(--border-strong);background:var(--shell-surface);box-sizing:border-box;border-radius:16px;align-items:start;width:100%;min-width:0;display:grid;overflow:hidden}.ui-richtext--plain_text .ui-richtext__surface{background:#2465d608}.ui-richtext__surface>div{width:100%;min-width:0}.ui-richtext__surface .tiptap,.ui-richtext__surface .ui-richtext__editor,.ui-richtext__surface .ProseMirror{width:100%;max-width:100%;height:auto;min-height:52px;color:var(--text-primary);overflow-wrap:anywhere;white-space:pre-wrap;box-sizing:border-box;outline:none;padding:12px 16px;line-height:1.6}.ui-richtext__surface .tiptap p,.ui-richtext__surface .tiptap ul,.ui-richtext__surface .tiptap ol,.ui-richtext__surface .ui-richtext__editor p,.ui-richtext__surface .ui-richtext__editor ul,.ui-richtext__surface .ui-richtext__editor ol,.ui-richtext__surface .ProseMirror p,.ui-richtext__surface .ProseMirror ul,.ui-richtext__surface .ProseMirror ol{margin:0 0 12px}.ui-richtext__surface .tiptap p:last-child,.ui-richtext__surface .tiptap ul:last-child,.ui-richtext__surface .tiptap ol:last-child,.ui-richtext__surface .ui-richtext__editor p:last-child,.ui-richtext__surface .ui-richtext__editor ul:last-child,.ui-richtext__surface .ui-richtext__editor ol:last-child,.ui-richtext__surface .ProseMirror p:last-child,.ui-richtext__surface .ProseMirror ul:last-child,.ui-richtext__surface .ProseMirror ol:last-child{margin-bottom:0}.ui-richtext__surface .tiptap ul,.ui-richtext__surface .tiptap ol,.ui-richtext__surface .ui-richtext__editor ul,.ui-richtext__surface .ui-richtext__editor ol,.ui-richtext__surface .ProseMirror ul,.ui-richtext__surface .ProseMirror ol{padding-left:20px}.ui-richtext__inline-chip,.ui-richtext__inline-chip-fallback{color:var(--accent);vertical-align:middle;background:#2465d614;border:1px solid #2465d633;border-radius:999px;align-items:center;gap:8px;margin:0 6px 0 0;padding:6px 10px;font-size:.92rem;font-weight:700;line-height:1.2;display:inline-flex}.ui-richtext__inline-chip.is-selected,.ui-richtext__inline-chip:hover,.ui-richtext__inline-chip:focus-visible{background:#2465d624;border-color:#2465d66b}.ui-richtext__inline-chip.is-runtime{cursor:default}.ui-richtext__inline-chip.is-runtime:hover,.ui-richtext__inline-chip.is-runtime:focus-visible{background:#2465d614;border-color:#2465d633}.ui-richtext__inline-chip-icon{justify-content:center;align-items:center;display:inline-flex}.ui-richtext__inline-chip-label{white-space:nowrap}.ui-richtext__chip-dialog .surface-chrome__body{overflow:visible}.ui-richtext__chip-dialog-body{gap:16px;display:grid}.ui-richtext__chip-dialog-grid{flex-wrap:wrap;gap:14px;display:flex}.ui-richtext__chip-dialog-actions{justify-content:flex-end;gap:12px;display:flex}.ui-richtext__surface--placeholder{min-height:52px}.ui-richtext__load-error{justify-items:start;gap:10px;padding:14px;display:grid}.ui-richtext__load-error p{color:var(--text-secondary);margin:0;line-height:1.45}:root[data-theme=dark] .ui-input,:root[data-theme=dark] .ui-select,:root[data-theme=dark] .ui-textarea{background:#ffffff08}:root[data-theme=dark] .field-shell__control-main.is-required-missing .ui-input,:root[data-theme=dark] .field-shell__control-main.is-required-missing .ui-select,:root[data-theme=dark] .field-shell__control-main.is-required-missing .ui-textarea,:root[data-theme=dark] .field-shell__control-main.is-required-missing .ui-richtext__surface,:root[data-theme=dark] .field-shell__control-main.is-required-missing .guided-text-switch,:root[data-theme=dark] .field-shell__control-main.is-required-missing .guided-text-token{border-color:#ff7d7d6b;box-shadow:0 0 0 1px #ff7d7d1f}:root[data-theme=dark] .field-shell__control-main.is-recommended-missing .ui-input,:root[data-theme=dark] .field-shell__control-main.is-recommended-missing .ui-select,:root[data-theme=dark] .field-shell__control-main.is-recommended-missing .ui-textarea,:root[data-theme=dark] .field-shell__control-main.is-recommended-missing .ui-richtext__surface,:root[data-theme=dark] .field-shell__control-main.is-recommended-missing .guided-text-switch,:root[data-theme=dark] .field-shell__control-main.is-recommended-missing .guided-text-token{border-color:#f0b9566b;box-shadow:0 0 0 1px #f0b9561f}:root[data-theme=dark] .topbar__mode-badge{background:#f0b95624;border-color:#f0b9564d}:root[data-theme=dark] .topbar__mode-badge svg{color:#ffd788}:root[data-theme=dark] .topbar__status-chip{color:var(--text-on-dark);background:#ffffff0f;border-color:#9db6dc24}:root[data-theme=dark] .topbar__status-separator{color:#a6b6d4e0}:root[data-theme=dark] .topbar__status-date{color:var(--text-on-dark)}:root[data-theme=dark] .topbar__status-chip--timer{background:#5f9bff1f;border-color:#5f9bff38}:root[data-theme=dark] .topbar__finish-button{color:#ffb2b2;background:#ff8f8f17;border-color:#ff8f8f38}:root[data-theme=dark] .ui-richtext__toolbar{background:#ffffff08;border-color:#9db6dc1f}:root[data-theme=dark] .ui-richtext__insert-menu{background:#0c1422f5;border-color:#9db6dc24;box-shadow:0 18px 36px #0307128f}:root[data-theme=dark] .ui-richtext__insert-menu-item:hover,:root[data-theme=dark] .ui-richtext__insert-menu-item:focus-visible{background:#5f9bff1f;border-color:#7ea7f538}:root[data-theme=dark] .ui-richtext__insert-menu-icon{color:#dceaff;background:#5f9bff29}:root[data-theme=dark] .ui-richtext__toolbar-button{color:var(--text-on-dark);background:#ffffff0a;border-color:#9db6dc24}:root[data-theme=dark] .ui-richtext__toolbar-button.is-active{color:#dceaff;background:#5f9bff29;border-color:#7ea7f557}:root[data-theme=dark] .ui-richtext__surface{background:#ffffff0a;border-color:#9db6dc29}:root[data-theme=dark] .ui-richtext--plain_text .ui-richtext__surface{background:#ffffff0d}:root[data-theme=dark] .field-shell__control-main.is-required-missing .guided-text-choice-group{background:#f0b9560f;border-color:#f0b9564d}:root[data-theme=dark] .field-shell__control-main.is-recommended-missing .guided-text-choice-group{background:#5f9bff14;border-color:#7ea7f542}:root[data-theme=dark] .ui-richtext__inline-chip,:root[data-theme=dark] .ui-richtext__inline-chip-fallback{color:#dceaff;background:#5f9bff29;border-color:#7ea7f53d}:root[data-theme=dark] .ui-richtext__inline-chip.is-selected,:root[data-theme=dark] .ui-richtext__inline-chip:hover,:root[data-theme=dark] .ui-richtext__inline-chip:focus-visible{background:#5f9bff38;border-color:#7ea7f56b}:root[data-theme=dark] .ui-richtext__inline-chip.is-runtime:hover,:root[data-theme=dark] .ui-richtext__inline-chip.is-runtime:focus-visible{background:#5f9bff29;border-color:#7ea7f53d}:root[data-theme=dark] .field-shell__inline-meta{color:#e7f2ff;background:#10233cb8;border-color:#84a6d63d}.ui-input:focus,.ui-select:focus,.ui-textarea:focus{border-color:#2465d699;box-shadow:0 0 0 3px #2465d61f}.ui-select-field{display:block;position:relative}.ui-select-field__trigger{width:min(var(--ui-select-trigger-width,100%), 100%);text-align:left;justify-content:space-between;align-items:center;gap:12px;max-width:100%;display:inline-flex}.ui-select-field__trigger.is-placeholder .ui-select-field__value{color:var(--text-secondary)}.ui-select-field__trigger.is-open{border-color:#2465d699;box-shadow:0 0 0 3px #2465d61f}.ui-select-field__value{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}.ui-select-field__chevron{color:var(--text-secondary);flex:none;transition:transform .18s}.ui-select-field__trigger.is-open .ui-select-field__chevron{transform:rotate(180deg)}.ui-select-field__popover{z-index:90;border:1px solid var(--border-strong);background:var(--shell-surface-strong);box-shadow:var(--shadow-lg);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-radius:16px;overflow:hidden}.ui-select-field__list{gap:4px;padding:8px;display:grid}.ui-select-field__option{width:100%;min-height:40px;color:var(--text-primary);text-align:left;background:0 0;border:0;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:0 12px;display:inline-flex}.ui-select-field__option:hover,.ui-select-field__option:focus-visible,.ui-select-field__option.is-active{color:var(--text-primary);background:#2465d61a;outline:none}.ui-select-field__option.is-selected{color:var(--accent-strong);background:#2465d629;font-weight:700}.ui-select-field__option.is-placeholder{color:var(--text-secondary)}.document-intake-shell,.document-intake-dropzone,.document-intake-dropzone__copy,.document-intake-dropzone__actions,.document-intake-shell__recent-card,.send-featured-chip,.send-channel-card,.widget-highlight,.widget-loading{align-items:center;gap:12px;display:flex}.document-intake-shell{justify-items:center;gap:14px;width:min(100%,880px);max-width:100%;margin:0 auto;display:grid}.document-intake-dropzone{text-align:center;background:radial-gradient(circle at top,#72a4e414,#0000 34%),linear-gradient(#ffffff42,#ffffff24);border:1px dashed #5d80b52e;border-radius:30px;flex-direction:column;justify-content:center;min-height:min(64dvh,680px);padding:clamp(28px,5vw,48px);position:relative;box-shadow:inset 0 1px #ffffff5c,0 22px 54px #08122414}:root[data-theme=dark] .document-intake-dropzone{background:radial-gradient(circle at top,#70aae614,#0000 34%),linear-gradient(#0c182c80,#08122257);border-color:#78a6e024;box-shadow:inset 0 1px #ffffff0d,0 28px 72px #0208122e}:root[data-theme=dark] .ui-select-field__popover{background:#0d182bfa;border-color:#9db6dc2e}:root[data-theme=dark] .ui-select-field__option{color:var(--text-on-dark)}:root[data-theme=dark] .ui-select-field__option:hover,:root[data-theme=dark] .ui-select-field__option:focus-visible,:root[data-theme=dark] .ui-select-field__option.is-active{color:var(--text-on-dark);background:#5f9bff1f}:root[data-theme=dark] .ui-select-field__option.is-selected{color:#dceaff;background:#5f9bff2e}:root[data-theme=dark] .ui-select-field__option.is-placeholder,:root[data-theme=dark] .ui-select-field__trigger.is-placeholder .ui-select-field__value{color:#f5f8ffa8}.document-intake-dropzone.is-drag-active{background:radial-gradient(circle at top,#5e99df1f,#0000 34%),linear-gradient(#2465d614,#fff3);border-style:solid;border-color:#3679d661}.document-intake-dropzone__hero{place-items:center;width:132px;height:132px;margin-bottom:4px;display:grid;position:relative}.document-intake-dropzone__hero-ring{background:radial-gradient(circle,#ffffff38,#ffffff05);border:1px solid #729ed624;border-radius:999px;position:absolute;inset:0}.document-intake-dropzone__photo-cta{z-index:1;width:86px;height:86px;color:var(--accent-strong);background:linear-gradient(#fffffff5,#eef5ffe0),radial-gradient(circle at top,#7aadec2e,#0000 46%);border:1px solid #6190ce42;border-radius:999px;place-items:center;padding:0;display:grid;position:relative;box-shadow:0 24px 36px #10274a1a}:root[data-theme=dark] .document-intake-dropzone__photo-cta{color:#dfeeff;background:linear-gradient(#163054f5,#0b1c33eb),radial-gradient(circle at top,#7aadec29,#0000 46%)}.document-intake-dropzone__photo-cta:hover,.document-intake-dropzone__photo-cta:focus-visible{outline:none;transform:translateY(-1px);box-shadow:0 28px 40px #10274a24}.document-intake-dropzone__copy{flex-direction:column;gap:10px;max-width:680px}.layout-medium.app-shell{--workflow-edge-reserve:74px;--workflow-edge-reserve-expanded:148px;--documents-edge-reserve:46px;--shell-inline-padding:16px;--shell-bottom-padding:calc(var(--shell-safe-bottom) + 104px)}.layout-medium .edge-launcher{width:38px;min-height:164px;padding:11px 4px}.layout-medium .phase-edge-stack__item{min-width:126px;max-width:min(210px,100vw - 112px);min-height:58px;padding-inline:8px 12px}.layout-medium .phase-edge-stack__nav-button{width:36px;height:36px}.layout-medium .document-intake-shell{width:min(100%,760px)}.layout-medium .app-shell__stage.app-shell__stage--single-phase-active{padding-top:calc(var(--phase-single-stack-height,72px) + 10px)}.layout-medium .ui-richtext__toolbar{gap:7px;padding:9px}.layout-medium .ui-richtext__insert-menu{min-width:176px}.layout-medium .ui-richtext__surface .tiptap,.layout-medium .ui-richtext__surface .ui-richtext__editor,.layout-medium .ui-richtext__surface .ProseMirror{min-height:50px;padding:11px 14px}.layout-medium .bottom-launchers{gap:8px}.layout-medium .bottom-launcher{width:42px;height:74px}.layout-medium .document-intake-dropzone{min-height:min(60dvh,560px);padding:24px 20px 28px}.layout-medium .document-intake-dropzone__copy h2{font-size:clamp(1.6rem,4vw,2.2rem)}.layout-medium .runtime-step-panel{width:min(100%,920px)}.layout-medium .runtime-step-panel__summary-chip{min-height:22px;padding-inline:9px;font-size:.72rem}.layout-compact.app-shell{--workflow-edge-reserve:36px;--workflow-edge-reserve-expanded:44px;--documents-edge-reserve:28px;--shell-inline-padding:8px;--shell-bottom-padding:calc(var(--shell-safe-bottom) + 96px)}.layout-compact .app-shell__stage{padding:0 4px 8px}.layout-compact .app-shell__stage.app-shell__stage--single-phase-active{padding-top:calc(var(--phase-single-stack-height,72px) + 8px)}.layout-compact .edge-launcher{width:30px;min-height:134px;padding:9px 2px}.layout-compact .edge-launcher__label{font-size:.68rem}.layout-compact .phase-edge-stack__item{min-width:114px;max-width:min(156px,100vw - 92px);min-height:56px;padding:8px 9px 10px 7px}.layout-compact .phase-edge-stack__lead{flex-basis:20px;gap:3px;width:20px}.layout-compact .phase-edge-stack__index{width:20px;height:20px;font-size:.62rem}.layout-compact .phase-edge-stack__copy strong{font-size:.9rem}.layout-compact .phase-edge-stack__chips{flex-wrap:nowrap;gap:4px}.layout-compact .phase-edge-stack__chip{min-height:18px;padding-inline:5px;font-size:.62rem}.layout-compact .phase-edge-stack__nav-button{border-radius:12px;width:30px;height:30px}.layout-compact .runtime-step-panel__summary-chips{gap:5px}.layout-compact .runtime-step-panel__summary-chip{min-height:21px;padding-inline:8px;font-size:.7rem}.layout-compact .runtime-step-panel__header-main{align-items:stretch;gap:10px}.layout-compact .document-intake-shell{width:100%}.layout-compact .document-intake-dropzone{border-radius:24px;min-height:min(58dvh,520px);padding:18px 14px 20px}.layout-compact .document-intake-dropzone__hero{width:100px;height:100px}.layout-compact .document-intake-dropzone__photo-cta{width:68px;height:68px}.layout-compact .document-intake-dropzone__copy{gap:8px;max-width:100%}.layout-compact .document-intake-dropzone__copy h2{font-size:clamp(1.45rem,8.5vw,2.05rem);line-height:1.12}.layout-compact .document-intake-dropzone__copy p,.layout-compact .document-intake-dropzone__photo-hint,.layout-compact .document-intake-dropzone__status{font-size:.98rem;line-height:1.5}.layout-compact .document-intake-dropzone__actions,.layout-compact .document-intake-dropzone__actions .ui-button{width:100%}.layout-compact .runtime-step-panel{border-radius:22px;width:100%;padding:14px}.layout-compact .ui-richtext{gap:8px}.layout-compact .ui-richtext__toolbar{gap:6px;padding:8px}.layout-compact .ui-richtext__toolbar-button{width:32px;height:32px}.layout-compact .ui-richtext__insert-menu{min-width:168px}.layout-compact .ui-richtext__surface .tiptap,.layout-compact .ui-richtext__surface .ui-richtext__editor,.layout-compact .ui-richtext__surface .ProseMirror{min-height:48px;padding:10px 12px}.layout-compact .ui-richtext__chip-dialog-grid{flex-direction:column}.layout-compact .runtime-step-panel__head{gap:10px;min-height:58px;padding:8px}.layout-compact .runtime-step-panel__title h2{font-size:1.08rem}.layout-compact .runtime-step-tabs{min-height:44px;padding:0 8px}.layout-compact .runtime-step-tab{height:44px;min-height:44px;padding:0 14px;font-size:.88rem}.layout-compact .bottom-launchers{gap:8px}.layout-compact .bottom-launcher{border-radius:14px 0 0 14px;width:40px;height:68px}.layout-compact .bottom-launcher svg{width:20px;height:20px}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (forced-colors:active){.topbar,.app-shell__rail,.runtime-step-panel,.record-lookup-dialog,.document-intake-dropzone,.widget-surface,.ui-surface,.ui-button,.ui-icon-button,.edge-launcher,.bottom-launcher,.record-lookup-item,.record-lookup-search,.field-shell__control{forced-color-adjust:none;color:canvastext!important;box-shadow:none!important;background:canvas!important;border-color:canvastext!important}.ui-button.is-primary,.edge-launcher.is-active,.phase-edge-stack__item.is-stage-open,.record-lookup-item.is-active{color:highlighttext!important;background:highlight!important;border-color:highlight!important}.record-lookup-search input,.field-shell__control input,.field-shell__control textarea,.field-shell__control [role=combobox]{color:canvastext!important;background:canvas!important}}.document-intake-dropzone__eyebrow{color:var(--accent);letter-spacing:.12em;text-transform:uppercase;font-size:.76rem;font-weight:800}.document-intake-dropzone__copy h2{margin:0;font-size:clamp(1.8rem,3vw,2.5rem);line-height:1.05}.document-intake-dropzone__copy p,.document-intake-dropzone__status,.document-intake-dropzone__error,.document-intake-dropzone__photo-hint{margin:0}.document-intake-dropzone__copy p,.document-intake-dropzone__status,.document-intake-dropzone__photo-hint{color:var(--text-secondary);line-height:1.6}.document-intake-dropzone__photo-hint{font-weight:600}.document-intake-dropzone__error{color:var(--danger)}.document-intake-dropzone__actions{flex-wrap:wrap;justify-content:center}.document-intake-shell__recent{gap:10px;display:grid}.document-intake-shell__recent-card{border:1px solid var(--border-soft);background:#ffffff47;border-radius:16px;justify-content:space-between;padding:12px 14px}:root[data-theme=dark] .document-intake-shell__recent-card{background:#ffffff0a}.documents-surface{gap:14px;padding:12px;display:grid}.documents-surface__summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.documents-surface__section{gap:10px;display:grid}.documents-surface__section-header{justify-content:space-between;align-items:baseline;gap:10px;padding:0 4px;display:flex}.documents-surface__section-header h3{margin:0;font-size:.95rem}.documents-summary-card{background:#ffffff0a;border:1px solid #ffffff14;border-radius:16px;gap:4px;padding:12px 14px;display:grid}.documents-summary-card span{color:#f5f8ffad;font-size:.82rem}.documents-summary-card strong{font-size:1.1rem}.documents-summary-card--wide{grid-column:1/-1}.documents-surface__list{gap:10px;display:grid}.document-list-item{width:100%;color:var(--text-on-dark);text-align:left;background:#ffffff0a;border:1px solid #ffffff14;border-radius:16px;align-items:center;gap:12px;padding:14px;display:flex}.document-list-item.is-active{background:linear-gradient(#2564d63d 0%,#11367957 100%);border-color:#7ea7f57a}.document-list-item span{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.document-list-item__pills,.documents-surface__detail-pills{flex-wrap:wrap;gap:8px;display:flex}.documents-surface__details{background:#ffffff0d;border:1px solid #ffffff14;border-radius:18px;gap:12px;padding:14px;display:grid}.documents-surface__details dl,.widget-details{gap:10px;margin:0;display:grid}.documents-surface__details div,.widget-details div{justify-content:space-between;gap:12px;display:flex}.documents-surface__details dt,.widget-details dt{color:var(--text-secondary)}.documents-surface__detail-copy{color:var(--text-on-dark);white-space:pre-wrap;margin:0;line-height:1.5}.documents-panel .ui-empty-state{background:#ffffff0a;border-color:#ffffff1a}.documents-panel .ui-empty-state h3{color:var(--text-on-dark)}.documents-panel .ui-button.is-secondary,.documents-panel .ui-button.is-ghost,.phase-rail .ui-icon-button{color:var(--text-on-dark);background:#ffffff0a;border-color:#ffffff1f}.ui-empty-state{border:1px dashed var(--border-strong);text-align:left;border-radius:18px;gap:8px;padding:24px;display:grid}.ui-empty-state h3{margin:0}.ui-overlay{z-index:60;pointer-events:none;position:fixed;inset:0}.ui-overlay__backdrop{pointer-events:auto;background:#040a145c;border:0;position:absolute;inset:0}.ui-surface{pointer-events:auto;border:1px solid var(--border-soft);border-radius:var(--surface-radius-xl);background:var(--shell-surface-strong);box-shadow:var(--shadow-lg);position:absolute;overflow:hidden}.ui-surface--dialog{width:min(780px,100vw - 32px);max-height:calc(100dvh - 64px);top:50%;left:50%;transform:translate(-50%,-50%)}.ui-surface--drawer{width:min(340px,100vw - 24px);top:16px;bottom:16px}.ui-surface--drawer.is-left{left:16px}.ui-surface--drawer.is-right{right:16px}.ui-surface--sheet{max-height:min(84dvh,720px);bottom:16px;left:16px;right:16px}.surface-chrome__body,.surface-chrome__footer{padding:16px 18px}.surface-chrome__body{gap:16px;max-height:calc(100dvh - 240px);display:grid;overflow:auto}.surface-chrome__footer{border-top:1px solid var(--border-soft);justify-content:flex-end;gap:10px;display:flex}.assistant-surface-shell.ui-surface--drawer{width:min(560px,100vw - 24px)}.assistant-surface-shell--narrow.ui-surface--drawer{width:min(100vw - 16px,520px)}.assistant-surface{gap:16px;display:grid}.assistant-surface__mode-switcher{justify-content:flex-start;display:flex}.assistant-surface__pane{gap:16px;display:grid}.assistant-surface__hero{border:1px solid var(--border-soft);border-radius:var(--surface-radius-lg);background:linear-gradient(#2465d614,#2465d608);justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 18px;display:flex}.assistant-surface__hero-copy{gap:6px;display:grid}.assistant-surface__hero-copy h3,.assistant-surface__section-header strong,.assistant-surface__message header strong{margin:0}.assistant-surface__hero-copy p,.assistant-surface__hero-copy small,.assistant-surface__footer-copy,.assistant-surface__message header span{color:var(--text-secondary)}.assistant-surface__voice-actions,.assistant-surface__composer-actions,.assistant-surface__footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.assistant-surface__footer{width:100%}.assistant-surface__footer-copy{font-size:.84rem;line-height:1.4}.assistant-surface__notice{color:var(--text-primary);background:#2465d614;border-radius:16px;padding:12px 14px;font-size:.92rem}.assistant-surface__notice--error{color:var(--danger);background:#cf4b4b1f}.assistant-surface__loading{background:#2465d614;border-radius:16px;align-items:center;gap:10px;padding:12px 14px;display:inline-flex}.assistant-surface__messages,.assistant-surface__transcript{gap:12px;display:grid}.assistant-surface__message{border:1px solid var(--border-soft);background:#ffffffa3;border-radius:18px;gap:8px;padding:14px 16px;display:grid}.assistant-surface__message header{justify-content:space-between;align-items:center;gap:12px;display:flex}.assistant-surface__message p{margin:0;line-height:1.6}.assistant-surface__message.is-assistant{background:#2465d614}.assistant-surface__message.is-user,.assistant-surface__message.is-patient{background:#ffffffd6}.assistant-surface__message.is-system{background:#c9821214}.assistant-surface__composer{gap:12px;display:grid}.assistant-surface__composer-input{resize:vertical;min-height:116px}.protocol-field-control.is-assistant-highlight,.guided-text-structured-slot.is-assistant-highlight,[data-protocol-field-id].is-assistant-highlight{box-shadow:0 0 0 3px color-mix(in srgb, var(--color-accent,#2f6feb) 24%, transparent), 0 18px 42px -30px color-mix(in srgb, var(--color-accent,#2f6feb) 55%, transparent);border-radius:20px;transition:box-shadow .18s;position:relative}.record-lookup-overlay__backdrop{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0b162647}.record-lookup-dialog{border:1px solid var(--border-strong);width:min(820px,100vw - 20px);max-height:min(86dvh,100dvh - 20px);box-shadow:var(--shadow-lg);pointer-events:auto;color:var(--text-primary);background:linear-gradient(#fffffff7,#f7fafffa),radial-gradient(circle at 0 0,#5995e214,#0000 34%);border-radius:22px;grid-template-rows:auto auto minmax(0,1fr) auto;display:grid;position:absolute;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%)}.record-lookup-dialog__header,.record-lookup-dialog__search,.record-lookup-dialog__footer{padding:18px 20px}.record-lookup-dialog__header,.record-lookup-dialog__footer{border-bottom:1px solid var(--border-soft)}.record-lookup-dialog__footer{border-top:1px solid var(--border-soft);border-bottom:0}.record-lookup-dialog__header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.record-lookup-dialog__title{gap:8px;display:grid}.record-lookup-dialog__title h2,.record-lookup-guidance p,.record-lookup-conflicts p,.record-lookup-conflicts ul{margin:0}.record-lookup-dialog__title p,.record-lookup-empty,.record-lookup-item__head span,.record-lookup-guidance p{color:var(--text-secondary)}.record-lookup-dialog__close{border:1px solid var(--border-soft);background:var(--shell-surface);width:40px;height:40px;color:var(--text-primary);border-radius:999px}.record-lookup-dialog__search{padding-top:0}.record-lookup-search{border:1px solid var(--border-soft);background:var(--shell-surface);width:100%;min-height:50px;color:var(--text-primary);border-radius:16px;align-items:center;gap:12px;padding:0 16px;display:flex}.record-lookup-search input{width:100%;min-height:48px;color:var(--text-primary);background:0 0;border:0;outline:none}.record-lookup-search input::placeholder{color:var(--text-secondary)}.record-lookup-dialog__body{gap:16px;min-height:0;padding:0 20px 20px;display:grid}.record-lookup-results{scrollbar-width:thin;scrollbar-color:#7394c48f #0f1f3a0f;flex-direction:column;gap:10px;min-height:0;max-height:min(52dvh,460px);padding-right:4px;display:flex;overflow:auto}.record-lookup-results::-webkit-scrollbar{width:10px}.record-lookup-results::-webkit-scrollbar-track{background:#0f1f3a0f;border-radius:999px}.record-lookup-results::-webkit-scrollbar-thumb{background:#7394c4ad padding-box padding-box;border:2px solid #0000;border-radius:999px}.record-lookup-results::-webkit-scrollbar-thumb:hover{background:#6790d1d6 padding-box padding-box}.record-lookup-item{border:1px solid var(--border-soft);background:var(--shell-surface);width:100%;color:var(--text-primary);text-align:left;border-radius:16px;flex-direction:column;align-items:stretch;gap:8px;padding:14px 16px;display:flex}.record-lookup-item:hover,.record-lookup-item:focus-visible,.record-lookup-item.is-active{background:linear-gradient(#2465d61f,#2465d614);border-color:#78abff57;outline:none}.record-lookup-item__head,.record-lookup-item__meta{flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.record-lookup-item__identity{flex-wrap:wrap;flex:auto;align-items:center;gap:8px;min-width:0;display:inline-flex}.record-lookup-item__identity strong{min-width:0;font-size:1rem;line-height:1.2}.record-lookup-item__head span,.record-lookup-item__meta span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.record-lookup-item__demography{text-align:right;flex:0 auto}.record-lookup-item__meta span{color:var(--text-secondary);flex:auto}.record-lookup-item__relationship-inline{color:var(--text-secondary);flex:0 auto}.record-lookup-item__relationship{flex-wrap:wrap;justify-content:flex-start;align-items:center}.record-lookup-item__relationship span{color:var(--text-secondary);flex:0 auto}.record-lookup-empty{text-align:center;padding:24px 0}.record-lookup-guidance,.record-lookup-conflicts{border:1px solid var(--border-soft);background:var(--shell-surface);border-radius:18px;gap:10px;padding:16px;display:grid}.record-lookup-conflicts ul{gap:10px;padding-left:18px;display:grid}.record-lookup-conflicts li{gap:4px;display:grid}.record-lookup-conflicts__actions{justify-content:flex-end;gap:10px;display:flex}.record-lookup-dialog__footer{justify-content:space-between;align-items:flex-end;gap:12px;display:flex}.record-lookup-guidance{background:0 0;border:0;flex:1;padding:0}.record-lookup-dialog__footer .ui-button.is-ghost{border-color:var(--border-soft);background:var(--shell-surface);color:var(--text-primary)}:root[data-theme=dark] .record-lookup-overlay__backdrop{background:#020a14d1}:root[data-theme=dark] .record-lookup-dialog{color:var(--text-on-dark);background:linear-gradient(#091425fa,#060e1cf7),radial-gradient(circle at 0 0,#5995e229,#0000 34%);border-color:#6a93d433;box-shadow:0 28px 72px #02081266}:root[data-theme=dark] .record-lookup-dialog__header,:root[data-theme=dark] .record-lookup-dialog__footer{border-color:#ffffff14}:root[data-theme=dark] .record-lookup-dialog__title p,:root[data-theme=dark] .record-lookup-empty,:root[data-theme=dark] .record-lookup-item__head span,:root[data-theme=dark] .record-lookup-guidance p{color:#f5f8ffb8}:root[data-theme=dark] .record-lookup-dialog__close{color:var(--text-on-dark);background:#ffffff0d;border-color:#8cb1e033}:root[data-theme=dark] .record-lookup-search{color:var(--text-on-dark);background:#ffffff0a;border-color:#90b6ec2e}:root[data-theme=dark] .record-lookup-search input{color:var(--text-on-dark)}:root[data-theme=dark] .record-lookup-search input::placeholder{color:#f5f8ff8f}:root[data-theme=dark] .record-lookup-results{scrollbar-color:#8cb1e07a #ffffff0a}:root[data-theme=dark] .record-lookup-results::-webkit-scrollbar-track{background:#ffffff0a}:root[data-theme=dark] .record-lookup-results::-webkit-scrollbar-thumb{background:#8cb1e08f padding-box padding-box}:root[data-theme=dark] .record-lookup-results::-webkit-scrollbar-thumb:hover{background:#a8caf4b8 padding-box padding-box}:root[data-theme=dark] .record-lookup-item{color:var(--text-on-dark);background:#ffffff0a;border-color:#90b6ec29}:root[data-theme=dark] .record-lookup-item.is-active,:root[data-theme=dark] .record-lookup-item:hover,:root[data-theme=dark] .record-lookup-item:focus-visible{background:linear-gradient(#214e925c,#0c1f3d8a)}:root[data-theme=dark] .record-lookup-item__meta span{color:#f5f8ffcc}:root[data-theme=dark] .record-lookup-item__relationship-inline{color:#f5f8ffb8}:root[data-theme=dark] .record-lookup-guidance,:root[data-theme=dark] .record-lookup-conflicts{background:#ffffff0a;border-color:#90b6ec24}:root[data-theme=dark] .record-lookup-dialog__footer .ui-button.is-ghost{color:var(--text-on-dark);background:#ffffff0a;border-color:#8cb1e029}.send-dialog-surface.ui-surface--dialog{width:min(760px,100vw - 24px);max-height:calc(100dvh - 24px)}.send-sheet-surface.ui-surface--sheet{max-height:min(92dvh,620px)}.send-dialog-surface .surface-chrome__body,.send-sheet-surface .surface-chrome__body{gap:12px;max-height:calc(100dvh - 184px);padding:12px 16px}.send-dialog-surface .surface-chrome__footer,.send-sheet-surface .surface-chrome__footer{padding:12px 16px}.send-surface{gap:10px;display:grid}.send-surface--catalog-compact{align-content:start}.send-surface__group-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.send-group-card{border:1px solid var(--border-soft);background:linear-gradient(#ffffffdb,#f6fafff0),radial-gradient(circle at 100% 0,#2465d614,#0000 46%);border-radius:22px;gap:8px;padding:12px;display:grid;box-shadow:0 10px 22px #0710220a}.send-group-card__header{gap:4px;display:grid}.send-group-card__header strong,.send-group-card__header p{margin:0}.send-group-card__header strong{font-size:.93rem}.send-group-card__header p{color:var(--text-secondary);font-size:.8rem;line-height:1.25}.send-group-card__chips{flex-wrap:wrap;gap:8px;display:flex}.send-option-chip{max-width:100%;min-height:40px;color:var(--text-primary);background:#ffffffb8;border:1px solid #1127481a;border-radius:999px;align-items:center;gap:8px;padding:0 10px 0 8px;transition:border-color .18s,background .18s,box-shadow .18s,transform .18s;display:inline-flex;box-shadow:0 8px 18px #0710220a}.send-option-chip:hover,.send-option-chip:focus-visible{background:#ffffffe0;border-color:#2465d642;outline:none;transform:translateY(-1px);box-shadow:0 10px 22px #07102214}.send-option-chip.is-active{background:linear-gradient(#ebf3fffa,#f6fafffa);border-color:#2465d661}.send-option-chip__icon{width:28px;height:28px;color:var(--accent);background:linear-gradient(#2465d624,#2465d614);border-radius:12px;flex:0 0 28px;place-items:center;display:grid}.send-option-chip__label{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.85rem;font-weight:700;overflow:hidden}.send-option-chip__plan{color:var(--text-secondary);white-space:nowrap;align-items:center;gap:5px;margin-left:auto;padding-left:6px;font-size:.78rem;font-weight:700;display:inline-flex}.send-option-chip.is-locked{cursor:not-allowed;opacity:.88;border-style:dashed}.send-option-chip.is-locked:hover,.send-option-chip.is-locked:focus-visible{background:#ffffffb8;border-color:#1127481a;transform:none;box-shadow:0 8px 18px #0710220a}.send-finalize-card{background:radial-gradient(circle at 100% 0,#cf4b4b14,#0000 34%),linear-gradient(#ffffffeb,#f2f7ffd6);border:1px solid #cf4b4b29;border-radius:24px;gap:16px;padding:18px 20px;display:grid}.send-finalize-card__header{gap:6px;display:grid}.send-finalize-card__header strong{color:var(--text-primary);font-size:1rem}.send-finalize-card__header p{color:var(--text-secondary);margin:0;line-height:1.5}.send-finalize-card__facts{grid-template-columns:max-content 1fr;gap:8px 12px;margin:0;display:grid}.send-finalize-card__facts dt{color:var(--text-secondary);font-weight:700}.send-finalize-card__facts dd{color:var(--text-primary);margin:0;font-weight:700}.send-finalize-card__error{color:var(--danger);margin:0;font-size:.9rem;font-weight:700}.widget-loading span,.widget-error p{margin:0}:root[data-theme=dark] .send-group-card{background:linear-gradient(#0a162af5,#081224fa),radial-gradient(circle at 100% 0,#5f9bff1f,#0000 46%);border-color:#90b6ec24;box-shadow:0 12px 24px #02081229}:root[data-theme=dark] .send-group-card__header p{color:#f5f8ffb8}:root[data-theme=dark] .send-option-chip{color:var(--text-on-dark);background:#ffffff0a;border-color:#90b6ec24;box-shadow:0 10px 22px #02081224}:root[data-theme=dark] .send-option-chip:hover,:root[data-theme=dark] .send-option-chip:focus-visible,:root[data-theme=dark] .send-option-chip.is-active{background:linear-gradient(#214e924d,#0c1f3d80);border-color:#7ea7f557}:root[data-theme=dark] .send-option-chip__icon{color:#b8d5ff;background:linear-gradient(#5f9bff2e,#5f9bff14)}:root[data-theme=dark] .send-option-chip__plan{color:#f5f8ffa8}:root[data-theme=dark] .send-option-chip.is-locked:hover,:root[data-theme=dark] .send-option-chip.is-locked:focus-visible{background:#ffffff0a;border-color:#90b6ec24;box-shadow:0 10px 22px #02081224}:root[data-theme=dark] .send-finalize-card{background:radial-gradient(circle at 100% 0,#ff8f8f14,#0000 34%),linear-gradient(#131c2eeb,#0c1220e0);border-color:#ff8f8f29}.widget-surface-layer{z-index:31;pointer-events:none;position:fixed;bottom:0;right:0}.widget-surface{width:min(448px,100vw);height:min(680px,100dvh);color:var(--text-on-dark);pointer-events:auto;background:linear-gradient(#081628fa,#040e1cf7),radial-gradient(circle at 0 0,#5499dd2e,#0000 34%);border-top:1px solid #78ace238;border-left:1px solid #78ace238;border-radius:24px 0 0;grid-template-rows:auto minmax(0,1fr);display:grid;overflow:hidden;box-shadow:-26px -20px 72px #02081061}.widget-surface__header{border-bottom-color:#ffffff14}.widget-surface__header p,.widget-details dt{color:#f5f8ffb3}.widget-surface__body{grid-template-rows:minmax(0,1fr);gap:0;height:100%;min-height:0;padding:0 16px 16px;display:grid}.widget-loading{background:#ffffff14;border-radius:16px;padding:12px 14px}.widget-surface__frame-shell{background:#ffffff0a;border:1px solid #ffffff14;border-radius:18px;height:100%;min-height:0;display:grid;position:relative;overflow:hidden}.widget-surface__mount-host{background:#071321;width:100%;height:100%;min-height:520px;position:relative}.widget-surface__mount-host iframe{background:0 0;border:0;width:100%;height:100%;min-height:520px;display:block}.widget-surface__status{color:#d7e7fa;text-align:center;place-items:center;gap:10px;width:100%;height:100%;padding:18px;font-size:.95rem;line-height:1.5;display:grid}.widget-surface__status.is-error{color:#ffd6d6}.widget-surface__status--overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#071321b8;position:absolute;inset:0}.widget-surface__close{width:38px;height:38px;color:var(--text-on-dark);cursor:pointer;background:#081628db;border:1px solid #8cb1e042;border-radius:999px;justify-content:center;align-items:center;font-size:1.5rem;line-height:1;display:inline-flex}.widget-surface__close:focus-visible{outline-offset:2px;outline:2px solid #7fbaffeb}@media (width<=1319px){.app-shell__workspace{grid-template-columns:minmax(0,1fr)}}@media (width<=959px){.app-shell{padding-top:calc(var(--shell-safe-top) + 12px)}.topbar{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 14px}.topbar.has-status{grid-template-areas:"brand actions""status status"}.topbar.is-summary-empty{grid-template-areas:"brand actions"}.topbar__brand{grid-area:brand}.topbar__actions{grid-area:actions}.topbar__meta{flex-wrap:wrap;grid-area:status;justify-self:start;gap:8px;max-width:min(100%,82vw)}.topbar__status{max-width:100%;padding:6px 10px;font-size:.8rem}.topbar__mode-badge{padding:6px 10px;font-size:.8rem}.topbar__record-button{min-height:40px;padding:0 12px;font-size:.8rem}.topbar__actions{justify-content:flex-end;width:auto}.phase-header,.field-group__grid,.document-intake-dropzone__actions,.documents-surface__details div{flex-direction:column;grid-template-columns:1fr;align-items:stretch}.field-group__grid{display:grid}.documents-surface__summary{grid-template-columns:1fr}.phase-header__actions{flex-wrap:wrap;justify-content:flex-start}.document-intake-shell{width:100%}.record-lookup-dialog{width:min(100vw - 20px,760px);max-height:min(84dvh,100dvh - 24px)}.send-sheet-surface.ui-surface--sheet{max-height:min(92dvh,620px);bottom:12px;left:12px;right:12px}.send-surface__group-grid{gap:10px}.send-group-card{padding:12px}.bottom-launchers{right:var(--shell-safe-right);grid-template-columns:none}.widget-surface-layer{bottom:0;right:0}.widget-surface{width:min(100vw,448px);height:min(72dvh,620px)}}@media (width<=720px){.record-lookup-dialog{border-radius:22px;width:auto;max-height:min(82dvh,100dvh - 20px);inset:auto 10px 10px;transform:none}.record-lookup-item__head,.record-lookup-item__meta,.record-lookup-dialog__footer{flex-flow:column wrap;justify-content:flex-start;align-items:stretch}.record-lookup-item__demography{text-align:left;white-space:normal}.record-lookup-item__meta span{white-space:normal;flex:0 auto}.record-lookup-item__relationship-inline{white-space:normal}.runtime-step-grid{grid-template-columns:1fr;row-gap:12px;display:grid}.send-dialog-surface.ui-surface--dialog{width:min(100vw - 20px,680px);max-height:calc(100dvh - 20px)}.send-surface__group-grid{grid-template-columns:1fr}.send-group-card__chips{gap:6px}.runtime-form-field-slot,.runtime-form-field-slot.ux-w-full,.guided-text-structured-slot,.guided-text-structured-slot.ux-w-full{flex:100%;width:100%;max-width:100%}.review-reconciliation-grid,.review-context-grid,.review-longitudinal-grid,.longitudinal-surface__module-nav{grid-template-columns:1fr}.review-reconciliation-panel__header{flex-direction:column}.protocol-header-actions{justify-content:flex-start;width:100%}.guided-text-choice-group.is-header{justify-content:flex-start}}@media (orientation:landscape) and (height<=720px){.app-shell{--shell-bottom-padding:calc(var(--shell-safe-bottom) + 82px)}.topbar{margin-bottom:12px;padding:10px 12px}.topbar__brand-mark{border-radius:14px;width:38px;height:38px}.topbar__brand-copy strong{font-size:1.06rem}.topbar__brand-copy span{font-size:.88rem}.topbar__status,.topbar__mode-badge{padding:6px 9px;font-size:.78rem}.edge-launcher{min-height:132px;top:54%}.phase-edge-stack__item{min-height:46px}.bottom-launchers{bottom:max(10px, calc(var(--shell-safe-bottom) + 10px));gap:8px}.bottom-launcher{height:64px}.document-intake-dropzone{gap:10px;min-height:min(72dvh,420px);padding:16px 14px 18px}.document-intake-dropzone__hero{width:88px;height:88px}.document-intake-dropzone__photo-cta{width:60px;height:60px}.document-intake-dropzone__copy h2{font-size:clamp(1.15rem,3.6vw,1.7rem)}.document-intake-dropzone__copy p,.document-intake-dropzone__photo-hint{font-size:.92rem;line-height:1.38}.document-intake-dropzone__actions{flex-direction:row;justify-content:center}.document-intake-dropzone__actions .ui-button{width:auto;min-width:172px}.runtime-step-panel{padding:12px}.runtime-step-panel__head{min-height:54px}.runtime-step-tabs{min-height:40px}.runtime-step-tab{height:40px;min-height:40px}.widget-surface-layer--narrow .widget-surface{width:min(100vw - 12px,520px);height:min(100dvh - 12px,420px)}.ui-surface--sheet{max-height:min(92dvh,520px)}}
