/* Shell tokens and breakpoints are taken from the approved prototype globals.css. */
:root{--background:#f4f6f8;--foreground:#132130;--card:#fff;--primary:#123b59;--muted:#647585;--border:#dbe2e7;--accent:#e8f2f4}
*{box-sizing:border-box}html,body{margin:0;background:var(--background);color:var(--foreground);font-family:Tahoma,Arial,sans-serif}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #268293;outline-offset:4px}[hidden]{display:none!important}
.prototype{min-height:100dvh}.main{min-height:100dvh;margin-right:258px}.page{max-width:1620px;margin:auto;padding:26px 30px 46px}.card{background:#fff;border:1px solid #dce3e8;border-radius:15px;padding:21px;box-shadow:0 2px 9px rgba(22,45,62,.035)}
.sidebar{position:fixed;inset:0 0 0 auto;width:258px;padding:24px 16px;background:#0d273b;color:#fff;z-index:50;display:flex;flex-direction:column;overflow-y:auto}.brand{display:flex;align-items:center;gap:12px;padding:0 7px 22px;border-bottom:1px solid #ffffff1a;direction:ltr}.brand>b{width:42px;height:42px;border-radius:12px;background:#fff;color:#0d5d68;display:grid;place-items:center;font-size:15px}.brand strong,.brand span{display:block}.brand strong{font-size:18px}.brand span{color:#91a8b8;font-size:12px;margin-top:2px}.brand>button{display:none;margin-left:auto;border:0;background:transparent;color:#c3d1da;font-size:26px}.workspace{display:flex;align-items:center;gap:10px;margin:18px 0;padding:13px;border:1px solid #ffffff1c;background:#ffffff0e;border-radius:12px}.workspace>span{font-size:22px;color:#85c7d0}.workspace span,.workspace strong{display:block}.workspace div span{font-size:10px;color:#b2c2cd}.workspace strong{font-size:12px;margin-top:4px}.nav-label{font-size:10px;color:#a6b8c4;margin:3px 10px 10px}.sidebar nav a{position:relative;width:100%;height:45px;border-radius:10px;display:flex;align-items:center;gap:11px;padding:0 12px;margin:3px 0;font-size:12px}.sidebar nav a>span{font-size:22px}.sidebar nav a.active{background:#fff;color:#10364f;font-weight:700}.sidebar nav a.active:after{content:"";position:absolute;right:-16px;width:3px;height:24px;background:#3fa3ad;border-radius:3px 0 0 3px}.sidebar-note{margin-top:auto;padding:14px 12px;background:#ffffff0e;border:1px solid #ffffff1a;border-radius:12px}.sidebar-note strong,.sidebar-note span{display:block}.sidebar-note strong{font-size:11px}.sidebar-note span{font-size:10px;color:#b2c2cd;line-height:1.9;margin-top:5px}
.topbar{position:sticky;top:0;z-index:35;height:74px;padding:0 30px;background:#fffffff5;border-bottom:1px solid #e0e6ea;display:flex;align-items:center;justify-content:space-between;backdrop-filter:blur(8px)}.page-title h1{font-size:18px;margin:0}.page-title p{font-size:10px;color:#647585;margin:5px 0 0}.brand-avatar{width:38px;height:38px;border-radius:12px;background:#e8f2f4;color:#0b6873;border:1px solid #cfe2e5;display:grid;place-items:center;font-size:11px;font-weight:700}.menu,.bottom-nav,.scrim{display:none}.page-intro{margin-bottom:22px}.page-intro span,.eyebrow{font-size:11px;color:#647585}.page-intro h2{font-size:25px;margin:9px 0}.page-intro p{font-size:12px;color:#647585;line-height:1.9;margin:0}.home-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:20px;align-items:start}.welcome-card{text-align:center;padding:60px 28px;min-height:370px}.welcome-mark{height:76px;width:76px;display:grid;place-items:center;margin:0 auto 23px;background:#e8f2f4;color:#0d5b65;border:1px solid #cfe2e5;border-radius:22px;font-weight:700;font-size:24px}.welcome-card h3{font-size:21px;margin:16px 0}.welcome-card>p{font-size:13px;color:#647585;line-height:2}.quiet-note{border-top:1px solid #e5eaee;padding-top:19px;margin-top:28px;font-size:12px;line-height:2;color:#647585}.section-title{display:flex;gap:10px;align-items:center;margin-bottom:18px}.section-icon{width:39px;height:39px;display:grid;place-items:center;border-radius:11px;background:#e8f2f4;color:#0d5b65;font-size:22px}.section-title h3{margin:0;font-size:14px}.section-title p{margin:6px 0 0;font-size:11px;color:#647585}.guide-card>p{font-size:12px;color:#526778;line-height:2.2}.guide-card .install-hint{font-size:11px;padding:12px;background:#f4f7f9;border-radius:9px}.primary{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;background:#123b59;color:white;min-height:44px;padding:10px 18px;font-size:12px;line-height:1.8}.error-card{max-width:700px;margin:50px auto;text-align:center;padding:50px 20px}.error-code{font-size:52px;color:#0d5b65;font-weight:700}.error-card p{line-height:2;font-size:13px;color:#647585}.skip-link{position:fixed;top:-80px;right:20px;z-index:100;background:#fff;padding:12px;border:2px solid #268293}.skip-link:focus{top:10px}.menu-open{overflow:hidden}
@media(max-width:1180px){.home-grid{grid-template-columns:minmax(0,1fr) 270px}}
@media(max-width:820px){.main{margin-right:0;padding-bottom:calc(68px + env(safe-area-inset-bottom))}.sidebar{width:min(82vw,300px);transform:translateX(105%);transition:transform .22s;z-index:60;visibility:hidden}.sidebar.open{transform:none;visibility:visible}.scrim{display:block;position:fixed;inset:0;z-index:55;border:0;background:#08182473}.brand>button{display:block;min-width:44px;min-height:44px}.topbar{height:61px;padding:0 13px}.menu{display:grid;place-items:center;width:44px;height:44px;border:1px solid #e0e5e8;border-radius:9px;background:white;color:#526b78}.page-title{flex:1;margin-right:9px}.page-title h1{font-size:13px}.page-title p{font-size:8px}.brand-avatar{width:34px;height:34px;border-radius:10px}.page{padding:16px 12px 24px}.page-intro{margin-bottom:14px}.page-intro h2{font-size:19px}.page-intro p{font-size:11px}.card{padding:15px;border-radius:13px}.home-grid{display:block}.guide-card{margin-top:12px}.welcome-card{padding:32px 18px;min-height:300px}.welcome-card h3{font-size:18px}.welcome-mark{height:62px;width:62px;border-radius:18px;margin-bottom:16px}.quiet-note{margin-top:22px;font-size:11px}.bottom-nav{position:fixed;inset:auto 0 0;z-index:45;min-height:66px;padding:6px 6px calc(6px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(2,1fr);border-top:1px solid #d8e0e4;background:#fff}.bottom-nav a,.bottom-nav button{border:0;border-radius:9px;background:transparent;color:#647585;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:53px;font-size:10px}.bottom-nav span{font-size:22px}.bottom-nav .active{background:#edf6f6;color:#0d6973;font-weight:700}.error-card{margin:30px auto;padding:36px 16px}}
@media(max-width:420px){.card{padding:13px}.welcome-card{padding:28px 15px}.page-intro h2{font-size:17px}}
@media(prefers-reduced-motion:reduce){.sidebar{transition:none}}

/* Prompt 3 authentication and administration surfaces. */
button,input,select,textarea{font:inherit}input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #268293;outline-offset:2px}.logout{margin-top:14px}.logout button{width:100%;padding:10px;border:1px solid #ffffff22;border-radius:9px;background:#ffffff0d;color:#d7e2e8}.flash{max-width:900px;margin:0 0 16px;padding:12px 16px;border-radius:10px;background:#e8f5ef;border:1px solid #bedfce;color:#185c3c;font-size:12px;line-height:1.9}.flash.error{background:#fff0f0;border-color:#f0c4c4;color:#8a2525}.admin-create{margin-bottom:18px}.admin-create h3,.data-card h3,.member-panel h3{font-size:14px;margin:0 0 15px}.form-grid{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:12px;align-items:end}.stack-form{display:grid;gap:16px}.form-grid label,.stack-form label,.compact-form label{display:grid;gap:7px;font-size:11px;color:#526778}.form-grid input,.form-grid select,.stack-form input,.stack-form select,.compact-form input,.compact-form select,.table-tools input{min-height:42px;border:1px solid #d5dfe4;border-radius:9px;background:#fff;color:#132130;padding:8px 11px}.check{display:flex!important;align-items:center;grid-template-columns:auto 1fr!important;gap:8px!important}.check input{width:18px;height:18px;min-height:0}.table-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.table-tools h3{margin:0}.table-tools form{display:flex;gap:7px}.table-tools button,.compact-form button,.inline-form button,.member-list button,.small-link{border:1px solid #cfdbe1;border-radius:8px;background:#fff;padding:8px 11px;color:#17445f;font-size:11px}.table-wrap{overflow:auto}.table-wrap table{width:100%;border-collapse:collapse;min-width:720px}.table-wrap th,.table-wrap td{text-align:right;padding:13px 11px;border-bottom:1px solid #e5eaee;font-size:11px;vertical-align:top}.table-wrap th{color:#647585;background:#f7f9fa;white-space:nowrap}.table-wrap td span{display:block;margin-top:4px;color:#647585}.chip{display:inline-flex!important;width:max-content;padding:4px 8px;border-radius:20px;background:#e8f2f4;color:#17626b!important;margin:1px!important}.chip.success{background:#e6f5ed;color:#24724c!important}.chip.danger{background:#fdeaea;color:#992e2e!important}.chip.muted{background:#edf0f2;color:#697984!important}.chip.gold{background:#fff5d8;color:#806018!important}.compact-form{display:grid;gap:9px;margin:10px 0;padding:10px;background:#f7f9fa;border-radius:9px}.inline-form{display:inline-block;margin:4px 2px}.danger-button{color:#9b2c2c!important;border-color:#efc8c8!important}.empty{text-align:center!important;color:#71808a;padding:30px!important}.group-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:16px}.member-panel{border-right:1px solid #e2e8eb;padding-right:16px}.member-list{list-style:none;margin:16px 0 0;padding:0}.member-list li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;border-bottom:1px solid #e7ebee;font-size:11px}.count-badge{width:30px;height:30px;border-radius:50%;display:grid!important;place-items:center;background:#e8f2f4!important;color:#17626b!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.auth-body{min-height:100dvh;background:#0d273b}.auth-shell{min-height:100dvh;display:grid;grid-template-columns:minmax(360px,44%) minmax(420px,56%);direction:ltr}.auth-brand{direction:rtl;color:#fff;display:flex;flex-direction:column;justify-content:center;padding:9vw;background:#0d273b}.auth-logo,.mobile-logo{width:72px;height:72px;border-radius:20px;display:grid;place-items:center;background:#fff;color:#0c6070;font-size:21px;font-weight:700}.auth-brand p{font-size:12px;color:#91c7ce;margin:18px 0 30px}.auth-brand h1{font-size:34px;line-height:1.7;margin:0;max-width:480px}.auth-brand span{color:#a9beca;font-size:13px;margin-top:20px}.auth-card{direction:rtl;width:min(430px,calc(100% - 40px));margin:auto;background:#fff;border-radius:18px;padding:38px;box-shadow:0 22px 60px #06172455}.auth-card h2{margin:0 0 12px;font-size:22px}.mobile-logo{display:none}.form-lead,.security-hint{font-size:12px;color:#647585;line-height:2;margin:0 0 23px}.security-hint{text-align:center;margin:17px 0 0;font-size:10px}.wide{width:100%}
@media(max-width:820px){.bottom-nav{grid-template-columns:repeat(3,1fr)}.form-grid{grid-template-columns:1fr 1fr}.group-grid{display:block}.member-panel{border:0;border-top:1px solid #e2e8eb;padding:18px 0 0;margin-top:18px}.table-tools{align-items:flex-start;flex-direction:column}.auth-shell{display:block;padding:22px 0;background:#f4f6f8}.auth-brand{display:none}.auth-card{margin:7vh auto;padding:28px 22px}.mobile-logo{display:grid;width:56px;height:56px;border-radius:16px;margin:0 auto 24px}.auth-card h2{text-align:center}.auth-card .form-lead{text-align:center}}

/* Prompt 3 mobile admin cards preserve desktop tables while removing horizontal discovery. */
.mobile-admin-list{display:none}.group-grid{display:block}.group-grid.has-member-panel{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:16px}.admin-manage>summary{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 11px;border:1px solid #cfdbe1;border-radius:8px;background:#fff;color:#17445f;font-size:11px;cursor:pointer;list-style:none}.admin-manage>summary::-webkit-details-marker{display:none}.management-panel{min-width:250px}.single-action button{min-height:38px;border:1px solid #cfdbe1;border-radius:8px;background:#fff;padding:8px 11px}.state-actions{display:flex;flex-wrap:wrap;gap:5px}.state-actions .inline-form{margin:0}.member-panel-heading>span{font-size:10px;color:#647585}.member-panel-heading h3{margin:5px 0 15px}.member-add-form{padding-bottom:15px;border-bottom:1px solid #e2e8eb}.member-card>div{min-width:0}.member-card strong,.member-card span,.member-card small{display:block;overflow-wrap:anywhere}.member-card span{margin-top:4px}.member-card small{margin-top:4px;color:#647585}.member-card form{flex:0 0 auto}.mobile-manage-link{display:inline-flex;align-items:center;justify-content:center;background:#123b59;color:#fff;border-radius:9px;min-height:42px;padding:8px 14px;font-size:11px}

@media(max-width:820px){
    .page,.card,.data-card,.group-grid,.group-grid.has-member-panel,.mobile-admin-list,.admin-mobile-card,.management-panel,.member-panel{min-width:0;max-width:100%}
    .group-grid,.group-grid.has-member-panel{display:block}
    .desktop-admin-table{display:none}
    .mobile-admin-list{display:grid;gap:12px}
    .admin-mobile-card{width:100%;padding:14px;border:1px solid #dce3e8;border-radius:12px;background:#fff;box-shadow:0 1px 5px rgba(22,45,62,.035);overflow-wrap:anywhere}
    .mobile-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #e7ebee}
    .mobile-card-heading>div{min-width:0}.mobile-card-heading strong{font-size:13px;color:#17445f}.mobile-card-heading h4{margin:5px 0 0;font-size:14px}.mobile-card-heading p{margin:6px 0 0;color:#647585;font-size:11px;line-height:1.9}
    .mobile-card-meta{display:grid;gap:10px;margin:13px 0}.mobile-card-meta>div{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.mobile-card-meta dt{flex:0 0 auto;color:#647585;font-size:10px}.mobile-card-meta dd{min-width:0;margin:0;text-align:left;font-size:11px}.capability-list{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px}
    .admin-mobile-card>.admin-manage{margin-top:10px}.admin-mobile-card>.admin-manage>summary,.mobile-manage-link{width:100%;min-height:44px}
    .admin-mobile-card>.admin-manage[open]>summary{border-color:#268293;background:#edf6f6}.management-panel{width:100%;padding-top:2px}
    .compact-form input,.compact-form select,.stack-form input,.stack-form select,.form-grid input,.form-grid select{width:100%;min-width:0;max-width:100%;min-height:44px}
    .form-grid .check,.compact-form .check{min-height:44px}.form-grid .check input,.compact-form .check input{width:18px;min-width:18px;height:18px;min-height:0}
    .single-action,.single-action button{width:100%}.single-action button{min-height:44px}
    .state-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.state-actions .inline-form,.state-actions button{width:100%;min-width:0;min-height:44px;margin:0}
    .table-tools,.table-tools form{width:100%;min-width:0}.table-tools form{display:flex}.table-tools input{flex:1 1 auto;width:auto;min-width:0}.table-tools button{flex:0 0 auto;min-height:44px}
    .form-grid>*{min-width:0}.form-grid button,.compact-form button,.stack-form button,.member-list button{min-height:44px}
    .member-panel{width:100%;margin-top:16px;padding:16px;border:1px solid #dce3e8;border-radius:12px;background:#f9fbfc}.member-list{display:grid;gap:9px}.member-list .member-card{display:flex;align-items:center;flex-wrap:wrap;padding:11px;border:1px solid #e1e7eb;border-radius:10px;background:#fff}.member-card form{width:100%;margin-top:9px}.member-card button{width:100%}
    .mobile-empty{margin:0;border:1px dashed #d5dfe4;border-radius:10px}
}
@media(max-width:420px){.page{padding:10px 12px 14px}.admin-page-intro p{display:none}.admin-page-intro{margin-bottom:9px}.admin-page-intro h2{margin:5px 0}.admin-create{margin-bottom:10px}.admin-create h3,.data-card h3{margin-bottom:10px}.form-grid{gap:8px}.table-tools{margin-bottom:10px}}

/* Prompt 4: responsive server-rendered request experience. */
.form-card[id]{scroll-margin-top:88px}.request-page,.request-layout,.request-form-main,.request-summary,.form-card,.item-row,.routing-grid,.view-grid{min-width:0}.request-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.request-toolbar h2{margin:7px 0 6px;font-size:25px}.request-toolbar p{margin:0;color:var(--muted);line-height:1.8}.eyebrow{font-size:11px;color:#268293;font-weight:700}.request-meta{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px;max-width:520px}.request-meta small{width:100%;text-align:left;color:var(--muted)}.status-chip{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border-radius:999px;background:#eef2f4;color:#536675;font-size:11px;font-weight:700}.status-draft,.status-new{background:#fff4d8;color:#8a5b00}.status-requester-revision{background:#ffebe8;color:#a1352a}.status-audience-routing{background:#e5f3f7;color:#0f6171}.status-locked{background:#e9eef4;color:#2f4b63}.save-state{display:inline-flex;align-items:center;min-height:30px;padding:4px 10px;border-radius:8px;background:#eff3f5;color:#526573;font-size:11px}.save-state.saving{background:#fff5d9;color:#755800}.save-state.saved{background:#e6f5ee;color:#166548}.save-state.dirty,.save-state.error,.save-state.conflict{background:#ffebe8;color:#9f352b}.revision-banner,.conflict-banner,.validation-summary{display:flex;align-items:flex-start;flex-wrap:wrap;gap:7px 14px;margin:0 0 16px;padding:14px 16px;border:1px solid #f0b9af;border-radius:12px;background:#fff0ed;color:#842f28}.revision-banner{border-color:#e7c66f;background:#fff8e4;color:#765500}.revision-banner span,.conflict-banner span{flex:1 1 500px}.conflict-banner a{font-weight:700;text-decoration:underline}.validation-summary{display:block}.validation-summary strong{display:block;margin-bottom:6px}.validation-summary ul{margin:0;padding-right:20px;line-height:1.9}.request-layout{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:18px;align-items:start}.request-form-main{display:grid;gap:16px}.request-summary{position:sticky;top:20px}.request-summary .card{padding:18px}.request-summary h3{margin:0 0 14px}.request-summary dl{margin:0}.request-summary dl div,.route-summary dl div{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid #edf0f2}.request-summary dt,.route-summary dt{color:var(--muted);font-size:11px}.request-summary dd,.route-summary dd{margin:0;font-size:11px;font-weight:700;text-align:left}.request-summary p,.route-summary p{font-size:11px;color:var(--muted);line-height:1.8}.completion{margin:16px 0}.completion>span{font-size:11px}.completion>strong{float:left;color:#167382}.completion>i{display:block;clear:both;height:7px;margin-top:9px;border-radius:99px;background:#e8edef;overflow:hidden}.completion>i b{display:block;width:0;height:100%;border-radius:99px;background:#27899a;transition:width .2s ease}.form-card{padding:20px}.section-title{display:flex;align-items:center;gap:11px;margin-bottom:18px}.section-title>div{flex:1;min-width:0}.section-title h3{margin:0 0 4px;font-size:15px}.section-title p{margin:0;color:var(--muted);font-size:11px;line-height:1.7}.section-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#e8f2f4;color:#1c7281;font-size:17px}.system-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.system-facts>div{padding:12px;border:1px solid #e4e9ec;border-radius:10px;background:#fafcfd}.system-facts span{display:block;margin-bottom:6px;color:var(--muted);font-size:10px}.system-facts b{font-size:12px;overflow-wrap:anywhere}.form-grid,.main-form-grid{display:grid;gap:14px}.main-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.main-form-grid .main-title{grid-column:span 2}.main-form-grid .main-description{grid-column:1/-1}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.field,.item-row label{display:flex;flex-direction:column;gap:6px;min-width:0;color:#324757;font-size:11px}.field>span,.item-row label>span{font-weight:700}.field b,.item-row label b,legend b{color:#b63d33}.field.wide{grid-column:span 2}.form-grid.three .field.wide{grid-column:span 2}.field input,.field select,.field textarea,.item-row input,.item-row select,.item-row textarea{width:100%;min-width:0;max-width:100%;border:1px solid #ced8de;border-radius:9px;background:#fff;color:#142a39;padding:10px 11px;outline:0}.field input,.field select,.item-row input,.item-row select{min-height:44px}.field textarea,.item-row textarea{resize:vertical;line-height:1.8}.field input:focus,.field select:focus,.field textarea:focus,.item-row input:focus,.item-row select:focus,.item-row textarea:focus{border-color:#268293;box-shadow:0 0 0 3px rgba(38,130,147,.14)}.field small{color:var(--muted);line-height:1.6}.field-error{min-height:0!important;color:#aa352c!important}.invalid input,.invalid select{border-color:#b83f35}.muted input,.muted-input{background:#f2f5f6!important;color:#647585}.date-trigger{display:none;width:100%;min-height:44px;align-items:center;justify-content:space-between;padding:9px 11px;border:1px solid #ced8de;border-radius:9px;background:#fff;color:#152d3d}.date-field.enhanced .date-trigger{display:flex}.outline-button,.primary-button,.quiet-button,.danger-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;border-radius:9px;font:inherit;font-weight:700}.outline-button{border:1px solid #bfcdd5;background:#fff;color:#17445f}.primary-button{border:1px solid #123b59;background:#123b59;color:#fff}.quiet-button{border:1px solid transparent;background:#edf2f4;color:#405867}.danger-button{border:1px solid #efb8b1;background:#fff0ed;color:#9f352b}.item-head,.item-row{display:grid;grid-template-columns:minmax(150px,1.65fr) minmax(100px,1fr) 76px 88px 96px 74px minmax(100px,1fr) 38px;gap:7px;align-items:start}.item-head{padding:0 8px 8px;color:var(--muted);font-size:9px}.item-row{position:relative;padding:13px 8px;border-top:1px solid #e8edef}.item-row>header{display:contents}.item-row>header strong,.item-row>header b{display:none}.remove-item{grid-column:8;grid-row:1;min-width:36px;min-height:44px;border:0;border-radius:8px;background:#fff0ed;color:#a83930;font-size:22px}.item-product{grid-column:1;grid-row:1;display:grid;gap:7px}.item-product label span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.item-row>label:nth-of-type(1){grid-column:2}.item-row>label:nth-of-type(2){grid-column:3}.item-row>label:nth-of-type(3){grid-column:4}.item-row>label:nth-of-type(4){grid-column:5}.item-row>label:nth-of-type(5){grid-column:6}.item-row>label>span,.line-total>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.line-total{grid-column:7;display:flex;align-items:center;min-height:44px;padding:10px;border-radius:9px;background:#eef5f6;color:#174d58;font-weight:700;overflow:hidden}.line-total output{max-width:100%;font-size:10px}.business-number{direction:ltr;unicode-bidi:isolate;white-space:nowrap;font-variant-numeric:tabular-nums}.item-note{grid-column:1/8!important;grid-row:2}.item-note>span{position:static!important;width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important}.totals-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:15px;padding-top:15px;border-top:1px solid #e2e8eb}.totals-grid div{min-width:0;padding:12px;border-radius:10px;background:#f3f7f8}.totals-grid span{display:block;color:var(--muted);font-size:10px}.totals-grid output{display:block;margin-top:7px;color:#174b59;font-weight:700}.calculation-error{margin:10px 0 0;color:#a33a31;font-size:11px}.autocomplete{position:relative}.suggestions{position:absolute;z-index:30;inset:calc(100% + 4px) 0 auto;max-height:250px;overflow:auto;border:1px solid #c8d4da;border-radius:10px;background:#fff;box-shadow:0 10px 30px rgba(15,39,55,.15)}.suggestions button,.suggest-state{display:block;width:100%;padding:10px 12px;border:0;border-bottom:1px solid #edf1f3;background:#fff;text-align:right;color:#203847}.suggestions button:hover,.suggestions button.active{background:#eef7f8}.suggestions button b,.suggestions button small{display:block}.suggestions button small{margin-top:4px;color:var(--muted)}.routing-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.routing-grid fieldset{min-width:0;margin:0;padding:0;border:0}.routing-grid legend{margin-bottom:9px;font-size:12px;font-weight:700}.group-option,.watcher-list label{display:flex;flex-direction:row;align-items:center;gap:10px;margin-bottom:8px;padding:11px;border:1px solid #dbe3e7;border-radius:10px;background:#fbfcfd}.group-option:has(input:checked),.watcher-list label:has(input:checked){border-color:#2b8795;background:#edf7f7}.group-option input,.watcher-list input{width:18px;height:18px;flex:0 0 auto}.group-option span,.watcher-list span{flex:1;min-width:0}.group-option b,.watcher-list b{display:block;color:#1b3749}.group-option small,.watcher-list small{display:block;margin-top:4px;color:var(--muted)}.group-option strong{font-size:10px;color:#267a87}.watcher-list{max-height:270px;overflow:auto}.routing-warning{margin:12px 0 0;padding:10px;border-radius:9px;background:#fff8e5;color:#755800;font-size:10px;line-height:1.8}.routing-locked{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #d8e3e7;border-radius:11px;background:#f5f8f9}.routing-locked span{flex:1;color:#536775}.routing-locked small{color:#946c00}.form-actions{position:sticky;z-index:20;bottom:0;display:flex;justify-content:flex-end;gap:9px;margin-top:18px;padding:12px;border:1px solid #d9e1e5;border-radius:13px;background:rgba(255,255,255,.96);box-shadow:0 -8px 25px rgba(25,48,63,.08);backdrop-filter:blur(8px)}.calendar-dialog{width:min(390px,calc(100vw - 24px));max-width:100%;padding:0;border:0;border-radius:15px;background:transparent}.calendar-dialog::backdrop{background:rgba(9,25,36,.55)}.calendar-box{padding:17px;border-radius:15px;background:#fff;box-shadow:0 18px 50px rgba(5,24,36,.25)}.calendar-box header,.calendar-controls,.calendar-box footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.calendar-box header{padding-bottom:12px;border-bottom:1px solid #e6ebee}.calendar-box header span{display:block;margin-top:4px;color:var(--muted);font-size:10px}.calendar-box button{min-width:44px;min-height:44px;border:1px solid #d6dfe4;border-radius:9px;background:#fff;color:#15394f}.calendar-controls{padding:10px 0}.calendar-week,.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.calendar-week span{padding:6px;text-align:center;color:var(--muted);font-size:10px}.calendar-days>span{min-height:40px}.calendar-days button{min-width:0;min-height:40px;padding:3px;border:0}.calendar-days button:hover,.calendar-days button:focus-visible{background:#e7f2f4}.calendar-days button.selected{background:#176276;color:#fff}.calendar-box footer{margin-top:10px;padding-top:10px;border-top:1px solid #e6ebee}.calendar-box footer button:last-child{margin-right:auto}.request-list{padding:0;overflow:hidden}.request-list .list-head{padding:18px;border-bottom:1px solid #e3e9ec}.request-list .list-head h3{margin:0}.request-list article{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border-bottom:1px solid #edf0f2}.request-list article:last-child{border:0}.request-list article>div:first-child{display:grid;grid-template-columns:auto 1fr;gap:5px 10px;min-width:0}.request-list article strong{align-self:center}.request-list article small{grid-column:1/3;color:var(--muted)}.request-list-total{text-align:left}.request-list-total b{display:block;margin-bottom:8px}.request-list-total a{color:#176a78;font-weight:700}.empty-state{display:grid;place-items:center;gap:12px;padding:50px;color:var(--muted)}.empty-state a{color:#176a78;font-weight:700}.view-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px}.view-grid main{display:grid;gap:16px}.request-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#f8fafb}.request-hero h3{margin:6px 0}.request-hero p{color:var(--muted)}.request-hero>div:last-child{text-align:left}.request-hero>div:last-child span,.request-hero>div:last-child small{display:block;color:var(--muted)}.request-hero>div:last-child strong{display:block;margin:8px 0;color:#176276;font-size:20px}.submitted-details,.submitted-items dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}.submitted-details>div,.submitted-items dl>div{min-width:0;padding:11px;border:1px solid #e4e9ec;border-radius:9px;background:#fafcfd}.submitted-details dt,.submitted-items dt{color:var(--muted);font-size:10px}.submitted-details dd,.submitted-items dd{margin:6px 0 0;font-size:11px;line-height:1.8;overflow-wrap:anywhere}.submitted-items{display:grid;gap:10px}.submitted-items article{display:block;padding:14px;border:1px solid #e1e7ea;border-radius:10px}.submitted-item-title{margin-bottom:11px}.submitted-items small{display:block;margin-top:4px;color:var(--muted)}.submitted-items article>p,.long-text{margin:11px 0 0;line-height:2;font-size:11px}.submitted-items article>p span{color:var(--muted)}.routing-codes{margin-top:16px}.routing-codes strong{display:block;margin-top:12px;font-size:11px}.routing-codes p{display:flex;flex-wrap:wrap;gap:6px;margin:7px 0}.routing-codes span{display:inline-flex;padding:5px 8px;border-radius:8px;background:#edf5f6;color:#165665;font-size:10px}.route-summary{position:sticky;top:20px}.route-summary h3{margin-top:0}
@media(max-width:1120px){.request-layout,.view-grid{grid-template-columns:1fr}.request-summary,.route-summary{position:static}.request-summary .card{display:grid;grid-template-columns:1fr 1fr;gap:16px}.request-summary h3,.request-summary p{grid-column:1/3}}
@media(max-width:920px){.item-head{display:none}.item-row{grid-template-columns:repeat(3,minmax(0,1fr));padding:14px;margin-bottom:12px;border:1px solid #dce4e8;border-radius:12px;background:#fff}.item-row>header{display:flex;grid-column:1/4;align-items:center;gap:9px;padding-bottom:10px;border-bottom:1px solid #e6ebee}.item-row>header b{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#e6f2f4;color:#176276}.item-row>header strong{display:block;flex:1}.remove-item{grid-column:auto;grid-row:auto}.item-product{grid-column:1/4;grid-row:auto;display:grid;grid-template-columns:1fr 2fr}.item-product label span,.item-row>label>span,.line-total>span{position:static;width:auto;height:auto;overflow:visible;clip:auto}.item-row>label:nth-of-type(n),.line-total,.item-note{grid-column:auto;grid-row:auto}.item-note{grid-column:1/4!important}.line-total{flex-direction:column;align-items:flex-start}.totals-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.request-page{padding-bottom:160px}.request-toolbar{display:block}.request-meta{justify-content:flex-start;max-width:none;margin-top:12px}.request-meta small{text-align:right}.request-layout{display:block}.request-summary{margin-top:14px}.request-summary .card{display:block}.request-summary h3,.request-summary p{grid-column:auto}.form-actions{position:fixed;right:12px;left:12px;bottom:calc(68px + env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr 1fr;margin:0;padding:9px}.form-actions .quiet-button{display:none}.form-actions .primary-button{grid-column:1/3}.main-form-grid{grid-template-columns:1fr}.main-form-grid .main-title,.main-form-grid .main-description{grid-column:auto}.form-grid.three,.form-grid.two,.system-facts,.routing-grid{grid-template-columns:1fr 1fr}.field.wide,.form-grid.three .field.wide{grid-column:1/3}.request-toolbar h2{font-size:21px}.section-title{align-items:flex-start;flex-wrap:wrap}.section-title .outline-button{width:100%}.request-list article{align-items:flex-start}.view-grid{display:block}.view-grid aside{margin-top:15px}.request-hero{align-items:flex-start}.bottom-nav{grid-template-columns:repeat(4,1fr)}}
@media(max-width:560px){.page{width:100%;max-width:100%}.form-card{padding:15px}.form-grid.three,.form-grid.two,.system-facts,.routing-grid,.submitted-details,.submitted-items dl{grid-template-columns:1fr}.field.wide,.form-grid.three .field.wide{grid-column:auto}.item-row{grid-template-columns:1fr 1fr;gap:10px}.item-row>header,.item-product,.item-note{grid-column:1/3!important}.item-product{grid-template-columns:1fr}.totals-grid{grid-template-columns:1fr 1fr}.request-toolbar p{font-size:11px}.request-meta{gap:6px}.revision-banner,.conflict-banner{display:block}.revision-banner span,.conflict-banner span{display:block;margin-top:6px;line-height:1.8}.routing-locked{align-items:flex-start;flex-direction:column}.request-list article{display:block}.request-list article>div:first-child{display:flex;flex-wrap:wrap}.request-list article small{width:100%}.request-list-total{display:flex;align-items:center;justify-content:space-between;margin-top:13px;text-align:right}.request-list-total b{margin:0}.request-hero{display:block}.request-hero>div:last-child{margin-top:18px;text-align:right}.calendar-box{padding:13px}.calendar-box footer{flex-wrap:wrap}.calendar-box footer button:last-child{width:100%;margin:0}.form-actions{grid-template-columns:1fr 1fr}.form-actions .danger-button{grid-column:1/3}.topbar .page-title p{display:none}}
@media(max-width:420px){.request-toolbar h2{font-size:18px}.request-toolbar{margin-bottom:12px}.form-card{padding:13px}.item-row{padding:11px}.totals-grid{grid-template-columns:1fr}.request-meta small{font-size:10px}.calendar-days button{min-height:42px}.form-actions button{padding-inline:8px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.completion>i b{transition:none}}

/* Prompt 5: audience inbox and append-only decision workflow */
.inbox-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.inbox-count{display:inline-flex;align-items:center;min-height:36px;padding:7px 12px;border-radius:999px;background:#e7f3f4;color:#17616c;font-weight:700}.inbox-filters{margin-bottom:16px}.inbox-filters h3{margin:0 0 14px;font-size:14px}.inbox-filters form{display:grid;grid-template-columns:minmax(210px,1.4fr) repeat(3,minmax(145px,1fr)) auto auto;gap:10px;align-items:end}.inbox-filters label{display:grid;gap:6px;min-width:0;color:#526778;font-size:10px}.inbox-filters input[type=search],.inbox-filters select{width:100%;min-width:0;min-height:44px;padding:9px 10px;border:1px solid #ced9df;border-radius:9px;background:#fff;color:#142a39}.inbox-unread{display:flex!important;flex-direction:row;align-items:center;min-height:44px;padding:8px 10px;border:1px solid #dbe3e7;border-radius:9px;background:#fafcfd;white-space:nowrap}.inbox-unread input{width:18px;height:18px}.audience-inbox{min-width:0;max-width:100%;padding:0}.inbox-desktop table{min-width:1100px}.inbox-desktop tr.is-unread{background:#f2faf9}.inbox-desktop td strong,.inbox-desktop td time{display:block;white-space:nowrap}.unread-dot,.unread-badge{display:inline-flex!important;width:max-content;margin-top:6px!important;padding:3px 7px;border-radius:999px;background:#d9f1ec;color:#12634f!important;font-size:9px}.inbox-mobile{display:none}.pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:16px}.pagination a,.pagination span{display:inline-flex;align-items:center;min-height:42px;padding:8px 13px;border:1px solid #d3dee3;border-radius:9px;background:#fff;color:#17445f;font-size:11px}.audience-access-note,.watcher-boundary,.routing-paused-note{display:flex;align-items:flex-start;gap:9px;margin:0 0 16px;padding:13px 15px;border:1px solid #d2e4e6;border-radius:11px;background:#eff8f8;color:#235969}.audience-access-note strong{flex:0 0 auto}.audience-access-note span{line-height:1.9}.audience-decision-card,.decision-timeline,.watcher-boundary{margin-top:16px}.audience-decision-card .section-title>.chip{margin-right:auto!important}.audience-decision-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 16px;padding:0;border:0}.audience-decision-options legend{grid-column:1/3;margin-bottom:10px;font-weight:700}.audience-decision-options label{display:flex;align-items:flex-start;gap:10px;min-width:0;padding:15px;border:1px solid #d7e1e5;border-radius:12px;background:#fbfcfd;cursor:pointer}.audience-decision-options label:has(input:checked){border-color:#278391;background:#edf7f7;box-shadow:0 0 0 2px rgba(39,131,145,.08)}.audience-decision-options input{flex:0 0 auto;width:20px;height:20px;margin-top:2px}.audience-decision-options b,.audience-decision-options small{display:block}.audience-decision-options small{margin-top:6px;color:#647585;line-height:1.8}.audience-decision-field{margin-top:13px}.audience-decision-field[hidden]{display:none}.audience-decision-actions{display:flex;justify-content:flex-end;margin-top:14px}.audience-decision-actions button:disabled{cursor:not-allowed;opacity:.5}.routing-paused-note{margin:0;background:#fff7e4;border-color:#ead29a;color:#725700}.watcher-boundary{display:block}.watcher-boundary strong{display:block;margin-bottom:7px}.watcher-boundary p{margin:0;color:#526778;line-height:2}.decision-timeline ol{position:relative;list-style:none;margin:0;padding:0}.decision-timeline ol:before{content:"";position:absolute;right:7px;top:11px;bottom:11px;width:2px;background:#dce6e9}.decision-timeline li{position:relative;display:grid;grid-template-columns:16px minmax(0,1fr);gap:12px;padding:0 0 18px}.decision-timeline li:last-child{padding-bottom:0}.timeline-mark{position:relative;z-index:1;width:16px;height:16px;margin-top:4px;border:4px solid #d9eef0;border-radius:50%;background:#237b88}.decision-timeline li>div{min-width:0;padding:13px;border:1px solid #e0e7ea;border-radius:10px;background:#fbfcfd}.decision-timeline header{display:flex;align-items:center;justify-content:space-between;gap:12px}.decision-timeline time,.decision-timeline small{color:#647585;font-size:10px}.decision-timeline p{margin:9px 0 5px}.decision-timeline li>div>span{display:block;color:#526778;font-size:11px}.decision-timeline blockquote{margin:10px 0;padding:10px 12px;border-right:3px solid #2c8592;border-radius:7px;background:#edf6f7;line-height:2;overflow-wrap:anywhere}.decision-timeline small{display:block;margin-top:9px}.status-ready-to-lock{background:#e7f5ec;color:#236347}.status-locked-for-ceo{background:#eeeafa;color:#59468c}
@media(max-width:1180px){.inbox-filters form{grid-template-columns:repeat(3,minmax(0,1fr))}.inbox-search{grid-column:span 2}}
@media(max-width:820px){.inbox-intro,.inbox-intro>div,.inbox-count,.inbox-filters,.inbox-filters form,.inbox-filters label,.audience-inbox,.inbox-mobile,.inbox-card,.inbox-card header,.inbox-card header>div,.inbox-card dl,.inbox-card dl>div,.inbox-card footer{min-width:0;max-width:100%}.inbox-intro{align-items:flex-start;flex-wrap:wrap}.inbox-intro>div{flex:1 1 220px;overflow-wrap:anywhere}.inbox-count{flex:0 1 auto}.inbox-filters,.audience-inbox{width:100%;overflow:visible}.inbox-filters form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.inbox-mobile{grid-template-columns:minmax(0,1fr);width:100%}.inbox-card{width:100%}.inbox-card header,.inbox-card footer{flex-wrap:wrap}.inbox-card header>div{flex:1 1 220px}.inbox-card header strong,.inbox-card h3,.inbox-card dt,.inbox-card dd,.inbox-card footer>*{max-width:100%;overflow-wrap:anywhere}.bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.bottom-nav a,.bottom-nav button{min-width:0;padding-inline:2px}.inbox-filters form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.inbox-search{grid-column:1/3}.inbox-filters .primary-button{min-height:44px}.inbox-desktop{display:none}.inbox-mobile{display:grid;gap:12px;padding:12px}.inbox-card{min-width:0;padding:14px;border:1px solid #dce5e8;border-radius:12px;background:#fff}.inbox-card.is-unread{border-color:#a9d6d4;background:#f3fbfa}.inbox-card header,.inbox-card footer{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.inbox-card header>div{min-width:0}.inbox-card h3{margin:6px 0 0;font-size:14px;overflow-wrap:anywhere}.inbox-card dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px;margin:14px 0}.inbox-card dl>div{min-width:0;padding:9px;border-radius:8px;background:#f5f8f9}.inbox-card dt{color:#647585;font-size:9px}.inbox-card dd{margin:5px 0 0;font-size:10px;overflow-wrap:anywhere}.inbox-card dd small{display:block;margin-top:4px;color:#647585}.inbox-card footer{align-items:center;padding-top:12px;border-top:1px solid #e5eaed}.audience-access-note{display:block}.audience-access-note strong,.audience-access-note span{display:block}.audience-access-note span{margin-top:5px}.decision-timeline header{align-items:flex-start;flex-direction:column;gap:5px}}
@media(max-width:560px){.inbox-intro h2{font-size:18px}.inbox-count{font-size:10px}.inbox-filters{padding:13px}.inbox-filters form{grid-template-columns:minmax(0,1fr)}.inbox-search{grid-column:auto}.inbox-card dl{grid-template-columns:minmax(0,1fr)}.audience-decision-card,.decision-timeline{padding:14px}.audience-decision-options{grid-template-columns:1fr}.audience-decision-options legend{grid-column:auto}.audience-decision-options label{min-height:74px}.audience-decision-actions .primary-button{width:100%}.decision-timeline li>div{padding:11px}.bottom-nav a,.bottom-nav button{font-size:9px}.bottom-nav span{font-size:19px}}
/* Prompt 6: addressed request conversation, direct actions and private attachments. */
.request-chat a,.request-chat button,.request-chat select,.request-chat textarea,.request-chat input:not([type=hidden]){min-height:44px}.request-chat a{display:inline-flex;align-items:center;justify-content:center}
.request-chat{min-width:0;margin-top:24px}.chat-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px;min-width:0}.chat-heading>div{min-width:0}.chat-heading>div>span{font-size:11px;color:#0b6873;font-weight:700}.chat-heading h2{font-size:22px;margin:7px 0}.chat-heading p{color:#647585;font-size:12px;line-height:2;margin:0;overflow-wrap:anywhere}.chat-shell{display:grid;grid-template-columns:minmax(190px,240px) minmax(0,1fr) minmax(190px,240px);gap:15px;align-items:start;min-width:0}.chat-request-context,.chat-members-panel{padding:17px;min-width:0}.chat-request-context h3,.chat-members-panel h3{font-size:13px;margin:0 0 14px}.chat-request-context dl{margin:0}.chat-request-context dl>div{padding:10px 0;border-bottom:1px solid #e8edf0;min-width:0}.chat-request-context dl>div:last-child{border:0}.chat-request-context dt{font-size:10px;color:#647585;margin-bottom:5px}.chat-request-context dd{margin:0;font-size:11px;line-height:1.8;overflow-wrap:anywhere}.conversation-panel{border:1px solid #d4dde2;border-radius:18px;background:#e9f0ed;min-width:0;max-width:100%;box-shadow:0 5px 20px rgba(18,59,89,.06)}.conversation-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 18px;background:#fff;border-radius:18px 18px 0 0;border-bottom:1px solid #d7e1e4;min-width:0}.conversation-toolbar>div{display:flex;flex-direction:column;gap:4px;min-width:0}.conversation-toolbar strong{font-size:13px}.conversation-toolbar span,.conversation-toolbar a{font-size:10px;color:#647585}.conversation-toolbar a{color:#0b6873;white-space:nowrap}.chat-messages{display:flex;flex-direction:column;gap:12px;padding:18px;min-height:330px;min-width:0;background-color:#e9f0ed;background-image:none}.chat-day{align-self:center;border-radius:20px;padding:5px 12px;background:#d8e6e7;color:#395d65;font-size:10px}.chat-system-note,.chat-empty{align-self:center;max-width:90%;border-radius:10px;padding:10px 14px;background:#fff8d9;color:#62582f;font-size:10px;line-height:1.8;text-align:center;overflow-wrap:anywhere}.chat-empty{background:#fff;color:#647585;display:flex;flex-direction:column;gap:5px}.chat-message{display:flex;flex-direction:column;align-items:flex-start;min-width:0;max-width:82%}.chat-message.mine{align-self:flex-end;align-items:flex-end}.chat-message.received{align-self:flex-start}.message-bubble{max-width:100%;min-width:180px;padding:11px 13px;border:1px solid #d8e1e5;border-radius:5px 14px 14px 14px;background:#fff;box-shadow:0 2px 7px rgba(22,45,62,.06)}.chat-message.mine .message-bubble{background:#d9f4df;border-color:#c3e6cc;border-radius:14px 5px 14px 14px}.message-bubble header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 12px;font-size:9px;color:#59717d}.message-bubble header strong{color:#0d5b65}.message-bubble p{margin:9px 0;font-size:12px;line-height:2;white-space:normal;overflow-wrap:anywhere}.message-bubble footer{display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px;margin-top:8px;color:#657780;font-size:9px}.reply-reference,.reply-preview{border-right:3px solid #0b7885;background:#edf5f5;color:#47636b;padding:7px 9px;margin-top:8px;font-size:10px;overflow-wrap:anywhere}.action-state{border-radius:20px;padding:2px 7px;font-weight:700}.action-state.open{background:#fff0df;color:#97520d}.action-state.closed{background:#e1f2e8;color:#176448}.chat-attachment{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:9px;margin-top:9px;padding:9px;border-radius:10px;background:#f4f7f8;min-width:0}.chat-attachment>span{width:32px;height:32px;border-radius:8px;background:#e0eeee;display:grid;place-items:center;color:#0b6873}.chat-attachment>div{min-width:0}.chat-attachment strong,.chat-attachment small{display:block;overflow-wrap:anywhere}.chat-attachment strong{font-size:10px}.chat-attachment small{font-size:8px;color:#647585;margin-top:3px}.chat-attachment a{font-size:10px;color:#0b6873}.chat-attachment audio{grid-column:1/-1;width:100%;max-width:100%;height:38px}.message-bubble blockquote{margin:9px 0 0;padding:8px;border-right:3px solid #9aaab3;background:#f5f7f8;font-size:10px;line-height:1.8;overflow-wrap:anywhere}.message-reply-tools{width:min(100%,190px);margin-top:6px}.chat-composer{padding:14px 16px 16px;background:#fff;border-radius:0 0 18px 18px;border-top:1px solid #d7e1e4;min-width:0}.composer-recipient{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,.45fr);gap:10px}.composer-recipient label,.composer-body,.attachment-picker label,.direct-participant label{display:block;min-width:0}.composer-recipient label>span,.composer-body>span,.attachment-picker label>span,.direct-participant label>span{display:block;margin-bottom:6px;font-size:10px;color:#526778}.composer-recipient select,.composer-body textarea,.attachment-picker input,.direct-participant select,.direct-participant textarea{width:100%;max-width:100%;min-width:0}.composer-body{margin-top:10px}.composer-body textarea{resize:vertical}.attachment-picker,.voice-recorder{margin-top:10px;padding:11px;background:#f4f7f8;border:1px dashed #bfd0d7;border-radius:10px;min-width:0}.attachment-picker small{display:block;color:#647585;font-size:9px;margin-top:6px}.attachment-picker progress{width:100%;margin-top:8px}.voice-recorder{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:center}.voice-recorder[hidden]{display:none}.voice-recorder>div:nth-of-type(2){grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px}.voice-recorder button{min-height:42px}.voice-recorder audio,.voice-fallback{grid-column:1/-1;width:100%;max-width:100%}.voice-fallback span{display:block;font-size:9px;color:#647585}.reply-preview{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px}.reply-preview[hidden]{display:none}.reply-preview button{min-height:36px;min-width:36px}.composer-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;min-width:0}.form-feedback{font-size:10px;color:#a33129;overflow-wrap:anywhere}.chat-readonly{padding:16px;background:#fff;border-radius:0 0 18px 18px;color:#647585;font-size:11px;line-height:2}.chat-members-panel ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px}.chat-members-panel li{padding:9px;border-radius:9px;background:#f2f6f7;color:#315b65;font-size:10px}.direct-participant{margin-top:15px;border-top:1px solid #e0e6ea;padding-top:12px}.direct-participant summary{cursor:pointer;font-size:11px;font-weight:700;line-height:1.8}.direct-participant form{display:flex;flex-direction:column;gap:10px;margin-top:12px}.direct-participant p{font-size:10px;color:#a33129;margin:0;overflow-wrap:anywhere}
@media(max-width:1180px){.chat-shell{grid-template-columns:minmax(180px,220px) minmax(0,1fr)}.chat-members-panel{grid-column:1/-1}.chat-members-panel ul{flex-direction:row;flex-wrap:wrap}.direct-participant form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end}}
@media(max-width:760px){.request-chat,.chat-heading,.chat-shell,.conversation-panel,.chat-messages,.chat-message,.message-bubble,.chat-composer,.chat-request-context,.chat-members-panel{width:100%;max-width:100%;min-width:0}.chat-heading{flex-wrap:wrap;gap:10px}.chat-heading h2{font-size:19px;overflow-wrap:anywhere}.chat-heading>.chip{max-width:100%;white-space:normal}.chat-shell{display:flex;flex-direction:column}.conversation-panel{order:1}.chat-request-context{order:2}.chat-members-panel{order:3}.conversation-toolbar{flex-wrap:wrap;padding:13px}.conversation-toolbar a{white-space:normal}.chat-messages{padding:12px;min-height:270px}.chat-system-note,.chat-empty{max-width:100%}.chat-message{max-width:94%}.message-bubble{min-width:0}.message-reply-tools{max-width:100%}.chat-attachment{grid-template-columns:32px minmax(0,1fr)}.chat-attachment>a{grid-column:1/-1}.chat-composer{padding:12px}.composer-recipient{grid-template-columns:minmax(0,1fr)}.composer-footer{align-items:stretch;flex-direction:column}.composer-footer button{width:100%}.voice-recorder{grid-template-columns:minmax(0,1fr)}.voice-recorder time{grid-row:2}.direct-participant form{display:flex}.chat-request-context dd,.message-bubble p,.chat-attachment strong,.chat-heading p{overflow-wrap:anywhere;word-break:break-word}}
/* Prompt 6A: accessible chat actions and a viewport-aware conversation surface. */
.conversation-panel {
  display: flex;
  flex-direction: column;
  height: min(780px, calc(100dvh - 120px));
  min-height: 560px;
  overflow: visible;
}
.conversation-toolbar,
.chat-composer {
  flex: 0 0 auto;
}
.chat-messages {
  flex: 1 1 auto;
  min-height: 140px;
  overflow-x: visible;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  scroll-padding-block: 14px;
}
.chat-composer {
  position: relative;
  z-index: 4;
  max-height: 58%;
  overflow-x: visible;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 -5px 16px rgba(18, 59, 89, .08);
}
.composer-recipient label span b {
  color: #a33129;
}
.chat-reply-button,
.voice-recorder button,
.attachment-picker input[type=file],
.direct-participant select,
.direct-participant textarea {
  box-sizing: border-box;
  min-height: 44px;
  border: 1px solid #c8d5dc;
  border-radius: 9px;
  background: #fff;
  color: #18394d;
  font: inherit;
}
.message-reply-tools {
  width: min(100%, 190px);
  margin-top: 6px;
}
.chat-reply-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px 13px;
  border-color: #8fb4be;
  background: #edf6f6;
  color: #0b6873;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .16s, background .16s, color .16s, box-shadow .16s;
}
.chat-reply-button:hover:not(:disabled) {
  filter: brightness(.97);
}
.chat-reply-button:focus-visible,
.chat-composer select:focus-visible,
.chat-composer textarea:focus-visible,
.chat-composer input:focus-visible,
.voice-recorder button:focus-visible,
.direct-participant select:focus-visible,
.direct-participant textarea:focus-visible,
.direct-participant button:focus-visible {
  outline: 3px solid rgba(30, 128, 145, .28);
  outline-offset: 2px;
  border-color: #1e8091;
}
.chat-reply-button:disabled,
.voice-recorder button:disabled {
  cursor: not-allowed;
  opacity: .55;
  filter: grayscale(.2);
}

@media(max-width:760px) {
  .conversation-panel {
    height: calc(var(--chat-visual-height, 100dvh) - 61px - 66px - env(safe-area-inset-bottom) - 12px);
    min-height: 0;
    max-height: none;
    scroll-margin-top: 61px;
  }
  .chat-messages {
    min-height: 96px;
    padding-bottom: 4px;
    scrollbar-gutter: auto;
  }
  .chat-composer {
    max-height: min(54%, 360px);
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
  .chat-keyboard-open .bottom-nav {
    visibility: hidden;
    pointer-events: none;
  }
  .chat-keyboard-open .conversation-panel {
    height: calc(var(--chat-visual-height, 100dvh) - 61px - 12px);
  }
}
/* Prompt 7: requester lock readiness and CEO review workflow. */
.status-ceo-discussion{background:#fff2d7;color:#755710}.status-approved{background:#e3f4e9;color:#176448}.status-rejected{background:#fde8e5;color:#8c3029}.status-to-execute{background:#e5f0fb;color:#24547a}
.lock-readiness{margin-top:20px}.lock-readiness .section-title{align-items:flex-start}.lock-readiness .chip.ready{background:#e3f4e9;color:#176448}.lock-readiness .chip.pending{background:#fff2d7;color:#755710}.lock-readiness dl,.ceo-summary dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.lock-readiness dl>div,.ceo-summary dl>div{min-width:0;padding:12px;border-radius:10px;background:#f5f8f9}.lock-readiness dt,.ceo-summary dt{color:#647585;font-size:10px}.lock-readiness dd,.ceo-summary dd{margin:6px 0 0;font-weight:700;overflow-wrap:anywhere}.lock-readiness ul{margin:12px 0;padding-right:20px;color:#725700;line-height:2}.lock-readiness form{display:flex;justify-content:flex-end}.lock-readiness button{min-height:44px}
.ceo-inbox-heading,.ceo-review-heading{align-items:flex-start}.ceo-inbox-table{padding:0;overflow:hidden}.ceo-inbox-table small{display:block;margin-top:5px;color:#647585}.ceo-inbox-cards{display:none}.ceo-review-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:18px;align-items:start}.ceo-review-grid main{min-width:0;display:flex;flex-direction:column;gap:16px}.ceo-review-grid aside{position:sticky;top:80px}.ceo-summary dl{grid-template-columns:repeat(3,minmax(0,1fr));margin:0}.ceo-summary>p{margin:14px 0 0;line-height:2;white-space:normal;overflow-wrap:anywhere}.ceo-items article{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #e5eaed}.ceo-items article:last-child{border:0}.ceo-items article>*{min-width:0;overflow-wrap:anywhere}.ceo-items article span{color:#647585;font-size:10px}.ceo-workflow-timeline h4{margin:20px 0 10px}.ceo-workflow-timeline ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.ceo-workflow-timeline li{display:grid;grid-template-columns:minmax(110px,.35fr) minmax(0,1fr) auto;gap:10px;align-items:start;padding:11px;border:1px solid #e2e8eb;border-radius:9px;background:#fbfcfd}.ceo-workflow-timeline li>*{min-width:0;overflow-wrap:anywhere}.ceo-workflow-timeline time{font-size:9px;color:#647585}.ceo-workflow-timeline li>a{grid-column:2/-1;color:#0b6873}.ceo-action-summary strong{display:block;margin:12px 0;font-size:22px;color:#0b6873}.ceo-action-summary p{line-height:2;color:#647585}.ceo-decision-card{margin-top:20px}.ceo-decision-card form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.ceo-decision-card fieldset{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;border:0}.ceo-decision-card legend{width:100%;margin-bottom:8px;font-weight:700}.ceo-decision-card fieldset label{display:flex;align-items:center;gap:8px;min-height:44px;padding:9px 12px;border:1px solid #d3dee3;border-radius:9px;background:#fbfcfd;cursor:pointer}.ceo-decision-card textarea,.ceo-decision-card input[type=file]{width:100%;max-width:100%;box-sizing:border-box}.ceo-decision-card button{grid-column:1/-1;justify-self:end;min-height:44px}.ceo-decision-card button:disabled{cursor:not-allowed;opacity:.55}
@media(max-width:820px){.lock-readiness dl,.ceo-summary dl{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.ceo-inbox-table{display:none}.ceo-inbox-cards{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.ceo-inbox-cards article{min-width:0}.ceo-inbox-cards header,.ceo-inbox-cards footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.ceo-inbox-cards h3,.ceo-inbox-cards p{overflow-wrap:anywhere}.ceo-inbox-cards footer{padding-top:12px;border-top:1px solid #e5eaed}.ceo-review-grid{grid-template-columns:minmax(0,1fr)}.ceo-review-grid aside{position:static}.ceo-items article{grid-template-columns:minmax(0,1fr)}.ceo-workflow-timeline li{grid-template-columns:minmax(0,1fr)}.ceo-workflow-timeline li>a{grid-column:auto}.ceo-decision-card form{grid-template-columns:minmax(0,1fr)}.ceo-decision-card fieldset,.ceo-decision-card button{grid-column:auto}.ceo-decision-card fieldset label{flex:1 1 145px}}
@media(max-width:480px){.lock-readiness,.ceo-summary,.ceo-items,.ceo-workflow-timeline,.ceo-decision-card{padding:14px}.lock-readiness dl,.ceo-summary dl{grid-template-columns:minmax(0,1fr)}.lock-readiness form button,.ceo-decision-card button{width:100%}.ceo-inbox-cards footer .primary-button{width:100%}.ceo-decision-card fieldset{flex-direction:column}.ceo-decision-card fieldset label{flex:0 0 auto;width:100%;box-sizing:border-box}}

/* Prompt 7A: shared voice, media player and reference-aligned controls. */
.select-control{position:relative;display:block;min-width:0}.select-control:after{content:"⌄";position:absolute;left:13px;top:50%;translate:0 -55%;color:#55707d;font-size:15px;pointer-events:none}.select-control select{width:100%;min-width:0;min-height:44px;appearance:none;-webkit-appearance:none;padding:9px 12px 9px 36px;border:1px solid #ccd6dd;border-radius:10px;background:#fff;color:#142a39;outline:0;transition:border-color .16s,box-shadow .16s,background .16s}.select-control select:hover:not(:disabled){border-color:#92aab5;background:#fcfefe}.select-control select:focus-visible{border-color:#268293;box-shadow:0 0 0 3px rgba(38,130,147,.16)}.select-control select:disabled{cursor:not-allowed;background:#eef2f5;color:#7b8992;opacity:.78}.select-control:has(select:disabled):after{color:#9ba7ad}.select-control:has(select[aria-invalid=true]) select{border-color:#b7463e;background:#fff8f7}.select-control.is-loading:before{content:"";position:absolute;left:34px;top:50%;width:12px;height:12px;margin-top:-7px;border:2px solid #bed2d8;border-top-color:#227b88;border-radius:50%;animation:voice-spin .8s linear infinite}
.file-picker-control{position:relative;display:inline-flex;min-width:0;min-height:44px;border:1px solid #b9ccd4;border-radius:10px;background:#fff;color:#0d6570;overflow:hidden}.file-picker-control:focus-within{border-color:#268293;box-shadow:0 0 0 3px rgba(38,130,147,.16)}.file-native-input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.file-picker-control label{display:flex!important;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 14px;color:inherit;font-weight:700;pointer-events:none}.file-native-input:disabled{cursor:not-allowed}.file-picker-control:has(.file-native-input:disabled){opacity:.55;background:#eef2f5}
.voice-recorder{grid-column:1/-1;min-width:0;max-width:100%;padding:14px;border:1px solid #d4e0e5;border-radius:13px;background:#f7fafb;box-shadow:0 2px 8px rgba(22,45,62,.035)}.voice-recorder[hidden]{display:none}.voice-recorder-heading{display:flex;align-items:center;gap:10px;min-width:0}.voice-recorder-heading>div{min-width:0}.voice-recorder-heading strong,.voice-recorder-heading small{display:block;overflow-wrap:anywhere}.voice-recorder-heading strong{font-size:12px}.voice-recorder-heading small{margin-top:4px;color:#647585;font-size:9px;line-height:1.8}.voice-mic{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#e2f0f1;color:#18717d;font-size:9px}.voice-state-panel{display:flex;align-items:center;gap:9px;margin-top:12px;min-width:0}.voice-state-panel[hidden]{display:none}.voice-state-panel button,.voice-fallback-toggle,.voice-preview-actions button{min-width:44px;min-height:44px;padding:8px 13px;border:1px solid #b9ccd4;border-radius:10px;background:#fff;color:#17445f;font:inherit;font-weight:700}.voice-record-button{color:#8c3029!important;border-color:#dfb2ae!important;background:#fff7f6!important}.voice-record-button>span{display:inline-block;margin-left:7px;color:#c24539}.voice-requesting{color:#365967}.voice-spinner{width:22px;height:22px;border:3px solid #c7dde1;border-top-color:#237b88;border-radius:50%;animation:voice-spin .8s linear infinite}.voice-recording-live{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;padding:10px;border-radius:11px;background:#fff1ef;border:1px solid #ebc3bf}.voice-recording-live>div strong,.voice-recording-live>div time{display:block}.voice-recording-live>div strong{color:#8c3029;font-size:11px}.voice-recording-live time{margin-top:3px;font-size:12px}.recording-pulse{width:12px;height:12px;border-radius:50%;background:#c43e33;box-shadow:0 0 0 0 rgba(196,62,51,.35);animation:voice-pulse 1.35s infinite}.voice-stop-button{border-color:#cf7d75!important;color:#8c3029!important}.voice-cancel-button{background:transparent!important}.voice-preview-shell{display:block}.voice-preview-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.voice-preview-actions button:first-child{color:#9a362f;border-color:#dfb2ae}.voice-error,.voice-unsupported{flex-wrap:wrap;padding:10px;border-radius:10px;background:#fff5f3;color:#8c3029}.voice-unsupported{background:#f2f5f7;color:#526778}.voice-fallback-toggle{margin-top:10px;background:transparent;color:#0b6873}.voice-fallback-panel{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:9px;padding:10px;border:1px dashed #b8cbd3;border-radius:10px;background:#fff}.voice-fallback-panel[hidden]{display:none}.voice-fallback-panel small{color:#647585;font-size:9px}.voice-recorder-status{min-height:18px;margin:7px 0 0;color:#526778;font-size:9px;line-height:1.8;overflow-wrap:anywhere}
.voice-player{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;min-width:0;width:100%;max-width:100%;padding:10px;border:1px solid #c9dce0;border-radius:12px;background:#f2f8f8}.voice-player[hidden]{display:none}.voice-player audio{display:none}.voice-player-toggle{display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;border:0;border-radius:50%;background:#176d79;color:#fff;font-size:15px}.voice-player-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 9px;min-width:0}.voice-player-main strong,.voice-player-main span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.voice-player-main strong{font-size:10px}.voice-player-main span{color:#647585;font-size:8px}.voice-player-main input[type=range]{grid-column:1/-1;width:100%;min-width:0;height:20px;margin:0;accent-color:#217985}.voice-player time{direction:ltr;color:#526778;font-size:9px;white-space:nowrap}.voice-download{display:flex;align-items:center;gap:4px;min-height:44px;padding:7px 9px;border-radius:9px;color:#0b6873;background:#fff;text-decoration:none;font-size:9px}.voice-player button:focus-visible,.voice-player input:focus-visible,.voice-download:focus-visible,.voice-state-panel button:focus-visible,.voice-fallback-toggle:focus-visible,.file-native-input:focus-visible+label{outline:3px solid rgba(38,130,147,.24);outline-offset:2px}
.chat-attachment.voice-attachment{grid-template-columns:32px minmax(0,1fr)}.chat-attachment.voice-attachment>.voice-player{grid-column:1/-1}.ceo-decision-voice{grid-column:1/-1;min-width:0;margin-top:8px}.ceo-workflow-timeline .ceo-decision-voice .voice-player{width:min(100%,640px)}
.ceo-decision-card>.section-title{align-items:flex-start}.ceo-decision-card form{gap:12px}.ceo-decision-options{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px!important}.ceo-decision-card .decision-choice{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;min-width:0;min-height:64px;padding:10px;border:1px solid #d8e1e5;border-radius:11px;background:#fbfcfd;position:relative}.decision-choice input{position:absolute;opacity:0;pointer-events:none}.decision-choice i{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#edf2f4;color:#526778;font-style:normal;font-size:17px}.decision-choice span,.decision-choice strong,.decision-choice small{display:block;min-width:0}.decision-choice strong{font-size:11px}.decision-choice small{margin-top:4px;color:#647585;font-size:8px;line-height:1.7}.decision-choice:hover{border-color:#a9bec7}.decision-choice:has(input:focus-visible){outline:3px solid rgba(38,130,147,.2);outline-offset:2px}.decision-choice:has(input:checked){border-color:#278391;background:#edf7f7;box-shadow:0 0 0 2px rgba(39,131,145,.08)}.decision-choice--approve:has(input:checked) i,.decision-choice--execute:has(input:checked) i{background:#dff1e7;color:#176448}.decision-choice--reject:has(input:checked),.decision-choice--close:has(input:checked){border-color:#cb817a;background:#fff2f0}.decision-choice--reject:has(input:checked) i,.decision-choice--close:has(input:checked) i{background:#f8ddd9;color:#9a362f}.decision-choice--return:has(input:checked) i{background:#fff0d1;color:#755710}.ceo-decision-note{grid-column:1/-1}.ceo-decision-note textarea{min-height:102px;resize:vertical}.ceo-decision-submit{grid-column:1/-1!important;min-width:170px}
@keyframes voice-pulse{70%{box-shadow:0 0 0 9px rgba(196,62,51,0)}100%{box-shadow:0 0 0 0 rgba(196,62,51,0)}}@keyframes voice-spin{to{transform:rotate(360deg)}}
@media(max-width:760px){.voice-player{grid-template-columns:auto minmax(0,1fr) auto}.voice-download{grid-column:2/-1;width:max-content}.voice-recording-live{grid-template-columns:auto minmax(0,1fr)}.voice-recording-live button{width:100%}.ceo-decision-options{grid-template-columns:minmax(0,1fr)!important}.ceo-decision-card .decision-choice{width:100%;min-height:60px}.ceo-decision-submit{width:100%;min-width:0}.voice-recorder{padding:12px}.voice-fallback-panel{align-items:stretch;flex-direction:column}.file-picker-control{width:100%}}
.voice-recorder{display:block}@media(prefers-reduced-motion:reduce){.recording-pulse,.voice-spinner,.select-control.is-loading:before{animation:none}}

/* Prompt 7B-1: compact stateful conversation composer. */
.chat-composer{max-height:none;padding:8px 10px 10px;overflow:visible;box-shadow:0 -3px 12px rgba(18,59,89,.055)}
.chat-composer [hidden]{display:none!important}.chat-composer svg,.voice-player svg,.voice-recorder svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.voice-player [data-voice-play-icon] svg{fill:currentColor;stroke:none}
.composer-contexts,.composer-rich-state{display:grid;gap:7px;min-width:0}.composer-contexts:not(:empty)+.recipient-picker+.composer-rich-state{margin-top:0}.composer-context-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;min-height:44px;margin:0 0 7px;padding:5px 7px 5px 10px;border:1px solid #d8e3e6;border-radius:11px;background:#f4f8f8;color:#385a64;font-size:12px;line-height:1.7}.composer-context-bar>span{min-width:0;overflow-wrap:anywhere}.reply-preview{border-right:3px solid #1c7a85}.composer-recipient-context{padding:0 5px 0 7px}.composer-recipient-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:1;min-width:0;min-height:42px;padding:6px 7px;border:0;background:transparent;color:#315b65;text-align:right;font:inherit;cursor:pointer}.composer-recipient-trigger>span{min-width:0;overflow-wrap:anywhere}.composer-recipient-trigger svg{width:16px;height:16px;flex:0 0 16px}.composer-recipient-trigger:disabled{cursor:default}.composer-icon-button{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;border-radius:10px;background:transparent;color:#526f7b;cursor:pointer}.composer-icon-button:hover:not(:disabled){background:#e8f1f2;color:#0b6873}.composer-icon-button:disabled{cursor:not-allowed;opacity:.5}
.recipient-picker{position:absolute;z-index:12;right:10px;left:10px;bottom:calc(100% + 8px);max-height:min(360px,45dvh);padding:10px;border:1px solid #cbdadd;border-radius:14px;background:#fff;box-shadow:0 14px 34px rgba(16,48,64,.16);overflow-y:auto;overscroll-behavior:contain}.recipient-picker header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:2px 3px 9px;border-bottom:1px solid #e5ebed}.recipient-picker header>div{min-width:0}.recipient-picker strong,.recipient-picker small{display:block}.recipient-picker strong{font-size:13px}.recipient-picker small{margin-top:3px;color:#657984;font-size:11px;line-height:1.7}.recipient-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding-top:9px}.recipient-options>button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;min-height:44px;padding:8px 10px;border:1px solid #d8e2e6;border-radius:10px;background:#fbfcfc;color:#23495b;font:inherit;text-align:right;cursor:pointer}.recipient-options>button span{color:#647985;font-size:11px}.recipient-options>button bdi{font-size:12px;font-weight:700;overflow-wrap:anywhere}.recipient-options>button:hover,.recipient-options>button[aria-selected=true]{border-color:#75aeb5;background:#edf7f7;color:#0b6873}
.recipient-options>button[data-recipient-new="1"]{border-style:dashed;border-color:#83b7a2;background:#f2faf6}.recipient-options>button[data-recipient-new="1"] span{color:#2f6f59;font-weight:700}
.composer-feedback{margin:0 2px 7px;padding:5px 8px;border-radius:8px;background:#eff7f7;color:#27636b;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.composer-feedback[data-tone=error]{background:#fff1ef;color:#8f342d}
.composer-main-row{display:flex;align-items:flex-end;gap:7px;min-width:0}.composer-entry{display:flex;align-items:flex-end;flex:1;min-width:0;min-height:48px;border:1px solid #c8d6dc;border-radius:16px;background:#fff;transition:border-color .16s,box-shadow .16s}.composer-entry:focus-within{border-color:#268293;box-shadow:0 0 0 3px rgba(38,130,147,.16)}.composer-entry textarea{display:block;flex:1;min-width:0;width:100%;height:46px;min-height:46px;max-height:112px;margin:0;padding:11px 12px;border:0;outline:0;resize:none;background:transparent;color:#142a39;font:inherit;font-size:13px;line-height:24px;overflow-y:hidden}.composer-entry textarea::placeholder{color:#7a8a92}.composer-entry textarea:disabled{background:#f2f5f6;color:#7b8992}.composer-control{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;min-width:46px;min-height:46px;padding:0;border:1px solid #c8d6dc;border-radius:15px;background:#fff;color:#315f6d;cursor:pointer;transition:background .16s,color .16s,border-color .16s,box-shadow .16s}.composer-entry .composer-control{flex-basis:44px;width:44px;height:44px;min-width:44px;min-height:44px;margin:1px;border:0;border-radius:14px}.composer-control:hover:not(:disabled){border-color:#82adb6;background:#eff7f7;color:#0b6873}.composer-send{background:#176f7a!important;color:#fff!important}.composer-send:hover:not(:disabled){background:#0f626c!important}.composer-control:disabled{cursor:not-allowed;opacity:.5}.composer-native-file{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;border:0!important;clip:rect(0,0,0,0)!important;overflow:hidden!important}
.attachment-preview{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0;margin:0 0 7px;padding:8px 9px;border:1px solid #d6e1e4;border-radius:12px;background:#f7fafb}.attachment-preview>div{min-width:0}.attachment-preview strong,.attachment-preview small,.attachment-preview span{display:block;max-width:100%;overflow-wrap:anywhere}.attachment-preview strong{font-size:12px;line-height:1.8}.attachment-preview small,.attachment-preview span{margin-top:2px;color:#657984;font-size:11px;line-height:1.7}.attachment-preview img{grid-column:3;width:54px;height:54px;max-width:54px;border-radius:9px;object-fit:cover;background:#e8eef0}.attachment-preview progress{grid-column:1/-1;width:100%;height:5px}.attachment-remove{grid-column:1;color:#913b34}
.voice-recorder--chat{min-width:0;max-width:100%;margin:0 0 7px;padding:8px;border:1px solid #d5e1e4;border-radius:12px;background:#f7fafb;box-shadow:none}.voice-recorder--chat .voice-recorder-heading,.voice-recorder--chat [data-voice-panel=IDLE],.voice-recorder--chat .voice-fallback-toggle,.voice-recorder--chat .voice-fallback-panel{display:none!important}.voice-recorder--chat .voice-state-panel{margin:0}.voice-recorder--chat .voice-requesting{display:grid;grid-template-columns:auto minmax(0,1fr) auto;min-height:48px}.voice-recorder--chat .voice-recording-live{grid-template-columns:auto minmax(0,1fr) auto auto;margin:0;padding:6px 7px;background:#fff5f3}.voice-recorder--chat .voice-recording-live button{width:auto}.voice-recorder--chat .voice-preview-shell{margin:0}.voice-recorder--chat .voice-player{padding:5px;border:0;background:transparent}.voice-recorder--chat .voice-player-main strong{font-size:12px}.voice-recorder--chat .voice-player-main span,.voice-recorder--chat .voice-player time{font-size:11px}.voice-recorder--chat .voice-preview-actions{justify-content:flex-end;margin-top:5px}.voice-recorder--chat .voice-preview-actions button,.voice-recorder--chat .voice-error button,.voice-recorder--chat .voice-requesting button{min-height:44px}.voice-recorder--chat .voice-error,.voice-recorder--chat .voice-unsupported{margin:0;padding:7px;background:#fff3f1}.voice-recorder--chat .voice-recorder-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.voice-mic svg{width:18px;height:18px}.voice-record-button{display:inline-flex;align-items:center;gap:7px}.voice-record-button svg,.voice-stop-button svg{width:18px;height:18px}
.chat-composer button:focus-visible,.chat-composer textarea:focus-visible,.recipient-options>button:focus-visible{outline:3px solid rgba(38,130,147,.26);outline-offset:2px}.composer-entry textarea:focus-visible{outline:0}.chat-composer[data-composer-state=SENDING]{cursor:progress}.chat-composer[data-composer-state=SENDING] .composer-main-row{opacity:.78}
@media(max-width:760px){.chat-composer{padding:7px 9px calc(8px + env(safe-area-inset-bottom));overflow:visible}.chat-messages{scroll-padding-block:14px}.composer-entry textarea{font-size:15px}.composer-feedback,.composer-context-bar,.attachment-preview strong{font-size:12px}.attachment-preview small,.attachment-preview span,.recipient-picker small,.recipient-options>button span,.recipient-options>button bdi,.voice-recorder--chat .voice-player-main span,.voice-recorder--chat .voice-player time{font-size:12px}.recipient-options{grid-template-columns:minmax(0,1fr)}.recipient-picker{right:9px;left:9px;max-height:min(330px,42dvh)}.voice-recorder--chat .voice-recording-live{grid-template-columns:auto minmax(0,1fr) auto auto}.voice-recorder--chat .voice-recording-live button{width:auto}.voice-recorder--chat .voice-requesting strong{font-size:12px}.attachment-preview img{width:50px;height:50px}.chat-composer[data-composer-state=IDLE] .composer-main-row,.chat-composer[data-composer-state=TEXT_ENTERED] .composer-main-row{min-height:48px}}
@media(max-width:420px){.attachment-preview{grid-template-columns:auto minmax(0,1fr)}.attachment-preview img{grid-column:1/-1;width:100%;height:auto;max-width:100%;max-height:150px}.voice-recorder--chat .voice-recording-live{grid-template-columns:auto minmax(0,1fr) auto}.voice-recorder--chat .voice-cancel-button{grid-column:1/-1;width:100%!important}.voice-recorder--chat .voice-requesting{grid-template-columns:auto minmax(0,1fr)}.voice-recorder--chat .voice-requesting button{grid-column:1/-1;width:100%}}
@media(prefers-reduced-motion:reduce){.composer-entry,.composer-control,.recipient-options>button{transition:none}}

/* Prompt 7B-1A: compact recording and voice-review acceptance states. */
.composer-recipient-context.is-selected{border-color:transparent;background:transparent;padding-inline:0}
.composer-recipient-context.is-selected .composer-recipient-trigger{min-height:44px;padding:6px 4px}
.composer-recipient-context.is-selected .composer-recipient-trigger>span{display:inline-flex;align-items:center;max-width:calc(100% - 24px);height:30px;max-height:32px;padding:3px 9px;border:1px solid #c9dcdf;border-radius:999px;background:#eef7f7;color:#176873;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.voice-recorder--chat{margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.voice-recorder--chat .voice-state-panel{min-width:0;min-height:44px;margin:0;padding:0;border:0;border-radius:0;background:transparent}
.voice-recorder--chat .composer-icon-button{width:44px;height:44px;min-width:44px;min-height:44px;border:1px solid #cad8dd;border-radius:14px;background:#fff}
.voice-recorder--chat .composer-voice-requesting{display:grid;grid-template-columns:44px auto auto minmax(12px,1fr);align-items:center;gap:7px}
.voice-recorder--chat .composer-voice-requesting strong{min-width:0;color:#315b65;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.voice-recorder--chat .composer-voice-flex{min-width:0;height:2px;border-radius:999px;background:#dce8eb}
.voice-recorder--chat .composer-voice-recording{display:grid;grid-template-columns:44px auto auto minmax(34px,1fr) 44px;align-items:center;gap:6px}
.composer-recording-label{display:inline-flex;align-items:center;gap:6px;min-width:0;white-space:nowrap}
.composer-recording-label strong{color:#7f332d;font-size:11px}
.voice-recorder--chat .recording-pulse{flex:0 0 10px;width:10px;height:10px}
.voice-recorder--chat [data-voice-time]{color:#344f5d;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
.composer-voice-wave{display:flex;align-items:center;justify-content:center;gap:2px;min-width:0;height:28px;overflow:hidden;color:#91b8be}
.composer-voice-wave i{display:block;flex:0 0 2px;width:2px;height:8px;border-radius:999px;background:currentColor}
.composer-voice-wave i:nth-child(2n){height:18px}.composer-voice-wave i:nth-child(3n){height:12px}.composer-voice-wave i:nth-child(5n){height:24px}
.voice-recorder--chat .composer-voice-stop{border-color:#cf8a83;background:#fff5f3;color:#913931}
.voice-recorder--chat .composer-voice-cancel,.voice-recorder--chat .composer-voice-delete{color:#8f3a33}
.voice-recorder--chat .composer-voice-review{display:grid;grid-template-columns:44px 44px minmax(0,1fr) 44px;align-items:center;gap:6px}
.voice-player--composer{display:grid;grid-template-columns:44px minmax(32px,1fr) auto;align-items:center;gap:6px;min-width:0;width:100%;padding:0;border:0;border-radius:0;background:transparent}
.voice-player--composer .voice-player-toggle{width:44px;height:44px;min-width:44px;min-height:44px}
.voice-player--composer input[type=range]{width:100%;min-width:0;height:32px;margin:0;accent-color:#217985}
.composer-voice-time{display:flex;align-items:center;gap:2px;color:#526778;font-size:10px;font-variant-numeric:tabular-nums;white-space:nowrap}
.voice-recorder--chat .composer-voice-send{border-color:#176f7a;background:#176f7a;color:#fff}
.voice-recorder--chat .composer-voice-send:hover:not(:disabled){background:#0f626c;color:#fff}
.voice-recorder--chat .composer-voice-error{display:flex;align-items:center;gap:7px;min-width:0;color:#8f342d}
.voice-recorder--chat .composer-voice-error strong{flex:1;min-width:0;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.chat-composer[data-composer-state=RECORDING] .composer-feedback,.chat-composer[data-composer-state=VOICE_REVIEW] .composer-feedback,.chat-composer[data-composer-state=REQUESTING_PERMISSION] .composer-feedback{display:none!important}
@media(max-width:420px){.voice-recorder--chat .composer-voice-requesting,.voice-recorder--chat .composer-voice-recording,.voice-recorder--chat .composer-voice-review{min-width:0}.voice-recorder--chat .composer-icon-button{width:44px!important}.composer-recording-label strong{font-size:10px}.composer-voice-wave{gap:1px}.composer-voice-wave i:nth-child(n+7){display:none}.composer-voice-time{font-size:9px}}
@media(prefers-reduced-motion:reduce){.composer-voice-wave i{animation:none}}

/* Prompt 7B-2: decision-first CEO review and reply-only conversation actions. */
.ceo-review-heading--compact{align-items:center;margin-bottom:14px;padding-block:4px}.ceo-review-heading--compact h2{margin:5px 0;font-size:20px;line-height:1.6}.ceo-review-heading--compact p{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin:0;color:#647585;font-size:10px}
.ceo-decision-first{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,440px);gap:18px;align-items:start;min-width:0}.ceo-decision-first>*{min-width:0}.ceo-decision-brief{display:grid;gap:12px;min-width:0}.ceo-summary dl{margin-top:14px}.ceo-summary-total{background:#edf7f7!important}.ceo-summary-total dd{color:#0b6873;font-size:17px}.ceo-decision-blocker{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px}.ceo-decision-blocker>div{min-width:0}.ceo-decision-blocker strong,.ceo-decision-blocker span{display:block;overflow-wrap:anywhere}.ceo-decision-blocker span{margin-top:4px;color:#647585;font-size:10px;line-height:1.8}.ceo-decision-blocker>bdi{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;font-weight:800}.ceo-decision-blocker.is-clear{border-color:#cde4d6;background:#f3faf6}.ceo-decision-blocker.is-clear>bdi{background:#dff1e7;color:#176448}.ceo-decision-blocker.is-blocked{border-color:#ecd9a7;background:#fff9e9}.ceo-decision-blocker.is-blocked>bdi{background:#fff0c9;color:#755710}.ceo-decision-column{position:sticky;top:76px;min-width:0}.ceo-decision-card{min-width:0;margin:0}.ceo-decision-card form{grid-template-columns:minmax(0,1fr)}.ceo-decision-card fieldset,.ceo-decision-card button{grid-column:auto}.ceo-decision-options{grid-template-columns:minmax(0,1fr)!important}.ceo-decision-card .decision-choice{min-height:58px}.ceo-decision-result h3{margin:10px 0 6px}.ceo-decision-result p{margin:0;color:#647585;line-height:1.9}
.ceo-review-details{display:grid;gap:12px;min-width:0;margin-top:18px}.ceo-disclosure{min-width:0;padding:0}.ceo-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;min-height:56px;padding:12px 16px;cursor:pointer;list-style:none}.ceo-disclosure>summary::-webkit-details-marker{display:none}.ceo-disclosure>summary>span{min-width:0}.ceo-disclosure>summary strong,.ceo-disclosure>summary small{display:block;overflow-wrap:anywhere}.ceo-disclosure>summary small{margin-top:4px;color:#647585;font-size:9px}.ceo-disclosure>summary i{font-style:normal;color:#55707d;transition:transform .16s}.ceo-disclosure[open]>summary{border-bottom:1px solid #e2e8eb}.ceo-disclosure[open]>summary i{transform:rotate(180deg)}.ceo-disclosure>summary:focus-visible{outline:3px solid rgba(38,130,147,.24);outline-offset:2px;border-radius:12px}.ceo-disclosure-body{min-width:0;padding:4px 16px 16px}.ceo-disclosure-body.ceo-items,.ceo-disclosure-body.ceo-workflow-timeline{padding-top:6px}.ceo-chat-disclosure .request-chat{margin-top:8px}
@media(max-width:980px){.ceo-decision-first{grid-template-columns:minmax(0,1fr)}.ceo-decision-column{position:static}.ceo-decision-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.ceo-review-heading--compact{align-items:flex-start}.ceo-decision-first{gap:12px}.ceo-decision-options{grid-template-columns:minmax(0,1fr)!important}.ceo-decision-card .decision-choice{min-height:60px}.ceo-review-details{margin-top:12px}.ceo-disclosure>summary{min-height:58px;padding:12px 14px}.ceo-disclosure-body{padding:2px 12px 14px}.ceo-chat-disclosure .chat-heading{margin-inline:2px}.message-reply-tools{width:100%;max-width:190px}.chat-reply-button{min-height:44px}}
@media(max-width:420px){.ceo-summary,.ceo-decision-card,.ceo-decision-result{padding:14px}.ceo-decision-blocker{padding:12px 14px}.ceo-decision-submit{width:100%}}
@media(prefers-reduced-motion:reduce){.ceo-disclosure>summary i{transition:none}}

/* Prompt 8+9: notification settings and compact management delivery surfaces. */
.notification-settings,.management-report,.settings-grid,.notification-card,.install-card,.subscription-history,.report-filters,.report-table-wrap{min-width:0;max-width:100%}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.section-heading>div{min-width:0}.section-heading>div>span{color:#197481;font-size:11px;font-weight:700}.section-heading h2{margin:7px 0 5px;font-size:24px}.section-heading p{margin:0;color:#647585;font-size:12px;line-height:1.9}.settings-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.card-title{display:flex;align-items:flex-start;gap:12px}.card-title>div{min-width:0}.card-title h3,.subscription-history h3{margin:0;font-size:15px}.card-title p{margin:6px 0 0;color:#647585;font-size:11px;line-height:1.9}.icon-box{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:11px;background:#e8f2f4;color:#126b76}.notification-state-list{display:grid;gap:0;margin:18px 0}.notification-state-list>div{display:flex;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid #e7ecef}.notification-state-list dt{color:#647585;font-size:11px}.notification-state-list dd{margin:0;font-size:11px;font-weight:700}.notification-actions,.document-actions,.report-filter-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.notification-actions button,.document-actions a,.report-filter-actions>*{min-height:44px}.install-card ol{margin:18px 0;padding-right:22px;color:#526778;font-size:11px;line-height:2.1}.subscription-history{margin-top:16px}.subscription-history ul{display:grid;gap:10px;list-style:none;margin:14px 0 0;padding:0}.subscription-history li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding:12px;border:1px solid #e2e8eb;border-radius:11px}.subscription-history li div{min-width:0}.subscription-history li strong,.subscription-history li span,.subscription-history li small{display:block;overflow-wrap:anywhere}.subscription-history li span,.subscription-history li small,.empty-copy{color:#647585;font-size:10px;line-height:1.8}.subscription-history li small{grid-column:1/-1}.field-error{margin:10px 0 0;padding:9px;border-radius:8px;background:#fff0ee;color:#91372f;font-size:11px}.document-actions{justify-content:flex-end;margin-bottom:12px}.report-filters{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:11px;align-items:end;margin-bottom:16px}.report-filters label{display:grid;gap:7px;min-width:0;color:#526778;font-size:11px}.report-filters input,.report-filters select{width:100%;min-width:0;min-height:44px;padding:8px 10px;border:1px solid #d5dfe4;border-radius:9px;background:#fff}.report-filter-actions{grid-column:1/-1}.report-table-wrap{padding:0;overflow:hidden}.report-table{width:100%;border-collapse:collapse}.report-table th,.report-table td{text-align:right;padding:13px 11px;border-bottom:1px solid #e5eaee;font-size:11px;vertical-align:top}.report-table th{background:#f7f9fa;color:#647585;white-space:nowrap}.report-table td strong,.report-table td small{display:block}.report-table td small{margin-top:4px;color:#647585}.report-table td>a{color:#126c78;font-weight:700}.report-table tbody tr:last-child td{border-bottom:0}
@media(max-width:980px){.report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.section-heading{flex-wrap:wrap;gap:9px}.section-heading h2{font-size:19px}.settings-grid{grid-template-columns:minmax(0,1fr);gap:12px}.notification-settings .card{padding:14px}.notification-actions,.document-actions,.report-filter-actions{display:grid;grid-template-columns:minmax(0,1fr);width:100%}.notification-actions button,.document-actions a,.report-filter-actions>*{width:100%;justify-content:center}.report-filters{grid-template-columns:minmax(0,1fr);padding:14px}.report-table-wrap{padding:10px;background:transparent;border:0;box-shadow:none}.report-table,.report-table tbody{display:grid;gap:10px}.report-table thead{display:none}.report-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px;min-width:0;padding:13px;border:1px solid #dce3e8;border-radius:12px;background:#fff}.report-table td{display:block;min-width:0;padding:0;border:0;overflow-wrap:anywhere}.report-table td:before{content:attr(data-label);display:block;margin-bottom:3px;color:#71808a;font-size:9px}.report-table td:first-child,.report-table td:nth-child(2){grid-column:1/-1;padding-bottom:8px;border-bottom:1px solid #e7ecef}.subscription-history li{grid-template-columns:minmax(0,1fr)}.subscription-history li>.chip{grid-row:auto}.document-actions{margin-bottom:10px}}

/* Prompt 10: final shared design tokens and accessibility polish. */
:root{--background:#f4f6f8;--surface:#fff;--surface-subtle:#f8fafb;--foreground:#132130;--text-secondary:#526778;--muted:#647585;--border:#dbe2e7;--border-strong:#bfcdd5;--brand:#123b59;--brand-strong:#0d273b;--accent:#e8f2f4;--focus:#268293;--success-bg:#e6f5ed;--success-text:#176448;--warning-bg:#fff5d8;--warning-text:#755710;--danger-bg:#fff0ed;--danger-text:#8f342d;--info-bg:#e5f3f7;--info-text:#0f6171;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--shadow-subtle:0 2px 10px rgba(18,45,62,.06);--control-height:44px;--content-max:1620px;--primary:var(--brand);--card:var(--surface)}
html,body{font-size:14px;line-height:1.65}.page{max-width:var(--content-max)}.card{border-color:var(--border);box-shadow:var(--shadow-subtle)}button,input,select,textarea{min-height:var(--control-height)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.topbar,.form-actions{background:#fff;backdrop-filter:none}.auth-brand{background:var(--brand-strong)}.auth-shell{background:var(--background)}.auth-card{box-shadow:var(--shadow-subtle)}.request-hero,.voice-recorder{background:var(--surface-subtle)}.chat-messages{background-color:#e9f0ed;background-image:none}.secondary-button{display:inline-flex;align-items:center;justify-content:center;min-height:var(--control-height);padding:8px 14px;border:1px solid var(--border-strong);border-radius:9px;background:var(--surface);color:var(--brand);font:inherit;font-weight:700;text-decoration:none}.secondary-button:hover{background:var(--surface-subtle);border-color:var(--focus)}.icon-box svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.notification-state{align-items:center;gap:7px;border:1px solid var(--border-strong)}.notification-state:before{content:"";width:8px;height:8px;border:2px solid currentColor;border-radius:50%}.notification-state[data-state=SUBSCRIBED]{background:var(--success-bg);color:var(--success-text)!important}.notification-state[data-state=DENIED],.notification-state[data-state=UNSUPPORTED]{background:var(--danger-bg);color:var(--danger-text)!important}.notification-state[data-state=UNSUBSCRIBED]{background:var(--warning-bg);color:var(--warning-text)!important}.notification-state[data-state=CHECKING]:before{border-top-color:transparent}.primary-button:disabled,.secondary-button:disabled,.outline-button:disabled,.quiet-button:disabled,.danger-button:disabled,button:disabled{cursor:not-allowed;opacity:.55}.field-error:not(:empty){border-right:3px solid var(--danger-text)}.empty-state,.chat-empty,.empty-copy{color:var(--text-secondary)}
.nav-icon{display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px}.nav-icon svg,.menu svg,.brand button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.workspace-mark{display:grid!important;place-items:center;flex:0 0 34px;width:34px;height:34px;border:1px solid #ffffff33;border-radius:9px;color:#d6e5ea!important;font-size:10px!important;font-weight:700}.section-icon--text{font-size:10px;font-weight:800}
@media(max-width:820px){body{font-size:14px}.auth-shell{background:var(--background)}.page-title h1{font-size:15px}.page-title p,.page-intro p,.section-title p,.card-title p,.section-heading p,.welcome-card>p,.guide-card>p,.quiet-note,.form-lead,.security-hint{font-size:12px}.page-intro span,.eyebrow,.section-heading>div>span,.form-grid label,.stack-form label,.compact-form label,.field,.item-row label,.report-filters label,.inbox-filters label{font-size:12px}.bottom-nav a,.bottom-nav button{font-size:12px}.chip,.status-chip,.save-state,.notification-state{font-size:12px}.table-wrap th,.table-wrap td,.report-table th,.report-table td{font-size:12px}.page,.card,.request-layout,.view-grid,.chat-shell,.conversation-panel,.notification-settings,.management-report,.report-filters,.report-table-wrap{min-width:0;max-width:100%}.section-heading,.page-intro,.request-toolbar,.chat-heading{flex-wrap:wrap}.notification-state-list dt,.notification-state-list dd,.install-card ol,.subscription-history li span,.subscription-history li small,.empty-copy{font-size:12px}.report-table td:before{font-size:12px}.message-bubble p,.chat-readonly{font-size:14px}.message-bubble header,.message-bubble footer,.chat-day,.chat-system-note,.reply-reference,.chat-attachment strong,.chat-attachment small,.chat-attachment a{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
/* Prompt 11: errors without messages occupy no space; preserve browser pinch zoom. */
.field-error:empty,.field-error[hidden],.calculation-error:empty,.validation-summary[hidden]{display:none!important;margin:0!important;padding:0!important;border:0!important;min-height:0!important}
.validation-summary a{text-decoration:underline;text-underline-offset:3px}
[aria-invalid="true"]{border-color:var(--destructive,#b42332)!important}
@media(max-width:980px){input:not([type="hidden"]),select,textarea,.auth-card input,.chat-composer textarea,.recipient-picker input{font-size:16px!important}}
.chat-composer[hidden]{display:none!important}
.chat-cycle-choice{padding:12px 16px;background:var(--surface,#fff);min-width:0;border-bottom:1px solid var(--border)}
.chat-cycle-choice h3{margin:0;font-size:15px}.chat-cycle-choice>p{font-size:12px;margin:5px 0 10px;color:var(--text-secondary)}
.chat-cycle-choice .audience-decision-options{margin:0}.chat-cycle-choice textarea{width:100%;min-width:0}
.chat-cycle-choice{flex:0 0 auto}.voice-playback-error{grid-column:1/-1;color:var(--danger-text);font-size:12px}
.chat-cycle-choice .audience-decision-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.chat-cycle-choice .audience-decision-options legend{grid-column:1/-1;margin-bottom:6px}
.chat-cycle-choice .audience-decision-options label{padding:10px;gap:6px;min-height:74px}
