/* Composer and voice controls only; retain the original Labib page design. */
.composer-shell{position:relative;padding-top:10px;flex-shrink:0;width:100%;max-width:940px;margin-inline:auto}.composer{background:#f4f4f4;border:1px solid #e9e9e9;border-radius:28px;box-shadow:0 2px 8px #00000006;padding:15px 16px 10px}.composer:focus-within{border-color:#d2d2d2;box-shadow:0 2px 8px #00000006}.composer textarea{display:block;font-size:16px;line-height:1.7;min-height:31px;max-height:220px;padding:2px 3px 9px;margin:0;width:100%}.composer textarea::placeholder{color:#858585}.composer-footer{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;padding:3px 0 0;min-height:44px}.composer-hint{flex:1;font-size:10px!important;color:#999;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.round-control{border:0;background:transparent;color:#292929;width:38px;height:38px;min-width:38px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;padding:8px;cursor:pointer}.round-control:hover{background:#e6e6e6}.round-control svg{width:22px;height:22px;display:block}.dark-control{background:#242424;color:white}.dark-control:hover{background:#454545}.dark-control:disabled{background:#d9d9d9;color:#fff;opacity:1;cursor:default}#send-button{width:38px;height:38px;border:0;padding:8px;min-width:38px;border-radius:50%}#voice-toggle[aria-pressed=true]{background:#e7dcdc;color:#8a2333}.composer-footnote{font-size:10px;color:#969696;text-align:center;margin:7px 0 0;line-height:1.6}.attach-menu{position:absolute;bottom:calc(100% - 3px);inset-inline-start:0;background:#fff;border:1px solid #e9e9e9;border-radius:16px;box-shadow:0 8px 35px #0002;padding:7px;z-index:20;width:235px}.attach-menu button{display:flex;gap:12px;align-items:center;width:100%;text-align:start;background:none;border:0;border-radius:9px;padding:11px;font-size:13px}.attach-menu button:hover{background:#f2f2f2}.attach-menu svg{width:20px;height:20px}.draft-files{display:flex;gap:8px;overflow-x:auto;padding:0 0 12px}.draft-file{display:flex;align-items:center;position:relative;gap:10px;background:#fff;border:1px solid #e1e1e1;padding:9px 13px;border-radius:14px;min-width:160px;max-width:250px;flex-shrink:0}.draft-file>svg{width:27px;height:27px}.draft-file img{width:43px;height:43px;object-fit:cover;border-radius:6px}.draft-file-label{display:flex;flex-direction:column;min-width:0;padding-inline-end:12px}.draft-file strong{font-size:11px;max-width:155px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.draft-file small{font-size:10px;color:#999}.draft-file-remove{position:absolute;top:3px;inset-inline-end:3px;width:20px;height:20px;border:0;background:#eee;border-radius:50%;padding:3px}.draft-file-remove svg{width:14px;height:14px}
.voice-settings,.voice-dialog{border:1px solid #e9e9e9;border-radius:24px;box-shadow:0 24px 100px #0003;color:#222;max-width:calc(100vw - 32px);padding:24px}.voice-settings{width:430px}.voice-settings p{font-size:12px;color:#777;margin:18px 0 0}.voice-settings label{font-size:13px}.voice-settings select{width:100%;border:1px solid #ddd;border-radius:10px;padding:9px;background:white;margin:8px 0 15px}.voice-settings::backdrop,.voice-dialog::backdrop{background:#0004;backdrop-filter:blur(3px)}.voice-dialog{width:620px;height:620px;max-height:calc(100dvh - 40px);text-align:center}.voice-dialog-header{display:flex;justify-content:space-between;align-items:center}.voice-dialog-header h2{font-size:17px;margin:0}.voice-orb{height:185px;width:185px;margin:65px auto 28px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#dbe8df,#689084 57%,#244c41);display:grid;place-items:center;box-shadow:inset -12px -14px 40px #19362d55,0 8px 30px #1a463510;transition:transform .5s}.voice-orb span{color:white;font-size:72px;font-family:serif;opacity:.65}.voice-orb[data-phase=listening]{animation:voice-breathe 1.6s ease-in-out infinite}.voice-orb[data-phase=speaking]{animation:voice-breathe .65s ease-in-out infinite}.voice-orb[data-phase=waiting]{opacity:.6}.voice-dialog [role=status]{font-size:15px;color:#555;min-height:30px;margin-bottom:12px}.voice-caption{font-size:13px;max-height:75px;overflow:auto;color:#777;white-space:pre-wrap;margin:0 0 15px}.voice-controls{display:flex;justify-content:center;gap:12px;align-items:center}.voice-controls .round-control{background:#f0f0f0;width:46px;height:46px}.voice-controls [aria-pressed=true]{background:#edddd9;color:#9f2820}.voice-disclosure{font-size:10px;color:#999;line-height:1.7;margin:22px auto 0;max-width:420px}.dictation-bar{display:flex;align-items:center;gap:14px;height:58px}.dictation-bar .recording-indicator{display:flex;gap:4px;align-items:center;justify-content:center;flex:1;height:32px}.recording-indicator i{width:4px;height:12px;border-radius:4px;background:#555;animation:record-pulse .8s ease-in-out infinite alternate}.recording-indicator i:nth-child(3n){height:26px;animation-delay:.2s}.recording-indicator i:nth-child(3n+1){height:18px;animation-delay:.4s}#dictation-time{font-size:12px;color:#777}.composer.recording textarea,.composer.recording .composer-footer{display:none}.voice-interim{font-size:13px;color:#777;max-height:75px;overflow:auto;padding:8px;margin:0}

/* These styles are limited to the new composer, voice dialogs and login controls.
   The original page, navigation, welcome cards and message theme use styles.css. */
.shared-login-button{width:100%}.login-separator{display:flex;align-items:center;gap:15px;color:var(--muted);font-size:11px;margin:16px 0}.login-separator::before,.login-separator::after{content:'';flex:1;height:1px;background:var(--border)}
.password-field{position:relative}.password-field input{padding-left:48px}.password-field button{position:absolute;left:8px;top:8px}.bootstrap-login{font-size:11px;color:var(--muted);margin-top:20px}.bootstrap-login summary{cursor:pointer}.login-footnote{font-size:10px;color:var(--muted);margin-top:20px}
#voice-settings .checkbox-label{display:flex;align-items:start;gap:9px}#voice-settings .checkbox-label input{margin-top:6px;flex-shrink:0}
#upload-status{font-size:11px;padding:5px;color:#777}.composer textarea:placeholder-shown{direction:rtl;text-align:right}
#dictation-done{width:auto;min-width:76px;gap:7px;border-radius:20px;padding:8px 12px;font-size:12px}.composer.stopping .recording-indicator i{animation:none;opacity:.4}.dictation-state{font-size:11px;color:var(--muted)}
@keyframes record-pulse{to{transform:scaleY(.4);opacity:.5}}@keyframes voice-breathe{50%{transform:scale(1.035);filter:brightness(1.08)}}
@media(max-width:800px){.composer{border-radius:25px;padding:12px 12px 8px}.composer textarea{font-size:16px}.composer-footer>#composer-status{font-size:0!important}.composer-footer{gap:5px}.composer-shell{padding-top:7px}.voice-dialog{height:600px;padding:20px}.voice-orb{margin-top:60px;height:150px;width:150px}}
@media(prefers-reduced-motion:reduce){.recording-indicator i,.voice-orb{animation:none!important}}
/* Activity rows stay inside assistant messages; the surrounding page is unchanged. */
.agent-activity{margin:8px 0 17px;color:var(--muted);font-size:13px}.agent-activity-summary{display:flex;align-items:center;gap:9px;cursor:pointer;list-style:none;flex-wrap:wrap}.agent-activity-summary::-webkit-details-marker{display:none}.agent-marks{display:flex;gap:3px;flex-shrink:0}.agent-mark{display:inline-flex;width:22px;height:22px;flex-shrink:0}.agent-mark svg{width:100%;height:100%;fill:currentColor}.agent-mark svg>*{opacity:.55;stroke:white;stroke-width:.5}.agent-color-0{color:#dc70a7}.agent-color-1{color:#9477df}.agent-color-2{color:#48b992}.agent-color-3{color:#68a8d8}.agent-color-4{color:#c4a060}.agent-state{font-size:12px}.agent-chevron{margin-inline-start:auto}.agent-activity[open] .agent-chevron{transform:rotate(180deg)}.agent-stats{font-size:11px;margin:12px 0}.agent-task-list{border-inline-start:1px solid var(--border);padding-inline-start:14px;max-height:420px;overflow:auto}.agent-task{padding:10px 0;border-bottom:1px solid var(--border)}.agent-task-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.agent-task-title strong{font-size:12px;color:var(--text);font-weight:500}.agent-task-state{font-size:11px}.agent-task-info{font-size:10px;margin:5px 0;display:block}.agent-task-error{font-size:11px;color:var(--red)}.agent-task .text-button{font-size:11px}.agents-toggle{background:transparent;border:0;border-radius:18px;padding:5px 10px;font-size:12px;color:#555}.agents-toggle[aria-pressed=true]{background:#e1e8e3;color:#194a39}.agent-options{display:flex;align-items:center;gap:10px;font-size:11px;margin-bottom:8px;color:#666}.agent-options select{width:auto;padding:3px 8px;border:1px solid #ddd;border-radius:8px;background:white}.agent-options small{font-size:10px}.composer.recording .agent-options{display:none}
