:root{--ink:#101d2b;--muted:#79838e;--paper:#f6f7f9;--line:#e5e8ec;--white:#fff;--blue:#466583;--green:#296a59;--amber:#986322}*{box-sizing:border-box}body{margin:0;background:#e8ebef;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Noto Sans JP','Hiragino Kaku Gothic ProN',sans-serif;font-size:14px;line-height:1.65}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.5;cursor:wait}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #668cae;outline-offset:3px}button{touch-action:manipulation}button svg{pointer-events:none}#app{max-width:480px;min-height:100dvh;margin:auto;background:var(--paper);position:relative;box-shadow:0 0 60px #1322330a}header{height:78px;padding:19px 24px;display:flex;justify-content:space-between;align-items:center;background:var(--paper);position:sticky;top:0;z-index:4}button.brand{border:0;background:none;padding:0;text-align:left}.brand strong{font-family:Georgia,serif;font-size:29px;font-weight:500;letter-spacing:2px;line-height:1}.brand small{display:block;font-size:7px;letter-spacing:2.1px;margin-top:5px}.head-actions{display:flex;gap:8px;align-items:center}.icon-btn{border:1px solid var(--line);border-radius:50%;background:white;width:42px;height:42px;display:grid;place-items:center;position:relative}.icon-btn svg{width:19px;height:19px}.avatar{background:var(--ink);color:white;border:0;font-size:14px;letter-spacing:0}.dot{width:7px;height:7px;background:#b98b4a;position:absolute;right:8px;top:8px;border-radius:50%}.modebar{padding:4px 24px 8px;font-size:10px;color:var(--muted);letter-spacing:.04em;display:flex;justify-content:space-between}.modebar span:before{content:'';width:5px;height:5px;background:#9a8263;display:inline-block;border-radius:50%;margin-right:6px}.modebar.connected span:before{background:#388465}main{padding:19px 24px 105px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--muted);font-weight:600;margin:0 0 8px}h1{font-size:25px;letter-spacing:.01em;font-weight:500;line-height:1.5;margin:0 0 7px}h2{font-size:16px;font-weight:600;letter-spacing:.025em;margin:0}h3{font-size:14px;margin:0;font-weight:600}p{margin:6px 0}.subtle{font-size:12px;color:var(--muted)}.section-head{display:flex;align-items:center;justify-content:space-between;margin:29px 0 14px}.text-btn{border:0;background:none;color:var(--muted);font-size:12px;padding:10px 0 10px 12px;min-height:42px}.hero{background:var(--ink);color:white;border-radius:4px;padding:23px;margin-top:24px;position:relative;overflow:hidden}.hero .eyebrow{color:#aebdca;font-size:9px}.hero-title{font-size:17px;font-weight:400;margin:12px 0 19px;letter-spacing:.08em}.hero-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #ffffff24;padding-top:17px}.hero-stat{border:0;background:none;color:white;text-align:left;padding:0}.hero-stat+button{border-left:1px solid #ffffff24;padding-left:25px}.hero-stat b{font-family:Georgia,serif;font-size:36px;font-weight:400;line-height:1.3}.hero-stat span{display:block;font-size:11px;color:#bcc7d0;margin-top:4px}.hero-stat em{font-size:12px;font-style:normal;margin-left:8px;color:#a6b7c8}.list{background:white;border:1px solid var(--line);border-radius:4px;overflow:hidden}.row{width:100%;display:flex;align-items:center;text-align:left;gap:13px;border:0;background:white;padding:17px 16px;min-height:82px}.row+.row{border-top:1px solid var(--line)}.row .content{flex:1;min-width:0}.row h3{overflow-wrap:anywhere}.row small{font-size:10px;color:var(--muted);display:block;margin-top:6px}.arrow{color:#97a2ad;font-size:19px}.tile-icon{width:37px;height:43px;display:grid;place-items:center;flex-shrink:0;background:#f2f5f7;border-radius:3px;color:#5d7388}.tile-icon svg{width:20px;height:20px}.badge{font-size:10px;padding:3px 7px;border-radius:3px;background:#f1f4f7;color:#54718e;white-space:nowrap;display:inline-block;font-weight:500}.badge.amber{background:#f7efe1;color:var(--amber)}.badge.green{background:#eaf3ef;color:var(--green)}.badge.gray{background:#f0f1f3;color:#737b83}.badge.red{background:#faeae8;color:#9c5550}.row-meta{display:flex;gap:8px;align-items:center;margin-bottom:7px;font-size:10px;color:var(--muted)}.notice-card{border:1px solid var(--line);background:white;border-radius:4px;padding:20px;width:100%;text-align:left}.notice-card h3{font-size:17px;line-height:1.8;font-weight:500;margin:12px 0 13px}.notice-card p{font-size:12px;color:var(--muted)}nav.bottom{position:fixed;bottom:0;width:100%;max-width:480px;display:grid;grid-template-columns:repeat(5,1fr);padding:11px 12px max(12px,env(safe-area-inset-bottom));background:#fffffff5;border-top:1px solid var(--line);z-index:6;backdrop-filter:blur(15px)}nav.bottom button{padding:4px 0;background:none;border:0;font-size:9px;letter-spacing:.04em;color:#98a1ab;min-height:48px}nav.bottom svg{width:21px;height:21px;display:block;margin:0 auto 5px}nav.bottom button.active{color:var(--ink)}.primary{border:1px solid var(--ink);background:var(--ink);color:white;padding:13px 19px;border-radius:4px;font-weight:500;min-height:48px}.secondary{border:1px solid var(--line);background:white;color:var(--ink);padding:13px 16px;border-radius:4px;min-height:48px}.full{width:100%;margin-top:16px}.topline{display:flex;align-items:center;justify-content:space-between;gap:10px}.topline .primary{padding:9px 13px;font-size:12px;min-height:42px}.tabs{display:flex;gap:7px;margin:21px 0 18px;overflow:auto;padding-bottom:3px}.tabs button{white-space:nowrap;background:none;border:1px solid var(--line);padding:8px 12px;min-height:42px;border-radius:3px;font-size:11px;color:var(--muted)}.tabs button.active{background:var(--ink);color:white;border-color:var(--ink)}.empty{padding:35px 20px;background:white;border:1px dashed #d9dfe4;color:var(--muted);text-align:center;font-size:13px;border-radius:4px}.back{display:inline-flex;align-items:center;gap:7px;border:0;background:none;color:#6f7d89;margin:-8px 0 15px;padding:10px 0;min-height:42px;font-size:12px}.back svg{width:16px;height:16px}.panel{background:white;border:1px solid var(--line);padding:20px;border-radius:4px;margin-top:18px}.bodytext{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.95}.kv{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:12px 0;font-size:12px}.kv span:first-child{color:var(--muted)}.timeline{border-left:1px solid #d8e0e6;margin:20px 0 5px 5px;padding-left:18px}.timeline p{position:relative;font-size:12px;padding-bottom:18px;overflow-wrap:anywhere}.timeline p:before{content:'';position:absolute;width:6px;height:6px;background:#5b758c;border-radius:50%;left:-22px;top:7px}.timeline small{display:block;font-size:10px;color:var(--muted);margin-top:5px}label{display:block;font-size:12px;font-weight:500;margin:18px 0 7px}input,textarea,select{display:block;width:100%;border:1px solid #dce2e7;border-radius:4px;background:white;padding:12px;color:var(--ink);min-height:48px}textarea{resize:vertical;min-height:125px}input::placeholder,textarea::placeholder{color:#a3aab2}.actions{display:flex;gap:8px;margin-top:16px}.actions>*{flex:1}.info-box{font-size:11px;color:#687987;padding:13px 15px;background:#ecf1f5;border-radius:4px;margin:17px 0;line-height:1.8}.people-card{display:flex;align-items:center;gap:14px;background:white;border:1px solid var(--line);padding:20px;width:100%;text-align:left;border-radius:4px;margin-top:12px}.people-card .initial{display:grid;place-items:center;background:var(--ink);width:47px;height:47px;border-radius:50%;color:white;font-size:17px}.people-card .content{flex:1}.people-card h3{font-size:17px;letter-spacing:.08em}.people-card small{font-size:11px;color:var(--muted)}.login main{padding-top:44px}.login .large-wordmark{font-family:Georgia,serif;font-size:64px;line-height:1.1;letter-spacing:6px}.login .intro{margin:37px 0 30px}.login h1{font-size:27px;line-height:1.75}.login footer{margin-top:35px;color:#97a0aa;font-size:9px;letter-spacing:1.5px}.message-list{display:flex;flex-direction:column;gap:20px;padding:18px 0 24px}.message{max-width:88%;align-self:flex-start}.message.mine{align-self:flex-end}.message .bubble{background:white;border:1px solid var(--line);border-radius:2px 12px 12px 12px;padding:13px 16px;white-space:pre-wrap;overflow-wrap:anywhere}.message.mine .bubble{background:var(--ink);color:white;border:0;border-radius:12px 2px 12px 12px}.message small{display:block;font-size:9px;color:var(--muted);margin:5px 3px}.message.mine small{text-align:right}.composer{display:flex;gap:8px;align-items:flex-end;position:sticky;bottom:85px;background:var(--paper);padding:10px 0}.composer textarea{min-height:48px;max-height:120px;resize:none;font-size:13px}.composer button{min-width:48px;padding:12px}.composer svg{height:20px;width:20px}.partner{border:1px solid var(--line);background:white;padding:21px;border-radius:4px;margin:14px 0}.partner-head{display:flex;justify-content:space-between;align-items:center}.partner-mark{font-family:Georgia,serif;font-size:29px;letter-spacing:1px}.partner h3{font-size:18px;margin:11px 0 5px}.partner p{font-size:12px;color:var(--muted)}.tag{display:inline-block;font-size:10px;color:#6d7f8c;background:#f2f5f7;padding:3px 7px;margin:10px 5px 0 0}.search{margin:20px 0 15px}.document-title{font-size:22px;line-height:1.6}.document-paper{background:white;border:1px solid var(--line);padding:25px 21px;margin-top:20px;min-height:350px}.document-paper .eyebrow{font-size:8px;padding-bottom:18px;border-bottom:1px solid var(--line);margin-bottom:22px}.helper{font-size:11px;color:var(--muted);margin-top:10px}.error{font-size:12px;color:#a44e48;margin:12px 0}.notification-unread{border-left:3px solid #496885}.notification-read{opacity:.65}.settings-item{padding:16px 0;border-bottom:1px solid var(--line)}.settings-item strong{display:block;font-size:13px}#toast{position:fixed;left:50%;transform:translateX(-50%) translateY(20px);bottom:100px;width:max-content;max-width:88vw;max-width:min(88vw,420px);background:#152434;color:white;padding:12px 18px;border-radius:5px;box-shadow:0 8px 30px #0002;font-size:12px;z-index:20;opacity:0;pointer-events:none;transition:.2s}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}.loading{padding:80px 24px;text-align:center;color:var(--muted)}@media(min-width:650px){#app{margin:24px auto;min-height:calc(100dvh - 48px);border-radius:12px;overflow:hidden}header{border-radius:12px 12px 0 0}nav.bottom{bottom:24px;border-radius:0 0 12px 12px}main{min-height:calc(100dvh - 170px)}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}@media(max-width:350px){main{padding-left:16px;padding-right:16px}header{padding-left:16px;padding-right:16px}h1{font-size:23px}.hero{padding:18px}}
.brand{display:flex;align-items:center;gap:10px}.brand img{width:44px;height:44px;object-fit:contain;border-radius:50%;background:white}.brand span{display:block}.brand strong{font-size:24px}.brand small{font-size:6px;letter-spacing:1.5px}.welcome-logo{display:flex;align-items:center;gap:18px;margin:20px 0 30px}.welcome-logo img{width:76px;height:76px;object-fit:contain}.welcome-logo strong{font:38px Georgia,serif;letter-spacing:3px}.welcome-logo small{display:block;font-size:8px;letter-spacing:2px}.logo-button{min-height:48px}.attachment{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.attachment .text-btn{display:flex;align-items:center;gap:8px;text-align:left;overflow-wrap:anywhere}.attachment svg{width:18px;min-width:18px;height:18px}.checks{display:flex;flex-wrap:wrap;gap:8px 18px}.checks label{display:flex;align-items:center;gap:8px;font-size:13px}.checks input{width:18px;min-height:18px;height:18px}.step-editor{display:grid;grid-template-columns:25px 1fr 25px;gap:12px;align-items:center;background:white;border:1px solid var(--line);padding:14px;margin:10px 0}.step-editor label{margin:4px 0}.step-editor .badge{padding:5px;text-align:center}.modal-backdrop{position:fixed;inset:0;background:#0c1728aa;z-index:100;display:grid;place-items:center;padding:22px;backdrop-filter:blur(6px)}.chair-modal{background:white;width:100%;max-width:580px;padding:30px;border-radius:8px;max-height:90dvh;overflow:auto;box-shadow:0 20px 80px #0003}.chair-modal h2{font-size:23px;line-height:1.6}.chair-modal .bodytext{margin-top:22px}.chair-modal .primary{position:sticky;bottom:0}.mail-preview{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.8 sans-serif;background:#f6f7f9;padding:16px;border-radius:4px}summary{cursor:pointer;font-size:12px;color:#50667b;padding:12px 0}pre{max-width:100%}input[type=file]{font-size:12px;padding:12px 8px}

.download-apk{display:block;text-align:center;text-decoration:none;margin:18px 0;}
/* Conversation workspace: a fixed composer and an independently scrolling history. */
.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}
.chat-active #app{height:100dvh;min-height:0;display:flex;flex-direction:column;max-width:1180px;margin:0 auto;border-radius:0;overflow:hidden}.chat-active header{height:64px;padding:12px 22px;flex-shrink:0}.chat-active .modebar{flex-shrink:0}.chat-active main.page-chat{flex:1;min-height:0;padding:0 0 78px;overflow:hidden}.chat-active nav.bottom{max-width:1180px;bottom:0;border-radius:0;padding:7px 12px max(8px,env(safe-area-inset-bottom))}.chat-active nav.bottom button{min-height:44px}.chat-workspace{display:grid;grid-template-columns:290px minmax(0,1fr);height:100%;background:white;border-top:1px solid var(--line)}.chat-directory{display:flex;flex-direction:column;min-height:0;background:#f7f9fb;border-right:1px solid var(--line);padding:20px 14px 8px}.chat-directory-head{display:flex;align-items:center;justify-content:space-between;padding:0 8px}.chat-directory h1{font-size:24px}.chat-directory .eyebrow{font-size:9px;margin:0}.chat-directory .icon-btn{width:34px;height:34px;font-size:20px}.chat-account{font-size:10px;color:#72808c;padding:0 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-account i{display:inline-block;width:6px;height:6px;background:#379680;border-radius:50%;margin-right:7px}#chatSearch{margin:16px 0 10px;min-height:40px;padding:9px 12px;font-size:12px;border-radius:9px;background:white}.chat-rooms{overflow-y:auto;flex:1;min-height:0}.chat-room{display:flex;gap:10px;align-items:center;width:100%;border:0;text-align:left;background:transparent;border-radius:10px;padding:12px 9px;margin:2px 0;min-height:65px}.chat-room:hover{background:#edf1f5}.chat-room.selected{background:#e4edf3}.chat-avatar{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;border-radius:13px;background:#e1e9ee;color:#456073;font-size:15px;font-weight:600}.chat-room.selected .chat-avatar{background:#284657;color:white}.chat-room-copy{min-width:0;flex:1}.chat-room-copy strong{display:block;font-weight:600;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-room-copy small{display:block;font-size:10px;color:#8a949e;margin-top:3px}.chat-chevron{color:#98a8b2}.chat-settings{border-top:1px solid var(--line);margin-top:8px}.chat-settings summary{padding:8px}.chat-permission{padding:10px;font-size:11px;color:#6c6555;background:#f5f0e5;border-radius:8px;margin:4px 0 10px}.chat-permission .text-btn{padding:4px 0;font-size:11px;min-height:30px;text-align:left}.chat-conversation{display:flex;flex-direction:column;min-height:0;min-width:0;position:relative;background:#f0f4f6}.chat-conversation-head{display:flex;align-items:center;gap:10px;padding:13px 20px;background:white;border-bottom:1px solid var(--line);flex-shrink:0}.chat-title{min-width:0;flex:1}.chat-title h2{font-size:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.chat-title small{font-size:10px;color:#8b97a1}.chat-list-back{display:none}.chat-timeline{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:14px 22px;scrollbar-width:thin;overflow-anchor:none}.chat-day{text-align:center;font-size:10px;color:#85929a;margin:8px 0 15px}.chat-msg{margin:11px 0 0;max-width:88%;width:fit-content}.chat-msg.grouped{margin-top:4px}.chat-msg.mine{margin-left:auto}.chat-sender{display:block;font-size:10px;color:#647987;margin:0 0 3px 2px}.chat-msg-line{display:flex;align-items:flex-end;gap:7px}.chat-msg.mine .chat-msg-line{flex-direction:row-reverse}.chat-bubble{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;font-size:13px;line-height:1.5;padding:9px 12px;background:white;border:1px solid #e3e9ed;border-radius:3px 13px 13px}.chat-msg.mine .chat-bubble{background:#244759;color:#fff;border-color:#244759;border-radius:13px 3px 13px 13px}.chat-msg time{font-size:9px;color:#8b99a2;white-space:nowrap;padding-bottom:3px}.chat-compose-wrap{background:white;border-top:1px solid var(--line);padding:12px 18px 5px;flex-shrink:0}.chat-compose{display:flex;align-items:flex-end;gap:9px}.chat-compose textarea{min-height:42px;max-height:120px;padding:10px 12px;border:1px solid #e1e7eb;background:#f7f9fa;border-radius:12px;resize:none;font-size:13px;line-height:1.5}.chat-send{width:43px;height:43px;flex-shrink:0;border:0;border-radius:12px;background:#244759;color:white;display:grid;place-items:center}.chat-send svg{width:19px;height:19px}.chat-compose-note{font-size:9px;color:#95a0a8;display:flex;justify-content:space-between;align-items:center;gap:8px}.chat-compose-note .text-btn{min-height:26px;padding:3px 0;font-size:10px}.chat-start{margin:auto;text-align:center;padding:24px;color:#7d8d99}.chat-start h2{color:#486070;margin-top:18px}.chat-start p{font-size:12px}.chat-start-icon{display:block}.chat-start-icon svg{width:45px;height:45px;color:#93a9b7}.chat-empty{text-align:center;padding:25px 14px;color:#8999a4;font-size:12px}.chat-jump{position:absolute;right:22px;bottom:108px;background:white;box-shadow:0 3px 18px #203a5620;border:1px solid #dbe3e8;border-radius:18px;padding:7px 12px;font-size:11px;color:#355d74}.chat-jump[hidden]{display:none}.chat-welcome{padding:28px 0}
@media(max-width:699px){.chat-workspace{display:block}.chat-directory{height:100%;border:0;padding-top:12px}.chat-conversation{display:none;height:100%}.conversation-open .chat-directory{display:none}.conversation-open .chat-conversation{display:flex}.chat-list-back{display:grid;width:32px;height:32px;font-size:24px}.chat-conversation-head{padding:10px 12px;gap:8px}.chat-conversation-head .chat-avatar{width:32px;height:32px;border-radius:10px}.chat-conversation-head .text-btn{padding:4px;font-size:11px;min-height:32px}.chat-title small{font-size:9px}.chat-timeline{padding:10px 12px}.chat-msg{max-width:94%}.chat-compose-wrap{padding:9px 12px 3px}.chat-compose-note{font-size:8px}.chat-active main.page-chat{padding-bottom:72px}.chat-active header{height:58px;padding:10px 16px}}
.chat-label-form{display:flex;gap:8px;padding:10px 15px;background:white}.chat-label-form input{min-height:40px;font-size:12px}.chat-label-form .primary{min-height:40px;padding:6px 14px;white-space:nowrap;font-size:12px}

/* Android uses app navigation at every screen width. */
html.mobile-display body #app{width:100%;max-width:none;margin:0;min-height:100dvh;border-radius:0}html.mobile-display body header{border-radius:0}html.mobile-display body main{min-width:0}html.mobile-display body nav.bottom{left:0;right:0;bottom:0;width:100%;max-width:none;border-radius:0}html.mobile-display body.chat-active #app{min-height:0}body.native-app .download-apk{display:none}
html.mobile-display body .chat-workspace{display:block}html.mobile-display body .chat-directory{height:100%;border:0;padding-top:12px}html.mobile-display body .chat-conversation{display:none;height:100%}html.mobile-display body .conversation-open .chat-directory{display:none}html.mobile-display body .conversation-open .chat-conversation{display:flex}html.mobile-display body .chat-list-back{display:grid;width:32px;height:32px;font-size:24px}html.mobile-display body .chat-conversation-head{padding:10px 12px;gap:8px}html.mobile-display body .chat-conversation-head .chat-avatar{width:32px;height:32px;border-radius:10px}html.mobile-display body .chat-conversation-head .text-btn{padding:4px;font-size:11px;min-height:32px}html.mobile-display body .chat-title small{font-size:9px}html.mobile-display body .chat-timeline{padding:10px 12px}html.mobile-display body .chat-msg{max-width:94%}html.mobile-display body .chat-compose-wrap{padding:9px 12px 3px}html.mobile-display body .chat-compose-note{font-size:8px}html.mobile-display body.chat-active main.page-chat{padding-bottom:72px}html.mobile-display body.chat-active header{height:58px;padding:10px 16px}
html.mobile-display body #app{min-height:var(--ncm-screen-height,100dvh)}html.mobile-display body main{min-height:calc(var(--ncm-screen-height,100dvh) - 170px)}html.mobile-display body.chat-active #app{height:var(--ncm-screen-height,100dvh);min-height:0}html.mobile-display body.chat-active main.page-chat{min-height:0}html.mobile-display .chair-modal{max-height:calc(var(--ncm-screen-height,100dvh) - 44px)}
.account-name{border:1px solid var(--line);background:white;border-radius:22px;padding:9px 12px;font-size:12px;white-space:nowrap;max-width:140px;overflow:hidden;text-overflow:ellipsis;min-height:44px}.head-actions{flex-shrink:0}header .brand.logo-button{min-width:0;flex-shrink:1;max-width:calc(100% - 175px)}.proxy-banner{padding:10px 22px;background:#fff3d8;color:#74591f;font-size:12px;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-shrink:0}.proxy-banner button{background:white;border:1px solid #dcc797;border-radius:5px;white-space:nowrap;padding:7px}.user-row{display:flex;align-items:center;gap:10px}.user-row .row{flex:1}.user-row button:disabled{opacity:.5}
@media(min-width:960px){html.desktop-display:not(.mobile-display) body.browser .proxy-banner{margin-left:224px}}

/* Both modes use the same authenticated workspace. */
.mode-switch{border:1px solid #d6e3f8;border-radius:7px;padding:7px 10px;color:#155cd3;background:#eef5ff;font-size:11px;font-weight:700;text-decoration:none;white-space:nowrap}
.workspace-entry{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;background:#eef4fc;border:1px solid #dce8f7;border-radius:10px;margin-bottom:24px;font-size:12px}
.workspace-entry a{color:#155cd3;text-decoration:none}.business-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0 24px}.business-shortcuts button{text-align:left;padding:16px;line-height:1.6}
.workspace-page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.workspace-page-heading label{max-width:260px;margin:0}.workspace-page-heading select{margin:4px 0 0}.ncm-workspace{min-width:0}
@media(max-width:430px){.head-actions{gap:5px}.head-actions .account-name{font-size:11px}.mode-switch{padding:6px;font-size:10px}.workspace-page-heading{align-items:flex-start;flex-direction:column}.workspace-page-heading label{width:100%;max-width:none}.business-shortcuts{grid-template-columns:1fr 1fr}}

.home-focus-body{white-space:pre-wrap;overflow-wrap:anywhere}
/* NEXT AI: isolated styles for the authenticated superuser preview. */
.next-ai-entrance{min-height:calc(100dvh - 230px);border-radius:24px;background:radial-gradient(ellipse at 85% 40%,#163860 0%,#091b35 48%,#050e20 100%);color:#eff5ff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:44px 22px;overflow:hidden}
.next-ai-kicker,.next-ai-trial{font-size:10px;letter-spacing:3px;color:#a0b6d7}.next-ai-kicker{margin:0 0 50px}.next-ai-trial{margin:56px 0 0;letter-spacing:2px}
.next-ai-portal{color:inherit;background:transparent;border:0;display:flex;flex-direction:column;align-items:center;padding:22px 10px;cursor:pointer;max-width:100%;border-radius:20px}
.next-ai-portal:focus-visible{outline:2px solid #b4d5ff;outline-offset:8px}.next-ai-brand{display:flex;align-items:center;gap:12px;font-size:25px;letter-spacing:5px;font-weight:500;white-space:nowrap}
.next-ai-orb{display:inline-block;flex-shrink:0;width:88px;height:88px;background:url("next-ai-orb-thinking.webp") center/contain no-repeat}
.next-ai-tagline{font-size:16px;letter-spacing:.3px;margin-top:24px;color:#d9e6fc}.next-ai-invite{margin-top:38px;font-size:12px;color:#aac5ec;letter-spacing:1px}.next-ai-invite span{margin-left:10px}
.next-ai-chat{max-width:780px;margin:auto}.next-ai-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #dce3ed;padding:10px 0 18px}.next-ai-head>div{display:flex;align-items:center;gap:12px}.next-ai-head .next-ai-orb{width:44px;height:44px;margin:-6px}.next-ai-head h1{font-size:18px;letter-spacing:3px;margin:0}.next-ai-head button{font-size:12px}
.next-ai-messages{min-height:260px;padding:22px 0;display:flex;flex-direction:column;gap:20px}.next-ai-empty{text-align:center;margin:auto;padding:35px 12px;color:#61718b}.next-ai-empty h2{font-size:20px;color:#142740;margin:12px 0 10px}.next-ai-empty p{font-size:14px;line-height:1.9}.next-ai-empty .next-ai-orb{width:96px;height:96px}
.next-ai-message{max-width:94%;align-self:flex-start}.next-ai-message small{display:block;color:#66748b;font-size:10px;margin-bottom:7px;letter-spacing:1px}.next-ai-message>div{background:#f0f4fa;padding:16px 18px;border-radius:4px 18px 18px 18px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.85}.next-ai-message.mine{align-self:flex-end}.next-ai-message.mine>div{background:#142e50;color:#fff;border-radius:18px 4px 18px 18px}.next-ai-message.mine small{text-align:right}
.next-ai-compose{display:flex;gap:10px;align-items:flex-end;border:1px solid #cbd6e6;border-radius:18px;padding:10px;background:#fff}.next-ai-compose textarea{border:0;background:transparent;resize:vertical;min-height:52px;max-height:200px;margin:0;flex:1;min-width:0;font-size:16px}.next-ai-compose button{width:44px;height:44px;padding:12px;flex-shrink:0;border-radius:12px}.next-ai-compose svg{width:20px;height:20px}.next-ai-note{font-size:10px;color:#65758a;line-height:1.8;margin:12px 4px}.next-ai-error{border-radius:12px;background:#fff1e6;padding:12px 14px;font-size:13px;line-height:1.7;margin-bottom:14px}.next-ai-error button{display:block;margin-top:6px}.next-ai-thinking{font-size:13px;color:#526989}
@media(max-width:360px){.next-ai-brand{gap:8px;font-size:21px;letter-spacing:4px}.next-ai-tagline{font-size:14px}.next-ai-brand .next-ai-orb{width:72px;height:72px}}
nav.bottom .next-ai-menu{color:#20354d;font-weight:600}.next-ai-menu-orb{display:block;width:32px;height:32px;margin:-6px auto 0;background:url("next-ai-orb-thinking.webp") center/contain no-repeat;filter:drop-shadow(0 2px 5px #315b9a55)}nav.bottom .next-ai-menu.active .next-ai-menu-orb{filter:drop-shadow(0 3px 7px #2c64b777)}

.next-ai-sources{margin:-6px 0 2px;padding:12px 14px;border-left:3px solid #5f91d5;background:#f5f9ff;color:#40536d;font-size:12px;line-height:1.6}.next-ai-sources p{margin:7px 0 0}.next-ai-sources b{color:#1d3d66}
.next-ai-citations{margin-top:12px;padding-top:10px;border-top:1px solid #dce7f7;display:grid;gap:6px;font-size:.82rem}.next-ai-citations strong{color:#52657c}.next-ai-citations a{color:#1267d6;text-decoration:none;overflow-wrap:anywhere}.next-ai-citations a:hover{text-decoration:underline}

/* Preserve the current logo and give its header a clean white brand surface. */
body:not(.login) header{background:#fff;border-bottom:1px solid var(--line)}
