:root{--ink:#231e24;--muted:#6c626b;--accent:#590f4b;--line:#e8e1e7;--bg:#f8f7f9;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--ink);font-size:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,textarea{font:inherit}button,a,input,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}[hidden]{display:none!important}.layout{display:flex;min-height:100vh}.sidebar{width:252px;position:fixed;inset:0 auto 0 0;background:#fff;color:#39303a;border-right:1px solid var(--line);padding:28px 22px;display:flex;flex-direction:column}.brand{display:flex;gap:14px;align-items:center;text-decoration:none;flex-shrink:0}.brand-logo{display:block;width:128px;height:auto;flex-shrink:0}.brand-pa{font-size:40px;font-weight:600;letter-spacing:-1.5px;color:var(--accent);border-left:1px solid #dfd1dc;padding-left:14px;line-height:1.25}.workspace{font-size:11px;letter-spacing:1.5px;color:#746875;margin:51px 8px 20px}.workspace span{font-size:9px;background:#f1e7ef;padding:4px 6px;border-radius:4px;letter-spacing:.8px;margin-left:6px}nav{display:grid;gap:9px}.nav{width:100%;border:0;background:none;color:#665a65;text-align:left;border-radius:8px;display:flex;gap:12px;align-items:center;padding:14px 12px;font-size:18px}.nav span{font-size:14px;flex:1}.nav b{font-size:12px;font-weight:400}.nav.active{background:#f1e7ef;color:var(--accent)}.nav:hover{background:#f7f2f6;color:var(--accent)}.nav.active:hover{background:#eadce6}.sidebar-bottom{margin-top:auto}.private-note{font-size:13px;padding:20px 6px;border-bottom:1px solid #e5dce3}.private-note small{display:block;color:#756875;font-size:11px;margin-top:6px}.person{display:flex;gap:10px;align-items:center;margin-top:22px}.avatar{border-radius:50%;background:#ead7e5;color:#590f4b;width:34px;height:34px;display:grid;place-items:center}.person strong{font-size:12px}.person small{display:block;font-size:11px;color:#746875;margin-top:5px}.sidebar .text-button{color:#6a5265;padding-left:0;font-size:12px}main{margin-left:252px;flex:1;min-width:0;display:flex;flex-direction:column;min-height:100vh}header{background:#fff;border-bottom:1px solid var(--line);padding:24px 44px;display:flex;justify-content:space-between;align-items:center}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:650;color:var(--muted)}h1{font-size:23px;font-weight:550;margin:7px 0 0;letter-spacing:-.7px}.header-right{display:flex;gap:18px;align-items:center}.pill{font-size:12px;background:#f5eff4;border:1px solid var(--line);border-radius:30px;padding:8px 11px;color:#6a5265}.primary,.secondary{border:0;border-radius:7px;padding:12px 18px;font-size:14px;font-weight:550;text-decoration:none;display:inline-block}.primary{background:var(--accent);color:#fff}.primary:hover{background:#420b38}.secondary{background:#fff;border:1px solid #dacdd7;color:var(--ink)}.text-button{background:transparent;border:0;color:var(--muted);font-size:13px;padding:10px}.banner{padding:11px 44px;background:#f4eaf1;color:#643d5c;font-size:12px;line-height:1.6}.error{margin:12px 44px;padding:14px;background:#fff0ed;color:#a13228;border-radius:7px;font-size:14px}.welcome{text-align:center;max-width:850px;margin:65px auto 40px;padding:0 30px}.welcome-icon{display:inline-grid;place-items:center;width:58px;height:58px;border:1px solid #e5cfe0;border-radius:18px;color:var(--accent);background:#f4eaf1;font-size:28px;margin-bottom:23px}.welcome h2,.chat-empty h2{font-size:38px;font-weight:500;letter-spacing:-1.8px;margin:18px 0}.intro{font-size:16px;color:var(--muted);line-height:1.8;max-width:580px;margin:0 auto 28px}.hint{font-size:12px;color:var(--muted);line-height:1.6}.feature-row{margin-top:62px;display:grid;grid-template-columns:repeat(3,1fr);text-align:left;border-top:1px solid var(--line);padding-top:30px;gap:35px}.feature-row b{display:block;color:#8d6682;font-size:11px;font-weight:500}.feature-row strong{display:block;margin:12px 0;font-weight:550;font-size:15px}.feature-row span{font-size:13px;line-height:1.7;color:var(--muted)}.view{flex:1}.messages{max-width:850px;margin:auto;padding:24px 30px;min-height:390px;max-height:calc(100vh - 360px);overflow:auto}.chat-empty{text-align:center;padding:62px 0 35px}.chat-empty h2{font-size:32px}.chat-empty p{color:var(--muted);font-size:14px}.suggestions{display:flex;justify-content:center;gap:10px;margin:25px 0}.suggestions button{background:white;border:1px solid var(--line);border-radius:8px;padding:14px;font-size:12px;color:var(--ink)}.message{margin:16px 0;padding:16px 20px;background:white;border:1px solid var(--line);border-radius:12px;line-height:1.7;font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere}.message.user{margin-left:18%;background:#f4eaf1;border-color:#e8d7e3}.message .author{font-size:11px;letter-spacing:.7px;font-weight:650;display:block;margin-bottom:7px;color:#704362}.message .text-button{float:right;padding:0 0 5px 10px;font-size:11px}.composer{background:#fff;border:1px solid #dfd1dc;box-shadow:0 4px 24px #590f4b0a;border-radius:12px;margin:15px auto 0;padding:15px;max-width:790px;width:calc(100% - 70px)}textarea{resize:vertical;border:0;background:none;width:100%;color:var(--ink);font-size:15px;line-height:1.6;padding:6px;max-height:200px}.composer-bottom{display:flex;align-items:center;gap:8px;justify-content:space-between;margin-top:7px}.composer-bottom span{font-size:11px;color:#827481;flex:1}.composer-hint{text-align:center;margin:10px 35px}.thinking{font-size:13px;text-align:center;color:var(--accent)}footer{margin-top:auto;display:flex;justify-content:space-between;padding:25px 44px;color:#817580;font-size:10px}.panel{padding:36px 44px}.section-heading h2{font-size:26px;letter-spacing:-.8px;font-weight:500;margin:0 0 12px}.section-heading p{font-size:14px;color:var(--muted);line-height:1.7;max-width:650px;margin-bottom:30px}.cards{display:grid;gap:12px}.card{padding:21px;background:white;border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:16px}.card strong{font-size:15px;font-weight:550}.card small{display:block;color:var(--muted);font-size:12px;margin-top:8px}.card.done strong{text-decoration:line-through;color:#887b85}.empty-card{padding:42px;border:1px dashed #dcced8;border-radius:10px;color:var(--muted);text-align:center;font-size:14px}.connection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.connection-grid article{background:#fff;border:1px solid var(--line);padding:25px;border-radius:10px}.connection-grid h3{font-weight:550}.connection-grid p{font-size:14px;line-height:1.6}.connection-grid small{font-size:12px;color:var(--muted);line-height:1.7;display:block}.connection-grid button{margin-top:15px}.connection-grid pre{font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.8}.activity-title{margin-top:35px;font-size:16px;font-weight:500}.audit{font-size:12px;line-height:2.3;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:14px;padding:28px;width:440px;color:var(--ink);box-shadow:0 24px 80px #251e2533}dialog::backdrop{background:#251e2570}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head h2{font-weight:500;font-size:24px}label{display:block;font-size:14px;margin:16px 0 10px}label span{color:var(--muted)}input{display:block;width:100%;border:1px solid #dcced8;border-radius:7px;padding:12px;background:#fff;color:var(--ink)}#task-error{color:#a13228;font-size:13px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:1100px){.connection-grid{grid-template-columns:1fr}.sidebar{width:210px}main{margin-left:210px}header,.panel{padding:24px}.banner{padding:10px 24px}.brand-logo{width:105px}.brand-pa{font-size:34px;padding-left:11px}.brand{gap:11px}.workspace{font-size:10px;letter-spacing:.8px}.suggestions{flex-wrap:wrap}}@media(max-width:720px){.layout{display:block}.sidebar{position:relative;width:100%;padding:17px 20px}.workspace,.private-note,.person{display:none}.sidebar-bottom{display:block;margin-top:8px}.sidebar .text-button{padding:5px 8px}.brand-logo{width:112px}.brand-pa{font-size:36px}.sidebar{border-right:0;border-bottom:1px solid var(--line)}nav{display:flex;gap:5px;margin-top:18px}.nav{padding:10px 8px;gap:5px;justify-content:center}.nav span{font-size:11px;flex:0}.nav b{display:none}main{margin-left:0;min-height:80vh}header{padding:20px;gap:10px}.header-right{gap:8px}.pill{font-size:10px;padding:6px}.primary{padding:11px 13px}.welcome{margin:36px auto}.welcome h2{font-size:32px}.feature-row{gap:15px;margin-top:35px}.feature-row span{font-size:12px}.messages{padding:15px;max-height:55vh;min-height:310px}.chat-empty{padding:30px 10px}.chat-empty h2{font-size:27px}.composer{width:calc(100% - 30px)}.composer-bottom span{display:none}.panel{padding:25px 20px}footer{padding:20px;font-size:9px}.error{margin:10px 20px}.message.user{margin-left:8%}}

/* Outlook connection and reviewed mailbox actions */
#outlook-dialog{width:min(1180px,96vw);max-width:1180px;max-height:96vh;overflow:auto;padding:22px;box-sizing:border-box}
#outlook-dialog h2{margin:0}#outlook-message{font-size:14px;min-height:22px}.remote-screen{border:1px solid #dcd5df;border-radius:10px;overflow:hidden;background:#f5f4f6}.remote-screen canvas{display:block;width:100%;height:auto;cursor:pointer;max-height:none}
.remote-typing{display:flex;gap:10px;align-items:center}.remote-typing input{flex:1;min-width:0;margin:0}.remote-typing button{white-space:nowrap}.remote-controls{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;margin-top:12px}.remote-controls button{margin:0}#outlook-type-form{margin-top:12px}#outlook-type-form label{margin:0 0 6px}#outlook-type-form .hint{font-size:12px;margin:7px 0}
.mail-action{border:1px solid #e4dce7;border-radius:12px;padding:20px;background:#fff;margin:12px 0}.mail-action h3{margin-top:0}.mail-preview{color:#64596a;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.mail-proposal{white-space:pre-wrap;font:inherit;line-height:1.6;background:#f8f5f9;padding:16px;border-radius:8px}.mail-action button{margin-right:10px}#browser-results{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:13px}
@media(max-width:650px){#outlook-dialog{padding:12px}.remote-typing{display:block}.remote-typing button{margin-top:8px}.remote-screen canvas{max-height:none}}

.remote-screen{max-width:850px;margin-left:auto;margin-right:auto}
.outlook-draft-preview{display:block;width:100%;max-width:1000px;height:auto;border:1px solid #ddd;border-radius:8px;margin:12px 0}

/* Balanced group identity and spoken replies */
.brand-masthead{height:112px;display:flex;align-items:center;gap:42px;padding:14px 36px;background:#fff;border-bottom:1px solid var(--line)}
.brand-masthead .brand{gap:16px}.brand-masthead .brand-logo{width:132px;height:80px;object-fit:contain}.brand-masthead .brand-pa{font-size:38px}
.group-brands{display:flex;align-items:center;gap:30px;flex:1;justify-content:flex-start}.group-brands img{width:160px;height:76px;object-fit:contain}.group-brands img:first-child{width:170px}
.sidebar{top:112px}.workspace{margin-top:10px}.layout,main{min-height:calc(100vh - 112px)}
.voice-controls{max-width:850px;margin:12px auto 0;padding:0 30px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px}.voice-toggle{display:flex;align-items:center;gap:7px;margin:0;font-size:12px;white-space:nowrap}.voice-toggle input{width:16px;height:16px;accent-color:var(--accent);margin:0}.voice-controls select{max-width:280px;border:1px solid var(--line);border-radius:7px;padding:8px;font:inherit;background:white;color:var(--ink)}#speech-status{font-size:11px;color:var(--muted)}.voice-controls .text-button{padding:7px}.messages{min-height:260px;max-height:calc(100vh - 485px)}
.followup-choices{margin:18px 0;padding:15px;background:#f8f3f7;border-radius:8px}.followup-choices strong{display:block;font-size:13px;margin-bottom:8px}.followup-choices button{font-size:12px;padding:10px;margin:6px 8px 0 0}
@media(max-width:1000px){.brand-masthead{gap:22px;padding:12px 24px}.group-brands{gap:16px}.group-brands img,.group-brands img:first-child{width:125px}.brand-masthead .brand-logo{width:112px}.brand-masthead .brand-pa{font-size:32px}}
@media(max-width:720px){.brand-masthead{height:auto;min-height:104px;padding:12px 16px;gap:12px;flex-wrap:wrap}.brand-masthead .brand{margin:auto}.brand-masthead .brand-logo{width:92px;height:56px}.brand-masthead .brand-pa{font-size:30px}.group-brands{justify-content:center;gap:18px;width:100%}.group-brands img,.group-brands img:first-child{width:28%;max-width:125px;height:54px}.sidebar{top:auto}.sidebar nav{margin-top:0}.voice-controls{padding:0 16px;gap:6px}.voice-controls select{max-width:210px}.messages{max-height:45vh;min-height:240px}.card{flex-wrap:wrap}.group-brands img:first-child{object-fit:contain}}
