*{box-sizing:border-box} :root{color-scheme:dark;--bg:#181a1d;--panel:#202328;--line:#343941;--muted:#9da7b5;--fg:#edf0f5;--accent:#8ebcff}body{margin:0;background:var(--bg);color:var(--fg);font:15px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}button,input,textarea{font:inherit}button{cursor:pointer;background:#2a2e35;color:var(--fg);border:1px solid var(--line);border-radius:9px;padding:8px 13px}button:hover{background:#363d47}button:disabled{opacity:.45;cursor:wait}input,textarea{background:#282c32;border:1px solid #414853;color:var(--fg);border-radius:9px;padding:12px;outline:none}input:focus,textarea:focus{border-color:var(--accent)}button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.primary{background:#c3d9fa;color:#15263e;border-color:#c3d9fa;font-weight:600}.primary:hover{background:#e0ebfc}.hidden{display:none!important}.muted,small{color:var(--muted)}.app{height:100dvh;display:grid;grid-template-columns:280px minmax(0,1fr)}aside#sidebar{background:#202226;padding:22px 15px;display:flex;flex-direction:column;border-right:1px solid var(--line);overflow:hidden}.brand{display:flex;gap:10px;align-items:center;margin:0 7px 30px}.brand-mark{height:48px;width:48px;border-radius:14px;background:#bcd5f9;color:#233c60;font-size:25px;font-weight:700;display:grid;place-items:center}.brand-mark.small{height:30px;width:30px;border-radius:9px;font-size:17px}.pilot{font-size:10px;border:1px solid #56616f;border-radius:5px;color:#afbbca;padding:1px 5px;margin-left:auto}.wide{width:100%;text-align:left;background:transparent}.section-heading{font-size:10px;letter-spacing:1.5px;color:var(--muted);margin:26px 12px 10px}nav{overflow:auto;flex:1}.project{margin-bottom:18px}.project-heading{display:flex;align-items:center;gap:6px}.project-heading>button.project-link{border:0;background:none;text-align:left;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-heading .add-task{padding:2px 8px;border:0;background:transparent;font-size:20px;color:var(--muted)}.task-button{display:block;text-align:left;border:0;background:none;width:100%;font-size:13px;padding:8px 13px 8px 28px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#c4ccd6}.task-button.active{background:#363c46;color:white}.sidebar-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:16px 4px 0;font-size:12px}.sidebar-bottom button{font-size:12px;padding:5px 8px}main{display:flex;min-width:0;min-height:0;flex-direction:column}header{display:flex;align-items:center;padding:20px 30px;gap:16px;border-bottom:1px solid #292e36}h2{font-size:17px;font-weight:550;margin:3px 0}#breadcrumb{font-size:12px}.header-actions{margin-left:auto;display:flex;align-items:center;gap:12px}.badge{font-size:11px;color:#a7b8a7}#menu{display:none}.welcome{margin:auto;text-align:center;padding:36px}.welcome .brand-mark{margin:0 auto 20px}h1{font-size:30px;font-weight:550;letter-spacing:-.7px}.welcome p{color:var(--muted);max-width:550px;margin-bottom:25px}.conversation{flex:1;overflow:auto;padding:25px max(25px,calc((100% - 860px)/2));scroll-behavior:smooth}.message{margin:0 0 25px;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}.message-label{font-size:11px;color:var(--muted);margin-bottom:6px;white-space:normal}.message.user .message-body{padding:15px 19px;border-radius:16px;background:#303640;margin-left:50px}.message.progress .message-body{font-size:13px;color:#b5c3d5;padding-left:14px;border-left:2px solid #465a77}.message.error .message-body{color:#f1bab4}.message-body a{color:var(--accent)}.composer-area{padding:10px max(25px,calc((100% - 860px)/2)) 20px}#composer{background:#282c32;border:1px solid #424953;border-radius:17px;padding:10px}#prompt{width:100%;resize:vertical;min-height:75px;max-height:240px;background:transparent;border:0;padding:9px}.composer-tools{display:flex;align-items:center;justify-content:space-between;gap:10px}.composer-tools button{font-size:12px}.composer-note{text-align:center;font-size:10px;color:#7e8998;margin-top:10px}.upload-list{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px;font-size:12px;color:#b6ccec}.question{margin:10px max(25px,calc((100% - 860px)/2));padding:16px;border:1px solid #6b85a9;background:#223147;border-radius:12px}.question button{margin:6px 6px 0 0}.question input{width:100%;margin-top:10px}.question p{margin:5px 0}.files{position:fixed;right:0;top:0;bottom:0;width:340px;background:var(--panel);padding:24px;z-index:3;box-shadow:-10px 0 40px #0005;border-left:1px solid var(--line);overflow:auto}.files-title{display:flex;align-items:center;justify-content:space-between}.file-card{padding:12px 0;border-bottom:1px solid var(--line);font-size:13px;word-break:break-word}.file-card a{color:var(--accent);text-decoration:none}.file-card small{display:block}.login{min-height:100dvh;display:grid;place-items:center;padding:25px}.login form{max-width:390px;width:100%;padding:35px;background:var(--panel);border:1px solid var(--line);border-radius:20px}.login h1{margin-bottom:4px}.login p{font-size:13px;color:var(--muted)}label{display:block;margin:18px 0 8px;font-size:13px}label input{display:block;width:100%;margin-top:7px}.login .primary{width:100%;margin-top:20px}.login small{display:block;text-align:center;margin-top:24px;font-size:11px}#login-error{color:#ffb9ac}dialog{background:var(--panel);border:1px solid #4b5564;border-radius:16px;color:var(--fg);width:420px;padding:25px}dialog::backdrop{background:#0009}.dialog-actions{margin-top:24px;display:flex;gap:10px;justify-content:flex-end}.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:20px;padding:12px 18px;background:#39485e;color:white;border:1px solid #687b94;border-radius:12px;z-index:10;max-width:90%}

.pwa-settings{padding:10px 4px;border-top:1px solid var(--line);font-size:12px}.pwa-settings>button{width:100%;font-size:12px}.pwa-settings summary{cursor:pointer;margin:10px 0}.pwa-settings details button{font-size:11px;padding:5px}.pwa-settings p{color:var(--muted);font-size:11px;max-height:120px;overflow:auto}

#menu{display:block;flex-shrink:0}#sidebar-close{padding:2px 9px;font-size:22px;line-height:1.2}#sidebar[inert]{visibility:hidden}:root:not(.mobile-view) .app.sidebar-collapsed{grid-template-columns:0 minmax(0,1fr)}:root:not(.mobile-view) .app.sidebar-collapsed #sidebar{display:none}

#view-mode{width:100%;background:var(--panel);color:var(--fg);border:1px solid var(--line);border-radius:9px;padding:9px;margin-bottom:12px;font:inherit}.view-label{margin:0 0 6px}.sidebar-backdrop{position:fixed;inset:0;border:0;border-radius:0;background:#0008;z-index:4}.sidebar-backdrop:hover{background:#0008}header>div:first-of-type{min-width:0}h2{overflow-wrap:anywhere}.composer-area{flex-shrink:0}nav{min-height:50px}aside#sidebar{overflow-y:auto}.pwa-settings,.sidebar-bottom{flex-shrink:0}.app{height:100dvh}input,textarea,select{font-size:16px}
.mobile-view .app{grid-template-columns:minmax(0,1fr)}
.mobile-view #sidebar{position:fixed;inset:0 auto 0 0;z-index:5;height:100dvh;width:min(320px,88vw);transform:translateX(-100%);padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom))}
.mobile-view #sidebar.open{transform:translateX(0)}
.mobile-view header{padding:10px max(10px,env(safe-area-inset-right)) 10px max(10px,env(safe-area-inset-left));padding-top:max(10px,env(safe-area-inset-top));gap:8px}
.mobile-view h2{font-size:15px}.mobile-view .badge{display:inline-block;flex:0 0 auto;font-size:9px;line-height:1.15;white-space:nowrap}.mobile-view .header-actions{gap:4px}.mobile-view #breadcrumb{font-size:11px}
.mobile-view .conversation{padding:18px 14px;overscroll-behavior:contain}.mobile-view .composer-area{padding:5px 10px max(10px,env(safe-area-inset-bottom))}.mobile-view .question{margin:10px;max-height:40dvh;overflow:auto}.mobile-view .message.user .message-body{margin-left:15px}
.mobile-view button{min-height:44px}.mobile-view .project-heading .add-task{min-width:44px}.mobile-view .composer-tools{align-items:end;gap:4px}.mobile-view .composer-tools>div{display:flex;gap:4px;flex-wrap:wrap}.mobile-view .composer-tools button{padding:6px 9px}.mobile-view #prompt{min-height:64px;max-height:25dvh;resize:none}.mobile-view .composer-note{display:none}.mobile-view .files{width:min(100%,340px);padding-top:max(24px,env(safe-area-inset-top))}.mobile-view .welcome{padding:20px}.mobile-view h1{font-size:25px}.mobile-view .brand{margin-bottom:16px}.mobile-view .pwa-settings details button{font-size:12px}.mobile-view .toast{bottom:max(16px,env(safe-area-inset-bottom))}

/* Keep the chat in its own grid area when the sidebar leaves normal flow. */
.app{grid-template-areas:"sidebar chat";grid-template-rows:minmax(0,1fr)}.app>main{grid-area:chat;width:100%;min-width:0}.app>#sidebar{grid-area:sidebar}.mobile-view .app{grid-template-areas:"chat";grid-template-columns:minmax(0,1fr)}.mobile-view .app>#sidebar{grid-area:auto}.app>main>header{flex-shrink:0}.app>main>header>div:first-of-type{flex:1;min-width:0}

/* Larger phone layout, independent of the desktop layout. */
#settings-dialog{max-height:85dvh;overflow:auto;width:min(440px,calc(100vw - 24px))}#settings-dialog .pwa-settings{border:0}#settings-dialog .files-title h2{font-size:22px}#settings-dialog #logout{margin-top:20px}.sidebar-bottom #user-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#settings-open{font-size:24px;min-width:48px;min-height:48px}
.mobile-view body{font-size:18px;background:#101113}.mobile-view #sidebar{width:min(420px,85vw);padding-left:20px;padding-right:20px;background:#202123}.mobile-view .brand{gap:8px;margin:6px 0 22px}.mobile-view .brand b{font-size:24px}.mobile-view .brand .brand-mark,.mobile-view .pilot{display:none}.mobile-view #sidebar-close{margin-left:auto;min-width:48px;font-size:28px;border-radius:50%}
.mobile-view .section-heading{font-size:13px;margin:24px 10px 12px}.mobile-view #new-project{font-size:18px;min-height:52px}.mobile-view .project-heading>button.project-link{font-size:19px;padding:12px 8px}.mobile-view .task-button{font-size:18px;min-height:52px;padding:12px 10px 12px 24px}.mobile-view .project{margin-bottom:20px}.mobile-view .sidebar-bottom{font-size:17px;margin-top:12px;padding-bottom:4px}.mobile-view #sidebar nav{flex:1;min-height:80px}
.mobile-view header{border-bottom:0;padding:14px 14px;gap:12px;padding-top:max(14px,env(safe-area-inset-top))}.mobile-view #menu{width:48px;height:48px;border-radius:50%;font-size:23px}.mobile-view h2{font-size:18px;line-height:1.3}.mobile-view #breadcrumb{font-size:13px}.mobile-view #files-toggle{font-size:16px;min-height:48px}.mobile-view .conversation{font-size:18px;line-height:1.6;padding:20px 16px}.mobile-view .message-label{font-size:14px}.mobile-view .message.progress .message-body{font-size:16px}
.mobile-view .welcome{width:100%;padding:24px}.mobile-view .welcome h1{font-size:29px}.mobile-view .welcome p{font-size:17px;line-height:1.6}.mobile-view button{min-height:48px}.mobile-view .welcome button{font-size:18px;padding:12px 20px}.mobile-view .composer-area{padding:8px 12px max(12px,env(safe-area-inset-bottom))}.mobile-view #composer{border-radius:28px;padding:10px 12px}.mobile-view #prompt{font-size:18px;line-height:1.45;min-height:54px;padding:8px;max-height:25dvh}.mobile-view .composer-tools button{font-size:16px;min-height:48px;padding:8px 10px;border-radius:24px}.mobile-view .composer-tools{flex-wrap:wrap}.mobile-view .composer-tools>div:last-child{margin-left:auto}.mobile-view .question{font-size:18px}.mobile-view .question input{font-size:18px}.mobile-view dialog label,.mobile-view dialog input,.mobile-view dialog select{font-size:18px}.mobile-view #settings-dialog{padding:22px}.mobile-view #settings-dialog .pwa-settings{font-size:17px}.mobile-view #settings-dialog .pwa-settings>button{font-size:17px}.mobile-view #settings-dialog .pwa-settings details button{font-size:16px;margin:4px 2px}.mobile-view #settings-dialog .pwa-settings p{font-size:15px;max-height:none}.mobile-view #view-mode{font-size:18px;min-height:48px}.mobile-view .login label,.mobile-view .login input,.mobile-view .login button{font-size:18px}

.mobile-view .welcome p{margin-left:auto;margin-right:auto}

/* Phone proportions tuned against the user's side-by-side screenshots. */
.mobile-view body{font-size:17px}.mobile-view #sidebar{width:min(400px,80vw);padding-left:24px;padding-right:24px}.mobile-view .brand{margin:2px 0 18px}.mobile-view .brand b{font-size:21px;font-weight:600}.mobile-view #sidebar-close{min-width:44px;min-height:44px;font-size:24px;background:transparent}.mobile-view #new-project{font-size:17px;min-height:48px;border-color:transparent;background:transparent;padding:10px 8px}.mobile-view .section-heading{font-size:12px;margin:20px 8px 10px}.mobile-view .project-heading>button.project-link{font-size:17px;padding:10px 8px}.mobile-view .task-button{font-size:17px;min-height:48px;padding-top:10px;padding-bottom:10px}.mobile-view .sidebar-bottom{font-size:16px;padding-top:12px}.mobile-view #settings-open{min-width:44px;min-height:44px;font-size:23px;border-radius:50%;background:transparent}.mobile-view #menu{width:44px;height:44px;min-height:44px;font-size:21px}.mobile-view h2{font-size:17px}.mobile-view #files-toggle{font-size:15px;min-height:44px}.mobile-view .conversation{font-size:17px}.mobile-view .welcome h1{font-size:25px}.mobile-view .welcome p{font-size:16px;line-height:1.5}.mobile-view .welcome .brand-mark{width:42px;height:42px;font-size:23px}.mobile-view .welcome button{font-size:17px;padding:10px 18px;min-height:48px}.mobile-view #prompt{font-size:17px}.mobile-view .question{font-size:17px}

.project-heading>button.project-link{display:flex;align-items:center;gap:9px}.project-folder{width:19px;height:19px;flex:0 0 19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}.project-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-view .project-folder{width:22px;height:22px;flex-basis:22px}

.direction{margin:8px 0 14px}.direction-label{cursor:pointer;font-weight:600;padding:12px 6px;line-height:1.4;overflow-wrap:anywhere}.direction .project{margin-left:10px}.direction .project-name{white-space:normal;line-height:1.4}.direction .project-heading{align-items:flex-start}.mobile-view .direction-label{font-size:17px;min-height:44px}#create-direction{width:100%;margin:8px 0 16px}

.toggle-tasks{flex:0 0 28px;width:28px;min-height:36px;padding:4px 0;border:0;background:transparent;color:inherit;font-size:18px;cursor:pointer}.toggle-tasks:hover{background:#34373c;border-radius:8px}.mobile-view .toggle-tasks{flex-basis:36px;width:36px;min-height:44px}.project-tasks.hidden{display:none}

.project-heading>.toggle-tasks{display:flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;padding:0;overflow:visible;text-overflow:clip;border:0;background:transparent;box-shadow:none}.toggle-tasks svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transform:rotate(-90deg)}.toggle-tasks[aria-expanded="true"] svg{transform:rotate(0deg)}.mobile-view .project-heading>.toggle-tasks{flex-basis:36px;width:36px;min-height:44px;padding:0}.project-heading>button.project-link{border:0;background:transparent;box-shadow:none;text-align:left;flex:1;min-width:0}.direction .project-name{overflow:visible;text-overflow:clip;overflow-wrap:anywhere}.project-heading>.add-task{flex-shrink:0}.mobile-view .project-heading>button.project-link{padding:10px 4px}.direction .project-heading{gap:2px}

/* Compact navigation: outlined triangle, left-aligned project, right-aligned action. */
.direction .project{margin-left:0}
.direction .project-heading{display:grid;grid-template-columns:28px minmax(0,1fr) 36px;gap:0;align-items:start}
.project-heading>.toggle-tasks,.mobile-view .project-heading>.toggle-tasks{width:28px;min-height:44px;padding:0}
.toggle-tasks svg{width:20px;height:20px;stroke-width:1.7}
.project-heading>button.project-link,.mobile-view .project-heading>button.project-link{width:100%;padding:10px 0;gap:6px;align-items:flex-start}
.project-heading .project-folder{margin-top:3px}
.direction .project-name{overflow-wrap:normal;word-break:normal;white-space:normal}
.project-heading>.add-task,.mobile-view .project-heading>.add-task{justify-self:end;width:36px;min-width:36px;min-height:44px;padding:4px 0;text-align:right}
.mobile-view #sidebar{padding-left:12px;padding-right:12px}
.direction-label{padding-left:0}

.direction-label{display:flex;align-items:flex-start;gap:5px;list-style:none}
.direction-label::-webkit-details-marker{display:none}
.direction-label::before{content:'▸';flex:0 0 12px;line-height:1.5}
.direction[open]>.direction-label::before{content:'▾'}
.direction-name{flex:1;min-width:0}
.direction-order-controls{display:flex;flex:0 0 auto;gap:0}
.direction-label .direction-move{padding:0;width:28px;min-height:32px;border:0;background:transparent;font-size:20px;color:var(--muted)}
.mobile-view .direction-label .direction-move{width:32px;min-height:44px;margin-top:-8px}
.direction-label .direction-move:hover{color:var(--fg);background:#34373c}
.direction-label .direction-move:disabled{opacity:.2;cursor:default}

/* Smaller order controls; larger solid disclosure triangle. */
.direction-label .direction-move,.mobile-view .direction-label .direction-move{font-size:15px;width:24px}
.direction-label::before{content:'';flex:0 0 0;width:0;height:0;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:11px solid currentColor;margin-top:5px;margin-right:4px;line-height:0}
.direction[open]>.direction-label::before{content:'';border-top:11px solid currentColor;border-right:7px solid transparent;border-left:7px solid transparent;border-bottom:0;margin-top:8px;margin-right:1px}

.files{width:min(520px,100vw);z-index:6}.mobile-view .files{width:100%;padding:20px 16px max(20px,env(safe-area-inset-bottom))}
.source-folder{display:block;width:100%;text-align:left;background:transparent;border:0;padding:16px 4px;overflow-wrap:anywhere;font-size:16px}
.file-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.file-actions .file-action{display:inline-flex;align-items:center;padding:8px 12px;border:1px solid var(--line);border-radius:8px;text-decoration:none;background:transparent;color:var(--fg);font-size:14px;min-height:44px}
.file-name{font-size:16px;overflow-wrap:anywhere}#files-path{overflow-wrap:anywhere;font-size:14px}.source-back{margin:12px 0}.file-error{color:#ffb9ac}.mobile-view .source-folder{font-size:17px;min-height:48px}#share-status{overflow-wrap:anywhere}

.file-card{position:relative}.file-card .file-name{padding-right:40px}.file-context{position:absolute;right:0;top:8px;background:transparent;border:0;font-size:26px;padding:0 8px;min-height:44px}.file-card{touch-action:pan-y;-webkit-touch-callout:none}
#use-file-name{overflow-wrap:anywhere;font-size:14px}#use-file-task{display:block;width:100%;margin-top:8px;font:inherit;min-height:44px;background:var(--panel);color:var(--fg)}.file-ref-chip{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:12px;padding:4px 8px;max-width:100%}.file-ref-chip span{overflow-wrap:anywhere}.file-ref-chip button{border:0;background:transparent;min-width:36px;min-height:36px;padding:0}

.files-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 18px}.files-toolbar button{min-height:44px}
.file-name{display:flex;align-items:flex-start;gap:10px}.file-name-text{min-width:0;overflow-wrap:anywhere}
.file-type-icon{position:relative;display:inline-flex;align-items:flex-end;justify-content:center;flex:0 0 34px;width:34px;height:39px;padding:0 2px 6px;border:1.5px solid currentColor;border-radius:4px;font-size:9px;font-weight:750;line-height:1;color:#adb8c8;background:#adb8c812;margin-top:2px}
.file-type-icon::after{content:'';position:absolute;right:3px;top:3px;width:7px;height:7px;border-left:1px solid currentColor;border-bottom:1px solid currentColor}
.type-pdf{color:#ff9b96;background:#ff9b9612}.type-sheet{color:#80d7a3;background:#80d7a312}.type-word{color:#92baff;background:#92baff12}.type-image{color:#d3a8fa;background:#d3a8fa12}

.files-sort-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px;color:var(--muted)}#files-sort{max-width:65%;min-height:44px;padding:7px 10px;background:var(--panel);color:var(--fg);border:1px solid var(--line);border-radius:8px;font:inherit}

#attach,#record{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:10px;vertical-align:middle;color:var(--muted)}#attach svg,#record svg{display:block;width:22px;height:22px;stroke-width:1.8}#attach:disabled,#record:disabled{opacity:1;cursor:not-allowed}
.file-ref-chip{font-size:16px;line-height:1.4;padding:6px 8px 6px 12px;gap:10px}.file-ref-chip>a,.file-ref-chip>span{min-width:0;overflow-wrap:anywhere;color:var(--accent)}.file-ref-chip button{flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;font-size:28px;line-height:1;display:inline-flex;align-items:center;justify-content:center;color:var(--fg)}.mobile-view .file-ref-chip{font-size:17px}.mobile-view .file-ref-chip button{font-size:30px}

.composer-tools>div:first-child{display:flex;align-items:center;gap:6px;flex-wrap:wrap}#record.recording{color:var(--accent)}#record.recording svg{width:24px;height:24px;flex:none}#record-status{display:inline-flex;align-items:center;gap:8px;vertical-align:middle;min-width:0}.voice-wave{display:block;width:112px;height:32px;max-width:24vw}.voice-clock{font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--fg)}

.composer-tools.is-recording{flex-wrap:nowrap;gap:8px}.composer-tools.is-recording>div:first-child{flex:1;min-width:0;flex-wrap:nowrap;gap:8px}.composer-tools.is-recording #attach{display:none}.composer-tools.is-recording #cancel-voice{order:0;flex:0 0 36px;width:36px;min-width:36px;height:36px;min-height:36px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;font-size:24px;line-height:1}.composer-tools.is-recording #record-status{order:1;flex:1;min-width:0;gap:6px}.composer-tools.is-recording .voice-wave{width:100%;max-width:none;min-width:0;flex:1}.composer-tools.is-recording .voice-clock{font-size:11px;color:var(--muted)}.composer-tools.is-recording #record{order:2;flex:0 0 40px;width:40px;min-width:40px;height:40px;min-height:40px;padding:0;border-radius:50%;color:var(--fg)}.composer-tools.is-recording>div:last-child{flex:none}.composer-tools.is-recording #send{width:36px;min-width:36px;min-height:36px;height:36px;padding:0;border-radius:50%;font-size:0}.composer-tools.is-recording #send::after{content:'↑';font-size:23px;line-height:1}

.composer-tools.is-recording>div:last-child{display:none}

#prompt,.mobile-view #prompt{resize:none;min-height:42px;max-height:none;overflow-y:hidden}
#composer:not(:focus-within):not(.has-text):not(:has(.composer-tools.is-recording)){display:flex;align-items:center;gap:8px}
#composer:not(:focus-within):not(.has-text):not(:has(.composer-tools.is-recording)) #prompt{flex:1 1 auto;width:0;min-width:0;white-space:nowrap;overflow-x:hidden}
#composer:not(:focus-within):not(.has-text):not(:has(.composer-tools.is-recording)) .composer-tools{flex:0 0 auto;justify-content:flex-end;flex-wrap:nowrap;gap:6px}
#composer:not(:focus-within):not(.has-text):not(:has(.composer-tools.is-recording)) .composer-tools>div:first-child{flex-wrap:nowrap}
#composer:not(:focus-within):not(.has-text):not(:has(.composer-tools.is-recording)) .composer-tools>div:last-child{margin-left:0}
.mobile-view #composer:not(:focus-within):not(.has-text) #send{width:44px;min-width:44px;padding:0;font-size:0}.mobile-view #composer:not(:focus-within):not(.has-text) #send::after{content:'↑';font-size:24px;line-height:1}
.app>main>header{padding-top:8px;padding-bottom:8px}
.mobile-view .app>main>header{padding-top:max(8px,env(safe-area-inset-top));padding-bottom:8px}
.personal-new-assignment{white-space:nowrap}.mobile-view .personal-new-assignment{min-width:44px;padding:8px}.mobile-view .personal-new-assignment span:last-child{display:none}
.mobile-view .personal-new-assignment:not(.hidden)+.task-issues-open{width:44px;min-width:44px;padding:0;font-size:0}.mobile-view .personal-new-assignment:not(.hidden)+.task-issues-open::after{content:'?';font-size:22px;line-height:1}

.users-dialog{width:min(680px,calc(100vw - 24px));max-height:90dvh;overflow:auto}.users-dialog .files-title{position:sticky;top:-25px;background:var(--panel);padding:12px 0;z-index:1}.users-dialog button{min-height:44px}.user-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}.user-row small{display:block;margin-top:5px}.user-row>div{min-width:0;overflow-wrap:anywhere}.user-form fieldset{border:0;padding:0;margin:0;min-width:0}.user-form input:not([type=checkbox]){width:100%;min-height:44px}.user-check{display:flex;align-items:center;gap:12px;min-height:44px;margin:4px 0;font-size:16px}.user-check input[type=checkbox]{width:22px;height:22px;flex:0 0 22px;margin:0;accent-color:#c3d9fa}.user-project{padding-left:24px}.user-access-group{border-top:1px solid var(--line);padding:10px 0}.users-error{color:#ffb9ac}.users-dialog .muted{font-size:14px;line-height:1.5}.user-form .dialog-actions{position:sticky;bottom:-25px;background:var(--panel);padding:12px 0}.user-form input:disabled{opacity:.7}
.admin-main{max-width:760px;margin:40px auto;padding:24px}.admin-main a{color:var(--accent)}
.admin-tools{display:flex;flex-wrap:wrap;gap:12px}.admin-direction{margin-top:20px}.admin-direction h3{font-size:17px;margin:0}.user-form select{display:block;width:100%;margin-top:7px;min-height:44px;background:var(--panel);color:var(--fg);border:1px solid var(--line);border-radius:9px;padding:8px}.attached-folders span,.folder-breadcrumb{overflow-wrap:anywhere}.folder-choice{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:8px 0}.folder-choice input{width:22px;height:22px;flex:0 0 22px;accent-color:#c3d9fa}.folder-choice button{flex:1;text-align:left;min-width:0;overflow-wrap:anywhere;background:transparent;border:0}.folder-choice input:disabled{opacity:.5}#folder-picker .dialog-actions{position:sticky;bottom:-25px;background:var(--panel);padding:12px 0}
#sidebar-close{display:grid;place-items:center;flex-shrink:0;margin-left:auto;width:32px;height:36px;padding:0;line-height:1}#sidebar-close svg{display:block}.mobile-view #sidebar-close{width:44px;height:44px;padding:0}
#menu,.mobile-view #menu{display:grid;place-items:center;padding:0;line-height:1;width:44px;height:44px;min-width:44px;min-height:44px}#menu svg{display:block;flex-shrink:0}
:root:not(.mobile-view) .app:not(.sidebar-collapsed) #menu{display:none}
#project-admin-dialog{width:min(850px,calc(100vw - 24px))}.project-properties{margin:20px 0}.project-properties summary{cursor:pointer;color:var(--muted)}.admin-folder-tree{border:1px solid var(--line);border-radius:10px;margin:12px 0;max-height:45dvh;overflow:auto;padding:6px}.folder-tree-row{display:flex;align-items:center;gap:8px;min-height:44px}.folder-tree-toggle{flex:0 0 32px;padding:0;border:0;background:transparent;font-size:20px}.folder-tree-row input{width:22px;height:22px;flex:0 0 22px;accent-color:#c3d9fa;margin:0}.folder-tree-name{flex:1;min-width:0;text-align:left;overflow-wrap:anywhere;border:0;background:transparent;padding:8px 2px}.folder-tree-children{margin-left:16px;border-left:1px solid var(--line);padding-left:4px}.admin-folder-tree .muted{padding-left:12px}.folder-tree-row input:disabled{opacity:.6}
.files-title>button,.mobile-view .files-title>button{position:relative;display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;font-size:0;line-height:1}.files-title>button::before,.files-title>button::after{content:"";position:absolute;left:50%;top:50%;width:22px;height:2px;border-radius:1px;background:currentColor;transform:translate(-50%,-50%) rotate(45deg);pointer-events:none}.files-title>button::after{transform:translate(-50%,-50%) rotate(-45deg)}
/* Compact navigation spacing without reducing mobile touch targets. */
#sidebar .direction{margin:2px 0 6px}
#sidebar .direction-label{padding-top:6px;padding-bottom:6px;min-height:44px}
#sidebar .project{margin-bottom:4px}
#sidebar .project-heading>button.project-link{padding-top:6px;padding-bottom:6px;min-height:44px;line-height:1.4}
#sidebar .task-button{padding-top:6px;padding-bottom:6px;line-height:1.4}
.mobile-view #sidebar .task-button{min-height:44px}
.mobile-view #sidebar .direction-label .direction-move{margin-top:-4px}

/* Work progress stays readable while running, folds when the answer arrives. */
.work-progress{margin:0 0 18px}.work-progress-summary{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;list-style:none;color:var(--muted);font-size:14px;user-select:none}
.work-progress-summary::-webkit-details-marker{display:none}.work-progress-summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}
.work-progress-arrow{font-size:25px;line-height:1;display:inline-block;transform-origin:center}.work-progress[open]>.work-progress-summary .work-progress-arrow{transform:rotate(90deg)}
.work-progress-content .message.progress{margin:6px 0 14px}.mobile-view .work-progress-summary{font-size:16px}

/* Attachment cards in the draft and beside the original message. */
.attachment-card{display:flex;flex-direction:column;justify-content:center;gap:5px;width:218px;max-width:100%;min-height:76px;padding:12px;background:#242930;border:1px solid #424953;border-radius:14px;color:var(--fg);text-decoration:none;overflow:hidden;white-space:normal}
.attachment-card .file-name{margin:0;gap:10px;align-items:center}.attachment-card .file-name-text{font-size:14px;line-height:1.35;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.attachment-size{font-size:11px;color:var(--muted);padding-left:42px}
.attachment-card.attachment-image{width:100px;height:100px;min-height:100px;padding:0;flex-shrink:0}.attachment-image img{display:block;width:100%;height:100%;object-fit:cover}
.message-attachments{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin:0 0 8px;white-space:normal}
.file-ref-chip.attachment-draft{position:relative;display:block;border:0;padding:0;max-width:100%}.attachment-draft>.attachment-card{padding-right:44px}.attachment-draft>.attachment-image{padding:0}
.file-ref-chip.attachment-draft>button{position:absolute;right:0;top:0;display:grid;place-items:center;width:44px;height:44px;padding:0;min-width:44px;min-height:44px;border:0;border-radius:12px;background:#17202bd9;color:white;font-size:28px;line-height:1}
.attachment-preview{width:min(960px,calc(100vw - 24px));max-height:92dvh;padding:16px;overflow:auto}.attachment-preview .files-title{gap:12px;margin-bottom:12px}.attachment-preview h2{overflow-wrap:anywhere;font-size:16px}.attachment-preview img{display:block;max-width:100%;max-height:70dvh;object-fit:contain;margin:auto}.preview-download{display:inline-block;margin-top:14px;color:var(--accent)}
.mobile-view .attachment-card .file-name-text{font-size:16px}.mobile-view .attachment-card.attachment-image{width:100px;height:100px}
.file-ref-chip.attachment-draft{width:max-content;flex:0 0 auto}.attachment-draft>.attachment-card:not(.attachment-image){width:250px}.file-ref-chip.attachment-draft>.attachment-card{color:var(--fg)}

.work-timer{font-size:13px;color:var(--muted);padding:0 0 10px;margin:0 0 10px;border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}.mobile-view .work-timer{font-size:14px}
.task-nav-row{display:flex;align-items:center;min-width:0}.task-nav-row>.task-button{flex:1;min-width:0;width:auto}.task-archive-button{display:grid;place-items:center;flex:0 0 36px;width:36px;height:44px;padding:0;border:0;background:transparent;color:var(--muted)}.task-archive-button:hover{color:var(--fg)}.task-archive-button svg{display:block}.archive-actions{display:flex;gap:8px;flex-wrap:wrap}.archived-task{padding:16px 0;border-bottom:1px solid var(--line)}.archived-task strong{overflow-wrap:anywhere}.archived-task p{margin:6px 0 12px}.danger-text{color:#ffb9ac}.task-archive-dialog .message{margin-top:20px}.task-archive-dialog .message-body{white-space:pre-wrap;overflow-wrap:anywhere}
/* Mobile navigation scrolls by touch without a persistent native scrollbar. */
.mobile-view #sidebar,.mobile-view #sidebar nav{scrollbar-width:none;-ms-overflow-style:none}
.mobile-view #sidebar::-webkit-scrollbar,.mobile-view #sidebar nav::-webkit-scrollbar{display:none;width:0;height:0}
.nav-scroll-indicator{display:none;position:fixed;width:3px;border-radius:4px;background:#8b929c;pointer-events:none;z-index:6;opacity:0;transition:opacity .2s ease}
.mobile-view .nav-scroll-indicator{display:block}.mobile-view .nav-scroll-indicator.visible{opacity:.7}
@media(prefers-reduced-motion:reduce){.nav-scroll-indicator{transition:none}}

#settings-open{display:grid;place-items:center;padding:0;line-height:1}#settings-open svg{display:block;width:20px;height:20px;flex-shrink:0}.mobile-view #settings-open svg{width:24px;height:24px}

:root:not(.mobile-view) .app:not(.sidebar-collapsed){grid-template-columns:var(--sidebar-width,280px) minmax(0,1fr)}
:root:not(.mobile-view) #sidebar{position:relative}
.sidebar-resizer{position:absolute;right:0;top:0;bottom:0;width:7px;cursor:col-resize;touch-action:none;z-index:2;background:transparent}
.sidebar-resizer:hover,.sidebar-resizer:focus-visible,.resizing-sidebar .sidebar-resizer{background:#8ebcff55;outline:none}
.mobile-view .sidebar-resizer,.sidebar-collapsed .sidebar-resizer{display:none}
body.resizing-sidebar,body.resizing-sidebar *{cursor:col-resize!important;user-select:none!important}
.team-chat-nav{flex-shrink:0;margin:0 0 4px!important}.team-chat-links{max-height:28dvh;overflow:auto}.team-chat-link{display:block;width:100%;border:0;background:transparent;text-align:left;padding:8px 12px 8px 22px;min-height:44px;font-size:15px}.team-chat-link.active{background:#363c46}.mobile-view .team-chat-link{font-size:17px}.message.user.peer .message-body{margin-left:0;margin-right:40px;background:#232930}.message.peer .message-attachments{justify-content:flex-start}

.room-assignment-tools{display:flex;gap:8px;margin:0 0 8px}.room-assignment-tools[hidden]{display:none}.assignment-dialog{width:min(650px,calc(100vw - 24px));max-height:85dvh;overflow:auto}.assignment-field{display:flex;flex-direction:column;gap:6px;margin:14px 0}.assignment-field textarea{width:100%;min-height:90px}.assignment-card{padding:14px 0;border-bottom:1px solid var(--border,#383d45)}.assignment-card h3{overflow-wrap:anywhere}.assignment-card .dialog-actions{flex-wrap:wrap;justify-content:flex-start}
.assignment-notice-bar{margin:8px 12px;padding:12px 16px;text-align:left;color:#dceaff;background:#26374a;border:1px solid #526b86;border-radius:12px;white-space:normal;font-size:15px;flex-shrink:0}.assignment-notice-bar[hidden]{display:none}.assignment-highlight{outline:2px solid #bdd6f9;outline-offset:2px}
.assignment-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}.assignment-tabs button{flex:1;white-space:nowrap;padding:10px 12px}

.assignment-title{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;list-style:none;font-size:1.17em;font-weight:700;padding:12px 0}.assignment-title::-webkit-details-marker{display:none}.assignment-title::after{content:"";width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);flex-shrink:0;margin-right:4px}.assignment-details[open]>.assignment-title::after{transform:rotate(45deg)}.assignment-title:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.message-label{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.message-time{color:var(--muted);font-size:12px;font-weight:400;white-space:nowrap}.message-date-divider{display:flex;align-items:center;gap:12px;margin:24px 0 18px;color:var(--muted);font-size:13px;text-align:center;flex-shrink:0}.message-date-divider::before,.message-date-divider::after{content:"";height:1px;flex:1;background:var(--line)}.message-date-divider span{white-space:nowrap}

.conversation{background-color:#111411;background-image:linear-gradient(#11141155,#11141155),url("/chat-construction-khaki-v1.png");background-size:620px 620px;background-repeat:repeat}.message-date-divider span{background:#111411;border-radius:12px;padding:3px 10px}
.message .message-body{padding:15px 19px;border-radius:16px;background:#232930}.message-label{width:fit-content;max-width:100%;padding:3px 9px;border-radius:8px;background:#232930}.work-progress{padding:10px 16px;border-radius:16px;background:#232930}.message.progress>.message-time{display:inline-block;padding:2px 6px;border-radius:6px;background:#232930}

.message-body>.message-time{display:block;text-align:right;margin-top:4px;line-height:1.2;font-size:12px;color:#aeb8c6;background:none;padding:0}

/* Version 18 personal navigation; existing mobile drawer and desktop layout retained. */
.personal-chat-nav{padding:8px 0;flex:none;border-bottom:1px solid var(--border,#343d47)}
.personal-chat-nav .task-button{width:100%;text-align:left;overflow-wrap:anywhere}
.personal-chat-nav .task-nav-row .task-button{width:auto;flex:1;min-width:0}
.personal-agent{padding:4px 0}.personal-agent>summary{cursor:pointer;padding:12px 8px}
.personal-agent>.task-button,.personal-agent>.task-nav-row{margin-left:8px;width:calc(100% - 8px)}
.personal-new-task{margin:5px 8px;font-size:13px}
.personal-assignments{padding:8px 16px 0;max-height:35vh;overflow:auto;flex:none}
.personal-assignments .assignment-card{margin-top:8px}
.personal-chat-nav{max-height:50vh;overflow:auto}
@media(max-width:700px){.personal-assignments{padding:8px 16px 0}.personal-chat-nav{max-height:65vh}}

.personal-agent-title{flex:1;min-width:0}.personal-agent>.direction-label>.add-task{margin-left:auto;padding:0;width:36px;min-width:36px;min-height:32px;border:0;background:transparent;color:var(--muted);font-size:18px;font-weight:400}.personal-agent>.direction-label{align-items:center}.personal-agent>.direction-label::before{align-self:center;margin-top:0}.personal-agent[open]>.direction-label::before{margin-top:0}.mobile-view .personal-agent>.direction-label>.add-task{min-height:44px}

.project-heading.selected-project{background:var(--active,#34445a);border-radius:10px}.project-folders-only{width:min(640px,calc(100vw - 24px));max-height:90dvh;overflow:auto}.project-folders-only .user-form fieldset>[hidden]{display:none!important}@media(max-width:760px){.project-folders-only{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0}.project-folders-only .folder-tree-row{min-height:44px}}
/* Message bubbles follow their text; long messages still fit the conversation. */
.conversation .message .message-body{width:fit-content;max-width:100%;min-width:0}
.conversation .message.user .message-body{max-width:calc(100% - 50px);margin-left:auto;margin-right:0}
.conversation .message.user.peer .message-body{margin-left:0;margin-right:auto}
.conversation .work-progress{width:fit-content;max-width:100%;min-width:0}
.mobile-view .conversation .message.user .message-body{max-width:calc(100% - 15px);margin-left:auto}
.mobile-view .conversation .message.user.peer .message-body{margin-left:0}
.conversation .work-progress{padding:6px 12px}
.conversation .work-progress-summary{min-height:32px}
.conversation .work-progress-content .message.progress{margin:4px 0 6px}
.conversation .work-progress-content .message.progress .message-body{padding:6px 10px;border-radius:8px}
.mobile-view .conversation .work-progress-summary{min-height:44px}

.generated-pdf{display:flex;flex-direction:column;gap:8px;max-width:100%}.pdf-actions{display:flex;gap:16px}.pdf-actions a{color:inherit;min-height:44px;display:inline-flex;align-items:center}

.pdf-actions{flex-wrap:wrap;align-items:center}.pdf-actions button{min-height:44px;color:inherit}.share-status{white-space:normal;max-width:34em}.share-status:empty{display:none}

.rename-button{display:grid;place-items:center;flex:0 0 32px;width:32px;height:44px;padding:0;border:0;background:transparent;color:var(--muted)}.rename-button:hover{color:var(--fg)}.direction .project-heading{grid-template-columns:28px minmax(0,1fr) 32px 36px}

/* Presentation-only company folders around the unchanged direction/project/task tree. */
#sidebar .visual-firm{margin:3px 0 8px;border:1px solid var(--line);border-radius:8px;overflow:hidden}
#sidebar .visual-firm-label{display:flex;align-items:center;gap:6px;min-height:42px;padding:5px 7px;background:#273446;font-weight:600;list-style:none}
#sidebar .visual-firm-label::-webkit-details-marker{display:none}
#sidebar .visual-firm-label::before{content:'▸';flex:0 0 11px}
#sidebar .visual-firm[open]>.visual-firm-label::before{content:'▾'}
#sidebar .visual-firm-name{flex:1;min-width:0;overflow-wrap:anywhere}
#sidebar .visual-firm-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:3px}
#sidebar .visual-firm-add{border:0;background:transparent;color:var(--fg);padding:5px;font-size:11px;white-space:nowrap}
#sidebar .visual-firm-add:hover{background:#36465c}
#sidebar .visual-firm-body{padding:3px 7px 7px}
#sidebar .visual-firm-body>.direction{margin:2px 0 5px}
.mobile-view #sidebar .visual-firm-label{min-height:48px;flex-wrap:wrap}
.mobile-view #sidebar .visual-firm-add{font-size:13px;min-height:44px}
.user-row{flex-wrap:wrap}.user-row>div{flex:1 1 160px}.user-row>button{flex:0 1 auto}
.visual-folder-admin-row,.visual-folder-placement{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:8px 0}
.visual-folder-admin-row strong,.visual-folder-placement span{flex:1 1 150px;min-width:0;overflow-wrap:anywhere}
.visual-folder-placement select{flex:1 1 130px;min-height:40px;background:var(--panel);color:var(--fg);border:1px solid var(--line);border-radius:8px;padding:6px}
.visual-folder-admin-row button,.visual-folder-placement button{min-height:40px}

.reorder-handle{cursor:pointer;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.is-dragging{opacity:.5}.reorder-handle:active,.is-dragging.reorder-handle,.is-dragging .reorder-handle{cursor:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2228%22%20height%3D%2228%22%20viewBox%3D%220%200%2028%2028%22%3E%3Cg%20fill%3D%22white%22%20stroke%3D%22%23161616%22%20stroke-width%3D%221.25%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%2013V8.5C8%205.5%2012%205.5%2012%208V6.8C12%204%2016%204%2016%206.8V8C16%205.5%2020%205.5%2020%208.5V10C20%207.5%2024%207.5%2024%2010.5V16C24%2019%2022%2020.5%2021%2022V25H11V22C9%2020%207%2019%205%2016.5L3.5%2014C2%2011.5%205%2010%206.5%2011.5Z%22%2F%3E%3Cpath%20d%3D%22M12%208V12M16%208V12M20%2010V13M8%2013L10%2015%22%20fill%3D%22none%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") 14 14,grabbing}.drop-before{box-shadow:0 -3px 0 var(--accent)}.drop-after{box-shadow:0 3px 0 var(--accent)}

.task-button.task-status-row{display:flex;align-items:center;gap:7px}.task-name-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-running-spinner{display:inline-block;flex:0 0 18px;width:18px;height:18px;border-radius:50%;background:conic-gradient(from 0deg,transparent 5%,currentColor 95%);mask:radial-gradient(farthest-side,transparent calc(100% - 2.5px),#000 calc(100% - 2px));-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 2.5px),#000 calc(100% - 2px));animation:task-spinner-rotate 1s linear infinite}.task-waiting-mark{flex:0 0 18px;text-align:center}@keyframes task-spinner-rotate{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.task-running-spinner{animation:none}}

.task-issues{flex:0 0 auto;max-height:36dvh;overflow:auto;padding:8px 16px;border-bottom:1px solid var(--line)}.task-issues summary{cursor:pointer}.task-issues p{white-space:pre-wrap;overflow-wrap:anywhere}.issue-dialog label{display:flex;flex-direction:column;gap:5px;margin:12px 0}.issue-dialog select{min-height:44px;background:var(--panel);color:var(--fg)}.issue-save{font-size:12px;margin:6px 0}.issue-badge{display:inline-block;margin-left:10px;background:#be3947;color:white;padding:0 7px;border-radius:12px}
.personal-assignments:not(.hidden)+.task-issues:not(.hidden){padding-top:0}
.composer-tools.is-recording .task-model-picker{display:none}.mobile-view .composer-tools .task-model-picker{align-self:center}.mobile-view .composer-tools:has(.task-model-picker)>div:last-child{margin-left:0}

.personal-chat-nav .static-arrow{display:flex;align-items:center;gap:5px;padding-left:0;font-weight:600}.personal-chat-nav .static-arrow::before{content:'';flex:0 0 0;width:0;height:0;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:11px solid currentColor;margin-right:4px}.personal-chat-nav .static-arrow .issue-badge{margin-left:auto}
.company-task-group{margin:6px 0 6px 8px;min-width:0}.company-task-group>.direction-label{background:#243649;border-radius:8px;padding:9px 8px}.company-task-group>.task-nav-row{margin-left:8px}.company-task-empty{padding:6px 12px;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.company-task-group .direction-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1}.legacy-task-group{margin-left:8px}
/* The working navigation fills the space between the brand and fixed user footer. */
aside#sidebar:has(>.personal-chat-nav){min-height:0;overflow:hidden}
:root #sidebar>.personal-chat-nav{flex:1 1 0;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;scrollbar-width:auto;-ms-overflow-style:auto}
:root #sidebar>.personal-chat-nav::-webkit-scrollbar{display:block;width:10px;height:10px}
#sidebar:has(>.personal-chat-nav)>nav:empty{display:none}
#sidebar:has(>.personal-chat-nav)>.brand{flex-shrink:0}
.personal-agent-heading{padding:6px 8px;font-weight:600;line-height:1.4;min-height:36px}.mobile-view .personal-agent-heading{font-size:17px;min-height:44px}
.message .recognized-upload-card{margin-top:10px;background:#232930;border:1px solid var(--line,#414853);border-radius:16px;box-shadow:none;padding:12px 14px;width:fit-content;max-width:100%}
.message .recognized-file-bubble{background:transparent;border:0;border-radius:0;padding:0;width:fit-content;max-width:100%;margin-bottom:6px}
