:root{
  --bg:#f8f9fc;
  --surface:#ffffff;
  --surface-2:#f3f4f8;
  --surface-3:#eceef5;
  --text:#17181c;
  --text-soft:#5f6470;
  --text-faint:#8e93a0;
  --border:#e2e4eb;
  --border-strong:#d2d5df;
  --violet:#6657ff;
  --violet-2:#7b67ff;
  --cyan:#18c8d9;
  --cyan-soft:#e8fbfd;
  --green:#16b875;
  --red:#d84949;
  --shadow:0 18px 50px rgba(29,31,43,.12);
  --shadow-soft:0 8px 24px rgba(29,31,43,.08);
  --sidebar:286px;
  --radius:18px;
  color-scheme:light;
}

*{box-sizing:border-box}
html,body{margin:0;height:100%;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body{overflow:hidden}
button,input,textarea,select{font:inherit}
button{color:inherit}
a{color:inherit;text-decoration:none}
.hidden{display:none!important}
.muted{color:var(--text-soft)}

/* Shell */
.app-shell{display:flex;height:100vh;width:100vw;overflow:hidden;background:linear-gradient(140deg,#fafbff 0%,#f8f9fc 50%,#fbfdff 100%)}
.sidebar{width:var(--sidebar);min-width:var(--sidebar);height:100%;display:flex;flex-direction:column;background:rgba(246,247,250,.96);border-right:1px solid var(--border);padding:12px 10px 10px;transition:transform .24s ease,width .24s ease,min-width .24s ease;z-index:25}
.app-shell.sidebar-collapsed .sidebar{transform:translateX(calc(-1 * var(--sidebar)));width:0;min-width:0;padding-left:0;padding-right:0;border-right:0;overflow:hidden}
.sidebar-reopen{position:fixed;left:12px;top:13px;z-index:50;width:38px;height:38px;border:1px solid var(--border);background:var(--surface);border-radius:11px;box-shadow:var(--shadow-soft);font-size:23px;cursor:pointer}
.sidebar-top{display:flex;flex-direction:column;gap:5px}
.sidebar-brand-row{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 5px 2px}
.brand-lockup{display:flex;align-items:center;gap:10px;min-width:0}
.brand-lockup strong{font-size:15px;letter-spacing:-.2px}
.brand-logo{width:34px;height:34px;border-radius:11px;object-fit:cover;box-shadow:0 5px 18px rgba(102,87,255,.18)}
.icon-button{width:34px;height:34px;border:0;background:transparent;border-radius:10px;display:grid;place-items:center;cursor:pointer;color:var(--text-soft);font-size:18px;transition:.16s ease}
.icon-button:hover{background:var(--surface-3);color:var(--text)}
.sidebar-collapse{font-size:22px}
.new-chat-button,.sidebar-nav{border:0;background:transparent;width:100%;min-height:42px;border-radius:12px;display:flex;align-items:center;gap:11px;padding:9px 11px;cursor:pointer;text-align:left;transition:.15s ease}
.new-chat-button{background:var(--surface);border:1px solid var(--border);box-shadow:0 1px 0 rgba(0,0,0,.02);font-weight:600;margin:2px 0 5px}
.new-chat-button:hover{border-color:var(--border-strong);box-shadow:var(--shadow-soft)}
.sidebar-nav:hover{background:var(--surface-3)}
.nav-icon{width:23px;text-align:center;font-size:18px;color:#3b3f49}
.nav-badge{margin-left:auto;min-width:18px;text-align:right;color:var(--text-faint);font-size:11px}
.workspace-nav{display:flex;flex-direction:column;margin-top:4px}
.chat-search-wrap{padding:4px 4px 2px}
.chat-search-wrap input{width:100%;border:1px solid var(--border);background:var(--surface);border-radius:11px;padding:10px 11px;outline:none}
.chat-search-wrap input:focus{border-color:#aaa3ff;box-shadow:0 0 0 3px rgba(102,87,255,.10)}
.project-filter-row{padding:8px 5px 0}
.project-filter-chip{border:1px solid rgba(102,87,255,.22);background:#efedff;color:#5548e8;border-radius:999px;padding:6px 10px;cursor:pointer;font-size:12px}
.chat-list-scroll{flex:1;overflow:auto;padding:14px 4px 8px;scrollbar-width:thin}
.chat-section{margin-bottom:16px}
.chat-section-title{padding:6px 7px;color:var(--text-faint);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.65px}
.chat-list{display:flex;flex-direction:column;gap:2px}
.chat-item{position:relative;display:flex;align-items:center;gap:5px;border-radius:10px;min-height:38px;padding:0 4px 0 9px;cursor:pointer;color:#454954}
.chat-item:hover,.chat-item.active{background:#ebecef;color:var(--text)}
.chat-item.active{font-weight:600}
.chat-title{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13.5px}
.chat-more{opacity:0;border:0;background:transparent;border-radius:8px;width:28px;height:28px;cursor:pointer;color:var(--text-soft)}
.chat-item:hover .chat-more,.chat-item.active .chat-more{opacity:1}
.chat-more:hover{background:#dedfe4}
.account-row{margin-top:4px;border:1px solid transparent;border-radius:14px;background:transparent;display:flex;align-items:center;gap:10px;padding:9px 8px;width:100%;cursor:pointer;text-align:left}
.account-row:hover{background:var(--surface);border-color:var(--border)}
.avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--cyan),var(--violet));font-weight:700;font-size:12px;flex:0 0 auto}
.avatar.large{width:38px;height:38px}
.account-copy{min-width:0;display:flex;flex-direction:column;flex:1}
.account-copy strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-copy span{font-size:11px;color:var(--text-faint);margin-top:2px}
.account-chevron{color:var(--text-faint);font-size:14px}

/* Main */
.main-panel{position:relative;flex:1;min-width:0;height:100%;display:flex;flex-direction:column;background:var(--surface)}
.topbar{height:62px;flex:0 0 62px;display:flex;align-items:center;justify-content:space-between;padding:0 16px 0 18px;border-bottom:1px solid var(--border);background:rgba(255,255,255,.91);backdrop-filter:blur(16px);z-index:14}
.topbar-title{font-weight:700;font-size:14px;max-width:360px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar-subtitle{font-size:10.5px;color:var(--text-faint);margin-top:2px}
.topbar-actions{display:flex;align-items:center;gap:7px}
.topbar-button,.soft-pill,.status-pill{border:1px solid var(--border);background:var(--surface);border-radius:12px;min-height:36px;padding:0 11px;display:flex;align-items:center;gap:7px;font-size:12px;color:var(--text-soft)}
.topbar-button,.soft-pill{cursor:pointer}
.topbar-button:hover,.soft-pill:hover{background:var(--surface-2);color:var(--text)}
.status-pill{padding-right:12px}
.status-dot{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px rgba(22,184,117,.10)}
.status-dot.loading{background:#d6a11f;animation:pulse 1s infinite}
.status-dot.offline{background:var(--red)}
.notification-button{position:relative;border:1px solid var(--border);background:var(--surface)}
.notification-badge{position:absolute;right:-2px;top:-3px;min-width:16px;height:16px;padding:0 4px;border-radius:9px;background:var(--violet);color:#fff;font-size:9px;display:grid;place-items:center}

.conversation{flex:1;overflow:auto;scroll-behavior:smooth;padding:0 18px 188px;position:relative;scrollbar-width:thin}
.welcome-view{min-height:calc(100vh - 220px);max-width:940px;margin:0 auto;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:42px 16px 80px}
.welcome-logo{width:70px;height:70px;border-radius:22px;object-fit:cover;box-shadow:0 14px 34px rgba(102,87,255,.22)}
.welcome-view h1{font-size:32px;letter-spacing:-1.1px;margin:25px 0 8px}
.welcome-view>p{color:var(--text-soft);margin:0;max-width:620px}
.starter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;width:100%;margin-top:34px}
.starter-card{min-height:96px;border:1px solid var(--border);background:linear-gradient(160deg,#fff,#fbfbfe);border-radius:17px;padding:16px;text-align:left;cursor:pointer;transition:.18s ease;box-shadow:0 1px 0 rgba(0,0,0,.015)}
.starter-card:hover{transform:translateY(-2px);border-color:#c9c5ff;box-shadow:0 12px 24px rgba(44,38,112,.08)}
.starter-card strong{display:block;font-size:13.5px}
.starter-card span{display:block;color:var(--text-faint);font-size:12px;margin-top:7px;line-height:1.35}
.starter-icon{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:linear-gradient(135deg,#eeecff,#e5fbfd);color:#5e52e7;margin-bottom:11px}

.messages{max-width:820px;margin:0 auto;padding-top:34px}
.message-row{display:flex;gap:12px;margin:0 0 25px;scroll-margin-top:80px;animation:messageIn .17s ease both}
.message-user{justify-content:flex-end}
.message-user .message-body{display:flex;flex-direction:column;align-items:flex-end;max-width:min(78%,680px)}
.message-bubble{background:#f0f1f4;border:1px solid #ececf0;border-radius:18px 18px 5px 18px;padding:10px 14px;line-height:1.52;font-size:14.5px;white-space:pre-wrap;word-break:break-word}
.message-attachments{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:7px;justify-content:flex-end}
.message-attachment{display:flex;align-items:center;gap:7px;border:1px solid var(--border);background:var(--surface);border-radius:10px;padding:6px 9px;font-size:11px;color:var(--text-soft)}
.message-assistant{align-items:flex-start}
.assistant-avatar{width:28px;height:28px;border-radius:9px;flex:0 0 28px;overflow:hidden;margin-top:2px;box-shadow:0 4px 12px rgba(102,87,255,.12)}
.assistant-avatar img{width:100%;height:100%;object-fit:cover}
.assistant-body{min-width:0;flex:1;max-width:760px}
.assistant-content{font-size:14.5px;line-height:1.68;color:#24262c;word-break:break-word}
.assistant-content p{margin:.15em 0 .85em}
.assistant-content h1,.assistant-content h2,.assistant-content h3{line-height:1.25;margin:1.15em 0 .55em;letter-spacing:-.3px}
.assistant-content h1{font-size:23px}.assistant-content h2{font-size:19px}.assistant-content h3{font-size:16px}
.assistant-content ul,.assistant-content ol{padding-left:24px;margin:.4em 0 .9em}
.assistant-content li{margin:.25em 0}
.assistant-content blockquote{margin:.8em 0;padding:7px 13px;border-left:3px solid #b7b1ff;background:#f7f6ff;border-radius:0 10px 10px 0;color:#525565}
.assistant-content code{background:#f1f2f5;border:1px solid #e6e7eb;padding:1px 5px;border-radius:6px;font:12.5px ui-monospace,SFMono-Regular,Consolas,monospace}
.assistant-content pre{position:relative;background:#14161b;color:#e8eaf0;border-radius:14px;padding:16px;overflow:auto;margin:12px 0;border:1px solid #242833}
.assistant-content pre code{background:transparent;border:0;padding:0;color:inherit;font-size:12.5px}
.assistant-content a{color:#5548e8;text-decoration:underline;text-underline-offset:2px}
.message-actions{display:flex;align-items:center;gap:1px;margin-top:7px;opacity:1;transition:.14s ease}
.message-actions.generating{opacity:0;pointer-events:none}
.message-action{border:0;background:transparent;width:30px;height:30px;border-radius:8px;color:#777c88;display:grid;place-items:center;cursor:pointer;font-size:14px}
.message-action:hover{background:#f0f1f4;color:#22242a}
.message-action.active{color:var(--violet);background:#efedff}
.source-chip{width:auto;padding:0 9px;display:flex;gap:5px;font-size:11px}
.stopped-label{font-size:11px;color:var(--text-faint);margin-top:6px}
.streaming-caret::after{content:"";display:inline-block;width:7px;height:16px;background:#6f62ff;border-radius:2px;margin-left:4px;vertical-align:-2px;animation:blink .9s steps(1) infinite}

/* Composer */
.composer-zone{position:absolute;left:0;right:0;bottom:0;z-index:12;padding:36px 18px 12px;background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.92) 25%,#fff 55%)}
.composer-card{max-width:820px;margin:0 auto;border:1px solid #d9dbe3;background:rgba(255,255,255,.98);border-radius:22px;padding:10px 10px 8px;box-shadow:0 10px 30px rgba(31,33,44,.08);transition:.18s ease}
.composer-card:focus-within{border-color:#b6b0ff;box-shadow:0 10px 32px rgba(92,77,213,.10),0 0 0 3px rgba(102,87,255,.06)}
#messageInput{display:block;width:100%;min-height:34px;max-height:170px;resize:none;border:0;outline:0;padding:6px 8px 8px;background:transparent;color:var(--text);font-size:15px;line-height:1.5;overflow:auto}
#messageInput::placeholder{color:#9498a2}
.composer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px}
.composer-left-tools,.composer-right-tools{display:flex;align-items:center;gap:6px}
.composer-tool{border:0;background:transparent;width:36px;height:36px;border-radius:12px;display:grid;place-items:center;cursor:pointer;color:#525762;font-size:20px;transition:.14s ease}
.composer-tool:hover{background:#f0f1f5}
.plus-button{font-size:25px;font-weight:300}
.mic-button.listening{color:#fff;background:linear-gradient(135deg,var(--cyan),var(--violet));animation:pulse 1.1s infinite}
.send-button,.stop-button{width:37px;height:37px;border:0;border-radius:12px;display:grid;place-items:center;cursor:pointer;font-size:20px}
.send-button{background:#17191e;color:#fff}.send-button:hover{background:#2b2e35}
.stop-button{background:#17191e;color:#fff;font-size:14px}
.effort-button{height:36px;border:1px solid transparent;background:transparent;border-radius:12px;padding:0 8px;display:flex;align-items:center;gap:5px;cursor:pointer;color:#545965;font-size:12px}
.effort-button:hover{background:#f0f1f5}.effort-button strong{color:#24262c}.think-spark{color:#7467ff}.chevron{font-size:10px;color:#90949d}
.composer-note{text-align:center;color:#9a9ea8;font-size:10.5px;margin-top:8px}
.generation-status{max-width:820px;margin:0 auto 8px;display:flex;align-items:center;gap:8px;color:#656a75;font-size:12px;padding-left:7px}
.thinking-spinner{width:14px;height:14px;border:2px solid #dedcf9;border-top-color:#6d5eff;border-radius:50%;animation:spin .75s linear infinite}
.attachment-chips{max-width:820px;margin:0 auto 8px;display:flex;gap:7px;flex-wrap:wrap}
.attachment-chip{display:flex;align-items:center;gap:7px;border:1px solid var(--border);background:#fff;border-radius:12px;padding:7px 9px;font-size:11px;color:#555a66;box-shadow:0 3px 12px rgba(20,22,30,.04)}
.attachment-chip button{border:0;background:transparent;cursor:pointer;color:#969aa4}

/* Outline */
.outline-rail{position:absolute;right:8px;top:70px;bottom:172px;width:40px;z-index:11;display:flex;justify-content:center;pointer-events:none}
.outline-toggle{pointer-events:auto;border:0;background:transparent;width:34px;padding:8px 0;cursor:pointer;opacity:.55}
.outline-toggle:hover{opacity:1}
.outline-bars{display:flex;flex-direction:column;gap:4px;align-items:center}
.outline-bars i{display:block;height:2px;background:#a8abb3;border-radius:2px}
.outline-panel{pointer-events:auto;position:absolute;right:34px;top:4px;width:245px;max-height:70vh;background:#fff;border:1px solid var(--border);border-radius:15px;box-shadow:var(--shadow);padding:9px;overflow:hidden}
.outline-head{display:flex;align-items:center;justify-content:space-between;padding:4px 6px 8px;font-size:12px}
.outline-list{overflow:auto;max-height:calc(70vh - 50px);display:flex;flex-direction:column;gap:2px}
.outline-item{border:0;background:transparent;text-align:left;padding:8px;border-radius:8px;cursor:pointer;color:#666b76;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.outline-item:hover{background:#f2f3f6;color:#22252b}

/* Popovers */
.popover{position:fixed;z-index:100;background:rgba(255,255,255,.98);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);padding:7px;min-width:210px;backdrop-filter:blur(16px);animation:popoverIn .12s ease both}
.popover-action{width:100%;border:0;background:transparent;border-radius:9px;min-height:38px;padding:8px 10px;display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer;font-size:13px;color:#32353d}
a.popover-action{display:flex}
.popover-action:hover{background:#f1f2f5}.popover-action.danger{color:#c23c3c}.popover-action.has-submenu>span:last-child{margin-left:auto}
.menu-divider{height:1px;background:var(--border);margin:6px 5px}
.account-menu{width:255px}.account-menu-profile{border:0;background:transparent;width:100%;display:flex;align-items:center;gap:10px;text-align:left;padding:8px;border-radius:10px;cursor:pointer}.account-menu-profile:hover{background:#f1f2f5}.account-menu-profile>div:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column}.account-menu-profile strong{font-size:13px}.account-menu-profile span{font-size:10.5px;color:var(--text-faint);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.help-menu{width:230px}.plus-menu{width:360px;padding:7px}.tool-menu-item{width:100%;display:flex;align-items:center;gap:11px;border:0;background:transparent;border-radius:11px;padding:9px 10px;text-align:left;cursor:pointer}.tool-menu-item:hover{background:#f0f1f4}.tool-icon{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;color:#3d414b;font-size:14px}.gradient-icon{background:linear-gradient(135deg,#6e5cff,#24cbd8);color:#fff}.tool-menu-item div{display:flex;flex-direction:column;min-width:0}.tool-menu-item strong{font-size:13px}.tool-menu-item span:last-child{font-size:11px;color:#9296a0;margin-top:2px}
.effort-menu{width:260px}.effort-option{border:0;background:transparent;width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;padding:10px;border-radius:10px;cursor:pointer}.effort-option:hover{background:#f2f3f6}.effort-option div{display:flex;flex-direction:column}.effort-option strong{font-size:13px}.effort-option span{font-size:10.5px;color:#90949e;margin-top:2px}.effort-check{color:var(--violet)!important;font-size:13px!important}

/* Modals */
.modal{position:fixed;inset:0;z-index:150;background:rgba(19,20,27,.30);backdrop-filter:blur(5px);display:grid;place-items:center;padding:18px;animation:fadeIn .13s ease}
.modal-card{width:min(560px,calc(100vw - 28px));max-height:88vh;overflow:auto;background:#fff;border:1px solid var(--border);border-radius:20px;box-shadow:0 28px 80px rgba(26,28,40,.22);padding:19px}
.wide-modal{width:min(760px,calc(100vw - 28px))}.workspace-modal{width:min(880px,calc(100vw - 28px))}.settings-modal{width:min(610px,calc(100vw - 28px))}.small-modal{width:min(480px,calc(100vw - 28px))}
.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}.modal-head h2{margin:0;font-size:18px;letter-spacing:-.35px}.modal-head p{margin:5px 0 0;color:var(--text-faint);font-size:11.5px}.modal-close{border:0;background:transparent;width:34px;height:34px;border-radius:10px;cursor:pointer;font-size:23px;color:#767b85}.modal-close:hover{background:#f0f1f5}
.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.primary-button,.secondary-button{border-radius:10px;min-height:38px;padding:0 14px;font-weight:600;font-size:12px;cursor:pointer}.primary-button{border:0;background:linear-gradient(135deg,#6355f6,#7767ff);color:#fff;box-shadow:0 6px 16px rgba(102,87,255,.18)}.primary-button:hover{filter:brightness(.97)}.secondary-button{border:1px solid var(--border);background:#fff;color:#4f535d}.secondary-button:hover{background:#f3f4f7}
.settings-input,.settings-textarea{width:100%;border:1px solid var(--border);background:#fff;border-radius:11px;padding:10px 11px;outline:0;color:var(--text)}.settings-input:focus,.settings-textarea:focus{border-color:#aaa3ff;box-shadow:0 0 0 3px rgba(102,87,255,.08)}.settings-textarea{resize:vertical;min-height:130px;line-height:1.5}.settings-textarea.tall{min-height:330px}.settings-textarea.compact{min-height:86px}.field-label{display:flex;flex-direction:column;gap:6px;color:#5e636e;font-size:11.5px;margin-bottom:12px}.instruction-tip{background:linear-gradient(135deg,#f4f2ff,#effcfd);border:1px solid #e5e1ff;color:#595d69;border-radius:12px;padding:11px 12px;font-size:11.5px;line-height:1.5;margin-bottom:11px}
.memory-add-row,.create-row,.library-toolbar,.task-form-row{display:flex;gap:8px}.memory-add-row input:first-child{max-width:180px}.memory-list,.card-list{display:flex;flex-direction:column;gap:8px;margin-top:14px}.memory-item,.list-card{border:1px solid var(--border);border-radius:13px;background:#fbfbfd;padding:11px 12px}.memory-item-head,.list-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.memory-key,.list-card strong{font-size:12.5px}.memory-value,.list-card p{font-size:11.5px;color:#6c717c;line-height:1.45;margin:5px 0 0}.mini-button{border:0;background:transparent;color:#777c86;cursor:pointer;border-radius:7px;padding:5px 7px}.mini-button:hover{background:#eceef2}.mini-button.danger{color:#c54343}
.task-form{border:1px solid var(--border);background:#fafbfe;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:8px}.task-form-row>*{flex:1}.task-form-row button{flex:0 0 auto}.task-status{display:inline-flex;padding:3px 7px;border-radius:999px;background:#e8f8f0;color:#198459;font-size:10px}.task-status.off{background:#eeeef1;color:#777b84}
.plugin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.plugin-card{border:1px solid var(--border);border-radius:14px;padding:13px;background:#fbfbfd}.plugin-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.plugin-card h3{font-size:13px;margin:0}.plugin-card p{font-size:11.5px;color:#727783;line-height:1.45;margin:7px 0}.plugin-ready{font-size:10px;padding:4px 7px;border-radius:999px;background:#e5f9ef;color:#168456}.plugin-ready.off{background:#f3efff;color:#6254d8}.plugin-setup{font:10.5px ui-monospace,SFMono-Regular,Consolas,monospace;background:#f0f1f4;padding:7px;border-radius:8px;word-break:break-word}
.file-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:13px}.file-card{border:1px solid var(--border);background:#fbfbfd;border-radius:13px;padding:10px;display:flex;gap:10px;align-items:center;min-width:0}.file-icon{width:38px;height:38px;border-radius:10px;background:linear-gradient(135deg,#eff0ff,#e8fbfd);display:grid;place-items:center;color:#6256e4;font-size:11px;font-weight:700}.file-copy{min-width:0;flex:1}.file-copy strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-copy span{font-size:10.5px;color:#9498a1}.file-actions{display:flex}.file-select{cursor:pointer}.file-select.selected{border-color:#9d95ff;background:#f6f4ff}
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.settings-grid .field-label:last-child{grid-column:1/-1}
.shortcut-list{display:flex;flex-direction:column;gap:5px}.shortcut-list>div{display:flex;align-items:center;padding:9px;border-bottom:1px solid #f0f1f4;font-size:12px}.shortcut-list>div span{flex:1}.shortcut-list kbd{border:1px solid #d7d9df;background:#f3f4f6;border-radius:6px;padding:3px 6px;font-size:10px;box-shadow:0 1px 0 #ccc}

/* Media */
.media-tabs{display:flex;gap:5px;border-bottom:1px solid var(--border);margin-bottom:14px}.media-tab{border:0;background:transparent;padding:9px 12px;cursor:pointer;color:#747985;border-bottom:2px solid transparent}.media-tab.active{color:#3029a7;border-bottom-color:#6657ff;font-weight:600}.media-panel{display:flex;flex-direction:column;gap:10px}.media-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:320px;overflow:auto}.media-pick-card{border:2px solid transparent;background:#f7f8fb;border-radius:12px;overflow:hidden;cursor:pointer;position:relative;aspect-ratio:1.25}.media-pick-card img{width:100%;height:100%;object-fit:cover}.media-pick-card.selected{border-color:#6a5bff}.media-pick-card .check{position:absolute;right:7px;top:7px;width:20px;height:20px;border-radius:50%;background:#6a5bff;color:#fff;display:none;place-items:center;font-size:11px}.media-pick-card.selected .check{display:grid}.media-result{margin-top:12px;border:1px solid var(--border);border-radius:13px;padding:10px;background:#fafbfe}.media-result img,.media-result video{display:block;max-width:100%;max-height:420px;border-radius:10px;margin:auto}.media-result a{display:inline-block;margin-top:9px;color:#584be2;font-size:12px}

/* Call */
.call-modal{background:radial-gradient(circle at center,rgba(102,87,255,.18),rgba(13,14,20,.80));backdrop-filter:blur(18px)}.call-card{position:relative;width:min(520px,calc(100vw - 24px));min-height:590px;border-radius:28px;background:linear-gradient(155deg,#171921,#0e1016);color:#fff;box-shadow:0 30px 100px rgba(0,0,0,.45);padding:34px;display:flex;align-items:center;flex-direction:column;text-align:center}.call-close{position:absolute;right:18px;top:18px;width:36px;height:36px;border:0;border-radius:50%;background:#2a2d36;color:#fff;cursor:pointer;font-size:20px}.call-logo{width:96px;height:96px;border-radius:29px;object-fit:cover;margin-top:42px;box-shadow:0 0 42px rgba(102,87,255,.35)}.call-card h2{font-size:25px;margin:22px 0 6px}.call-card>p{margin:0;color:#a8acb7;font-size:12px}.call-transcript{width:100%;min-height:115px;max-height:170px;overflow:auto;margin:24px 0;background:#171a22;border:1px solid #292d38;border-radius:16px;padding:12px;text-align:left;color:#d9dbe2;font-size:12.5px;line-height:1.5}.call-controls{display:flex;align-items:center;gap:12px}.call-mic{width:68px;height:68px;border:0;border-radius:50%;background:linear-gradient(135deg,#28cbd7,#6c5aff);color:#fff;font-size:26px;cursor:pointer;box-shadow:0 12px 35px rgba(102,87,255,.3)}.call-mic.listening{animation:pulse 1s infinite}.call-end{border:0;background:#d64848;color:#fff;border-radius:999px;padding:13px 21px;cursor:pointer}.call-voice-label{width:100%;max-width:300px;margin-top:28px;color:#a8acb7;font-size:11px;text-align:left}.call-voice-label select{margin-top:7px;background:#1a1d25;border-color:#30343e;color:#fff}

/* Auth */
.auth-body{overflow:auto;background:#f7f8fb}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(340px,46%) 1fr}.auth-brand-panel{padding:34px 48px;display:flex;flex-direction:column;background:linear-gradient(150deg,#14161e 0%,#20233a 48%,#302a78 100%);color:#fff}.auth-brand-panel .brand-logo{width:43px;height:43px;border-radius:13px}.brand-title{font-weight:700;font-size:17px}.brand-caption{font-size:11px;color:#b8bcc9;margin-top:2px}.auth-hero-copy{margin:auto 0;max-width:550px}.auth-hero-copy h1{font-size:42px;line-height:1.08;letter-spacing:-1.8px;margin:0 0 17px}.auth-hero-copy p{color:#c8cad2;line-height:1.55}.feature-stack{display:flex;flex-direction:column;gap:9px;margin-top:27px}.feature-row{display:flex;gap:9px;color:#dddfe6;font-size:13px}.feature-row span{color:#69dfcf}.auth-legal-links{display:flex;gap:18px;font-size:11px;color:#aeb1bd}.auth-card-wrap{display:grid;place-items:center;padding:28px;background:#fbfbfd}.auth-card{width:min(430px,100%);background:#fff;border:1px solid var(--border);border-radius:22px;padding:25px;box-shadow:var(--shadow-soft)}.mobile-brand{display:none;align-items:center;gap:9px;margin-bottom:18px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;background:#f1f2f5;border-radius:11px;padding:3px;margin-bottom:21px}.auth-tab{border:0;background:transparent;border-radius:9px;padding:9px;cursor:pointer;color:#737783}.auth-tab.active{background:#fff;color:#1e2025;box-shadow:0 2px 8px rgba(25,27,35,.08);font-weight:600}.auth-panel h2{margin:0;font-size:23px}.auth-muted{color:#858a95;font-size:12px;margin:7px 0 18px}.oauth-grid{display:grid;grid-template-columns:1fr;gap:8px}.oauth-button{min-height:44px;border:1px solid var(--border);border-radius:11px;display:flex;align-items:center;justify-content:center;gap:9px;font-size:12.5px;font-weight:600;background:#fff}.oauth-button:hover{background:#f8f8fa}.oauth-button.disabled{opacity:.5;cursor:not-allowed}.oauth-letter{width:24px;text-align:center}.auth-divider{display:flex;align-items:center;gap:10px;color:#a0a4ad;font-size:10px;margin:17px 0}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:var(--border);flex:1}.auth-form{display:flex;flex-direction:column;gap:11px}.auth-form label{display:flex;flex-direction:column;gap:5px;color:#666b75;font-size:11px}.auth-form input{border:1px solid var(--border);border-radius:10px;padding:11px;outline:none}.auth-form input:focus{border-color:#aaa3ff;box-shadow:0 0 0 3px rgba(102,87,255,.07)}.auth-primary,.auth-secondary{min-height:42px;border-radius:11px;font-weight:600;cursor:pointer}.auth-primary{border:0;background:#17191e;color:#fff}.auth-secondary{border:1px solid var(--border);background:#fff}.auth-text-button,.back-link{border:0;background:transparent;color:#5c50d7;cursor:pointer;font-size:11px;margin-top:10px}.auth-alert{padding:10px;border-radius:10px;background:#fff0f0;color:#b84343;font-size:11.5px;margin-bottom:12px}.auth-alert.success{background:#eaf9f1;color:#187f56}.auth-footnote{text-align:center;font-size:10px;color:#a2a6af;margin:18px 0 0}

/* Legal */
.legal-body{overflow:auto;background:#f7f8fb}.legal-shell{max-width:820px;margin:0 auto;padding:36px 20px 80px}.legal-head{display:flex;align-items:center;gap:12px;margin-bottom:30px}.legal-head img{width:40px;height:40px;border-radius:12px}.legal-card{background:#fff;border:1px solid var(--border);border-radius:18px;padding:26px;box-shadow:var(--shadow-soft)}.legal-card h1{margin-top:0}.legal-card h2{font-size:17px;margin-top:24px}.legal-card p,.legal-card li{color:#616671;line-height:1.6;font-size:13px}

/* Toast */
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:250;background:#191b21;color:#fff;border-radius:10px;padding:9px 13px;font-size:11.5px;box-shadow:var(--shadow);animation:toastIn .15s ease}

@keyframes spin{to{transform:rotate(360deg)}}
@keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(.96)}}
@keyframes blink{0%,45%{opacity:1}46%,100%{opacity:0}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes popoverIn{from{opacity:0;transform:translateY(5px) scale(.985)}to{opacity:1;transform:none}}
@keyframes toastIn{from{opacity:0;transform:translate(-50%,6px)}to{opacity:1;transform:translate(-50%,0)}}
@keyframes messageIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}

@media(max-width:980px){
  :root{--sidebar:260px}
  .starter-grid{grid-template-columns:1fr 1fr}.outline-rail{display:none}.button-text{display:none}
}
@media(max-width:760px){
  .sidebar{position:fixed;left:0;top:0;bottom:0;box-shadow:var(--shadow);transform:translateX(-105%)}
  .app-shell.mobile-sidebar-open .sidebar{transform:translateX(0)}
  .app-shell.sidebar-collapsed .sidebar{transform:translateX(-105%);width:var(--sidebar);min-width:var(--sidebar)}
  .sidebar-reopen{display:block!important}
  .topbar{padding-left:56px}.topbar-subtitle{display:none}.status-pill span:last-child{display:none}.status-pill{padding:0 9px}.topbar-actions{gap:4px}.soft-pill{padding:0 8px}
  .conversation{padding-left:12px;padding-right:12px}.messages{padding-top:24px}.message-user .message-body{max-width:90%}.composer-zone{padding-left:10px;padding-right:10px}.composer-right-tools{gap:3px}.effort-button span:nth-child(2){display:none}
  .welcome-view h1{font-size:26px}.starter-grid{grid-template-columns:1fr}.welcome-view{padding-top:20px}.plugin-grid,.file-grid{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr}.settings-grid .field-label:last-child{grid-column:auto}.memory-add-row,.task-form-row{flex-direction:column}.memory-add-row input:first-child{max-width:none}.media-picker{grid-template-columns:repeat(2,1fr)}
  .auth-shell{grid-template-columns:1fr}.auth-brand-panel{display:none}.auth-card-wrap{min-height:100vh}.mobile-brand{display:flex}.auth-card{box-shadow:none}
}

/* V0.6 brand/auth/legal refinements */
.brand-logo-image{width:43px;height:43px;border-radius:13px;object-fit:cover;display:block;box-shadow:0 8px 24px rgba(94,77,255,.18)}
.brand-logo-image.small{width:34px;height:34px;border-radius:10px;box-shadow:0 5px 16px rgba(94,77,255,.15)}
.auth-brand-panel .brand-lockup{color:#fff}
.eyebrow{display:inline-flex;padding:5px 9px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.07);border-radius:999px;color:#cdd0dc;font-size:10px;letter-spacing:.12em;font-weight:700;margin-bottom:18px}
.oauth-grid-two{grid-template-columns:1fr 1fr}
.google-letter{font-weight:800;color:#3767d7}.github-letter{font-size:9px;font-weight:800;color:#1f2228}
.legal-page{max-width:820px;margin:0 auto;padding:36px 20px 80px;line-height:1.6}
.legal-page>.brand-lockup{margin-bottom:34px;color:#202228}
.legal-page h1{font-size:34px;letter-spacing:-1px;margin:0 0 20px}.legal-page h2{font-size:17px;margin:26px 0 8px}.legal-page p,.legal-page li{font-size:13px;color:#616671}.legal-page code{font:12px ui-monospace,SFMono-Regular,Consolas,monospace;background:#eceef4;border-radius:6px;padding:2px 5px}.legal-page ul{padding-left:20px}.legal-page .auth-text-button{display:inline-block;margin-top:20px}
@media(max-width:760px){.oauth-grid-two{grid-template-columns:1fr}}
.message-attachments{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:7px}.message-attachment{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--border);background:#fff;border-radius:11px;padding:6px 9px;color:#666b75;font-size:10.5px;max-width:260px}.image-attachment{padding:5px;text-decoration:none}.image-attachment img{width:46px;height:46px;object-fit:cover;border-radius:8px}.image-attachment span{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ========================================================================== */
/* V0.6.2 public auth, help/legal and feedback polish                          */
/* ========================================================================== */
.message-action svg{width:17px;height:17px;display:block;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.message-action.more-action svg circle{fill:currentColor;stroke:none}
.message-action{transition:background .16s ease,color .16s ease,transform .16s ease,border-color .16s ease}
.message-action:hover{transform:translateY(-1px)}
.message-action.like-action.active{color:#16845e;background:#ecfaf4;border-color:#c9eee0}
.message-action.dislike-action.active{color:#b33a45;background:#fff1f2;border-color:#f1cdd1}

.auth-body{background:#f7f8fc;min-height:100vh}
.auth-shell-premium{position:relative;isolation:isolate;background:#f8f9fc}
.auth-brand-premium{position:relative;overflow:hidden;isolation:isolate;background:
  radial-gradient(circle at 18% 18%,rgba(115,94,255,.33),transparent 34%),
  radial-gradient(circle at 82% 72%,rgba(21,201,219,.18),transparent 30%),
  linear-gradient(150deg,#0d0f18 0%,#171b2b 45%,#24205b 100%)}
.auth-brand-premium>*{position:relative;z-index:2}
.auth-grid-glow{position:absolute;inset:0;z-index:0!important;opacity:.18;background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to bottom,black,transparent 85%);animation:authGridDrift 22s linear infinite}
.auth-orb{position:absolute!important;z-index:1!important;border-radius:50%;filter:blur(4px);pointer-events:none}
.auth-orb-one{width:330px;height:330px;right:-130px;top:7%;background:radial-gradient(circle,rgba(118,91,255,.42),rgba(118,91,255,0) 70%);animation:authFloatOne 9s ease-in-out infinite}
.auth-orb-two{width:290px;height:290px;left:-120px;bottom:8%;background:radial-gradient(circle,rgba(24,200,217,.25),rgba(24,200,217,0) 70%);animation:authFloatTwo 11s ease-in-out infinite}
.auth-brand-lockup{animation:authRise .7s cubic-bezier(.2,.75,.25,1) both}
.auth-logo-wrap{position:relative;width:48px;height:48px;display:grid;place-items:center}
.auth-logo{width:44px;height:44px;border-radius:14px;box-shadow:0 12px 30px rgba(87,72,255,.3)}
.auth-logo-ring{position:absolute;inset:-4px;border-radius:18px;border:1px solid rgba(255,255,255,.19);animation:authLogoPulse 3.4s ease-in-out infinite}
.auth-hero-premium{animation:authRise .75s .08s cubic-bezier(.2,.75,.25,1) both}
.auth-hero-premium h1{max-width:620px;font-size:clamp(39px,4.2vw,58px);line-height:1.01;letter-spacing:-2.5px;text-wrap:balance}
.auth-hero-premium>p{font-size:15px;max-width:590px;color:#c6cad8}
.auth-hero-premium .eyebrow{gap:7px;align-items:center;color:#e0e2ea;background:rgba(255,255,255,.075);backdrop-filter:blur(12px)}
.live-dot{width:7px;height:7px;border-radius:50%;background:#32d59c;display:inline-block;box-shadow:0 0 0 4px rgba(50,213,156,.12);animation:livePulse 2s ease-in-out infinite}
.feature-stack-premium{gap:11px;max-width:580px}
.feature-stack-premium .feature-row{padding:11px 12px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(255,255,255,.045);backdrop-filter:blur(10px);align-items:flex-start;transition:transform .22s ease,background .22s ease,border-color .22s ease}
.feature-stack-premium .feature-row:hover{transform:translateX(4px);background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.14)}
.feature-stack-premium .feature-row div{display:flex;flex-direction:column;gap:3px}.feature-stack-premium .feature-row strong{font-size:12.5px;color:#f4f5f8}.feature-stack-premium .feature-row small{font-size:11px;color:#aeb4c5;line-height:1.4}
.feature-check{width:23px;height:23px;flex:0 0 23px;border-radius:8px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(38,213,177,.18),rgba(32,197,216,.16));color:#68e1c2!important;border:1px solid rgba(89,225,195,.18)}
.auth-security-note{display:flex;align-items:center;gap:8px;font-size:10.5px;color:#aeb3c3;margin-bottom:18px}.security-icon{width:22px;height:22px;border-radius:50%;border:1px solid rgba(255,255,255,.12);display:grid;place-items:center;color:#d2d5df}
.auth-legal-links a{transition:color .16s ease,transform .16s ease}.auth-legal-links a:hover{color:#fff;transform:translateY(-1px)}

.auth-card-wrap-premium{position:relative;background:radial-gradient(circle at 60% 12%,#ffffff 0%,#fafbfe 38%,#f5f6fa 100%)}
.auth-card-wrap-premium:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(104,87,255,.07),transparent 68%);right:4%;top:8%;pointer-events:none;animation:cardHalo 8s ease-in-out infinite}
.auth-card-premium{position:relative;z-index:2;width:min(455px,100%);border-radius:25px;padding:28px;border:1px solid rgba(220,222,231,.9);box-shadow:0 25px 65px rgba(29,31,43,.10),0 2px 10px rgba(29,31,43,.04);animation:authCardIn .7s .06s cubic-bezier(.17,.82,.26,1) both;overflow:hidden}
.auth-card-premium:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#18c8d9,#6657ff,#a85cff);opacity:.9}
.auth-card-heading{margin:3px 0 19px}.auth-card-heading h2{font-size:27px;letter-spacing:-.8px;margin:5px 0 6px}.auth-card-heading p{font-size:12px;color:#858a95;margin:0}.auth-card-kicker{font-size:9.5px;letter-spacing:.14em;font-weight:800;color:#7064e8}
.auth-card-premium .auth-tabs{margin-bottom:20px;background:#f3f4f7;border:1px solid #eceef3}
.auth-card-premium .auth-tab{position:relative;transition:background .2s ease,color .2s ease,transform .2s ease}.auth-card-premium .auth-tab:hover{color:#272a31}.auth-card-premium .auth-tab.active{transform:translateY(-1px)}
.auth-panel-animated:not(.hidden){animation:panelSlide .28s cubic-bezier(.2,.75,.25,1) both}
.oauth-button{position:relative;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}.oauth-button:before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 25%,rgba(255,255,255,.75) 48%,transparent 72%);transform:translateX(-120%)}.oauth-button:hover:not(.disabled){transform:translateY(-1px);box-shadow:0 8px 18px rgba(31,34,45,.07);border-color:#d2d5df}.oauth-button:hover:not(.disabled):before{animation:buttonShine .75s ease}
.oauth-brand{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:#f5f6f8;border:1px solid #e5e7ec;font-size:11px;font-weight:800}.oauth-google{color:#3767d7}.oauth-github{color:#202228;font-size:9px}
.auth-divider span{white-space:nowrap}
.panel-intro{margin-bottom:15px}.panel-intro h3{font-size:18px;margin:0 0 5px;letter-spacing:-.3px}.panel-intro p{font-size:11.5px;color:#858a95;line-height:1.45;margin:0}
.auth-form input{min-height:43px;background:#fff;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.auth-form input:focus{transform:translateY(-1px);border-color:#9b93ff;box-shadow:0 0 0 4px rgba(102,87,255,.08)}
.auth-primary,.auth-secondary{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:10px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.auth-primary{background:linear-gradient(135deg,#17191e,#292d39);box-shadow:0 8px 18px rgba(23,25,30,.13)}.auth-primary:hover{transform:translateY(-1px);box-shadow:0 12px 25px rgba(23,25,30,.18)}.auth-primary:active,.auth-secondary:active{transform:translateY(0) scale(.995)}.auth-secondary:hover{transform:translateY(-1px);border-color:#cfd2da;box-shadow:0 7px 16px rgba(29,31,43,.055)}
.auth-text-button:hover,.back-link:hover{text-decoration:underline}.auth-alert{animation:alertIn .24s ease both;border:1px solid rgba(184,67,67,.1)}.auth-alert.success{border-color:rgba(24,127,86,.12)}
.mobile-brand div{display:flex;flex-direction:column}.mobile-brand span{font-size:10px;color:#8e93a0;margin-top:2px}

/* Public help / privacy / terms */
.legal-body-premium{position:relative;overflow:auto;min-height:100vh;background:linear-gradient(180deg,#f9faff 0%,#f5f7fb 100%)}
.legal-background{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:0}.legal-background span{position:absolute;border-radius:50%;filter:blur(2px)}.legal-background span:first-child{width:430px;height:430px;right:-160px;top:80px;background:radial-gradient(circle,rgba(102,87,255,.08),transparent 70%);animation:authFloatOne 12s ease-in-out infinite}.legal-background span:last-child{width:360px;height:360px;left:-170px;bottom:40px;background:radial-gradient(circle,rgba(24,200,217,.07),transparent 70%);animation:authFloatTwo 14s ease-in-out infinite}
.legal-topbar{position:sticky;top:0;z-index:20;height:70px;display:flex;align-items:center;gap:20px;padding:0 max(24px,calc((100vw - 1120px)/2));background:rgba(250,251,254,.84);backdrop-filter:blur(18px);border-bottom:1px solid rgba(224,226,234,.82)}
.legal-brand{display:flex;align-items:center;gap:9px;min-width:190px}.legal-brand img{width:36px;height:36px;border-radius:11px;box-shadow:0 6px 16px rgba(102,87,255,.16)}.legal-brand div{display:flex;flex-direction:column}.legal-brand strong{font-size:13.5px}.legal-brand small{font-size:9.5px;color:#9499a5;margin-top:1px}
.legal-nav{display:flex;align-items:center;gap:4px;margin:auto}.legal-nav a{padding:8px 12px;border-radius:9px;font-size:11.5px;color:#686d77;transition:.16s ease}.legal-nav a:hover{background:#eef0f5;color:#25272d}.legal-nav a.active{background:#eceaff;color:#584ce1;font-weight:700}
.legal-return{padding:9px 13px;border:1px solid #dfe1e8;border-radius:10px;background:#fff;font-size:11.5px;font-weight:600;box-shadow:0 2px 8px rgba(28,31,43,.04);transition:.16s ease}.legal-return:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(28,31,43,.07)}
.legal-layout{position:relative;z-index:2;width:min(1120px,calc(100% - 36px));margin:0 auto;padding:72px 0 75px}
.legal-hero{max-width:800px;margin-bottom:32px;animation:authRise .55s ease both}.legal-kicker{font-size:10px;letter-spacing:.14em;font-weight:800;color:#695be7}.legal-hero h1{font-size:clamp(36px,5vw,58px);letter-spacing:-2.2px;line-height:1.03;margin:11px 0 14px;text-wrap:balance}.legal-hero>p{font-size:15px;line-height:1.65;color:#686d79;max-width:720px;margin:0}.legal-meta{margin-top:18px;font-size:10.5px;color:#999eaa}
.legal-content-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;align-items:start}.legal-main-card,.legal-side-card,.help-card,.help-callout{background:rgba(255,255,255,.9);border:1px solid #e2e4eb;box-shadow:0 12px 32px rgba(28,31,43,.06);backdrop-filter:blur(10px)}.legal-main-card{border-radius:22px;padding:30px;animation:cardSoftIn .5s .06s ease both}.legal-main-card h2{font-size:17px;margin:27px 0 8px;letter-spacing:-.3px}.legal-main-card h2:first-child{margin-top:0}.legal-main-card p,.legal-main-card li{font-size:13px;line-height:1.72;color:#606571}.legal-main-card ul{padding-left:20px}.legal-side-card{position:sticky;top:90px;border-radius:20px;padding:22px;animation:cardSoftIn .5s .12s ease both}.legal-side-icon{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#eeecff,#e8fbfd);color:#5c50df;display:grid;place-items:center;font-size:18px}.legal-side-card h3{font-size:15px;margin:15px 0 7px}.legal-side-card p{font-size:12px;color:#747986;line-height:1.55;margin:0}
.help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.help-card{border-radius:18px;padding:20px;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;animation:cardSoftIn .5s ease both}.help-card:nth-child(2){animation-delay:.04s}.help-card:nth-child(3){animation-delay:.08s}.help-card:nth-child(4){animation-delay:.12s}.help-card:nth-child(5){animation-delay:.16s}.help-card:nth-child(6){animation-delay:.20s}.help-card:hover{transform:translateY(-3px);border-color:#d2cef9;box-shadow:0 18px 36px rgba(40,35,100,.09)}.help-card>span{width:34px;height:34px;border-radius:11px;background:#f0efff;color:#5c50df;display:grid;place-items:center;margin-bottom:15px}.help-card h3{font-size:14px;margin:0 0 7px}.help-card p{font-size:11.8px;line-height:1.58;color:#737884;margin:0}.help-callout{margin-top:15px;border-radius:18px;padding:18px 20px;display:flex;justify-content:space-between;gap:22px;align-items:center}.help-callout>div{display:flex;align-items:center;gap:10px;white-space:nowrap}.help-callout strong{font-size:13px}.help-callout p{font-size:11.7px;line-height:1.5;color:#747985;margin:0;max-width:760px}
.legal-footer{position:relative;z-index:2;border-top:1px solid #e1e3ea;padding:20px max(24px,calc((100vw - 1120px)/2));display:flex;justify-content:space-between;gap:14px;color:#9499a5;font-size:10.5px;background:rgba(249,250,253,.7)}

@keyframes authRise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes authCardIn{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:none}}
@keyframes panelSlide{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
@keyframes alertIn{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
@keyframes buttonShine{to{transform:translateX(120%)}}
@keyframes livePulse{0%,100%{box-shadow:0 0 0 4px rgba(50,213,156,.10)}50%{box-shadow:0 0 0 7px rgba(50,213,156,.03)}}
@keyframes authLogoPulse{0%,100%{transform:scale(1);opacity:.7}50%{transform:scale(1.06);opacity:.32}}
@keyframes authFloatOne{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(-20px,24px,0)}}
@keyframes authFloatTwo{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(24px,-18px,0)}}
@keyframes authGridDrift{to{background-position:42px 42px}}
@keyframes cardHalo{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(20px) scale(1.05)}}
@keyframes cardSoftIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

@media(max-width:900px){
  .legal-content-grid{grid-template-columns:1fr}.legal-side-card{position:static}.help-grid{grid-template-columns:1fr 1fr}.legal-nav{display:none}.legal-topbar{padding:0 18px}.legal-return{margin-left:auto}
}
@media(max-width:760px){
  .auth-card-wrap-premium{min-height:100vh;padding:18px}.auth-card-premium{padding:23px;border-radius:21px;box-shadow:0 12px 35px rgba(29,31,43,.08)}.auth-card-heading h2{font-size:24px}.oauth-grid-two{grid-template-columns:1fr}.legal-layout{padding-top:46px}.help-grid{grid-template-columns:1fr}.help-callout{align-items:flex-start;flex-direction:column;gap:8px}.legal-hero h1{letter-spacing:-1.3px}.legal-main-card{padding:22px}.legal-footer{flex-direction:column}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}
}

/* ========================================================================== */
/* V0.6.2 workspace refresh                                                   */
/* ========================================================================== */
:root{
  --bg:#f6f7fb;
  --surface:#fff;
  --surface-2:#f7f7fa;
  --surface-3:#eceef3;
  --border:#e5e7ec;
  --text:#18191e;
  --text-soft:#606571;
  --violet:#6254f5;
  --shadow-soft:0 10px 30px rgba(20,22,32,.055);
}
.app-shell{background:#fff}
.sidebar{background:#f7f8fa;padding:14px 12px 11px;border-right-color:#e6e8ed}
.sidebar-brand-row{height:52px}
.brand-logo{width:36px;height:36px;border-radius:12px;box-shadow:0 5px 16px rgba(50,43,155,.13)}
.new-chat-button{min-height:48px;border-radius:14px;padding:11px 13px;background:#fff;font-size:14px;box-shadow:0 1px 2px rgba(0,0,0,.025)}
.sidebar-nav{min-height:44px;border-radius:12px;font-size:14px;color:#393d46}
.sidebar-nav:hover{background:#eceef2}
.chat-item{min-height:40px;border-radius:10px;padding-left:10px}
.chat-item.active{background:#e9ebef}
.account-row{border-top:1px solid #e4e6eb;border-radius:0;padding:13px 8px 7px;margin-top:3px}
.account-row:hover{background:transparent;border-color:#e4e6eb}
.main-panel{background:#fff}
.topbar{height:66px;flex-basis:66px;padding:0 18px;border-bottom-color:#e9eaee;background:rgba(255,255,255,.94)}
.topbar-title{font-size:14px}
.topbar-subtitle{font-size:11px}
.topbar-button,.soft-pill,.status-pill{min-height:38px;border-radius:13px;background:#fff;padding:0 12px}
.conversation{padding:0 24px 190px;background:linear-gradient(#fff,#fff)}
.messages{max-width:900px;padding-top:34px}
.message-row{gap:13px;margin-bottom:28px}
.message-user .message-body{max-width:min(76%,720px)}
.message-bubble{background:#f2f3f5;border:0;border-radius:20px;padding:11px 15px;font-size:14.5px;line-height:1.5}
.assistant-avatar{width:30px;height:30px;flex-basis:30px;border-radius:10px;box-shadow:0 4px 12px rgba(70,60,180,.10)}
.assistant-body{max-width:800px}
.assistant-content{font-size:14.8px;line-height:1.72;color:#24262b;white-space:pre-wrap}
.assistant-content p{white-space:normal}
.message-actions{gap:2px;margin-top:6px;min-height:31px}
.message-action{width:32px;height:30px;border:0;background:transparent;border-radius:9px;color:#747984;display:grid;place-items:center;cursor:pointer;transition:background .14s,color .14s,transform .14s}
.message-action:hover{background:#f0f1f4;color:#24262b}
.message-action:active{transform:scale(.94)}
.message-actions.generating{visibility:hidden;opacity:0;pointer-events:none}
.action-glyph{display:grid;place-items:center;min-width:18px;height:18px;font-size:17px;line-height:1;font-family:Inter,ui-sans-serif,system-ui,sans-serif}
.thumb-glyph{font-size:15px;filter:grayscale(1);opacity:.8}
.more-glyph{font-weight:700;letter-spacing:1px;font-size:13px}
.copy-glyph{font-size:19px}
.composer-zone{left:calc(var(--sidebar) + 34px);right:34px;bottom:0;padding:24px 0 14px;background:linear-gradient(0deg,#fff 72%,rgba(255,255,255,0))}
.app-shell.sidebar-collapsed .composer-zone{left:34px}
.composer-card{max-width:900px;margin:auto;border:1px solid #e0e2e7;border-radius:24px;background:#fff;box-shadow:0 8px 25px rgba(20,22,30,.055);padding:10px 10px 8px 16px;transition:border-color .15s,box-shadow .15s}
.composer-card:focus-within{border-color:#d2d4db;box-shadow:0 10px 30px rgba(20,22,30,.075)}
.composer-card textarea{font-size:15px;line-height:1.5;min-height:34px;scrollbar-width:none}
.composer-card textarea::-webkit-scrollbar{display:none}
.composer-toolbar{margin-top:4px}
.composer-tool,.send-button,.stop-button{border-radius:13px}
.send-button{width:42px;height:42px;background:#16181d;color:#fff;font-size:20px}
.send-button:hover{background:#292c33}
.stop-button{width:42px;height:42px;background:#16181d;color:#fff}
.effort-button{border:0;background:transparent;border-radius:11px;padding:7px 9px;color:#575c66}
.effort-button:hover{background:#f2f3f5}
.generation-status{max-width:900px;margin:0 auto 8px;color:#777c87;font-size:11.5px}
.composer-note{font-size:10px;color:#a0a4ad;margin-top:9px}
.outline-rail{right:10px}
.outline-toggle{opacity:.55}
.outline-toggle:hover{opacity:1}
.welcome-view{max-width:900px}
.welcome-view h1{font-size:34px;letter-spacing:-1.4px}
.welcome-view>p{font-size:14px}
.starter-card{border-color:#e4e6eb;border-radius:18px;min-height:105px}
.starter-card:hover{border-color:#cbc6ff;box-shadow:0 12px 30px rgba(53,46,120,.07)}
.popover{border-color:#e1e3e8;box-shadow:0 18px 55px rgba(20,22,30,.14);border-radius:15px}
.modal-card{border-color:#e3e5ea;box-shadow:0 24px 80px rgba(20,22,30,.18)}
.media-result{background:#fff}
.plugin-card{background:#fff}
@media(max-width:980px){.composer-zone{left:26px;right:26px}.messages{max-width:820px}}
@media(max-width:760px){.composer-zone,.app-shell.sidebar-collapsed .composer-zone{left:12px;right:12px}.conversation{padding-left:13px;padding-right:13px}.message-user .message-body{max-width:88%}.topbar{padding:0 10px}.topbar-subtitle{display:none}}

/* ========================================================================== */
/* V0.6.3 interaction, memory, delete confirmation and themes                 */
/* ========================================================================== */

.confirm-delete-modal{backdrop-filter:blur(8px);background:rgba(20,21,27,.34)}
.delete-confirm-card{width:min(390px,calc(100vw - 28px));padding:24px;border-radius:22px;text-align:center;animation:deletePop .2s cubic-bezier(.2,.8,.2,1)}
.delete-confirm-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;margin:0 auto 14px;background:#fff0f0;color:#c43232;font-weight:800;border:1px solid #ffd6d6}
.delete-confirm-card h2{margin:0 0 8px;font-size:20px;letter-spacing:-.35px}
.delete-confirm-card p{margin:0 auto 20px;max-width:310px;color:var(--text-soft);font-size:12.5px;line-height:1.55}
.delete-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.keep-button,.delete-button{height:42px;border-radius:12px;font-weight:650;cursor:pointer;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
.keep-button{background:#fff;color:#24262b;border:1px solid var(--border)}
.keep-button:hover{background:#f7f8fa;box-shadow:0 5px 16px rgba(0,0,0,.06)}
.delete-button{background:#df3f43;color:#fff;border:1px solid #df3f43}
.delete-button:hover{background:#c93337;box-shadow:0 7px 18px rgba(223,63,67,.2)}
.keep-button:active,.delete-button:active{transform:scale(.98)}
.delete-button:disabled{opacity:.65;cursor:wait}
@keyframes deletePop{from{opacity:0;transform:translateY(8px) scale(.975)}to{opacity:1;transform:none}}

.attachment-chips{max-width:900px;margin:0 auto 8px;display:flex;flex-wrap:wrap;gap:8px}
.attachment-chip{display:inline-flex;align-items:center;gap:7px;max-width:260px;height:38px;padding:4px 7px 4px 6px;border:1px solid var(--border);border-radius:11px;background:var(--surface);box-shadow:0 3px 12px rgba(20,22,32,.04);font-size:11.5px;color:var(--text-soft);overflow:hidden}
.attachment-chip>span:not(.attachment-file-icon){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.attachment-chip img{width:30px;height:30px;border-radius:7px;object-fit:cover;border:1px solid var(--border)}
.attachment-file-icon{width:28px;height:28px;border-radius:7px;background:var(--surface-3);display:grid;place-items:center;color:var(--violet)}
.attachment-chip button{border:0;background:transparent;color:var(--text-faint);width:24px;height:24px;border-radius:7px;cursor:pointer;flex:0 0 auto}
.attachment-chip button:hover{background:var(--surface-3);color:var(--text)}

.theme-preview-row{display:flex;align-items:center;gap:9px;margin-top:12px;padding:10px 0}
.theme-preview{width:42px;height:32px;border-radius:9px;display:grid;place-items:center;font-size:12px;font-weight:700;border:1px solid var(--border)}
.light-preview{background:#fff;color:#17181c}.dark-preview{background:#111216;color:#f4f5f7;border-color:#30323a}
.share-link-row{display:grid;grid-template-columns:92px 1fr;gap:10px;align-items:center;border:1px solid var(--border);background:var(--surface-2);border-radius:12px;padding:11px 12px;margin-bottom:8px}
.share-link-row strong{font-size:11px}.share-link-row code{font-size:11px;overflow-wrap:anywhere;color:var(--text-soft)}

/* Dark/black workspace theme. The auth/legal pages intentionally keep their
   own polished public styling; this applies to the signed-in workspace. */
body[data-theme="dark"]{
  --bg:#0e0f12;
  --surface:#15161a;
  --surface-2:#191a1f;
  --surface-3:#24262c;
  --text:#f1f2f4;
  --text-soft:#a6aab3;
  --text-faint:#747985;
  --border:#2a2c33;
  --border-strong:#3a3d46;
  --violet:#8a7cff;
  --violet-2:#9b8fff;
  --cyan:#36d5e3;
  --cyan-soft:#142b2e;
  --green:#28c985;
  --red:#ff6266;
  --shadow:0 18px 50px rgba(0,0,0,.42);
  --shadow-soft:0 8px 24px rgba(0,0,0,.28);
  color-scheme:dark;
}
body[data-theme="dark"] .app-shell,
body[data-theme="dark"] .main-panel,
body[data-theme="dark"] .conversation{background:#0e0f12}
body[data-theme="dark"] .sidebar{background:#111216;border-right-color:#24262c}
body[data-theme="dark"] .topbar{background:rgba(14,15,18,.94);border-bottom-color:#25272d}
body[data-theme="dark"] .composer-zone{background:linear-gradient(0deg,#0e0f12 72%,rgba(14,15,18,0))}
body[data-theme="dark"] .composer-card{background:#17181c;border-color:#30323a;box-shadow:0 12px 32px rgba(0,0,0,.26)}
body[data-theme="dark"] .composer-card:focus-within{border-color:#4a4e5a;box-shadow:0 13px 35px rgba(0,0,0,.34)}
body[data-theme="dark"] .composer-card textarea{color:#f2f3f5;background:transparent}
body[data-theme="dark"] .composer-card textarea::placeholder{color:#777c87}
body[data-theme="dark"] .new-chat-button,
body[data-theme="dark"] .soft-pill,
body[data-theme="dark"] .topbar-button,
body[data-theme="dark"] .status-pill,
body[data-theme="dark"] .sidebar-reopen{background:#17181c;border-color:#2b2d34;color:var(--text)}
body[data-theme="dark"] .sidebar-nav{color:#c7cad1}
body[data-theme="dark"] .sidebar-nav:hover,
body[data-theme="dark"] .chat-item.active,
body[data-theme="dark"] .chat-item:hover{background:#23252b}
body[data-theme="dark"] .account-row{border-top-color:#282a30}
body[data-theme="dark"] .message-bubble{background:#25272d;color:#f0f1f3}
body[data-theme="dark"] .assistant-content{color:#e7e8eb}
body[data-theme="dark"] .message-action{color:#9196a0}
body[data-theme="dark"] .message-action:hover{background:#25272d;color:#fff}
body[data-theme="dark"] .popover,
body[data-theme="dark"] .modal-card,
body[data-theme="dark"] .list-card,
body[data-theme="dark"] .memory-item,
body[data-theme="dark"] .file-card,
body[data-theme="dark"] .starter-card{background:#17181c;border-color:#2b2d34;color:var(--text);box-shadow:0 14px 38px rgba(0,0,0,.3)}
body[data-theme="dark"] .popover-action:hover,
body[data-theme="dark"] .mini-button:hover{background:#25272d}
body[data-theme="dark"] .settings-input,
body[data-theme="dark"] .settings-textarea,
body[data-theme="dark"] .memory-add-row input,
body[data-theme="dark"] .create-row input,
body[data-theme="dark"] .chat-search-wrap input{background:#111216;border-color:#30323a;color:#f0f1f3}
body[data-theme="dark"] .settings-input:focus,
body[data-theme="dark"] .settings-textarea:focus,
body[data-theme="dark"] .chat-search-wrap input:focus{border-color:#766aff;box-shadow:0 0 0 3px rgba(118,106,255,.13)}
body[data-theme="dark"] .secondary-button,
body[data-theme="dark"] .keep-button{background:#1b1c21;border-color:#343740;color:#f2f3f5}
body[data-theme="dark"] .keep-button:hover,
body[data-theme="dark"] .secondary-button:hover{background:#24262c}
body[data-theme="dark"] .attachment-chip{background:#18191e;border-color:#30323a}
body[data-theme="dark"] .share-link-row{background:#121317;border-color:#2d3037}
body[data-theme="dark"] .outline-panel{background:#17181c;border-color:#2b2d34}
body[data-theme="dark"] .outline-toggle{background:#17181c;border-color:#2b2d34}
body[data-theme="dark"] .menu-divider{background:#292b31}
body[data-theme="dark"] .delete-confirm-icon{background:#2c1819;border-color:#573033;color:#ff6a6e}
body[data-theme="dark"] pre{background:#111216;border-color:#2b2d34}
body[data-theme="dark"] code{color:#dfe1e6}

/* Slightly smoother UI motion without delaying interaction. */
.chat-item,.starter-card,.popover,.modal-card,.composer-card,.message-row,.attachment-chip{will-change:transform,opacity}
.modal:not(.hidden){animation:modalFade .14s ease-out}
@keyframes modalFade{from{opacity:0}to{opacity:1}}

@media(max-width:620px){
  .delete-confirm-actions{grid-template-columns:1fr}.share-link-row{grid-template-columns:1fr;gap:4px}
}


/* ========================================================================== */
/* V0.7 polish: fast status, dates, collapsed sidebar, media, skill learn      */
/* ========================================================================== */

/* Writing-assistant browser extensions can inject floating controls into the
   composer. SenvoAI already has its own writing UI, so suppress common
   Grammarly integration elements on this page. */
grammarly-extension,
grammarly-card,
grammarly-desktop-integration,
[data-grammarly-shadow-root]{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

.topbar-left{display:flex;align-items:center;gap:10px;min-width:0}
.sidebar-reopen{
  position:static!important;
  left:auto!important;
  top:auto!important;
  z-index:auto;
  width:36px;height:36px;flex:0 0 36px;
  display:grid;place-items:center;
  padding:0;
  border:1px solid var(--border);
  border-radius:11px;
  box-shadow:none;
  font-size:20px;
  color:var(--text-soft);
  background:var(--surface);
  transition:background .15s ease,border-color .15s ease,transform .15s ease;
}
.sidebar-reopen:hover{background:var(--surface-2);border-color:var(--border-strong);transform:translateX(1px)}
.app-shell.sidebar-collapsed .sidebar{
  transform:translateX(-100%);
  width:0;
  min-width:0;
  padding-left:0;
  padding-right:0;
  border-right:0;
  overflow:hidden;
}
.sidebar{
  transition:transform .2s cubic-bezier(.2,.8,.2,1),width .2s cubic-bezier(.2,.8,.2,1),padding .2s ease;
}
.app-shell.sidebar-collapsed .topbar{padding-left:18px}

.day-separator{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:8px 0 26px;
  color:var(--text-faint);
  font-size:10.5px;
  letter-spacing:.01em;
}
.day-separator::before,.day-separator::after{
  content:"";
  height:1px;
  flex:1;
  max-width:180px;
  background:linear-gradient(90deg,transparent,var(--border));
}
.day-separator::after{background:linear-gradient(90deg,var(--border),transparent)}
.day-separator span{padding:0 12px;white-space:nowrap}

.message-time{
  margin-top:5px;
  color:var(--text-faint);
  font-size:9.5px;
  line-height:1;
  opacity:.78;
}
.message-user .message-time{text-align:right;padding-right:5px}
.assistant-meta{display:flex;align-items:center;gap:10px;margin-top:3px;min-height:18px}
.assistant-meta .message-time{margin:0}
.assistant-thinking{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:25px;
  color:var(--text-soft);
  font-size:12.5px;
  margin:2px 0 4px;
  animation:thinkingFadeIn .15s ease-out;
}
.thinking-spinner.small{width:13px;height:13px;border-width:2px}
@keyframes thinkingFadeIn{from{opacity:0;transform:translateY(2px)}to{opacity:1;transform:none}}

.generation-status{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:22px;
  font-weight:520;
  color:var(--text-soft);
  animation:thinkingFadeIn .15s ease-out;
}
.stopped-label{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin:0;
  padding:4px 8px;
  border:1px solid var(--border);
  border-radius:999px;
  background:var(--surface-2);
  color:var(--text-soft);
  font-size:9.5px;
  line-height:1;
}
.stop-square{font-size:7px;color:#8c9098}

.message-actions{
  opacity:1;
  transform:none;
  transition:opacity .15s ease,transform .15s ease;
}
.message-actions.generating{
  visibility:hidden;
  opacity:0;
  transform:translateY(2px);
  pointer-events:none;
}
.message-action.active{background:#eceaff;color:#5f53e9}
body[data-theme="dark"] .message-action.active{background:#2b2748;color:#b7afff}

.task-last-result{display:inline-block;margin-top:5px;color:var(--text-soft)}
.task-hint{margin:7px 2px 0;line-height:1.45}

.skill-learn-form{display:grid;gap:9px;margin-bottom:16px}
.skill-card p{white-space:pre-wrap;max-height:180px;overflow:auto}

.media-studio-card{max-width:760px}
.media-panel{display:grid;gap:10px}
.media-panel .settings-textarea{min-height:130px}
.media-panel .field-label{max-width:240px}
.media-result img,.media-result video{
  width:100%;
  max-height:480px;
  object-fit:contain;
  border-radius:16px;
  background:#0f1013;
}
.media-result a{display:inline-flex;margin-top:9px;font-size:11px;color:var(--violet);font-weight:650}

.composer-card,.message-bubble,.assistant-content,.starter-card,.chat-item,.sidebar-nav{
  transform:translateZ(0);
}
.message-row{animation:messageIn .18s ease-out both}
@keyframes messageIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.assistant-content.streaming-caret::after{animation:caretBlink .7s step-end infinite}
@keyframes caretBlink{50%{opacity:0}}

/* Keep the right-side topic navigator visually quiet until the user opens it. */
.outline-rail{width:32px;right:4px}
.outline-toggle{width:30px;height:38px;opacity:.28;border-color:transparent;background:transparent;box-shadow:none}
.outline-toggle:hover{opacity:.8;background:var(--surface-2);border-color:var(--border)}

body[data-theme="dark"] .day-separator::before{background:linear-gradient(90deg,transparent,#2a2c33)}
body[data-theme="dark"] .day-separator::after{background:linear-gradient(90deg,#2a2c33,transparent)}
body[data-theme="dark"] .stopped-label{background:#18191e;border-color:#30323a}
body[data-theme="dark"] .sidebar-reopen{background:#17181c;border-color:#2b2d34}

@media(max-width:760px){
  .topbar-left{gap:6px}
  .app-shell.sidebar-collapsed .topbar{padding-left:10px}
  .sidebar-reopen{width:34px;height:34px;flex-basis:34px}
  .day-separator{margin-bottom:18px}
  .message-time{font-size:9px}
}


/* V0.7.1: follow-up composer + visible tool use */
.composer-card:focus-within { box-shadow: 0 12px 38px rgba(20,24,35,.10), 0 0 0 1px rgba(100,92,255,.12); }
.tool-use-row { display:flex; flex-wrap:wrap; gap:6px; margin:8px 0 2px 0; }
.tool-use-chip { display:inline-flex; align-items:center; gap:6px; font-size:12px; color:var(--muted); background:var(--surface-soft); border:1px solid var(--border); border-radius:999px; padding:5px 9px; }
.generated-media-card { margin:10px 0 12px; max-width:min(680px,100%); border-radius:16px; overflow:hidden; border:1px solid var(--border); background:var(--surface-soft); }
.generated-media-card img,.generated-media-card video { display:block; width:100%; height:auto; max-height:640px; object-fit:contain; }
.help-menu.hidden { display:none !important; pointer-events:none !important; }
.generation-status { transition: opacity .18s ease, transform .18s ease; }

/* ========================================================================== */
/* V0.7.2 — scroll freedom, faster streaming, natural voice, refined themes   */
/* ========================================================================== */

html,body{background:var(--bg)}
body{background:radial-gradient(circle at 50% -18%,rgba(102,87,255,.055),transparent 31%),var(--bg)}
.app-shell{background:transparent}
.main-panel{background:transparent}
.conversation{
  scroll-behavior:auto; /* JS decides when smooth scrolling is appropriate. */
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  scroll-padding-bottom:190px;
}
.conversation::-webkit-scrollbar{width:10px}
.conversation::-webkit-scrollbar-track{background:transparent}
.conversation::-webkit-scrollbar-thumb{background:rgba(93,99,114,.20);border:3px solid transparent;background-clip:content-box;border-radius:999px}
.conversation::-webkit-scrollbar-thumb:hover{background:rgba(93,99,114,.36);border:2px solid transparent;background-clip:content-box}

.jump-latest{
  position:absolute;
  z-index:30;
  left:50%;
  bottom:174px;
  transform:translateX(-50%);
  border:1px solid var(--border);
  background:color-mix(in srgb,var(--surface) 94%,transparent);
  color:var(--text-soft);
  border-radius:999px;
  padding:8px 13px;
  box-shadow:0 8px 28px rgba(25,30,42,.13);
  backdrop-filter:blur(15px);
  cursor:pointer;
  font-size:12px;
  font-weight:650;
  animation:jumpLatestIn .16s ease-out both;
}
.jump-latest:hover{color:var(--text);border-color:var(--border-strong);transform:translateX(-50%) translateY(-1px)}
@keyframes jumpLatestIn{from{opacity:0;transform:translateX(-50%) translateY(7px)}to{opacity:1;transform:translateX(-50%)}}

.generation-status{gap:7px;max-width:820px;width:calc(100% - 32px);margin:0 auto 7px;padding-left:4px}
.generation-elapsed{font-variant-numeric:tabular-nums;color:var(--text-faint);font-size:10.5px;margin-left:1px}
.response-timing{display:inline-flex;align-items:center;color:var(--text-faint);font-size:9.5px;border-left:1px solid var(--border);padding-left:9px;margin-left:1px}

.read-aloud-bar{
  max-width:820px;
  margin:7px auto 1px;
  min-height:35px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:6px 8px 6px 11px;
  border:1px solid var(--border);
  background:color-mix(in srgb,var(--surface) 96%,transparent);
  border-radius:12px;
  color:var(--text-soft);
  box-shadow:0 7px 22px rgba(26,30,43,.08);
  backdrop-filter:blur(14px);
  font-size:11.5px;
}
.read-aloud-wave{color:var(--violet);font-size:8px;letter-spacing:1px;animation:voicePulse .8s ease-in-out infinite alternate}
@keyframes voicePulse{from{opacity:.4;transform:scaleY(.6)}to{opacity:1;transform:scaleY(1)}}
.read-aloud-bar>span:nth-child(2){flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.read-aloud-stop{border:0;background:var(--surface-2);color:var(--text);padding:7px 10px;border-radius:9px;cursor:pointer;font-size:11px;font-weight:650}
.read-aloud-stop:hover{background:var(--surface-3)}
.message-row.reading-aloud .assistant-body{position:relative}
.message-row.reading-aloud .assistant-body::before{content:"";position:absolute;left:-9px;top:0;bottom:0;width:2px;border-radius:999px;background:linear-gradient(var(--violet),var(--cyan));animation:readGlow 1.2s ease-in-out infinite alternate}
@keyframes readGlow{from{opacity:.35}to{opacity:1}}
.field-help{display:block;margin-top:6px;color:var(--text-faint);font-size:10.5px;line-height:1.4}

/* Streaming is intentionally understated: chunks arrive quickly without a
   distracting character-by-character animation. */
.assistant-content.streaming-caret::after{content:"";display:inline-block;width:5px;height:15px;margin-left:3px;vertical-align:-2px;border-radius:3px;background:var(--text-faint);opacity:.45;animation:caretBlink .8s steps(1) infinite}

/* More tactile composer without making the UI feel heavy. */
.composer-zone{padding-left:18px;padding-right:18px}
.composer-card{
  border-radius:25px;
  border-color:color-mix(in srgb,var(--border) 84%,transparent);
  box-shadow:0 12px 38px rgba(27,31,44,.085),0 1px 0 rgba(255,255,255,.85) inset;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease,background .16s ease;
}
.composer-card:focus-within{border-color:rgba(102,87,255,.32);box-shadow:0 15px 46px rgba(27,31,44,.11),0 0 0 3px rgba(102,87,255,.055)}
.send-button,.stop-button{border-radius:14px;transition:transform .12s ease,background .12s ease,box-shadow .12s ease}
.send-button:hover,.stop-button:hover{transform:translateY(-1px)}
.send-button:active,.stop-button:active{transform:scale(.96)}

/* Refined light theme — softer contrast, clearer layers. */
body[data-theme="light"]{
  --bg:#f7f8fb;
  --surface:#ffffff;
  --surface-2:#f4f5f8;
  --surface-3:#eceef3;
  --text:#15171b;
  --text-soft:#626774;
  --text-faint:#9297a3;
  --border:#e4e6eb;
  --border-strong:#d4d7df;
  --shadow:0 20px 56px rgba(32,37,50,.11);
  --shadow-soft:0 8px 24px rgba(32,37,50,.075);
}
body[data-theme="light"] .sidebar{background:rgba(246,247,250,.91);backdrop-filter:blur(18px) saturate(130%)}
body[data-theme="light"] .topbar{background:rgba(255,255,255,.86);backdrop-filter:blur(20px) saturate(140%)}
body[data-theme="light"] .message-bubble{background:#f1f2f5;border-color:#eceef2}
body[data-theme="light"] .starter-card{background:linear-gradient(155deg,#fff,#fafbfe)}
body[data-theme="light"] .popover,body[data-theme="light"] .modal-card{box-shadow:0 22px 70px rgba(22,27,39,.16)}

/* Refined dark theme — true near-black canvas with distinct elevated layers. */
body[data-theme="dark"]{
  --bg:#090a0c;
  --surface:#0f1013;
  --surface-2:#15171b;
  --surface-3:#1d2026;
  --text:#f5f6f8;
  --text-soft:#aeb3bd;
  --text-faint:#737985;
  --border:#24272e;
  --border-strong:#353944;
  --violet:#8c7cff;
  --violet-2:#a094ff;
  --cyan:#36d7df;
  --green:#2bcf8b;
  --red:#ff686c;
  --shadow:0 22px 70px rgba(0,0,0,.48);
  --shadow-soft:0 10px 30px rgba(0,0,0,.31);
}
body[data-theme="dark"]{background:radial-gradient(circle at 50% -20%,rgba(116,98,255,.10),transparent 34%),#090a0c}
body[data-theme="dark"] .app-shell,body[data-theme="dark"] .main-panel,body[data-theme="dark"] .conversation{background:transparent}
body[data-theme="dark"] .sidebar{background:rgba(12,13,16,.91);border-right-color:#202329;backdrop-filter:blur(20px) saturate(120%)}
body[data-theme="dark"] .topbar{background:rgba(9,10,12,.84);border-bottom-color:#202329;backdrop-filter:blur(22px) saturate(130%)}
body[data-theme="dark"] .composer-zone{background:linear-gradient(0deg,#090a0c 70%,rgba(9,10,12,0))}
body[data-theme="dark"] .composer-card{background:rgba(17,18,22,.96);border-color:#2a2d34;box-shadow:0 18px 50px rgba(0,0,0,.36),0 1px 0 rgba(255,255,255,.025) inset}
body[data-theme="dark"] .composer-card:focus-within{border-color:rgba(140,124,255,.45);box-shadow:0 22px 58px rgba(0,0,0,.44),0 0 0 3px rgba(140,124,255,.08)}
body[data-theme="dark"] .message-bubble{background:#1b1d22;border-color:#22252c;color:#f4f5f7}
body[data-theme="dark"] .assistant-content{color:#e9ebef}
body[data-theme="dark"] .new-chat-button,body[data-theme="dark"] .soft-pill,body[data-theme="dark"] .topbar-button,body[data-theme="dark"] .status-pill,body[data-theme="dark"] .sidebar-reopen{background:#111318;border-color:#272a31}
body[data-theme="dark"] .chat-item:hover,body[data-theme="dark"] .chat-item.active,body[data-theme="dark"] .sidebar-nav:hover{background:#181a1f}
body[data-theme="dark"] .popover,body[data-theme="dark"] .modal-card,body[data-theme="dark"] .list-card,body[data-theme="dark"] .memory-item,body[data-theme="dark"] .file-card,body[data-theme="dark"] .starter-card{background:#111318;border-color:#282b32;box-shadow:0 24px 76px rgba(0,0,0,.48)}
body[data-theme="dark"] .settings-input,body[data-theme="dark"] .settings-textarea,body[data-theme="dark"] .memory-add-row input,body[data-theme="dark"] .create-row input,body[data-theme="dark"] .chat-search-wrap input{background:#0c0d10;border-color:#292c33;color:#f0f2f5}
body[data-theme="dark"] .read-aloud-bar,body[data-theme="dark"] .jump-latest{background:rgba(16,18,22,.94);border-color:#2b2e35;box-shadow:0 14px 34px rgba(0,0,0,.38)}
body[data-theme="dark"] .read-aloud-stop{background:#202329}
body[data-theme="dark"] .read-aloud-stop:hover{background:#292d35}
body[data-theme="dark"] .conversation::-webkit-scrollbar-thumb{background:rgba(190,195,205,.18);border:3px solid transparent;background-clip:content-box}

@media(max-width:760px){
  .jump-latest{bottom:164px}
  .composer-zone{padding-left:10px;padding-right:10px}
  .read-aloud-bar{border-radius:11px}
}

@media(prefers-reduced-motion:reduce){
  .jump-latest,.read-aloud-wave,.message-row.reading-aloud .assistant-body::before{animation:none!important}
  .conversation{scroll-behavior:auto!important}
}
.capability-setup-card{margin:12px 0 4px;display:flex;align-items:center;gap:14px;padding:12px 13px;border:1px solid var(--border);border-radius:14px;background:var(--surface-2)}
.capability-setup-card>div{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}.capability-setup-card strong{font-size:12px}.capability-setup-card span{font-size:10.5px;color:var(--text-soft);line-height:1.4}.capability-setup-card button{border:1px solid var(--border-strong);background:var(--surface);color:var(--text);border-radius:10px;padding:8px 10px;font-size:10.5px;font-weight:650;cursor:pointer;white-space:nowrap}.capability-setup-card button:hover{border-color:var(--violet);color:var(--violet)}
body[data-theme="dark"] .capability-setup-card{background:#15171b;border-color:#292c33}body[data-theme="dark"] .capability-setup-card button{background:#0f1013;border-color:#343842}

/* ========================================================================== */
/* SenvoAI V0.8.0 — calmer Chat/Work shell, faster streaming UI           */
/* ========================================================================== */

:root{
  --v8-surface:#ffffff;
  --v8-soft:#f7f7f8;
  --v8-soft-2:#f1f2f4;
  --v8-line:#e6e7ea;
  --v8-ink:#15171b;
  --v8-muted:#727782;
  --v8-accent:#6d5dfc;
  --v8-accent-soft:#efedff;
}

.topbar{position:relative}
.mode-switch{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;gap:2px;padding:3px;background:#f4f4f5;border:1px solid #ededee;border-radius:17px;z-index:2}
.mode-switch-button{border:0;background:transparent;color:#5f636c;font-weight:600;font-size:12.5px;padding:8px 26px;border-radius:13px;cursor:pointer;transition:background .16s ease,color .16s ease,box-shadow .16s ease,transform .12s ease}
.mode-switch-button:hover{color:#25272c}.mode-switch-button:active{transform:scale(.98)}
.mode-switch-button.active{background:#fff;color:#17191e;box-shadow:0 1px 3px rgba(0,0,0,.08)}

/* New-chat layout inspired by modern AI workspaces without copying branding. */
.app-shell.welcome-mode .topbar-title-wrap{opacity:.9}
.app-shell.welcome-mode .welcome-view{min-height:calc(100vh - 72px);justify-content:flex-start;padding-top:120px;padding-bottom:180px}
.app-shell.welcome-mode .welcome-view h1{font-size:30px;font-weight:500;letter-spacing:-1.15px;margin:0;color:#111318}
.app-shell.welcome-mode .welcome-view>p{margin-top:8px;font-size:13px;color:#8a8e96}
.app-shell.welcome-mode .composer-zone{bottom:auto;top:238px;padding-top:0;background:transparent}
.app-shell.welcome-mode .composer-card{max-width:860px;border-radius:25px;box-shadow:0 12px 35px rgba(24,27,35,.075);border-color:#e0e1e5}
.app-shell.welcome-mode .starter-grid{display:flex;flex-direction:column;gap:4px;max-width:690px;margin-top:145px}
.app-shell.welcome-mode .starter-card{display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;column-gap:10px;min-height:auto;padding:9px 10px;border:0;background:transparent;border-radius:11px;box-shadow:none}
.app-shell.welcome-mode .starter-card:hover{transform:none;background:#f5f5f6;border:0;box-shadow:none}
.app-shell.welcome-mode .starter-icon{grid-row:1 / 3;width:26px;height:26px;margin:0;background:transparent;border-radius:7px;font-size:16px}
.app-shell.welcome-mode .starter-card strong{grid-column:2;font-size:13px;font-weight:500;color:#555962}
.app-shell.welcome-mode .starter-card>span:last-child{grid-column:2;margin:1px 0 0;font-size:11px;color:#a0a3aa}

/* Search / tool trace */
.assistant-tool-trace{max-width:690px;margin:0 0 11px;border-left:2px solid #dedbeff0;padding:2px 0 3px 11px;color:#6d727b;animation:v8FadeUp .18s ease both}
.trace-head{display:flex;align-items:center;gap:7px;font-size:12px;color:#626770}
.trace-head strong{font-weight:600}
.trace-spinner{width:10px;height:10px;border-radius:50%;border:1.5px solid #c8c4ff;border-top-color:#6d5dfc;animation:spin .75s linear infinite}
.trace-spinner.done{animation:none;border-color:#45b983;background:#45b983;box-shadow:inset 0 0 0 2px white}
.trace-query{font-size:11px;color:#9a9da4;margin:5px 0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.trace-sites{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.trace-site{display:flex;align-items:center;gap:5px;max-width:260px;padding:5px 8px;border:1px solid #e5e6e9;border-radius:9px;background:#fafafa;text-decoration:none;color:#4f545d;transition:.14s ease}
.trace-site:hover{background:#f4f4f5;border-color:#d7d8dc}
.trace-site span{font-size:10px;font-weight:700;color:#5f56d9}.trace-site small{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Structured answer cards */
.assistant-structured-card{margin:4px 0 13px;max-width:460px;animation:v8FadeUp .22s ease both}
.time-card{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 24px;background:#1d1f1e;color:#fff;border-radius:22px;box-shadow:0 10px 28px rgba(0,0,0,.10)}
.time-card>div:first-child{display:flex;flex-direction:column}.time-card strong{font-size:27px;line-height:1;font-weight:650;letter-spacing:-.8px}.time-card span{font-size:12px;color:#c7c9c8;margin-top:9px}.time-card small{font-size:11px;color:#aeb1af;margin-top:4px}
.analog-clock{position:relative;width:64px;height:64px;border:1px solid rgba(255,255,255,.24);border-radius:50%;background:radial-gradient(circle,#2a2d2b,#1c1e1d)}
.analog-clock:before,.analog-clock:after{content:"";position:absolute;background:#777b79;left:50%;top:6px;width:1px;height:5px}.analog-clock:after{top:auto;bottom:6px}
.analog-clock i{position:absolute;left:31px;bottom:31px;width:2px;transform-origin:50% 100%;border-radius:2px}.hour-hand{height:18px;background:#f5f5f5}.minute-hand{height:24px;background:#6aa5ff}.analog-clock b{position:absolute;width:5px;height:5px;border-radius:50%;background:white;left:29.5px;top:29.5px}
.airport-card{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #e4e5e8;border-radius:17px;background:#fff;box-shadow:0 5px 18px rgba(22,25,33,.045)}
.airport-code{display:grid;place-items:center;min-width:58px;height:48px;border-radius:12px;background:#eeecff;color:#5f52dc;font-weight:800;letter-spacing:.6px}.airport-card>div:last-child{display:flex;flex-direction:column;min-width:0}.airport-card strong{font-size:13px}.airport-card span,.airport-card small{font-size:11px;color:#81858e;margin-top:3px}

/* Suggested follow-ups */
.assistant-followups{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0 2px}
.followup-chip{border:1px solid #e2e3e6;background:#fff;color:#5b6069;border-radius:999px;padding:7px 11px;font-size:11px;cursor:pointer;transition:.14s ease}
.followup-chip:hover{background:#f6f6f7;border-color:#d1d3d8;color:#282b31;transform:translateY(-1px)}

/* Professional code blocks */
.code-block{margin:13px 0;border:1px solid #dedfe3;border-radius:14px;overflow:hidden;background:#101215;color:#e8e9ec;box-shadow:0 7px 18px rgba(20,22,29,.08)}
.code-head{height:37px;display:flex;align-items:center;justify-content:space-between;padding:0 11px;background:#181b20;border-bottom:1px solid #292c31;color:#aeb2ba;font:11px ui-monospace,SFMono-Regular,Consolas,monospace;text-transform:lowercase}
.code-copy{border:0;background:transparent;color:#c8cbd1;font:11px system-ui;cursor:pointer;padding:5px 7px;border-radius:7px}.code-copy:hover{background:#292c32;color:#fff}
.assistant-content .code-block pre{margin:0;border:0;border-radius:0;background:#101215;padding:14px 15px;overflow:auto}
.assistant-content .code-block pre code{color:#e9eaf0;background:transparent;border:0;padding:0;font-size:12.5px;line-height:1.55;white-space:pre}

/* Plugins */
.plugin-grid{grid-template-columns:1fr 1fr;gap:9px}
.plugin-card{padding:15px;border:1px solid #e5e6e9;background:#fff;border-radius:16px;box-shadow:0 1px 0 rgba(0,0,0,.015)}
.plugin-title-wrap{display:flex;align-items:center;gap:8px}.plugin-dot{width:8px;height:8px;border-radius:50%;background:#bfc2c8}.plugin-dot.ready{background:#26b977;box-shadow:0 0 0 4px rgba(38,185,119,.08)}.plugin-dot.connect{background:#8d83ff;box-shadow:0 0 0 4px rgba(109,93,252,.08)}
.plugin-ready.off{background:#f0eeff;color:#6256d9}.plugin-card p{margin:9px 0 5px;min-height:34px}.provider-setup p{color:#737781;font-size:12px;line-height:1.5}

/* Smoother response animation without locking scroll. */
.assistant-content.streaming-caret{animation:none}.assistant-content.streaming-caret:after{opacity:.45}
.message-row{scroll-margin-top:90px}
.conversation{scroll-behavior:smooth;overscroll-behavior:contain}

@keyframes v8FadeUp{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}

/* Dark theme */
body[data-theme="dark"]{--v8-surface:#0e0f12;--v8-soft:#15171b;--v8-soft-2:#1b1d22;--v8-line:#2a2d33;--v8-ink:#f2f3f5;--v8-muted:#9ba0aa;background:#0b0c0f;color:#f2f3f5}
body[data-theme="dark"] .mode-switch{background:#14161a;border-color:#24272d}body[data-theme="dark"] .mode-switch-button{color:#9ca1ab}body[data-theme="dark"] .mode-switch-button.active{background:#24272d;color:#fff;box-shadow:none}
body[data-theme="dark"] .app-shell.welcome-mode .welcome-view h1{color:#f4f5f6}body[data-theme="dark"] .app-shell.welcome-mode .starter-card:hover{background:#17191e}body[data-theme="dark"] .app-shell.welcome-mode .starter-card strong{color:#c5c8cf}
body[data-theme="dark"] .trace-site{background:#14161a;border-color:#2b2e35;color:#b7bbc4}body[data-theme="dark"] .trace-site:hover{background:#1b1e23;border-color:#393d45}body[data-theme="dark"] .assistant-tool-trace{border-color:#373345;color:#aeb2bc}
body[data-theme="dark"] .airport-card{background:#14161a;border-color:#2c2f35;box-shadow:none}body[data-theme="dark"] .airport-code{background:#28233f;color:#b8afff}
body[data-theme="dark"] .followup-chip{background:#14161a;border-color:#2d3036;color:#bfc3cb}body[data-theme="dark"] .followup-chip:hover{background:#1b1e23;border-color:#3b3f47;color:#fff}
body[data-theme="dark"] .plugin-card{background:#14161a;border-color:#2b2e34}body[data-theme="dark"] .plugin-ready.off{background:#28233f;color:#bbb2ff}
body[data-theme="dark"] .app-shell.welcome-mode .composer-card{background:#15171b;border-color:#2c2f36;box-shadow:0 18px 50px rgba(0,0,0,.32)}
body[data-theme="dark"] .app-shell.welcome-mode .composer-zone{background:transparent}

@media(max-width:900px){.mode-switch{display:none}.app-shell.welcome-mode .composer-zone{top:220px}.app-shell.welcome-mode .welcome-view{padding-top:105px}.plugin-grid{grid-template-columns:1fr}}
@media(max-width:640px){.app-shell.welcome-mode .composer-zone{top:205px}.app-shell.welcome-mode .welcome-view h1{font-size:26px}.app-shell.welcome-mode .starter-grid{margin-top:150px}.time-card{max-width:100%}}
.analog-clock .clock-n{position:absolute;color:#d9dcda;font-size:7px;font-weight:700;line-height:1;z-index:1}.analog-clock .n12{left:50%;top:5px;transform:translateX(-50%)}.analog-clock .n3{right:6px;top:50%;transform:translateY(-50%)}.analog-clock .n6{left:50%;bottom:5px;transform:translateX(-50%)}.analog-clock .n9{left:6px;top:50%;transform:translateY(-50%)}


/* ========================================================================== */
/* SenvoAI V0.9.2 — spacing, live clock, plans, topics, polished shell    */
/* ========================================================================== */
.app-shell.welcome-mode .welcome-view{padding-top:126px;padding-bottom:230px;align-items:center}
.app-shell.welcome-mode .welcome-view>p{max-width:640px;text-align:center;margin-top:10px}
.app-shell.welcome-mode .composer-zone{top:255px;left:calc(var(--sidebar) + 70px);right:70px}
.app-shell.sidebar-collapsed.welcome-mode .composer-zone{left:70px}
.app-shell.welcome-mode .starter-grid{margin-top:178px;max-width:720px}
.app-shell.welcome-mode .composer-card{max-width:800px;min-height:104px;padding:15px 16px 12px}
.app-shell.welcome-mode .composer-card textarea{min-height:38px}.jump-latest{z-index:38}

.topbar-actions{gap:7px}.topbar-icon-action{width:38px;height:38px;border:0;border-radius:50%;background:transparent;color:var(--text-soft);display:grid;place-items:center;cursor:pointer;font-size:15px;transition:.15s ease}.topbar-icon-action:hover{background:var(--surface-2);color:var(--text)}
.top-account-button{width:34px;height:34px;border:0;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#46c7a5,#38b997);color:#fff;font-weight:750;cursor:pointer;box-shadow:0 1px 2px rgba(0,0,0,.08);transition:transform .14s ease,box-shadow .14s ease}.top-account-button:hover{transform:translateY(-1px);box-shadow:0 5px 14px rgba(0,0,0,.12)}.top-account-button:active{transform:scale(.96)}

.sidebar{min-height:0;overflow:hidden}.chat-list-scroll{min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;padding:10px 2px 20px 4px;overscroll-behavior:contain}.chat-list-scroll::-webkit-scrollbar{width:7px}.chat-list-scroll::-webkit-scrollbar-track{background:transparent}.chat-list-scroll::-webkit-scrollbar-thumb{background:rgba(106,111,122,.28);border-radius:10px}.chat-list-scroll:hover::-webkit-scrollbar-thumb{background:rgba(106,111,122,.48)}.account-row{flex:0 0 auto;background:inherit;border-top:1px solid var(--border);margin-top:4px}.chat-item{min-width:0}.chat-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.chat-more{flex:0 0 auto}

.outline-panel{width:286px;max-height:min(62vh,560px);overflow:hidden;padding:12px;border-radius:17px;box-shadow:0 18px 48px rgba(25,28,36,.16);background:rgba(255,255,255,.98);backdrop-filter:blur(18px)}.outline-head{padding:2px 2px 9px;border-bottom:1px solid var(--border)}.outline-list{max-height:calc(min(62vh,560px) - 56px);overflow:auto;padding:7px 2px 3px;display:flex;flex-direction:column;gap:2px}.outline-item{width:100%;border:0;background:transparent;text-align:left;border-radius:9px;padding:7px 8px;color:var(--text-soft);font-size:11.5px;line-height:1.32;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;cursor:pointer}.outline-item:hover{background:var(--surface-2);color:var(--text)}.outline-empty{padding:10px;color:var(--text-faint);font-size:11px}

.live-time-card{width:min(390px,100%);min-height:142px;padding:22px 25px;border-radius:24px;background:#1d1e1e;color:#fff}.time-copy strong{font-size:29px}.time-copy span{font-size:13px}.full-clock{width:86px;height:86px;border:0;background:transparent}.full-clock .clock-num{position:absolute;width:18px;height:18px;display:grid;place-items:center;font-size:9px;font-weight:750;color:#f0f1f0;left:34px;top:34px;transform-origin:9px 9px}.full-clock .c12{transform:translate(0,-35px)}.full-clock .c1{transform:translate(18px,-30px)}.full-clock .c2{transform:translate(31px,-18px)}.full-clock .c3{transform:translate(35px,0)}.full-clock .c4{transform:translate(31px,18px)}.full-clock .c5{transform:translate(18px,30px)}.full-clock .c6{transform:translate(0,35px)}.full-clock .c7{transform:translate(-18px,30px)}.full-clock .c8{transform:translate(-31px,18px)}.full-clock .c9{transform:translate(-35px,0)}.full-clock .c10{transform:translate(-31px,-18px)}.full-clock .c11{transform:translate(-18px,-30px)}.full-clock i{left:42px;bottom:42px}.full-clock .hour-hand{height:23px;width:3px;background:#f5f5f5}.full-clock .minute-hand{height:31px;width:2px;background:#63a7ff}.full-clock .second-hand{height:34px;width:1px;background:#ff6b6b}.full-clock b{left:39px;top:39px;width:7px;height:7px}
.location-permission-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 15px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}.location-permission-card>div{display:flex;flex-direction:column;gap:3px}.location-permission-card strong{font-size:12px}.location-permission-card span{font-size:11px;color:var(--text-soft)}

.assistant-tool-trace{max-width:720px;border-left:0;padding:0;margin:1px 0 12px}.trace-head{font-size:11.5px}.trace-query{display:inline-block;max-width:640px;padding:5px 8px;margin-top:6px;background:var(--surface-2);border-radius:8px}.trace-sites{gap:6px}.trace-site{max-width:210px;padding:5px 8px;border-radius:999px}.trace-site small{display:none}.trace-site span{font-size:10px}
.assistant-content.streaming-caret{transition:opacity .08s ease}.assistant-content.streaming-caret:not(:empty){animation:v9TextReveal .12s ease both}@keyframes v9TextReveal{from{opacity:.82;transform:translateY(1px)}to{opacity:1;transform:none}}

.plans-modal{width:min(980px,94vw)}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.plan-card{border:1px solid var(--border);background:var(--surface);border-radius:18px;padding:17px;display:flex;flex-direction:column;min-height:310px}.plan-card.current{border-color:#7d70ff;box-shadow:0 0 0 3px rgba(109,93,252,.09)}.plan-card.owner{background:linear-gradient(155deg,#171923,#101115);color:#fff;border-color:#2d3040}.plan-card-top{display:flex;justify-content:space-between;gap:10px}.plan-card h3{font-size:17px;margin:0}.plan-card p{font-size:11px;color:var(--text-soft);margin:5px 0}.plan-card.owner p{color:#abb0bd}.current-plan-pill{font-size:9px;font-weight:750;background:#eeecff;color:#6054d9;padding:5px 8px;border-radius:999px;height:max-content}.plan-price{margin:18px 0 12px;display:flex;align-items:baseline;gap:5px}.plan-price strong{font-size:30px;letter-spacing:-1px}.plan-price span{font-size:10px;color:var(--text-faint)}.plan-card ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;font-size:11px;line-height:1.35}.plan-note{margin-top:auto;padding-top:15px;color:var(--text-faint);font-size:10px}.owner-plan-admin{margin-top:15px;padding:15px;border-radius:16px;background:var(--surface-2);border:1px solid var(--border)}.owner-plan-admin p{font-size:11px;color:var(--text-soft);margin:4px 0 12px}.owner-plan-row{display:grid;grid-template-columns:1fr 150px auto;gap:8px}

body[data-theme="light"]{background:#fff}body[data-theme="light"] .main-panel{background:#fff}body[data-theme="dark"]{background:#0b0c0f;color:#f3f4f6}body[data-theme="dark"] .main-panel{background:radial-gradient(circle at 60% -20%,rgba(91,75,255,.09),transparent 36%),#0b0c0f}body[data-theme="dark"] .conversation{background:transparent}body[data-theme="dark"] .composer-zone{background:linear-gradient(0deg,#0b0c0f 74%,rgba(11,12,15,0))}body[data-theme="dark"] .outline-panel{background:rgba(19,21,26,.98);border-color:#2a2d34}body[data-theme="dark"] .topbar-icon-action:hover{background:#181a1f}body[data-theme="dark"] .location-permission-card{background:#14161a}

@media(max-width:900px){.app-shell.welcome-mode .composer-zone,.app-shell.sidebar-collapsed.welcome-mode .composer-zone{left:28px;right:28px;top:242px}.app-shell.welcome-mode .starter-grid{margin-top:180px}.plan-grid{grid-template-columns:1fr}.owner-plan-row{grid-template-columns:1fr}}@media(max-width:640px){.app-shell.welcome-mode .composer-zone,.app-shell.sidebar-collapsed.welcome-mode .composer-zone{left:12px;right:12px;top:225px}.app-shell.welcome-mode .welcome-view{padding-top:106px}.app-shell.welcome-mode .starter-grid{margin-top:174px}.outline-rail{display:none}.live-time-card{min-height:126px;padding:18px}.topbar-icon-action{width:34px;height:34px}}

/* --------------------------------------------------------------------------
   V0.9.2 polish: centred composer, smoother mobile layout, plan payments
   -------------------------------------------------------------------------- */
.composer-zone{
  left:var(--sidebar);
  right:0;
  padding-left:clamp(14px,4vw,64px);
  padding-right:clamp(14px,4vw,64px);
}
.app-shell.sidebar-collapsed .composer-zone{left:0}
.composer-card{width:min(100%,900px);margin-inline:auto}
.app-shell.welcome-mode .composer-zone,
.app-shell.sidebar-collapsed.welcome-mode .composer-zone{
  left:var(--sidebar);
  right:0;
  padding-inline:clamp(16px,5vw,86px);
}
.app-shell.sidebar-collapsed.welcome-mode .composer-zone{left:0}
.plan-pay-button{
  display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:42px;
  border-radius:12px;background:#111217;color:#fff;text-decoration:none;font-weight:700;
  margin:10px 0 2px;transition:transform .14s ease,box-shadow .14s ease,background .14s ease;
}
.plan-pay-button:hover{transform:translateY(-1px);background:#242631;box-shadow:0 8px 22px rgba(0,0,0,.12)}
body[data-theme="dark"] .plan-pay-button{background:#f2f3f5;color:#111217}
body[data-theme="dark"] .plan-pay-button:hover{background:#fff}

@media(max-width:760px){
  html,body{overscroll-behavior-y:none}
  .main-panel{min-width:0}
  .topbar{height:58px}
  .conversation{padding:18px 12px 150px}
  .messages{width:100%;max-width:100%}
  .message-row{max-width:100%}
  .assistant-body{min-width:0}
  .assistant-content{font-size:15px;line-height:1.55;overflow-wrap:anywhere}
  .message-user .message-body{max-width:91%}
  .composer-zone,.app-shell.sidebar-collapsed .composer-zone,
  .app-shell.welcome-mode .composer-zone,.app-shell.sidebar-collapsed.welcome-mode .composer-zone{
    left:0;right:0;padding-left:8px;padding-right:8px;
  }
  .composer-card{border-radius:21px;padding:10px 10px 8px 13px;max-width:none}
  .composer-card textarea{font-size:16px;min-height:38px;max-height:140px}
  .composer-toolbar{gap:6px}
  .composer-tool{min-width:34px;min-height:34px}
  .sidebar{width:min(88vw,320px)}
  .app-shell:not(.sidebar-collapsed) .main-panel{filter:none}
  .modal{padding:10px}
  .modal-card{width:min(100%,640px);max-height:92dvh;border-radius:18px}
  .plan-grid{grid-template-columns:1fr}
}

@media(display-mode:standalone){
  body{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
  .topbar{padding-top:max(0px,env(safe-area-inset-top))}
}


/* V0.9.2: centred composer, nearby-school results, verification feedback */
.composer-zone{left:var(--sidebar)!important;right:0!important;width:auto!important;display:flex;flex-direction:column;align-items:center;padding-left:clamp(12px,3vw,42px)!important;padding-right:clamp(12px,3vw,42px)!important}
.app-shell.sidebar-collapsed .composer-zone{left:0!important}
.composer-zone>.generation-status,.composer-zone>.attachment-chips,.composer-zone>.composer-card,.composer-zone>.read-aloud-bar,.composer-zone>.composer-note{width:min(100%,880px)}
.composer-card{margin:0 auto!important}
.app-shell.welcome-mode .composer-zone,.app-shell.sidebar-collapsed.welcome-mode .composer-zone{left:var(--sidebar)!important;right:0!important;width:auto!important;padding-inline:clamp(14px,4vw,60px)!important}
.app-shell.sidebar-collapsed.welcome-mode .composer-zone{left:0!important}
.schools-card{border:1px solid var(--border);border-radius:18px;background:var(--surface);overflow:hidden;box-shadow:0 6px 20px rgba(25,28,36,.05);margin:.5rem 0 1rem}
.schools-card-head{padding:14px 16px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;gap:14px;align-items:center}
.schools-card-head strong{font-size:13px}.schools-card-head span{font-size:10.5px;color:var(--text-faint)}
.school-result{display:flex;gap:12px;padding:12px 15px;border-bottom:1px solid var(--border)}.school-result:last-child{border-bottom:0}
.school-rank{width:27px;height:27px;border-radius:9px;background:#efedff;color:#5c4fe3;display:grid;place-items:center;font-size:11px;font-weight:800;flex:0 0 auto}
.school-copy{display:flex;flex-direction:column;min-width:0;gap:3px}.school-copy strong{font-size:13px}.school-copy span{font-size:11px;color:var(--text-soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.school-copy small{font-size:10.5px;color:var(--text-faint)}
.schools-card.empty{padding:16px;display:flex;flex-direction:column;gap:4px}.schools-card.empty span{font-size:11px;color:var(--text-soft)}body[data-theme="dark"] .school-rank{background:#29233f;color:#c0b8ff}
.verification-destination{font-size:12px;line-height:1.45;color:#555d69;background:#f5f6f8;border:1px solid #e6e8ed;border-radius:10px;padding:9px 11px;margin-top:-2px}body[data-theme="dark"] .verification-destination{background:#17191e;border-color:#2b2e35;color:#c6cad2}
@media(max-width:760px){.composer-zone,.app-shell.sidebar-collapsed .composer-zone,.app-shell.welcome-mode .composer-zone,.app-shell.sidebar-collapsed.welcome-mode .composer-zone{left:0!important;right:0!important;padding-left:8px!important;padding-right:8px!important}.schools-card-head{align-items:flex-start;flex-direction:column;gap:3px}}

/* ========================================================================== */
/* SenvoAI V0.9.3 — workspace alignment, accessibility and interaction UI */
/* ========================================================================== */

/* Accent palettes. The selection is also shown with a border/check state so
   colour is never the only signal. */
body[data-accent="violet"]{--violet:#6657ff;--violet-2:#7b67ff;--accent-soft:#efedff;--accent-ink:#5548e8}
body[data-accent="blue"]{--violet:#246bfe;--violet-2:#4a83ff;--accent-soft:#eaf1ff;--accent-ink:#1555ce}
body[data-accent="teal"]{--violet:#00897b;--violet-2:#14a293;--accent-soft:#e6f7f4;--accent-ink:#006d62}
body[data-accent="green"]{--violet:#137a4b;--violet-2:#28965f;--accent-soft:#e9f6ef;--accent-ink:#0c6039}
body[data-accent="orange"]{--violet:#b85c00;--violet-2:#d87515;--accent-soft:#fff1e3;--accent-ink:#8d4700}
body[data-accent="rose"]{--violet:#c43d69;--violet-2:#dd5b83;--accent-soft:#fff0f4;--accent-ink:#9f2850}
body[data-accent="cb-blue"]{--violet:#0072b2;--violet-2:#268cc5;--accent-soft:#e6f3fa;--accent-ink:#005985}
body[data-accent="cb-gold"]{--violet:#b56f00;--violet-2:#e69f00;--accent-soft:#fff4d8;--accent-ink:#805000}

/* Fix the composer offset: .composer-zone already lives inside .main-panel,
   so applying the sidebar width a second time pushed it to the right. */
.main-panel .composer-zone,
.app-shell.welcome-mode .main-panel .composer-zone,
.app-shell.sidebar-collapsed .main-panel .composer-zone,
.app-shell.sidebar-collapsed.welcome-mode .main-panel .composer-zone{
  left:0!important;
  right:0!important;
  width:100%!important;
  padding-inline:clamp(14px,4vw,56px)!important;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.composer-zone>.generation-status,
.composer-zone>.attachment-chips,
.composer-zone>.composer-card,
.composer-zone>.read-aloud-bar,
.composer-zone>.composer-note{width:min(100%,820px)!important}
.composer-card{margin-inline:auto!important;transform:translateZ(0);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.composer-card:focus-within{border-color:color-mix(in srgb,var(--violet) 38%,var(--border));box-shadow:0 10px 32px rgba(24,28,38,.09),0 0 0 3px color-mix(in srgb,var(--violet) 9%,transparent)}
.app-shell.welcome-mode .composer-card{max-width:820px!important}
.app-shell.welcome-mode .welcome-view h1,.app-shell.welcome-mode .welcome-view>p{max-width:820px;text-align:center}

/* generic assistant-style recent-chat scrolling: navigation/account stay fixed while only
   the saved conversation region scrolls. */
.sidebar{overflow:hidden}
.sidebar-top,.workspace-nav,.account-row{flex:0 0 auto}
.chat-list-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding:12px 4px 12px;scrollbar-width:thin;scrollbar-color:transparent transparent;overscroll-behavior:contain;mask-image:linear-gradient(to bottom,transparent 0,#000 12px,#000 calc(100% - 12px),transparent 100%)}
.chat-list-scroll:hover{scrollbar-color:rgba(104,109,120,.32) transparent}
.chat-list-scroll::-webkit-scrollbar{width:9px}.chat-list-scroll::-webkit-scrollbar-track{background:transparent}.chat-list-scroll::-webkit-scrollbar-thumb{background:transparent;border:3px solid transparent;background-clip:content-box;border-radius:999px}.chat-list-scroll:hover::-webkit-scrollbar-thumb{background:rgba(104,109,120,.32);border:3px solid transparent;background-clip:content-box}
.chat-section-title{position:sticky;top:-1px;z-index:2;background:color-mix(in srgb,var(--surface-2) 91%,transparent);backdrop-filter:blur(8px);border-radius:8px}
.chat-item{transition:background .12s ease,color .12s ease,transform .12s ease}
.chat-item:active{transform:scale(.992)}
.chat-running{width:17px;height:17px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;background:var(--accent-soft,#efedff)}
.chat-running i{width:6px;height:6px;border-radius:50%;background:var(--violet);animation:chatRunningPulse .9s ease-in-out infinite alternate}
@keyframes chatRunningPulse{from{opacity:.35;transform:scale(.72)}to{opacity:1;transform:scale(1)}}

/* Message actions: restrained colour makes controls easier to distinguish,
   while icons/labels still communicate meaning without relying on colour. */
.message-actions{gap:4px}
.message-action{border:1px solid transparent;width:32px;height:32px;border-radius:10px;background:transparent;transition:background .13s ease,color .13s ease,border-color .13s ease,transform .13s ease}
.message-action .action-glyph{font-size:14px;filter:saturate(.86)}
.message-action.copy-action{color:#356db3}.message-action.copy-action:hover{background:#edf5ff;border-color:#d9e9fb;color:#1b5b9e}
.message-action.like-action{color:#26845f}.message-action.like-action:hover{background:#ebf8f2;border-color:#d2eee1;color:#146b49}
.message-action.dislike-action{color:#b55462}.message-action.dislike-action:hover{background:#fff0f2;border-color:#f3d6db;color:#9a3846}
.message-action.retry-action{color:#705fd0}.message-action.retry-action:hover{background:#f1efff;border-color:#dfdafd;color:#5846b7}
.message-action.source-chip{color:#087f8d}.message-action.source-chip:hover{background:#eaf9fb;border-color:#cfedf0;color:#046874}
.message-action.more-action{color:#777d88}.message-action.more-action:hover{background:#f1f2f4;border-color:#e4e6ea;color:#3f444d}
body[data-theme="dark"] .message-action.copy-action{color:#73a9e8}body[data-theme="dark"] .message-action.like-action{color:#66c59b}body[data-theme="dark"] .message-action.dislike-action{color:#e18893}body[data-theme="dark"] .message-action.retry-action{color:#a99cff}body[data-theme="dark"] .message-action.source-chip{color:#60c8d3}
body[data-theme="dark"] .message-action:hover{border-color:#343842;background:#1c1f25}

/* Search/source identity cards. */
.trace-favicon{position:relative;width:18px;height:18px;border-radius:5px;display:grid;place-items:center;overflow:hidden;background:var(--accent-soft,#efedff);color:var(--violet);font-size:9px;font-weight:800;flex:0 0 auto}
.trace-favicon b{position:absolute;inset:0;display:grid;place-items:center}.trace-favicon img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:var(--surface);z-index:1}.trace-favicon img.failed{display:none}
.trace-site{border-radius:10px!important;background:var(--surface)!important;border:1px solid var(--border)!important;box-shadow:0 1px 2px rgba(25,28,36,.025)}
.trace-site:hover{border-color:color-mix(in srgb,var(--violet) 32%,var(--border))!important;background:var(--surface-2)!important}
.source-card-list{display:grid;grid-template-columns:1fr;gap:9px}.sources-modal-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:0 2px 12px}.sources-modal-intro strong{font-size:13px}.sources-modal-intro span{max-width:470px;font-size:11px;color:var(--text-soft);line-height:1.45;text-align:right}
.source-card{display:grid;grid-template-columns:42px 1fr 24px;align-items:center;gap:12px;padding:12px 13px;border:1px solid var(--border);border-radius:15px;background:var(--surface);transition:transform .13s ease,border-color .13s ease,box-shadow .13s ease,background .13s ease}
.source-card:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--violet) 30%,var(--border));box-shadow:0 7px 20px rgba(24,27,35,.065);background:color-mix(in srgb,var(--surface) 96%,var(--accent-soft,#efedff))}
.source-logo{position:relative;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:var(--accent-soft,#efedff);border:1px solid color-mix(in srgb,var(--violet) 15%,var(--border));overflow:hidden}.source-logo-fallback{font-size:14px;font-weight:800;color:var(--violet)}.source-logo img{position:absolute;inset:5px;width:30px;height:30px;border-radius:7px;object-fit:contain;background:#fff}
.source-copy{min-width:0}.source-card-top{display:flex;align-items:center;gap:7px;min-width:0}.source-card-top strong{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.source-number{display:grid;place-items:center;min-width:19px;height:19px;border-radius:6px;background:var(--accent-soft,#efedff);color:var(--violet);font-size:9px;font-weight:800}.source-copy small{display:block;margin-top:3px;font-size:10px;color:var(--text-faint)}.source-copy p{margin:5px 0 0;font-size:10.5px;color:var(--text-soft);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.source-open{color:var(--text-faint);font-size:16px}

/* Personalization */
.personalization-modal{width:min(760px,94vw);max-height:min(88vh,830px);overflow:auto}.personal-section{padding:15px 0;border-top:1px solid var(--border)}.personal-section:first-of-type{border-top:0;padding-top:4px}.personal-section-head{display:flex;justify-content:space-between;margin-bottom:12px}.personal-section-head strong{font-size:13px}.personal-section-head span{display:block;font-size:10.5px;color:var(--text-faint);margin-top:2px}.personal-grid.two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.accent-label{margin-top:12px}.accent-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:7px}.accent-swatch{position:relative;display:flex;align-items:center;gap:7px;min-height:38px;border:1px solid var(--border);background:var(--surface);border-radius:11px;padding:7px 8px;cursor:pointer;font-size:10.5px;color:var(--text-soft);text-align:left}.accent-swatch>span{width:17px;height:17px;border-radius:50%;border:2px solid rgba(255,255,255,.9);box-shadow:0 0 0 1px rgba(20,20,20,.12);flex:0 0 auto}.accent-swatch.violet>span{background:#6657ff}.accent-swatch.blue>span{background:#246bfe}.accent-swatch.teal>span{background:#00897b}.accent-swatch.green>span{background:#137a4b}.accent-swatch.orange>span{background:#b85c00}.accent-swatch.rose>span{background:#c43d69}.accent-swatch.cb-blue>span{background:#0072b2}.accent-swatch.cb-gold>span{background:#e69f00}.accent-swatch.active{border-color:var(--violet);box-shadow:0 0 0 2px color-mix(in srgb,var(--violet) 12%,transparent);color:var(--text);font-weight:650}.accent-swatch.active:after{content:"✓";margin-left:auto;color:var(--violet);font-weight:900}
.toggle-setting{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 0;cursor:pointer}.toggle-setting>span{display:flex;flex-direction:column;gap:2px}.toggle-setting strong{font-size:12px}.toggle-setting small{font-size:10.5px;color:var(--text-faint)}.toggle-setting input{position:absolute;opacity:0;pointer-events:none}.toggle-setting i{position:relative;width:38px;height:22px;border-radius:999px;background:#d9dce3;transition:.16s ease;flex:0 0 auto}.toggle-setting i:after{content:"";position:absolute;width:16px;height:16px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.2);transition:.16s ease}.toggle-setting input:checked+i{background:var(--violet)}.toggle-setting input:checked+i:after{transform:translateX(16px)}.personal-preview{display:flex;align-items:flex-start;gap:10px;margin-top:12px;padding:12px;border-radius:13px;border:1px solid var(--border);background:var(--surface-2)}.preview-dot{width:10px;height:10px;border-radius:50%;background:var(--violet);margin-top:3px;box-shadow:0 0 0 4px color-mix(in srgb,var(--violet) 10%,transparent)}.personal-preview strong{font-size:11px}.personal-preview p{font-size:10.5px;color:var(--text-soft);margin:3px 0 0;line-height:1.45}

/* Font and accessibility preferences. */
body[data-font-size="small"]{--chat-font:14px;--composer-font:14.5px}body[data-font-size="medium"]{--chat-font:15px;--composer-font:15.5px}body[data-font-size="large"]{--chat-font:16.5px;--composer-font:17px}body[data-font-size="xlarge"]{--chat-font:18px;--composer-font:18px}
body[data-font-family="system"]{--user-font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body[data-font-family="modern"]{--user-font:Arial,"Helvetica Neue",sans-serif}body[data-font-family="readable"]{--user-font:Verdana,Tahoma,Arial,sans-serif}body[data-font-family="serif"]{--user-font:Georgia,"Times New Roman",serif}
body[data-font-family]{font-family:var(--user-font)}body[data-font-family] button,body[data-font-family] input,body[data-font-family] textarea,body[data-font-family] select{font-family:var(--user-font)}
.assistant-content,.message-bubble{font-size:var(--chat-font,15px)}.composer-card textarea{font-size:var(--composer-font,15.5px)}
body[data-contrast="high"]{--text:#050608;--text-soft:#30333a;--text-faint:#555b65;--border:#bfc3ca;--border-strong:#8f949d}body[data-theme="dark"][data-contrast="high"]{--text:#fff;--text-soft:#e5e7eb;--text-faint:#c2c7cf;--border:#555b66;--border-strong:#757d89}
body[data-reduced-motion="true"] *,body[data-reduced-motion="true"] *::before,body[data-reduced-motion="true"] *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}

/* Faster phrase-burst visual arrival. */
.assistant-content.streaming-caret{will-change:contents;animation:none!important}.assistant-content.streaming-caret:not(:empty){animation:v093Burst .085s ease-out both!important}@keyframes v093Burst{from{opacity:.88;transform:translateY(.5px)}to{opacity:1;transform:none}}

/* Auth / signup refinement */
.login-help-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:5px}.login-help-row .auth-text-button{margin:0;padding:6px 0}.auth-alert.account-missing{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#eef5ff;color:#245b95;border:1px solid #d7e7fa}.auth-alert.account-missing>div{display:flex;flex-direction:column;gap:2px;min-width:0}.auth-alert.account-missing span{color:#56708d}.auth-alert.account-missing button{border:0;background:#1f5f9d;color:white;border-radius:9px;padding:8px 10px;font-size:10.5px;font-weight:700;cursor:pointer;white-space:nowrap}.signup-steps{display:flex;align-items:center;margin:2px 0 16px}.signup-step{display:flex;align-items:center;gap:7px;min-width:0;opacity:.48}.signup-step>span{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#eef0f4;color:#6f7480;font-size:10px;font-weight:800;flex:0 0 auto}.signup-step>div{display:flex;flex-direction:column;gap:1px}.signup-step strong{font-size:10.5px}.signup-step small{font-size:8.5px;color:#989ca6}.signup-step.active{opacity:1}.signup-step.active>span{background:var(--violet);color:white;box-shadow:0 0 0 4px color-mix(in srgb,var(--violet) 10%,transparent)}.signup-steps>i{height:1px;background:#e3e5ea;flex:1;margin:0 8px}.field-help{font-size:9.5px;color:#969ba6;line-height:1.35}.password-field{position:relative}.password-field input{width:100%;padding-right:58px}.password-field button{position:absolute;right:5px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#6657ff;font-size:9.5px;font-weight:700;padding:6px;cursor:pointer}.password-strength{font-size:9.5px;color:#969ba6}.password-strength.good{color:#24765a}.password-strength.strong{color:#11704e;font-weight:650}.password-strength.weak{color:#a75555}.signup-verify-area{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid #e4e6eb;border-radius:13px;background:#fafbfc;animation:authVerifyIn .2s ease-out both}@keyframes authVerifyIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}.verification-help{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:9.5px;color:#9297a2}.verification-help .auth-text-button{margin:0}.auth-centred-link{display:block;margin:12px auto 0}.auth-primary.busy,.auth-secondary.busy{opacity:.72;pointer-events:none}.button-spinner{width:13px;height:13px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}.auth-secondary .button-spinner{border-color:#d5d7dc;border-top-color:#6657ff}.auth-primary{display:flex;align-items:center;justify-content:center;gap:8px}.auth-secondary{display:flex;align-items:center;justify-content:center;gap:8px}

body[data-theme="dark"] .source-logo img{background:#fff}body[data-theme="dark"] .trace-site{background:#14161a!important}body[data-theme="dark"] .source-card{background:#14161a}body[data-theme="dark"] .source-card:hover{background:#181b20}body[data-theme="dark"] .accent-swatch{background:#15171b;border-color:#2c3038}body[data-theme="dark"] .personal-preview{background:#15171b}body[data-theme="dark"] .chat-section-title{background:rgba(15,16,19,.92)}

@media(max-width:760px){
  .main-panel .composer-zone,.app-shell.welcome-mode .main-panel .composer-zone,.app-shell.sidebar-collapsed .main-panel .composer-zone,.app-shell.sidebar-collapsed.welcome-mode .main-panel .composer-zone{left:0!important;right:0!important;width:100%!important;padding-inline:8px!important}
  .composer-zone>.generation-status,.composer-zone>.attachment-chips,.composer-zone>.composer-card,.composer-zone>.read-aloud-bar,.composer-zone>.composer-note{width:100%!important}
  .personal-grid.two-col{grid-template-columns:1fr}.accent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sources-modal-intro{flex-direction:column}.sources-modal-intro span{text-align:left}.source-card{grid-template-columns:38px 1fr 18px;padding:10px}.source-logo{width:36px;height:36px}.source-logo img{width:26px;height:26px}.login-help-row{align-items:flex-start;flex-direction:column}.signup-step>div{display:none}.signup-steps>i{margin-inline:5px}
}
/* Keep action meaning visible even before hover; icons are still labelled for
   screen readers and tooltips, so colour is supplemental rather than required. */
.message-action.copy-action{background:#f2f7fd}.message-action.like-action{background:#eff9f4}.message-action.dislike-action{background:#fff3f4}.message-action.retry-action{background:#f4f2ff}.message-action.source-chip{background:#eefafb}.message-action.more-action{background:#f5f6f7}
body[data-theme="dark"] .message-action.copy-action,body[data-theme="dark"] .message-action.like-action,body[data-theme="dark"] .message-action.dislike-action,body[data-theme="dark"] .message-action.retry-action,body[data-theme="dark"] .message-action.source-chip,body[data-theme="dark"] .message-action.more-action{background:#171a1f}
.password-strength[data-level="weak"]{color:#a75555}.password-strength[data-level="good"]{color:#24765a}.password-strength[data-level="strong"]{color:#11704e;font-weight:650}.signup-step.complete{opacity:.8}.signup-step.complete>span{background:#e8f7f0;color:#197452}.signup-step.complete>span:before{content:"✓"}.signup-step.complete>span{font-size:0}.signup-step.complete>span:before{font-size:10px}

/* ========================================================================== */
/* SenvoAI V0.10.0 — account/settings polish                            */
/* ========================================================================== */
:root{--v10-ease:cubic-bezier(.2,.8,.2,1)}
button,.popover-action,.sidebar-nav,.new-chat-button,.message-action,.primary-button,.secondary-button,.mini-button{transition:transform .16s var(--v10-ease),background .16s ease,border-color .16s ease,box-shadow .16s ease,opacity .16s ease}
button:active:not(:disabled),.popover-action:active,.sidebar-nav:active{transform:scale(.975)}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--violet);outline-offset:2px}
.nav-icon{width:22px;height:22px;display:grid;place-items:center;flex:0 0 22px}.nav-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.nav-icon svg circle[fill]{stroke:none}.workspace-nav .sidebar-nav,.new-chat-button{min-height:40px}
.menu-end{margin-left:auto;color:var(--text-faint)}

/* Smooth phrase streaming without a fake typewriter cursor. */
.assistant-content.streaming-caret{animation:v10PhraseIn .12s ease-out both!important;will-change:contents}.assistant-content.streaming-caret:after{display:none!important}@keyframes v10PhraseIn{from{opacity:.93}to{opacity:1}}

/* Live time card: numbers are individually positioned so they never concatenate. */
.analog-clock.full-clock{position:relative;width:112px;height:112px;min-width:112px;border-radius:50%;border:1.5px solid currentColor}.clock-num{position:absolute;transform:translate(-50%,-50%);font-size:9px;font-weight:760;line-height:1;z-index:2}.analog-clock .hour-hand,.analog-clock .minute-hand,.analog-clock .second-hand{position:absolute;left:50%;bottom:50%;transform-origin:50% 100%;border-radius:999px;z-index:3}.analog-clock .hour-hand{width:3px;height:25px;background:currentColor;margin-left:-1.5px}.analog-clock .minute-hand{width:2px;height:34px;background:currentColor;margin-left:-1px}.analog-clock .second-hand{width:1.5px;height:37px;background:var(--violet);margin-left:-.75px}.analog-clock>b{position:absolute;left:50%;top:50%;width:7px;height:7px;border-radius:50%;background:var(--violet);transform:translate(-50%,-50%);z-index:4}.live-time-card{display:flex;align-items:center;justify-content:space-between;gap:26px}.live-time-zone{max-width:220px}

/* Profile */
.profile-modal-v10{width:min(520px,calc(100vw - 24px));padding:18px 20px 16px}.profile-hero{display:flex;justify-content:center;padding:8px 0 26px}.profile-avatar-xl{position:relative;width:148px;height:148px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--violet) 78%,#17c89a);color:#fff;font-size:48px;font-weight:500;border:4px solid var(--surface);box-shadow:0 0 0 2px var(--text),0 9px 30px rgba(0,0,0,.08)}.profile-camera{position:absolute;right:6px;bottom:10px;width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:var(--surface);color:var(--text);border:1px solid var(--border-strong);font-size:13px}.profile-fields{display:grid;gap:10px}.username-field{position:relative}.username-field>span{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:var(--text-faint);z-index:2}.username-field .settings-input{padding-left:29px}.profile-danger{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px;padding:15px;border:1px solid color-mix(in srgb,#d33 32%,var(--border));border-radius:14px;background:color-mix(in srgb,#e33 5%,var(--surface))}.profile-danger>div{display:flex;flex-direction:column;gap:3px}.profile-danger strong{font-size:12px}.profile-danger span{font-size:10px;color:var(--text-soft);line-height:1.45}.danger-outline-button{border:1px solid #d95050;background:transparent;color:#c63838;border-radius:11px;padding:9px 12px;font-weight:700;white-space:nowrap;cursor:pointer}.danger-outline-button:hover{background:rgba(210,55,55,.08)}.danger-button-wide{width:100%;border:0;background:#cc3d3d;color:#fff;border-radius:12px;padding:11px 14px;font-weight:750;cursor:pointer}.danger-confirm{display:grid;gap:13px}.danger-confirm>strong{color:#c63838;font-size:14px}.danger-confirm p{margin:0;color:var(--text-soft);line-height:1.55}

/* Account switcher */
.accounts-modal-v10{width:min(480px,calc(100vw - 24px))}.account-switcher-list{display:grid;gap:5px}.account-switch-row,.account-add-row{width:100%;display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:11px;border:0;background:transparent;padding:10px;border-radius:13px;text-align:left;color:var(--text);cursor:pointer}.account-switch-row:hover,.account-add-row:hover{background:var(--surface-2)}.account-switch-row.current{background:var(--surface-2);cursor:default}.account-switch-row>div,.account-add-row>div{min-width:0;display:flex;flex-direction:column;gap:2px}.account-switch-row strong,.account-add-row strong{font-size:12px}.account-switch-row small,.account-add-row small{font-size:9.5px;color:var(--text-faint);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.switch-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--violet);color:#fff;font-weight:750}.account-plus{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--border);font-size:21px}.account-add-row{margin-top:8px;border-top:1px solid var(--border);border-radius:0;padding-top:15px}

/* generic assistant-inspired settings centre, implemented with SenvoAI controls. */
.settings-center-v10{width:min(760px,calc(100vw - 24px));height:min(690px,calc(100vh - 34px));padding:0;display:grid;grid-template-columns:205px 1fr;overflow:hidden;position:relative}.settings-x{position:absolute;left:13px;top:13px;width:38px;height:38px;border-radius:10px;border:1px solid var(--border-strong);background:var(--surface);font-size:24px;z-index:4;cursor:pointer}.settings-sidebar-v10{padding:64px 10px 14px;border-right:1px solid var(--border);overflow-y:auto;background:color-mix(in srgb,var(--surface-2) 54%,var(--surface))}.settings-search{height:40px;border:1px solid var(--border);border-radius:18px;display:flex;align-items:center;gap:7px;padding:0 11px;margin-bottom:12px;background:var(--surface)}.settings-search input{border:0;outline:0;background:transparent;min-width:0;width:100%;font-size:11px;color:var(--text)}.settings-search span{color:var(--text-faint)}.settings-nav{width:100%;border:0;background:transparent;color:var(--text);border-radius:9px;padding:9px 10px;display:flex;align-items:center;gap:10px;text-align:left;font-size:11.5px;cursor:pointer}.settings-nav:hover{background:var(--surface-3)}.settings-nav.active{background:var(--surface-3);font-weight:700}.settings-nav>span{width:18px;text-align:center}.settings-nav.search-hidden{display:none}.settings-content-v10{position:relative;padding:20px 28px 74px;overflow-y:auto}.settings-panel-v10{display:none}.settings-panel-v10.active{display:block;animation:v10PanelIn .17s ease-out both}@keyframes v10PanelIn{from{opacity:.65;transform:translateY(3px)}to{opacity:1;transform:none}}.settings-panel-v10>h2{font-size:20px;margin:0 0 22px;padding-bottom:14px;border-bottom:1px solid var(--border)}.settings-lead{color:var(--text-soft);font-size:11.5px;margin:-11px 0 18px;line-height:1.55}.settings-info-card{display:flex;gap:13px;background:var(--surface-2);border:1px solid var(--border);border-radius:14px;padding:16px;margin-bottom:18px}.settings-info-icon{width:30px;height:30px;border-radius:9px;border:1px solid var(--border-strong);display:grid;place-items:center}.settings-info-card strong{font-size:12px}.settings-info-card p{margin:5px 0 0;color:var(--text-soft);font-size:10.5px;line-height:1.55}.setting-row{min-height:62px;padding:13px 0;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:22px}.setting-row>div:first-child{display:flex;flex-direction:column;gap:3px;min-width:0}.setting-row strong{font-size:12px;font-weight:620}.setting-row span{font-size:10px;color:var(--text-faint);line-height:1.4}.settings-compact{border:0;background:transparent;color:var(--text);font-size:11.5px;max-width:185px;padding:7px 28px 7px 7px;text-align:right;cursor:pointer}.accent-row{align-items:flex-start;flex-direction:column}.accent-grid.compact{width:100%;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:2px}.switch-v10{position:relative;display:block;flex:0 0 auto}.switch-v10 input{position:absolute;opacity:0}.switch-v10 i{display:block;width:40px;height:23px;border-radius:999px;background:#d4d6db;position:relative;transition:.16s ease}.switch-v10 i:after{content:"";position:absolute;width:17px;height:17px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.18);transition:.16s ease}.switch-v10 input:checked+i{background:var(--violet)}.switch-v10 input:checked+i:after{transform:translateX(17px)}.settings-save-bar{position:absolute;left:0;right:0;bottom:0;min-height:62px;padding:10px 28px;display:flex;justify-content:flex-end;gap:8px;align-items:center;background:color-mix(in srgb,var(--surface) 92%,transparent);backdrop-filter:blur(14px);border-top:1px solid var(--border);z-index:3}

/* Verification code countdown */
#signupCodeTimer{font-variant-numeric:tabular-nums;color:var(--violet);font-size:10px}.verification-destination{line-height:1.5}

/* Help submenu icon alignment */
.help-menu .popover-action{display:grid;grid-template-columns:20px 1fr;gap:8px;align-items:center}.help-menu .popover-action>span{width:20px;text-align:center;color:var(--text-soft)}
.bug-report-card{display:grid;gap:12px}.bug-report-card p{margin:0;color:var(--text-soft)}.bug-report-card pre{white-space:pre-wrap;background:var(--surface-2);border:1px solid var(--border);border-radius:11px;padding:12px;font-size:10px;overflow:auto}

body[data-theme="dark"] .settings-sidebar-v10{background:#101216}body[data-theme="dark"] .settings-info-card,body[data-theme="dark"] .account-switch-row.current{background:#15181d}body[data-theme="dark"] .profile-danger{background:rgba(190,55,55,.06)}

@media(max-width:760px){.settings-center-v10{grid-template-columns:1fr;height:calc(100vh - 12px);width:calc(100vw - 12px)}.settings-sidebar-v10{padding:58px 8px 8px;border-right:0;border-bottom:1px solid var(--border);display:flex;overflow-x:auto;overflow-y:hidden;gap:3px;min-height:118px}.settings-search{display:none}.settings-nav{width:auto;white-space:nowrap;flex:0 0 auto}.settings-content-v10{padding:18px 16px 78px}.settings-nav>span{display:none}.setting-row{gap:12px}.accent-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-save-bar{padding-inline:16px}.profile-avatar-xl{width:118px;height:118px;font-size:40px}.profile-danger{align-items:flex-start;flex-direction:column}.live-time-card{gap:14px}.analog-clock.full-clock{width:94px;height:94px;min-width:94px}.clock-num{font-size:8px}}
.release-feed-v10{max-width:900px;margin:0 auto;padding:0 24px 60px}.release-entry-v10{padding:30px 0;border-top:1px solid #e5e7ec}.release-entry-v10:first-child{border-top:0}.release-entry-v10 h2{font-size:24px;letter-spacing:-.4px;margin:0 0 17px}.release-entry-v10 h3{font-size:17px;margin:0 0 10px}.release-entry-v10 p,.release-entry-v10 li{font-size:13px;line-height:1.7;color:#555d69}.release-entry-v10 ul{padding-left:20px}.release-entry-v10 li+li{margin-top:7px}.release-hero-v10{padding-bottom:25px}

/* ========================================================================== */
/* SenvoAI V0.10.1 — select menus, full sidebar scroll, faster controls   */
/* ========================================================================== */
:root{--ui-fast:.105s;--ui-ease:cubic-bezier(.2,.75,.2,1)}
button,.popover-action,.sidebar-nav,.new-chat-button,.message-action,.primary-button,.secondary-button,.mini-button,.composer-tool,.send-button,.effort-button{transition-duration:var(--ui-fast)!important;transition-timing-function:var(--ui-ease)!important}
button:active:not(:disabled),.popover-action:active,.sidebar-nav:active,.message-action:active{transform:scale(.97)}

/* Custom select controls replace the browser's dated native dropdown visuals. */
.senvora-select{position:relative;min-width:150px;max-width:240px;flex:0 0 auto}
.native-select-hidden{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;overflow:hidden!important}
.senvora-select-button{width:100%;min-height:38px;padding:8px 10px 8px 12px;border:1px solid var(--border);border-radius:11px;background:var(--surface);color:var(--text);display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;cursor:pointer;box-shadow:0 1px 1px rgba(20,24,32,.02)}
.senvora-select-button:hover{background:var(--surface-2);border-color:var(--border-strong)}
.senvora-select-button:focus-visible{outline:2px solid color-mix(in srgb,var(--violet) 72%,#fff);outline-offset:2px}
.senvora-select-button i{font-style:normal;color:var(--text-faint);font-size:11px;transition:transform .12s ease}
.senvora-select:has(.senvora-select-menu:not(.hidden)) .senvora-select-button i{transform:rotate(180deg)}
.senvora-select-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:420;width:max(100%,190px);max-height:260px;overflow:auto;padding:6px;border:1px solid var(--border);border-radius:13px;background:color-mix(in srgb,var(--surface) 96%,transparent);box-shadow:0 18px 45px rgba(20,24,32,.16);backdrop-filter:blur(16px);animation:v101MenuIn .1s var(--ui-ease) both}
@keyframes v101MenuIn{from{opacity:0;transform:translateY(-3px) scale(.985)}to{opacity:1;transform:none}}
.senvora-select-menu button{width:100%;min-height:36px;border:0;border-radius:9px;background:transparent;color:var(--text);padding:8px 9px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;cursor:pointer}
.senvora-select-menu button:hover{background:var(--surface-3)}
.senvora-select-menu button.selected{background:var(--accent-soft,#efedff);color:var(--accent-ink,var(--violet));font-weight:650}
.senvora-select-menu button b{font-size:12px}
.setting-row>.senvora-select{margin-left:auto}
body[data-theme="dark"] .senvora-select-menu{box-shadow:0 20px 50px rgba(0,0,0,.48)}

/* generic assistant-style sidebar: navigation + pinned + recent scroll together; account stays visible. */
.sidebar{overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:thin;scrollbar-color:transparent transparent;padding-bottom:0}
.sidebar:hover{scrollbar-color:rgba(105,110,121,.34) transparent}
.sidebar::-webkit-scrollbar{width:9px}.sidebar::-webkit-scrollbar-track{background:transparent}.sidebar::-webkit-scrollbar-thumb{background:transparent;border:3px solid transparent;background-clip:content-box;border-radius:999px}.sidebar:hover::-webkit-scrollbar-thumb{background:rgba(105,110,121,.34);border:3px solid transparent;background-clip:content-box}
.sidebar-top{flex:0 0 auto}
.chat-list-scroll{flex:0 0 auto!important;overflow:visible!important;min-height:0!important;padding-bottom:16px!important;mask-image:none!important}
.chat-section-title{position:static!important;background:transparent!important;backdrop-filter:none!important}
.account-row{position:sticky;bottom:0;z-index:8;flex:0 0 auto;background:color-mix(in srgb,var(--surface-2) 96%,transparent)!important;backdrop-filter:blur(16px);box-shadow:0 -1px 0 var(--border)}
body[data-theme="dark"] .account-row{background:rgba(16,18,22,.96)!important}

/* Cleaner welcome geometry; headings, composer and starters use one centre line. */
.app-shell.welcome-mode .welcome-view{padding-top:104px!important;padding-bottom:220px!important;max-width:920px!important}
.app-shell.welcome-mode .welcome-view h1{margin:0!important;font-size:31px!important;line-height:1.12!important}
.app-shell.welcome-mode .welcome-view>p{margin-top:9px!important;max-width:700px!important}
.app-shell.welcome-mode .composer-zone,.app-shell.sidebar-collapsed.welcome-mode .composer-zone{top:216px!important;left:0!important;right:0!important;width:100%!important;padding-inline:clamp(14px,4vw,54px)!important}
.app-shell.welcome-mode .starter-grid{margin-top:160px!important}
@media(max-width:760px){.app-shell.welcome-mode .welcome-view{padding-top:82px!important}.app-shell.welcome-mode .composer-zone,.app-shell.sidebar-collapsed.welcome-mode .composer-zone{top:183px!important;padding-inline:8px!important}.app-shell.welcome-mode .starter-grid{margin-top:155px!important}.senvora-select{min-width:132px;max-width:180px}}

/* Clock digits are painted with pseudo-content so copied/plain-text transcripts do not contain 123456789101112. */
.clock-num::before{content:attr(data-n)}

/* Friendly local-AI error treatment rather than exposing localhost/requests internals. */
.assistant-error-row .assistant-content{border:1px solid color-mix(in srgb,#d9534f 22%,var(--border));background:color-mix(in srgb,#d9534f 4%,var(--surface));border-radius:13px;padding:12px 14px}

/* Shortcut sheet */
.shortcuts-card-v101{width:min(560px,calc(100vw - 26px))}
.shortcuts-card-v101 .modal-head>div{display:flex;flex-direction:column;gap:3px}.shortcuts-card-v101 .modal-head p{margin:0;font-size:10.5px}
.shortcut-grid-v101{display:grid;gap:0;margin-top:4px}.shortcut-grid-v101>div{min-height:44px;padding:8px 2px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:20px}.shortcut-grid-v101>div:last-child{border-bottom:0}.shortcut-grid-v101>div>span:last-child{white-space:nowrap}.shortcut-grid-v101 kbd{display:inline-grid;place-items:center;min-width:25px;height:25px;padding:0 7px;border-radius:7px;border:1px solid var(--border-strong);background:var(--surface-2);box-shadow:0 1px 0 var(--border-strong);font-size:10px;font-weight:650}

/* ========================================================================== */
/* SenvoAI V0.10.2 — faster motion, chat organization, analytics, dark UI */
/* ========================================================================== */
:root{--ui-fast:.085s;--ui-medium:.15s;--ui-ease:cubic-bezier(.22,.78,.22,1)}
button,.popover-action,.sidebar-nav,.new-chat-button,.message-action,.primary-button,.secondary-button,.mini-button,.composer-tool,.send-button,.effort-button,.section-icon-button,.section-toggle{transition:transform var(--ui-fast) var(--ui-ease),background var(--ui-fast) var(--ui-ease),border-color var(--ui-fast) var(--ui-ease),box-shadow var(--ui-fast) var(--ui-ease),color var(--ui-fast) var(--ui-ease)!important}
button:active:not(:disabled),.popover-action:active,.sidebar-nav:active,.message-action:active,.section-icon-button:active{transform:scale(.965)!important}

/* Sidebar organization */
.chat-section-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0 8px 4px 9px;min-height:28px}
.section-toggle{border:0;background:transparent;color:var(--text-faint);font:inherit;font-size:11px;font-weight:650;letter-spacing:.01em;padding:4px 0;display:flex;align-items:center;gap:4px;cursor:pointer;text-align:left}
.section-toggle span{display:inline-block;font-size:10px;transition:transform .12s ease}.section-toggle.collapsed span{transform:rotate(-90deg)}
.chat-section-tools{display:flex;align-items:center;gap:2px;opacity:0;transition:opacity .12s ease}.chat-section:hover .chat-section-tools,.chat-section-heading:focus-within .chat-section-tools{opacity:1}
.section-icon-button{width:26px;height:26px;border:0;background:transparent;border-radius:8px;color:var(--text-soft);display:grid;place-items:center;cursor:pointer;font-size:13px}.section-icon-button:hover{background:var(--surface-3);color:var(--text)}
.chat-bubble-icon{width:17px;height:15px;border:1.55px solid currentColor;border-radius:8px;position:relative;flex:0 0 17px;color:var(--text-soft)}
.chat-bubble-icon:after{content:"";position:absolute;left:2px;bottom:-3px;width:5px;height:5px;border-left:1.55px solid currentColor;transform:skewY(-35deg);background:var(--sidebar-bg,var(--surface-2))}
.chat-item.active .chat-bubble-icon:after{background:var(--surface-3)}
.chat-item{min-height:34px;border-radius:9px;padding-left:9px!important;gap:8px!important}.chat-item:hover{background:var(--surface-3)}
.chat-item .chat-title{font-size:11.5px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.empty-recents{font-size:10.5px;color:var(--text-faint);padding:8px 12px}
.recent-project-group{margin:0 0 8px}.recent-project-label{padding:6px 12px 4px;color:var(--text-faint);font-size:9.5px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.organize-chats-menu{width:210px;padding:8px}.organize-menu-head{font-size:11px;font-weight:700;padding:5px 9px 8px;color:var(--text)}.organize-chats-menu .popover-action{justify-content:flex-start;gap:10px}.organize-chats-menu .popover-action b{margin-left:auto;font-size:12px}.organize-chats-menu .popover-action.active{background:var(--surface-3)}

/* The entire sidebar scrolls, but account control remains comfortably reachable. */
.sidebar{scroll-behavior:smooth;overscroll-behavior:contain}.account-row{position:sticky!important;bottom:0!important;z-index:8;background:color-mix(in srgb,var(--sidebar-bg,var(--surface-2)) 94%,transparent)!important;backdrop-filter:blur(12px);border-top:1px solid var(--border)}

/* Custom select menus: native select stays completely out of the visual flow. */
.native-select-hidden{display:block!important;position:fixed!important;left:-10000px!important;top:-10000px!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:none!important;appearance:none!important}
.senvora-select{isolation:isolate}.senvora-select-button{min-height:36px;border-radius:10px}.senvora-select-menu{border-radius:12px;padding:5px;box-shadow:0 14px 42px rgba(20,24,32,.18)}
.senvora-select-menu button{min-height:34px;border-radius:8px}.senvora-select-menu button.selected{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--violet) 24%,transparent)}

/* Search / thinking motion */
.generation-status{gap:7px}.thinking-spinner{width:14px;height:14px;border-radius:50%;border:2px solid color-mix(in srgb,var(--violet) 18%,transparent);border-top-color:var(--violet);animation:senvoraSpin .7s linear infinite}
@keyframes senvoraSpin{to{transform:rotate(360deg)}}
.search-trace{animation:traceIn .18s var(--ui-ease) both}.search-trace:has(.search-trace-loading){overflow:hidden}.search-trace-loading{position:relative;color:var(--text-soft)}.search-trace-loading:after{content:"";display:inline-block;width:16px;height:6px;margin-left:5px;background:radial-gradient(circle,currentColor 1.2px,transparent 1.5px) 0 50%/6px 6px repeat-x;animation:searchDots .9s linear infinite;vertical-align:middle}@keyframes searchDots{to{background-position:6px 50%}}@keyframes traceIn{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}

/* Welcome layout: keep the heading/composer aligned without invisible subtitle collisions. */
.app-shell.welcome-mode .welcome-view{display:flex!important;flex-direction:column;align-items:center;padding-top:118px!important;min-height:100%}.app-shell.welcome-mode .welcome-view h1{margin:0;font-size:31px;letter-spacing:-1.05px;line-height:1.08}.app-shell.welcome-mode .starter-grid{margin-top:170px!important}.app-shell.welcome-mode .composer-zone,.app-shell.sidebar-collapsed.welcome-mode .composer-zone{top:190px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(760px,calc(100% - 36px))!important;padding:0!important}.composer-card{box-shadow:0 10px 34px rgba(22,26,34,.07)}

/* Analytics */
.analytics-toolbar{display:flex;justify-content:space-between;gap:12px;margin:16px 0}.analytics-range{display:flex;gap:3px;background:var(--surface-3);border-radius:999px;padding:3px}.analytics-range button{border:0;border-radius:999px;background:transparent;color:var(--text-soft);padding:6px 12px;font-size:10.5px;font-weight:650;cursor:pointer}.analytics-range button.active{background:var(--surface);color:var(--text);box-shadow:0 1px 5px rgba(15,20,28,.08)}
.analytics-card{border:1px solid var(--border);border-radius:18px;padding:16px;background:var(--surface);box-shadow:0 2px 8px rgba(25,30,42,.025)}.analytics-card-head{display:flex;justify-content:space-between;margin-bottom:12px}.analytics-card-head>div{display:flex;flex-direction:column;gap:3px}.analytics-card-head strong{font-size:12px}.analytics-card-head small{font-size:9.5px;color:var(--text-faint)}
.analytics-chart{height:190px;border-bottom:1px solid var(--border);display:flex;align-items:flex-end;gap:5px;padding:14px 4px 0;overflow:hidden}.analytics-bar-col{height:100%;min-width:0;flex:1;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;gap:6px}.analytics-bar{width:min(28px,82%);min-height:1px;border-radius:4px 4px 1px 1px;background:linear-gradient(180deg,color-mix(in srgb,var(--violet) 84%,#4d8fff),color-mix(in srgb,var(--violet) 65%,#397af5));transform-origin:bottom;animation:barGrow .35s var(--ui-ease) both}@keyframes barGrow{from{transform:scaleY(.08);opacity:.4}to{transform:scaleY(1);opacity:1}}.analytics-bar-col small{font-size:8px;color:var(--text-faint);white-space:nowrap}.analytics-legend{padding-top:12px;font-size:9.5px;color:var(--text-soft)}.analytics-legend span{display:flex;align-items:center;gap:6px}.analytics-legend i{width:8px;height:8px;border-radius:50%;background:var(--violet)}.analytics-loading{margin:auto;color:var(--text-faint);font-size:10.5px}

/* Time card refinement */
.live-time-card{background:linear-gradient(145deg,#17191d,#22252a)!important;border:1px solid rgba(255,255,255,.06)!important;box-shadow:0 16px 38px rgba(0,0,0,.18)!important}.live-time-digital{font-variant-numeric:tabular-nums;letter-spacing:-1.3px}.analog-clock.full-clock{box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}.clock-hand{transition:transform .22s cubic-bezier(.2,.7,.2,1)}

/* Dark mode: make it feel intentionally dark instead of light UI with dark panels. */
body[data-theme="dark"]{--surface:#17191d;--surface-2:#111317;--surface-3:#202329;--text:#f2f3f5;--text-soft:#c4c8d0;--text-faint:#8e949f;--border:#2a2e35;--border-strong:#373c45;--sidebar-bg:#111317;background:#0d0f12;color:#f2f3f5}
body[data-theme="dark"] .main-panel,body[data-theme="dark"] .conversation,body[data-theme="dark"] .welcome-view{background:#0d0f12!important;color:#f2f3f5!important}body[data-theme="dark"] .composer-card{background:#17191d!important;border-color:#2d3139!important;box-shadow:0 14px 34px rgba(0,0,0,.28)!important}body[data-theme="dark"] textarea,body[data-theme="dark"] input{color:#f3f4f6!important;background:transparent}body[data-theme="dark"] .assistant-content,body[data-theme="dark"] .message-assistant,body[data-theme="dark"] .settings-panel-v10,body[data-theme="dark"] .settings-content-v10{color:#f2f3f5}body[data-theme="dark"] .message-user .message-bubble{background:#22252a;color:#f5f6f8}body[data-theme="dark"] .popover,body[data-theme="dark"] .senvora-select-menu{background:rgba(24,27,32,.96)!important;border-color:#353a43!important}body[data-theme="dark"] .settings-sidebar-v10{background:#111317!important}body[data-theme="dark"] .settings-nav.active{background:#24272d!important;color:#fff!important}body[data-theme="dark"] .setting-row strong,body[data-theme="dark"] h1,body[data-theme="dark"] h2,body[data-theme="dark"] h3{color:#f5f6f8!important}

@media(max-width:760px){.app-shell.welcome-mode .welcome-view{padding-top:88px!important}.app-shell.welcome-mode .composer-zone,.app-shell.sidebar-collapsed.welcome-mode .composer-zone{top:154px!important;width:calc(100% - 16px)!important}.app-shell.welcome-mode .starter-grid{margin-top:150px!important}.analytics-toolbar{align-items:flex-start;flex-direction:column}.analytics-chart{height:165px}.analytics-bar-col small{font-size:7px}.chat-section-tools{opacity:1}}

/* V0.10.2 sidebar: one continuous generic assistant-style scroll surface. */
.sidebar{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scroll-behavior:smooth!important;
  scrollbar-width:thin;
  scrollbar-color:transparent transparent;
}
.sidebar:hover{scrollbar-color:rgba(105,110,122,.34) transparent}
.sidebar::-webkit-scrollbar{width:9px}.sidebar::-webkit-scrollbar-track{background:transparent}.sidebar::-webkit-scrollbar-thumb{background:transparent;border:3px solid transparent;background-clip:content-box;border-radius:999px}.sidebar:hover::-webkit-scrollbar-thumb{background:rgba(105,110,122,.34);border:3px solid transparent;background-clip:content-box}
.chat-list-scroll{
  flex:0 0 auto!important;
  min-height:auto!important;
  overflow:visible!important;
  mask-image:none!important;
  padding-bottom:14px!important;
}
.account-row{width:100%;bottom:-1px!important}
.app-shell.sidebar-collapsed .sidebar{overflow:hidden!important}
@media(max-width:760px){.sidebar{overscroll-behavior:contain}}


/* ========================================================================== */
/* SenvoAI V0.10.4 — Ollama fix + polished settings/work UI              */
/* ========================================================================== */

/* Composer is always centered inside main-panel, never offset by sidebar twice. */
.assistant-tool-trace{transition:opacity .16s ease,transform .16s ease;max-width:100%;overflow:hidden}.assistant-tool-trace.hidden{opacity:0;transform:translateY(-2px)}

.main-panel>.composer-zone,
.app-shell.welcome-mode .main-panel>.composer-zone,
.app-shell.sidebar-collapsed .main-panel>.composer-zone,
.app-shell.sidebar-collapsed.welcome-mode .main-panel>.composer-zone{
  left:50%!important; right:auto!important; transform:translateX(-50%)!important;
  width:min(900px,calc(100% - 28px))!important; padding-inline:0!important;
}
.app-shell.welcome-mode .main-panel>.composer-zone{top:198px!important;bottom:auto!important}
.composer-zone>.generation-status,.composer-zone>.attachment-chips,.composer-zone>.composer-card,.composer-zone>.read-aloud-bar,.composer-zone>.composer-note{width:100%!important;max-width:860px!important}
.composer-card{width:100%!important;border-radius:24px!important;padding:10px 12px 9px 16px!important;box-shadow:0 14px 38px rgba(20,24,34,.075)!important}
.composer-card textarea{line-height:1.5!important;min-height:38px!important}
.app-shell.welcome-mode .welcome-view{padding-top:106px!important}.app-shell.welcome-mode .welcome-view h1{font-size:32px!important}.app-shell.welcome-mode .starter-grid{margin-top:174px!important}

/* Settings: roomy content, no footer overlay, stronger contrast and smoother nav. */
.settings-center-v10{width:min(820px,calc(100vw - 28px))!important;grid-template-columns:214px minmax(0,1fr)!important}
.settings-content-v10{padding:22px 30px 30px!important;overflow-y:auto!important}
.settings-save-bar{position:static!important;min-height:0!important;margin-top:28px!important;padding:18px 0 4px!important;border-top:1px solid var(--border)!important;background:transparent!important;backdrop-filter:none!important;display:flex!important;align-items:center!important}
.settings-unsaved-hint{display:none;margin-right:auto;color:var(--text-faint);font-size:11px}.settings-dirty .settings-unsaved-hint{display:inline-block;color:var(--violet)}
.settings-nav{min-height:40px!important;padding:10px 11px!important;font-size:12.5px!important;border-radius:10px!important;transition:background .11s ease,transform .11s ease,color .11s ease!important}.settings-nav:active{transform:scale(.985)}
.settings-line-icon{font-size:14px!important;color:var(--text-soft)!important;font-weight:500!important}.settings-nav.active .settings-line-icon{color:var(--text)!important}
.setting-row{min-height:68px!important}.setting-row>div:first-child{padding-right:10px!important}.setting-row strong{font-size:13px!important}.setting-row span{font-size:10.8px!important}

/* Portal dropdowns: exactly one menu, fixed above all settings content. */
.senvora-select{position:relative!important;min-width:160px!important;display:inline-flex!important;justify-content:flex-end!important}
.senvora-select-button{min-width:160px!important;max-width:230px!important;height:38px!important;padding:0 11px 0 13px!important;border:1px solid var(--border)!important;background:var(--surface)!important;color:var(--text)!important;border-radius:11px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;cursor:pointer!important;box-shadow:none!important;transition:border-color .12s ease,background .12s ease,box-shadow .12s ease!important}
.senvora-select-button:hover{background:var(--surface-2)!important;border-color:var(--border-strong)!important}.senvora-select-button[aria-expanded="true"]{border-color:color-mix(in srgb,var(--violet) 58%,var(--border))!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--violet) 10%,transparent)!important}.senvora-select-button i{font-style:normal;color:var(--text-faint);font-size:12px}
.senvora-select-portal{position:fixed!important;z-index:10050!important;max-height:min(280px,60vh)!important;overflow:auto!important;padding:6px!important;background:var(--surface)!important;border:1px solid var(--border)!important;border-radius:13px!important;box-shadow:0 18px 48px rgba(18,22,30,.16)!important;animation:v103SelectIn .12s cubic-bezier(.2,.8,.2,1) both!important}
.senvora-select-portal button{width:100%!important;min-height:36px!important;padding:8px 10px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:var(--text)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;text-align:left!important;cursor:pointer!important;font-size:12px!important}.senvora-select-portal button:hover,.senvora-select-portal button.selected{background:var(--surface-3)!important}.senvora-select-portal button.selected b{color:var(--violet)!important}@keyframes v103SelectIn{from{opacity:0;transform:translateY(4px) scale(.985)}to{opacity:1;transform:none}}

/* Work-style activity trace like ChatGPT's compact tool/progress rows. */
.assistant-tool-trace{margin:2px 0 10px!important;border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important}.activity-steps{display:flex;flex-direction:column;gap:4px;margin-bottom:8px}.activity-step{min-height:32px;display:flex;align-items:center;gap:9px;color:var(--text-soft);font-size:12px;padding:4px 2px;animation:v103StepIn .14s ease-out both}.activity-step.done{color:var(--text-faint)}.activity-step-icon{width:22px;height:22px;border-radius:7px;border:1px solid var(--border);background:var(--surface-2);display:grid;place-items:center;font:600 10px ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--text-soft);flex:0 0 auto}.activity-mini-spinner{margin-left:auto;width:12px;height:12px;border:1.7px solid var(--border-strong);border-top-color:var(--violet);border-radius:50%;animation:senvoraSpin .65s linear infinite}.search-trace-block{margin-top:4px;padding:10px 12px;border:1px solid var(--border);border-radius:13px;background:var(--surface-2)}@keyframes v103StepIn{from{opacity:.4;transform:translateY(2px)}to{opacity:1;transform:none}}

/* Code/script blocks: clean dark card with proper header and copy action. */
.code-block{border-radius:16px!important;border:1px solid #2a2e36!important;background:#111318!important;box-shadow:0 10px 28px rgba(0,0,0,.12)!important;overflow:hidden!important}.code-head{height:42px!important;padding:0 12px 0 14px!important;background:#171a20!important;border-bottom:1px solid #292d35!important;color:#cdd2da!important;display:flex!important;align-items:center!important;justify-content:space-between!important}.code-lang{text-transform:lowercase;font:600 11px ui-monospace,SFMono-Regular,Consolas,monospace}.code-head-actions{display:flex;gap:5px}.code-copy{border:0!important;background:transparent!important;color:#cbd0d8!important;border-radius:8px!important;padding:6px 8px!important;cursor:pointer!important;font-size:11px!important}.code-copy:hover{background:#252932!important;color:#fff!important}.assistant-content .code-block pre{padding:16px!important}.assistant-content .code-block pre code{font-size:13px!important;line-height:1.62!important}

/* Plus/tools menu and controls */
.plus-menu{width:318px!important;padding:7px!important;border-radius:16px!important}.tool-menu-item{min-height:52px!important;padding:8px 10px!important;border-radius:11px!important;transition:background .1s ease,transform .1s ease!important}.tool-menu-item:hover{background:var(--surface-3)!important}.tool-menu-item:active{transform:scale(.99)}.tool-icon{width:34px!important;height:34px!important;border-radius:10px!important;background:var(--surface-2)!important;border:1px solid var(--border)!important;display:grid!important;place-items:center!important;font-weight:700!important}.gradient-icon{background:linear-gradient(135deg,color-mix(in srgb,var(--violet) 18%,var(--surface)),color-mix(in srgb,#19b7c7 14%,var(--surface)))!important;color:var(--violet)!important}.plus-button{transition:background .1s ease,transform .1s ease!important}.plus-button:active{transform:scale(.93)!important}

/* Faster micro-interactions. */
button,.chat-item,.popover-action,.message-action{transition-duration:.1s!important}.message-action:active,.popover-action:active,.primary-button:active,.secondary-button:active{transform:scale(.97)!important}

/* Dark mode readability */
body[data-theme="dark"] .settings-content-v10,body[data-theme="dark"] .settings-panel-v10,body[data-theme="dark"] .setting-row strong,body[data-theme="dark"] .setting-row span,body[data-theme="dark"] .shortcut-list,body[data-theme="dark"] .analytics-card{color:#f0f2f5!important}body[data-theme="dark"] .setting-row span,body[data-theme="dark"] .settings-lead{color:#aeb4be!important}body[data-theme="dark"] .senvora-select-button,body[data-theme="dark"] .senvora-select-portal{background:#181b20!important;border-color:#343943!important}body[data-theme="dark"] .senvora-select-portal button:hover,body[data-theme="dark"] .senvora-select-portal button.selected{background:#242830!important}.activity-step-icon{background:color-mix(in srgb,var(--surface-2) 86%,transparent)}

.keep-changes-card p{color:var(--text-soft);line-height:1.55;margin:0 0 18px}.keep-changes-actions{display:flex;justify-content:flex-end;gap:8px}

@media(max-width:760px){
  .main-panel>.composer-zone,.app-shell.welcome-mode .main-panel>.composer-zone,.app-shell.sidebar-collapsed .main-panel>.composer-zone,.app-shell.sidebar-collapsed.welcome-mode .main-panel>.composer-zone{width:calc(100% - 14px)!important}
  .app-shell.welcome-mode .main-panel>.composer-zone{top:160px!important}.app-shell.welcome-mode .welcome-view{padding-top:84px!important}.app-shell.welcome-mode .starter-grid{margin-top:148px!important}
  .settings-center-v10{grid-template-columns:1fr!important}.settings-content-v10{padding:18px 16px 24px!important}.senvora-select{min-width:140px!important}.senvora-select-button{min-width:140px!important;max-width:190px!important}.settings-save-bar{flex-wrap:wrap!important}.settings-unsaved-hint{width:100%!important}
}


/* ========================================================================== */
/* SenvoAI V0.10.5 — stable generic assistant-style home, voice, actions, effort UI */
/* ========================================================================== */

/* One deterministic welcome layout. Older version overrides are neutralised here. */
.app-shell.welcome-mode .conversation{padding-bottom:28px!important;overflow-y:auto!important}
.app-shell.welcome-mode .welcome-view{
  min-height:calc(100vh - 62px)!important; max-width:900px!important; margin:0 auto!important;
  padding:0 18px 70px!important; display:grid!important; grid-template-rows:150px 128px auto!important;
  align-content:start!important; justify-items:stretch!important; text-align:left!important;
}
.app-shell.welcome-mode .welcome-view h1{
  position:static!important; align-self:end!important; justify-self:center!important; margin:0 0 28px!important;
  font-size:31px!important; line-height:1.08!important; letter-spacing:-1.15px!important; text-align:center!important;
}
.app-shell.welcome-mode .main-panel>.composer-zone,
.app-shell.sidebar-collapsed.welcome-mode .main-panel>.composer-zone{
  position:absolute!important; top:150px!important; bottom:auto!important; left:50%!important; right:auto!important;
  transform:translateX(-50%)!important; width:min(900px,calc(100% - 28px))!important;
  padding:0!important; background:transparent!important; z-index:14!important;
}
.app-shell.welcome-mode .starter-grid{
  grid-row:3!important; margin:72px auto 0!important; width:min(760px,100%)!important; max-width:760px!important;
  display:flex!important; flex-direction:column!important; gap:3px!important;
}
.app-shell.welcome-mode .starter-card{min-height:58px!important;padding:10px 14px!important;border-radius:12px!important}
@media(max-width:760px){
  .app-shell.welcome-mode .welcome-view{grid-template-rows:112px 122px auto!important;padding-inline:10px!important}
  .app-shell.welcome-mode .welcome-view h1{font-size:25px!important;margin-bottom:22px!important}
  .app-shell.welcome-mode .main-panel>.composer-zone,.app-shell.sidebar-collapsed.welcome-mode .main-panel>.composer-zone{top:112px!important;width:calc(100% - 14px)!important}
  .app-shell.welcome-mode .starter-grid{margin-top:62px!important}
}

/* Compact composer dimensions without scattering on new-chat / existing-chat views. */
.composer-card{min-height:108px!important;max-height:220px!important}
.composer-toolbar{min-height:38px!important}
.composer-note{margin-top:8px!important}
.mic-button svg,.call-mic svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mic-button{color:var(--text)!important}
.mic-button.listening{background:var(--accent-soft,#eceaff)!important;color:var(--violet)!important;animation:micPulse 1s ease-in-out infinite alternate}
@keyframes micPulse{from{box-shadow:0 0 0 0 color-mix(in srgb,var(--violet) 10%,transparent)}to{box-shadow:0 0 0 7px color-mix(in srgb,var(--violet) 0%,transparent)}}

/* generic assistant-style message actions: present on hover/focus, quiet when reading. */
.message-assistant .message-actions{opacity:0!important;transform:translateY(-2px)!important;pointer-events:none!important;transition:opacity .16s ease,transform .16s ease!important}
.message-assistant:hover .message-actions,.message-assistant:focus-within .message-actions,.message-assistant .message-actions:has(.active){opacity:1!important;transform:none!important;pointer-events:auto!important}
.message-actions.generating{opacity:0!important;pointer-events:none!important}
@media(hover:none){.message-assistant .message-actions{opacity:1!important;transform:none!important;pointer-events:auto!important}}

/* Effort popover inspired by the compact ChatGPT control. */
.effort-menu{width:286px!important;padding:10px!important;border-radius:20px!important}
.effort-popover-head{display:flex;align-items:center;justify-content:space-between;padding:5px 7px 9px}.effort-popover-head strong{font-size:15px}.effort-popover-head span{font-size:10px;color:var(--text-faint)}
.effort-range{width:100%;accent-color:var(--violet);height:22px;cursor:pointer}.effort-scale{display:flex;justify-content:space-between;padding:0 5px 7px;font-size:9px;color:var(--text-faint)}
.effort-option{min-height:48px!important}.effort-option.active{background:var(--accent-soft,#efedff)!important}.effort-option:active{transform:scale(.985)}

/* Live call: hands-free turn-taking after SenvoAI finishes speaking. */
.call-modal{background:rgba(9,10,13,.72)!important;backdrop-filter:blur(22px)!important}.live-call-card{width:min(560px,calc(100vw - 20px))!important;min-height:620px!important;background:radial-gradient(circle at 50% 22%,rgba(75,127,255,.18),transparent 32%),#101217!important;border:1px solid rgba(255,255,255,.08)!important}
.call-orb{position:relative;margin-top:38px;width:124px;height:124px;display:grid;place-items:center}.call-orb:before,.call-orb:after{content:"";position:absolute;inset:0;border-radius:50%;border:1px solid rgba(111,148,255,.28);animation:callPulse 2s ease-out infinite}.call-orb:after{animation-delay:1s}.call-orb .call-logo{margin:0!important;width:88px!important;height:88px!important;border-radius:28px!important;z-index:1}.call-wave{height:34px;display:flex;align-items:center;gap:4px;margin:12px 0}.call-wave i{width:3px;height:8px;border-radius:999px;background:#7ea4ff;animation:waveBars .8s ease-in-out infinite alternate}.call-wave i:nth-child(2){animation-delay:.12s}.call-wave i:nth-child(3){animation-delay:.24s}.call-wave i:nth-child(4){animation-delay:.36s}.call-wave i:nth-child(5){animation-delay:.48s}.call-card:has(.call-mic.listening) .call-wave i{background:#4ce0ca}
.call-mic{display:grid!important;place-items:center!important}.call-hint{margin-top:15px;max-width:360px;color:#747b88;font-size:10px;line-height:1.5}@keyframes callPulse{0%{transform:scale(.7);opacity:.7}100%{transform:scale(1.18);opacity:0}}@keyframes waveBars{to{height:27px}}

/* Reduce visual bulk of account deletion, keep actions obvious. */
.danger-confirm{font-size:13px!important}.danger-confirm p{max-width:680px;line-height:1.55!important}.danger-button-wide{min-height:48px!important;border-radius:12px!important}.field-label{line-height:1.35!important}

/* Code actions fade in like message controls. */
.code-head-actions{opacity:.25;transition:opacity .15s ease}.code-block:hover .code-head-actions,.code-block:focus-within .code-head-actions{opacity:1}


/* V0.10.5 flow placement: on New chat the composer is physically inside the welcome view. */
.app-shell.welcome-mode .welcome-view{
  display:flex!important; flex-direction:column!important; align-items:center!important; justify-content:flex-start!important;
  min-height:calc(100vh - 62px)!important; max-width:920px!important; padding:72px 16px 80px!important;
}
.app-shell.welcome-mode .welcome-view h1{position:static!important;margin:0 0 42px!important;align-self:center!important;font-size:31px!important;line-height:1.08!important}
.app-shell.welcome-mode .welcome-view>.composer-zone{
  position:relative!important; inset:auto!important; top:auto!important; left:auto!important; right:auto!important; bottom:auto!important;
  transform:none!important; width:min(900px,100%)!important; padding:0!important; margin:0!important; background:transparent!important; z-index:2!important;
}
.app-shell.welcome-mode .welcome-view>.composer-zone>.composer-card{max-width:none!important;width:100%!important}
.app-shell.welcome-mode .welcome-view>.starter-grid{position:static!important;margin:46px auto 0!important;width:min(760px,100%)!important;max-width:760px!important}
@media(max-width:760px){
  .app-shell.welcome-mode .welcome-view{padding:48px 8px 55px!important}.app-shell.welcome-mode .welcome-view h1{font-size:25px!important;margin-bottom:30px!important}.app-shell.welcome-mode .welcome-view>.starter-grid{margin-top:34px!important}
}


/* SenvoAI V0.10.9 – welcome layout, maths display, and call mute polish. */
.app-shell.welcome-mode .welcome-view{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;min-height:calc(100vh - 68px)!important;padding:72px 16px 72px!important;gap:0!important;overflow:visible!important}
.app-shell.welcome-mode .welcome-view h1{margin:0 0 28px!important;text-align:center!important;max-width:840px!important}
.app-shell.welcome-mode .welcome-view>.composer-zone{position:relative!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;transform:none!important;width:min(860px,100%)!important;padding:0!important;margin:0 auto!important;background:transparent!important;z-index:2!important}
.app-shell.welcome-mode .welcome-view>.starter-grid{position:static!important;margin:26px auto 0!important;width:min(760px,100%)!important;max-width:760px!important}
.app-shell.welcome-mode .welcome-view>.composer-zone>.composer-note{margin-top:10px!important;text-align:center!important}
@media(max-width:760px){.app-shell.welcome-mode .welcome-view{padding:48px 10px 40px!important}.app-shell.welcome-mode .welcome-view h1{font-size:25px!important;margin-bottom:20px!important}.app-shell.welcome-mode .welcome-view>.starter-grid{margin-top:18px!important}}
.math-inline{display:inline-block;padding:.08rem .45rem;border-radius:8px;background:rgba(102,87,255,.08);border:1px solid rgba(102,87,255,.12);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.96em;color:#3b347f}
.math-block{margin:12px 0;padding:12px 14px;border:1px solid #e4e6ef;background:#f8f9ff;border-radius:14px;overflow:auto}.math-block code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13.5px;color:#252a34;white-space:pre-wrap}
body[data-theme="dark"] .math-inline{background:rgba(140,124,255,.14);border-color:rgba(140,124,255,.22);color:#d8d2ff}body[data-theme="dark"] .math-block{background:#141720;border-color:#2d3340}body[data-theme="dark"] .math-block code{color:#f1f3f7}
.call-muted-toggle{border:1px solid rgba(255,255,255,.14);background:#1a1d24;color:#fff;border-radius:999px;padding:12px 16px;cursor:pointer;transition:.16s ease}.call-muted-toggle:hover{background:#232733}.call-muted-toggle.active{background:#2e3443;border-color:#6f94ff;color:#dfe7ff}

/* ========================================================================== 
   SenvoAI V0.10.9 — calmer generic assistant-inspired shell + plan polish
   ========================================================================== */
:root{
  --sc-sidebar:260px;
  --sc-radius:18px;
  --sc-soft:#f7f7f8;
  --sc-hover:#ececee;
  --sc-line:#e8e8eb;
  --sc-text:#202123;
  --sc-muted:#6f7078;
  --sc-card:#fff;
  --sc-shadow:0 10px 34px rgba(0,0,0,.06);
}
body{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;letter-spacing:-.006em}
.app-shell{--sidebar:var(--sc-sidebar)}
.sidebar{width:var(--sc-sidebar)!important;background:#f9f9fa!important;border-right:0!important;padding:10px 8px 0!important}
.sidebar-brand-row{min-height:42px;padding:0 6px 6px!important}.brand-lockup.compact strong{font-size:15px!important;letter-spacing:-.35px}.brand-logo{width:27px!important;height:27px!important;border-radius:8px!important}
.new-chat-button,.sidebar-nav{min-height:38px!important;border-radius:9px!important;padding:0 10px!important;color:#27282c!important;font-size:13px!important;gap:10px!important;transition:background .12s ease,transform .12s ease!important}
.new-chat-button{background:#ececed!important;font-weight:560!important;border:0!important}.new-chat-button:hover,.sidebar-nav:hover{background:#e9e9eb!important}.new-chat-button:active,.sidebar-nav:active{transform:scale(.992)}
.nav-icon{width:20px!important;height:20px!important}.nav-icon svg{width:19px!important;height:19px!important;stroke-width:1.7!important}
.workspace-nav{gap:2px!important;margin-top:4px!important}
.chat-section{margin-top:12px!important}.chat-section-heading{padding-inline:9px!important}.section-toggle{font-size:11.5px!important;color:#7a7b82!important;font-weight:590!important}
.chat-item{min-height:36px!important;padding:0 8px!important;border-radius:9px!important;color:#34353a!important}.chat-item.active{background:#e7e7e9!important}.chat-item:hover{background:#ededee!important}.chat-item .chat-title{font-size:12.4px!important}
.account-row{min-height:58px!important;border-radius:12px 12px 0 0!important;padding:8px!important;background:rgba(249,249,250,.96)!important}.account-row:hover{background:#eeeeef!important}.account-copy strong{font-size:12.5px!important}.account-copy span{font-size:10.5px!important;color:#7b7c83!important}
.main-panel{background:#fff!important}.topbar{height:58px!important;border-bottom:1px solid rgba(0,0,0,.045)!important;background:rgba(255,255,255,.92)!important;backdrop-filter:blur(16px)!important;padding:0 14px!important}.topbar-title{font-size:13.5px!important;font-weight:620!important}.topbar-subtitle{font-size:10.5px!important;color:#8b8d94!important}.mode-switch{background:#f4f4f5!important;border:0!important;padding:3px!important;border-radius:999px!important}.mode-switch-button{min-width:86px!important;height:36px!important;border-radius:999px!important;font-size:12px!important}.mode-switch-button.active{background:#fff!important;box-shadow:0 1px 6px rgba(0,0,0,.08)!important}
.topbar-icon-action{border:0!important;background:transparent!important;color:#34353a!important}.topbar-icon-action:hover{background:#f0f0f1!important}.top-account-button{box-shadow:none!important;border:0!important}
.conversation{background:#fff!important;scroll-behavior:smooth!important}.messages{max-width:820px!important;padding-inline:18px!important}.message-row{margin-bottom:24px!important}.message-user .message-body{max-width:72%!important}.message-user .message-bubble{background:#f4f4f4!important;color:#202124!important;border:0!important;border-radius:20px!important;padding:10px 15px!important;box-shadow:none!important}.message-assistant .assistant-content{font-size:14.7px!important;line-height:1.66!important;color:#26272b!important}.message-assistant .assistant-content p{margin:0 0 13px!important}.message-assistant .assistant-content h1,.message-assistant .assistant-content h2,.message-assistant .assistant-content h3{letter-spacing:-.35px!important}
.message-assistant .assistant-avatar{width:28px!important;height:28px!important;border-radius:8px!important}.assistant-followups{gap:8px!important;margin-top:10px!important}.followup-chip{padding:7px 12px!important;border-color:#e1e1e3!important;background:#fff!important;color:#55565d!important;font-size:11px!important}.followup-chip:hover{background:#f5f5f6!important;color:#222328!important}
.main-panel>.composer-zone{padding:18px 18px 12px!important;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 20%,#fff)!important}.composer-zone>.composer-card,.composer-zone>.generation-status,.composer-zone>.attachment-chips,.composer-zone>.read-aloud-bar,.composer-zone>.composer-note{max-width:820px!important}.composer-card{min-height:92px!important;border:1px solid #dedee2!important;border-radius:26px!important;padding:12px 12px 9px 16px!important;box-shadow:0 8px 26px rgba(0,0,0,.055)!important}.composer-card:focus-within{border-color:#d2d2d6!important;box-shadow:0 10px 32px rgba(0,0,0,.075)!important}.composer-card textarea{font-size:15.5px!important;line-height:1.45!important;padding:0!important}.composer-toolbar{min-height:38px!important}.composer-tool,.effort-button{border-radius:999px!important}.send-button{width:38px!important;height:38px!important;border-radius:50%!important;background:#111214!important;color:#fff!important}.send-button:hover{transform:scale(1.035)!important;background:#000!important}.composer-note{font-size:9.5px!important;color:#a0a1a7!important;margin-top:7px!important}
.app-shell.welcome-mode .welcome-view{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;min-height:calc(100vh - 58px)!important;padding:108px 16px 48px!important;overflow:visible!important}.app-shell.welcome-mode .welcome-view h1{font-size:29px!important;font-weight:520!important;letter-spacing:-1px!important;margin:0 0 28px!important;color:#17181b!important}.app-shell.welcome-mode .welcome-view>.composer-zone{position:relative!important;inset:auto!important;transform:none!important;width:min(820px,100%)!important;padding:0!important;margin:0 auto!important;background:transparent!important}.app-shell.welcome-mode .welcome-view>.starter-grid{width:min(700px,100%)!important;margin:34px auto 0!important;gap:2px!important}.starter-card{min-height:52px!important;border:0!important;border-radius:11px!important;background:transparent!important;padding:8px 10px!important;grid-template-columns:30px 1fr!important;box-shadow:none!important;text-align:left!important}.starter-card:hover{background:#f5f5f6!important;transform:none!important}.starter-card strong{font-size:12.5px!important}.starter-card>span:last-child{font-size:10.4px!important;color:#92939a!important}.starter-icon{background:transparent!important;color:#676971!important}
.popover,.modal-card{border-color:#e6e6e8!important;box-shadow:0 18px 56px rgba(0,0,0,.13)!important}.popover{border-radius:16px!important}.account-menu{border-radius:18px!important}.popover-action{border-radius:10px!important;min-height:39px!important;font-size:12px!important}.popover-action:hover{background:#f1f1f2!important}
.settings-modal-card{border-radius:24px!important}.settings-sidebar-v10{background:#f7f7f8!important;border-right:1px solid #ececee!important}.settings-nav{border-radius:10px!important}.settings-nav.active{background:#e9e9eb!important}.setting-row{min-height:60px!important;border-bottom:1px solid #efeff1!important}.settings-content-v10{scroll-behavior:smooth!important}
/* Plans intentionally mirror the exact Free/Plus/Pro copy requested by the owner. */
.plans-modal{width:min(1060px,94vw)!important;border-radius:24px!important}.plan-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}.plan-card{min-height:345px!important;border:1px solid #e5e5e8!important;border-radius:20px!important;padding:20px!important;background:#fff!important;box-shadow:none!important;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease!important}.plan-card:hover{transform:translateY(-2px);box-shadow:0 12px 34px rgba(0,0,0,.055)!important}.plan-card.current{border-color:#111214!important;box-shadow:0 0 0 1px #111214!important}.plan-card h3{font-size:18px!important}.plan-card-top p{font-size:11.5px!important;color:#777980!important}.plan-price{margin:22px 0 18px!important}.plan-price strong{font-size:33px!important;font-weight:650!important}.plan-per{font-size:11px!important;color:#888a91!important}.plan-card ul{gap:11px!important;font-size:12px!important}.plan-card li{display:flex;align-items:flex-start;gap:8px!important}.plan-check{color:#111214;font-weight:750}.plan-pay-button,.plan-current-button{margin-top:auto!important;min-height:42px!important;border-radius:999px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:12px!important;font-weight:650!important}.plan-pay-button{background:#111214!important;color:#fff!important}.plan-pay-button:hover{background:#000!important}.plan-current-button{border:1px solid #dcdce0;background:#f7f7f8;color:#75767d}.current-plan-pill{background:#111214!important;color:#fff!important}.plan-owner{background:#17181b!important;color:#fff!important;border-color:#26272b!important}.plan-owner p,.plan-owner li{color:#d0d1d5!important}.plan-owner .plan-check{color:#fff!important}.owner-plan-private{margin-top:auto;padding-top:15px;color:#aeb0b7;font-size:10.5px}.owner-plan-admin{border-radius:18px!important}
.effort-option.locked{opacity:.72}.effort-option.locked .effort-check{font-size:9px!important;background:#111214;color:#fff;padding:3px 6px;border-radius:999px}.effort-option.locked:hover{background:#f5f5f6!important}
/* smoother micro-interactions */
button,a,.chat-item,.starter-card,.plan-card{transition-duration:.14s!important}.toast{border-radius:12px!important;box-shadow:0 12px 34px rgba(0,0,0,.16)!important}
body[data-theme="dark"]{--sc-soft:#202123;--sc-hover:#2b2c30;--sc-line:#303136;--sc-text:#f2f3f5;--sc-muted:#a8a9b0;--sc-card:#17181c;background:#0e0f11!important}body[data-theme="dark"] .sidebar{background:#17181b!important}body[data-theme="dark"] .new-chat-button{background:#25262a!important;color:#f4f5f6!important}body[data-theme="dark"] .sidebar-nav{color:#e6e7ea!important}body[data-theme="dark"] .new-chat-button:hover,body[data-theme="dark"] .sidebar-nav:hover,body[data-theme="dark"] .chat-item:hover{background:#26272b!important}body[data-theme="dark"] .chat-item.active{background:#2b2c31!important}body[data-theme="dark"] .account-row{background:rgba(23,24,27,.96)!important}body[data-theme="dark"] .main-panel,body[data-theme="dark"] .conversation{background:#0e0f11!important}body[data-theme="dark"] .topbar{background:rgba(14,15,17,.9)!important;border-color:#222328!important}body[data-theme="dark"] .mode-switch{background:#1c1d21!important}body[data-theme="dark"] .mode-switch-button.active{background:#2b2c30!important;color:#fff!important}body[data-theme="dark"] .message-user .message-bubble{background:#2b2c30!important;color:#fff!important}body[data-theme="dark"] .message-assistant .assistant-content{color:#eceef2!important}body[data-theme="dark"] .main-panel>.composer-zone{background:linear-gradient(180deg,rgba(14,15,17,0),#0e0f11 22%,#0e0f11)!important}body[data-theme="dark"] .composer-card{background:#1b1c20!important;border-color:#34353a!important}body[data-theme="dark"] .app-shell.welcome-mode .welcome-view h1{color:#f4f5f7!important}body[data-theme="dark"] .starter-card:hover{background:#1a1b1f!important}body[data-theme="dark"] .plan-card{background:#17181c!important;border-color:#303136!important;color:#f2f3f5!important}body[data-theme="dark"] .plan-card-top p,body[data-theme="dark"] .plan-card li{color:#c7c9cf!important}body[data-theme="dark"] .plan-card.current{border-color:#f0f1f3!important;box-shadow:0 0 0 1px #f0f1f3!important}body[data-theme="dark"] .plan-check{color:#f4f5f7!important}body[data-theme="dark"] .plan-current-button{background:#24252a;border-color:#3a3b42;color:#dddfe4}
@media(max-width:900px){.plan-grid{grid-template-columns:1fr!important}.plans-modal{width:min(650px,96vw)!important}.sidebar{width:min(86vw,300px)!important}.app-shell.welcome-mode .welcome-view{padding-top:78px!important}.mode-switch{display:none!important}}
@media(max-width:640px){.topbar{height:54px!important}.topbar-subtitle{display:none!important}.app-shell.welcome-mode .welcome-view{padding:58px 8px 32px!important}.app-shell.welcome-mode .welcome-view h1{font-size:24px!important;margin-bottom:20px!important}.app-shell.welcome-mode .welcome-view>.starter-grid{margin-top:22px!important}.composer-card{min-height:84px!important;border-radius:22px!important}.message-user .message-body{max-width:88%!important}.messages{padding-inline:10px!important}}


/* ================================================================
   SenvoAI V0.10.9 — authoritative theme + streaming polish
   Fixes the V0.10.8 unconditional black sidebar in Light/System-light.
   ================================================================ */
body[data-theme="light"] .sidebar,
body:not([data-theme="dark"]) .sidebar {
  background:#f7f7f8!important;
  color:#202124!important;
  border-right-color:#e8e8ea!important;
}
body[data-theme="light"] .sidebar .new-chat-button,
body:not([data-theme="dark"]) .sidebar .new-chat-button {
  background:#ececee!important;
  color:#202124!important;
}
body[data-theme="light"] .sidebar .sidebar-nav,
body[data-theme="light"] .sidebar .chat-item,
body[data-theme="light"] .sidebar .sidebar-section-title,
body:not([data-theme="dark"]) .sidebar .sidebar-nav,
body:not([data-theme="dark"]) .sidebar .chat-item,
body:not([data-theme="dark"]) .sidebar .sidebar-section-title { color:#34353a!important; }
body[data-theme="light"] .sidebar .sidebar-nav:hover,
body[data-theme="light"] .sidebar .chat-item:hover,
body:not([data-theme="dark"]) .sidebar .sidebar-nav:hover,
body:not([data-theme="dark"]) .sidebar .chat-item:hover { background:#ececee!important; }
body[data-theme="light"] .sidebar .chat-item.active,
body:not([data-theme="dark"]) .sidebar .chat-item.active { background:#e6e6e8!important;color:#191a1d!important; }
body[data-theme="light"] .sidebar .account-row,
body:not([data-theme="dark"]) .sidebar .account-row { background:rgba(247,247,248,.96)!important;color:#28292d!important; }
body[data-theme="dark"] .sidebar { background:#17181b!important;color:#f2f3f5!important; }

/* Keep the response visually fluid without fake delays. */
.message-assistant .assistant-content { overflow-wrap:anywhere; }
.message-assistant[data-streaming="true"] .assistant-content { contain:layout style; }
.generation-status,.assistant-thinking-text { transition:opacity .14s ease,transform .14s ease; }
@media (prefers-reduced-motion: reduce) {
  .generation-status,.assistant-thinking-text { transition:none!important; }
}


/* ========================================================================== */
/* SenvoAI V0.11.0 — smooth workspace redesign                            */
/* ========================================================================== */
:root{--v11-border:rgba(0,0,0,.095);--v11-soft:#f7f7f8;--v11-muted:#6f7178;--v11-shadow:0 18px 55px rgba(0,0,0,.11)}
body[data-theme="light"] .sidebar{background:#f7f7f8!important;color:#202123!important;border-right:1px solid rgba(0,0,0,.06)!important}
body[data-theme="light"] .sidebar button,body[data-theme="light"] .sidebar strong,body[data-theme="light"] .sidebar span{color:inherit}
.workspace-modal-v11{width:min(1080px,calc(100vw - 54px));height:min(526px,calc(100vh - 40px));max-height:none;padding:26px 34px 30px;border-radius:24px;overflow:auto;box-shadow:var(--v11-shadow)}
.workspace-page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:58px}.workspace-page-head.compact{min-height:74px}.workspace-page-head h2{font-size:32px;line-height:1.1;margin:0;letter-spacing:-.8px}.workspace-page-head p{margin:7px 0 0;color:var(--v11-muted);font-size:14px}.workspace-head-actions{display:flex;align-items:center;gap:12px}.workspace-search{height:42px;min-width:270px;border:1px solid var(--v11-border);border-radius:22px;display:flex;align-items:center;padding:0 14px;gap:9px;background:var(--surface,white)}.workspace-search input{border:0;outline:0;background:transparent;width:100%;font:inherit;color:inherit}.workspace-new-btn{border:0;background:#0d0d0d;color:#fff;border-radius:22px;min-height:40px;padding:0 18px;font-weight:650;cursor:pointer}.workspace-x{position:static!important;margin-left:2px}.workspace-tabs{display:flex;gap:12px;margin:28px 0 20px}.workspace-tabs button{border:0;background:transparent;border-radius:22px;padding:9px 14px;color:var(--v11-muted);font-weight:600;cursor:pointer}.workspace-tabs button.active{background:#f1f1f1;color:#161616}.inline-create-panel{display:flex;gap:9px;max-width:520px;margin:-7px 0 18px}.project-gallery-v11{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.project-card-v11{border:1px solid var(--v11-border);border-radius:17px;padding:18px;min-height:132px;position:relative;background:var(--surface,white);display:flex;gap:13px}.project-folder-icon{width:52px;height:52px;border-radius:14px;background:#f1f1f1;display:grid;place-items:center;flex:0 0 auto}.project-folder-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.7}.project-card-copy{display:flex;flex-direction:column;gap:5px;min-width:0}.project-card-copy strong{font-size:15px}.project-card-copy span{font-size:12px;color:var(--v11-muted)}.project-card-actions{position:absolute;right:10px;bottom:10px;opacity:0;transition:opacity .15s}.project-card-v11:hover .project-card-actions{opacity:1}.empty-workspace-v11{grid-column:1/-1;min-height:245px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--v11-muted)}.empty-workspace-v11 strong{color:inherit;font-size:16px}.empty-folder-v11{width:64px;height:64px;border-radius:18px;background:#f1f1f1;display:grid;place-items:center;font-size:34px;color:#111}
.library-table-head,.library-row-v11{display:grid;grid-template-columns:minmax(0,1fr) 145px 190px;align-items:center;gap:10px}.library-table-head{font-size:12px;color:var(--v11-muted);padding:0 12px 8px;border-bottom:1px solid var(--v11-border)}.library-row-v11{min-height:62px;padding:8px 12px;border-bottom:1px solid rgba(0,0,0,.055)}.library-row-v11:hover{background:rgba(0,0,0,.022);border-radius:12px}.library-name-v11{display:flex;align-items:center;gap:12px;min-width:0}.library-name-v11 strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.library-thumb-v11,.library-doc-icon-v11{width:38px;height:38px;border-radius:8px;border:1px solid var(--v11-border);object-fit:cover;display:grid;place-items:center;font-size:9px;background:#fafafa}.library-modified-v11{font-size:12px;color:var(--v11-muted)}.library-actions-v11{display:flex;justify-content:flex-end;gap:5px;opacity:0}.library-row-v11:hover .library-actions-v11{opacity:1}.library-new-menu{position:absolute;right:72px;top:79px;z-index:20;width:205px;background:var(--surface,white);border:1px solid var(--v11-border);border-radius:14px;box-shadow:0 12px 35px rgba(0,0,0,.13);padding:7px}.library-new-menu button{width:100%;display:flex;gap:10px;border:0;background:transparent;border-radius:10px;padding:10px;font:inherit;cursor:pointer;text-align:left}.library-new-menu button:hover{background:#f3f3f3}
.active-pill{font-size:12px;font-weight:700;background:#ececec;border-radius:18px;padding:8px 13px}.task-form-v11{border:1px solid var(--v11-border);border-radius:16px;padding:12px;margin:12px 0}.scheduled-list-v11{margin-top:14px}.scheduled-row-v11{min-height:64px;display:flex;align-items:center;gap:13px;border-bottom:1px solid rgba(0,0,0,.06);padding:8px 3px}.scheduled-emoji{width:37px;height:37px;border-radius:11px;background:#f3f3f3;display:grid;place-items:center}.scheduled-copy{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.scheduled-copy strong{font-size:14px}.scheduled-copy span{font-size:12px;color:var(--v11-muted)}.scheduled-actions{opacity:0;display:flex;gap:5px}.scheduled-row-v11:hover .scheduled-actions{opacity:1}.recommended-head{display:flex;justify-content:space-between;align-items:center;margin:18px 0 4px;font-size:13px;font-weight:700}.task-recommendations-v11{display:grid;grid-template-columns:1fr 1fr;column-gap:12px}.task-recommendations-v11 button{border:0;background:transparent;display:grid;grid-template-columns:32px 1fr 16px;align-items:center;gap:7px;text-align:left;padding:8px;border-radius:10px;cursor:pointer;color:inherit}.task-recommendations-v11 button:hover{background:#f4f4f4}.task-recommendations-v11 button div{display:flex;flex-direction:column}.task-recommendations-v11 strong{font-size:12px}.task-recommendations-v11 small{font-size:10.5px;color:var(--v11-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.empty-scheduled-v11{padding:18px 4px;color:var(--v11-muted);font-size:13px}
.plugins-page-v11{position:relative;padding-top:18px}.segment-switch-v11{display:flex;width:208px;background:#f2f2f3;border-radius:24px;padding:3px;margin:0 auto 12px}.segment-switch-v11 button{flex:1;height:38px;border:0;border-radius:20px;background:transparent;font-weight:650;color:#676970;cursor:pointer}.segment-switch-v11 button.active{background:#fff;color:#171717;box-shadow:0 1px 5px rgba(0,0,0,.12)}.floating-x{position:absolute!important;right:20px!important;top:17px!important}.round-add-v11{width:42px;height:42px;border-radius:50%;border:1px solid var(--v11-border);background:transparent;font-size:24px;cursor:pointer}.skills-empty-v11{height:270px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:var(--v11-muted)}.skills-empty-v11 strong{color:#151515;font-size:15px}.skills-doc-icon{font-size:36px;color:#333}.skill-editor-v11{width:min(620px,calc(100vw - 32px))}
.profile-avatar-button{border:0;cursor:pointer;position:relative;overflow:visible}.profile-avatar-xl img{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;object-fit:cover;z-index:2}.profile-avatar-fallback{position:relative;z-index:1}.profile-camera{z-index:3!important;width:34px!important;height:34px!important;background:#fff!important;border:1px solid #dadada!important;display:grid!important;place-items:center!important}.profile-camera svg{width:19px;height:19px;fill:none;stroke:#555;stroke-width:1.7}.avatar-help-v11{color:var(--v11-muted);margin-top:10px}.user-avatar-v11{position:relative;overflow:hidden}.user-avatar-v11 img,.top-avatar-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.top-account-button{position:relative;overflow:hidden}
.shortcuts-card-v11{width:min(650px,calc(100vw - 30px));max-height:min(496px,calc(100vh - 22px));padding:22px 24px 14px;border-radius:24px;overflow:auto}.shortcuts-head-v11{display:flex;justify-content:center;align-items:center;position:relative}.shortcuts-head-v11 h2{font-size:18px}.shortcuts-head-v11 .modal-close{position:absolute;right:0}.shortcuts-card-v11>p{font-size:13px;color:var(--v11-muted);margin:14px 0 30px}.shortcuts-card-v11 h3{font-size:14px;margin:0 0 8px}.shortcut-list-v11>div{display:grid;grid-template-columns:36px 1fr auto;align-items:center;min-height:54px;border-bottom:1px solid rgba(0,0,0,.06);gap:8px}.shortcut-list-v11 kbd{border:0;background:transparent;box-shadow:none;color:#666;font-size:13px}.shortcut-toggle input{display:none}.shortcut-toggle i{display:block;width:36px;height:22px;border-radius:12px;background:#b9bbc1;position:relative;transition:.16s}.shortcut-toggle i:after{content:"";width:18px;height:18px;border-radius:50%;background:#fff;position:absolute;left:2px;top:2px;transition:.16s;box-shadow:0 1px 2px rgba(0,0,0,.15)}.shortcut-toggle input:checked+i{background:#4285f4}.shortcut-toggle input:checked+i:after{transform:translateX(14px)}.shortcut-footer-v11{display:flex;justify-content:flex-end;padding-top:12px}.shortcut-footer-v11 button{border:0;background:#8f9093;color:#fff;border-radius:20px;padding:10px 16px;font-weight:650}
.report-bug-card-v11{width:min(645px,calc(100vw - 30px));max-height:min(540px,calc(100vh - 24px));overflow:auto;border-radius:20px}.bug-screenshot-v11{display:flex;align-items:center;gap:8px;margin:10px 0}.bug-screenshot-preview{height:94px;flex:1;border:1px dashed #c9c9cc;border-radius:12px;display:flex;align-items:center;justify-content:center;background-size:cover;background-position:center;color:var(--v11-muted);font-size:12px;position:relative;overflow:hidden}.bug-spinner{width:22px;height:22px;border:2px solid #bbb;border-top-color:#111;border-radius:50%;animation:spin .8s linear infinite;margin-right:8px}.checkbox-row-v11{display:flex;align-items:center;gap:8px;font-size:12px;margin:8px 0 2px}.text-button{border:0;background:transparent;text-decoration:underline;cursor:pointer}
.logout-card-v11{width:min(395px,calc(100vw - 26px));padding:42px 38px 32px;border-radius:24px;position:relative}.logout-card-v11 h2{text-align:center;font-size:27px;line-height:1.24;letter-spacing:-.5px;margin:0 0 24px}.logout-x-v11{position:absolute!important;right:18px!important;top:16px!important}.logout-account-v11{display:flex;align-items:center;gap:12px;border:1px solid var(--v11-border);border-radius:18px;padding:12px;margin-bottom:26px}.logout-account-v11>div:last-child{display:flex;flex-direction:column}.logout-account-v11 strong{font-size:16px}.logout-account-v11 span{font-size:12px;color:var(--v11-muted)}.logout-primary-v11,.logout-cancel-v11{width:100%;height:48px;border-radius:25px;font-weight:700;cursor:pointer}.logout-primary-v11{border:0;background:#0d0d0d;color:#fff;margin-bottom:10px}.logout-cancel-v11{background:transparent;border:1px solid var(--v11-border);color:inherit}
.generation-status{transition:opacity .12s ease}.assistant-content{will-change:contents}.messages{scroll-behavior:smooth}.composer-card{transform:translateZ(0)}
@media (min-width:1000px) and (max-height:650px){.workspace-modal-v11{height:calc(100vh - 30px);width:min(1015px,calc(100vw - 270px));padding:20px 28px}.workspace-page-head h2{font-size:28px}.workspace-tabs{margin:18px 0 12px}.skills-empty-v11{height:210px}.recommended-head{margin-top:11px}.scheduled-row-v11{min-height:55px}.task-recommendations-v11 button{padding:5px 8px}.profile-modal-v10{max-height:calc(100vh - 24px);overflow:auto}}
@media(max-width:760px){.workspace-modal-v11{width:calc(100vw - 16px);height:calc(100vh - 16px);padding:18px}.workspace-page-head{align-items:flex-start}.workspace-head-actions{flex-wrap:wrap;justify-content:flex-end}.workspace-search{min-width:180px}.project-gallery-v11,.task-recommendations-v11{grid-template-columns:1fr}.library-table-head,.library-row-v11{grid-template-columns:minmax(0,1fr) 80px}.library-table-head span:last-child,.library-actions-v11{display:none}}
body[data-theme="dark"]{--v11-border:rgba(255,255,255,.12);--v11-soft:#26262a;--v11-muted:#aaaab1}body[data-theme="dark"] .workspace-tabs button.active,body[data-theme="dark"] .task-recommendations-v11 button:hover,body[data-theme="dark"] .library-new-menu button:hover{background:#2b2b2e;color:#f4f4f5}body[data-theme="dark"] .workspace-search,body[data-theme="dark"] .library-new-menu{background:#202023}body[data-theme="dark"] .project-folder-icon,body[data-theme="dark"] .scheduled-emoji,body[data-theme="dark"] .empty-folder-v11{background:#2a2a2d;color:#eee}body[data-theme="dark"] .skills-empty-v11 strong{color:#f2f2f2}

/* -------------------------------------------------------------------------- */
/* SenvoAI V0.11.1 — full-width collapsed shell + highlight actions       */
/* -------------------------------------------------------------------------- */

/* A closed sidebar occupies exactly zero layout width. This final override is
   deliberately stronger than older responsive rules accumulated in previous
   versions, preventing the ~260px blank strip shown in the bug screenshot. */
.app-shell.sidebar-collapsed > .sidebar{
  display:none!important;
  width:0!important;
  min-width:0!important;
  flex:0 0 0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
}
.app-shell.sidebar-collapsed > .main-panel{
  width:100vw!important;
  min-width:0!important;
  max-width:none!important;
  flex:1 1 100vw!important;
  margin:0!important;
}
.app-shell.sidebar-collapsed .topbar{
  width:100%!important;
  padding-left:14px!important;
}
.app-shell.sidebar-collapsed .topbar-left{margin-left:0!important;padding-left:0!important}
.app-shell.sidebar-collapsed .conversation{width:100%!important}
.app-shell.sidebar-collapsed .messages{margin-left:auto!important;margin-right:auto!important}
.app-shell.sidebar-collapsed .main-panel>.composer-zone{left:0!important;right:0!important;width:100%!important}

.highlight-toolbar{
  position:fixed;
  z-index:1200;
  display:flex;
  align-items:stretch;
  overflow:hidden;
  border:1px solid #dedee2;
  border-radius:14px;
  background:rgba(255,255,255,.98);
  box-shadow:0 8px 28px rgba(0,0,0,.13),0 1px 4px rgba(0,0,0,.06);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  animation:highlightToolbarIn .11s ease-out both;
  user-select:none;
}
.highlight-toolbar button{
  min-height:40px;
  padding:0 13px;
  border:0;
  border-right:1px solid #e5e5e7;
  background:transparent;
  color:#1f2024;
  font-size:13px;
  font-weight:620;
  white-space:nowrap;
  cursor:pointer;
}
.highlight-toolbar button:last-child{border-right:0}
.highlight-toolbar button:hover{background:#f4f4f5}
.highlight-toolbar button:active{background:#ebebed}
@keyframes highlightToolbarIn{from{opacity:0;transform:translateY(3px) scale(.985)}to{opacity:1;transform:none}}
body[data-theme="dark"] .highlight-toolbar{background:rgba(31,32,36,.98);border-color:#3c3d43;box-shadow:0 10px 30px rgba(0,0,0,.38)}
body[data-theme="dark"] .highlight-toolbar button{color:#f4f4f5;border-right-color:#3b3c42}
body[data-theme="dark"] .highlight-toolbar button:hover{background:#2a2b30}
@media(max-width:620px){
  .highlight-toolbar button{font-size:11px;padding:0 9px;min-height:38px}
}


/* -------------------------------------------------------------------------- */
/* SenvoAI V0.11.3 — final collapsed composer + smoother call polish      */
/* -------------------------------------------------------------------------- */
.app-shell.sidebar-collapsed .main-panel{
  position:relative!important;
  width:100%!important;
  flex:1 1 auto!important;
}
.app-shell.sidebar-collapsed .main-panel>.composer-zone,
.app-shell.sidebar-collapsed.welcome-mode .main-panel>.composer-zone{
  left:0!important;
  right:0!important;
  width:100%!important;
  max-width:none!important;
  padding-inline:clamp(12px,3vw,32px)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
}
.app-shell.sidebar-collapsed .main-panel>.composer-zone>.composer-card,
.app-shell.sidebar-collapsed .main-panel>.composer-zone>.generation-status,
.app-shell.sidebar-collapsed .main-panel>.composer-zone>.attachment-chips,
.app-shell.sidebar-collapsed .main-panel>.composer-zone>.read-aloud-bar,
.app-shell.sidebar-collapsed .main-panel>.composer-zone>.composer-note{
  width:min(100%,880px)!important;
  margin-inline:auto!important;
}
.call-modal .modal-card,.call-sheet,.call-panel{backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.call-status,.call-chip,.call-action,.call-toggle{transition:transform .16s ease,opacity .16s ease,background .16s ease,border-color .16s ease,box-shadow .16s ease}
.call-action:hover,.call-toggle:hover{transform:translateY(-1px)}


/* ========================================================================== */
/* SenvoAI V0.12.0 — unified generic assistant-inspired interface                   */
/* Keeps SenvoAI branding while rebuilding spacing, shell, chat,          */
/* composer, workspace screens, settings, popovers and voice surfaces.        */
/* ========================================================================== */
:root{
  --cg-sidebar:260px;
  --cg-bg:#ffffff;
  --cg-sidebar-bg:#f9f9f9;
  --cg-surface:#ffffff;
  --cg-surface-2:#f4f4f4;
  --cg-surface-3:#ececec;
  --cg-hover:#ececec;
  --cg-active:#e5e5e5;
  --cg-border:#e5e5e5;
  --cg-border-strong:#d7d7d7;
  --cg-text:#171717;
  --cg-text-2:#5f5f5f;
  --cg-text-3:#8d8d8d;
  --cg-shadow:0 12px 36px rgba(0,0,0,.10);
  --cg-shadow-small:0 4px 16px rgba(0,0,0,.08);
  --cg-radius:18px;
  --cg-message:780px;
  --cg-composer:780px;
  --cg-speed:cubic-bezier(.2,.8,.2,1);
  --sidebar:var(--cg-sidebar)!important;
}
*{box-sizing:border-box}
html,body{height:100%;margin:0;background:var(--cg-bg)!important;color:var(--cg-text)!important;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;text-rendering:optimizeLegibility}
body{overflow:hidden!important}
button,input,textarea,select{font:inherit}
button{color:inherit}
.hidden{display:none!important}
.muted{color:var(--cg-text-3)!important}

/* Shell */
.app-shell{height:100dvh!important;width:100vw!important;display:flex!important;overflow:hidden!important;background:var(--cg-bg)!important}
.sidebar{width:var(--cg-sidebar)!important;min-width:var(--cg-sidebar)!important;flex:0 0 var(--cg-sidebar)!important;height:100%!important;background:var(--cg-sidebar-bg)!important;border:0!important;padding:8px 8px 0!important;display:flex!important;flex-direction:column!important;transition:width .2s var(--cg-speed),min-width .2s var(--cg-speed),transform .2s var(--cg-speed)!important;box-shadow:none!important;z-index:30!important}
.sidebar-top{display:flex!important;flex-direction:column!important;gap:2px!important;min-height:0}
.sidebar-brand-row{height:46px!important;min-height:46px!important;padding:0 6px!important;display:flex!important;align-items:center!important;justify-content:space-between!important}
.brand-lockup.compact{gap:9px!important;min-width:0}
.brand-lockup.compact strong{font-size:14px!important;font-weight:650!important;letter-spacing:-.25px!important;color:var(--cg-text)!important}
.brand-logo{width:28px!important;height:28px!important;border-radius:8px!important;box-shadow:none!important}
.icon-button,.sidebar-collapse,.sidebar-reopen{border:0!important;background:transparent!important;box-shadow:none!important;display:grid!important;place-items:center!important;cursor:pointer!important;transition:background .12s ease!important}
.sidebar-collapse{width:34px!important;height:34px!important;border-radius:9px!important;color:#616161!important}
.sidebar-collapse:hover{background:var(--cg-hover)!important}
.sidebar-collapse svg,.sidebar-reopen svg{width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.new-chat-button,.sidebar-nav{width:100%!important;min-height:40px!important;border:0!important;border-radius:9px!important;background:transparent!important;display:flex!important;align-items:center!important;gap:10px!important;padding:0 10px!important;color:#303030!important;font-size:13.5px!important;font-weight:450!important;text-align:left!important;box-shadow:none!important;cursor:pointer!important;transition:background .11s ease!important}
.new-chat-button{font-weight:550!important;margin:1px 0!important}
.new-chat-button:hover,.sidebar-nav:hover{background:var(--cg-hover)!important}
.nav-icon{width:21px!important;height:21px!important;flex:0 0 21px!important;display:grid!important;place-items:center!important;color:#444!important}
.nav-icon svg{width:19px!important;height:19px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.workspace-nav{display:flex!important;flex-direction:column!important;gap:1px!important;margin-top:2px!important}
.nav-badge{margin-left:auto!important;color:#8c8c8c!important;font-size:11px!important}
.chat-search-wrap{padding:4px 3px!important}
.chat-search-wrap input{width:100%!important;height:38px!important;border:1px solid var(--cg-border)!important;border-radius:10px!important;background:#fff!important;padding:0 11px!important;outline:0!important;color:var(--cg-text)!important}
.chat-search-wrap input:focus{border-color:#bfbfbf!important;box-shadow:0 0 0 2px rgba(0,0,0,.035)!important}
.project-filter-row{padding:7px 5px 0!important}.project-filter-chip{border:0!important;border-radius:999px!important;background:#ededed!important;color:#555!important;padding:6px 9px!important;font-size:11px!important}
.chat-list-scroll{flex:1!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:10px 2px 12px!important;scrollbar-width:thin!important;scrollbar-color:#d1d1d1 transparent!important}
.chat-section{margin:4px 0 12px!important}.chat-section-heading{height:30px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 8px!important}.chat-section-title{border:0!important;background:transparent!important;color:#8a8a8a!important;font-size:11.5px!important;font-weight:550!important;text-transform:none!important;letter-spacing:0!important;padding:0!important;cursor:pointer!important}.chat-section-tools{display:flex!important;gap:2px!important}.section-icon-button{border:0!important;background:transparent!important;border-radius:7px!important;width:27px!important;height:27px!important;color:#777!important;cursor:pointer!important}.section-icon-button:hover{background:var(--cg-hover)!important}.chat-list{display:flex!important;flex-direction:column!important;gap:1px!important}.chat-item{min-height:36px!important;border-radius:8px!important;padding:0 7px 0 10px!important;color:#3b3b3b!important;display:flex!important;align-items:center!important;gap:4px!important;cursor:pointer!important}.chat-item:hover{background:var(--cg-hover)!important}.chat-item.active{background:var(--cg-active)!important;color:#171717!important;font-weight:500!important}.chat-title{font-size:12.7px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.chat-more{width:28px!important;height:28px!important;border:0!important;background:transparent!important;border-radius:7px!important;opacity:0!important;cursor:pointer!important}.chat-item:hover .chat-more,.chat-item.active .chat-more{opacity:1!important}.chat-more:hover{background:#dcdcdc!important}
.account-row{flex:0 0 auto!important;width:100%!important;min-height:58px!important;margin:0!important;padding:9px 8px!important;border:0!important;border-radius:0!important;background:var(--cg-sidebar-bg)!important;display:flex!important;align-items:center!important;gap:9px!important;cursor:pointer!important;text-align:left!important}.account-row:hover{background:var(--cg-hover)!important;border-radius:10px!important}.avatar{width:31px!important;height:31px!important;border-radius:50%!important;background:#25b99a!important;color:#fff!important;display:grid!important;place-items:center!important;font-size:11px!important;font-weight:650!important}.account-copy strong{font-size:12.5px!important;font-weight:560!important;color:#272727!important}.account-copy span{font-size:10.5px!important;color:#8a8a8a!important}.account-chevron{margin-left:auto!important;color:#777!important}

/* Collapsed shell: zero hidden width, full-page conversation, same composer centre */
.app-shell.sidebar-collapsed>.sidebar{display:none!important;width:0!important;min-width:0!important;flex-basis:0!important;padding:0!important;margin:0!important}
.app-shell.sidebar-collapsed>.main-panel{width:100vw!important;flex:1 1 100vw!important;max-width:none!important;margin:0!important}
.sidebar-reopen{position:static!important;width:34px!important;height:34px!important;border-radius:9px!important;color:#5e5e5e!important;flex:0 0 34px!important}.sidebar-reopen:hover{background:var(--cg-hover)!important}

/* Header */
.main-panel{position:relative!important;flex:1!important;min-width:0!important;height:100%!important;background:#fff!important;display:flex!important;flex-direction:column!important}
.topbar{height:56px!important;min-height:56px!important;flex:0 0 56px!important;border:0!important;border-bottom:1px solid rgba(0,0,0,.035)!important;background:rgba(255,255,255,.94)!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important;padding:0 12px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;align-items:center!important;z-index:25!important}
.topbar-left{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;justify-self:start!important}.topbar-title-wrap{min-width:0!important}.topbar-title{font-size:13.5px!important;font-weight:600!important;color:#262626!important;max-width:270px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.topbar-subtitle{font-size:9.8px!important;color:#9a9a9a!important;margin-top:1px!important}
.mode-switch{justify-self:center!important;background:#f4f4f4!important;border:0!important;border-radius:999px!important;padding:3px!important;display:flex!important;align-items:center!important;gap:0!important}.mode-switch-button{height:36px!important;min-width:86px!important;padding:0 18px!important;border:0!important;border-radius:999px!important;background:transparent!important;color:#686868!important;font-size:12px!important;font-weight:550!important;cursor:pointer!important}.mode-switch-button.active{background:#fff!important;color:#1c1c1c!important;box-shadow:0 1px 5px rgba(0,0,0,.09)!important}
.topbar-actions{justify-self:end!important;display:flex!important;align-items:center!important;gap:3px!important}.topbar-icon-action{width:34px!important;height:34px!important;min-width:34px!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;display:grid!important;place-items:center!important;color:#404040!important;cursor:pointer!important}.topbar-icon-action:hover{background:#f1f1f1!important}.topbar-icon-action svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}.top-account-button{width:34px!important;height:34px!important;border-radius:50%!important;border:0!important;background:#27b99a!important;color:#fff!important;display:grid!important;place-items:center!important;overflow:hidden!important;font-size:12px!important;font-weight:650!important;cursor:pointer!important;margin-left:2px!important}.top-avatar-img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important}.notification-badge{position:absolute!important;right:-1px!important;top:-1px!important;min-width:15px!important;height:15px!important;border-radius:999px!important;background:#111!important;color:#fff!important;font-size:8px!important;display:grid!important;place-items:center!important}

/* Conversation */
.conversation{position:relative!important;flex:1!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;background:#fff!important;padding:0 16px 176px!important;scrollbar-width:thin!important;scrollbar-color:#d8d8d8 transparent!important;scroll-behavior:smooth!important}.messages{width:min(100%,var(--cg-message))!important;max-width:var(--cg-message)!important;margin:0 auto!important;padding:28px 0 0!important}.message-row{width:100%!important;display:flex!important;gap:10px!important;margin:0 0 24px!important;animation:cgMessageIn .15s ease-out both!important}.message-user{justify-content:flex-end!important}.message-user .message-body{max-width:min(74%,640px)!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important}.message-user .message-bubble{border:0!important;border-radius:20px!important;background:#f4f4f4!important;color:#222!important;padding:9px 14px!important;font-size:14.5px!important;line-height:1.5!important;box-shadow:none!important;white-space:pre-wrap!important}.message-time{margin-top:5px!important;font-size:9.5px!important;color:#a0a0a0!important}.message-assistant{align-items:flex-start!important}.assistant-avatar{width:27px!important;height:27px!important;flex:0 0 27px!important;border-radius:8px!important;overflow:hidden!important;margin-top:1px!important;box-shadow:none!important}.assistant-avatar img{width:100%!important;height:100%!important;object-fit:cover!important}.assistant-body{min-width:0!important;flex:1!important;max-width:740px!important}.assistant-content{font-size:14.6px!important;line-height:1.68!important;color:#242424!important;overflow-wrap:anywhere!important}.assistant-content p{margin:.08em 0 .8em!important}.assistant-content h1{font-size:22px!important}.assistant-content h2{font-size:18px!important}.assistant-content h3{font-size:15.5px!important}.assistant-content h1,.assistant-content h2,.assistant-content h3{margin:1.05em 0 .5em!important;line-height:1.25!important;letter-spacing:-.3px!important}.assistant-content ul,.assistant-content ol{padding-left:1.45em!important;margin:.5em 0 1em!important}.assistant-content li{margin:.27em 0!important}.assistant-content blockquote{margin:.75em 0!important;padding:.1em 0 .1em 14px!important;border-left:3px solid #d6d6d6!important;color:#535353!important}.assistant-content pre{background:#f7f7f8!important;border:1px solid #ececee!important;border-radius:13px!important;padding:13px 14px!important;overflow:auto!important}.assistant-content code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace!important;font-size:.91em!important}.assistant-content :not(pre)>code{background:#f2f2f2!important;border-radius:5px!important;padding:2px 5px!important}.message-actions{display:flex!important;align-items:center!important;gap:2px!important;margin-top:7px!important;opacity:.76!important}.message-action{border:0!important;background:transparent!important;border-radius:8px!important;min-width:30px!important;height:30px!important;display:grid!important;place-items:center!important;color:#777!important;cursor:pointer!important}.message-action:hover{background:#f1f1f1!important;color:#2d2d2d!important}.assistant-followups{display:flex!important;gap:7px!important;flex-wrap:wrap!important;margin-top:11px!important}.followup-chip{border:1px solid #e4e4e4!important;background:#fff!important;border-radius:999px!important;padding:7px 11px!important;color:#5f5f5f!important;font-size:11px!important;cursor:pointer!important}.followup-chip:hover{background:#f5f5f5!important;color:#222!important}
.jump-latest{position:absolute!important;bottom:142px!important;left:50%!important;transform:translateX(-50%)!important;border:1px solid #e3e3e3!important;background:#fff!important;border-radius:999px!important;padding:7px 12px!important;box-shadow:var(--cg-shadow-small)!important;color:#555!important;font-size:11px!important;z-index:19!important;cursor:pointer!important}
@keyframes cgMessageIn{from{opacity:0;transform:translateY(2px)}to{opacity:1;transform:none}}

/* Welcome / new chat */
.app-shell.welcome-mode .welcome-view{min-height:calc(100dvh - 56px)!important;width:100%!important;max-width:none!important;margin:0!important;padding:112px 16px 52px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;text-align:center!important;overflow:visible!important}.app-shell.welcome-mode .welcome-view h1{margin:0 0 26px!important;font-size:30px!important;font-weight:520!important;letter-spacing:-1.05px!important;color:#1d1d1f!important}.app-shell.welcome-mode .welcome-view>.composer-zone{position:relative!important;inset:auto!important;width:min(100%,var(--cg-composer))!important;max-width:var(--cg-composer)!important;padding:0!important;margin:0 auto!important;background:transparent!important;display:flex!important;align-items:center!important;flex-direction:column!important}.app-shell.welcome-mode .welcome-view>.starter-grid{width:min(100%,690px)!important;max-width:690px!important;display:grid!important;grid-template-columns:1fr!important;gap:2px!important;margin:26px auto 0!important}.starter-card{width:100%!important;min-height:50px!important;border:0!important;border-radius:11px!important;background:transparent!important;box-shadow:none!important;padding:8px 10px!important;display:grid!important;grid-template-columns:32px 1fr!important;grid-template-rows:auto auto!important;column-gap:9px!important;text-align:left!important;cursor:pointer!important}.starter-card:hover{background:#f6f6f6!important;transform:none!important}.starter-icon{grid-row:1/3!important;width:30px!important;height:30px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#656565!important;display:grid!important;place-items:center!important;margin:0!important}.starter-card strong{font-size:12.5px!important;font-weight:570!important;color:#353535!important}.starter-card>span:last-child{font-size:10.5px!important;color:#969696!important;margin-top:2px!important}

/* Composer — fixed and centred inside whatever main width is available */
.main-panel>.composer-zone{position:absolute!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;padding:18px 18px 10px!important;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 26%,#fff 100%)!important;display:flex!important;flex-direction:column!important;align-items:center!important;z-index:20!important;pointer-events:none!important}.main-panel>.composer-zone>*{pointer-events:auto!important}.composer-zone>.generation-status,.composer-zone>.attachment-chips,.composer-zone>.composer-card,.composer-zone>.read-aloud-bar,.composer-zone>.composer-note{width:min(100%,var(--cg-composer))!important;max-width:var(--cg-composer)!important;margin-left:auto!important;margin-right:auto!important}.composer-card{min-height:88px!important;border:1px solid #dedede!important;border-radius:26px!important;background:#fff!important;padding:11px 11px 9px 15px!important;box-shadow:0 4px 18px rgba(0,0,0,.055)!important;display:flex!important;flex-direction:column!important;gap:6px!important;transition:border-color .13s ease,box-shadow .13s ease!important}.composer-card:focus-within{border-color:#cecece!important;box-shadow:0 7px 22px rgba(0,0,0,.075)!important}.composer-card textarea{width:100%!important;min-height:34px!important;max-height:180px!important;resize:none!important;border:0!important;outline:0!important;background:transparent!important;color:#252525!important;font-size:15.5px!important;line-height:1.45!important;padding:1px 1px 0!important}.composer-card textarea::placeholder{color:#9b9b9b!important}.composer-toolbar{min-height:38px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}.composer-left-tools,.composer-right-tools{display:flex!important;align-items:center!important;gap:5px!important}.composer-tool,.effort-button{border:0!important;background:transparent!important;border-radius:999px!important;height:36px!important;color:#595959!important;cursor:pointer!important;display:flex!important;align-items:center!important;justify-content:center!important}.composer-tool{width:36px!important;min-width:36px!important}.composer-tool:hover,.effort-button:hover{background:#f3f3f3!important}.plus-button{font-size:25px!important;font-weight:300!important}.effort-button{padding:0 9px!important;gap:4px!important;font-size:11px!important}.effort-button strong{font-weight:650!important;color:#414141!important}.think-spark{color:#5c61ff!important}.mic-button svg{width:19px!important;height:19px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}.send-button,.stop-button{width:38px!important;height:38px!important;min-width:38px!important;border:0!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:#111!important;color:#fff!important;font-size:20px!important;font-weight:650!important;cursor:pointer!important;transition:transform .12s ease,background .12s ease!important}.send-button:hover,.stop-button:hover{background:#000!important;transform:scale(1.025)!important}.stop-button{font-size:12px!important}.composer-note{font-size:9.5px!important;color:#aaa!important;text-align:center!important;margin-top:6px!important}.generation-status{height:24px!important;display:flex!important;align-items:center!important;gap:7px!important;font-size:11px!important;color:#666!important;margin-bottom:3px!important;padding-left:6px!important}.generation-elapsed{color:#9b9b9b!important}.thinking-spinner{width:13px!important;height:13px!important;border:1.5px solid #d6d6d6!important;border-top-color:#5d5d5d!important;border-radius:50%!important;animation:spin .8s linear infinite!important}.attachment-chips{display:flex!important;gap:6px!important;flex-wrap:wrap!important;margin-bottom:6px!important}.attachment-chip{min-height:38px!important;border:1px solid #e5e5e5!important;background:#fff!important;border-radius:11px!important;padding:5px 8px!important;font-size:11px!important;display:flex!important;align-items:center!important;gap:6px!important}.attachment-chip img{width:30px!important;height:30px!important;border-radius:7px!important;object-fit:cover!important}.attachment-chip button{border:0!important;background:transparent!important;border-radius:50%!important;cursor:pointer!important}.attachment-chip button:hover{background:#eee!important}
.app-shell.sidebar-collapsed .main-panel>.composer-zone{left:0!important;right:0!important;width:100%!important}.app-shell.sidebar-collapsed .main-panel>.composer-zone>.composer-card{margin-inline:auto!important}

/* Popovers */
.popover{position:fixed!important;z-index:100!important;background:#fff!important;border:1px solid #e3e3e3!important;border-radius:14px!important;box-shadow:var(--cg-shadow)!important;padding:5px!important;color:#252525!important}.popover-action,.tool-menu-item,.effort-option{width:100%!important;min-height:38px!important;border:0!important;background:transparent!important;border-radius:9px!important;padding:8px 10px!important;color:#303030!important;font-size:12px!important;text-align:left!important;cursor:pointer!important;display:flex!important;align-items:center!important;gap:9px!important}.popover-action:hover,.tool-menu-item:hover,.effort-option:hover{background:#f2f2f2!important}.popover-action.danger{color:#c63b3b!important}.menu-divider{height:1px!important;background:#ededed!important;margin:4px 5px!important}.account-menu{min-width:248px!important}.account-menu-profile{padding:9px!important}.plus-menu{width:290px!important}.tool-menu-item>div{display:flex!important;flex-direction:column!important;min-width:0!important}.tool-menu-item strong{font-size:12px!important;font-weight:570!important}.tool-menu-item span{font-size:10.5px!important;color:#8a8a8a!important}.effort-menu{width:280px!important}.effort-popover-head{padding:10px!important}.effort-scale{font-size:10px!important;color:#999!important}

/* Modal system */
.modal{position:fixed!important;inset:0!important;z-index:90!important;background:rgba(0,0,0,.28)!important;display:grid!important;place-items:center!important;padding:18px!important;backdrop-filter:blur(2px)!important;-webkit-backdrop-filter:blur(2px)!important}.modal.hidden{display:none!important}.modal-card{position:relative!important;background:#fff!important;border:1px solid #e5e5e5!important;border-radius:20px!important;box-shadow:0 24px 70px rgba(0,0,0,.18)!important;color:#252525!important;padding:20px!important;max-height:calc(100dvh - 32px)!important;overflow:auto!important}.modal-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;margin-bottom:16px!important}.modal-head h2,.workspace-page-head h2{margin:0!important;font-size:20px!important;font-weight:620!important;letter-spacing:-.45px!important;color:#1d1d1d!important}.modal-head p,.workspace-page-head p,.settings-lead{margin:4px 0 0!important;color:#777!important;font-size:11.5px!important;line-height:1.45!important}.modal-close,.settings-x,.workspace-x{width:34px!important;height:34px!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#626262!important;font-size:20px!important;display:grid!important;place-items:center!important;cursor:pointer!important}.modal-close:hover,.settings-x:hover,.workspace-x:hover{background:#f0f0f0!important}.modal-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;margin-top:15px!important}.primary-button,.secondary-button,.danger-outline-button{min-height:38px!important;border-radius:999px!important;padding:0 15px!important;font-size:12px!important;font-weight:580!important;cursor:pointer!important}.primary-button{border:0!important;background:#111!important;color:#fff!important}.primary-button:hover{background:#000!important}.secondary-button{border:1px solid #dedede!important;background:#fff!important;color:#333!important}.secondary-button:hover{background:#f6f6f6!important}.danger-outline-button{border:1px solid #e0b6b6!important;background:#fff!important;color:#b43838!important}.settings-input,.settings-textarea,.field-label input,.field-label textarea{border:1px solid #dedede!important;background:#fff!important;border-radius:10px!important;color:#222!important;outline:0!important}.settings-input{min-height:40px!important;padding:0 11px!important}.settings-textarea{width:100%!important;min-height:110px!important;padding:10px 11px!important;resize:vertical!important}.settings-input:focus,.settings-textarea:focus{border-color:#bcbcbc!important;box-shadow:0 0 0 2px rgba(0,0,0,.035)!important}.field-label{display:flex!important;flex-direction:column!important;gap:6px!important;font-size:11px!important;color:#555!important}.field-help{font-size:10px!important;color:#959595!important}

/* Workspace pages: Library, Projects, Scheduled, Plugins/Skills */
.workspace-modal-v11{width:min(1000px,calc(100vw - 56px))!important;height:min(700px,calc(100dvh - 44px))!important;border-radius:24px!important;padding:26px 30px!important}.workspace-page-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important}.workspace-page-head h2{font-size:28px!important;font-weight:610!important}.workspace-head-actions{display:flex!important;align-items:center!important;gap:9px!important}.workspace-search{height:40px!important;min-width:250px!important;border:1px solid #e2e2e2!important;border-radius:999px!important;background:#fff!important;display:flex!important;align-items:center!important;gap:7px!important;padding:0 12px!important;color:#888!important}.workspace-search input{border:0!important;outline:0!important;background:transparent!important;width:100%!important;color:#222!important;font-size:12px!important}.workspace-new-btn,.round-add-v11{height:40px!important;border:0!important;border-radius:999px!important;background:#111!important;color:#fff!important;padding:0 15px!important;font-size:12px!important;font-weight:600!important;cursor:pointer!important}.round-add-v11{width:40px!important;padding:0!important;font-size:20px!important}.workspace-tabs{display:flex!important;align-items:center!important;gap:5px!important;margin:28px 0 14px!important}.workspace-tabs button{height:36px!important;border:0!important;border-radius:999px!important;background:transparent!important;color:#606060!important;padding:0 13px!important;font-size:12px!important;font-weight:550!important;cursor:pointer!important}.workspace-tabs button.active{background:#f1f1f1!important;color:#191919!important}.library-table-head{display:grid!important;grid-template-columns:minmax(0,1fr) 130px 60px!important;padding:8px 8px!important;border-bottom:1px solid #eee!important;color:#909090!important;font-size:10.5px!important}.library-list-v11{overflow:auto!important}.library-row-v11{display:grid!important;grid-template-columns:minmax(0,1fr) 130px 60px!important;align-items:center!important;min-height:58px!important;border-bottom:1px solid #f0f0f0!important;padding:6px 8px!important;border-radius:9px!important}.library-row-v11:hover{background:#fafafa!important}.library-new-menu{position:absolute!important;right:65px!important;top:74px!important;z-index:8!important;width:185px!important;background:#fff!important;border:1px solid #e5e5e5!important;border-radius:14px!important;box-shadow:var(--cg-shadow)!important;padding:5px!important}.library-new-menu button{width:100%!important;border:0!important;background:transparent!important;border-radius:9px!important;padding:9px!important;text-align:left!important;cursor:pointer!important}.library-new-menu button:hover{background:#f2f2f2!important}.project-gallery-v11{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;overflow:auto!important}.project-card-v11{border:1px solid #e6e6e6!important;border-radius:16px!important;background:#fff!important;padding:15px!important;min-height:120px!important}.project-card-v11:hover{background:#fafafa!important}.scheduled-row-v11{min-height:62px!important;border-bottom:1px solid #eee!important;padding:9px 4px!important}.scheduled-emoji{background:#f2f2f2!important;border-radius:10px!important}.scheduled-copy strong{font-size:13px!important}.scheduled-copy span{font-size:11px!important;color:#818181!important}.task-recommendations-v11{grid-template-columns:1fr 1fr!important}.task-recommendations-v11 button:hover{background:#f6f6f6!important}.segment-switch-v11{background:#f3f3f3!important;border-radius:999px!important;padding:3px!important}.segment-switch-v11 button{height:36px!important;border-radius:999px!important}.segment-switch-v11 button.active{background:#fff!important;box-shadow:0 1px 5px rgba(0,0,0,.08)!important}.plugin-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;overflow:auto!important}.plugin-card{border:1px solid #e7e7e7!important;border-radius:16px!important;background:#fff!important;padding:14px!important}.plugin-card:hover{background:#fafafa!important}

/* Settings */
.settings-center-v10{width:min(860px,calc(100vw - 40px))!important;height:min(620px,calc(100dvh - 40px))!important;padding:0!important;display:grid!important;grid-template-columns:220px 1fr!important;overflow:hidden!important}.settings-sidebar-v10{height:100%!important;background:#f7f7f7!important;border-right:1px solid #e8e8e8!important;padding:16px 10px!important;overflow:auto!important}.settings-content-v10{height:100%!important;overflow:auto!important;padding:26px 28px 86px!important;background:#fff!important}.settings-search{height:36px!important;border:1px solid #e4e4e4!important;border-radius:10px!important;background:#fff!important;padding:0 9px!important;margin-bottom:10px!important;display:flex!important;align-items:center!important;gap:6px!important}.settings-search input{border:0!important;outline:0!important;background:transparent!important;width:100%!important;font-size:11px!important}.settings-nav{width:100%!important;min-height:38px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#575757!important;text-align:left!important;padding:0 9px!important;font-size:12px!important;cursor:pointer!important}.settings-nav:hover{background:#ededed!important}.settings-nav.active{background:#e8e8e8!important;color:#1f1f1f!important;font-weight:580!important}.settings-panel-v10 h2{font-size:20px!important;font-weight:620!important}.setting-row{min-height:56px!important;border-bottom:1px solid #ededed!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}.setting-row strong{font-size:12.5px!important}.setting-row span{font-size:10.5px!important;color:#898989!important}.settings-save-bar{position:absolute!important;left:220px!important;right:0!important;bottom:0!important;min-height:62px!important;background:rgba(255,255,255,.95)!important;border-top:1px solid #ededed!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;padding:10px 20px!important;backdrop-filter:blur(8px)!important}.settings-x{position:absolute!important;right:10px!important;top:10px!important;z-index:5!important}

/* Profile */
.profile-modal-v10{width:min(500px,calc(100vw - 30px))!important}.profile-hero{display:flex!important;flex-direction:column!important;align-items:center!important;padding:4px 0 18px!important}.profile-avatar-xl{width:142px!important;height:142px!important;border-radius:50%!important;background:#24b99b!important;color:#fff!important;font-size:48px!important;display:grid!important;place-items:center!important;position:relative!important}.profile-camera{position:absolute!important;right:4px!important;bottom:5px!important;width:34px!important;height:34px!important;border-radius:50%!important;background:#fff!important;border:1px solid #ddd!important;box-shadow:0 2px 8px rgba(0,0,0,.08)!important}.profile-fields{display:flex!important;flex-direction:column!important;gap:9px!important}.profile-danger{margin-top:16px!important;padding-top:14px!important;border-top:1px solid #eee!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}.profile-danger span{display:block!important;color:#888!important;font-size:10px!important;margin-top:3px!important}

/* Voice/call */
.call-modal{background:rgba(12,12,12,.56)!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important}.live-call-card{width:min(450px,calc(100vw - 28px))!important;min-height:520px!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:28px!important;background:linear-gradient(180deg,#1b1c20,#111215)!important;color:#fff!important;box-shadow:0 30px 90px rgba(0,0,0,.45)!important;padding:28px!important;display:flex!important;flex-direction:column!important;align-items:center!important}.call-close{position:absolute!important;right:15px!important;top:15px!important;width:34px!important;height:34px!important;border:0!important;border-radius:50%!important;background:rgba(255,255,255,.08)!important;color:#fff!important;cursor:pointer!important}.call-orb{width:118px!important;height:118px!important;margin:38px auto 15px!important;border-radius:50%!important;background:radial-gradient(circle at 35% 30%,#444b5e,#17191f 55%,#090a0c)!important;display:grid!important;place-items:center!important;position:relative!important;box-shadow:0 0 0 1px rgba(255,255,255,.08),0 20px 50px rgba(0,0,0,.4)!important}.call-logo{width:64px!important;height:64px!important;border-radius:20px!important;object-fit:cover!important}.live-call-card h2{font-size:21px!important;font-weight:600!important;margin:5px 0 4px!important}.live-call-card>p{font-size:12px!important;color:#bbb!important}.call-wave{height:44px!important;display:flex!important;align-items:center!important;gap:5px!important}.call-wave i{width:4px!important;border-radius:999px!important;background:#fff!important;opacity:.85!important}.call-transcript{width:100%!important;max-height:110px!important;overflow:auto!important;text-align:center!important;color:#d0d0d0!important;font-size:12px!important}.call-controls{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;margin-top:auto!important;padding-top:18px!important}.call-mic,.call-muted-toggle,.call-end{height:46px!important;border-radius:999px!important;border:1px solid rgba(255,255,255,.13)!important;background:#25272d!important;color:#fff!important;cursor:pointer!important}.call-mic{width:46px!important;display:grid!important;place-items:center!important}.call-mic svg{width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}.call-muted-toggle{padding:0 16px!important}.call-end{padding:0 18px!important;background:#df4646!important;border-color:#df4646!important}.call-mic:hover,.call-muted-toggle:hover{background:#30333a!important}.call-end:hover{background:#c93e3e!important}.call-voice-label{width:100%!important;margin-top:15px!important;color:#9d9d9d!important;font-size:10px!important}.call-voice-label select{width:100%!important;margin-top:6px!important;background:#23252a!important;border-color:#34363c!important;color:#fff!important}.call-hint{font-size:9.5px!important;color:#808080!important;line-height:1.45!important;text-align:center!important;margin-top:12px!important}

/* Highlight toolbar */
.highlight-toolbar{border:1px solid #dedede!important;border-radius:12px!important;background:#fff!important;box-shadow:0 8px 26px rgba(0,0,0,.14)!important}.highlight-toolbar button{min-height:40px!important;padding:0 13px!important;border-right:1px solid #e5e5e5!important;background:transparent!important;color:#202020!important;font-size:12.5px!important;font-weight:600!important}.highlight-toolbar button:hover{background:#f3f3f3!important}.highlight-toolbar button:last-child{border-right:0!important}

/* Misc common feature cards */
.shortcuts-card-v11,.report-bug-card-v11,.logout-card-v11,.plans-modal,.accounts-modal-v10,.media-studio-card,.wide-modal,.small-modal{border-radius:22px!important}.shortcuts-card-v11{width:min(650px,calc(100vw - 30px))!important}.shortcut-list-v11>div{border-bottom:1px solid #eee!important}.shortcut-toggle input:checked+i{background:#111!important}.logout-primary-v11{background:#111!important}.logout-account-v11{border-color:#e5e5e5!important}.instruction-tip,.settings-info-card,.analytics-card,.owner-plan-admin{border:1px solid #e8e8e8!important;background:#fafafa!important;border-radius:14px!important}.toast{position:fixed!important;left:50%!important;bottom:24px!important;transform:translateX(-50%)!important;z-index:200!important;background:#262626!important;color:#fff!important;border-radius:999px!important;padding:9px 14px!important;font-size:11px!important;box-shadow:var(--cg-shadow-small)!important}

/* Dark mode */
body[data-theme="dark"]{
  --cg-bg:#212121;--cg-sidebar-bg:#171717;--cg-surface:#212121;--cg-surface-2:#2a2a2a;--cg-surface-3:#303030;--cg-hover:#282828;--cg-active:#303030;--cg-border:#343434;--cg-border-strong:#464646;--cg-text:#ececec;--cg-text-2:#b8b8b8;--cg-text-3:#888;--cg-shadow:0 16px 46px rgba(0,0,0,.42);color-scheme:dark;
}
body[data-theme="dark"],body[data-theme="dark"] .app-shell,body[data-theme="dark"] .main-panel,body[data-theme="dark"] .conversation{background:var(--cg-bg)!important;color:var(--cg-text)!important}
body[data-theme="dark"] .sidebar,body[data-theme="dark"] .account-row{background:var(--cg-sidebar-bg)!important}
body[data-theme="dark"] .brand-lockup.compact strong,body[data-theme="dark"] .new-chat-button,body[data-theme="dark"] .sidebar-nav,body[data-theme="dark"] .chat-item,body[data-theme="dark"] .account-copy strong{color:#e8e8e8!important}
body[data-theme="dark"] .new-chat-button:hover,body[data-theme="dark"] .sidebar-nav:hover,body[data-theme="dark"] .chat-item:hover,body[data-theme="dark"] .account-row:hover{background:#252525!important}
body[data-theme="dark"] .chat-item.active{background:#2e2e2e!important}
body[data-theme="dark"] .topbar{background:rgba(33,33,33,.92)!important;border-color:#2b2b2b!important}.topbar-title{color:inherit!important}body[data-theme="dark"] .topbar-icon-action{color:#ddd!important}body[data-theme="dark"] .topbar-icon-action:hover{background:#303030!important}body[data-theme="dark"] .mode-switch{background:#2a2a2a!important}body[data-theme="dark"] .mode-switch-button.active{background:#3a3a3a!important;color:#fff!important}
body[data-theme="dark"] .message-user .message-bubble{background:#2f2f2f!important;color:#ececec!important}body[data-theme="dark"] .assistant-content{color:#ececec!important}body[data-theme="dark"] .assistant-content pre{background:#171717!important;border-color:#333!important}body[data-theme="dark"] .assistant-content :not(pre)>code{background:#2d2d2d!important}body[data-theme="dark"] .message-action:hover{background:#303030!important;color:#fff!important}body[data-theme="dark"] .followup-chip{background:#212121!important;border-color:#3a3a3a!important;color:#bfbfbf!important}body[data-theme="dark"] .followup-chip:hover{background:#2c2c2c!important;color:#fff!important}
body[data-theme="dark"] .main-panel>.composer-zone{background:linear-gradient(180deg,rgba(33,33,33,0),#212121 27%,#212121)!important}body[data-theme="dark"] .composer-card{background:#2f2f2f!important;border-color:#444!important;box-shadow:0 4px 22px rgba(0,0,0,.18)!important}body[data-theme="dark"] .composer-card textarea{color:#f1f1f1!important}body[data-theme="dark"] .composer-card textarea::placeholder{color:#aaa!important}body[data-theme="dark"] .composer-tool,body[data-theme="dark"] .effort-button{color:#d5d5d5!important}body[data-theme="dark"] .composer-tool:hover,body[data-theme="dark"] .effort-button:hover{background:#3a3a3a!important}body[data-theme="dark"] .effort-button strong{color:#e5e5e5!important}body[data-theme="dark"] .composer-note{color:#777!important}
body[data-theme="dark"] .app-shell.welcome-mode .welcome-view h1{color:#ececec!important}body[data-theme="dark"] .starter-card:hover{background:#292929!important}body[data-theme="dark"] .starter-card strong{color:#ddd!important}
body[data-theme="dark"] .popover,body[data-theme="dark"] .modal-card,body[data-theme="dark"] .workspace-search,body[data-theme="dark"] .library-new-menu,body[data-theme="dark"] .settings-content-v10,body[data-theme="dark"] .settings-input,body[data-theme="dark"] .settings-textarea{background:#242424!important;border-color:#383838!important;color:#eee!important}body[data-theme="dark"] .popover-action,body[data-theme="dark"] .tool-menu-item,body[data-theme="dark"] .effort-option{color:#e6e6e6!important}body[data-theme="dark"] .popover-action:hover,body[data-theme="dark"] .tool-menu-item:hover,body[data-theme="dark"] .effort-option:hover,body[data-theme="dark"] .library-new-menu button:hover{background:#333!important}body[data-theme="dark"] .menu-divider{background:#393939!important}
body[data-theme="dark"] .workspace-page-head h2,body[data-theme="dark"] .modal-head h2,body[data-theme="dark"] .settings-panel-v10 h2{color:#eee!important}body[data-theme="dark"] .workspace-tabs button.active{background:#353535!important;color:#fff!important}body[data-theme="dark"] .library-row-v11:hover,body[data-theme="dark"] .task-recommendations-v11 button:hover,body[data-theme="dark"] .project-card-v11:hover{background:#2b2b2b!important}body[data-theme="dark"] .project-card-v11,body[data-theme="dark"] .plugin-card{background:#242424!important;border-color:#383838!important}body[data-theme="dark"] .settings-sidebar-v10{background:#1c1c1c!important;border-color:#333!important}body[data-theme="dark"] .settings-nav{color:#c8c8c8!important}body[data-theme="dark"] .settings-nav:hover{background:#2a2a2a!important}body[data-theme="dark"] .settings-nav.active{background:#333!important;color:#fff!important}body[data-theme="dark"] .settings-save-bar{background:rgba(36,36,36,.95)!important;border-color:#383838!important}

/* Responsive */
@media(max-width:900px){
  .sidebar{position:fixed!important;left:0!important;top:0!important;bottom:0!important;transform:translateX(-102%)!important;box-shadow:8px 0 30px rgba(0,0,0,.12)!important}.app-shell.mobile-sidebar-open .sidebar{transform:translateX(0)!important}.app-shell.sidebar-collapsed>.sidebar{display:flex!important;width:var(--cg-sidebar)!important;min-width:var(--cg-sidebar)!important;flex-basis:var(--cg-sidebar)!important;transform:translateX(-102%)!important}.sidebar-reopen{display:grid!important}.topbar{grid-template-columns:minmax(0,1fr) auto!important}.mode-switch{display:none!important}.topbar-actions{justify-self:end!important}.workspace-modal-v11{width:calc(100vw - 24px)!important;height:calc(100dvh - 24px)!important;padding:20px!important}.project-gallery-v11,.plugin-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.settings-center-v10{width:calc(100vw - 24px)!important;height:calc(100dvh - 24px)!important;grid-template-columns:190px 1fr!important}.settings-save-bar{left:190px!important}
}
@media(max-width:640px){
  .topbar{height:54px!important;min-height:54px!important;flex-basis:54px!important;padding:0 8px!important}.topbar-subtitle{display:none!important}.topbar-title{max-width:180px!important}.topbar-icon-action{width:32px!important;height:32px!important;min-width:32px!important}.conversation{padding:0 10px 166px!important}.messages{padding-top:20px!important}.message-user .message-body{max-width:88%!important}.message-row{margin-bottom:20px!important}.assistant-avatar{width:25px!important;height:25px!important;flex-basis:25px!important}.assistant-content{font-size:14.2px!important}.main-panel>.composer-zone{padding:12px 8px 8px!important}.composer-card{border-radius:22px!important;min-height:82px!important;padding:10px 9px 8px 13px!important}.composer-card textarea{font-size:16px!important}.effort-button span:not(.think-spark),.effort-button strong,.effort-button .chevron{display:none!important}.effort-button{width:36px!important;padding:0!important}.app-shell.welcome-mode .welcome-view{padding:74px 10px 36px!important}.app-shell.welcome-mode .welcome-view h1{font-size:25px!important}.app-shell.welcome-mode .welcome-view>.starter-grid{margin-top:18px!important}.workspace-modal-v11{width:calc(100vw - 12px)!important;height:calc(100dvh - 12px)!important;border-radius:18px!important;padding:16px!important}.workspace-page-head{flex-direction:column!important;gap:12px!important}.workspace-head-actions{width:100%!important;flex-wrap:wrap!important}.workspace-search{min-width:0!important;flex:1!important}.project-gallery-v11,.plugin-grid,.task-recommendations-v11{grid-template-columns:1fr!important}.library-table-head,.library-row-v11{grid-template-columns:minmax(0,1fr) 76px!important}.library-table-head>*:last-child,.library-row-v11>*:last-child{display:none!important}.settings-center-v10{width:calc(100vw - 12px)!important;height:calc(100dvh - 12px)!important;grid-template-columns:1fr!important;display:flex!important;flex-direction:column!important}.settings-sidebar-v10{height:auto!important;max-height:155px!important;border-right:0!important;border-bottom:1px solid #e8e8e8!important;display:flex!important;gap:4px!important;overflow-x:auto!important;padding:10px!important}.settings-search{display:none!important}.settings-nav{width:auto!important;min-width:max-content!important;padding:0 10px!important}.settings-content-v10{padding:18px 16px 78px!important}.settings-save-bar{left:0!important}.live-call-card{min-height:calc(100dvh - 24px)!important}.highlight-toolbar button{font-size:11px!important;padding:0 9px!important}
}


/* ========================================================================== */
/* SenvoAI V0.12.1 — motion + streaming polish                            */
/* ========================================================================== */
:root{
  --sc-fast:120ms;
  --sc-med:180ms;
  --sc-slow:240ms;
  --sc-ease:cubic-bezier(.2,.8,.2,1);
  --sc-spring:cubic-bezier(.16,1,.3,1);
}

/* Smoother sidebar collapse without the hard display:none snap. */
.sidebar{
  will-change:width,min-width,flex-basis,transform,opacity;
  transition:width var(--sc-slow) var(--sc-ease),min-width var(--sc-slow) var(--sc-ease),flex-basis var(--sc-slow) var(--sc-ease),transform var(--sc-slow) var(--sc-ease),opacity var(--sc-med) ease!important;
}
.app-shell.sidebar-collapsed>.sidebar{
  display:flex!important;
  width:0!important;
  min-width:0!important;
  flex:0 0 0!important;
  transform:translateX(-100%)!important;
  opacity:0!important;
  overflow:hidden!important;
  padding-left:0!important;
  padding-right:0!important;
  pointer-events:none!important;
}
.main-panel{transition:width var(--sc-slow) var(--sc-ease),flex-basis var(--sc-slow) var(--sc-ease)!important}

/* generic assistant-style response reveal: stable layout, subtle cursor, no per-chunk pop. */
.assistant-content{
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  backface-visibility:hidden;
  transform:translateZ(0);
  contain:layout style;
}
.assistant-content.streaming-caret{animation:none!important;will-change:contents}
.assistant-content.streaming-caret::after{
  width:6px!important;height:15px!important;margin-left:3px!important;border-radius:2px!important;
  background:currentColor!important;opacity:.58!important;animation:cgCaretPulse 1.05s ease-in-out infinite!important;
}
@keyframes cgCaretPulse{0%,100%{opacity:.18}50%{opacity:.62}}
.message-row{animation:cgMessageIn var(--sc-med) var(--sc-spring) both!important}
@keyframes cgMessageIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}

/* Coherent interaction timing across clickable controls. */
button,.popover-action,.sidebar-nav,.new-chat-button,.chat-item,.message-action,.starter-card,.followup-chip,.project-card-v11,.plugin-card,.task-recommendations-v11 button,.library-row-v11,.settings-nav,.composer-tool,.effort-button,.send-button,.stop-button{
  transition:background-color var(--sc-fast) ease,border-color var(--sc-fast) ease,color var(--sc-fast) ease,opacity var(--sc-fast) ease,transform var(--sc-fast) var(--sc-ease),box-shadow var(--sc-med) ease!important;
}
button:active:not(:disabled),.popover-action:active,.message-action:active,.starter-card:active,.followup-chip:active{transform:scale(.975)!important}
.send-button:active,.stop-button:active{transform:scale(.94)!important}
.composer-card{transition:border-color var(--sc-fast) ease,box-shadow var(--sc-med) ease,background var(--sc-med) ease!important}

/* Popovers and menus open with a compact spring rather than appearing abruptly. */
.popover:not(.hidden),.senvora-select-menu:not(.hidden),.library-new-menu:not(.hidden),#messageMoreMenu:not(.hidden){
  transform-origin:top left;
  animation:cgPopoverIn 150ms var(--sc-spring) both!important;
}
@keyframes cgPopoverIn{from{opacity:0;transform:translateY(-4px) scale(.985)}to{opacity:1;transform:none}}

/* Modal surfaces use the same motion language. */
.modal:not(.hidden){animation:cgModalBackdropIn 150ms ease-out both}
.modal:not(.hidden) .modal-card{animation:cgModalCardIn 190ms var(--sc-spring) both;transform-origin:center}
@keyframes cgModalBackdropIn{from{opacity:0}to{opacity:1}}
@keyframes cgModalCardIn{from{opacity:0;transform:translateY(7px) scale(.988)}to{opacity:1;transform:none}}

/* Composer stays visually anchored while textarea grows and controls change state. */
.main-panel>.composer-zone{will-change:transform;contain:layout style}
.composer-card textarea{scroll-behavior:smooth}
.generation-status{transition:opacity var(--sc-fast) ease,transform var(--sc-fast) ease!important}
.generation-status:not(.hidden){animation:cgStatusIn var(--sc-fast) ease-out both}
@keyframes cgStatusIn{from{opacity:0;transform:translateY(2px)}to{opacity:1;transform:none}}

/* Voice/call transcript and status no longer jump between phases. */
#callTranscript>div{animation:cgCallLineIn var(--sc-med) var(--sc-spring) both}
@keyframes cgCallLineIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
#callStatus{transition:opacity 90ms ease,transform 90ms ease}
#callStatus.status-changing{opacity:.42;transform:translateY(1px)}

/* Preserve accessibility and battery life for users requesting reduced motion. */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}
@media(max-width:900px){
  .app-shell.sidebar-collapsed>.sidebar{display:flex!important;width:var(--cg-sidebar)!important;min-width:var(--cg-sidebar)!important;flex-basis:var(--cg-sidebar)!important;opacity:1!important;transform:translateX(-102%)!important;pointer-events:auto!important}
}



/* -------------------------------------------------------------------------- */
/* SenvoAI V0.12.2 — low-latency Voice redesign                           */
/* -------------------------------------------------------------------------- */
.call-modal{
  padding:0!important;
  background:radial-gradient(circle at 50% 18%,rgba(78,92,120,.16),transparent 36%),rgba(8,9,11,.90)!important;
  backdrop-filter:blur(22px) saturate(120%)!important;
  -webkit-backdrop-filter:blur(22px) saturate(120%)!important;
}
.live-call-card{
  width:min(720px,100vw)!important;
  height:min(760px,100dvh)!important;
  min-height:min(620px,100dvh)!important;
  max-height:100dvh!important;
  border:0!important;
  border-radius:32px!important;
  background:linear-gradient(180deg,rgba(29,30,34,.98),rgba(15,16,19,.995))!important;
  color:#f7f7f8!important;
  box-shadow:0 40px 120px rgba(0,0,0,.52)!important;
  padding:0 28px 24px!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  text-align:center!important;
  contain:layout paint style;
}
.call-topbar{height:68px;min-height:68px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.065);padding:0 2px;position:relative;z-index:4}
.call-brand{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:650;color:#e6e7ea}.call-brand img{width:27px;height:27px;border-radius:8px;object-fit:cover}.call-top-actions{display:flex;align-items:center;gap:10px}.call-duration{font-variant-numeric:tabular-nums;color:#999da5;font-size:11px;letter-spacing:.03em;min-width:40px;text-align:right}
.call-close{position:static!important;width:34px!important;height:34px!important;display:grid!important;place-items:center!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:50%!important;background:rgba(255,255,255,.055)!important;color:#f4f4f5!important;cursor:pointer!important;transition:background .15s ease,transform .15s ease!important}.call-close:hover{background:rgba(255,255,255,.11)!important}.call-close:active{transform:scale(.94)!important}.call-close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.call-hero{display:flex;flex-direction:column;align-items:center;padding:32px 0 8px;min-height:254px}
.call-orb{position:relative!important;width:136px!important;height:136px!important;margin:0!important;display:grid!important;place-items:center!important;background:none!important;box-shadow:none!important;border-radius:50%!important;isolation:isolate}
.call-ring{position:absolute;inset:10px;border-radius:50%;border:1px solid rgba(255,255,255,.10);opacity:.2;transform:scale(.84);will-change:transform,opacity}.call-ring-b{inset:0;border-color:rgba(139,166,255,.16)}
.call-orb-core{width:92px;height:92px;border-radius:31px;display:grid;place-items:center;background:radial-gradient(circle at 30% 24%,#3c404b,#202229 58%,#15161a);box-shadow:0 16px 48px rgba(0,0,0,.38),0 0 0 1px rgba(255,255,255,.08);position:relative;z-index:2;transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s ease}
.call-logo{width:65px!important;height:65px!important;border-radius:21px!important;margin:0!important;object-fit:cover!important;box-shadow:none!important}
.live-call-card h2{font-size:22px!important;font-weight:620!important;letter-spacing:-.35px!important;margin:17px 0 6px!important;color:#f7f7f8!important}
.call-status-row{display:flex;align-items:center;justify-content:center;gap:7px;min-height:20px}.call-status-row p{margin:0!important;font-size:12px!important;color:#aeb1b8!important;transition:opacity .1s ease,transform .1s ease}.call-status-row p.status-changing{opacity:.45;transform:translateY(1px)}.call-status-dot{width:6px;height:6px;border-radius:50%;background:#7c818c;box-shadow:0 0 0 0 rgba(124,129,140,0);transition:background .18s ease,box-shadow .18s ease}
.call-wave{height:32px!important;margin:9px 0 0!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:3px!important}.call-wave i{display:block!important;width:3px!important;height:6px!important;border-radius:99px!important;background:#747983!important;opacity:.55!important;animation:none!important;transform-origin:center;will-change:transform,height,opacity}
.live-call-card[data-call-phase="listening"] .call-status-dot{background:#5fe0b5;box-shadow:0 0 0 5px rgba(95,224,181,.08)}
.live-call-card[data-call-phase="listening"] .call-orb-core{transform:scale(1.025);box-shadow:0 18px 52px rgba(0,0,0,.42),0 0 0 1px rgba(95,224,181,.14)}
.live-call-card[data-call-phase="listening"] .call-ring-a{animation:callRing 1.65s ease-out infinite;border-color:rgba(95,224,181,.24)}.live-call-card[data-call-phase="listening"] .call-ring-b{animation:callRing 1.65s .78s ease-out infinite;border-color:rgba(95,224,181,.16)}
.live-call-card[data-call-phase="listening"] .call-wave i{background:#72e5c0!important;opacity:.9!important;animation:callWave .72s ease-in-out infinite alternate!important}.live-call-card[data-call-phase="listening"] .call-wave i:nth-child(2),.live-call-card[data-call-phase="listening"] .call-wave i:nth-child(8){animation-delay:.08s!important}.live-call-card[data-call-phase="listening"] .call-wave i:nth-child(3),.live-call-card[data-call-phase="listening"] .call-wave i:nth-child(7){animation-delay:.16s!important}.live-call-card[data-call-phase="listening"] .call-wave i:nth-child(4),.live-call-card[data-call-phase="listening"] .call-wave i:nth-child(6){animation-delay:.24s!important}.live-call-card[data-call-phase="listening"] .call-wave i:nth-child(5){animation-delay:.32s!important}
.live-call-card[data-call-phase="thinking"] .call-status-dot,.live-call-card[data-call-phase="responding"] .call-status-dot{background:#8ea9ff}.live-call-card[data-call-phase="thinking"] .call-orb-core,.live-call-card[data-call-phase="responding"] .call-orb-core{box-shadow:0 18px 52px rgba(0,0,0,.42),0 0 34px rgba(96,132,255,.09),0 0 0 1px rgba(123,153,255,.16)}.live-call-card[data-call-phase="thinking"] .call-ring-a,.live-call-card[data-call-phase="responding"] .call-ring-a{animation:callThink 1.15s ease-in-out infinite;border-color:rgba(129,156,255,.24)}
.live-call-card[data-call-phase="speaking"] .call-status-dot{background:#b6c5ff;box-shadow:0 0 0 5px rgba(159,182,255,.08)}.live-call-card[data-call-phase="speaking"] .call-wave i{background:#b9c8ff!important;opacity:.88!important;animation:callWave .6s ease-in-out infinite alternate!important}.live-call-card[data-call-phase="speaking"] .call-wave i:nth-child(odd){animation-delay:.14s!important}.live-call-card[data-call-phase="speaking"] .call-orb-core{transform:scale(1.02)}
.live-call-card[data-call-phase="muted"] .call-status-dot{background:#df9e68}.live-call-card[data-call-phase="error"] .call-status-dot{background:#ef7474}
@keyframes callRing{0%{transform:scale(.72);opacity:.42}100%{transform:scale(1.16);opacity:0}}@keyframes callThink{0%,100%{transform:scale(.86);opacity:.18}50%{transform:scale(1.02);opacity:.58}}@keyframes callWave{from{height:5px;transform:scaleY(.75)}to{height:24px;transform:scaleY(1)}}

.call-transcript{width:min(100%,610px)!important;flex:1!important;min-height:112px!important;max-height:none!important;overflow:auto!important;margin:0 auto!important;padding:12px 4px 10px!important;border:0!important;border-radius:0!important;background:transparent!important;text-align:left!important;color:#e2e3e6!important;font-size:13px!important;line-height:1.52!important;scrollbar-width:thin;overscroll-behavior:contain;contain:layout style}
.call-transcript::-webkit-scrollbar{width:5px}.call-transcript::-webkit-scrollbar-thumb{background:rgba(255,255,255,.12);border-radius:20px}
.call-empty-state{height:100%;min-height:90px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:5px;color:#777b84}.call-empty-state strong{font-size:12px;color:#a5a8af;font-weight:600}.call-empty-state span{font-size:10.5px}
.call-turn{display:flex;flex-direction:column;gap:4px;margin:0 0 12px;opacity:0;transform:translateY(4px);transition:opacity .16s ease,transform .16s ease}.call-turn.visible{opacity:1;transform:none}.call-turn-label{font-size:9.5px;font-weight:700;letter-spacing:.02em;color:#777c86}.call-turn-text{max-width:84%;width:max-content;padding:9px 12px;border-radius:15px;background:#24262c;color:#e9eaed;white-space:pre-wrap;overflow-wrap:anywhere}.call-turn-user{align-items:flex-end}.call-turn-user .call-turn-label{text-align:right}.call-turn-user .call-turn-text{background:#ececef;color:#1b1c1f;border-bottom-right-radius:5px}.call-turn-assistant{align-items:flex-start}.call-turn-assistant .call-turn-text{border-bottom-left-radius:5px}.call-turn-live .call-turn-text:after{content:"";display:inline-block;width:5px;height:13px;margin-left:2px;vertical-align:-2px;border-radius:2px;background:#aab8e8;animation:callCursor .8s ease-in-out infinite}@keyframes callCursor{50%{opacity:.28}}
.call-interim{width:min(100%,610px);margin:0 auto 8px;padding:8px 12px;border-radius:13px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.055);color:#aeb1b8;font-size:11px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;animation:callInterimIn .12s ease-out both}@keyframes callInterimIn{from{opacity:0;transform:translateY(2px)}to{opacity:1;transform:none}}

.call-controls{display:flex!important;align-items:flex-start!important;justify-content:center!important;gap:24px!important;margin:4px 0 14px!important;padding:12px 0 0!important}.call-control-wrap{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:58px}.call-control-wrap>span{font-size:9.5px;color:#868a93}.call-control-button{width:52px!important;height:52px!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:50%!important;background:#24262b!important;color:#f5f5f6!important;display:grid!important;place-items:center!important;padding:0!important;cursor:pointer!important;transition:transform .14s ease,background .14s ease,border-color .14s ease,box-shadow .14s ease!important;box-shadow:none!important}.call-control-button:hover{background:#303239!important;border-color:rgba(255,255,255,.15)!important}.call-control-button:active{transform:scale(.93)!important}.call-control-button svg{width:21px!important;height:21px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}.call-end{width:58px!important;height:58px!important;background:#e14d4d!important;border-color:#e14d4d!important}.call-end:hover{background:#c94343!important;border-color:#c94343!important}.call-mic.listening{background:#2b3533!important;border-color:rgba(95,224,181,.25)!important;color:#88e9c9!important;animation:none!important}.call-muted-toggle.active{background:#3a2929!important;border-color:rgba(239,116,116,.20)!important;color:#ffb0b0!important}.mic-off-icon{display:none!important}.call-muted-toggle.active .mic-on-icon{display:none!important}.call-muted-toggle.active .mic-off-icon{display:block!important}
.call-options{width:min(100%,610px);display:grid;grid-template-columns:minmax(0,1fr) 165px;gap:10px;margin:0 auto}.call-voice-label{width:100%!important;margin:0!important;text-align:left!important;color:#8f929a!important;font-size:9.5px!important;display:flex!important;flex-direction:column!important;gap:5px!important}.call-voice-label select{height:42px!important;margin:0!important;border:1px solid rgba(255,255,255,.085)!important;border-radius:13px!important;background:#202226!important;color:#e9eaed!important;padding:0 12px!important;outline:none!important}.call-voice-label select:focus{border-color:rgba(141,165,255,.35)!important}
.call-fast-toggle{height:42px;border:1px solid rgba(255,255,255,.085);border-radius:13px;background:#202226;color:#eee;display:grid;grid-template-columns:20px 1fr 28px;align-items:center;gap:7px;padding:0 9px;cursor:pointer;text-align:left;transition:background .14s ease,border-color .14s ease}.call-fast-toggle:hover{background:#27292e}.call-fast-icon{font-size:13px}.call-fast-toggle>span:nth-child(2){display:flex;flex-direction:column;line-height:1.15}.call-fast-toggle strong{font-size:10px;font-weight:650}.call-fast-toggle small{font-size:8.5px;color:#8c9098;margin-top:2px}.call-fast-switch{position:relative;width:27px;height:16px;border-radius:20px;background:#555962;transition:background .15s ease}.call-fast-switch:after{content:"";position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:#fff;transition:transform .15s ease}.call-fast-toggle.active .call-fast-switch{background:#6e8fff}.call-fast-toggle.active .call-fast-switch:after{transform:translateX(11px)}
.call-hint{width:min(100%,610px);margin:10px auto 0!important;color:#676b74!important;font-size:8.8px!important;line-height:1.45!important;text-align:center!important}

body[data-theme="dark"] .call-modal{background:radial-gradient(circle at 50% 18%,rgba(78,92,120,.14),transparent 36%),rgba(4,5,7,.92)!important}
@media(max-width:640px){
  .live-call-card{width:100vw!important;height:100dvh!important;min-height:100dvh!important;border-radius:0!important;padding:0 16px 18px!important}.call-topbar{height:60px;min-height:60px}.call-hero{padding:20px 0 2px;min-height:218px}.call-orb{width:116px!important;height:116px!important}.call-orb-core{width:80px;height:80px;border-radius:27px}.call-logo{width:56px!important;height:56px!important;border-radius:18px!important}.live-call-card h2{font-size:20px!important;margin-top:12px!important}.call-transcript{padding-top:8px!important}.call-controls{gap:17px!important;margin-bottom:12px!important}.call-options{grid-template-columns:1fr}.call-fast-toggle{order:-1}.call-hint{display:none}.call-turn-text{max-width:90%}.call-control-button{width:50px!important;height:50px!important}.call-end{width:56px!important;height:56px!important}
}
@media(max-height:650px) and (min-width:641px){.live-call-card{height:100dvh!important;min-height:100dvh!important;border-radius:0!important}.call-hero{padding:16px 0 0;min-height:190px}.call-orb{width:100px!important;height:100px!important}.call-orb-core{width:72px;height:72px;border-radius:23px}.call-logo{width:50px!important;height:50px!important}.live-call-card h2{margin-top:8px!important}.call-wave{height:22px!important;margin-top:4px!important}.call-controls{padding-top:4px!important;margin-bottom:8px!important}.call-hint{display:none}}
@media(prefers-reduced-motion:reduce){.call-ring,.call-wave i,.call-turn-live .call-turn-text:after{animation:none!important}.call-turn,.call-orb-core,.call-control-button{transition:none!important}}


/* ========================================================================== */
/* SenvoAI V0.12.3 — premium conversation + composer UI                  */
/* Front-end only: layout, motion, typography, composer and interaction feel. */
/* ========================================================================== */
:root{
  --ui-sidebar:260px;
  --ui-bg:#ffffff;
  --ui-sidebar-bg:#f7f7f8;
  --ui-surface:#ffffff;
  --ui-soft:#f4f4f5;
  --ui-hover:#ececee;
  --ui-border:#e7e7e9;
  --ui-border-strong:#d8d8dc;
  --ui-text:#202123;
  --ui-muted:#67676d;
  --ui-faint:#9a9aa0;
  --ui-shadow:0 12px 36px rgba(0,0,0,.08),0 1px 3px rgba(0,0,0,.035);
  --ui-shadow-focus:0 18px 46px rgba(0,0,0,.095),0 0 0 1px rgba(0,0,0,.035);
  --ui-ease:cubic-bezier(.2,.8,.2,1);
  --ui-fast:140ms;
  --ui-med:220ms;
  --sidebar:var(--ui-sidebar)!important;
}
html,body{background:var(--ui-bg)!important;color:var(--ui-text)!important}
body{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif!important;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
*{scrollbar-color:#c9c9cd transparent}
*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background:#c9c9cd;border:2px solid transparent;background-clip:padding-box;border-radius:999px}*::-webkit-scrollbar-thumb:hover{background:#aaaab0;background-clip:padding-box}

/* Shell + sidebar */
.app-shell{background:#fff!important}
.sidebar{width:var(--ui-sidebar)!important;min-width:var(--ui-sidebar)!important;background:var(--ui-sidebar-bg)!important;border-right:0!important;padding:10px 9px 9px!important;transition:transform var(--ui-med) var(--ui-ease),width var(--ui-med) var(--ui-ease),min-width var(--ui-med) var(--ui-ease),opacity var(--ui-fast) ease!important}
.sidebar-brand-row{height:46px!important;padding:0 5px!important}.brand-logo{width:30px!important;height:30px!important;border-radius:9px!important;box-shadow:none!important}.brand-lockup strong{font-size:14px!important;font-weight:650!important;letter-spacing:-.2px!important}
.new-chat-button,.sidebar-nav{min-height:40px!important;border:0!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;padding:8px 10px!important;font-size:13.5px!important;color:#303035!important;transition:background var(--ui-fast) ease,transform var(--ui-fast) var(--ui-ease)!important}
.new-chat-button:hover,.sidebar-nav:hover{background:#ececee!important}.new-chat-button:active,.sidebar-nav:active{transform:scale(.985)!important}.nav-icon{width:22px!important;flex:0 0 22px!important}.nav-icon svg{width:18px!important;height:18px!important}
.chat-section-title{padding:14px 9px 5px!important;background:transparent!important;color:#8c8c92!important;text-transform:none!important;letter-spacing:0!important;font-size:11.5px!important;font-weight:550!important}.chat-item{height:36px!important;min-height:36px!important;border-radius:9px!important;padding:0 5px 0 10px!important;font-size:13px!important;color:#424247!important;transition:background var(--ui-fast) ease!important}.chat-item:hover,.chat-item.active{background:#ececee!important}.chat-item.active{font-weight:550!important}.chat-more:hover{background:#dedee1!important}.account-row{border:0!important;border-radius:10px!important;padding:8px!important}.account-row:hover{background:#ececee!important}.avatar{box-shadow:none!important}
.app-shell.sidebar-collapsed>.sidebar{display:none!important;width:0!important;min-width:0!important;padding:0!important;opacity:0!important}.app-shell.sidebar-collapsed>.main-panel{width:100vw!important;max-width:none!important;flex:1 1 100vw!important}
.sidebar-reopen{left:10px!important;top:10px!important;width:36px!important;height:36px!important;border:0!important;border-radius:9px!important;box-shadow:none!important;background:transparent!important}.sidebar-reopen:hover{background:#f0f0f1!important}

/* Top bar */
.main-panel{background:#fff!important}.topbar{height:56px!important;min-height:56px!important;flex-basis:56px!important;padding:0 13px 0 14px!important;border-bottom:0!important;background:rgba(255,255,255,.88)!important;backdrop-filter:blur(18px) saturate(140%)!important;-webkit-backdrop-filter:blur(18px) saturate(140%)!important}.topbar-title{font-size:14px!important;font-weight:600!important;letter-spacing:-.15px!important}.topbar-subtitle{font-size:10px!important;color:#9a9aa0!important}.topbar-actions{gap:4px!important}.topbar-icon-action,.topbar-button,.soft-pill,.status-pill{border:0!important;box-shadow:none!important;background:transparent!important;border-radius:10px!important;transition:background var(--ui-fast) ease,transform var(--ui-fast) var(--ui-ease)!important}.topbar-icon-action:hover,.topbar-button:hover,.soft-pill:hover{background:#f1f1f2!important}.topbar-icon-action:active,.topbar-button:active,.soft-pill:active{transform:scale(.96)!important}.mode-switch{background:#f3f3f4!important;border:0!important;border-radius:999px!important;padding:3px!important}.mode-switch-button{height:34px!important;min-width:80px!important;border-radius:999px!important}.mode-switch-button.active{background:#fff!important;box-shadow:0 1px 4px rgba(0,0,0,.075)!important}

/* Main conversation */
.conversation{background:#fff!important;padding:0 18px 176px!important;scroll-behavior:smooth!important;overscroll-behavior:contain}.messages{max-width:790px!important;padding-top:30px!important}.message-row{gap:12px!important;margin-bottom:25px!important;animation:uiMessageIn .2s var(--ui-ease) both!important}@keyframes uiMessageIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.message-user .message-body{max-width:min(80%,650px)!important}.message-user .message-bubble{background:#f4f4f4!important;border:0!important;border-radius:18px!important;padding:9px 14px!important;color:#202123!important;box-shadow:none!important;font-size:14.5px!important;line-height:1.52!important}.message-time{font-size:9.5px!important;color:#aaaab0!important;margin-top:4px!important}.assistant-avatar{width:28px!important;height:28px!important;flex:0 0 28px!important;border-radius:9px!important;box-shadow:none!important}.assistant-body{max-width:750px!important}.assistant-content{font-size:15px!important;line-height:1.68!important;color:#242428!important;letter-spacing:-.03px!important}.assistant-content p{margin:.12em 0 .85em!important}.assistant-content h1{font-size:22px!important}.assistant-content h2{font-size:18px!important}.assistant-content h3{font-size:16px!important}.assistant-content pre{border:1px solid #e7e7e9!important;border-radius:14px!important;background:#f7f7f8!important;box-shadow:none!important}.assistant-content code:not(pre code){background:#f1f1f2!important;border-radius:6px!important;padding:2px 5px!important}.message-actions{gap:2px!important;margin-top:6px!important}.message-action{border:0!important;background:transparent!important;border-radius:8px!important;color:#77777d!important;transition:background var(--ui-fast) ease,color var(--ui-fast) ease,transform var(--ui-fast) ease!important}.message-action:hover{background:#f1f1f2!important;color:#333338!important}.message-action:active{transform:scale(.94)!important}
.jump-latest{border:1px solid #e4e4e6!important;background:rgba(255,255,255,.96)!important;box-shadow:0 5px 16px rgba(0,0,0,.07)!important;border-radius:999px!important;backdrop-filter:blur(12px)!important}

/* Welcome */
.welcome-view{max-width:900px!important;padding:30px 20px 96px!important}.welcome-logo{width:56px!important;height:56px!important;border-radius:18px!important;box-shadow:none!important}.welcome-view h1{font-size:30px!important;letter-spacing:-.9px!important;font-weight:620!important;color:#202123!important;margin:20px 0 7px!important}.welcome-view>p{font-size:14px!important;color:#77777d!important}.starter-grid{gap:8px!important;margin-top:28px!important}.starter-card{min-height:88px!important;border:1px solid #ebebed!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important;padding:14px!important;transition:background var(--ui-fast) ease,border-color var(--ui-fast) ease,transform var(--ui-fast) var(--ui-ease)!important}.starter-card:hover{background:#fafafa!important;border-color:#dddde0!important;transform:translateY(-1px)!important}.starter-icon{background:#f3f3f4!important;color:#55555b!important;border-radius:9px!important}

/* Composer — single source of truth in this final override */
.main-panel>.composer-zone,.app-shell.welcome-mode .main-panel>.composer-zone,.app-shell.sidebar-collapsed .main-panel>.composer-zone,.app-shell.sidebar-collapsed.welcome-mode .main-panel>.composer-zone{left:0!important;right:0!important;width:100%!important;max-width:none!important;padding:30px 18px 10px!important;display:flex!important;align-items:center!important;background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.88) 28%,#fff 52%)!important;pointer-events:none!important;contain:layout style!important}
.composer-zone>*{pointer-events:auto!important}.composer-zone>.generation-status,.composer-zone>.attachment-chips,.composer-zone>.composer-card,.composer-zone>.read-aloud-bar,.composer-zone>.composer-note{width:min(100%,820px)!important}
.composer-card{position:relative!important;min-height:92px!important;margin:0 auto!important;padding:11px 10px 9px 13px!important;border:1px solid #dedee1!important;border-radius:25px!important;background:rgba(255,255,255,.985)!important;box-shadow:0 5px 20px rgba(0,0,0,.055)!important;transform:translateZ(0)!important;transition:border-color var(--ui-fast) ease,box-shadow var(--ui-med) var(--ui-ease),transform var(--ui-fast) var(--ui-ease),background var(--ui-med) ease!important;will-change:box-shadow,transform!important;overflow:visible!important}
.composer-card:hover{border-color:#d4d4d8!important;box-shadow:0 7px 24px rgba(0,0,0,.065)!important}.composer-card.is-focused,.composer-card:focus-within{border-color:#ceced2!important;box-shadow:var(--ui-shadow-focus)!important;transform:translateY(-1px) translateZ(0)!important}.composer-card.is-expanded{border-radius:22px!important}.composer-card[data-composer-state="generating"]{box-shadow:0 7px 24px rgba(0,0,0,.065)!important}
.composer-input-shell{position:relative!important;padding:0 2px!important}.composer-card textarea,#messageInput{display:block!important;width:100%!important;min-height:32px!important;max-height:188px!important;margin:0!important;padding:5px 8px 7px!important;border:0!important;outline:0!important;resize:none!important;background:transparent!important;color:#202123!important;font-size:15.5px!important;font-weight:400!important;line-height:1.48!important;letter-spacing:-.08px!important;overflow-y:auto!important;scrollbar-width:none!important;transition:height 90ms var(--ui-ease),color var(--ui-fast) ease!important}.composer-card textarea::-webkit-scrollbar{display:none!important}.composer-card textarea::placeholder{color:#8f8f95!important;opacity:1!important}.composer-card textarea.height-changing{will-change:height!important}
.composer-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-height:40px!important;margin-top:3px!important}.composer-left-tools,.composer-right-tools{display:flex!important;align-items:center!important;gap:5px!important}.composer-tool,.effort-button{height:36px!important;min-height:36px!important;border:0!important;border-radius:999px!important;background:transparent!important;color:#55555b!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;transition:background var(--ui-fast) ease,transform var(--ui-fast) var(--ui-ease),color var(--ui-fast) ease!important}.composer-tool:hover,.effort-button:hover{background:#f1f1f2!important;color:#29292d!important}.composer-tool:active,.effort-button:active{transform:scale(.94)!important}.composer-tool{width:36px!important;min-width:36px!important;padding:0!important}.composer-tool svg{width:20px!important;height:20px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}.plus-button svg{width:19px!important;height:19px!important}.effort-button{padding:0 10px!important;gap:5px!important;font-size:11.5px!important}.effort-button .think-spark{font-size:13px!important}.effort-button strong{font-size:11.5px!important;font-weight:620!important;color:#3d3d42!important}.effort-button .chevron{font-size:12px!important;color:#8a8a90!important}.mic-button.listening{background:#ececff!important;color:#4e46d8!important}
.send-button,.stop-button{width:36px!important;height:36px!important;min-width:36px!important;border:0!important;border-radius:50%!important;padding:0!important;display:grid!important;place-items:center!important;cursor:pointer!important;transition:transform var(--ui-fast) var(--ui-ease),background var(--ui-fast) ease,opacity var(--ui-fast) ease!important}.send-button{background:#d9d9dc!important;color:#fff!important}.composer-card.has-content .send-button{background:#111113!important}.send-button:hover{transform:scale(1.035)!important}.composer-card.has-content .send-button:hover{background:#000!important}.send-button:active,.stop-button:active{transform:scale(.92)!important}.send-button svg{width:19px!important;height:19px!important;fill:none!important;stroke:currentColor!important;stroke-width:2.1!important;stroke-linecap:round!important;stroke-linejoin:round!important}.stop-button{background:#111113!important;color:#fff!important}.stop-button span{width:11px!important;height:11px!important;border-radius:2px!important;background:#fff!important;display:block!important}
.composer-note{font-size:9.5px!important;color:#aaaab0!important;text-align:center!important;margin-top:7px!important;line-height:1.25!important}.generation-status{height:22px!important;min-height:22px!important;margin:0 auto 4px!important;padding:0 8px!important;font-size:10.5px!important;color:#737379!important;gap:6px!important}.thinking-spinner{width:12px!important;height:12px!important;border-width:1.5px!important}.attachment-chips{margin:0 auto 7px!important;gap:6px!important}.attachment-chip{border:1px solid #e3e3e6!important;background:#fff!important;border-radius:12px!important;box-shadow:0 2px 8px rgba(0,0,0,.035)!important;transition:transform var(--ui-fast) var(--ui-ease),border-color var(--ui-fast) ease!important}.attachment-chip:hover{border-color:#d4d4d8!important;transform:translateY(-1px)!important}
.app-shell.welcome-mode .main-panel>.composer-zone,.app-shell.sidebar-collapsed.welcome-mode .main-panel>.composer-zone{top:210px!important;bottom:auto!important;background:transparent!important;padding-top:0!important}.app-shell.welcome-mode .composer-card{width:min(100%,820px)!important;box-shadow:0 7px 24px rgba(0,0,0,.065)!important}.app-shell.welcome-mode .welcome-view>.starter-grid{margin-top:185px!important}

/* Menus / popovers / modals */
.popover,.senvora-select-menu{border:1px solid #e6e6e8!important;border-radius:14px!important;background:rgba(255,255,255,.985)!important;box-shadow:0 12px 36px rgba(0,0,0,.11)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;animation:uiPopoverIn .14s var(--ui-ease) both!important}@keyframes uiPopoverIn{from{opacity:0;transform:translateY(4px) scale(.985)}to{opacity:1;transform:none}}.popover-action{border-radius:9px!important;transition:background var(--ui-fast) ease!important}.popover-action:hover{background:#f1f1f2!important}.modal{background:rgba(0,0,0,.24)!important;backdrop-filter:blur(4px)!important;-webkit-backdrop-filter:blur(4px)!important;animation:uiFade .16s ease both!important}@keyframes uiFade{from{opacity:0}to{opacity:1}}.modal-card{border:1px solid rgba(0,0,0,.06)!important;border-radius:22px!important;box-shadow:0 24px 70px rgba(0,0,0,.18)!important;animation:uiModalIn .2s var(--ui-ease) both!important}@keyframes uiModalIn{from{opacity:0;transform:translateY(7px) scale(.987)}to{opacity:1;transform:none}}.workspace-modal-v11{border-radius:22px!important;background:#fff!important}.workspace-search{border:1px solid #e3e3e6!important;background:#f7f7f8!important;border-radius:12px!important}.workspace-tabs button{border-radius:999px!important}.workspace-tabs button.active{background:#ededee!important}.settings-center-v10{border-radius:22px!important;box-shadow:0 25px 76px rgba(0,0,0,.2)!important}.settings-sidebar-v10{background:#f7f7f8!important}.settings-nav{border-radius:9px!important}.settings-nav.active{background:#e8e8ea!important}

/* Smoother global interaction layer */
button,.chat-item,.starter-card,.project-card,.library-row-v11,.scheduled-row-v11,.source-card,.plan-card{touch-action:manipulation!important;-webkit-tap-highlight-color:transparent!important}.chat-list-scroll,.conversation,.modal-card,.workspace-modal-v11{overscroll-behavior:contain!important}.assistant-content.streaming-caret{contain:content!important}.assistant-content.streaming-caret:not(:empty){animation:none!important}.read-aloud-bar{border:1px solid #e5e5e7!important;border-radius:13px!important;background:#fff!important;box-shadow:0 4px 15px rgba(0,0,0,.055)!important}

/* Dark */
body[data-theme="dark"]{--ui-bg:#212121;--ui-sidebar-bg:#171717;--ui-surface:#212121;--ui-soft:#2f2f2f;--ui-hover:#2a2a2a;--ui-border:#3a3a3a;--ui-border-strong:#4a4a4a;--ui-text:#ececec;--ui-muted:#b4b4b4;--ui-faint:#7d7d7d;background:#212121!important;color:#ececec!important}body[data-theme="dark"] .app-shell,body[data-theme="dark"] .main-panel,body[data-theme="dark"] .conversation{background:#212121!important}body[data-theme="dark"] .sidebar{background:#171717!important}body[data-theme="dark"] .new-chat-button,body[data-theme="dark"] .sidebar-nav,body[data-theme="dark"] .chat-item{color:#dedede!important}body[data-theme="dark"] .new-chat-button:hover,body[data-theme="dark"] .sidebar-nav:hover,body[data-theme="dark"] .chat-item:hover,body[data-theme="dark"] .chat-item.active,body[data-theme="dark"] .account-row:hover{background:#262626!important}body[data-theme="dark"] .topbar{background:rgba(33,33,33,.88)!important}body[data-theme="dark"] .topbar-icon-action:hover,body[data-theme="dark"] .topbar-button:hover{background:#2b2b2b!important}body[data-theme="dark"] .message-user .message-bubble{background:#2f2f2f!important;color:#ececec!important}body[data-theme="dark"] .assistant-content{color:#ececec!important}body[data-theme="dark"] .assistant-content pre{background:#171717!important;border-color:#383838!important}body[data-theme="dark"] .assistant-content code:not(pre code){background:#2b2b2b!important}body[data-theme="dark"] .main-panel>.composer-zone{background:linear-gradient(180deg,rgba(33,33,33,0),rgba(33,33,33,.9) 28%,#212121 52%)!important}body[data-theme="dark"] .composer-card{background:#2f2f2f!important;border-color:#444!important;box-shadow:0 5px 20px rgba(0,0,0,.16)!important}body[data-theme="dark"] .composer-card:hover,body[data-theme="dark"] .composer-card.is-focused,body[data-theme="dark"] .composer-card:focus-within{border-color:#555!important;box-shadow:0 10px 30px rgba(0,0,0,.22)!important}body[data-theme="dark"] .composer-card textarea{color:#ececec!important}body[data-theme="dark"] .composer-card textarea::placeholder{color:#9a9a9a!important}body[data-theme="dark"] .composer-tool,body[data-theme="dark"] .effort-button{color:#c6c6c6!important}body[data-theme="dark"] .composer-tool:hover,body[data-theme="dark"] .effort-button:hover{background:#3a3a3a!important;color:#fff!important}body[data-theme="dark"] .effort-button strong{color:#dedede!important}body[data-theme="dark"] .send-button{background:#646464!important}body[data-theme="dark"] .composer-card.has-content .send-button{background:#f4f4f4!important;color:#111!important}body[data-theme="dark"] .stop-button{background:#f4f4f4!important;color:#111!important}body[data-theme="dark"] .stop-button span{background:#111!important}body[data-theme="dark"] .attachment-chip,body[data-theme="dark"] .read-aloud-bar{background:#2f2f2f!important;border-color:#454545!important}body[data-theme="dark"] .popover,body[data-theme="dark"] .senvora-select-menu,body[data-theme="dark"] .modal-card,body[data-theme="dark"] .workspace-modal-v11{background:#2b2b2b!important;border-color:#3d3d3d!important;color:#ececec!important}body[data-theme="dark"] .popover-action:hover{background:#383838!important}body[data-theme="dark"] .settings-sidebar-v10{background:#202020!important}

/* Compact desktop / mobile */
@media(max-width:980px){:root{--ui-sidebar:250px}.topbar-subtitle{display:none!important}.messages{max-width:760px!important}}
@media(max-width:760px){.sidebar{width:min(88vw,310px)!important;min-width:min(88vw,310px)!important}.conversation{padding:0 10px 158px!important}.messages{width:100%!important;padding-top:18px!important}.message-user .message-body{max-width:90%!important}.assistant-content{font-size:14.5px!important;line-height:1.63!important}.topbar{height:54px!important;min-height:54px!important;flex-basis:54px!important;padding:0 8px!important}.main-panel>.composer-zone,.app-shell.sidebar-collapsed .main-panel>.composer-zone{padding:22px 8px 8px!important}.composer-zone>.generation-status,.composer-zone>.attachment-chips,.composer-zone>.composer-card,.composer-zone>.read-aloud-bar,.composer-zone>.composer-note{width:100%!important}.composer-card{min-height:86px!important;border-radius:22px!important;padding:9px 8px 7px 11px!important}.composer-card textarea{font-size:16px!important;max-height:145px!important;padding-left:7px!important}.effort-button .effort-word,.effort-button strong,.effort-button .chevron{display:none!important}.effort-button{width:36px!important;padding:0!important}.composer-left-tools,.composer-right-tools{gap:3px!important}.app-shell.welcome-mode .main-panel>.composer-zone,.app-shell.sidebar-collapsed.welcome-mode .main-panel>.composer-zone{top:165px!important;padding-inline:8px!important}.app-shell.welcome-mode .welcome-view{padding-top:76px!important}.app-shell.welcome-mode .welcome-view>.starter-grid{margin-top:155px!important}.starter-grid{grid-template-columns:1fr!important}.starter-card{min-height:72px!important}.modal-card{border-radius:18px!important}.workspace-modal-v11{width:calc(100vw - 10px)!important;height:calc(100dvh - 10px)!important;border-radius:18px!important}}
@media(max-height:650px) and (min-width:761px){.conversation{padding-bottom:150px!important}.main-panel>.composer-zone{padding-top:20px!important}.composer-card{min-height:82px!important}.app-shell.welcome-mode .main-panel>.composer-zone{top:155px!important}.app-shell.welcome-mode .welcome-view{padding-top:56px!important}.app-shell.welcome-mode .welcome-view>.starter-grid{margin-top:140px!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}


/* -------------------------------------------------------------------------- */
/* SenvoAI V0.12.4 — settings + intelligence remodel                      */
/* -------------------------------------------------------------------------- */
.settings-center-v10{
  width:min(940px,calc(100vw - 36px))!important;
  height:min(700px,calc(100dvh - 36px))!important;
  grid-template-columns:238px minmax(0,1fr)!important;
  border-radius:26px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:0 28px 90px rgba(0,0,0,.2)!important;
}
.settings-sidebar-v10{
  padding:18px 12px!important;
  background:#f7f7f8!important;
  border-right:1px solid #e9e9eb!important;
  scrollbar-width:none!important;
}
.settings-sidebar-v10::-webkit-scrollbar{display:none!important}
.settings-x{
  left:auto!important;right:14px!important;top:14px!important;
  width:34px!important;height:34px!important;border:0!important;border-radius:50%!important;
  background:#f0f0f1!important;color:#555!important;font-size:21px!important;line-height:1!important;
  transition:background .15s ease,transform .15s ease!important;
}
.settings-x:hover{background:#e7e7e9!important;transform:rotate(3deg)!important}
.settings-search{height:40px!important;margin:0 0 14px!important;border:1px solid #e3e3e5!important;border-radius:12px!important;background:#fff!important;box-shadow:0 1px 2px rgba(0,0,0,.025)!important}
.settings-search:focus-within{border-color:#c8c8cc!important;box-shadow:0 0 0 3px rgba(0,0,0,.035)!important}
.settings-search input{font-size:12.5px!important}
.settings-nav{min-height:42px!important;padding:0 11px!important;margin:1px 0!important;border-radius:11px!important;font-size:13px!important;color:#555!important;gap:11px!important;transition:background .14s ease,color .14s ease,transform .14s ease!important}
.settings-nav:hover{background:#ededee!important;color:#222!important;transform:translateX(1px)!important}
.settings-nav.active{background:#e7e7e9!important;color:#111!important;font-weight:650!important}
.settings-nav .settings-line-icon{width:20px!important;font-size:15px!important;color:#777!important}
.settings-nav.active .settings-line-icon{color:#111!important}
.settings-content-v10{padding:30px 34px 92px!important;background:#fff!important;scroll-behavior:smooth!important;scrollbar-width:thin!important;scrollbar-color:#d6d6d8 transparent!important}
.settings-panel-v10.active{animation:v124SettingsIn .18s cubic-bezier(.2,.75,.3,1) both!important}@keyframes v124SettingsIn{from{opacity:.45;transform:translateY(5px)}to{opacity:1;transform:none}}
.settings-panel-v10>h2{font-size:25px!important;letter-spacing:-.5px!important;margin:0 0 22px!important;border:0!important;padding:0!important}
.settings-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px;padding-right:42px}
.settings-panel-heading h2{font-size:26px!important;letter-spacing:-.55px!important;margin:2px 0 5px!important;line-height:1.15!important}
.settings-panel-heading p{font-size:12.5px!important;color:#777!important;margin:0!important;line-height:1.5!important;max-width:560px!important}
.settings-eyebrow{font-size:10.5px!important;font-weight:750!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:#949499!important}
.settings-recommended-button{border:1px solid #dedee1;background:#fff;border-radius:999px;padding:9px 13px;font-size:11.5px;font-weight:650;white-space:nowrap;cursor:pointer;transition:.14s ease}.settings-recommended-button:hover{background:#f5f5f6;border-color:#d0d0d3;transform:translateY(-1px)}
.settings-info-card{border:1px solid #ececef!important;background:#f8f8f9!important;border-radius:16px!important;padding:15px!important;box-shadow:none!important}
.setting-row{min-height:70px!important;padding:14px 2px!important;border-bottom:1px solid #eeeeef!important;gap:24px!important;transition:background .12s ease!important}
.setting-row:hover{background:linear-gradient(90deg,transparent,#fafafa 18%,#fafafa 82%,transparent)!important}
.setting-row strong{font-size:13.5px!important;font-weight:640!important;color:#252525!important;letter-spacing:-.08px!important}
.setting-row span{font-size:11.2px!important;color:#828287!important;line-height:1.45!important;max-width:440px!important}
.settings-compact{min-width:160px!important;max-width:210px!important;border:1px solid #e1e1e4!important;border-radius:11px!important;background:#f8f8f9!important;padding:9px 30px 9px 11px!important;text-align:left!important;font-size:12px!important;color:#333!important;transition:border-color .14s ease,background .14s ease,box-shadow .14s ease!important}
.settings-compact:hover{background:#fff!important;border-color:#d3d3d6!important}.settings-compact:focus{outline:0!important;border-color:#b9b9bd!important;box-shadow:0 0 0 3px rgba(0,0,0,.04)!important}
.switch-v10 i{width:42px!important;height:24px!important;background:#d6d6d9!important}.switch-v10 i:after{width:18px!important;height:18px!important;top:3px!important;left:3px!important}.switch-v10 input:checked+i{background:#111!important}.switch-v10 input:checked+i:after{transform:translateX(18px)!important}.switch-v10 input:focus-visible+i{box-shadow:0 0 0 3px rgba(0,0,0,.09)!important}
.settings-group-v124{border:1px solid #ececef;border-radius:18px;padding:0 16px;margin:14px 0;background:#fff}.settings-group-v124 .setting-row:last-child{border-bottom:0!important}.settings-group-title{padding:16px 2px 8px;display:flex;flex-direction:column;gap:3px}.settings-group-title strong{font-size:13px}.settings-group-title span{font-size:10.8px;color:#8b8b90}
.intelligence-hero-v124{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:13px;padding:15px 16px;border:1px solid #e6e6e8;border-radius:18px;background:linear-gradient(135deg,#fafafa,#f4f4f6);margin-bottom:16px}.intelligence-orb-v124{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;background:#111;color:#fff;font-size:20px;box-shadow:0 7px 20px rgba(0,0,0,.12)}.intelligence-hero-v124>div:nth-child(2){display:flex;flex-direction:column;gap:4px}.intelligence-hero-v124 strong{font-size:13.5px}.intelligence-hero-v124 span{font-size:11px;color:#777;line-height:1.4}.intelligence-status-v124{padding:6px 9px;border-radius:999px;background:#e9f7ee;color:#287044!important;font-size:10px!important;font-weight:700}
.settings-note-v124{display:flex;flex-direction:column;gap:4px;padding:13px 15px;border-radius:14px;background:#f7f7f8;margin-top:14px}.settings-note-v124 strong{font-size:11.5px}.settings-note-v124 span{font-size:10.8px;color:#777;line-height:1.45}
.settings-save-bar{position:absolute!important;left:238px!important;right:0!important;bottom:0!important;margin:0!important;padding:12px 28px!important;min-height:66px!important;background:rgba(255,255,255,.92)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;border-top:1px solid #ebebed!important;box-shadow:0 -8px 24px rgba(255,255,255,.78)!important}.settings-unsaved-hint{margin-right:auto!important;font-size:11px!important;color:#8c8c91!important;opacity:.25!important;transition:opacity .15s ease!important}.settings-dirty .settings-unsaved-hint{opacity:1!important;color:#555!important}.settings-save-primary-v124{border-radius:999px!important;background:#111!important;color:#fff!important;padding-inline:18px!important;min-height:38px!important}.settings-save-bar .secondary-button{border-radius:999px!important;min-height:38px!important}

body[data-theme="dark"] .settings-center-v10,body[data-theme="dark"] .settings-content-v10{background:#212121!important}body[data-theme="dark"] .settings-sidebar-v10{background:#181818!important;border-color:#333!important}body[data-theme="dark"] .settings-search{background:#242424!important;border-color:#3a3a3a!important}body[data-theme="dark"] .settings-nav{color:#bdbdbd!important}body[data-theme="dark"] .settings-nav:hover{background:#282828!important;color:#eee!important}body[data-theme="dark"] .settings-nav.active{background:#303030!important;color:#fff!important}body[data-theme="dark"] .settings-x{background:#303030!important;color:#ddd!important}body[data-theme="dark"] .settings-panel-heading p,body[data-theme="dark"] .setting-row span,body[data-theme="dark"] .settings-group-title span,body[data-theme="dark"] .settings-note-v124 span{color:#aaa!important}body[data-theme="dark"] .setting-row{border-color:#333!important}body[data-theme="dark"] .setting-row:hover{background:linear-gradient(90deg,transparent,#252525 18%,#252525 82%,transparent)!important}body[data-theme="dark"] .setting-row strong{color:#eee!important}body[data-theme="dark"] .settings-compact{background:#292929!important;border-color:#3d3d3d!important;color:#eee!important}body[data-theme="dark"] .settings-group-v124{background:#242424!important;border-color:#363636!important}body[data-theme="dark"] .intelligence-hero-v124{background:linear-gradient(135deg,#282828,#242424)!important;border-color:#3a3a3a!important}body[data-theme="dark"] .intelligence-orb-v124{background:#f1f1f1!important;color:#111!important}body[data-theme="dark"] .settings-note-v124{background:#292929!important}body[data-theme="dark"] .settings-save-bar{background:rgba(33,33,33,.92)!important;border-color:#383838!important;box-shadow:0 -8px 24px rgba(33,33,33,.75)!important}body[data-theme="dark"] .settings-recommended-button{background:#292929!important;border-color:#414141!important;color:#eee!important}body[data-theme="dark"] .settings-save-primary-v124{background:#f2f2f2!important;color:#111!important}

@media(max-width:760px){.settings-center-v10{width:calc(100vw - 10px)!important;height:calc(100dvh - 10px)!important;display:flex!important;flex-direction:column!important;border-radius:18px!important}.settings-sidebar-v10{height:auto!important;min-height:64px!important;max-height:108px!important;display:flex!important;flex-direction:row!important;align-items:center!important;overflow-x:auto!important;overflow-y:hidden!important;padding:10px!important;border-right:0!important;border-bottom:1px solid #e9e9eb!important}.settings-search{display:none!important}.settings-nav{width:auto!important;min-width:max-content!important;height:38px!important;padding-inline:11px!important}.settings-nav .settings-line-icon{display:none!important}.settings-content-v10{padding:20px 15px 90px!important}.settings-panel-heading{padding-right:36px!important}.settings-panel-heading h2{font-size:23px!important}.settings-panel-heading p{font-size:11.5px!important}.settings-recommended-button{display:none!important}.setting-row{min-height:72px!important;gap:12px!important}.setting-row>div:first-child{max-width:62%!important}.settings-compact{min-width:118px!important;max-width:145px!important;font-size:11px!important}.intelligence-hero-v124{grid-template-columns:42px 1fr!important}.intelligence-status-v124{display:none!important}.settings-save-bar{left:0!important;padding:10px 14px!important}.settings-save-bar .secondary-button{display:none!important}.settings-group-v124{padding-inline:12px!important}}


/* ========================================================================== */
/* SenvoAI V0.12.5 — professional authentication + motion refinement      */
/* ========================================================================== */
.auth-v125-body{margin:0;min-height:100dvh;overflow:auto;background:#f5f6f8;color:#151619}
.auth-v125-shell{min-height:100dvh;display:grid;grid-template-columns:minmax(420px,1.05fr) minmax(500px,.95fr);background:#f7f7f8}
.auth-v125-showcase{position:relative;overflow:hidden;display:flex;flex-direction:column;min-height:100dvh;padding:clamp(28px,4.2vw,64px);background:linear-gradient(145deg,#0b0c10 0%,#11141c 52%,#171927 100%);color:#fff;isolation:isolate}
.auth-v125-showcase:before{content:"";position:absolute;inset:0;z-index:-3;background:radial-gradient(circle at 20% 12%,rgba(107,92,255,.20),transparent 30%),radial-gradient(circle at 82% 78%,rgba(21,199,213,.12),transparent 28%)}
.auth-v125-showcase:after{content:"";position:absolute;inset:0;z-index:-2;opacity:.08;background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(to bottom,black 0%,transparent 86%)}
.auth-v125-ambient{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1}.auth-v125-ambient i{position:absolute;border-radius:50%;filter:blur(1px);opacity:.7}.auth-v125-ambient i:nth-child(1){width:420px;height:420px;right:-210px;top:-100px;background:radial-gradient(circle,rgba(105,89,255,.28),transparent 68%);animation:v125Float 12s ease-in-out infinite}.auth-v125-ambient i:nth-child(2){width:320px;height:320px;left:-180px;bottom:2%;background:radial-gradient(circle,rgba(20,201,217,.18),transparent 70%);animation:v125Float 15s -4s ease-in-out infinite reverse}.auth-v125-ambient i:nth-child(3){width:180px;height:180px;right:18%;bottom:12%;background:radial-gradient(circle,rgba(255,255,255,.045),transparent 68%)}
.auth-v125-brand,.auth-v125-mobile-brand{display:flex;align-items:center;gap:12px}.auth-v125-logo{width:48px;height:48px;border-radius:15px;padding:3px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.055);box-shadow:0 10px 30px rgba(0,0,0,.22)}.auth-v125-logo img{width:100%;height:100%;border-radius:11px;object-fit:cover}.auth-v125-brand>div:last-child,.auth-v125-mobile-brand>div{display:flex;flex-direction:column;gap:2px}.auth-v125-brand strong{font-size:15px;letter-spacing:-.2px}.auth-v125-brand span{font-size:10.5px;color:#9ea3b1}
.auth-v125-hero{margin:auto 0;max-width:690px;padding:64px 0}.auth-v125-version{display:inline-flex;align-items:center;gap:8px;font-size:10px;letter-spacing:.13em;font-weight:750;color:#c4c8d2}.auth-v125-version>span{width:7px;height:7px;border-radius:50%;background:#35d49a;box-shadow:0 0 0 5px rgba(53,212,154,.09)}.auth-v125-hero h1{font-size:clamp(42px,5.5vw,68px);line-height:.99;letter-spacing:-3.1px;margin:22px 0 18px;text-wrap:balance}.auth-v125-hero>p{max-width:590px;margin:0;color:#b6bac5;font-size:15px;line-height:1.65}
.auth-v125-proof-grid{display:grid;grid-template-columns:1fr;gap:9px;margin-top:34px;max-width:590px}.auth-v125-proof-grid article{display:flex;gap:12px;align-items:center;padding:11px 12px;border:1px solid rgba(255,255,255,.075);border-radius:15px;background:rgba(255,255,255,.035);backdrop-filter:blur(12px);transition:background .18s ease,border-color .18s ease,transform .18s ease}.auth-v125-proof-grid article:hover{background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.12);transform:translateX(3px)}.auth-v125-proof-icon{width:32px;height:32px;flex:0 0 32px;border-radius:10px;display:grid;place-items:center;background:rgba(255,255,255,.07);color:#d9d6ff;font-size:14px}.auth-v125-proof-grid article>div:last-child{display:flex;flex-direction:column;gap:2px}.auth-v125-proof-grid strong{font-size:12px;color:#f4f5f8}.auth-v125-proof-grid span{font-size:10.5px;color:#979dac;line-height:1.35}
.auth-v125-showcase-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#858b99;font-size:10px}.auth-v125-security{display:flex;align-items:center;gap:7px}.auth-v125-security>span{width:21px;height:21px;border:1px solid rgba(255,255,255,.1);border-radius:50%;display:grid;place-items:center;color:#8eddbf}.auth-v125-showcase-footer nav{display:flex;gap:16px}.auth-v125-showcase-footer a{color:#858b99;transition:color .15s ease}.auth-v125-showcase-footer a:hover{color:#fff}
.auth-v125-entry{display:flex;align-items:center;justify-content:center;min-height:100dvh;padding:clamp(26px,5vw,72px);background:radial-gradient(circle at 50% -10%,#fff 0%,#f8f8f9 42%,#f4f5f7 100%)}.auth-v125-mobile-brand{display:none}.auth-v125-card{width:min(440px,100%);animation:v125CardIn .45s cubic-bezier(.2,.78,.25,1) both}.auth-v125-card-head{margin-bottom:22px}.auth-v125-kicker{font-size:9.5px;letter-spacing:.15em;font-weight:800;color:#787b84}.auth-v125-card-head h2{font-size:32px;line-height:1.08;letter-spacing:-1.1px;margin:8px 0 8px}.auth-v125-card-head p{font-size:12.5px;line-height:1.5;color:#777b84;margin:0}
.auth-v125-tabs{height:46px;padding:4px!important;margin:0 0 22px!important;border:1px solid #e2e3e6!important;border-radius:14px!important;background:#eeeef0!important}.auth-v125-tabs .auth-tab{height:36px;border-radius:10px!important;font-size:12px!important;font-weight:650!important}.auth-v125-tabs .auth-tab.active{background:#fff!important;box-shadow:0 1px 4px rgba(0,0,0,.07)!important;color:#151619!important;transform:none!important}
.auth-v125-oauth-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.auth-v125-oauth{height:45px!important;border-radius:13px!important;background:#fff!important;border:1px solid #dedfe3!important;font-size:11.5px!important;font-weight:600!important;box-shadow:0 1px 1px rgba(0,0,0,.015)}.auth-v125-oauth:hover:not(.disabled){transform:translateY(-1px)!important;border-color:#cfd1d6!important;box-shadow:0 7px 17px rgba(0,0,0,.055)!important}.auth-v125-divider{margin:19px 0!important}.auth-v125-divider:before,.auth-v125-divider:after{background:#e2e3e6!important}.auth-v125-divider span{font-size:10px!important;color:#93959c!important;background:#f8f8f9!important;padding:0 9px!important}
.auth-v125-form{display:flex;flex-direction:column;gap:13px}.auth-v125-field{display:flex!important;flex-direction:column;gap:6px!important;font-size:11.5px!important;font-weight:620!important;color:#383a40!important}.auth-v125-field>span:first-child{padding-left:1px}.auth-v125-field input{height:46px!important;min-height:46px!important;width:100%;padding:0 13px!important;border-radius:12px!important;border:1px solid #d9dade!important;background:#fff!important;color:#17181c!important;outline:none!important;font-size:13px!important;box-shadow:0 1px 1px rgba(0,0,0,.015)!important;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease!important;transform:none!important}.auth-v125-field input:focus{border-color:#8f87ef!important;box-shadow:0 0 0 3px rgba(102,87,255,.08)!important;transform:none!important}.auth-v125-field.field-invalid input{border-color:#dca4a8!important}.auth-v125-field.field-valid input:not(:focus){border-color:#cdded6!important}.auth-v125-password{position:relative}.auth-v125-password input{padding-right:58px!important}.auth-v125-password button{position:absolute;right:6px;top:50%;transform:translateY(-50%);height:32px;min-width:44px;border:0;border-radius:8px;background:transparent;color:#686b73;font-size:10px;font-weight:700;cursor:pointer}.auth-v125-password button:hover{background:#f2f2f4;color:#25262a}
.auth-v125-inline-help{display:flex;justify-content:flex-end;margin-top:-5px}.auth-v125-inline-help .auth-text-button,.auth-v125-account-switch .auth-text-button{margin:0!important;padding:2px!important;font-size:10.5px!important;color:#5450c8!important;font-weight:650}.auth-v125-primary{height:47px!important;border-radius:13px!important;background:#111214!important;color:#fff!important;border:1px solid #111214!important;box-shadow:0 6px 14px rgba(0,0,0,.10)!important;font-size:12px!important;font-weight:700!important}.auth-v125-primary:hover{background:#000!important;transform:translateY(-1px)!important;box-shadow:0 10px 20px rgba(0,0,0,.14)!important}.auth-v125-arrow{font-size:16px;line-height:1}.auth-v125-secondary{height:45px!important;border-radius:13px!important;background:#fff!important;border:1px solid #dadbe0!important;font-size:11.5px!important;font-weight:650!important}.auth-v125-secondary:hover{border-color:#c9cad0!important;background:#fafafa!important}.auth-v125-account-switch{text-align:center;margin-top:17px;color:#888b93;font-size:10.5px}
.auth-v125-panel-intro{margin:2px 0 17px}.auth-v125-panel-intro h3{font-size:19px}.auth-v125-steps{margin-bottom:18px!important}.auth-v125-verify{border-radius:14px!important;background:#f4f5f7!important;border-color:#dedfe3!important;padding:13px!important}.auth-v125-back{margin:0 0 16px!important}.auth-v125-trust{display:flex;justify-content:center;align-items:center;gap:7px;margin-top:20px;padding-top:16px;border-top:1px solid #e4e5e8;color:#9a9ca3;font-size:9.5px;line-height:1.4}.auth-v125-trust>span:first-child{font-size:11px}.field-help{font-weight:400!important;color:#989aa2!important}
.auth-alert{border-radius:12px!important;margin-bottom:14px!important;font-size:11px!important;line-height:1.45!important;padding:10px 12px!important;box-shadow:none!important}.auth-alert.success{background:#eff8f4!important;color:#25644d!important}.auth-alert:not(.success):not(.account-missing){background:#fff3f3!important;color:#8f3c42!important}.auth-alert.account-missing{border-radius:12px!important}
@keyframes v125Float{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(-18px,22px,0)}}
@keyframes v125CardIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(max-width:980px){.auth-v125-shell{grid-template-columns:1fr}.auth-v125-showcase{display:none}.auth-v125-entry{padding:24px;align-items:flex-start}.auth-v125-mobile-brand{display:flex;width:min(440px,100%);margin:12px auto 32px}.auth-v125-mobile-brand img{width:38px;height:38px;border-radius:12px}.auth-v125-mobile-brand strong{font-size:13px}.auth-v125-mobile-brand span{font-size:9.5px;color:#90939a}.auth-v125-card{margin:0 auto}.auth-v125-entry{flex-direction:column;justify-content:flex-start}}
@media(max-width:520px){.auth-v125-entry{padding:16px 16px 28px}.auth-v125-mobile-brand{margin:4px auto 24px}.auth-v125-card-head h2{font-size:28px}.auth-v125-oauth-grid{grid-template-columns:1fr}.auth-v125-divider span{background:#f7f7f8!important}.auth-v125-card{width:100%}.auth-v125-tabs{margin-bottom:18px!important}.auth-v125-proof-grid{display:none}}
@media(prefers-reduced-motion:reduce){.auth-v125-ambient i,.auth-v125-card{animation:none!important}}

/* Streaming text: keep DOM stable and avoid expensive paint effects while live. */
.assistant-content.streaming-caret{contain:layout style;content-visibility:auto;will-change:contents}
.assistant-content.streaming-caret::after{animation-duration:.85s!important}


/* -------------------------------------------------------------------------- */
/* SenvoAI V0.12.6 — composer state repair + always-visible voice call    */
/* -------------------------------------------------------------------------- */
.hidden{display:none!important}

.main-panel>.composer-zone{
  padding-bottom:max(10px,env(safe-area-inset-bottom))!important;
}
.composer-card{
  width:min(100%,820px)!important;
  min-height:88px!important;
  overflow:visible!important;
}
.composer-toolbar{min-width:0!important}
.composer-right-tools{min-width:0!important;flex:0 0 auto!important}
.composer-input-shell{min-width:0!important}

.composer-call-button{
  width:36px!important;height:36px!important;min-width:36px!important;
  border:0!important;border-radius:50%!important;padding:0!important;
  display:grid!important;place-items:center!important;cursor:pointer!important;
  background:#111113!important;color:#fff!important;
  box-shadow:0 1px 2px rgba(0,0,0,.08)!important;
  transition:transform var(--ui-fast,.14s) ease,background var(--ui-fast,.14s) ease,box-shadow var(--ui-fast,.14s) ease!important;
}
.composer-call-button:hover{background:#000!important;transform:scale(1.035)!important;box-shadow:0 4px 12px rgba(0,0,0,.12)!important}
.composer-call-button:active{transform:scale(.92)!important}
.composer-call-button svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important}

.send-button.hidden,.stop-button.hidden,.composer-call-button.hidden,
.generation-status.hidden,.attachment-chips.hidden,.read-aloud-bar.hidden{display:none!important}
.generation-status:not(.hidden){display:flex!important}

body[data-theme="dark"] .composer-call-button{background:#f4f4f4!important;color:#111!important}
body[data-theme="dark"] .composer-call-button:hover{background:#fff!important}

@media(max-width:760px){
  .composer-call-button{width:36px!important;height:36px!important;min-width:36px!important}
  .composer-right-tools{gap:3px!important}
}


/* ========================================================================== */
/* SenvoAI V0.12.7 — adaptive viewport / laptop resize system             */
/* ========================================================================== */
:root{
  --app-height:100dvh;
  --app-width:100vw;
}

/* Workspace always fills the *visible* browser area rather than assuming a
   full-screen monitor. The JS values come from visualViewport when available. */
html,body{max-width:100%;}
.app-shell{
  width:var(--app-width,100vw)!important;
  height:var(--app-height,100dvh)!important;
  min-height:0!important;
}
.sidebar,.main-panel{height:100%!important;min-height:0!important;}
.conversation{min-height:0!important;}
.modal{max-height:var(--app-height,100dvh)!important;}
.modal-card{max-height:calc(var(--app-height,100dvh) - 20px)!important;}
.settings-center-v10,.workspace-modal-v11{
  max-height:calc(var(--app-height,100dvh) - 16px)!important;
}

/* Scale the desktop sidebar instead of reserving the same width on every
   laptop. At 1024px it becomes compact; on larger screens it grows gently. */
@media (min-width:761px){
  :root{--sidebar:clamp(232px,20vw,278px)!important;--cg-sidebar:clamp(232px,20vw,260px)!important;}
}

/* Login / sign-up: both columns are viewport-aware and independently safe to
   scroll. A user never needs browser full-screen just to reach Sign in. */
.auth-v125-body{
  min-height:var(--app-height,100dvh)!important;
  height:auto!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
}
.auth-v125-shell{
  width:100%!important;
  min-height:var(--app-height,100dvh)!important;
  height:auto!important;
  grid-template-columns:minmax(300px,clamp(320px,45vw,720px)) minmax(390px,1fr)!important;
  align-items:stretch!important;
}
.auth-v125-showcase{
  min-height:var(--app-height,100dvh)!important;
  height:var(--app-height,100dvh)!important;
  padding:clamp(22px,3.4vw,54px)!important;
}
.auth-v125-entry{
  min-height:var(--app-height,100dvh)!important;
  height:var(--app-height,100dvh)!important;
  max-height:var(--app-height,100dvh)!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  scrollbar-gutter:stable!important;
  padding:clamp(18px,3vw,46px)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
}
.auth-v125-mobile-brand{flex:0 0 auto!important;}
.auth-v125-card{
  flex:0 0 auto!important;
  width:min(440px,100%)!important;
  margin-top:auto!important;
  margin-bottom:auto!important;
}

/* Regular laptop / browser window: compact just enough to fit without losing
   controls. This activates from viewport height, not device model. */
@media (max-height:760px){
  .auth-v125-showcase{padding:22px 30px!important;}
  .auth-v125-hero{padding:24px 0!important;}
  .auth-v125-hero h1{font-size:clamp(34px,4.6vw,50px)!important;letter-spacing:-2px!important;margin:14px 0 12px!important;}
  .auth-v125-hero>p{font-size:12.5px!important;line-height:1.5!important;}
  .auth-v125-proof-grid{margin-top:20px!important;gap:7px!important;}
  .auth-v125-proof-grid article{padding:8px 10px!important;border-radius:12px!important;}
  .auth-v125-proof-icon{width:27px!important;height:27px!important;flex-basis:27px!important;}
  .auth-v125-showcase-footer{font-size:9px!important;}

  .auth-v125-entry{padding:14px 24px!important;}
  .auth-v125-card-head{margin-bottom:14px!important;}
  .auth-v125-card-head h2{font-size:27px!important;margin:5px 0 5px!important;}
  .auth-v125-card-head p{font-size:11px!important;}
  .auth-v125-tabs{height:42px!important;margin-bottom:14px!important;}
  .auth-v125-tabs .auth-tab{height:32px!important;}
  .auth-v125-oauth{height:40px!important;}
  .auth-v125-divider{margin:12px 0!important;}
  .auth-v125-form{gap:9px!important;}
  .auth-v125-field{gap:4px!important;font-size:10.5px!important;}
  .auth-v125-field input{height:40px!important;min-height:40px!important;}
  .auth-v125-primary,.auth-v125-secondary{height:41px!important;min-height:41px!important;}
  .auth-v125-account-switch{margin-top:11px!important;}
  .auth-v125-trust{margin-top:12px!important;padding-top:10px!important;}
}

/* Very short browser windows (common with taskbar + browser chrome or laptop
   split-screen) use a denser professional layout while remaining scrollable. */
@media (max-height:620px) and (min-width:981px){
  .auth-v125-shell{grid-template-columns:minmax(270px,.72fr) minmax(470px,1.28fr)!important;}
  .auth-v125-showcase{padding:18px 24px!important;}
  .auth-v125-logo{width:40px!important;height:40px!important;}
  .auth-v125-hero{padding:14px 0!important;}
  .auth-v125-version{font-size:8.5px!important;}
  .auth-v125-hero h1{font-size:34px!important;line-height:1!important;margin:10px 0!important;}
  .auth-v125-hero>p{font-size:11px!important;line-height:1.4!important;}
  .auth-v125-proof-grid{margin-top:13px!important;}
  .auth-v125-proof-grid article{padding:6px 8px!important;}
  .auth-v125-proof-grid span{display:none!important;}
  .auth-v125-showcase-footer{gap:8px!important;}
  .auth-v125-entry{padding:10px 20px!important;}
  .auth-v125-card{max-width:410px!important;}
  .auth-v125-card-head{margin-bottom:10px!important;}
  .auth-v125-card-head h2{font-size:24px!important;}
  .auth-v125-card-head p{display:none!important;}
  .auth-v125-tabs{margin-bottom:10px!important;}
  .auth-v125-divider{margin:8px 0!important;}
  .auth-v125-form{gap:7px!important;}
  .auth-v125-field input{height:37px!important;min-height:37px!important;}
  .auth-v125-primary,.auth-v125-secondary{height:38px!important;min-height:38px!important;}
  .auth-v125-trust{display:none!important;}
}

/* Medium-width laptops: collapse the marketing column sooner so the account
   form gets priority and stays comfortably readable. */
@media (max-width:1100px){
  .auth-v125-shell{grid-template-columns:minmax(300px,.72fr) minmax(430px,1.28fr)!important;}
  .auth-v125-showcase{padding:28px!important;}
  .auth-v125-hero h1{font-size:clamp(36px,4.6vw,52px)!important;}
}
@media (max-width:980px){
  .auth-v125-shell{display:block!important;min-height:var(--app-height,100dvh)!important;}
  .auth-v125-showcase{display:none!important;}
  .auth-v125-entry{
    width:100%!important;
    height:var(--app-height,100dvh)!important;
    min-height:var(--app-height,100dvh)!important;
    max-height:none!important;
    padding:clamp(14px,4vw,28px)!important;
  }
  .auth-v125-mobile-brand{display:flex!important;width:min(440px,100%)!important;margin:0 auto clamp(18px,4vh,30px)!important;}
  .auth-v125-card{margin-top:0!important;margin-bottom:24px!important;}
}
@media (max-width:520px){
  .auth-v125-entry{padding:12px 12px 22px!important;}
  .auth-v125-mobile-brand{margin-bottom:18px!important;}
  .auth-v125-card-head h2{font-size:26px!important;}
  .auth-v125-oauth-grid{grid-template-columns:1fr!important;}
}

/* Workspace compaction for short laptop windows. Nothing is hidden that the
   user needs; spacing simply becomes denser and scrolling receives more room. */
@media (max-height:700px){
  .topbar{height:52px!important;min-height:52px!important;}
  .conversation{padding-bottom:150px!important;}
  .main-panel>.composer-zone{padding-top:10px!important;padding-bottom:8px!important;}
  .composer-card{min-height:78px!important;}
  .composer-note{margin-top:4px!important;}
  .workspace-modal-v11{height:calc(var(--app-height,100dvh) - 12px)!important;}
  .settings-center-v10{height:calc(var(--app-height,100dvh) - 10px)!important;}
}

@media (prefers-reduced-motion:reduce){
  .auth-v125-entry,.auth-v125-card{scroll-behavior:auto!important;}
}


/* ========================================================================== */
/* SenvoAI V0.12.8 — docked composer + bottom settings action bar         */
/* ========================================================================== */

/* The welcome composer can be taller while the docked follow-up composer is
   always compact when empty. This prevents the large blank textarea height from
   surviving the New chat -> first message transition. */
.main-panel>.composer-zone{
  left:0!important;
  right:0!important;
  bottom:0!important;
  top:auto!important;
  width:100%!important;
  max-width:none!important;
  transform:none!important;
  padding:20px clamp(10px,2.6vw,28px) max(10px,env(safe-area-inset-bottom))!important;
  background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.94) 28%,#fff 55%)!important;
}
.main-panel>.composer-zone>.composer-card,
.main-panel>.composer-zone>.generation-status,
.main-panel>.composer-zone>.attachment-chips,
.main-panel>.composer-zone>.read-aloud-bar,
.main-panel>.composer-zone>.composer-note{
  width:min(100%,820px)!important;
  max-width:820px!important;
  margin-inline:auto!important;
}
#composerCard[data-composer-state="idle"] #messageInput,
#composerCard[data-composer-state="generating"] #messageInput{
  height:32px!important;
  min-height:32px!important;
}
#composerCard[data-composer-state="idle"],
#composerCard[data-composer-state="generating"]{
  min-height:84px!important;
}
#composerCard[data-composer-state="idle"] .composer-input-shell,
#composerCard[data-composer-state="generating"] .composer-input-shell{
  min-height:32px!important;
}
/* Reserve exactly the current composer height in the scrolling transcript so
   the last message/actions can never sit behind the input panel. */
.main-panel .conversation{
  padding-bottom:calc(var(--composer-inset,132px) + 24px)!important;
}

/* In the welcome screen the composer is intentionally part of welcomeView, so
   it stays centred and is not treated like the bottom dock. */
.app-shell.welcome-mode .welcome-view>.composer-zone{
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  width:min(100%,820px)!important;
  max-width:820px!important;
  padding:0!important;
  margin:0 auto!important;
  background:transparent!important;
}
.app-shell.welcome-mode .welcome-view>.composer-zone>.composer-card{
  width:100%!important;
  max-width:820px!important;
}

/* Settings has two fixed regions: navigation and content. Only the selected
   settings panel scrolls; the action bar is a real bottom row, not an overlay. */
.settings-center-v10{
  grid-template-columns:238px minmax(0,1fr)!important;
  grid-template-rows:minmax(0,1fr)!important;
  min-height:0!important;
}
.settings-sidebar-v10{min-height:0!important;}
.settings-content-v10{
  position:relative!important;
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  background:#fff!important;
}
.settings-panel-v10{
  display:none!important;
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:26px 28px 28px!important;
  overscroll-behavior:contain!important;
  scrollbar-gutter:stable!important;
}
.settings-panel-v10.active{display:block!important;}
.settings-save-bar{
  position:static!important;
  inset:auto!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  width:100%!important;
  min-height:66px!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding:11px 28px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  background:rgba(255,255,255,.96)!important;
  border-top:1px solid #e9e9eb!important;
  box-shadow:0 -6px 20px rgba(0,0,0,.035)!important;
  backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;
  z-index:5!important;
}
.settings-save-bar .settings-unsaved-hint{margin-right:auto!important;}

body[data-theme="dark"] .main-panel>.composer-zone{
  background:linear-gradient(180deg,rgba(33,33,33,0),rgba(33,33,33,.95) 28%,#212121 55%)!important;
}
body[data-theme="dark"] .settings-content-v10{background:#212121!important;}
body[data-theme="dark"] .settings-save-bar{
  background:rgba(33,33,33,.96)!important;
  border-top-color:#383838!important;
  box-shadow:0 -6px 20px rgba(0,0,0,.18)!important;
}

@media(max-width:760px){
  .main-panel>.composer-zone{padding:16px 8px max(8px,env(safe-area-inset-bottom))!important;}
  .main-panel .conversation{padding-bottom:calc(var(--composer-inset,126px) + 16px)!important;}
  .settings-center-v10{display:flex!important;flex-direction:column!important;grid-template-columns:1fr!important;}
  .settings-sidebar-v10{flex:0 0 auto!important;}
  .settings-content-v10{flex:1 1 auto!important;min-height:0!important;}
  .settings-panel-v10{padding:20px 15px 20px!important;}
  .settings-save-bar{padding:10px 14px!important;min-height:60px!important;}
}

@media(max-height:650px) and (min-width:761px){
  .main-panel>.composer-zone{padding-top:14px!important;}
  .settings-panel-v10{padding-top:20px!important;padding-bottom:20px!important;}
  .settings-save-bar{min-height:58px!important;padding-block:8px!important;}
}

/* V0.13.0 analyzer/composer state hardening. Native [hidden] plus the
   composer state prevent Send/Stop/Call from ever being visible together. */
[hidden]{display:none!important}
.composer-card[data-composer-state="idle"] .send-button,
.composer-card[data-composer-state="idle"] .stop-button,
.composer-card[data-composer-state="ready"] .stop-button,
.composer-card[data-composer-state="ready"] .composer-call-button,
.composer-card[data-composer-state="generating"] .send-button,
.composer-card[data-composer-state="generating"] .composer-call-button{display:none!important}
.composer-card[data-composer-state="idle"] .composer-call-button,
.composer-card[data-composer-state="ready"] .send-button,
.composer-card[data-composer-state="generating"] .stop-button{display:grid!important}


/* ========================================================================== */
/* SenvoAI V0.13.2 — generic assistant-inspired composer/activity/code/title polish */
/* ========================================================================== */

/* Composer: stable geometry, no icon-induced width shift, tiny premium motion. */
.composer-card{
  contain:layout paint style;
  transition:border-color 150ms ease,box-shadow 150ms ease,background-color 150ms ease,transform 150ms ease!important;
}
.composer-card:focus-within,.composer-card.is-focused{
  border-color:rgba(80,80,86,.28)!important;
  box-shadow:0 8px 28px rgba(0,0,0,.075),0 0 0 1px rgba(0,0,0,.025)!important;
}
.composer-input-shell{min-width:0!important;}
.composer-card textarea{
  resize:none!important;
  overflow-y:auto!important;
  scrollbar-width:thin!important;
  transition:height 110ms cubic-bezier(.2,.75,.25,1)!important;
}
.composer-card textarea.height-changing{will-change:height!important;}
.composer-right-tools{min-width:190px!important;justify-content:flex-end!important;}
.send-button,.stop-button,.composer-call-button{
  flex:0 0 38px!important;
  transform:translateZ(0);
  transition:opacity 130ms ease,transform 130ms ease,background-color 130ms ease!important;
}
.send-button:active,.composer-call-button:active,.stop-button:active{transform:scale(.94)!important;}

/* Activity is a compact story of real backend stages, not hidden reasoning. */
.generation-status{min-height:26px!important;transition:opacity 150ms ease,transform 150ms ease!important;}
.activity-steps{display:flex!important;flex-direction:column!important;gap:5px!important;}
.activity-step{min-height:27px!important;transition:opacity 150ms ease,transform 150ms ease!important;}
.activity-step.active{opacity:.78!important;transform:translateY(0)!important;}
.activity-step.done{opacity:.52!important;}
.assistant-tool-trace{min-height:0!important;transition:opacity 160ms ease,max-height 180ms ease!important;}

/* Code fences remain a stable contained component, including while streaming. */
.code-block{
  margin:16px 0!important;
  border-radius:14px!important;
  border:1px solid #292b31!important;
  background:#0f1013!important;
  overflow:hidden!important;
  box-shadow:0 8px 24px rgba(0,0,0,.10)!important;
  contain:content!important;
}
.code-head{
  position:sticky!important;top:0!important;z-index:1!important;
  min-height:40px!important;padding:0 12px 0 14px!important;
  background:#17181c!important;border-bottom:1px solid #292b31!important;
}
.code-lang{font:600 11px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace!important;letter-spacing:.01em!important;text-transform:none!important;}
.code-copy{min-width:66px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;}
.code-copy.copied{color:#b8f0d0!important;}
.assistant-content .code-block pre{
  margin:0!important;padding:16px!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;
  white-space:pre!important;tab-size:4!important;-moz-tab-size:4!important;overscroll-behavior-x:contain!important;
}
.assistant-content .code-block pre code{font:13px/1.62 ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace!important;white-space:pre!important;}

/* Rename is intentionally small and clear; manual titles are treated as locked. */
.rename-chat-card{width:min(470px,calc(100vw - 28px))!important;border-radius:20px!important;padding:20px!important;}
.rename-chat-card .modal-head{align-items:flex-start!important;}
.rename-chat-card .modal-head h2{margin:0!important;font-size:19px!important;}
.rename-chat-card .modal-head p{margin:4px 0 0!important;font-size:12px!important;color:var(--text-faint)!important;}
.rename-field{display:block!important;position:relative!important;margin-top:16px!important;}
.rename-field input{width:100%!important;padding-right:58px!important;height:46px!important;border-radius:12px!important;}
.rename-field span{position:absolute!important;right:12px!important;top:50%!important;transform:translateY(-50%)!important;font-size:10px!important;color:var(--text-faint)!important;pointer-events:none!important;}
.rename-help{font-size:11px!important;line-height:1.45!important;color:var(--text-faint)!important;margin:9px 2px 2px!important;}

/* History search covers content too; keep the field visually stable while results update. */
.chat-search-wrap{min-height:48px!important;}
.chat-search-wrap input{transition:border-color 140ms ease,box-shadow 140ms ease,background 140ms ease!important;}

@media(max-width:760px){
  .composer-right-tools{min-width:132px!important;}
  .code-head-actions{opacity:1!important;}
  .assistant-content .code-block pre{padding:14px!important;}
  .rename-chat-card{padding:17px!important;}
}

@media(prefers-reduced-motion:reduce){
  .composer-card,.composer-card textarea,.generation-status,.activity-step,.send-button,.stop-button,.composer-call-button{transition:none!important;}
}

/* ========================================================================== */
/* SenvoAI V0.13.3 — conversation/source/schedule/help alignment system    */
/* ========================================================================== */
:root{--chat-column:820px;--ui-gap-1:4px;--ui-gap-2:8px;--ui-gap-3:12px;--ui-gap-4:16px;--ui-gap-5:24px;--ui-gap-6:32px}
.main-panel{display:flex!important;flex-direction:column!important;min-width:0!important;min-height:0!important;overflow:hidden!important}
.main-panel>.conversation{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important}
.messages{width:min(100%,var(--chat-column))!important;max-width:var(--chat-column)!important;margin-inline:auto!important;padding-inline:0!important}
.message-row{width:100%!important;max-width:none!important;min-width:0!important}
.assistant-body,.user-bubble{min-width:0!important}
.main-panel>.composer-zone>.composer-card,
.main-panel>.composer-zone>.generation-status,
.main-panel>.composer-zone>.attachment-chips,
.main-panel>.composer-zone>.read-aloud-bar,
.main-panel>.composer-zone>.composer-note{width:min(100%,var(--chat-column))!important;max-width:var(--chat-column)!important}
.app-shell.welcome-mode .welcome-view>.composer-zone{width:min(100%,var(--chat-column))!important;max-width:var(--chat-column)!important}
.app-shell.welcome-mode .welcome-view>.composer-zone>.composer-card{max-width:var(--chat-column)!important}

/* Inline sources are references to server-provided source IDs, never raw model links. */
.inline-citation{display:inline-grid!important;place-items:center!important;min-width:19px!important;height:19px!important;margin:0 2px!important;padding:0 5px!important;vertical-align:baseline!important;border:0!important;border-radius:8px!important;background:#ececf1!important;color:#454650!important;font:650 10px/1 system-ui,sans-serif!important;cursor:pointer!important;transform:translateY(-1px)!important;transition:background 130ms ease,transform 130ms ease!important}
.inline-citation:hover,.inline-citation:focus-visible{background:#dedfe6!important;outline:none!important;transform:translateY(-2px)!important}
.inline-citation:disabled{opacity:.45!important;cursor:default!important}
.source-hover-card{position:fixed!important;z-index:2600!important;width:min(330px,calc(100vw - 20px))!important;padding:12px!important;border:1px solid #dedfe4!important;border-radius:14px!important;background:rgba(255,255,255,.98)!important;box-shadow:0 18px 48px rgba(0,0,0,.16)!important;color:#25262b!important;pointer-events:none!important;backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important}
.source-hover-top{display:flex!important;align-items:center!important;gap:7px!important;margin-bottom:7px!important}.source-hover-top>span{display:grid!important;place-items:center!important;width:20px!important;height:20px!important;border-radius:7px!important;background:#ededf1!important;font-size:10px!important}.source-hover-top strong{font-size:11px!important;color:#6e7078!important}.source-hover-card>b{display:block!important;font-size:13px!important;line-height:1.35!important}.source-hover-card p{margin:6px 0!important;font-size:11px!important;line-height:1.42!important;color:#696b73!important;display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important}.source-hover-card small{font-size:10px!important;color:#9698a0!important}
.assistant-source-strip{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important;margin:10px 0 2px!important}.source-strip-label{font-size:10px!important;color:var(--text-faint)!important;margin-right:2px!important}.assistant-source-strip button{border:1px solid var(--border)!important;background:var(--surface-soft,#f7f7f8)!important;color:var(--text)!important;height:28px!important;border-radius:10px!important;padding:0 9px!important;display:inline-flex!important;align-items:center!important;gap:6px!important;font-size:10px!important;cursor:pointer!important;max-width:170px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.assistant-source-strip button:hover{background:var(--hover)!important}.assistant-source-strip button b{display:grid!important;place-items:center!important;min-width:17px!important;height:17px!important;border-radius:6px!important;background:rgba(127,127,136,.13)!important;font-size:9px!important}

/* Scheduled: make timing type explicit rather than treating every task as identical. */
.task-form-v11{gap:10px!important}.task-form-row-v133{grid-template-columns:minmax(150px,1.2fr) minmax(110px,.8fr) minmax(140px,1fr)!important}.task-form-actions-v133{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important}.task-form-actions-v133>span{font-size:10px!important;line-height:1.4!important;color:var(--text-faint)!important;max-width:520px!important}.task-form-actions-v133 .primary-button{flex:0 0 auto!important}

/* Help popover must remain usable on a short browser window. */
.help-menu{max-height:min(520px,calc(var(--app-height,100dvh) - 28px))!important;overflow-y:auto!important;overscroll-behavior:contain!important;scrollbar-width:thin!important}

/* Full Help/Legal pages own the document scroll. Earlier full-app overflow rules
   must never trap a user above content on a short laptop. */
html:has(.legal-v133){height:auto!important;min-height:100%!important;overflow-y:auto!important;overflow-x:hidden!important}
body.legal-v133{height:auto!important;min-height:100dvh!important;overflow-y:auto!important;overflow-x:hidden!important;position:relative!important;overscroll-behavior-y:auto!important}
.legal-v133 .legal-layout{min-height:0!important;overflow:visible!important;padding-bottom:36px!important}
.legal-v133 .legal-topbar{position:sticky!important;top:0!important;z-index:50!important}
.help-hero-v133{padding-bottom:18px!important}.help-search-v133{width:min(700px,100%)!important;height:50px!important;margin-top:20px!important;border:1px solid #dedfe4!important;border-radius:15px!important;background:rgba(255,255,255,.86)!important;display:flex!important;align-items:center!important;gap:10px!important;padding:0 15px!important;box-shadow:0 8px 28px rgba(0,0,0,.045)!important}.help-search-v133 span{color:#8a8d96!important}.help-search-v133 input{border:0!important;outline:0!important;background:transparent!important;width:100%!important;font:500 14px/1.2 system-ui,sans-serif!important;color:#202126!important}
.help-sections-v133{width:min(900px,100%)!important;margin:0 auto!important;display:flex!important;flex-direction:column!important;gap:9px!important}.help-topic-v133{border:1px solid #e5e5e9!important;border-radius:16px!important;background:rgba(255,255,255,.82)!important;overflow:hidden!important;box-shadow:0 4px 14px rgba(0,0,0,.025)!important}.help-topic-v133 summary{list-style:none!important;min-height:70px!important;display:flex!important;align-items:center!important;gap:12px!important;padding:12px 16px!important;cursor:pointer!important}.help-topic-v133 summary::-webkit-details-marker{display:none!important}.help-topic-v133 summary>span{width:36px!important;height:36px!important;display:grid!important;place-items:center!important;border-radius:11px!important;background:#f1f1f4!important;color:#54565d!important}.help-topic-v133 summary>div{min-width:0!important;display:flex!important;flex:1!important;flex-direction:column!important;gap:2px!important}.help-topic-v133 summary strong{font-size:13px!important}.help-topic-v133 summary small{font-size:10px!important;color:#8a8d95!important}.help-topic-v133 summary>b{font-size:12px!important;color:#9a9ca4!important;transition:transform 150ms ease!important}.help-topic-v133[open] summary>b{transform:rotate(180deg)!important}.help-topic-body{padding:0 64px 16px!important;border-top:1px solid transparent!important}.help-topic-body p{margin:8px 0 0!important;color:#61636a!important;font-size:12px!important;line-height:1.62!important}.help-no-results-v133{width:min(900px,100%)!important;margin:20px auto!important;padding:30px!important;border:1px dashed #dadbe0!important;border-radius:16px!important;text-align:center!important;display:flex!important;flex-direction:column!important;gap:5px!important}.help-no-results-v133 span{color:#8b8d95!important;font-size:11px!important}.help-callout-v133{width:min(900px,100%)!important;margin:18px auto 0!important}.release-feed-v133{padding-bottom:20px!important}.release-date-row-v133{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}.release-date-row-v133 h2{margin:0!important}.release-date-row-v133 span{font-size:10px!important;font-weight:700!important;padding:5px 9px!important;border-radius:999px!important;background:#111!important;color:#fff!important}

body[data-theme="dark"] .inline-citation{background:#35363a!important;color:#e5e5e7!important}body[data-theme="dark"] .inline-citation:hover{background:#44454a!important}body[data-theme="dark"] .source-hover-card{background:rgba(39,39,41,.98)!important;border-color:#4a4a4e!important;color:#f3f3f4!important}body[data-theme="dark"] .source-hover-card p,body[data-theme="dark"] .source-hover-top strong{color:#b4b4b8!important}body[data-theme="dark"] .help-search-v133,body[data-theme="dark"] .help-topic-v133{background:rgba(34,34,36,.88)!important;border-color:#424247!important}body[data-theme="dark"] .help-search-v133 input{color:#f2f2f3!important}body[data-theme="dark"] .help-topic-v133 summary>span{background:#353538!important}body[data-theme="dark"] .help-topic-body p{color:#b8b8bd!important}

@media(max-width:760px){
  :root{--chat-column:100%}.messages{padding-inline:10px!important}.task-form-row-v133{grid-template-columns:1fr!important}.task-form-actions-v133{align-items:stretch!important;flex-direction:column!important}.task-form-actions-v133 .primary-button{width:100%!important}.help-topic-body{padding:0 16px 15px!important}.legal-v133 .legal-nav{overflow-x:auto!important;max-width:55vw!important}.source-hover-card{display:none!important}
}
@media(max-height:650px){.help-menu{max-height:calc(var(--app-height,100dvh) - 18px)!important}.legal-v133 .legal-topbar{min-height:52px!important}.help-topic-v133 summary{min-height:60px!important}}
@media(prefers-reduced-motion:reduce){.inline-citation,.help-topic-v133 summary>b{transition:none!important}}

/* -------------------------------------------------------------------------- */
/* SenvoAI V0.14.1 — master-build alignment                               */
/* -------------------------------------------------------------------------- */
.connection-banner{position:fixed;left:50%;top:10px;z-index:75;transform:translateX(-50%);display:flex;align-items:center;gap:8px;max-width:min(92vw,560px);padding:8px 12px;border:1px solid var(--border);border-radius:999px;background:color-mix(in srgb,var(--surface,#fff) 92%,transparent);box-shadow:0 8px 30px rgba(0,0,0,.08);backdrop-filter:blur(14px);font-size:13px;line-height:1.25}
.connection-banner.hidden{display:none!important}.connection-dot{width:7px;height:7px;border-radius:50%;background:#d97706;flex:none}.connection-banner.online .connection-dot{background:#16a34a}
.recent-date-group{display:flex;flex-direction:column;gap:2px;margin:0 0 10px}.recent-date-label{padding:8px 10px 4px;font-size:11px;font-weight:650;letter-spacing:.01em;color:var(--muted-foreground,#777)}
.archived-chats-card-v14{height:min(720px,calc(var(--app-height,100dvh) - 36px))}.archived-chat-list{min-height:0;overflow:auto;padding:10px 18px 22px}.archived-chat-row{display:flex;align-items:center;gap:12px;padding:11px 10px;border-radius:12px}.archived-chat-row:hover{background:var(--hover,#f4f4f4)}.archived-chat-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}.archived-chat-copy strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}.archived-chat-copy span{font-size:12px;color:var(--muted-foreground,#777)}.archived-chat-actions{display:flex;gap:6px}.archived-chat-actions button{min-height:34px;padding:0 10px;border:1px solid var(--border);border-radius:9px;background:transparent;cursor:pointer}.archived-chat-actions .danger{color:#b42318}
.command-palette-modal{align-items:flex-start!important;padding-top:min(14vh,120px)!important;background:rgba(0,0,0,.24)!important}.command-palette-card{width:min(680px,calc(100vw - 28px));max-height:min(620px,calc(var(--app-height,100dvh) - 80px));display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--border);border-radius:18px;background:var(--surface,#fff);box-shadow:0 24px 80px rgba(0,0,0,.2)}.command-search-row{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--border)}.command-search-row>span{font-size:20px;color:var(--muted-foreground,#777)}.command-search-row input{min-width:0;flex:1;border:0;outline:0;background:transparent;font:inherit;font-size:15px;color:inherit}.command-search-row kbd,.command-palette-footer{font-size:11px;color:var(--muted-foreground,#777)}.command-search-row kbd{padding:3px 6px;border:1px solid var(--border);border-radius:6px}.command-palette-results{min-height:80px;overflow:auto;padding:7px}.command-result{width:100%;display:flex;align-items:center;gap:11px;min-height:44px;padding:8px 10px;border:0;border-radius:10px;background:transparent;color:inherit;text-align:left;cursor:pointer}.command-result:hover,.command-result.active{background:var(--hover,#f4f4f4)}.command-result-icon{width:24px;text-align:center;color:var(--muted-foreground,#777)}.command-result-copy{min-width:0;display:flex;flex-direction:column;gap:1px}.command-result-copy strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.command-result-copy span{font-size:11px;color:var(--muted-foreground,#777);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.command-section-label{padding:8px 10px 4px;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted-foreground,#777)}.command-palette-footer{display:flex;gap:14px;padding:8px 14px;border-top:1px solid var(--border)}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.modal:not(.hidden) :focus-visible,.popover:not(.hidden) :focus-visible,.app-shell :focus-visible{outline:2px solid color-mix(in srgb,var(--accent,#7c3aed) 70%,#fff);outline-offset:2px}
@media(max-width:760px){.command-palette-modal{padding:10px!important;align-items:flex-start!important}.command-palette-card{width:100%;max-height:calc(var(--app-height,100dvh) - 20px);border-radius:16px}.archived-chat-row{align-items:flex-start}.archived-chat-actions{flex-direction:column}.archived-chat-actions button{min-height:40px}.connection-banner{top:max(8px,env(safe-area-inset-top))}}
@media(prefers-reduced-motion:reduce){.connection-banner,.command-palette-card,.command-result{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* ========================================================================== */
/* SenvoAI V0.14.1 — responsive composer + premium code/message remodel   */
/* ========================================================================== */

:root{
  --chat-column:820px;
  --chat-column-narrow:760px;
  --sc-radius-composer:24px;
  --sc-radius-code:16px;
  --sc-border-soft:rgba(18,18,20,.10);
  --sc-shadow-float:0 12px 34px rgba(20,20,24,.08);
  --sc-shadow-code:0 10px 28px rgba(15,18,24,.12);
}

/* Keep the app's containing blocks deterministic. */
.app-shell{width:100%!important;max-width:100vw!important;min-width:0!important;overflow:hidden!important;}
.main-panel{
  position:relative!important;
  isolation:isolate!important;
  min-width:0!important;
  min-height:0!important;
  width:auto!important;
  overflow:hidden!important;
}
.main-panel>.conversation{
  width:100%!important;
  min-width:0!important;
  scrollbar-gutter:stable both-edges;
}

/* One composer host only. Its card is always centered in the AVAILABLE main
   panel, never the monitor. This fixes the left-clipped box seen in V0.14.0. */
.main-panel>.composer-zone,
.app-shell.sidebar-collapsed .main-panel>.composer-zone,
.app-shell.welcome-mode .main-panel>.composer-zone,
.app-shell.sidebar-collapsed.welcome-mode .main-panel>.composer-zone{
  position:absolute!important;
  inset-inline:0!important;
  left:0!important;
  right:0!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  transform:none!important;
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  justify-items:center!important;
  align-content:end!important;
  padding:26px clamp(12px,2.2vw,30px) max(10px,env(safe-area-inset-bottom))!important;
  pointer-events:none!important;
  overflow:visible!important;
  contain:none!important;
  background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.90) 28%,#fff 58%)!important;
  z-index:30!important;
}
.main-panel>.composer-zone>*{pointer-events:auto!important;box-sizing:border-box!important;}
.main-panel>.composer-zone>.composer-card,
.main-panel>.composer-zone>.generation-status,
.main-panel>.composer-zone>.attachment-chips,
.main-panel>.composer-zone>.read-aloud-bar,
.main-panel>.composer-zone>.composer-note{
  width:min(100%,var(--chat-column))!important;
  max-width:var(--chat-column)!important;
  min-width:0!important;
  margin-inline:auto!important;
  justify-self:center!important;
}

/* Welcome mode is centered by CSS instead of moving the composer into another
   DOM parent. That prevents containing-block and resize bugs after first send. */
.app-shell.welcome-mode .main-panel>.composer-zone,
.app-shell.sidebar-collapsed.welcome-mode .main-panel>.composer-zone{
  top:clamp(150px,29dvh,270px)!important;
  bottom:auto!important;
  padding-top:0!important;
  background:transparent!important;
  align-content:start!important;
}
.app-shell.welcome-mode .welcome-view{
  padding:clamp(72px,13dvh,126px) 16px 42px!important;
  width:100%!important;
  min-width:0!important;
}
.app-shell.welcome-mode .welcome-view h1{
  margin:0 auto!important;
  width:min(100%,var(--chat-column))!important;
  text-align:center!important;
  font-size:clamp(25px,3vw,34px)!important;
  letter-spacing:-.035em!important;
}
.app-shell.welcome-mode .welcome-view>.starter-grid{
  width:min(100%,var(--chat-column))!important;
  margin:clamp(190px,27dvh,250px) auto 0!important;
}

.composer-card{
  contain:none!important;
  min-width:0!important;
  min-height:86px!important;
  border:1px solid rgba(18,18,20,.13)!important;
  border-radius:var(--sc-radius-composer)!important;
  padding:11px 11px 9px 14px!important;
  background:rgba(255,255,255,.985)!important;
  box-shadow:0 5px 20px rgba(20,20,24,.055),0 1px 0 rgba(255,255,255,.9) inset!important;
  overflow:hidden!important;
  transition:border-color 150ms ease,box-shadow 150ms ease,transform 150ms ease!important;
}
.composer-card:hover{border-color:rgba(18,18,20,.18)!important;}
.composer-card:focus-within,.composer-card.is-focused{
  border-color:rgba(18,18,20,.24)!important;
  box-shadow:var(--sc-shadow-float),0 0 0 1px rgba(18,18,20,.025)!important;
}
.composer-input-shell{width:100%!important;min-width:0!important;}
.composer-card textarea{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  min-height:32px!important;
  max-height:min(180px,28dvh)!important;
  padding:3px 7px 4px!important;
  margin:0!important;
  border:0!important;
  outline:0!important;
  resize:none!important;
  background:transparent!important;
  color:#202124!important;
  font:400 15.5px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  white-space:pre-wrap!important;
  overflow-wrap:anywhere!important;
}
.composer-card textarea::placeholder{color:#96979d!important;opacity:1!important;}
.composer-toolbar{width:100%!important;min-width:0!important;margin-top:4px!important;}
.composer-right-tools{
  min-width:0!important;
  flex:0 0 auto!important;
  justify-content:flex-end!important;
}
.effort-button{white-space:nowrap!important;}
.composer-note{padding-inline:8px!important;line-height:1.25!important;}

/* Keep the final message fully above the docked composer. */
.main-panel .conversation{
  padding-bottom:calc(var(--composer-inset,126px) + 18px)!important;
}
.jump-latest{
  left:50%!important;
  right:auto!important;
  bottom:calc(var(--composer-inset,126px) + 10px)!important;
  transform:translateX(-50%)!important;
  z-index:35!important;
  box-shadow:0 5px 18px rgba(0,0,0,.08)!important;
}

/* Conversation typography: readable, stable and aligned to the composer. */
.messages{
  width:min(100%,var(--chat-column))!important;
  max-width:var(--chat-column)!important;
  padding:30px 0 10px!important;
  margin-inline:auto!important;
}
.message-row{margin-bottom:28px!important;}
.message-assistant{gap:12px!important;}
.assistant-body{max-width:none!important;min-width:0!important;}
.assistant-content{
  max-width:100%!important;
  color:#242529!important;
  font-size:15px!important;
  line-height:1.66!important;
  letter-spacing:-.006em!important;
  white-space:normal!important;
}
.assistant-content p{margin:.18em 0 .82em!important;}
.assistant-content h1,.assistant-content h2,.assistant-content h3,
.assistant-content h4,.assistant-content h5,.assistant-content h6{
  color:#1d1e22!important;
  line-height:1.25!important;
  letter-spacing:-.025em!important;
  font-weight:680!important;
}
.assistant-content h1{font-size:24px!important;margin:1.18em 0 .55em!important;}
.assistant-content h2{font-size:20px!important;margin:1.12em 0 .52em!important;}
.assistant-content h3{font-size:17px!important;margin:1.04em 0 .48em!important;}
.assistant-content h4{font-size:15px!important;margin:1em 0 .42em!important;}
.assistant-content h5{font-size:14px!important;margin:.96em 0 .4em!important;}
.assistant-content h6{font-size:13px!important;margin:.92em 0 .38em!important;color:#55575f!important;}
.assistant-content :not(pre)>code{
  background:#f0f0f2!important;
  color:#24262b!important;
  border:1px solid rgba(0,0,0,.035)!important;
  border-radius:7px!important;
  padding:2px 6px!important;
  font-size:.88em!important;
}

/* Premium code block. Explicit specificity prevents the generic <pre> theme
   from turning the code body white while the text stays light. */
.assistant-content .code-block{
  width:100%!important;
  max-width:100%!important;
  margin:16px 0 20px!important;
  border:1px solid #252931!important;
  border-radius:var(--sc-radius-code)!important;
  overflow:hidden!important;
  background:#0d1117!important;
  color:#e6edf3!important;
  box-shadow:var(--sc-shadow-code)!important;
  contain:none!important;
}
.assistant-content .code-block .code-head{
  position:relative!important;
  top:auto!important;
  z-index:2!important;
  min-height:43px!important;
  padding:0 10px 0 14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  background:linear-gradient(180deg,#171b22,#151920)!important;
  border-bottom:1px solid #252a33!important;
  color:#c9d1d9!important;
}
.code-lang-wrap{display:inline-flex!important;align-items:center!important;gap:8px!important;min-width:0!important;}
.code-lang-dot{width:7px!important;height:7px!important;border-radius:999px!important;background:#6e7681!important;box-shadow:0 0 0 3px rgba(110,118,129,.12)!important;}
.code-block[data-language="python"] .code-lang-dot,.code-block[data-language="py"] .code-lang-dot{background:#58a6ff!important;box-shadow:0 0 0 3px rgba(88,166,255,.12)!important;}
.code-block[data-language="javascript"] .code-lang-dot,.code-block[data-language="js"] .code-lang-dot{background:#d29922!important;box-shadow:0 0 0 3px rgba(210,153,34,.13)!important;}
.code-lang{
  color:#c9d1d9!important;
  font:650 11.5px/1 ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace!important;
  letter-spacing:.015em!important;
}
.code-copy{
  min-width:72px!important;
  height:31px!important;
  padding:0 9px!important;
  border:1px solid transparent!important;
  border-radius:9px!important;
  background:transparent!important;
  color:#9da7b3!important;
  font:600 11px/1 system-ui,sans-serif!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
}
.code-copy:hover{background:#242a33!important;color:#f0f6fc!important;border-color:#30363d!important;}
.code-copy.copied{color:#7ee787!important;background:rgba(46,160,67,.09)!important;border-color:rgba(46,160,67,.2)!important;}
.code-copy-icon{font-size:13px!important;line-height:1!important;}
.assistant-content .code-block pre{
  margin:0!important;
  padding:14px 0 16px!important;
  border:0!important;
  border-radius:0!important;
  background:#0d1117!important;
  color:#e6edf3!important;
  box-shadow:none!important;
  overflow:auto!important;
  max-width:100%!important;
  scrollbar-color:#3f4752 transparent!important;
  scrollbar-width:thin!important;
}
.assistant-content .code-block pre code{
  display:block!important;
  width:max-content!important;
  min-width:100%!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#e6edf3!important;
  font:13px/1.68 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace!important;
  white-space:pre!important;
  counter-reset:code-line!important;
  tab-size:4!important;
}
.code-line{
  position:relative!important;
  display:block!important;
  min-height:1.68em!important;
  padding:0 20px 0 58px!important;
  counter-increment:code-line!important;
  color:#e6edf3!important;
}
.code-line::before{
  content:counter(code-line)!important;
  position:absolute!important;
  left:0!important;
  top:0!important;
  width:42px!important;
  padding-right:12px!important;
  text-align:right!important;
  color:#57606a!important;
  user-select:none!important;
  border-right:1px solid rgba(139,148,158,.12)!important;
}
.code-line:hover{background:rgba(177,186,196,.045)!important;}
.assistant-content .code-block pre::selection,
.assistant-content .code-block code::selection,
.code-line::selection{background:rgba(56,139,253,.28)!important;}

/* Dark theme uses the same deliberately dark code surface, while the surrounding
   assistant text follows the theme. */
body[data-theme="dark"] .assistant-content h1,
body[data-theme="dark"] .assistant-content h2,
body[data-theme="dark"] .assistant-content h3,
body[data-theme="dark"] .assistant-content h4,
body[data-theme="dark"] .assistant-content h5,
body[data-theme="dark"] .assistant-content h6{color:#f0f1f3!important;}
body[data-theme="dark"] .assistant-content .code-block,
body[data-theme="dark"] .assistant-content .code-block pre{background:#0b0f14!important;border-color:#30363d!important;color:#e6edf3!important;}
body[data-theme="dark"] .assistant-content .code-block pre code,
body[data-theme="dark"] .code-line{color:#e6edf3!important;}
body[data-theme="dark"] .main-panel>.composer-zone{background:linear-gradient(180deg,rgba(33,33,33,0),rgba(33,33,33,.90) 28%,#212121 58%)!important;}
body[data-theme="dark"] .composer-card{background:#2f2f2f!important;border-color:#454545!important;}

/* Short laptops: keep the composer usable without full-screen mode. */
@media(max-height:720px) and (min-width:761px){
  .main-panel>.composer-zone{padding-top:16px!important;padding-bottom:8px!important;}
  .composer-card{min-height:78px!important;padding-top:8px!important;padding-bottom:7px!important;}
  .composer-card textarea{max-height:120px!important;}
  .app-shell.welcome-mode .main-panel>.composer-zone{top:clamp(118px,25dvh,170px)!important;}
  .app-shell.welcome-mode .welcome-view{padding-top:48px!important;}
  .app-shell.welcome-mode .welcome-view>.starter-grid{margin-top:150px!important;}
}

@media(max-width:760px){
  :root{--chat-column:100%;}
  .main-panel>.composer-zone,
  .app-shell.sidebar-collapsed .main-panel>.composer-zone{
    padding:14px 8px max(8px,env(safe-area-inset-bottom))!important;
  }
  .main-panel>.composer-zone>.composer-card,
  .main-panel>.composer-zone>.generation-status,
  .main-panel>.composer-zone>.attachment-chips,
  .main-panel>.composer-zone>.read-aloud-bar,
  .main-panel>.composer-zone>.composer-note{width:100%!important;max-width:100%!important;}
  .composer-card{border-radius:21px!important;min-height:82px!important;padding:9px 8px 7px 10px!important;}
  .composer-card textarea{font-size:16px!important;max-height:138px!important;padding-inline:7px!important;}
  .assistant-content .code-block{border-radius:13px!important;margin-inline:0!important;}
  .assistant-content .code-block pre code{font-size:12.5px!important;}
  .code-line{padding-left:48px!important;padding-right:14px!important;}
  .code-line::before{width:34px!important;padding-right:9px!important;}
  .code-copy{min-width:66px!important;}
  .app-shell.welcome-mode .main-panel>.composer-zone{top:clamp(142px,27dvh,205px)!important;}
  .app-shell.welcome-mode .welcome-view>.starter-grid{margin-top:180px!important;}
}

@media(prefers-reduced-motion:reduce){
  .composer-card,.code-copy,.code-line{transition:none!important;animation:none!important;}
}


/* SenvoAI V0.14.2 — research completion + Voice/Help polish */
.call-options-v142{width:100%!important;display:flex!important;flex-direction:column!important;gap:12px!important;margin-top:10px!important;}
.call-options-v142 .call-voice-label{margin-top:0!important;}
.call-slider-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;width:100%!important;}
.call-slider-grid label{display:flex!important;flex-direction:column!important;gap:7px!important;padding:10px 12px!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:14px!important;background:rgba(255,255,255,.035)!important;color:#b8bbc2!important;font-size:10px!important;}
.call-slider-grid label>span{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;}
.call-slider-grid b{font-weight:650!important;color:#f1f2f4!important;font-variant-numeric:tabular-nums!important;}
.call-slider-grid input[type="range"]{width:100%!important;accent-color:#f4f4f5!important;cursor:pointer!important;}
.call-feature-toggles{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;width:100%!important;}
.call-options-v142 .call-fast-toggle{margin:0!important;min-width:0!important;width:100%!important;}
.call-transcript-actions{display:flex!important;gap:8px!important;justify-content:flex-end!important;}
.call-transcript-actions button{height:34px!important;padding:0 12px!important;border-radius:10px!important;border:1px solid rgba(255,255,255,.09)!important;background:rgba(255,255,255,.045)!important;color:#c9cbd0!important;font-size:11px!important;cursor:pointer!important;}
.call-transcript-actions button:hover{background:rgba(255,255,255,.09)!important;color:#fff!important;}
.call-transcript{scrollbar-width:thin!important;scrollbar-color:rgba(255,255,255,.18) transparent!important;}
.call-voice-label select{max-height:44px!important;}
@media(max-width:560px){.call-slider-grid,.call-feature-toggles{grid-template-columns:1fr!important}.call-transcript-actions{justify-content:stretch!important}.call-transcript-actions button{flex:1!important}.live-call-card{padding:18px!important}}

/* Help is intentionally a normal scrolling document, not a clipped modal. */
.legal-body.legal-v133{min-height:100dvh!important;overflow-y:auto!important;overflow-x:hidden!important;}
.help-sections-v133{min-width:0!important;}
.help-topic-v133 summary{scroll-margin-top:88px!important;}
.help-topic-body code{overflow-wrap:anywhere!important;}
.help-topic-body p{line-height:1.65!important;}

/* SenvoAI V0.14.3 — personalised new-chat + scheduling suggestions */
#welcomeGreeting{max-width:min(820px,calc(100% - 32px));text-wrap:balance}
#welcomeGreeting.greeting-swap-v143{animation:senvoraGreetingV143 .22s ease both}
@keyframes senvoraGreetingV143{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
.starter-card[data-source="history"] strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.starter-card[data-source="history"]>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.task-recommendations-head-v143{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 8px;padding-top:12px;border-top:1px solid var(--border)}
.task-recommendations-head-v143>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.task-recommendations-head-v143 strong{font-size:13px;font-weight:620;color:var(--text)}
.task-recommendations-head-v143 span{font-size:11px;color:var(--text-faint);line-height:1.4}
.task-recommendations-empty-v143{grid-column:1/-1;border:1px dashed var(--border);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:5px;background:var(--surface-soft,#fafafa)}
.task-recommendations-empty-v143 strong{font-size:12.5px;color:var(--text)}
.task-recommendations-empty-v143 span{font-size:11px;line-height:1.45;color:var(--text-faint)}
body[data-theme="dark"] .task-recommendations-empty-v143{background:#202226;border-color:#3a3d45}
@media(max-width:640px){.task-recommendations-head-v143{align-items:flex-start}.task-recommendations-head-v143 .mini-button{flex:0 0 auto}}
@media(prefers-reduced-motion:reduce){#welcomeGreeting.greeting-swap-v143{animation:none}}


/* SenvoAI V0.14.4 — conversation continuity + ultra-smooth streaming */
.conversation{scroll-behavior:auto!important;overscroll-behavior:contain;}
.message-row{transform:translateZ(0);}
.message-row.is-streaming .assistant-content{min-height:1.4em;}
.message-row:not(.is-streaming){contain:layout style;}
.assistant-content{overflow-wrap:anywhere;}
.assistant-content .code-block{contain:layout paint;}
.assistant-content .code-block pre{scrollbar-gutter:stable;}
.assistant-content .code-block code{white-space:pre!important;tab-size:4;}
.chat-item{min-width:0;}
.chat-item .chat-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
@media (prefers-reduced-motion: reduce){
  .message-row{transform:none!important;}
}


/* SenvoAI V0.14.5 — conversation subject + web research reliability */

/* SenvoAI V0.14.6 — adaptive inference server / token telemetry */
.response-mode-chip{
  display:inline-flex;
  align-items:center;
  min-height:20px;
  padding:2px 7px;
  border:1px solid var(--border, rgba(0,0,0,.12));
  border-radius:999px;
  font-size:11px;
  line-height:1;
  font-weight:600;
  letter-spacing:.01em;
  opacity:.72;
  white-space:nowrap;
}
.response-mode-chip.mode-fast{opacity:.62}
.response-mode-chip.mode-deep{opacity:.84}
.assistant-meta .response-timing[title],
.assistant-meta .response-mode-chip[title]{cursor:help}
@media (prefers-reduced-motion: reduce){
  .response-mode-chip{transition:none!important}
}


/* SenvoAI V0.15.0 — complete workspace modes / temporary chat / rich blocks */
.conversation{scroll-behavior:auto!important;}
.message-row.is-streaming .assistant-content{
  contain:layout style!important;
  content-visibility:visible!important;
  will-change:auto!important;
  animation:none!important;
  transition:none!important;
}
.message-row.is-streaming .assistant-content>*{animation:none!important;}
@media (prefers-reduced-motion: reduce){
  .message-row.is-streaming .assistant-content,
  .message-row.is-streaming .assistant-content>*{animation:none!important;transition:none!important;}
}


/* SenvoAI V0.15.0 — Chat / Study / Research / Work / Temporary */
.experience-switch{display:flex;align-items:center;justify-content:center;min-width:0}
.experience-mode-button{height:36px;display:inline-flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--border);border-radius:999px;background:color-mix(in srgb,var(--surface) 92%,transparent);color:var(--foreground);font:inherit;font-size:13px;font-weight:650;cursor:pointer;white-space:nowrap}
.experience-mode-button:hover{background:var(--surface-hover)}
.experience-caret{font-size:11px;opacity:.62}
.experience-mode-menu{width:min(330px,calc(100vw - 24px));padding:8px}
.experience-menu-head{padding:8px 10px 10px;display:flex;flex-direction:column;gap:2px}.experience-menu-head span{font-size:12px;color:var(--muted-foreground)}
.experience-option{width:100%;display:grid;grid-template-columns:30px 1fr 20px;align-items:center;gap:8px;border:0;background:transparent;color:inherit;border-radius:10px;padding:9px 8px;text-align:left;cursor:pointer}.experience-option:hover,.experience-option.active{background:var(--surface-hover)}.experience-option>span{width:28px;height:28px;border:1px solid var(--border);border-radius:8px;display:grid;place-items:center;font-weight:700}.experience-option div{display:flex;flex-direction:column;gap:2px}.experience-option small{font-size:11.5px;color:var(--muted-foreground);font-weight:450}.experience-option b{text-align:center}
.temporary-mode-notice{max-width:760px;margin:0 auto 12px;padding:9px 12px;border:1px solid var(--border);border-radius:12px;display:flex;align-items:center;justify-content:center;gap:8px;background:var(--surface);font-size:12px;color:var(--muted-foreground)}.temporary-mode-notice strong{color:var(--foreground)}
body[data-experience-mode="study"] .experience-mode-button{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 35%,transparent)}
body[data-experience-mode="research"] .experience-mode-button{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 45%,transparent)}
body[data-experience-mode="temporary"] .experience-mode-button{border-style:dashed}

/* Editable writing blocks */
.writing-block{margin:16px 0;border:1px solid var(--border);border-radius:14px;overflow:hidden;background:var(--surface)}
.writing-head{min-height:44px;padding:8px 10px 8px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border);background:color-mix(in srgb,var(--surface) 94%,var(--background))}.writing-head>div{display:flex;align-items:center;gap:8px}.writing-icon{width:25px;height:25px;border:1px solid var(--border);border-radius:7px;display:grid;place-items:center;font-size:12px}.writing-actions{display:flex!important;gap:4px!important}.writing-actions button,.code-head-actions .code-edit,.code-head-actions .code-preview{border:0;background:transparent;color:var(--muted-foreground);border-radius:7px;padding:5px 8px;font:inherit;font-size:12px;cursor:pointer}.writing-actions button:hover,.code-head-actions .code-edit:hover,.code-head-actions .code-preview:hover{background:var(--surface-hover);color:var(--foreground)}
.writing-body{padding:18px 18px 20px;min-height:70px;line-height:1.58;outline:none}.writing-body p:first-child{margin-top:0}.writing-body p:last-child{margin-bottom:0}.writing-block.editing{box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 22%,transparent)}.writing-block.editing .writing-body{background:var(--background)}
.code-editor{display:block;width:100%;resize:vertical;border:0;outline:0;padding:16px 18px;background:var(--code-bg,#111318);color:var(--code-fg,#f3f4f6);font:500 13px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:4;min-height:140px}
.code-preview-card{width:min(960px,calc(100vw - 28px));height:min(760px,calc(100dvh - 36px));display:flex;flex-direction:column}.code-preview-frame{width:100%;flex:1;border:1px solid var(--border);border-radius:12px;background:white}

@media(max-width:760px){.experience-mode-button{height:34px;padding:0 9px}.experience-mode-button #experienceModeLabel{max-width:86px;overflow:hidden;text-overflow:ellipsis}.temporary-mode-notice{margin-inline:10px;align-items:flex-start}.writing-head{align-items:flex-start;flex-direction:column}.writing-actions{width:100%;justify-content:flex-end}}

/* ======================================================================
   SenvoAI V0.16.0 — provider-backed clean assistant shell
   Original SenvoAI design using the interaction principles of modern
   AI chat products: quiet chrome, shared reading column, stable composer.
   ====================================================================== */
:root{
  --v160-sidebar:#f7f7f8;
  --v160-sidebar-hover:#ececee;
  --v160-main:#ffffff;
  --v160-text:#171717;
  --v160-muted:#6f6f72;
  --v160-line:rgba(0,0,0,.085);
  --v160-user:#f4f4f4;
  --v160-card:#fff;
  --v160-shadow:0 1px 2px rgba(0,0,0,.04),0 7px 26px rgba(0,0,0,.06);
  --v160-content:48rem;
}
body[data-theme="dark"]{
  --v160-sidebar:#171717;
  --v160-sidebar-hover:#242424;
  --v160-main:#212121;
  --v160-text:#ececec;
  --v160-muted:#a3a3a3;
  --v160-line:rgba(255,255,255,.09);
  --v160-user:#303030;
  --v160-card:#2f2f2f;
  --v160-shadow:0 1px 2px rgba(0,0,0,.2),0 8px 28px rgba(0,0,0,.2);
}
html,body{background:var(--v160-main);color:var(--v160-text)}
body{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.app-shell{background:var(--v160-main)}
.sidebar{width:260px;min-width:260px;background:var(--v160-sidebar)!important;border-right:0!important;padding:8px 8px 6px}
.sidebar-brand-row{padding:2px 4px 8px}.brand-lockup.compact{min-height:36px;padding:6px 7px;border-radius:10px}.brand-lockup.compact:hover{background:var(--v160-sidebar-hover)}
.brand-logo{width:27px;height:27px}.brand-lockup strong{font-size:14px;letter-spacing:-.01em}
.new-chat-button,.sidebar-nav{min-height:38px;border-radius:9px!important;border:0!important;background:transparent!important;color:var(--v160-text)!important;padding:7px 9px!important;box-shadow:none!important}
.new-chat-button:hover,.sidebar-nav:hover,.sidebar-nav.active{background:var(--v160-sidebar-hover)!important}.nav-icon{width:20px;height:20px}.nav-icon svg{stroke-width:1.7}
.workspace-nav{gap:1px}.chat-list-scroll{padding-top:8px}.chat-section-heading{padding:10px 8px 5px}.chat-section-title{font-size:12px;font-weight:600;color:var(--v160-muted)}
.chat-list .chat-row,.chat-list .chat-item{border-radius:9px!important;min-height:34px!important}.chat-list .chat-row:hover,.chat-list .chat-item:hover,.chat-list .active{background:var(--v160-sidebar-hover)!important}
.account-row{margin:4px 0 0;border:0!important;background:transparent!important;border-radius:11px!important;min-height:48px}.account-row:hover{background:var(--v160-sidebar-hover)!important}
.main-panel{background:var(--v160-main)!important;min-width:0;position:relative}
.topbar{height:56px;min-height:56px;background:color-mix(in srgb,var(--v160-main) 88%,transparent)!important;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:0!important;padding:0 14px;z-index:20}
.topbar-title{font-size:14px;font-weight:600;letter-spacing:-.01em}.topbar-subtitle{display:none}.topbar-left{min-width:0}.topbar-title-wrap{min-width:0}.topbar-icon-action,.top-account-button,.sidebar-reopen{border:0!important;background:transparent!important;box-shadow:none!important}.topbar-icon-action:hover,.top-account-button:hover,.sidebar-reopen:hover{background:var(--v160-user)!important}
.experience-switch{display:flex;align-items:center;gap:6px;position:absolute;left:50%;transform:translateX(-50%)}.provider-badge-v160{height:24px;display:inline-flex;align-items:center;padding:0 8px;border:1px solid var(--v160-line);border-radius:999px;color:var(--v160-muted);font-size:10px;font-weight:700;letter-spacing:.04em}.experience-mode-button{height:34px;border:0!important;background:transparent!important;border-radius:9px!important;box-shadow:none!important}.experience-mode-button:hover{background:var(--v160-user)!important}
.conversation{background:var(--v160-main)!important;scrollbar-gutter:stable;overscroll-behavior:contain}.messages,.welcome-view{width:100%}.messages>.message-row,.messages>.message,.messages>.day-divider,.messages>.run-row{width:min(100%,calc(var(--v160-content) + 32px));margin-inline:auto;padding-inline:16px}
.message-content,.assistant-message-content,.message-body{max-width:var(--v160-content);line-height:1.66;letter-spacing:-.003em}.assistant-message,.assistant-bubble{background:transparent!important;border:0!important;box-shadow:none!important}.user-message .message-content,.user-bubble{width:max-content;max-width:min(80%,40rem);margin-left:auto;background:var(--v160-user)!important;border:0!important;border-radius:20px!important;padding:10px 14px!important;box-shadow:none!important;line-height:1.48}
.message-actions{opacity:.64;transition:opacity 150ms ease}.message-row:hover .message-actions,.message:hover .message-actions{opacity:1}
.welcome-view{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:64px 20px 170px}.welcome-view h1{max-width:760px;margin:0 0 28px;text-align:center;font-size:clamp(27px,3vw,34px);font-weight:500;line-height:1.2;letter-spacing:-.035em;color:var(--v160-text)}.starter-grid{width:min(100%,var(--v160-content));grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.starter-grid button,.starter-card{border:1px solid var(--v160-line)!important;background:transparent!important;border-radius:14px!important;box-shadow:none!important;text-align:left}.starter-grid button:hover,.starter-card:hover{background:var(--v160-user)!important}
.composer-zone{position:sticky!important;bottom:0!important;z-index:18;width:100%;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:linear-gradient(to top,var(--v160-main) 72%,color-mix(in srgb,var(--v160-main) 0%,transparent));pointer-events:none}.composer-zone>*{pointer-events:auto}.composer-card{width:min(100%,var(--v160-content));margin-inline:auto;border:1px solid var(--v160-line)!important;border-radius:27px!important;background:var(--v160-card)!important;box-shadow:var(--v160-shadow)!important;padding:9px 10px 7px!important;transition:border-color 150ms ease,box-shadow 150ms ease,transform 150ms ease}.composer-card:focus-within{border-color:color-mix(in srgb,var(--v160-text) 22%,transparent)!important;box-shadow:0 1px 2px rgba(0,0,0,.04),0 10px 32px rgba(0,0,0,.08)!important}.composer-input-shell{padding:3px 5px 0!important}.composer-input-shell textarea,#messageInput{font-size:16px!important;line-height:1.45!important;min-height:26px!important;max-height:min(220px,36dvh)!important;padding:3px 2px!important;color:var(--v160-text)!important;background:transparent!important}.composer-input-shell textarea::placeholder{color:var(--v160-muted)}.composer-toolbar{min-height:36px;padding:4px 0 0!important}.composer-tool,.plus-button,.effort-button,.send-button,.stop-button{box-shadow:none!important}.composer-tool,.plus-button,.effort-button{border:0!important;background:transparent!important}.composer-tool:hover,.plus-button:hover,.effort-button:hover{background:var(--v160-user)!important}.send-button,.stop-button{width:34px!important;height:34px!important;min-width:34px!important;border-radius:50%!important}.composer-note{width:min(100%,var(--v160-content));margin:6px auto 0;color:var(--v160-muted);font-size:11px;text-align:center}.generation-status{width:min(100%,var(--v160-content));margin:0 auto 7px;padding-inline:7px;color:var(--v160-muted);font-size:12px}
.tool-menu,.effort-popover,.experience-menu,.account-menu,.chat-context-menu{border:1px solid var(--v160-line)!important;background:var(--v160-card)!important;border-radius:14px!important;box-shadow:0 12px 38px rgba(0,0,0,.13)!important}.tool-menu-item,.effort-option,.experience-option{border-radius:9px!important}.tool-menu-item:hover,.effort-option:hover,.experience-option:hover{background:var(--v160-user)!important}
.code-block,.writing-block{border-color:var(--v160-line)!important;border-radius:14px!important;box-shadow:none!important}.code-block pre{line-height:1.58}.source-chip,.citation{border-color:var(--v160-line)!important;box-shadow:none!important}
.jump-latest{border:1px solid var(--v160-line)!important;background:var(--v160-card)!important;box-shadow:0 5px 18px rgba(0,0,0,.08)!important}

@media(max-width:900px){.provider-badge-v160{display:none}.experience-switch{position:static;transform:none;margin-left:auto}.topbar{padding-inline:10px}.messages>.message-row,.messages>.message,.messages>.day-divider,.messages>.run-row{padding-inline:14px}.composer-zone{padding-inline:10px}.welcome-view{padding-inline:14px}.starter-grid{grid-template-columns:1fr}}
@media(max-width:760px){.sidebar{width:min(86vw,310px);min-width:0}.topbar-title-wrap{max-width:120px}.welcome-view{justify-content:flex-start;padding-top:18dvh;padding-bottom:150px}.welcome-view h1{font-size:27px}.user-message .message-content,.user-bubble{max-width:88%}.composer-card{border-radius:24px!important}.composer-zone{padding-bottom:calc(8px + env(safe-area-inset-bottom))}.composer-note{font-size:10px}}
@media(prefers-reduced-motion:reduce){.composer-card,.message-actions{transition:none!important}}

/* ======================================================================
   SenvoAI V0.16.1 — Groq fast-cloud + polished shell fixes
   Fixes the V0.16.0 empty-state overlap, top-bar crowding, sidebar motion,
   and scroll treatment while preserving a stable generic assistant-style chat layout.
   ====================================================================== */
:root{
  --v161-sidebar-w:260px;
  --v161-ease:cubic-bezier(.2,.8,.2,1);
  --v161-scroll:rgba(117,117,122,.34);
}

/* The main app has exactly one scrolling region: the conversation. The composer
   is a real flex row below it, so the welcome headline can never slide behind it. */
.app-shell{height:100dvh!important;min-height:0!important;overflow:hidden!important;display:flex!important;}
.main-panel{height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;}
.topbar{flex:0 0 56px!important;display:flex!important;align-items:center!important;gap:8px!important;position:relative!important;}
.conversation{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;position:relative!important;}
.composer-zone{position:relative!important;bottom:auto!important;flex:0 0 auto!important;z-index:18!important;background:var(--v160-main)!important;padding-top:8px!important;}

/* Top bar: no overlapping centered controls. Model/mode lives beside the title;
   actions stay on the far right like a normal app toolbar. */
.topbar-left{display:flex!important;align-items:center!important;gap:4px!important;min-width:0!important;}
.experience-switch{position:static!important;left:auto!important;transform:none!important;margin:0 0 0 2px!important;flex:0 0 auto!important;}
.topbar-actions{margin-left:auto!important;display:flex!important;align-items:center!important;gap:2px!important;min-width:0!important;}
.provider-badge-v160{height:23px!important;padding:0 7px!important;font-size:10px!important;letter-spacing:.02em!important;background:transparent!important;}
.experience-mode-button{height:32px!important;padding:0 8px!important;}
.topbar-icon-action,.top-account-button{width:36px!important;height:36px!important;border-radius:10px!important;display:grid!important;place-items:center!important;}
.top-account-button{overflow:hidden!important;}

/* Welcome state: reserve real vertical space above the composer instead of
   vertically centering a tall block that can collide with the sticky composer. */
.welcome-view{min-height:100%!important;justify-content:flex-start!important;padding:clamp(54px,12vh,124px) 18px 34px!important;box-sizing:border-box!important;}
.welcome-view h1{font-size:clamp(28px,2.45vw,36px)!important;line-height:1.15!important;margin:0 0 26px!important;max-width:760px!important;text-wrap:balance!important;}
.starter-grid{margin-top:0!important;width:min(100%,44rem)!important;gap:8px!important;}
.starter-card,.starter-grid button{min-height:62px!important;padding:12px 14px!important;transition:background-color 140ms ease,border-color 140ms ease,transform 140ms var(--v161-ease)!important;}
.starter-card:hover,.starter-grid button:hover{transform:translateY(-1px)!important;}

/* Composer: compact, stable and centered. No width/layout shift when buttons
   change between Send/Stop/Call. */
.composer-zone{padding-inline:16px!important;padding-bottom:calc(10px + env(safe-area-inset-bottom))!important;}
.composer-card{width:min(100%,48rem)!important;transform:none!important;will-change:auto!important;}
.composer-right-tools{display:flex!important;align-items:center!important;min-height:36px!important;}
.composer-right-tools>.send-button,.composer-right-tools>.stop-button,.composer-right-tools>.composer-call-button{flex:0 0 34px!important;}
.composer-note{margin-top:5px!important;}

/* Sidebar opening/closing uses transform + width with one shared easing curve. */
.sidebar{width:var(--v161-sidebar-w)!important;min-width:var(--v161-sidebar-w)!important;flex:0 0 var(--v161-sidebar-w)!important;transition:width 190ms var(--v161-ease),min-width 190ms var(--v161-ease),flex-basis 190ms var(--v161-ease),transform 210ms var(--v161-ease),opacity 150ms ease!important;will-change:width,transform!important;}
.app-shell.sidebar-collapsed .sidebar{width:0!important;min-width:0!important;flex-basis:0!important;padding-left:0!important;padding-right:0!important;overflow:hidden!important;opacity:0!important;transform:translateX(-14px)!important;pointer-events:none!important;}
.main-panel{transition:width 190ms var(--v161-ease)!important;}
.sidebar-reopen{transition:opacity 150ms ease,transform 190ms var(--v161-ease),background-color 120ms ease!important;}
.sidebar-reopen:not(.hidden){animation:v161Reopen 180ms var(--v161-ease) both;}
@keyframes v161Reopen{from{opacity:0;transform:translateX(-5px)}to{opacity:1;transform:none}}

/* Small, purposeful sidebar motion. Items never bounce or shift the layout. */
.new-chat-button,.sidebar-nav,.chat-list .chat-row,.chat-list .chat-item,.account-row,.brand-lockup.compact{
  transition:background-color 120ms ease,color 120ms ease,transform 140ms var(--v161-ease),opacity 140ms ease!important;
}
.new-chat-button:hover,.sidebar-nav:hover,.chat-list .chat-row:hover,.chat-list .chat-item:hover{transform:translateX(1px)!important;}
.new-chat-button:active,.sidebar-nav:active,.chat-list .chat-row:active,.chat-list .chat-item:active{transform:scale(.995)!important;}

/* generic assistant-style quiet scrollbars: hidden until the scroll region is hovered. */
.chat-list-scroll,.conversation,.help-menu,.settings-content-v10,.call-transcript{
  scrollbar-width:thin!important;
  scrollbar-color:transparent transparent!important;
  overscroll-behavior:contain!important;
}
.chat-list-scroll:hover,.conversation:hover,.help-menu:hover,.settings-content-v10:hover,.call-transcript:hover{
  scrollbar-color:var(--v161-scroll) transparent!important;
}
.chat-list-scroll::-webkit-scrollbar,.conversation::-webkit-scrollbar,.help-menu::-webkit-scrollbar,.settings-content-v10::-webkit-scrollbar,.call-transcript::-webkit-scrollbar{width:7px!important;height:7px!important;}
.chat-list-scroll::-webkit-scrollbar-track,.conversation::-webkit-scrollbar-track,.help-menu::-webkit-scrollbar-track,.settings-content-v10::-webkit-scrollbar-track,.call-transcript::-webkit-scrollbar-track{background:transparent!important;}
.chat-list-scroll::-webkit-scrollbar-thumb,.conversation::-webkit-scrollbar-thumb,.help-menu::-webkit-scrollbar-thumb,.settings-content-v10::-webkit-scrollbar-thumb,.call-transcript::-webkit-scrollbar-thumb{background:transparent!important;border-radius:999px!important;border:2px solid transparent!important;background-clip:padding-box!important;}
.chat-list-scroll:hover::-webkit-scrollbar-thumb,.conversation:hover::-webkit-scrollbar-thumb,.help-menu:hover::-webkit-scrollbar-thumb,.settings-content-v10:hover::-webkit-scrollbar-thumb,.call-transcript:hover::-webkit-scrollbar-thumb{background:var(--v161-scroll)!important;background-clip:padding-box!important;}
.chat-list-scroll::-webkit-scrollbar-thumb:hover,.conversation::-webkit-scrollbar-thumb:hover{background:rgba(100,100,105,.52)!important;background-clip:padding-box!important;}

/* Conversation scrolling itself must not use CSS smooth-scroll while tokens are
   arriving; repeated smooth-scroll restarts are a common source of visible jank. */
.conversation{scroll-behavior:auto!important;}

@media(max-width:900px){
  .experience-switch{margin-left:auto!important;}
  .provider-badge-v160{display:none!important;}
  .topbar-actions{margin-left:0!important;}
  .welcome-view{padding-top:clamp(48px,10vh,88px)!important;}
}
@media(max-width:760px){
  .sidebar{width:min(86vw,310px)!important;min-width:min(86vw,310px)!important;flex-basis:min(86vw,310px)!important;position:fixed!important;inset:0 auto 0 0!important;z-index:45!important;box-shadow:14px 0 40px rgba(0,0,0,.12)!important;transform:translateX(0)!important;}
  .app-shell.sidebar-collapsed .sidebar{width:min(86vw,310px)!important;min-width:min(86vw,310px)!important;flex-basis:min(86vw,310px)!important;transform:translateX(-105%)!important;opacity:1!important;}
  .welcome-view{padding:12vh 12px 24px!important;}
  .welcome-view h1{font-size:clamp(25px,7.2vw,30px)!important;margin-bottom:20px!important;}
  .starter-grid{grid-template-columns:1fr!important;}
  .composer-zone{padding-inline:8px!important;}
  .topbar-actions .notification-button{display:none!important;}
}
@media(prefers-reduced-motion:reduce){
  .sidebar,.main-panel,.sidebar-reopen,.new-chat-button,.sidebar-nav,.chat-list .chat-row,.chat-list .chat-item,.starter-card,.starter-grid button{transition:none!important;animation:none!important;transform:none!important;}
}

/* ========================================================================== */
/* SenvoAI V0.17.8 — user-first Help, Privacy and Terms                  */
/* ========================================================================== */
html:has(.legal-v162){height:auto;min-height:100%;overflow-y:auto;overflow-x:hidden}
body.legal-v162{height:auto;min-height:100dvh;overflow-y:auto;overflow-x:hidden;background:#f7f8fb;color:#202126}
.legal-v162 .legal-background span:first-child{opacity:.65}.legal-v162 .legal-background span:last-child{opacity:.55}
.legal-topbar-v162{height:68px;box-shadow:0 1px 0 rgba(17,24,39,.02)}
.legal-topbar-v162 .legal-brand small{font-size:9.8px}
.legal-layout-v162{width:min(1120px,calc(100% - 40px));padding:64px 0 64px}
.legal-hero-v162{max-width:860px;margin-bottom:28px}
.legal-hero-v162 h1,.help-hero-v162 h1,.release-hero-v162 h1{font-size:clamp(38px,5vw,62px);letter-spacing:-2.45px;line-height:1.02;text-wrap:balance}
.legal-hero-v162>p,.help-hero-v162>p,.release-hero-v162>p{max-width:770px;font-size:15.5px;line-height:1.65}
.trust-pills-v162{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.trust-pills-v162 span{display:inline-flex;align-items:center;min-height:32px;padding:7px 11px;border:1px solid #e2e4e9;border-radius:999px;background:rgba(255,255,255,.78);color:#686d77;font-size:10.5px;font-weight:600;box-shadow:0 3px 12px rgba(20,24,36,.025)}
.legal-content-grid-v162{grid-template-columns:minmax(0,1fr) 292px;gap:20px}
.legal-main-card-v162{border-radius:24px;padding:34px 36px;background:rgba(255,255,255,.94);box-shadow:0 16px 45px rgba(26,30,42,.055)}
.legal-main-card-v162 h2{font-size:17px;margin:30px 0 9px;letter-spacing:-.28px}.legal-main-card-v162 h2:first-of-type{margin-top:0}.legal-main-card-v162 p,.legal-main-card-v162 li{font-size:13.1px;line-height:1.75;color:#5f6570}.legal-main-card-v162 ul{padding-left:20px;margin:10px 0}.legal-main-card-v162 li+li{margin-top:6px}
.legal-section-intro-v162{padding:0 0 22px;margin-bottom:4px;border-bottom:1px solid #eceef2}.legal-section-intro-v162 h2{margin:0 0 7px;font-size:21px}.legal-section-intro-v162 p{margin:0}
.legal-notice-v162{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:start;padding:15px 16px;margin-bottom:24px;border:1px solid #e5e1ff;background:#f8f7ff;border-radius:15px}.legal-notice-v162 strong{font-size:11px;color:#5b4fd6;padding-top:1px}.legal-notice-v162 p{margin:0;font-size:12px!important;color:#626674!important}
.legal-side-card-v162{top:88px;border-radius:22px;padding:22px;background:rgba(255,255,255,.92)}.legal-side-card-v162 h3{margin-bottom:8px}.legal-side-list-v162{display:flex;flex-direction:column;gap:8px;padding:0;margin:15px 0 18px;list-style:none}.legal-side-list-v162 li{position:relative;padding-left:17px;color:#6d727d;font-size:11.5px;line-height:1.45}.legal-side-list-v162 li:before{content:"✓";position:absolute;left:0;color:#6659df;font-weight:800}.legal-side-link-v162{display:flex;align-items:center;justify-content:center;min-height:38px;border:1px solid #e1e3e8;border-radius:11px;background:#fff;font-size:11px;font-weight:700;color:#34363c;transition:background .15s ease,transform .15s ease}.legal-side-link-v162:hover{background:#f4f5f8;transform:translateY(-1px)}
.help-hero-v162{max-width:900px;margin:0 auto 24px;text-align:center}.help-hero-v162 .legal-meta{margin-top:13px}.help-search-v162{width:min(720px,100%);height:54px;margin:24px auto 0;display:flex;align-items:center;gap:11px;padding:0 13px 0 16px;border:1px solid #dfe2e8;border-radius:17px;background:#fff;box-shadow:0 12px 36px rgba(21,25,38,.065);text-align:left;transition:border-color .15s ease,box-shadow .15s ease}.help-search-v162:focus-within{border-color:#c9c4ff;box-shadow:0 14px 40px rgba(76,63,190,.09),0 0 0 3px rgba(102,87,255,.07)}.help-search-v162>span{font-size:17px;color:#858a95}.help-search-v162 input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#202126;font:500 14px/1.2 system-ui,sans-serif}.help-search-v162 input::placeholder{color:#9ba0aa}.help-search-v162 kbd{border:1px solid #e2e4e9;border-bottom-color:#d7d9df;border-radius:7px;background:#f7f8fa;color:#8b9099;font:600 9.5px/1 system-ui,sans-serif;padding:5px 7px;box-shadow:0 1px 0 #fff inset}
.help-quick-grid-v162{width:min(940px,100%);margin:0 auto 22px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.help-quick-grid-v162 button{display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:auto auto;column-gap:11px;align-items:center;min-height:76px;padding:13px 14px;border:1px solid #e4e6eb;border-radius:16px;background:rgba(255,255,255,.88);text-align:left;cursor:pointer;box-shadow:0 4px 16px rgba(20,24,36,.025);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.help-quick-grid-v162 button:hover{transform:translateY(-2px);border-color:#d5d1fb;box-shadow:0 10px 26px rgba(48,42,112,.065)}.help-quick-grid-v162 button>span{grid-row:1/3;width:38px;height:38px;border-radius:12px;background:#f0efff;color:#5e52db;display:grid;place-items:center;font-size:15px}.help-quick-grid-v162 strong{font-size:12.5px;color:#2a2c31}.help-quick-grid-v162 small{font-size:10px;color:#8a8f99;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.help-toolbar-v162{width:min(940px,100%);margin:0 auto 8px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 4px}.help-toolbar-v162>span{font-size:10.5px;font-weight:700;color:#858a94}.help-toolbar-v162>div{display:flex;gap:5px}.help-toolbar-v162 button{border:0;background:transparent;color:#737985;font-size:10px;font-weight:650;padding:6px 8px;border-radius:8px;cursor:pointer}.help-toolbar-v162 button:hover{background:#eceef2;color:#33363c}
.help-sections-v162{width:min(940px,100%);margin:0 auto;display:flex;flex-direction:column;gap:8px}.help-topic-v162{scroll-margin-top:84px;border:1px solid #e5e7ec;border-radius:16px;background:rgba(255,255,255,.9);overflow:hidden;box-shadow:0 3px 12px rgba(17,24,39,.02);transition:border-color .15s ease,box-shadow .15s ease}.help-topic-v162:hover{border-color:#dcdee5}.help-topic-v162[open]{border-color:#d9dbe2;box-shadow:0 7px 22px rgba(17,24,39,.04)}.help-topic-v162 summary{list-style:none;min-height:68px;display:flex;align-items:center;gap:12px;padding:12px 16px;cursor:pointer;user-select:none}.help-topic-v162 summary::-webkit-details-marker{display:none}.help-topic-v162 summary>span{width:36px;height:36px;flex:0 0 36px;border-radius:11px;background:#f1f2f5;color:#555b66;display:grid;place-items:center}.help-topic-v162 summary>div{display:flex;flex:1;min-width:0;flex-direction:column;gap:2px}.help-topic-v162 summary strong{font-size:13px;letter-spacing:-.08px}.help-topic-v162 summary small{font-size:10.2px;color:#8a8f99;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.help-topic-v162 summary>b{font-size:11px;color:#9b9fa8;transition:transform .16s ease}.help-topic-v162[open] summary>b{transform:rotate(180deg)}.help-topic-body-v162{padding:0 64px 18px}.help-topic-body-v162:before{content:"";display:block;height:1px;background:#f0f1f4;margin:0 0 13px}.help-topic-body-v162 p{margin:8px 0 0;color:#626873;font-size:12.2px;line-height:1.67}.help-topic-body-v162 a{color:#594ed5;text-decoration:underline;text-decoration-color:#d2cef8;text-underline-offset:2px}.help-topic-v162.hidden{display:none!important}
.help-no-results-v162{width:min(940px,100%);margin:24px auto;padding:34px;border:1px dashed #d9dce3;border-radius:17px;background:rgba(255,255,255,.5);text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px}.help-no-results-v162 strong{font-size:14px}.help-no-results-v162 span{font-size:11px;color:#858a94}.help-no-results-v162 button{margin-top:8px;border:1px solid #e0e2e8;border-radius:9px;background:#fff;padding:7px 11px;font-size:10.5px;font-weight:700;cursor:pointer}.help-no-results-v162.hidden{display:none!important}
.help-footer-grid-v162{width:min(940px,100%);margin:20px auto 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.help-footer-grid-v162 a{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:10px;padding:13px;border:1px solid #e4e6eb;border-radius:14px;background:rgba(255,255,255,.76);transition:background .15s ease,border-color .15s ease}.help-footer-grid-v162 a:hover{background:#fff;border-color:#d7d9e0}.help-footer-grid-v162>a>span{width:32px;height:32px;border-radius:10px;background:#f1f2f5;color:#5f626b;display:grid;place-items:center}.help-footer-grid-v162 div{display:flex;min-width:0;flex-direction:column}.help-footer-grid-v162 strong{font-size:11.5px}.help-footer-grid-v162 small{font-size:9.7px;color:#8b9099;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.help-footer-grid-v162 b{color:#9ca0a8;font-size:16px}
.release-feed-v162{max-width:940px}.current-release-v162{padding-top:10px}.release-date-row-v162{display:flex;align-items:center;justify-content:space-between;gap:12px}.release-date-row-v162 h2{margin:0}.release-date-row-v162 span{font-size:9.5px;font-weight:750;padding:5px 9px;border-radius:999px;background:#18191d;color:#fff}
.legal-footer-v162{align-items:center;flex-wrap:wrap}.legal-footer-v162 a{color:inherit}.legal-footer-v162 a:hover{color:#555b66}
@media(max-width:820px){.legal-content-grid-v162{grid-template-columns:1fr}.legal-side-card-v162{position:static}.help-quick-grid-v162{grid-template-columns:repeat(2,minmax(0,1fr))}.help-footer-grid-v162{grid-template-columns:1fr}.legal-layout-v162{padding-top:42px}.legal-main-card-v162{padding:27px 24px}.legal-v162 .legal-nav{max-width:52vw;overflow-x:auto;scrollbar-width:none}.legal-v162 .legal-nav::-webkit-scrollbar{display:none}}
@media(max-width:560px){.legal-topbar-v162{height:60px;padding:0 12px;gap:8px}.legal-topbar-v162 .legal-brand{min-width:0}.legal-topbar-v162 .legal-brand div{display:none}.legal-topbar-v162 .legal-brand img{width:33px;height:33px}.legal-topbar-v162 .legal-return{display:none}.legal-v162 .legal-nav{margin-left:auto;margin-right:0;max-width:calc(100vw - 58px)}.legal-v162 .legal-nav a{padding:7px 9px;font-size:10.5px;white-space:nowrap}.legal-layout-v162{width:min(100% - 24px,1120px);padding-top:32px}.legal-hero-v162 h1,.help-hero-v162 h1,.release-hero-v162 h1{font-size:36px;letter-spacing:-1.7px}.legal-hero-v162>p,.help-hero-v162>p,.release-hero-v162>p{font-size:13.5px}.trust-pills-v162{gap:6px}.trust-pills-v162 span{font-size:9.5px}.legal-main-card-v162{padding:23px 18px;border-radius:19px}.legal-main-card-v162 h2{font-size:15.5px}.legal-main-card-v162 p,.legal-main-card-v162 li{font-size:12.2px}.help-search-v162{height:50px;border-radius:15px}.help-search-v162 kbd{display:none}.help-quick-grid-v162{grid-template-columns:1fr;gap:7px}.help-quick-grid-v162 button{min-height:66px}.help-toolbar-v162{align-items:flex-start}.help-toolbar-v162>div{flex-wrap:wrap;justify-content:flex-end}.help-topic-v162 summary{min-height:64px;padding:11px 12px}.help-topic-v162 summary small{max-width:70vw}.help-topic-body-v162{padding:0 14px 15px}.help-footer-grid-v162{gap:7px}.legal-notice-v162{grid-template-columns:1fr;gap:4px}.legal-footer-v162{justify-content:center;text-align:center}}
@media(prefers-reduced-motion:reduce){.help-quick-grid-v162 button,.help-topic-v162,.help-topic-v162 summary>b,.legal-side-link-v162{transition:none!important}.help-quick-grid-v162 button:hover,.legal-side-link-v162:hover{transform:none!important}}
/* SenvoAI V0.17.8 — user-first trust/support pages */

/* SenvoAI V0.17.8 — menu/toggle polish + provider compatibility */
.popover:not(.hidden),
.senvora-select-menu:not(.hidden) {
  transform-origin: var(--popover-origin, top left);
  animation: senvora-popover-in 145ms cubic-bezier(.2,.8,.2,1) both;
}
@keyframes senvora-popover-in {
  from { opacity: 0; transform: translateY(-3px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.sidebar-nav[aria-expanded="true"],
.section-icon-button[aria-expanded="true"],
.experience-mode-button[aria-expanded="true"],
.effort-button[aria-expanded="true"],
.composer-tool[aria-expanded="true"],
.account-row[aria-expanded="true"] {
  background: var(--surface-hover, rgba(0,0,0,.055));
}
@media (prefers-reduced-motion: reduce) {
  .popover:not(.hidden), .senvora-select-menu:not(.hidden) { animation: none; }
}


/* SenvoAI V0.17.8 — UTF-8 text + Markdown table rendering */
.markdown-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 12px 0 16px;
  border: 1px solid var(--border, rgba(127,127,127,.24));
  border-radius: 12px;
  scrollbar-width: thin;
}
.markdown-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: .95em;
  line-height: 1.45;
}
.markdown-table th,
.markdown-table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border, rgba(127,127,127,.20));
  overflow-wrap: anywhere;
}
.markdown-table th { font-weight: 650; background: rgba(127,127,127,.07); }
.markdown-table tbody tr:last-child td { border-bottom: 0; }
.assistant-content.is-streaming, .assistant-content.streaming-caret { text-rendering: optimizeLegibility; }


/* ========================================================================== */
/* SenvoAI V0.17.8 — locked home viewport + background-chat generation   */
/* ========================================================================== */

/* The new-chat/home surface is a fixed workspace. Long chat scroll positions
   must never carry over and move the greeting/composer/starter layout. */
.app-shell.welcome-mode .conversation{
  overflow:hidden!important;
  overscroll-behavior:none!important;
  scroll-behavior:auto!important;
  padding-bottom:0!important;
}
.app-shell.welcome-mode .welcome-view{
  height:100%!important;
  min-height:0!important;
  max-height:100%!important;
  overflow:hidden!important;
  overscroll-behavior:none!important;
}
.app-shell.welcome-mode .starter-grid{
  max-height:calc(var(--app-height,100vh) - 390px)!important;
  overflow:hidden!important;
  overscroll-behavior:none!important;
}
.app-shell.welcome-mode .outline-rail{pointer-events:none;opacity:.35}
@media(max-width:760px){
  .app-shell.welcome-mode .starter-grid{max-height:calc(var(--app-height,100vh) - 340px)!important}
}
html.viewport-short .app-shell.welcome-mode .starter-card{min-height:52px!important;padding-block:8px!important}
html.viewport-very-short .app-shell.welcome-mode .starter-grid{margin-top:44px!important}
html.viewport-very-short .app-shell.welcome-mode .starter-card:nth-child(n+4){display:none!important}

/* ========================================================================== */
/* SenvoAI V0.17.8 — full sidebar scroll + contextual suggestions          */
/* ========================================================================== */
/* The whole sidebar now owns scrolling. Navigation, Projects/Library links,
   chat sections and the account row move together instead of trapping the
   wheel inside Recents only. */
.sidebar{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  scrollbar-gutter:stable!important;
  scrollbar-width:thin!important;
  scrollbar-color:transparent transparent!important;
}
.sidebar:hover{scrollbar-color:var(--v161-scroll,rgba(117,117,122,.34)) transparent!important;}
.sidebar::-webkit-scrollbar{width:7px!important;}
.sidebar::-webkit-scrollbar-track{background:transparent!important;}
.sidebar::-webkit-scrollbar-thumb{background:transparent!important;border:2px solid transparent!important;border-radius:999px!important;background-clip:padding-box!important;}
.sidebar:hover::-webkit-scrollbar-thumb{background:var(--v161-scroll,rgba(117,117,122,.34))!important;background-clip:padding-box!important;}
.sidebar::-webkit-scrollbar-thumb:hover{background:rgba(100,100,105,.52)!important;background-clip:padding-box!important;}
.chat-list-scroll{
  flex:0 0 auto!important;
  min-height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  scrollbar-width:none!important;
  overscroll-behavior:auto!important;
  padding-bottom:8px!important;
}
.chat-list-scroll::-webkit-scrollbar{display:none!important;}
.sidebar-top,.project-filter-row,.chat-section,.account-row{flex:0 0 auto!important;}
.account-row{margin-top:auto!important;}

/* Context-aware home suggestions use a slightly stronger title/subtitle split
   so they read like actions, not duplicated chat titles. */
.app-shell.welcome-mode .starter-card strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.app-shell.welcome-mode .starter-card>span:last-child{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:.72;}

@media(max-width:760px){
  .sidebar{overscroll-behavior-y:contain!important;-webkit-overflow-scrolling:touch;}
}


/* ========================================================================== */
/* SenvoAI V0.17.8 — authoritative shell / type / scheduling remodel      */
/* ========================================================================== */
:root{
  --v167-sidebar:280px;
  --v167-mini:66px;
  --v167-font:"Segoe UI Variable Text","Aptos","Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --v167-ease:cubic-bezier(.2,.8,.2,1);
}
html,body,button,input,textarea,select{font-family:var(--v167-font)!important;}
body{font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;}
.app-shell{height:100dvh!important;background:#fff!important;}
.sidebar{width:var(--v167-sidebar)!important;min-width:var(--v167-sidebar)!important;flex-basis:var(--v167-sidebar)!important;padding:12px 10px 10px!important;transition:width .22s var(--v167-ease),min-width .22s var(--v167-ease),flex-basis .22s var(--v167-ease),background .18s ease!important;}
.main-panel{transition:width .22s var(--v167-ease),flex-basis .22s var(--v167-ease)!important;}

/* Real compact rail instead of making the whole sidebar vanish. */
.collapsed-sidebar-rail{display:none;min-height:100%;width:100%;flex-direction:column;align-items:center;gap:9px;padding:2px 0 4px;}
.collapsed-rail-logo{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;margin-bottom:8px;}
.collapsed-rail-logo img{width:36px;height:36px;border-radius:11px;object-fit:cover;}
.collapsed-rail-button{width:42px;height:42px;border:0;border-radius:12px;background:transparent;display:grid;place-items:center;font-size:21px;color:#3d3d42;cursor:pointer;transition:background .14s ease,transform .14s ease;}
.collapsed-rail-button:hover{background:#ececef;transform:translateY(-1px);}
.collapsed-rail-account{margin-top:auto;width:38px;height:38px;border:0;border-radius:50%;overflow:hidden;padding:0;background:#1fbaa4;color:white;font-weight:700;display:grid;place-items:center;cursor:pointer;}
.collapsed-rail-account img{width:100%;height:100%;object-fit:cover;grid-area:1/1;}.collapsed-rail-account span{grid-area:1/1;}
.app-shell.sidebar-collapsed>.sidebar{display:flex!important;width:var(--v167-mini)!important;min-width:var(--v167-mini)!important;flex-basis:var(--v167-mini)!important;padding:10px 8px!important;opacity:1!important;transform:none!important;border-right:1px solid #ececef!important;overflow:hidden!important;pointer-events:auto!important;}
.app-shell.sidebar-collapsed .collapsed-sidebar-rail{display:flex!important;}
.app-shell.sidebar-collapsed .sidebar>.sidebar-top,.app-shell.sidebar-collapsed .sidebar>.project-filter-row,.app-shell.sidebar-collapsed .sidebar>.chat-list-scroll,.app-shell.sidebar-collapsed .sidebar>.account-row{display:none!important;}
.app-shell.sidebar-collapsed>.main-panel{width:auto!important;max-width:none!important;flex:1 1 auto!important;}
.app-shell.sidebar-collapsed .sidebar-reopen{display:none!important;}

/* Clean topbar: call lives in the composer/voice controls, not twice. */
.topbar{height:64px!important;min-height:64px!important;flex-basis:64px!important;padding:0 18px!important;border-bottom:0!important;background:rgba(255,255,255,.94)!important;}
.topbar-title{font-size:15px!important;font-weight:650!important;letter-spacing:-.28px!important;}.topbar-subtitle{display:none!important;}
.experience-switch{position:static!important;transform:none!important;margin-left:14px!important;}
.topbar-left{display:flex!important;align-items:center!important;min-width:0!important;}.topbar-actions{margin-left:auto!important;}

/* Deterministic conversation/composer geometry: no greeting overlap. */
.conversation{position:absolute!important;inset:64px 0 0!important;padding:20px 28px 176px!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable!important;}
.messages{width:min(100%,900px)!important;max-width:900px!important;margin:0 auto!important;padding:22px 0 22px!important;}
.main-panel>.composer-zone{position:absolute!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;width:100%!important;padding:30px 18px 10px!important;background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.92) 25%,#fff 48%)!important;transform:none!important;pointer-events:none!important;}
.composer-zone>*{pointer-events:auto!important;}.composer-zone>.composer-card,.composer-zone>.generation-status,.composer-zone>.attachment-chips,.composer-zone>.read-aloud-bar,.composer-zone>.composer-note{width:min(100%,900px)!important;max-width:900px!important;margin-left:auto!important;margin-right:auto!important;}
.composer-card{border:1px solid #dedee2!important;border-radius:24px!important;box-shadow:0 8px 28px rgba(0,0,0,.065)!important;padding:12px 11px 9px!important;}
#messageInput{font-size:16px!important;line-height:1.52!important;letter-spacing:-.08px!important;}

.app-shell.welcome-mode .conversation{overflow:hidden!important;padding:0!important;}
.app-shell.welcome-mode .welcome-view{height:100%!important;min-height:0!important;max-width:1040px!important;padding:58px 20px 36px!important;justify-content:flex-start!important;align-items:center!important;}
.app-shell.welcome-mode .welcome-view h1{font-size:clamp(31px,3vw,44px)!important;line-height:1.08!important;letter-spacing:-1.6px!important;margin:12px 0 0!important;text-align:center!important;}
.app-shell.welcome-mode .main-panel>.composer-zone{top:204px!important;bottom:auto!important;padding:0 18px!important;background:transparent!important;}
.app-shell.welcome-mode .starter-grid{width:min(100%,820px)!important;margin-top:190px!important;max-height:calc(100dvh - 408px)!important;overflow:hidden!important;gap:8px!important;}
.app-shell.welcome-mode .starter-card{min-height:72px!important;padding:12px 16px!important;border-radius:16px!important;box-shadow:none!important;}

/* Assistant typography and Markdown blocks. */
.assistant-content{font-family:var(--v167-font)!important;font-size:15.5px!important;line-height:1.68!important;letter-spacing:-.04px!important;color:#242426!important;overflow-wrap:anywhere!important;}
.message-bubble{font-family:var(--v167-font)!important;font-size:15px!important;line-height:1.55!important;}
.assistant-content h1,.assistant-content h2,.assistant-content h3{font-weight:680!important;letter-spacing:-.45px!important;}
.assistant-content table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;margin:14px 0 18px!important;border:1px solid #dedee2!important;border-radius:12px!important;overflow:hidden!important;display:table!important;}
.assistant-content th,.assistant-content td{padding:10px 12px!important;border-right:1px solid #e4e4e7!important;border-bottom:1px solid #e4e4e7!important;text-align:left!important;vertical-align:top!important;}
.assistant-content th{background:#f6f6f7!important;font-weight:650!important;}.assistant-content tr:last-child td{border-bottom:0!important;}.assistant-content th:last-child,.assistant-content td:last-child{border-right:0!important;}
.assistant-content blockquote{border-left:3px solid #d3d3d8!important;background:transparent!important;padding:5px 0 5px 16px!important;color:#454548!important;}
.streaming-caret::after{width:5px!important;height:17px!important;border-radius:3px!important;background:#111!important;animation:blink .78s steps(1,end) infinite!important;}

/* Scheduled page: page-like workspace rather than a cramped modal form. */
#tasksModal{align-items:stretch!important;justify-content:stretch!important;background:#fff!important;padding:0!important;left:var(--v167-sidebar)!important;right:0!important;width:auto!important;}
body.sidebar-collapsed-v167 #tasksModal{left:var(--v167-mini)!important;}
.scheduled-page-v167{width:100%!important;height:100dvh!important;max-width:none!important;max-height:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:88px clamp(24px,8vw,150px) 48px!important;overflow-y:auto!important;background:#fff!important;}
.scheduled-page-head-v167{width:min(100%,920px);margin:0 auto;display:flex;justify-content:space-between;align-items:flex-start;gap:24px;}
.scheduled-page-head-v167 h2{font-size:34px;margin:0 0 8px;letter-spacing:-1.1px;font-weight:680;}.scheduled-page-head-v167 p{font-size:16px;color:#737378;margin:0;}
.scheduled-head-actions-v167{display:flex;align-items:center;gap:8px;}.scheduled-filter-v167{height:42px;border:1px solid #e3e3e6;border-radius:999px;background:#fff;padding:0 16px;font-weight:600;cursor:pointer;}.scheduled-page-v167 .workspace-x{position:fixed!important;right:22px!important;top:20px!important;}
.scheduled-quick-v167{width:min(100%,920px);min-height:66px;margin:42px auto 32px;border:1px solid #dedee2;border-radius:999px;display:flex;align-items:center;padding:7px 9px;box-shadow:0 4px 18px rgba(0,0,0,.05);}
.scheduled-quick-v167 input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:17px;padding:0 10px;}.scheduled-plus-v167,.scheduled-send-v167{width:48px;height:48px;border:0;border-radius:50%;display:grid;place-items:center;font-size:26px;cursor:pointer;}.scheduled-plus-v167{background:transparent;color:#333;}.scheduled-send-v167{background:#dcecff;color:#4e85cc;font-weight:700;}
.task-form-v167{width:min(100%,920px)!important;margin:0 auto 24px!important;border:1px solid #e5e5e7!important;border-radius:18px!important;padding:15px!important;background:#fafafa!important;}
.scheduled-list-v167{width:min(100%,920px);margin:0 auto 28px;}.scheduled-row-v167{display:grid!important;grid-template-columns:46px minmax(0,1fr) 12px auto!important;gap:12px!important;align-items:center!important;min-height:78px!important;padding:12px 8px!important;border-bottom:1px solid #ededee!important;border-radius:0!important;}.scheduled-row-v167:hover{background:#fafafa!important;}.scheduled-row-v167 .scheduled-emoji{width:42px!important;height:42px!important;display:grid!important;place-items:center!important;font-size:22px!important;background:transparent!important;}.scheduled-row-v167 .scheduled-copy strong{font-size:16px!important;font-weight:650!important;}.scheduled-row-v167 .scheduled-copy span{font-size:14px!important;margin-top:3px!important;color:#808085!important;}.scheduled-state-dot{width:8px;height:8px;border-radius:50%;background:#bbb;}.scheduled-state-dot.on{background:#2f77d7;box-shadow:0 0 0 4px #eaf2ff;}.scheduled-actions{opacity:0;transition:opacity .14s ease;}.scheduled-row-v167:hover .scheduled-actions{opacity:1;}
.recommended-head-v167{width:min(100%,920px);margin:28px auto 10px;display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:650;color:#5e5e63;}.recommended-refresh-v167{border:0;background:transparent;border-radius:9px;width:34px;height:34px;cursor:pointer;font-size:18px;}.recommended-refresh-v167:hover{background:#f1f1f2;}
.task-recommendations-v167{width:min(100%,920px);margin:0 auto;display:flex!important;flex-direction:column!important;gap:0!important;}.task-recommendations-v167 button{width:100%!important;min-height:62px!important;border:0!important;border-bottom:1px solid #efeff0!important;border-radius:0!important;background:#fff!important;padding:10px 8px!important;text-align:left!important;display:grid!important;grid-template-columns:38px 1fr!important;align-items:center!important;gap:12px!important;}.task-recommendations-v167 button:hover{background:#fafafa!important;}

/* Error cards are calm user-facing messages, not red developer dumps. */
.assistant-error-row .assistant-content{border:1px solid #eadede!important;background:#fffafa!important;border-radius:16px!important;padding:14px 16px!important;color:#4a3434!important;}.assistant-error-row .assistant-content code{display:none!important;}

/* Sign-in: public product surface, not a local-server setup page. */
.auth-v125-version{letter-spacing:.09em!important;}.auth-v125-proof-grid article{background:rgba(255,255,255,.07)!important;}

@media(max-width:760px){
  .app-shell.sidebar-collapsed>.sidebar{width:min(86vw,310px)!important;min-width:min(86vw,310px)!important;flex-basis:min(86vw,310px)!important;transform:translateX(-105%)!important;opacity:1!important;padding:12px 10px!important;}
  .app-shell.sidebar-collapsed .collapsed-sidebar-rail{display:none!important;}
  .app-shell.sidebar-collapsed .sidebar>.sidebar-top,.app-shell.sidebar-collapsed .sidebar>.project-filter-row,.app-shell.sidebar-collapsed .sidebar>.chat-list-scroll,.app-shell.sidebar-collapsed .sidebar>.account-row{display:initial!important;}
  .app-shell.mobile-sidebar-open.sidebar-collapsed>.sidebar{transform:translateX(0)!important;}
  .sidebar-reopen{display:grid!important;}
  .conversation{padding:10px 10px 158px!important;}
  .app-shell.welcome-mode .welcome-view{padding-top:42px!important;}.app-shell.welcome-mode .welcome-view h1{font-size:31px!important;}
  .app-shell.welcome-mode .main-panel>.composer-zone{top:168px!important;padding-inline:8px!important;}.app-shell.welcome-mode .starter-grid{margin-top:170px!important;max-height:calc(100dvh - 350px)!important;}
  #tasksModal,body.sidebar-collapsed-v167 #tasksModal{left:0!important;width:100%!important;}
  .scheduled-page-v167{padding:62px 14px 30px!important;}.scheduled-page-head-v167 h2{font-size:28px!important;}.scheduled-page-head-v167 p{font-size:14px!important;}.scheduled-quick-v167{margin-top:26px!important;}.scheduled-row-v167{grid-template-columns:40px minmax(0,1fr) 10px!important;}.scheduled-actions{display:none!important;}
  .assistant-content table{display:block!important;overflow-x:auto!important;white-space:nowrap!important;}
}



/* ========================================================================== */
/* SenvoAI V0.17.8 — layout, streaming, voice, maths and plan polish      */
/* ========================================================================== */
:root{
  --v170-ease:cubic-bezier(.22,.8,.24,1);
  --v170-soft:#f5f5f6;
  --v170-border:#e5e5e8;
}


/* The collapsed logo itself reopens the sidebar and explains what it does. */
.collapsed-rail-logo{position:relative;border:0;background:transparent;cursor:pointer;padding:2px!important;}
.rail-tooltip{position:absolute;left:52px;top:50%;transform:translateY(-50%) translateX(-4px);white-space:nowrap;background:#202124;color:#fff;font-size:12px;font-weight:600;padding:7px 9px;border-radius:8px;opacity:0;pointer-events:none;transition:opacity .14s ease,transform .14s ease;box-shadow:0 6px 22px rgba(0,0,0,.16);}
.collapsed-rail-logo:hover .rail-tooltip,.collapsed-rail-logo:focus-visible .rail-tooltip{opacity:1;transform:translateY(-50%) translateX(0);}
.collapsed-rail-logo:hover{background:#ececef!important;}

/* 60-Hz paint-friendly streaming: text reveal remains driven by RAF. */
.assistant-content.is-streaming,.assistant-content.streaming-caret{will-change:contents;contain:layout style;text-rendering:optimizeLegibility;}
.message-assistant.is-streaming{contain:layout style;}

/* Readable maths rather than raw LaTeX source. */
.math-inline,.math-display{font-family:"STIX Two Math","Cambria Math","Times New Roman",serif!important;font-variant-numeric:lining-nums tabular-nums;color:inherit!important;}
.math-inline{background:transparent!important;border:0!important;padding:0 .08em!important;font-size:1.02em!important;white-space:nowrap;}
.math-block{display:flex!important;justify-content:center!important;align-items:center!important;background:transparent!important;border:0!important;padding:12px 4px!important;margin:14px 0!important;overflow-x:auto!important;}
.math-display{font-size:1.18em;line-height:1.65;white-space:nowrap;}
.math-frac{display:inline-flex;flex-direction:column;vertical-align:middle;text-align:center;line-height:1.05;margin:0 .15em;}
.math-frac>span:first-child{padding:0 .2em .08em;border-bottom:1.4px solid currentColor;}
.math-frac>span:last-child{padding:.08em .2em 0;}
.math-root{display:inline-flex;align-items:flex-start}.math-root>span{border-top:1px solid currentColor;padding:0 .12em;}
.math-inline sup,.math-inline sub,.math-display sup,.math-display sub{font-size:.72em;line-height:0;}

/* Voice-input capture surface inspired by a focused dictation bar. */
.voice-input-bar{position:fixed;z-index:2500;left:50%;bottom:max(18px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(calc(100% - 32px),880px);height:72px;border:1px solid #dedee3;border-radius:36px;background:rgba(255,255,255,.97);box-shadow:0 18px 60px rgba(0,0,0,.15);display:grid;grid-template-columns:50px minmax(0,1fr) 50px 50px;align-items:center;gap:6px;padding:7px 9px;backdrop-filter:blur(20px);animation:voiceCaptureIn .18s var(--v170-ease);}
.voice-input-bar.hidden{display:none!important;}
@keyframes voiceCaptureIn{from{opacity:0;transform:translateX(-50%) translateY(14px) scale(.985)}to{opacity:1;transform:translateX(-50%) translateY(0) scale(1)}}
.voice-capture-side,.voice-capture-accept{width:48px;height:48px;border:0;border-radius:50%;display:grid;place-items:center;background:transparent;font-size:27px;cursor:pointer;color:#2e3035;}
.voice-capture-side:hover{background:#f1f1f3}.voice-capture-accept{background:#111;color:#fff;font-size:23px;}
.voice-capture-center{display:flex;align-items:center;justify-content:center;gap:18px;min-width:0;color:#73757b;}
#voiceInputHint{max-width:46%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;}
.voice-capture-wave{height:34px;display:flex;align-items:center;gap:3px;}
.voice-capture-wave i{display:block;width:3px;height:8px;background:#393b40;border-radius:999px;animation:v170wave .8s ease-in-out infinite alternate;}
.voice-capture-wave i:nth-child(2n){animation-delay:-.25s}.voice-capture-wave i:nth-child(3n){animation-delay:-.5s}.voice-capture-wave i:nth-child(4n){animation-delay:-.7s}
@keyframes v170wave{0%{height:5px;opacity:.45}100%{height:30px;opacity:1}}
@media(max-width:620px){#voiceInputHint{display:none}.voice-input-bar{grid-template-columns:48px 1fr 48px 48px;height:66px}.voice-capture-center{gap:8px}}

/* Full-screen refresh/update overlay used by ?restartservers and cache refresh. */
.refresh-overlay{position:fixed;inset:0;z-index:5000;background:rgba(250,250,251,.98);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;transition:opacity .18s ease;}
.refresh-overlay.hidden{display:none!important}.refresh-orb{width:78px;height:78px;border-radius:24px;background:#111;display:grid;place-items:center;box-shadow:0 18px 46px rgba(0,0,0,.16);animation:v170roll 1.2s var(--v170-ease) infinite}.refresh-orb img{width:58px;height:58px;border-radius:17px}.refresh-overlay strong{font-size:24px;letter-spacing:-.6px}.refresh-overlay span{font-size:14px;color:#787980}.refresh-track{width:min(320px,70vw);height:4px;background:#ececef;border-radius:999px;overflow:hidden;margin-top:5px}.refresh-track i{display:block;width:38%;height:100%;background:#111;border-radius:999px;animation:v170track 1s ease-in-out infinite alternate}@keyframes v170roll{50%{transform:rotate(8deg) scale(1.04)}100%{transform:rotate(0)}}@keyframes v170track{from{transform:translateX(-80%)}to{transform:translateX(240%)}}

/* Notifications now render Markdown cleanly. */
.notification-card-v170{padding:14px 15px!important}.notification-body-v170{font-size:13.5px;line-height:1.55;color:#484a50}.notification-body-v170 p{margin:5px 0}.notification-card-v170 small{display:block;margin-top:8px;color:#96979c}

/* Cleaner Settings navigation/icon treatment. */
.settings-nav{border-radius:10px!important;transition:background .14s ease,transform .14s ease!important}.settings-nav:hover{transform:translateX(1px)}.settings-line-icon{width:28px;height:28px;border-radius:8px;background:#f0f0f2;display:grid!important;place-items:center;font-size:14px!important;color:#4e5055}.settings-nav.active .settings-line-icon{background:#e7e5ff;color:#5447d8}

/* Plan cards: more informative hierarchy and smoother hover. */
.plan-grid{gap:14px!important}.plan-card{border:1px solid #e4e4e8!important;border-radius:20px!important;padding:20px!important;background:#fff!important;box-shadow:0 3px 14px rgba(0,0,0,.035)!important;transition:transform .18s var(--v170-ease),box-shadow .18s ease,border-color .18s ease!important}.plan-card:hover{transform:translateY(-3px);box-shadow:0 16px 40px rgba(0,0,0,.08)!important;border-color:#d2d2d8!important}.plan-card.plan-pro{background:linear-gradient(180deg,#fbfaff,#fff)!important;border-color:#d9d3ff!important}.plan-card.plan-plus{background:linear-gradient(180deg,#f9fcff,#fff)!important}.plan-card ul{display:grid;gap:8px;margin-top:16px!important}.plan-check{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#eef7f2;color:#15734b;font-size:11px}

/* Reading width personalization. */
body[data-message-width="compact"] .messages,body[data-message-width="compact"] .composer-zone>.composer-card{max-width:760px!important}
body[data-message-width="wide"] .messages,body[data-message-width="wide"] .composer-zone>.composer-card{max-width:1080px!important}

/* Scheduled page send behaves like a prompt launcher into a new chat. */
.scheduled-send-v167{transition:transform .14s var(--v170-ease),background .14s ease!important}.scheduled-send-v167:hover{transform:scale(1.05);background:#cfe5ff!important}

body[data-theme="dark"] .voice-input-bar{background:rgba(28,29,32,.97);border-color:#3b3d43;color:#f5f6f8}body[data-theme="dark"] .voice-capture-side{color:#f1f1f3}body[data-theme="dark"] .voice-capture-side:hover{background:#35373c}body[data-theme="dark"] .voice-capture-accept{background:#f5f5f6;color:#111}body[data-theme="dark"] .refresh-overlay{background:rgba(18,19,22,.99);color:#f6f7f8}



/* Dictation stays above every workspace/modal layer and the live transcript is
   readable until the user presses cancel or accept. */
.voice-input-bar{z-index:4200!important;}
#voiceInputHint{max-width:min(62vw,520px)!important;}


/* ========================================================================== */
/* SenvoAI V0.17.8 — authoritative flow layout + deployment cleanup       */
/* ========================================================================== */
/* Welcome uses document flow: greeting -> composer -> suggestions. Nothing is
   positioned by guessed pixels, so resizing/fonts/sidebar changes cannot hide
   suggestion cards behind the composer. */
.app-shell.welcome-mode .conversation{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
}
.app-shell.welcome-mode .welcome-view{
  min-height:100%!important;
  height:auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  padding:clamp(68px,10vh,118px) 20px 46px!important;
  box-sizing:border-box!important;
}
.app-shell.welcome-mode .welcome-view h1{
  position:static!important;
  transform:none!important;
  margin:0 0 24px!important;
  max-width:900px!important;
  text-align:center!important;
}
.welcome-composer-slot{
  width:min(100%,1120px)!important;
  display:block!important;
  flex:0 0 auto!important;
  margin:0 auto!important;
}
.welcome-composer-slot:empty{display:none!important;}
.welcome-composer-slot>.composer-zone{
  position:relative!important;
  inset:auto!important;
  top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
  transform:none!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  z-index:10!important;
}
.welcome-composer-slot>.composer-zone .composer-card{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
.welcome-composer-slot>.composer-zone .composer-note{
  width:100%!important;
  margin:7px auto 0!important;
}
.app-shell.welcome-mode .starter-grid{
  position:static!important;
  inset:auto!important;
  top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
  transform:none!important;
  width:min(100%,980px)!important;
  max-width:980px!important;
  max-height:none!important;
  overflow:visible!important;
  margin:28px auto 0!important;
  padding:0 2px 24px!important;
  z-index:auto!important;
  flex:0 0 auto!important;
}
@media(max-width:760px){
  .app-shell.welcome-mode .welcome-view{padding:44px 10px 28px!important;}
  .app-shell.welcome-mode .welcome-view h1{margin-bottom:18px!important;font-size:clamp(25px,8vw,34px)!important;}
  .welcome-composer-slot{width:100%!important;}
  .app-shell.welcome-mode .starter-grid{width:100%!important;margin-top:20px!important;padding-bottom:18px!important;}
}
@media(max-height:650px) and (min-width:761px){
  .app-shell.welcome-mode .welcome-view{padding-top:34px!important;}
  .app-shell.welcome-mode .welcome-view h1{margin-bottom:16px!important;}
  .app-shell.welcome-mode .starter-grid{margin-top:18px!important;}
}
/* Stable chat composer after it is moved back to the main panel. */
.app-shell:not(.welcome-mode) .main-panel>.composer-zone{
  position:sticky!important;
  top:auto!important;left:auto!important;right:auto!important;bottom:0!important;
  transform:none!important;
}


/* ========================================================================== */
/* SenvoAI V0.17.8 — single-home composer / schedule-safe workspace       */
/* ========================================================================== */
/* The composer never moves to welcomeView. It always belongs to main-panel. */
#welcomeComposerSlot{display:none!important;}
.main-panel{position:relative!important;overflow:hidden!important;}
.main-panel>.conversation{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding-bottom:190px!important;}
.main-panel>.composer-zone,
.app-shell.welcome-mode .main-panel>.composer-zone,
.app-shell.sidebar-collapsed .main-panel>.composer-zone,
.app-shell.sidebar-collapsed.welcome-mode .main-panel>.composer-zone{
  position:absolute!important;
  left:0!important;right:0!important;bottom:0!important;top:auto!important;
  width:100%!important;max-width:none!important;transform:none!important;
  z-index:36!important;
  padding:34px clamp(14px,4vw,58px) 12px!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.94) 28%,#fff 54%)!important;
}
.main-panel>.composer-zone>*{pointer-events:auto!important;}
.main-panel>.composer-zone>.composer-card,
.main-panel>.composer-zone>.generation-status,
.main-panel>.composer-zone>.attachment-chips,
.main-panel>.composer-zone>.read-aloud-bar,
.main-panel>.composer-zone>.composer-note{
  width:min(100%,900px)!important;max-width:900px!important;margin-left:auto!important;margin-right:auto!important;
}
/* Welcome content is ordinary scrollable content with real bottom clearance. */
.app-shell.welcome-mode .conversation{padding:0 18px 205px!important;overflow-y:auto!important;}
.app-shell.welcome-mode .welcome-view{
  width:min(100%,1080px)!important;max-width:1080px!important;min-height:0!important;height:auto!important;
  margin:0 auto!important;padding:clamp(38px,7vh,78px) 18px 28px!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;
}
.app-shell.welcome-mode .welcome-view h1{
  position:static!important;inset:auto!important;transform:none!important;
  margin:0 0 clamp(26px,4vh,46px)!important;text-align:center!important;
  font-size:clamp(31px,3.3vw,46px)!important;line-height:1.08!important;
}
.app-shell.welcome-mode .starter-grid{
  position:static!important;inset:auto!important;transform:none!important;
  width:min(100%,980px)!important;max-width:980px!important;max-height:none!important;
  overflow:visible!important;margin:0 auto!important;padding:0 2px 28px!important;
  display:flex!important;flex-direction:column!important;gap:8px!important;
}
/* Put a deliberate breathing zone before suggestions so the bottom composer
   never visually sits on top of the first card on shorter desktop windows. */
.app-shell.welcome-mode .starter-grid::before{content:"";display:block;height:clamp(84px,14vh,150px);flex:0 0 auto;}
body[data-theme="dark"] .main-panel>.composer-zone,
body[data-theme="dark"] .app-shell.welcome-mode .main-panel>.composer-zone{
  background:linear-gradient(180deg,rgba(11,12,15,0),rgba(11,12,15,.95) 28%,#0b0c0f 54%)!important;
}
@media(max-width:760px){
  .main-panel>.conversation{padding-bottom:164px!important;}
  .main-panel>.composer-zone,.app-shell.welcome-mode .main-panel>.composer-zone{
    left:0!important;right:0!important;bottom:0!important;top:auto!important;
    padding:25px 8px max(8px,env(safe-area-inset-bottom))!important;
  }
  .app-shell.welcome-mode .conversation{padding:0 8px 174px!important;}
  .app-shell.welcome-mode .welcome-view{padding:32px 4px 20px!important;}
  .app-shell.welcome-mode .welcome-view h1{font-size:clamp(27px,8vw,34px)!important;margin-bottom:20px!important;}
  .app-shell.welcome-mode .starter-grid::before{height:76px!important;}
}
@media(max-height:680px) and (min-width:761px){
  .app-shell.welcome-mode .welcome-view{padding-top:24px!important;}
  .app-shell.welcome-mode .welcome-view h1{margin-bottom:18px!important;font-size:34px!important;}
  .app-shell.welcome-mode .starter-grid::before{height:58px!important;}
}


/* ========================================================================== */
/* SenvoAI V0.17.8 — authoritative composer/message placement             */
/* ========================================================================== */
/* Older compatibility layers positioned the composer absolutely and reserved
   scroll padding for it. The composer now has one permanent DOM home as the
   final flex row of .main-panel. These selectors intentionally have the same or
   greater specificity than the historic rules so normal chat messages always
   occupy the conversation ABOVE the composer. */
.main-panel{
  display:flex!important;
  flex-direction:column!important;
  height:100dvh!important;
  min-height:0!important;
  overflow:hidden!important;
}
.main-panel>.topbar{flex:0 0 56px!important;order:0!important;}
.main-panel>.conversation{
  order:1!important;
  flex:1 1 0!important;
  min-height:0!important;
  width:100%!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding-bottom:18px!important;
  scroll-padding-bottom:24px!important;
}
.main-panel>.composer-zone,
.app-shell.sidebar-collapsed .main-panel>.composer-zone,
.app-shell.welcome-mode .main-panel>.composer-zone,
.app-shell.sidebar-collapsed.welcome-mode .main-panel>.composer-zone{
  position:relative!important;
  inset:auto!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  order:2!important;
  flex:0 0 auto!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  transform:none!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-end!important;
  padding:10px clamp(12px,2.2vw,30px) calc(10px + env(safe-area-inset-bottom))!important;
  background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.93) 28%,#fff 58%)!important;
  pointer-events:auto!important;
  overflow:visible!important;
  z-index:30!important;
}
.main-panel>.composer-zone>.composer-card,
.main-panel>.composer-zone>.generation-status,
.main-panel>.composer-zone>.attachment-chips,
.main-panel>.composer-zone>.read-aloud-bar,
.main-panel>.composer-zone>.composer-note{
  width:min(100%,900px)!important;
  max-width:900px!important;
  min-width:0!important;
  margin-inline:auto!important;
}
/* Welcome mode stays in normal document flow as well. The greeting/suggestions
   use the conversation region; the composer remains docked beneath it. */
.app-shell.welcome-mode .main-panel>.conversation{
  padding-bottom:10px!important;
  overflow-y:auto!important;
}
.app-shell.welcome-mode .welcome-view{
  min-height:100%!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  justify-content:flex-start!important;
  padding:clamp(52px,10vh,96px) 18px 28px!important;
}
.app-shell.welcome-mode .welcome-view>.starter-grid{
  margin:30px auto 0!important;
  max-height:none!important;
  overflow:visible!important;
}
/* A normal chat must never inherit a welcome offset after the first send. */
.app-shell:not(.welcome-mode) .main-panel>.composer-zone{
  top:auto!important;
  bottom:auto!important;
}
.app-shell:not(.welcome-mode) .welcome-view.hidden{display:none!important;}
.app-shell:not(.welcome-mode) .messages{display:block!important;}
body[data-theme="dark"] .main-panel>.composer-zone{
  background:linear-gradient(180deg,rgba(33,33,33,0),rgba(33,33,33,.93) 28%,#212121 58%)!important;
}
@media(max-width:760px){
  .main-panel>.composer-zone,
  .app-shell.sidebar-collapsed .main-panel>.composer-zone,
  .app-shell.welcome-mode .main-panel>.composer-zone,
  .app-shell.sidebar-collapsed.welcome-mode .main-panel>.composer-zone{
    position:relative!important;
    inset:auto!important;
    padding:8px 8px calc(8px + env(safe-area-inset-bottom))!important;
  }
  .app-shell.welcome-mode .welcome-view{padding:11vh 12px 22px!important;}
  .app-shell.welcome-mode .welcome-view>.starter-grid{margin-top:24px!important;}
}

/* ========================================================================== */
/* SenvoAI V0.17.8 — authoritative workspace grid + polished interactions */
/* ========================================================================== */
/* One layout owns the main workspace. Historic absolute/sticky composer rules
   are intentionally overridden here so assistant replies can never render
   beneath/behind the message box. */
.main-panel{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:56px minmax(0,1fr) auto!important;
  height:100dvh!important;
  min-height:0!important;
  overflow:hidden!important;
  position:relative!important;
}
.main-panel>.topbar{
  grid-column:1!important;grid-row:1!important;
  position:relative!important;inset:auto!important;
  min-height:56px!important;height:56px!important;
  z-index:40!important;
}
.main-panel>.conversation{
  grid-column:1!important;grid-row:2!important;
  position:relative!important;inset:auto!important;
  min-height:0!important;height:auto!important;
  width:100%!important;
  overflow-y:auto!important;overflow-x:hidden!important;
  padding:0 18px 22px!important;
  scroll-padding-top:18px!important;scroll-padding-bottom:30px!important;
  overscroll-behavior:contain!important;
}
.main-panel>.composer-zone,
.app-shell.welcome-mode .main-panel>.composer-zone,
.app-shell.sidebar-collapsed .main-panel>.composer-zone,
.app-shell.sidebar-collapsed.welcome-mode .main-panel>.composer-zone{
  grid-column:1!important;grid-row:3!important;
  position:static!important;inset:auto!important;
  top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;
  order:initial!important;transform:none!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  margin:0!important;padding:10px clamp(12px,2.4vw,34px) calc(10px + env(safe-area-inset-bottom))!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-end!important;
  overflow:visible!important;pointer-events:auto!important;z-index:35!important;
  background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.96) 25%,#fff 58%)!important;
}
.main-panel>.composer-zone>.composer-card,
.main-panel>.composer-zone>.generation-status,
.main-panel>.composer-zone>.attachment-chips,
.main-panel>.composer-zone>.read-aloud-bar,
.main-panel>.composer-zone>.composer-note{
  width:min(100%,900px)!important;max-width:900px!important;min-width:0!important;margin-inline:auto!important;
}
.app-shell.welcome-mode .main-panel>.conversation{padding:0 18px 18px!important;}
.app-shell.welcome-mode .welcome-view{
  min-height:100%!important;height:auto!important;max-height:none!important;
  width:min(100%,1080px)!important;margin:0 auto!important;
  padding:clamp(34px,7vh,72px) 12px 26px!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;
  overflow:visible!important;
}
.app-shell.welcome-mode .welcome-view h1{
  position:static!important;inset:auto!important;transform:none!important;
  margin:0 auto 28px!important;text-align:center!important;
}
.app-shell.welcome-mode .welcome-view>.starter-grid{
  position:static!important;inset:auto!important;transform:none!important;
  width:min(100%,980px)!important;max-width:980px!important;
  margin:0 auto!important;padding:0 0 20px!important;max-height:none!important;overflow:visible!important;
}
/* Normal chat transcript is always above the composer. */
.app-shell:not(.welcome-mode) .messages{display:block!important;min-height:100%!important;padding-top:22px!important;padding-bottom:10px!important;}
.app-shell:not(.welcome-mode) .welcome-view.hidden{display:none!important;}

/* Smoother chat entrance without moving existing content. */
@keyframes senvora-message-in-v177{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.message-row.message-new-v177{animation:senvora-message-in-v177 160ms cubic-bezier(.2,.8,.2,1) both;}
.command-response-v177 .assistant-body{animation:senvora-command-pop-v177 220ms cubic-bezier(.2,.85,.2,1) both;}
@keyframes senvora-command-pop-v177{from{opacity:.35;transform:translateY(4px) scale(.995)}to{opacity:1;transform:none}}

/* Selected-text action bar: compact, floating and keyboard-friendly. */
.highlight-toolbar{
  position:fixed!important;z-index:5000!important;
  display:flex!important;align-items:center!important;overflow:hidden!important;
  border:1px solid rgba(20,20,22,.12)!important;border-radius:16px!important;
  background:rgba(255,255,255,.98)!important;box-shadow:0 10px 34px rgba(0,0,0,.14)!important;
  backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;
  animation:senvora-highlight-in-v177 120ms ease-out both!important;
}
.highlight-toolbar.hidden{display:none!important;}
.highlight-toolbar button{min-height:42px!important;padding:0 15px!important;border:0!important;border-right:1px solid rgba(0,0,0,.08)!important;background:transparent!important;color:#1e1f22!important;font-size:12.5px!important;font-weight:650!important;cursor:pointer!important;}
.highlight-toolbar button:last-child{border-right:0!important}.highlight-toolbar button:hover{background:#f3f3f5!important}
@keyframes senvora-highlight-in-v177{from{opacity:0;transform:translateY(4px) scale(.98)}to{opacity:1;transform:none}}

/* Cleaner Markdown tables: readable on desktop and safely scrollable on mobile. */
.markdown-table-wrap{margin:16px 0!important;border:1px solid #e1e2e6!important;border-radius:16px!important;overflow:auto!important;background:#fff!important;box-shadow:0 3px 14px rgba(0,0,0,.035)!important;}
.assistant-content table,.call-turn-text table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;font-size:13px!important;line-height:1.45!important;}
.assistant-content th,.call-turn-text th{padding:11px 13px!important;background:#f6f6f8!important;color:#303137!important;font-weight:700!important;text-align:left!important;border-bottom:1px solid #e2e3e7!important;white-space:nowrap!important;}
.assistant-content td,.call-turn-text td{padding:11px 13px!important;vertical-align:top!important;border-bottom:1px solid #ededf0!important;color:inherit!important;}
.assistant-content tr:last-child td,.call-turn-text tr:last-child td{border-bottom:0!important;}
.assistant-content tbody tr:hover,.call-turn-text tbody tr:hover{background:rgba(80,70,180,.035)!important;}

/* Voice transcript renders actual Markdown instead of literal ** / table pipes. */
.call-turn-text{white-space:normal!important;line-height:1.55!important;}
.call-turn-text p{margin:0 0 8px!important}.call-turn-text p:last-child{margin-bottom:0!important;}
.call-turn-text ul,.call-turn-text ol{margin:6px 0 8px 18px!important;padding:0!important;}
.call-turn-text .markdown-table-wrap{max-width:min(560px,76vw)!important;margin:8px 0!important;background:#1d1f24!important;border-color:rgba(255,255,255,.11)!important;}
.call-turn-text th{background:#272930!important;color:#f1f2f4!important;border-bottom-color:rgba(255,255,255,.10)!important;}
.call-turn-text td{border-bottom-color:rgba(255,255,255,.07)!important;}
.call-stop{background:#2d3036!important;color:#fff!important}.call-stop:hover{background:#393c43!important;}
.call-stop svg rect{fill:currentColor!important;stroke:none!important;}

body[data-theme="dark"] .main-panel>.composer-zone{background:linear-gradient(180deg,rgba(33,33,33,0),rgba(33,33,33,.96) 25%,#212121 58%)!important;}
body[data-theme="dark"] .highlight-toolbar{background:rgba(31,32,36,.98)!important;border-color:#3c3d43!important;}
body[data-theme="dark"] .highlight-toolbar button{color:#f4f4f5!important;border-right-color:#3b3c42!important;}body[data-theme="dark"] .highlight-toolbar button:hover{background:#2a2b30!important;}
body[data-theme="dark"] .markdown-table-wrap{background:#252527!important;border-color:#3c3d41!important;}
body[data-theme="dark"] .assistant-content th{background:#303034!important;color:#f2f2f3!important;border-bottom-color:#414146!important;}
body[data-theme="dark"] .assistant-content td{border-bottom-color:#36363a!important;}

@media(max-width:760px){
  .main-panel{grid-template-rows:54px minmax(0,1fr) auto!important;}
  .main-panel>.topbar{height:54px!important;min-height:54px!important;}
  .main-panel>.conversation{padding:0 9px 14px!important;}
  .main-panel>.composer-zone,.app-shell.welcome-mode .main-panel>.composer-zone{padding:8px 8px calc(8px + env(safe-area-inset-bottom))!important;}
  .app-shell.welcome-mode .welcome-view{padding:7vh 6px 18px!important;}
  .highlight-toolbar{max-width:calc(100vw - 16px)!important;overflow-x:auto!important;}
  .highlight-toolbar button{font-size:11px!important;padding:0 10px!important;white-space:nowrap!important;}
}
@media(prefers-reduced-motion:reduce){.message-row.message-new-v177,.command-response-v177 .assistant-body,.highlight-toolbar{animation:none!important;}}

/* ========================================================================== */
/* SenvoAI V0.17.8 — guest entry                                           */
/* ========================================================================== */
.auth-guest-button{margin-top:14px;width:100%;min-height:54px;border:1px solid #e2e3e7;border-radius:16px;background:#fafafa;color:#252528;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;column-gap:12px;text-align:left;padding:10px 14px;cursor:pointer;transition:transform .16s ease,background .16s ease,border-color .16s ease,box-shadow .16s ease}
.auth-guest-button span{font-weight:650;grid-column:1}.auth-guest-button small{grid-column:1;color:#767982;font-size:12px}.auth-guest-button b{grid-column:2;grid-row:1/3;align-self:center;font-size:18px;font-weight:500}.auth-guest-button:hover{background:#f3f3f5;border-color:#d7d8dd;transform:translateY(-1px);box-shadow:0 7px 18px rgba(0,0,0,.055)}
body[data-theme="dark"] .auth-guest-button{background:#242426;border-color:#3b3b3f;color:#eee}.auth-guest-button.busy{opacity:.78;pointer-events:none}

/* ========================================================================== */
/* SenvoAI V0.17.8 — sidebar boundary + read-only scheduled threads        */
/* ========================================================================== */
.sidebar{display:flex!important;flex-direction:column!important;height:100dvh!important;overflow:hidden!important;padding-bottom:8px!important;}
.sidebar-scroll-body{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;scrollbar-gutter:stable!important;padding:0 0 10px!important;scrollbar-width:thin;scrollbar-color:transparent transparent;}
.sidebar-scroll-body:hover{scrollbar-color:rgba(105,110,121,.34) transparent;}
.sidebar-scroll-body::-webkit-scrollbar{width:7px}.sidebar-scroll-body::-webkit-scrollbar-track{background:transparent}.sidebar-scroll-body::-webkit-scrollbar-thumb{background:transparent;border:2px solid transparent;background-clip:padding-box;border-radius:999px}.sidebar-scroll-body:hover::-webkit-scrollbar-thumb{background:rgba(105,110,121,.34);background-clip:padding-box}
.chat-list-scroll{overflow:visible!important;max-height:none!important;min-height:0!important;flex:0 0 auto!important;padding-bottom:12px!important;}
.account-row{position:relative!important;bottom:auto!important;z-index:20!important;flex:0 0 auto!important;margin:4px 0 0!important;background:var(--v160-sidebar,#f7f7f8)!important;border-top:1px solid var(--border)!important;box-shadow:0 -10px 22px rgba(247,247,248,.96)!important;backdrop-filter:none!important;}
body[data-theme="dark"] .account-row{background:#202020!important;box-shadow:0 -10px 22px rgba(32,32,32,.96)!important;}
.app-shell.sidebar-collapsed .sidebar>.sidebar-scroll-body,.app-shell.sidebar-collapsed .sidebar>.account-row{display:none!important;}
@media(max-width:760px){.app-shell.sidebar-collapsed .sidebar>.sidebar-scroll-body,.app-shell.sidebar-collapsed .sidebar>.account-row{display:block!important}.app-shell.sidebar-collapsed .sidebar>.account-row{display:flex!important}}

/* generic assistant-style hover motion without shifting layout. */
.new-chat-button,.sidebar-nav,.chat-item,.account-row,.section-icon-button,.collapsed-rail-button{transition:background-color .14s ease,color .14s ease,transform .16s cubic-bezier(.2,.8,.2,1),box-shadow .16s ease!important;}
.new-chat-button:hover,.sidebar-nav:hover,.chat-item:hover{transform:translateX(2px)!important;}
.sidebar-nav .nav-icon,.new-chat-button .nav-icon{transition:transform .16s cubic-bezier(.2,.8,.2,1)!important;}
.sidebar-nav:hover .nav-icon,.new-chat-button:hover .nav-icon{transform:scale(1.06)!important;}

/* Replace the browser-native Think tooltip with a clean product tooltip. */
.effort-button{position:relative!important;}
.effort-button[data-tooltip]::after{content:attr(data-tooltip);position:absolute;left:50%;bottom:calc(100% + 10px);transform:translate(-50%,5px);opacity:0;pointer-events:none;white-space:nowrap;background:#242426;color:#fff;border-radius:9px;padding:7px 9px;font-size:11px;line-height:1;box-shadow:0 6px 20px rgba(0,0,0,.18);transition:opacity .12s ease,transform .12s ease;z-index:120;}
.effort-button[data-tooltip]:hover::after,.effort-button[data-tooltip]:focus-visible::after{opacity:1;transform:translate(-50%,0);}

/* A scheduled task opens as a real read-only conversation thread. */
.task-thread-banner{width:min(100%,900px);margin:8px auto 4px;padding:10px 12px;border:1px solid #e2e2e5;border-radius:14px;background:#fafafa;display:flex;align-items:center;justify-content:space-between;gap:14px;position:sticky;top:4px;z-index:5;box-shadow:0 8px 24px rgba(0,0,0,.04);}
.task-thread-banner>div{display:flex;align-items:center;gap:10px;min-width:0}.task-thread-banner strong{display:block;font-size:14px}.task-thread-banner span{display:block;color:#75767c;font-size:12px}.task-thread-icon{width:30px;height:30px;border-radius:10px;background:#efeff2;display:grid!important;place-items:center;color:#4c4c52!important;font-size:16px!important;flex:0 0 auto}.task-thread-banner button{border:0;border-radius:10px;background:#ececef;padding:8px 11px;font-weight:600;cursor:pointer;white-space:nowrap;transition:background .14s ease,transform .14s ease}.task-thread-banner button:hover{background:#e3e3e7;transform:translateY(-1px)}
body.scheduled-thread-mode .main-panel>.composer-zone{display:none!important;}
body.scheduled-thread-mode .conversation{padding-bottom:28px!important;}
body.scheduled-thread-mode .outline-rail{display:none!important;}
.scheduled-thread-intro{margin:18px 0 12px;padding:14px 16px;border-radius:14px;background:#f5f5f7;color:#55565c;font-size:13px;line-height:1.5}.scheduled-thread-intro strong{display:block;color:#252529;font-size:14px;margin-bottom:3px}.scheduled-thread-empty{padding:40px 18px;text-align:center;color:#808189}.scheduled-thread-empty strong{display:block;color:#33343a;margin-bottom:5px}
.scheduled-row-v167{cursor:pointer!important;transition:background .14s ease,transform .14s ease!important}.scheduled-row-v167:hover{background:#f6f6f7!important;transform:translateY(-1px)}.scheduled-row-v167:focus-within{outline:2px solid rgba(92,77,255,.16);outline-offset:2px}.scheduled-actions{cursor:default}
body[data-theme="dark"] .task-thread-banner,body[data-theme="dark"] .scheduled-thread-intro{background:#29292c;border-color:#3b3b3e;color:#bbb}body[data-theme="dark"] .task-thread-banner strong,body[data-theme="dark"] .scheduled-thread-intro strong{color:#eee}

/* Guest mode: visibly temporary and no saved-work affordances. */
body[data-guest="true"] #pinnedSection,body[data-guest="true"] #recentSection,body[data-guest="true"] #projectsButton,body[data-guest="true"] #tasksButton{display:none!important;}body[data-guest="true"] .account-copy span::after{content:" · temporary"}body[data-guest="true"] .temporary-mode-notice{display:flex!important;}
body[data-guest="true"] #libraryButton,body[data-guest="true"] #attachButton,body[data-guest="true"] #projectsButton,body[data-guest="true"] #tasksButton{display:none!important;}


/* ========================================================================== */
/* SenvoAI V0.18.6 — premium controls, Beta shell and navigation polish   */
/* ========================================================================== */
.beta-badge{display:inline-flex;align-items:center;justify-content:center;height:18px;padding:0 7px;margin-left:7px;border-radius:999px;border:1px solid rgba(102,87,255,.18);background:rgba(102,87,255,.08);color:#6357d9;font-size:9.5px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;vertical-align:middle}
.auth-brand-line{display:flex;align-items:center;gap:0}

/* Clean, consistent icon buttons. Native rectangular browser tooltips are
   replaced by lightweight product tooltips from data-tooltip. */
.message-action,.composer-tool,.composer-call-button,.topbar-icon-action,.section-icon-button,.icon-button,.sidebar-collapse,.effort-button{
  position:relative;isolation:isolate;
}
.message-action{width:32px!important;height:32px!important;min-width:32px!important;padding:0!important;border:0!important;border-radius:10px!important;display:inline-grid!important;place-items:center!important;background:transparent!important;color:#6d717a!important}
.message-action:hover{background:#f1f1f1!important;color:#202124!important;transform:translateY(-1px)!important}
.message-action:active{transform:scale(.94)!important}
.message-action .action-svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.message-actions{gap:2px!important;align-items:center!important}

[data-tooltip]::after{content:attr(data-tooltip);position:absolute;z-index:260;left:50%;bottom:calc(100% + 8px);transform:translate(-50%,5px) scale(.98);padding:6px 8px;border-radius:7px;background:#1f1f1f;color:#fff;font-size:10.5px;font-weight:520;line-height:1;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity 110ms ease,transform 140ms cubic-bezier(.2,.8,.2,1);box-shadow:0 5px 18px rgba(0,0,0,.18)}
[data-tooltip]::before{content:"";position:absolute;z-index:259;left:50%;bottom:calc(100% + 4px);width:7px;height:7px;background:#1f1f1f;transform:translateX(-50%) rotate(45deg);opacity:0;pointer-events:none;transition:opacity 110ms ease}
[data-tooltip]:hover::after,[data-tooltip]:focus-visible::after,[data-tooltip]:hover::before,[data-tooltip]:focus-visible::before{opacity:1}
[data-tooltip]:hover::after,[data-tooltip]:focus-visible::after{transform:translate(-50%,0) scale(1)}

.composer-call-button{transition:transform 150ms cubic-bezier(.2,.8,.2,1),box-shadow 180ms ease,background 140ms ease!important;box-shadow:0 1px 0 rgba(255,255,255,.18) inset,0 4px 14px rgba(0,0,0,.10)!important}
.composer-call-button:hover{transform:translateY(-1px) scale(1.025)!important;box-shadow:0 6px 18px rgba(0,0,0,.16)!important}
.composer-tool:hover,.effort-button:hover,.topbar-icon-action:hover,.section-icon-button:hover{transform:translateY(-1px)!important}

/* Tables read like product UI instead of raw spreadsheet output. */
.markdown-table-wrap{border:1px solid #e7e7e7!important;border-radius:15px!important;overflow:auto!important;background:#fff!important;box-shadow:0 1px 2px rgba(0,0,0,.025)!important;margin:16px 0 18px!important}
.markdown-table{border-collapse:separate!important;border-spacing:0!important;width:100%!important;min-width:420px!important}
.markdown-table th{background:#f7f7f8!important;color:#383838!important;font-size:12px!important;font-weight:650!important;letter-spacing:.01em!important;text-align:left!important;padding:11px 13px!important;border-bottom:1px solid #e5e5e5!important}
.markdown-table td{padding:11px 13px!important;border-bottom:1px solid #efefef!important;vertical-align:top!important;line-height:1.5!important}
.markdown-table tbody tr:last-child td{border-bottom:0!important}
.markdown-table tbody tr:hover td{background:#fafafa!important}
body[data-theme="dark"] .markdown-table-wrap{background:#242424!important;border-color:#3a3a3a!important}body[data-theme="dark"] .markdown-table th{background:#2d2d2d!important;color:#eee!important;border-color:#3c3c3c!important}body[data-theme="dark"] .markdown-table td{border-color:#343434!important}body[data-theme="dark"] .markdown-table tbody tr:hover td{background:#292929!important}

/* Starter/scheduled ideas are tactile but quiet. */
.starter-card,.task-recommendations-v11 button{transition:transform 160ms cubic-bezier(.2,.8,.2,1),background 130ms ease,border-color 130ms ease,box-shadow 180ms ease!important}
.starter-card:hover,.task-recommendations-v11 button:hover{transform:translateY(-2px)!important;box-shadow:0 8px 24px rgba(24,24,28,.07)!important;border-color:#dedee3!important}

/* Guests get the deliberately smaller temporary workspace promised on sign-in. */
body[data-guest="true"] #projectsButton,body[data-guest="true"] #tasksButton,body[data-guest="true"] #pinnedSection,body[data-guest="true"] #recentSection,body[data-guest="true"] #projectFilterRow{display:none!important}
body[data-guest="true"] .chat-list-scroll{display:none!important}

/* Scheduled modal must never trap a chat selected from the sidebar. */
body:not(.modal-open) .workspace-modal-v11{pointer-events:auto}

@media(prefers-reduced-motion:reduce){[data-tooltip]::after,[data-tooltip]::before{transition:none!important}.starter-card:hover,.task-recommendations-v11 button:hover,.composer-call-button:hover{transform:none!important}}


/* ================================================================
   SenvoAI V0.18.6 — responsive containment + plans + followups
   ================================================================ */

/* Every major flex/grid child is allowed to shrink instead of forcing horizontal
   overflow. Text wraps inside the product; code/tables get their own scroller. */
.app-shell,.main-panel,.conversation,.messages,.message-row,.message-body,
.assistant-content,.modal-card,.settings-content-v10,.plans-modal,.plan-grid,
.plan-card,.owner-plan-admin,.owner-plan-row,.owner-plan-field{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}

.message-user .message-bubble,
.assistant-content,
.assistant-content p,
.assistant-content li,
.assistant-content blockquote,
.assistant-content h1,
.assistant-content h2,
.assistant-content h3,
.assistant-content h4,
.modal-card p,
.setting-row,
.owner-plan-admin p{
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}

.assistant-content pre,
.assistant-content .code-block-wrap{
  max-width:100%!important;
  overflow:auto!important;
}

.assistant-content table{
  display:table!important;
  width:100%!important;
  min-width:560px!important;
  table-layout:auto!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
.assistant-content .table-scroll,
.assistant-content:has(> table){
  max-width:100%!important;
}
.assistant-content table th,
.assistant-content table td{
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  vertical-align:top!important;
}

/* Follow-ups are a latest-answer control, not permanent content under every
   previous reply. They wrap cleanly and never leave the message column. */
.assistant-followups{
  max-width:100%!important;
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  margin-top:11px!important;
  overflow:hidden!important;
}
.assistant-followups.hidden{display:none!important}
.followup-chip{
  max-width:min(100%,360px)!important;
  min-height:34px!important;
  padding:7px 11px!important;
  border:1px solid #e2e2e5!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#4f5056!important;
  font-size:11.5px!important;
  line-height:1.25!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  text-align:left!important;
  transition:background .14s ease,border-color .14s ease,transform .14s ease,color .14s ease!important;
}
.followup-chip:hover{
  background:#f5f5f6!important;
  border-color:#d4d4d8!important;
  color:#17181b!important;
  transform:translateY(-1px)!important;
}
.followup-chip:active{transform:translateY(0) scale(.985)!important}

/* Owner plan administration — self-contained, responsive and visually separate
   from the public plan cards. */
.owner-plan-admin{
  width:100%!important;
  margin-top:18px!important;
  padding:16px!important;
  border:1px solid #e5e5e8!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#fbfbfc,#f7f7f8)!important;
  overflow:hidden!important;
}
.owner-plan-admin-head{
  display:flex!important;
  align-items:flex-start!important;
  gap:11px!important;
  margin-bottom:14px!important;
  min-width:0!important;
}
.owner-plan-admin-icon{
  flex:0 0 34px!important;
  width:34px!important;height:34px!important;
  display:grid!important;place-items:center!important;
  border-radius:10px!important;
  background:#111214!important;color:#fff!important;
}
.owner-plan-admin-icon svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
.owner-plan-admin-head>div{min-width:0!important}
.owner-plan-admin-head strong{display:block!important;font-size:13.5px!important;line-height:1.3!important;color:#222328!important}
.owner-plan-admin-head p{margin:3px 0 0!important;font-size:10.8px!important;line-height:1.45!important;color:#777980!important}
.owner-plan-row{
  width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(130px,170px) auto!important;
  align-items:end!important;
  gap:9px!important;
}
.owner-plan-field{display:flex!important;flex-direction:column!important;gap:5px!important}
.owner-plan-field>span{font-size:9.8px!important;font-weight:620!important;color:#74767d!important}
.owner-plan-row .settings-input{
  width:100%!important;
  min-width:0!important;
  height:42px!important;
  border-radius:12px!important;
  background:#fff!important;
}
.owner-plan-assign{
  min-width:112px!important;
  height:42px!important;
  padding:0 16px!important;
  border-radius:999px!important;
  white-space:nowrap!important;
}
.owner-plan-foot{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  margin-top:11px!important;
}
.owner-plan-foot span{
  padding:4px 7px!important;
  border-radius:999px!important;
  background:#ececef!important;
  color:#74767d!important;
  font-size:9px!important;
  line-height:1!important;
}

/* Prevent the plan modal itself from going wider than the viewport. */
.plans-modal{
  width:min(1060px,calc(100vw - 24px))!important;
  max-height:calc(100dvh - 24px)!important;
  overflow:auto!important;
  overscroll-behavior:contain!important;
}

@media(max-width:760px){
  .owner-plan-row{grid-template-columns:1fr!important}
  .owner-plan-assign{width:100%!important}
  .owner-plan-level{max-width:none!important}
  .assistant-content table{min-width:500px!important}
}
@media(max-width:480px){
  .owner-plan-admin{padding:13px!important;border-radius:15px!important}
  .owner-plan-admin-icon{flex-basis:30px!important;width:30px!important;height:30px!important}
  .assistant-content table{min-width:440px!important}
}

/* Dark-mode equivalents */
body[data-theme="dark"] .owner-plan-admin{background:linear-gradient(180deg,#1d1e22,#191a1e)!important;border-color:#34353b!important}
body[data-theme="dark"] .owner-plan-admin-head strong{color:#f0f1f3!important}
body[data-theme="dark"] .owner-plan-admin-head p,
body[data-theme="dark"] .owner-plan-field>span{color:#a8aab1!important}
body[data-theme="dark"] .owner-plan-foot span{background:#2c2d32!important;color:#b9bbc2!important}
body[data-theme="dark"] .owner-plan-row .settings-input{background:#24252a!important;border-color:#383940!important;color:#f1f2f4!important}

/* Final V0.18.6 table containment: wide data scrolls inside the message, never the page. */
.markdown-table-wrap{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  overscroll-behavior-inline:contain!important;
  -webkit-overflow-scrolling:touch!important;
}
.markdown-table-wrap>.markdown-table{
  width:max(100%,560px)!important;
  max-width:none!important;
}


/* ================================================================
   SenvoAI V0.18.6 — maths, notifications, call personalization
   ================================================================ */

:root{
  --surface-clean:#ffffff;
  --surface-soft:#fafafa;
  --surface-muted:#f5f5f6;
  --line-clean:#e7e7ea;
  --text-main:#202124;
  --text-soft:#74767e;
}

/* Proper maths presentation. KaTeX renders when available; the local fallback
   keeps equations readable if the CDN is blocked/offline. */
.math-inline{
  display:inline-flex!important;
  align-items:baseline!important;
  max-width:100%!important;
  padding:0 .08em!important;
  font-variant-numeric:lining-nums tabular-nums!important;
}
.math-block{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  margin:10px 0!important;
  padding:13px 16px!important;
  border:1px solid var(--line-clean)!important;
  border-radius:14px!important;
  background:var(--surface-soft)!important;
  text-align:center!important;
  box-sizing:border-box!important;
}
.math-display{
  display:inline-block!important;
  min-width:min-content!important;
  color:var(--text-main)!important;
  font-size:1.04em!important;
}
.math-block .katex-display{margin:0!important}
.math-block .katex{font-size:1.08em!important}
.math-inline .katex{font-size:1em!important}
.math-frac{
  display:inline-grid!important;
  grid-template-rows:auto auto!important;
  text-align:center!important;
  vertical-align:middle!important;
  line-height:1.1!important;
}
.math-frac>span:first-child{border-bottom:1px solid currentColor!important;padding:0 .18em .08em!important}
.math-frac>span:last-child{padding:.08em .18em 0!important}
.math-root{display:inline-flex!important;align-items:flex-start!important}
.math-root>span{border-top:1px solid currentColor!important;padding:0 .12em!important}

/* Personalization > Call */
.personalization-call-section{
  margin-top:18px!important;
  padding:15px!important;
  border:1px solid var(--line-clean)!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,#fff,#fafafb)!important;
}
.settings-subsection-head{margin-bottom:4px!important}
.settings-subsection-head h3{margin:2px 0 3px!important;font-size:15px!important}
.settings-subsection-head p{margin:0!important;color:var(--text-soft)!important;font-size:11px!important;line-height:1.45!important}
.settings-range-wrap{display:flex!important;align-items:center!important;gap:9px!important;min-width:170px!important}
.settings-range-wrap input[type="range"]{width:130px!important;accent-color:#111!important}
.settings-range-wrap span{min-width:42px!important;text-align:right!important;font-size:10px!important;color:var(--text-soft)!important;font-variant-numeric:tabular-nums!important}

/* Notifications are grouped and scannable instead of one long undifferentiated list. */
.notifications-modal-card{
  width:min(720px,calc(100vw - 24px))!important;
  max-height:min(760px,calc(100dvh - 24px))!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  padding:0!important;
}
.notifications-modal-head{padding:20px 20px 12px!important;border-bottom:1px solid #ededf0!important}
.notifications-toolbar{
  display:flex!important;
  gap:8px!important;
  padding:10px 20px!important;
  border-bottom:1px solid #f0f0f2!important;
  background:#fcfcfd!important;
}
.notifications-toolbar .secondary-button{min-height:34px!important;padding:0 11px!important;font-size:10px!important}
.notification-groups{
  flex:1!important;
  min-height:0!important;
  overflow:auto!important;
  padding:8px 12px 18px!important;
  background:#fff!important;
}
.notification-group{margin-top:8px!important}
.notification-group-title{
  position:sticky!important;
  top:-8px!important;
  z-index:2!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  padding:9px 8px 7px!important;
  background:rgba(255,255,255,.96)!important;
  backdrop-filter:blur(8px)!important;
  color:#8a8c93!important;
  font-size:9.5px!important;
  font-weight:700!important;
  letter-spacing:.03em!important;
  text-transform:uppercase!important;
}
.notification-item{
  display:grid!important;
  grid-template-columns:7px minmax(0,1fr)!important;
  gap:10px!important;
  margin:5px 0!important;
  padding:13px!important;
  border:1px solid #ececef!important;
  border-radius:14px!important;
  background:#fff!important;
  cursor:default!important;
  transition:transform .14s ease,border-color .14s ease,background .14s ease,box-shadow .14s ease!important;
}
.notification-item[data-task-id]:not([data-task-id=""]){cursor:pointer!important}
.notification-item[data-task-id]:not([data-task-id=""]):hover{
  transform:translateY(-1px)!important;
  border-color:#dcdce1!important;
  box-shadow:0 7px 22px rgba(0,0,0,.045)!important;
}
.notification-item.is-read{background:#fbfbfc!important}
.notification-indicator{width:7px!important;height:7px!important;border-radius:50%!important;background:#8a63ff!important;margin-top:5px!important}
.notification-item.is-read .notification-indicator{background:#d7d7dc!important}
.notification-copy{min-width:0!important}
.notification-item-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important}
.notification-item-head strong{font-size:11.5px!important;color:#26272b!important;overflow-wrap:anywhere!important}
.notification-item-head span{flex:0 0 auto!important;font-size:8.5px!important;color:#8b8d94!important}
.notification-body-v170{margin-top:4px!important;color:#56585f!important;font-size:10.5px!important;line-height:1.5!important}
.notification-copy small{display:block!important;margin-top:7px!important;color:#a0a1a7!important;font-size:9px!important}
.notifications-empty{display:flex!important;min-height:260px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;color:#85878e!important}
.notifications-empty>span{width:40px!important;height:40px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:#f2f2f4!important;color:#4d4f55!important;font-size:16px!important}
.notifications-empty strong{margin-top:10px!important;color:#34353a!important;font-size:13px!important}
.notifications-empty p{max-width:320px!important;margin:4px 0 0!important;font-size:10px!important;line-height:1.45!important}

/* Slightly cleaner light surfaces without flattening the product. */
body:not([data-theme="dark"]){
  background:#fff!important;
  color:var(--text-main)!important;
}
body:not([data-theme="dark"]) .main-panel,
body:not([data-theme="dark"]) .conversation{background:#fff!important}
body:not([data-theme="dark"]) .sidebar{background:#f8f8f9!important}
body:not([data-theme="dark"]) .composer-shell{background:#fff!important;border-color:#e3e3e6!important}
body:not([data-theme="dark"]) .modal-card{border-color:#e4e4e7!important}

/* Dark equivalents */
body[data-theme="dark"] .math-block{background:#1d1e22!important;border-color:#34353b!important}
body[data-theme="dark"] .math-display{color:#f1f2f4!important}
body[data-theme="dark"] .personalization-call-section{background:linear-gradient(180deg,#1e1f23,#191a1e)!important;border-color:#34353b!important}
body[data-theme="dark"] .notification-groups,
body[data-theme="dark"] .notification-group-title{background:#18191d!important}
body[data-theme="dark"] .notifications-toolbar,
body[data-theme="dark"] .notifications-modal-head{background:#1b1c20!important;border-color:#303138!important}
body[data-theme="dark"] .notification-item{background:#1e1f23!important;border-color:#303138!important}
body[data-theme="dark"] .notification-item.is-read{background:#1a1b1f!important}
body[data-theme="dark"] .notification-item-head strong{color:#f0f1f3!important}
body[data-theme="dark"] .notification-body-v170{color:#b7b9c0!important}

@media(max-width:620px){
  .settings-range-wrap{min-width:130px!important}
  .settings-range-wrap input[type="range"]{width:95px!important}
  .notifications-toolbar{padding-inline:14px!important}
  .notification-groups{padding-inline:8px!important}
}

/* ========================================================================== */
/* SenvoAI V0.18.6 — viewport-safe interaction system                    */
/* ========================================================================== */

/* All hover labels are rendered through #globalTooltip. Disable the older
   per-control pseudo tooltips so labels cannot be clipped by topbar/sidebar
   overflow or appear outside the visible app. */
[data-tooltip]::before,
[data-tooltip]::after{display:none!important;content:none!important}

.global-tooltip{
  position:fixed;
  z-index:10000;
  left:0;
  top:0;
  max-width:min(290px,calc(100vw - 20px));
  padding:7px 10px;
  border-radius:9px;
  background:rgba(28,28,30,.96);
  color:#fff;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 8px 28px rgba(0,0,0,.20);
  font-size:10.5px;
  font-weight:600;
  line-height:1.25;
  letter-spacing:.005em;
  text-align:center;
  white-space:normal;
  overflow-wrap:anywhere;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(3px) scale(.985);
  transform-origin:center;
  transition:opacity 105ms ease,transform 135ms cubic-bezier(.2,.8,.2,1),visibility 0s linear 135ms;
}
.global-tooltip.visible{
  opacity:1;
  visibility:visible;
  transform:translateY(0) scale(1);
  transition-delay:0s;
}
.global-tooltip.below{transform-origin:center top}

/* Unified icon-button interaction language. */
.topbar-icon-action,.top-account-button,.composer-tool,.composer-call-button,
.message-action,.section-icon-button,.icon-button,.sidebar-collapse,
.sidebar-reopen,.outline-toggle,.send-button,.stop-button{
  -webkit-tap-highlight-color:transparent;
  outline:none;
  transition:background-color 130ms ease,border-color 130ms ease,color 130ms ease,
             transform 130ms cubic-bezier(.2,.8,.2,1),box-shadow 150ms ease,opacity 130ms ease!important;
}
@media (hover:hover){
  .topbar-icon-action:hover,.top-account-button:hover,.composer-tool:hover,
  .section-icon-button:hover,.icon-button:hover,.sidebar-collapse:hover,
  .sidebar-reopen:hover,.outline-toggle:hover{
    background:#f2f2f3!important;
    color:#202124!important;
  }
}
.topbar-icon-action:active,.top-account-button:active,.composer-tool:active,
.composer-call-button:active,.message-action:active,.section-icon-button:active,
.icon-button:active,.sidebar-collapse:active,.sidebar-reopen:active,
.outline-toggle:active,.send-button:active,.stop-button:active{
  transform:scale(.94)!important;
}
.topbar-icon-action:focus-visible,.top-account-button:focus-visible,.composer-tool:focus-visible,
.composer-call-button:focus-visible,.message-action:focus-visible,.section-icon-button:focus-visible,
.icon-button:focus-visible,.sidebar-collapse:focus-visible,.sidebar-reopen:focus-visible,
.outline-toggle:focus-visible,.send-button:focus-visible,.stop-button:focus-visible,
.effort-button:focus-visible{
  box-shadow:0 0 0 3px rgba(99,87,217,.16)!important;
  border-color:rgba(99,87,217,.42)!important;
}

/* Top-right controls stay fully visible and do not clip hover/focus effects. */
.topbar,.topbar-actions{overflow:visible!important}
.topbar-actions{isolation:isolate}
.notification-button,.top-account-button{position:relative!important;z-index:2}
.notification-button:hover,.notification-button:focus-visible,
.top-account-button:hover,.top-account-button:focus-visible{z-index:4}

/* Small interaction details make buttons feel responsive without becoming noisy. */
.notification-badge{box-shadow:0 0 0 2px #fff,0 2px 8px rgba(0,0,0,.14)!important}
body[data-theme="dark"] .notification-badge{box-shadow:0 0 0 2px #1f2024,0 2px 8px rgba(0,0,0,.38)!important}
button[aria-disabled="true"],button:disabled{cursor:not-allowed!important;opacity:.5!important;transform:none!important}

/* Screen-reader-only helper used by the interaction system. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

body[data-theme="dark"] .global-tooltip{background:rgba(245,245,247,.97);color:#18191c;border-color:rgba(0,0,0,.12);box-shadow:0 8px 28px rgba(0,0,0,.38)}
body[data-theme="dark"] .topbar-icon-action:hover,
body[data-theme="dark"] .top-account-button:hover,
body[data-theme="dark"] .composer-tool:hover,
body[data-theme="dark"] .section-icon-button:hover,
body[data-theme="dark"] .icon-button:hover,
body[data-theme="dark"] .sidebar-collapse:hover,
body[data-theme="dark"] .sidebar-reopen:hover,
body[data-theme="dark"] .outline-toggle:hover{background:#2a2b30!important;color:#f5f5f7!important}

@media(prefers-reduced-motion:reduce){
  .global-tooltip,
  .topbar-icon-action,.top-account-button,.composer-tool,.composer-call-button,
  .message-action,.section-icon-button,.icon-button,.sidebar-collapse,
  .sidebar-reopen,.outline-toggle,.send-button,.stop-button{transition:none!important}
}

/* SenvoAI V0.18.6 — mobile study + touch polish */
@media (max-width: 760px){
  .assistant-content,.user-content,.message-content{overflow-wrap:anywhere;word-break:normal}
  .markdown-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .markdown-table{min-width:520px}
  .composer-shell{border-radius:24px!important}
  .composer-action,.icon-button,.message-action,.sidebar-link,.top-icon-button{min-width:44px;min-height:44px}
  .composer-zone{padding-bottom:max(8px,env(safe-area-inset-bottom))!important}
  .modal-card{max-height:calc(100dvh - 18px)!important}
  .notifications-modal-card{width:calc(100vw - 14px)!important}
}
@media (max-width: 430px){
  .markdown-table{min-width:460px}
  .assistant-content h2,.assistant-content h3{line-height:1.25}
  .assistant-content p,.assistant-content li{line-height:1.62}
}

/* ================================================================
   SenvoAI V0.18.6 — confirmations, rules, code blocks, jump latest
   ================================================================ */

.confirm-action-modal{
  position:fixed!important;
  inset:0!important;
  z-index:1200!important;
  display:grid!important;
  place-items:center!important;
  padding:18px!important;
  background:rgba(20,21,25,.28)!important;
  backdrop-filter:blur(7px)!important;
  animation:confirmBackdropIn .14s ease-out both!important;
}
.confirm-action-modal.closing{animation:confirmBackdropOut .14s ease-in both!important}
.confirm-action-card{
  width:min(430px,calc(100vw - 28px))!important;
  padding:20px!important;
  border:1px solid rgba(0,0,0,.08)!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 22px 70px rgba(0,0,0,.19)!important;
  transform-origin:center!important;
  animation:confirmCardIn .17s cubic-bezier(.2,.8,.2,1) both!important;
}
.confirm-action-modal.closing .confirm-action-card{animation:confirmCardOut .13s ease-in both!important}
.confirm-action-icon{
  width:38px!important;height:38px!important;border-radius:12px!important;
  display:grid!important;place-items:center!important;margin-bottom:14px!important;
  font:700 20px/1 system-ui!important;background:#f1f1f3!important;color:#4b4d53!important;
}
.confirm-action-icon.danger{background:#fff0f0!important;color:#d13d3d!important;border:1px solid #ffdada!important}
.confirm-action-copy h2{margin:0!important;font-size:18px!important;letter-spacing:-.02em!important;color:#202124!important}
.confirm-action-copy p{margin:7px 0 0!important;font-size:12.5px!important;line-height:1.55!important;color:#666870!important}
.confirm-action-buttons{display:flex!important;justify-content:flex-end!important;gap:9px!important;margin-top:20px!important}
.confirm-action-buttons .secondary-button,.confirm-action-buttons .danger-button-wide,.confirm-action-buttons .primary-button{
  min-width:96px!important;height:38px!important;border-radius:11px!important;margin:0!important;padding:0 14px!important;
}
.confirm-action-buttons .danger-button-wide{width:auto!important;background:#17181b!important;color:#fff!important;border:1px solid #17181b!important}
.confirm-action-buttons .danger-button-wide:hover{background:#2a2b2f!important;transform:translateY(-1px)!important}
@keyframes confirmBackdropIn{from{opacity:0}to{opacity:1}}
@keyframes confirmBackdropOut{from{opacity:1}to{opacity:0}}
@keyframes confirmCardIn{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
@keyframes confirmCardOut{from{opacity:1;transform:none}to{opacity:0;transform:translateY(5px) scale(.985)}}

.markdown-rule{
  border:0!important;
  border-top:1px solid #e5e5e8!important;
  margin:22px 0!important;
  height:0!important;
}

/* Python/code presentation: calmer header, clearer language badge and line gutter. */
.assistant-content .code-block{
  border-radius:18px!important;
  border-color:#252a33!important;
  box-shadow:0 14px 34px rgba(17,24,39,.12)!important;
}
.assistant-content .code-block .code-head{
  min-height:46px!important;
  padding:0 12px 0 13px!important;
  background:linear-gradient(180deg,#171a20,#11151a)!important;
}
.code-language-icon{
  width:26px!important;height:26px!important;border-radius:8px!important;
  display:grid!important;place-items:center!important;
  font:750 10px/1 ui-monospace,SFMono-Regular,Consolas,monospace!important;
  letter-spacing:-.03em!important;
  background:#232831!important;color:#d6dbe3!important;border:1px solid #303640!important;
}
.code-language-icon.python{
  background:linear-gradient(135deg,#245b89 0 50%,#d8a81f 50% 100%)!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.08)!important;
  text-shadow:0 1px 2px rgba(0,0,0,.25)!important;
}
.code-block[data-language="python"] .code-lang,.code-block[data-language="py"] .code-lang{color:#edf6ff!important}
.assistant-content .code-block pre{padding:15px 0 17px!important;background:#0c1015!important}
.code-line{min-height:1.68em!important}

/* Jump button stays centered over the composer and never animates sideways. */
.jump-latest{
  transition:opacity .15s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease!important;
  transform:translateX(-50%)!important;
  will-change:opacity!important;
}
.jump-latest:hover{transform:translateX(-50%)!important}

/* Tooltip is only present while its JS target is actually active. */
#globalTooltip:not(.visible){display:none!important;opacity:0!important;visibility:hidden!important}
#globalTooltip.visible{display:block!important;visibility:visible!important}

body[data-theme="dark"] .confirm-action-card{background:#1d1e22!important;border-color:#34363d!important;box-shadow:0 22px 70px rgba(0,0,0,.48)!important}
body[data-theme="dark"] .confirm-action-copy h2{color:#f5f6f7!important}
body[data-theme="dark"] .confirm-action-copy p{color:#b4b7bf!important}
body[data-theme="dark"] .markdown-rule{border-top-color:#33363d!important}

@media(max-width:620px){
  .confirm-action-modal{align-items:end!important;padding:10px!important}
  .confirm-action-card{width:100%!important;border-radius:22px 22px 18px 18px!important;padding:18px!important}
  .confirm-action-buttons{display:grid!important;grid-template-columns:1fr 1fr!important}
  .confirm-action-buttons .secondary-button,.confirm-action-buttons .danger-button-wide,.confirm-action-buttons .primary-button{width:100%!important;min-width:0!important}
  .assistant-content .code-block{border-radius:15px!important}
}

@media(prefers-reduced-motion:reduce){
  .confirm-action-modal,.confirm-action-card,.confirm-action-modal.closing,.confirm-action-modal.closing .confirm-action-card{animation:none!important}
}


/* ========================================================================
   SenvoAI V0.18.6 — expanded media studio + resilient generation
   ======================================================================== */
.media-idea-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;
  padding:12px 13px;border:1px solid #e8e8ec;border-radius:16px;background:#fafafb;
}
.media-idea-head>div{display:grid;gap:3px;min-width:0}
.media-idea-head strong{font-size:12px;color:#222328}
.media-idea-head span{font-size:10px;color:#777a82;line-height:1.45}
.media-idea-head b{font-variant-numeric:tabular-nums;color:#5046d8}
.media-idea-chips{display:flex;gap:7px;overflow-x:auto;padding:1px 1px 4px;scrollbar-width:thin}
.media-idea-chips button{
  flex:0 0 auto;border:1px solid #e5e5e9;background:#fff;color:#4d4f56;border-radius:999px;
  min-height:32px;padding:0 11px;font:inherit;font-size:10px;cursor:pointer;
  transition:transform .14s ease,border-color .14s ease,background .14s ease,box-shadow .14s ease;
}
.media-idea-chips button:hover{transform:translateY(-1px);border-color:#d5d2ff;background:#fbfaff;box-shadow:0 5px 14px rgba(58,46,153,.06)}
.media-control-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.media-control-grid.two-col{grid-template-columns:repeat(2,minmax(0,1fr))}
.media-control-grid .field-label{max-width:none!important;min-width:0}
.media-provider-badge{
  flex:0 0 auto;display:inline-flex;align-items:center;min-height:28px;padding:0 9px;border-radius:999px;
  border:1px solid #e5e5e9;background:#fff;color:#81838a;font-size:9px;font-weight:650;white-space:nowrap;
}
.media-provider-badge.is-ready{color:#137a4d;background:#f1fbf6;border-color:#caecd9}
.media-result-grid{display:grid;grid-template-columns:1fr;gap:10px}
.media-result-grid.multi{grid-template-columns:repeat(2,minmax(0,1fr))}
.media-result-item{min-width:0;border:1px solid #eeeeF1;border-radius:13px;background:#fff;padding:8px}
.media-result-item img,.media-result-item video{width:100%;max-height:420px;object-fit:contain;border-radius:9px;background:#f4f4f5}
.media-result-item a{margin-top:7px!important;text-decoration:none}

body[data-theme="dark"] .media-idea-head{background:#1c1d21;border-color:#33343a}
body[data-theme="dark"] .media-idea-head strong{color:#f0f1f3}
body[data-theme="dark"] .media-idea-chips button,
body[data-theme="dark"] .media-provider-badge,
body[data-theme="dark"] .media-result-item{background:#202126;border-color:#34353b;color:#d9dae0}
body[data-theme="dark"] .media-provider-badge.is-ready{background:#14271e;border-color:#28513c;color:#8ce2b7}
body[data-theme="dark"] .media-result-item img,
body[data-theme="dark"] .media-result-item video{background:#15161a}

@media(max-width:760px){
  .media-control-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .media-idea-head{align-items:center}
}
@media(max-width:500px){
  .media-control-grid,.media-control-grid.two-col{grid-template-columns:1fr}
  .media-result-grid.multi{grid-template-columns:1fr}
  .media-idea-head{flex-direction:column;align-items:stretch}
  .media-idea-head .secondary-button{width:100%}
}


/* SenvoAI V0.19.0 — generated files + schedule editing */
.file-attachment{display:inline-flex!important;align-items:center!important;gap:8px!important;text-decoration:none!important;color:inherit!important;padding:9px 12px!important;border:1px solid rgba(0,0,0,.10)!important;border-radius:12px!important;background:rgba(0,0,0,.025)!important}.file-attachment:hover{background:rgba(0,0,0,.055)!important}.file-attachment-icon{width:24px;height:24px;border-radius:7px;display:grid;place-items:center;background:#111;color:#fff;font-size:13px}.generated-file-download{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid #e2e2e5;border-radius:14px;text-decoration:none;color:inherit;background:#fff}.generated-file-download>span{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#111;color:#fff;font-size:20px}.generated-file-download div{display:flex;flex-direction:column;min-width:0}.generated-file-download strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.generated-file-download small{font-size:12px;color:#7a7a80;margin-top:2px}.generated-file-download:hover{background:#f8f8f9}.scheduled-actions{display:flex!important;gap:5px!important}.task-edit{min-width:48px}.task-form-v167:not(.hidden){animation:senvoraTaskEditIn .16s ease-out}@keyframes senvoraTaskEditIn{from{opacity:.5;transform:translateY(-4px)}to{opacity:1;transform:none}}body[data-theme="dark"] .generated-file-download,body[data-theme="dark"] .file-attachment{background:#232326!important;border-color:#3a3a3f!important;color:#f0f0f2!important}body[data-theme="dark"] .generated-file-download:hover,body[data-theme="dark"] .file-attachment:hover{background:#2b2b2f!important}
@media(max-width:720px){.scheduled-actions{opacity:1!important;grid-column:2/-1;justify-content:flex-start;margin-top:4px}.scheduled-row-v167{grid-template-columns:40px minmax(0,1fr) 10px!important}.generated-file-download{padding:12px 13px}}


/* SenvoAI V0.19.0 — mobile resilience, maintenance banner and reply feedback */
.maintenance-announcement{position:fixed;z-index:500;top:max(10px,env(safe-area-inset-top));left:50%;transform:translate(-50%,-18px) scale(.985);max-width:min(720px,calc(100vw - 28px));padding:11px 16px;border:1px solid rgba(0,0,0,.10);border-radius:14px;background:rgba(24,24,27,.96);color:#fff;font-size:13px;font-weight:650;line-height:1.35;box-shadow:0 14px 44px rgba(0,0,0,.20);opacity:0;pointer-events:none;transition:opacity .24s ease,transform .24s ease;backdrop-filter:blur(16px)}
.maintenance-announcement.visible{opacity:1;transform:translate(-50%,0) scale(1)}
.sidebar-scrim{display:none;position:fixed;inset:0;z-index:39;border:0;background:rgba(0,0,0,.24);opacity:0;transition:opacity .2s ease;padding:0}
.reply-feedback-pulse .composer-card{animation:senvoraReplyPulse .18s ease-out}
@keyframes senvoraReplyPulse{0%{box-shadow:0 0 0 0 rgba(99,102,241,.20)}50%{box-shadow:0 0 0 4px rgba(99,102,241,.10)}100%{box-shadow:var(--composer-shadow,0 8px 30px rgba(0,0,0,.07))}}

@media (max-width:760px){
  html,body{width:100%;max-width:100%;overflow:hidden!important;overscroll-behavior:none}
  .app-shell,.main-panel{width:100vw!important;max-width:100vw!important;height:var(--app-height,100dvh)!important;min-height:0!important}
  .main-panel{margin:0!important;overflow:hidden!important}
  .sidebar{z-index:41!important;width:min(88vw,340px)!important;max-width:340px!important;min-width:0!important;transform:translateX(-104%)!important;will-change:transform;transition:transform .22s cubic-bezier(.2,.8,.2,1)!important;padding-left:env(safe-area-inset-left)!important}
  .app-shell.mobile-sidebar-open .sidebar{transform:translateX(0)!important}
  .app-shell.mobile-sidebar-open .sidebar-scrim,.sidebar-scrim.visible{display:block!important;opacity:1!important}
  .sidebar-reopen{display:grid!important;position:relative!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;flex:0 0 auto!important}
  .app-shell.mobile-sidebar-open .sidebar-reopen{opacity:0!important;pointer-events:none!important}
  .collapsed-sidebar-rail{display:none!important}
  .topbar{width:100%!important;min-width:0!important;padding-left:max(12px,env(safe-area-inset-left))!important;padding-right:max(12px,env(safe-area-inset-right))!important;gap:8px!important}
  .topbar-left,.topbar-title-wrap,.experience-switch{min-width:0!important}
  .topbar-title{max-width:42vw!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .conversation{width:100%!important;max-width:100%!important;padding-left:max(12px,env(safe-area-inset-left))!important;padding-right:max(12px,env(safe-area-inset-right))!important;overscroll-behavior-y:contain!important}
  .messages,.message-row,.message-inner,.assistant-content{max-width:100%!important;min-width:0!important}
  .message-user .message-bubble{max-width:min(88vw,680px)!important;overflow-wrap:anywhere!important}
  .assistant-content img,.message-attachment img,.generated-media img,.media-result-item img{max-width:100%!important;height:auto!important;object-fit:contain!important}
  .assistant-content table{display:block!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
  .composer-zone{left:max(10px,env(safe-area-inset-left))!important;right:max(10px,env(safe-area-inset-right))!important;width:auto!important;max-width:none!important;bottom:max(8px,env(safe-area-inset-bottom))!important}
  .composer-card{width:100%!important;max-width:100%!important;min-width:0!important;border-radius:25px!important}
  #messageInput{font-size:16px!important;line-height:1.42!important;max-height:31dvh!important}
  .starter-grid{grid-template-columns:1fr!important;width:100%!important;max-width:100%!important}
  .modal-card,.workspace-modal-v11,.settings-center-v10,.media-studio-card{max-width:calc(100vw - 16px)!important;max-height:calc(var(--app-height,100dvh) - 16px)!important}
  .report-bug-card-v11{width:calc(100vw - 16px)!important;max-height:calc(var(--app-height,100dvh) - 18px)!important;border-radius:18px!important}
  .maintenance-announcement{top:max(8px,env(safe-area-inset-top));max-width:calc(100vw - 18px);font-size:12px;padding:10px 13px}
}


/* SenvoAI V0.19.1 — explicit mobile Menu button + resilient sidebar affordance */
.mobile-sidebar-button{display:none;border:0;background:transparent;color:var(--text,#252525);height:38px;min-width:38px;border-radius:10px;align-items:center;justify-content:center;gap:7px;padding:0 9px;font:inherit;font-size:12px;font-weight:650;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.mobile-sidebar-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.mobile-sidebar-button:active{background:rgba(0,0,0,.07);transform:scale(.97)}
body[data-theme="dark"] .mobile-sidebar-button{color:#f2f2f3}
body[data-theme="dark"] .mobile-sidebar-button:active{background:rgba(255,255,255,.10)}
@media(max-width:760px){
  .mobile-sidebar-button{display:inline-flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;position:relative!important;z-index:4!important;flex:0 0 auto!important}
  .app-shell.mobile-sidebar-open .mobile-sidebar-button{opacity:0!important;pointer-events:none!important}
  .sidebar-reopen{display:none!important}
  .topbar-left{gap:6px!important}
  .topbar-title{max-width:38vw!important}
}
@media(max-width:410px){
  .mobile-sidebar-button{width:38px!important;min-width:38px!important;padding:0!important}
  .mobile-sidebar-button span{display:none!important}
  .topbar-title{max-width:35vw!important}
}
@media(prefers-reduced-motion:reduce){.mobile-sidebar-button{transition:none!important}}


/* SenvoAI V0.20.2 — restart-safe mobile shell + native scrolling/keyboard fixes */
html.legal-html,html.legal-html body.legal-body{
  width:100%!important;
  height:auto!important;
  min-height:100%!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior-y:auto!important;
  -webkit-overflow-scrolling:touch!important;
  touch-action:pan-y!important;
}
html.legal-html body.legal-body{position:relative!important;inset:auto!important;min-height:100dvh!important}
html.legal-html .legal-layout,html.legal-html .release-feed-v10,html.legal-html .release-feed-v162{overflow:visible!important;touch-action:pan-y!important}

@media(max-width:760px){
  html{width:100%!important;height:100%!important;overflow:hidden!important;background:var(--surface,#fff)!important}
  body.senvora-app-body{
    position:fixed!important;
    inset:0!important;
    width:100%!important;
    height:var(--app-height,100dvh)!important;
    min-height:0!important;
    overflow:hidden!important;
    overscroll-behavior:none!important;
    touch-action:manipulation!important;
    -webkit-text-size-adjust:100%!important;
  }
  body.senvora-app-body .app-shell,
  body.senvora-app-body .main-panel{height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important}
  body.senvora-app-body .conversation{
    min-height:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-y:contain!important;
    touch-action:pan-y!important;
    scroll-behavior:auto!important;
  }
  body.senvora-app-body .sidebar,
  body.senvora-app-body .sidebar-scroll-body,
  body.senvora-app-body .chat-list-scroll{
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-y:contain!important;
    touch-action:pan-y!important;
  }
  body.senvora-app-body .sidebar-scroll-body{overflow-y:auto!important;min-height:0!important}
  body.senvora-app-body .chat-list-scroll{overflow-y:auto!important;min-height:120px!important}
  body.senvora-app-body .modal-card,
  body.senvora-app-body .workspace-modal-v11,
  body.senvora-app-body .settings-content-v10,
  body.senvora-app-body .notifications-list,
  body.senvora-app-body .notification-list,
  body.senvora-app-body .media-studio-card,
  body.senvora-app-body .task-workspace-body,
  body.senvora-app-body .scheduled-workspace-v167{
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-y:contain!important;
    touch-action:pan-y!important;
  }
  body.senvora-app-body .composer-zone{
    transform:translateZ(0)!important;
    will-change:bottom!important;
    padding-bottom:max(8px,env(safe-area-inset-bottom))!important;
  }
  body.senvora-app-body #messageInput{
    font-size:16px!important;
    touch-action:manipulation!important;
    scroll-margin:0!important;
    -webkit-user-select:text!important;
    user-select:text!important;
  }
  body.senvora-app-body.mobile-composer-focused .conversation{scroll-behavior:auto!important}
  html.mobile-keyboard-visible body.senvora-app-body .composer-zone{padding-bottom:6px!important}
  body.senvora-app-body button,
  body.senvora-app-body [role="button"],
  body.senvora-app-body .sidebar-nav{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
  body.senvora-app-body .mobile-sidebar-button{min-width:44px!important;min-height:44px!important}
  body.senvora-app-body .sidebar-scrim{touch-action:none!important}
}

/* Legal/support pages intentionally override the app-only mobile lock above. */
@media(max-width:760px){
  html.legal-html{height:auto!important;min-height:100%!important;overflow-y:auto!important;overflow-x:hidden!important}
  html.legal-html body.legal-body{position:relative!important;height:auto!important;min-height:100dvh!important;overflow-y:auto!important;overflow-x:hidden!important;touch-action:pan-y!important}
  html.legal-html .legal-layout-v162{padding-bottom:max(70px,calc(36px + env(safe-area-inset-bottom)))!important}
}

/* -------------------------------------------------------------------------
   V0.20.2 — Region, local currency and saved-location setup
   ------------------------------------------------------------------------- */
.region-settings-panel{max-width:760px!important}
.region-summary-card{display:flex;align-items:center;gap:13px;padding:15px 16px;margin:4px 0 18px;border:1px solid var(--line,#e3e4e8);border-radius:16px;background:var(--panel,#fafafa)}
.region-summary-card>div:last-child{display:flex;flex-direction:column;gap:3px;min-width:0}.region-summary-card strong{font-size:14px}.region-summary-card span{font-size:11px;color:var(--text-soft,#73757c)}
.region-flag-orb{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#eeeefa;font-size:18px;flex:0 0 auto}
.region-field{display:flex;flex-direction:column;gap:7px;margin:14px 0}.region-field>span{font-size:12px;font-weight:650}.region-field>span em{font-style:normal;font-weight:500;color:var(--text-soft,#777)}.region-field>small{font-size:10.5px;line-height:1.45;color:var(--text-soft,#777)}
.region-field .senvora-select{width:100%}.region-field .senvora-select-button{width:100%!important;min-height:44px!important;justify-content:space-between!important;text-align:left!important}
.region-currency-card{display:flex;flex-direction:column;gap:4px;padding:13px 15px;border:1px solid var(--line,#e3e4e8);border-radius:14px;background:var(--panel,#fafafa)}.region-currency-card>span{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-soft,#777)}.region-currency-card>strong{font-size:18px}.region-currency-card>small{font-size:10.5px;line-height:1.45;color:var(--text-soft,#777)}
.region-location-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:10px 0 18px}.region-location-status{font-size:10.5px;color:var(--text-soft,#777);line-height:1.4;flex:1;min-width:180px}
.region-onboarding-modal{z-index:120!important;background:rgba(16,17,20,.46)!important;backdrop-filter:blur(10px)}
.region-onboarding-card{width:min(520px,calc(100vw - 28px))!important;max-height:min(720px,calc(var(--app-height,100dvh) - 28px))!important;overflow:auto!important;padding:28px!important;border-radius:24px!important;box-shadow:0 28px 90px rgba(0,0,0,.22)!important}
.region-onboarding-logo{display:flex;align-items:center;gap:9px;margin-bottom:22px}.region-onboarding-logo img{width:32px;height:32px;border-radius:9px}.region-onboarding-logo span{font-weight:760;font-size:14px}.region-onboarding-card h2{margin:6px 0 8px;font-size:27px;letter-spacing:-.03em}.region-onboarding-card>p{margin:0 0 18px;color:var(--text-soft,#6f7178);font-size:12px;line-height:1.55}.onboarding-region-field{margin:13px 0}.onboarding-currency-card{margin:10px 0 14px}.region-onboarding-location{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0 18px}.region-onboarding-location span{font-size:10.5px;color:var(--text-soft,#777);line-height:1.4;flex:1;min-width:180px}.region-onboarding-save{width:100%!important;min-height:46px!important;margin-top:2px}.region-onboarding-note{display:block;text-align:center;margin-top:11px;color:var(--text-soft,#777);font-size:10px;line-height:1.4}
body[data-theme="dark"] .region-summary-card,body[data-theme="dark"] .region-currency-card{background:#25262a;border-color:#3a3b41}body[data-theme="dark"] .region-flag-orb{background:#30313a}body[data-theme="dark"] .region-onboarding-card{background:#202124;color:#f5f5f7}
@media(max-width:760px){.region-onboarding-card{width:calc(100vw - 18px)!important;max-height:calc(var(--app-height,100dvh) - 18px)!important;padding:22px 18px calc(20px + env(safe-area-inset-bottom))!important;border-radius:22px!important}.region-onboarding-card h2{font-size:24px}.region-location-actions,.region-onboarding-location{align-items:stretch;flex-direction:column}.region-location-actions .secondary-button,.region-onboarding-location .secondary-button{width:100%!important}.region-location-status,.region-onboarding-location span{min-width:0;width:100%}.region-field .settings-input{font-size:16px!important}.region-currency-card>strong{font-size:17px}}

/* ========================================================================== */
/* SenvoAI V0.20.2 — mobile interaction + responsive answer hardening     */
/* ========================================================================== */
@media (max-width:760px){
  html,body{overscroll-behavior:none}
  body.senvora-app-body{touch-action:manipulation}
  .topbar,.mobile-sidebar-button,.composer-zone,.composer-card,.composer-toolbar,
  .starter-grid,.starter-card,.assistant-followups,.message-actions,
  .call-controls,.call-options,.settings-center-v10{pointer-events:auto!important}
  button,a,input,textarea,select,[role="button"]{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
  .modal.hidden,.popover.hidden,.plus-menu.hidden,.effort-menu.hidden{display:none!important;pointer-events:none!important}

  /* Welcome suggestions must stay visible and tappable between greeting and composer. */
  .app-shell.welcome-mode .welcome-view{
    justify-content:flex-start!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    padding:clamp(112px,15vh,170px) 14px 215px!important;
    min-height:100%!important;
  }
  .app-shell.welcome-mode .welcome-view h1{margin:0!important;text-align:center!important}
  .app-shell.welcome-mode .welcome-view>.starter-grid{
    display:grid!important;grid-template-columns:1fr!important;
    width:min(100%,560px)!important;margin:30px auto 0!important;
    padding:0 0 20px!important;max-height:none!important;overflow:visible!important;
    position:relative!important;z-index:3!important;gap:8px!important;
  }
  .app-shell.welcome-mode .starter-grid::before{display:none!important;content:none!important}
  .starter-card,.starter-grid button{display:grid!important;min-height:64px!important;width:100%!important;position:relative!important;z-index:4!important;pointer-events:auto!important}

  .composer-card button,.composer-tool,.composer-call-button,.send-button,.stop-button{min-width:44px!important;min-height:44px!important;pointer-events:auto!important;position:relative!important;z-index:5!important}
  .composer-right-tools{position:relative!important;z-index:6!important;pointer-events:auto!important}
  .voice-input-bar{z-index:80!important}

  /* Tables stay inside the phone instead of widening the whole conversation. */
  .markdown-table-wrap{display:block!important;max-width:100%!important;width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-x pan-y!important}
  .markdown-table-wrap>.markdown-table,.markdown-table{min-width:460px!important;width:max-content!important;max-width:none!important;font-size:12.5px!important}
  .markdown-table th,.markdown-table td{padding:9px 10px!important;white-space:normal!important;min-width:94px!important;vertical-align:top!important}

  /* Call controls remain finger-sized and scroll cleanly on short screens. */
  .call-modal .modal-card{max-height:calc(100dvh - 12px)!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important}
  .call-control-button{min-width:52px!important;min-height:52px!important;touch-action:manipulation!important}
  .call-transcript{overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important}
  .assistant-followups{display:flex!important;flex-wrap:wrap!important;gap:7px!important;overflow:visible!important}
  .assistant-followups button{min-height:42px!important;max-width:100%!important;white-space:normal!important;text-align:left!important}
}


/* V0.20.2 — resilient tables, map results and mobile Settings */
.markdown-table-wrap{max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-x:contain!important;border:1px solid var(--ui-border,#e4e4e7)!important;border-radius:16px!important;margin:14px 0!important;background:var(--ui-surface,#fff)!important}
.markdown-table{width:max-content!important;min-width:100%!important;border-collapse:separate!important;border-spacing:0!important;table-layout:auto!important}
.markdown-table th,.markdown-table td{min-width:120px!important;max-width:380px!important;white-space:normal!important;overflow-wrap:anywhere!important;vertical-align:top!important}
.school-map-preview{position:relative;width:100%;height:190px;border-radius:16px;overflow:hidden;border:1px solid var(--ui-border,#e4e4e7);background:#eceff1;margin:12px 0}
.school-map-preview iframe{display:block;width:100%;height:100%;border:0;pointer-events:auto}
.school-map-badge{position:absolute;top:10px;left:10px;background:rgba(255,255,255,.94);color:#222;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:700;box-shadow:0 2px 10px rgba(0,0,0,.12)}
.school-results-list{display:grid;gap:4px}.school-result{display:grid!important;grid-template-columns:34px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important}.school-map-link{white-space:nowrap;text-decoration:none;color:inherit;border:1px solid var(--ui-border,#ddd);border-radius:999px;padding:7px 10px;font-size:12px;font-weight:650}.school-map-link:active{transform:scale(.97)}
body[data-theme="dark"] .school-map-badge{background:rgba(35,35,35,.94);color:#f3f3f3}

@media(max-width:760px){
  .settings-center-v10{width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;inset:0!important}
  .settings-sidebar-v10{max-height:none!important;min-height:0!important;height:auto!important;display:grid!important;grid-template-columns:1fr!important;align-items:stretch!important;overflow:visible!important;padding:calc(8px + env(safe-area-inset-top)) 10px 8px!important;background:var(--ui-sidebar-bg,#f7f7f8)!important;position:sticky!important;top:0!important;z-index:12!important}
  .settings-search{display:flex!important;width:100%!important;min-height:42px!important;order:-2!important;margin:0 0 7px!important;flex:0 0 auto!important}
  .settings-search input{min-width:0!important;width:100%!important;font-size:16px!important}
  .settings-sidebar-v10::after{content:"";display:block;order:-1;height:0}
  .settings-sidebar-v10 .settings-nav{display:none!important}
  .settings-sidebar-v10:focus-within .settings-nav,.settings-sidebar-v10.mobile-search-open .settings-nav{display:flex!important;width:100%!important;min-width:0!important;height:40px!important;margin:2px 0!important}
  .settings-content-v10{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;padding:18px 14px calc(104px + env(safe-area-inset-bottom))!important}
  .settings-panel-heading{padding-right:42px!important}.settings-panel-heading h2{font-size:25px!important}.settings-panel-heading p{font-size:13px!important;line-height:1.45!important}
  .region-settings-panel .region-field,.region-settings-panel .region-currency-card,.region-settings-panel .region-summary-card{width:100%!important;min-width:0!important}
  .region-settings-panel .settings-input{width:100%!important;max-width:100%!important;font-size:16px!important}
  .region-location-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}.region-location-actions .secondary-button{width:100%!important;min-height:44px!important}
  .school-map-preview{height:170px}.school-result{grid-template-columns:32px minmax(0,1fr)!important}.school-map-link{grid-column:2!important;width:max-content!important;margin-top:3px!important}
  .markdown-table th,.markdown-table td{min-width:135px!important;max-width:260px!important;font-size:13px!important;padding:10px 11px!important}
}

/* V0.20.2 mobile Settings category strip: search stays visible; categories scroll below it. */
@media(max-width:760px){
  .settings-sidebar-v10{display:grid!important;grid-template-columns:repeat(14,max-content)!important;grid-template-rows:auto auto!important;grid-auto-flow:row!important;column-gap:4px!important;row-gap:5px!important;max-height:112px!important;overflow-x:auto!important;overflow-y:hidden!important;align-items:center!important}
  .settings-search{display:flex!important;grid-column:1/-1!important;grid-row:1!important;position:sticky!important;left:0!important;z-index:3!important;width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;margin:0!important;background:var(--ui-sidebar-bg,#f7f7f8)!important}
  .settings-sidebar-v10 .settings-nav{display:flex!important;grid-row:2!important;width:auto!important;min-width:max-content!important;height:38px!important;margin:0!important}
  .settings-sidebar-v10 .settings-nav.search-hidden{display:none!important}
}

/* ========================================================================== */
/* SenvoAI V0.20.2 — mobile-first Settings, Railway persistence + Call    */
/* ========================================================================== */
.device-scope-hidden{display:none!important}
.storage-status-card.storage-ok{border-color:#cfe8da!important;background:#f5fbf7!important}
.storage-status-card.storage-warning{border-color:#f0d2a7!important;background:#fff9ef!important}
.storage-status-card.storage-ok .settings-info-icon{background:#e8f7ee!important;color:#16794d!important}
.storage-status-card.storage-warning .settings-info-icon{background:#fff0d7!important;color:#9b5e08!important}
.storage-import-section{margin-top:18px!important;padding:16px!important;border:1px solid var(--border,#e5e5e8)!important;border-radius:16px!important;background:var(--surface-2,#fafafa)!important}
.storage-import-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0 10px}.storage-import-actions .muted{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:320px}
.mobile-settings-hero{display:flex;flex-direction:column;gap:4px;margin:4px 0 12px;padding:15px 16px;border:1px solid #e3e4ea;border-radius:16px;background:linear-gradient(135deg,#f8f8ff,#f7f8fa)}
.mobile-settings-hero>span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#6d63d9;font-weight:750}.mobile-settings-hero>strong{font-size:16px}.mobile-settings-hero>p{margin:2px 0 0;color:var(--text-soft,#6f7178);font-size:11px;line-height:1.5}
.mobile-device-help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}.mobile-device-help-grid>div{padding:12px;border:1px solid var(--border,#e5e5e8);border-radius:13px;background:var(--surface-2,#fafafa);display:flex;flex-direction:column;gap:4px}.mobile-device-help-grid b{font-size:11.5px}.mobile-device-help-grid span{font-size:10px;line-height:1.42;color:var(--text-soft,#74767c)}
body[data-theme="dark"] .storage-status-card.storage-ok{background:#18271f!important;border-color:#2f5540!important}body[data-theme="dark"] .storage-status-card.storage-warning{background:#2b2417!important;border-color:#5c4725!important}body[data-theme="dark"] .storage-import-section,body[data-theme="dark"] .mobile-device-help-grid>div{background:#232428!important;border-color:#383a40!important}body[data-theme="dark"] .mobile-settings-hero{background:linear-gradient(135deg,#262631,#22242a)!important;border-color:#3b3b48!important}

@media(max-width:760px){
  /* Settings becomes a true phone screen, not a squeezed desktop dialog. */
  #settingsModal{padding:0!important;align-items:stretch!important;justify-content:stretch!important;background:var(--surface,#fff)!important}
  .settings-center-v10{width:100vw!important;height:var(--app-height,100dvh)!important;max-width:100vw!important;max-height:var(--app-height,100dvh)!important;border-radius:0!important;border:0!important;box-shadow:none!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
  .settings-x{position:fixed!important;top:calc(8px + env(safe-area-inset-top))!important;right:10px!important;left:auto!important;width:44px!important;height:44px!important;z-index:30!important;border-radius:13px!important;background:var(--surface,#fff)!important}
  .settings-sidebar-v10{flex:0 0 auto!important;position:relative!important;top:auto!important;width:100%!important;max-height:126px!important;display:grid!important;grid-template-columns:repeat(20,max-content)!important;grid-template-rows:auto auto!important;gap:6px 5px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:calc(9px + env(safe-area-inset-top)) 62px 9px 10px!important;border:0!important;border-bottom:1px solid var(--border,#e8e8eb)!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-x:contain!important;background:var(--ui-sidebar-bg,#f7f7f8)!important}
  .settings-sidebar-v10::-webkit-scrollbar{display:none!important}
  .settings-search{grid-column:1/-1!important;grid-row:1!important;position:sticky!important;left:0!important;width:calc(100vw - 82px)!important;max-width:calc(100vw - 82px)!important;height:44px!important;min-height:44px!important;margin:0!important;border-radius:14px!important;background:var(--surface,#fff)!important;z-index:5!important}
  .settings-search input{font-size:16px!important;line-height:1.2!important}
  .settings-sidebar-v10 .settings-nav{grid-row:2!important;display:inline-flex!important;width:auto!important;min-width:max-content!important;height:40px!important;min-height:40px!important;padding:0 13px!important;margin:0!important;border:1px solid transparent!important;border-radius:999px!important;font-size:12px!important;touch-action:manipulation!important}
  .settings-sidebar-v10 .settings-nav.active{border-color:#d9d9df!important;background:var(--surface,#fff)!important;box-shadow:0 1px 4px rgba(0,0,0,.05)!important}
  .settings-sidebar-v10 .settings-nav .settings-line-icon{display:none!important}
  .settings-sidebar-v10 .settings-nav.device-scope-hidden,.settings-sidebar-v10 .settings-nav.search-hidden{display:none!important}
  .settings-content-v10{flex:1 1 auto!important;min-height:0!important;width:100%!important;overflow-y:auto!important;overflow-x:hidden!important;padding:18px 14px calc(112px + env(safe-area-inset-bottom))!important;-webkit-overflow-scrolling:touch!important;scroll-behavior:auto!important;touch-action:pan-y!important}
  .settings-panel-v10.device-scope-hidden{display:none!important}
  .settings-panel-v10.active{display:block!important;width:100%!important;max-width:100%!important}
  .settings-panel-heading{padding-right:0!important;margin-bottom:12px!important}.settings-panel-heading h2,.settings-panel-v10>h2{font-size:24px!important;line-height:1.15!important}.settings-panel-heading p,.settings-lead{font-size:12px!important;line-height:1.5!important}
  .setting-row{min-height:70px!important;padding:13px 2px!important;gap:12px!important;align-items:center!important}.setting-row>div:first-child{max-width:65%!important;padding-right:4px!important}.setting-row strong{font-size:13px!important}.setting-row span{font-size:10.8px!important;line-height:1.42!important}
  .settings-compact,.setting-row>.senvora-select,.setting-row>.senvora-select .senvora-select-button{min-width:120px!important;max-width:44vw!important;min-height:42px!important;font-size:16px!important}
  .settings-save-bar{position:fixed!important;left:0!important;right:0!important;bottom:0!important;min-height:72px!important;padding:10px max(14px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))!important;background:color-mix(in srgb,var(--surface,#fff) 94%,transparent)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;z-index:25!important}.settings-save-bar .primary-button{width:100%!important;min-height:46px!important}.settings-save-bar .settings-unsaved-hint,.settings-save-bar .secondary-button{display:none!important}
  .mobile-device-help-grid{grid-template-columns:1fr!important}.storage-import-actions{align-items:stretch!important;flex-direction:column!important}.storage-import-actions .secondary-button,#importStorageBackupButton{width:100%!important;min-height:46px!important}.storage-import-actions .muted{max-width:100%!important;white-space:normal!important}
  /* Desktop keyboard shortcuts are intentionally absent on a phone. */
  .desktop-settings-only{display:none!important}
  .mobile-settings-only{display:block!important}

  /* Voice Call is a stable full-screen phone experience with large controls. */
  #callModal{padding:0!important;background:#111318!important;align-items:stretch!important;justify-content:stretch!important}
  .live-call-card{width:100vw!important;height:var(--app-height,100dvh)!important;max-width:100vw!important;max-height:var(--app-height,100dvh)!important;border-radius:0!important;border:0!important;padding:calc(10px + env(safe-area-inset-top)) 14px calc(14px + env(safe-area-inset-bottom))!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important}
  .call-topbar{position:sticky!important;top:0!important;z-index:8!important;background:linear-gradient(180deg,rgba(17,19,24,.98),rgba(17,19,24,.86),transparent)!important;padding-bottom:9px!important}
  .call-hero{padding-top:4px!important}.call-orb{transform:scale(.88)!important;margin-block:-6px!important}.call-transcript{min-height:120px!important;max-height:none!important;flex:1 1 auto!important}
  .call-controls{position:sticky!important;bottom:0!important;z-index:9!important;padding:10px 4px!important;background:linear-gradient(0deg,rgba(17,19,24,.98),rgba(17,19,24,.90),transparent)!important}.call-control-button{width:58px!important;height:58px!important;min-width:58px!important;min-height:58px!important}
  .call-options{padding-bottom:8px!important}

  /* Keep the composer and message surface inside iPhone safe areas. */
  .topbar{padding-top:env(safe-area-inset-top)!important;height:calc(54px + env(safe-area-inset-top))!important;min-height:calc(54px + env(safe-area-inset-top))!important}
  .conversation{padding-bottom:calc(var(--composer-h,108px) + 26px + env(safe-area-inset-bottom))!important}
  .composer-zone{bottom:0!important;padding:6px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))!important;background:linear-gradient(180deg,transparent 0%,var(--surface,#fff) 24%)!important}
  #messageInput{font-size:16px!important;min-height:24px!important;max-height:28dvh!important}
}

@media(max-width:430px){
  .setting-row{align-items:stretch!important;flex-direction:column!important;gap:8px!important}.setting-row>div:first-child{max-width:100%!important;width:100%!important}.setting-row>.senvora-select,.setting-row>.settings-compact,.setting-row>select,.setting-row>button{width:100%!important;max-width:100%!important;margin-left:0!important}.setting-row>.switch-v10{align-self:flex-end!important}
  .accent-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* V0.20.2 final mobile shell hardening */
@media(max-width:760px){
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  .app-shell,.main-panel,.main-area,.conversation,.messages,.message-row,.message-body,.assistant-content{min-width:0!important;max-width:100%!important}
  .main-panel{width:100%!important;overflow:hidden!important}
  .messages{padding-left:max(10px,env(safe-area-inset-left))!important;padding-right:max(10px,env(safe-area-inset-right))!important}
  .assistant-content,.message-body{overflow-wrap:anywhere!important;word-break:normal!important}
  .assistant-content pre,.assistant-content code{max-width:100%!important}
  .assistant-content pre{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
  .assistant-followups{display:grid!important;grid-template-columns:1fr!important;width:100%!important;gap:7px!important}
  .assistant-followups button{width:100%!important;min-width:0!important;justify-content:flex-start!important}
  .starter-grid{width:100%!important;max-width:100%!important;gap:8px!important}
  .starter-card{width:100%!important;max-width:100%!important;min-width:0!important;touch-action:manipulation!important}
  .modal:not(#settingsModal):not(#callModal){padding:max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom))!important}
  .modal:not(#settingsModal):not(#callModal)>.modal-card{width:min(100%,calc(100vw - 16px))!important;max-width:100%!important;max-height:calc(var(--app-height,100dvh) - 16px)!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important}
  button,.icon-button,.secondary-button,.primary-button,.sidebar-link,.settings-nav{touch-action:manipulation!important;-webkit-tap-highlight-color:transparent}
  input,textarea,select{font-size:16px!important}
  .workspace-modal-v11,.legal-card,.help-card{overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important}
  .markdown-table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important;touch-action:pan-x pan-y!important}
  .school-map-preview iframe{touch-action:pan-x pan-y!important}
}

/* ========================================================================== */
/* SenvoAI V0.20.2 — mobile navigation, sources, region, effort + auth   */
/* ========================================================================== */
.oauth-brand{width:27px!important;height:27px!important;border:0!important;background:transparent!important;border-radius:7px!important;display:inline-grid!important;place-items:center!important;flex:0 0 auto!important}
.oauth-brand svg{width:21px!important;height:21px!important;display:block!important}
.oauth-github{color:#181717!important}.auth-attention-link{font-weight:750!important;text-decoration:underline!important;text-underline-offset:3px!important}

.region-country-picker{display:grid;gap:8px}.region-country-search{height:42px;border:1px solid var(--border,#dedee3);border-radius:12px;background:var(--surface,#fff);display:flex!important;align-items:center!important;gap:8px!important;padding:0 11px!important}
.region-country-search>span{font-size:15px!important;color:var(--text-faint,#999)!important}.region-country-search input{width:100%;min-width:0;border:0!important;outline:0!important;background:transparent!important;color:var(--text,#252525)!important;font:inherit!important;font-size:16px!important;padding:0!important}
body[data-theme="dark"] .region-country-search{background:#202124;border-color:#3a3a3d}

.owner-update-action{background:linear-gradient(135deg,rgba(103,84,255,.09),rgba(68,202,184,.08))!important;border:1px solid rgba(103,84,255,.15)!important}.owner-update-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:1px}.owner-update-copy strong{font-size:11.5px}.owner-update-copy small{font-size:9px;color:var(--text-faint,#8c8f99);white-space:normal;line-height:1.25}

.mobile-sidebar-hint{display:none;position:fixed;z-index:180;top:calc(env(safe-area-inset-top,0px) + 66px);left:12px;max-width:min(320px,calc(100vw - 24px));padding:9px 11px 9px 9px;border:1px solid rgba(80,80,90,.13);border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 12px 34px rgba(22,23,28,.15);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);align-items:center;gap:8px;font-size:10.5px;font-weight:620;line-height:1.25;animation:senvoraHintIn .26s cubic-bezier(.2,.8,.2,1)}
.mobile-sidebar-hint:not(.hidden){display:flex}.mobile-sidebar-hint.leaving{opacity:0;transform:translateY(-5px);transition:.22s ease}.mobile-sidebar-hint-icon{width:28px;height:28px;border-radius:9px;background:#f1f0ff;color:#5d50e8;display:grid;place-items:center;font-size:14px;flex:0 0 auto}
@keyframes senvoraHintIn{from{opacity:0;transform:translateY(-8px) scale(.97)}to{opacity:1;transform:none}}
@keyframes senvoraMenuPulse{0%,100%{box-shadow:0 0 0 0 rgba(103,84,255,0)}45%{box-shadow:0 0 0 8px rgba(103,84,255,.12);background:rgba(103,84,255,.08)}}
.mobile-sidebar-button.menu-pulse{animation:senvoraMenuPulse .9s ease 2}
body[data-theme="dark"] .mobile-sidebar-hint{background:rgba(31,31,34,.96);border-color:#414145;color:#f4f4f5}.mobile-sidebar-hint-icon{background:rgba(103,84,255,.18)}

/* Smooth range: the thumb follows the finger continuously; Low/Medium/High is
   committed only after release. */
.effort-range{-webkit-appearance:none!important;appearance:none!important;width:100%!important;height:22px!important;background:transparent!important;cursor:pointer!important;--effort-progress:50%}
.effort-range::-webkit-slider-runnable-track{height:5px;border-radius:999px;background:linear-gradient(90deg,var(--violet,#6754ff) 0 var(--effort-progress),#dedee4 var(--effort-progress) 100%)}
.effort-range::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;border-radius:50%;background:var(--violet,#6754ff);border:2px solid #fff;box-shadow:0 2px 8px rgba(73,57,210,.28);margin-top:-6.5px;transition:box-shadow .14s ease,transform .14s ease}
.effort-range:active::-webkit-slider-thumb{transform:scale(1.12);box-shadow:0 0 0 7px rgba(103,84,255,.13)}
.effort-range::-moz-range-track{height:5px;border-radius:999px;background:#dedee4}.effort-range::-moz-range-progress{height:5px;border-radius:999px;background:var(--violet,#6754ff)}.effort-range::-moz-range-thumb{width:17px;height:17px;border:2px solid #fff;border-radius:50%;background:var(--violet,#6754ff);box-shadow:0 2px 8px rgba(73,57,210,.28)}
.effort-option.slider-preview:not(.active){background:rgba(103,84,255,.055)!important}

/* Sources become readable evidence cards rather than tiny domains. */
.assistant-source-strip{display:block!important;margin:13px 0 3px!important;max-width:100%!important}.source-strip-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.source-strip-heading>span{font-size:10px;font-weight:700;color:var(--text-faint,#92959e);letter-spacing:.01em}.source-strip-view-all{border:0!important;background:transparent!important;padding:3px 4px!important;height:auto!important;color:var(--text-soft,#6e7078)!important;font-size:9.5px!important;font-weight:650!important;cursor:pointer!important}
.source-strip-scroll{display:flex;gap:7px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:1px 1px 5px;scrollbar-width:none;-webkit-overflow-scrolling:touch}.source-strip-scroll::-webkit-scrollbar{display:none}
.assistant-source-strip .source-strip-card{flex:0 0 min(245px,72vw)!important;min-height:54px!important;height:auto!important;max-width:none!important;border:1px solid var(--border,#e1e2e7)!important;background:var(--surface-soft,#f8f8fa)!important;border-radius:14px!important;padding:8px 9px!important;display:grid!important;grid-template-columns:25px minmax(0,1fr) 14px!important;align-items:center!important;gap:8px!important;text-align:left!important;white-space:normal!important;scroll-snap-align:start!important}
.assistant-source-strip .source-strip-card>b{width:25px!important;height:25px!important;border-radius:9px!important;background:rgba(103,84,255,.09)!important;color:#5c50d7!important;display:grid!important;place-items:center!important;font-size:10px!important}.source-strip-card>span{min-width:0;display:flex;flex-direction:column;gap:2px}.source-strip-card strong{font-size:10.5px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source-strip-card small{font-size:8.8px;color:var(--text-faint,#979aa3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source-strip-card i{font-style:normal;color:var(--text-faint,#999);font-size:11px}.source-strip-more{flex:0 0 54px!important;min-height:54px!important;height:auto!important;border-radius:14px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:1px!important}.source-strip-more span{font-size:8px;color:var(--text-faint,#999)}

/* Mobile account menu: compact bottom sheet above Safari chrome/home indicator. */
@media(max-width:760px){
  .account-menu{position:fixed!important;left:12px!important;right:12px!important;top:auto!important;bottom:calc(env(safe-area-inset-bottom,0px) + 12px)!important;width:auto!important;min-width:0!important;max-width:none!important;max-height:min(76dvh,610px)!important;overflow-y:auto!important;padding:8px!important;border-radius:24px!important;box-shadow:0 24px 70px rgba(0,0,0,.23)!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important}
  .account-menu-profile{min-height:70px!important;padding:10px 9px!important;border-radius:17px!important}.account-menu-profile .avatar.large{width:46px!important;height:46px!important}.account-menu-profile strong{font-size:14px!important}.account-menu-profile span{font-size:11px!important}
  .account-menu .popover-action{min-height:48px!important;border-radius:14px!important;padding:9px 11px!important;font-size:13px!important}.account-menu .menu-divider{margin:5px 8px!important}.account-menu .owner-update-action{min-height:58px!important}
  body.account-menu-open:before{content:"";position:fixed;inset:0;z-index:99;background:rgba(0,0,0,.15);backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px)}
  .assistant-source-strip .source-strip-card{flex-basis:min(250px,78vw)!important}
  .region-country-search{height:46px}
}

/* Release notes should always leave a clear route back to the product on phones. */
@media(max-width:560px){
  .legal-topbar-v162 .legal-return{display:inline-flex!important;margin-left:auto!important;align-items:center!important;justify-content:center!important;min-height:36px!important;padding:0 11px!important;border:0!important;border-radius:11px!important;background:#6556e8!important;color:#fff!important;font-size:10px!important;font-weight:760!important;box-shadow:0 5px 16px rgba(89,73,219,.24)!important;white-space:nowrap!important}
  .legal-v162 .legal-nav{display:none!important}
}

/* V0.20.2 collaboration + PWA/mobile polish */
.top-chat-menu-button{display:inline-flex}.chat-actions-menu{min-width:220px}.message-author{font-size:12px;font-weight:700;color:var(--muted);margin:0 0 5px 8px}.share-chat-modal{max-width:560px}.share-link-row{display:flex;gap:8px;margin:14px 0}.share-link-row input{flex:1;min-width:0;border:1px solid var(--line);border-radius:13px;padding:12px 14px;background:var(--panel);font:inherit}.share-link-row button{border:0;border-radius:12px;padding:0 16px;font-weight:700}.share-participants{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 14px}.share-person{padding:7px 10px;border-radius:999px;background:var(--soft);font-size:13px}.chat-files-list{display:grid;gap:8px;max-height:52vh;overflow:auto}.chat-file-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:14px;text-decoration:none;color:inherit}@media(max-width:720px){.share-chat-modal{width:min(100% - 18px,560px);max-height:min(82dvh,700px);overflow:auto}.share-link-row{flex-direction:column}.share-link-row button{min-height:44px}}@media(display-mode:standalone){html,body{height:100dvh;overflow:hidden}.app-shell{height:100dvh;min-height:100dvh}.topbar{padding-top:max(env(safe-area-inset-top),8px)}.composer-zone{padding-bottom:max(env(safe-area-inset-bottom),8px)}}


/* SenvoAI V0.20.2 — centered Share Chat + Files in Chat dialogs */
.chat-dialog-backdrop{
  position:fixed!important;
  inset:0!important;
  z-index:320!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:auto!important;
  padding:max(18px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left))!important;
  background:rgba(15,18,25,.34)!important;
  backdrop-filter:blur(6px)!important;
  -webkit-backdrop-filter:blur(6px)!important;
  overscroll-behavior:contain!important;
}
.chat-dialog-backdrop.hidden{display:none!important}
.chat-dialog-card{
  position:relative!important;
  margin:auto!important;
  width:min(600px,calc(100vw - 36px))!important;
  max-width:600px!important;
  max-height:min(760px,calc(100dvh - 36px))!important;
  overflow:auto!important;
  -webkit-overflow-scrolling:touch!important;
  border-radius:24px!important;
  padding:22px!important;
  background:#fff!important;
  box-shadow:0 28px 90px rgba(0,0,0,.22)!important;
  transform-origin:center!important;
}
.chat-dialog-head{align-items:flex-start!important;margin-bottom:12px!important}
.chat-dialog-head>div{min-width:0!important}
.chat-dialog-head .eyebrow{display:block!important;margin-bottom:8px!important;color:#7668f2!important;font-size:10px!important;font-weight:800!important;letter-spacing:.18em!important}
.chat-dialog-head h2{font-size:22px!important;line-height:1.2!important}
.chat-dialog-close{
  flex:0 0 40px!important;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  min-height:40px!important;
  margin:-4px -4px 0 8px!important;
  border-radius:50%!important;
  font-size:25px!important;
  line-height:1!important;
  touch-action:manipulation!important;
}
.chat-dialog-close:hover{background:#f0f1f4!important}
.chat-dialog-description{margin:0 0 14px!important;color:#5f6470!important;font-size:14px!important;line-height:1.55!important}
.share-link-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:9px!important;align-items:stretch!important;margin:15px 0!important}
.share-link-row input{width:100%!important;min-height:48px!important;border-radius:14px!important;padding:0 14px!important}
.share-link-row button{min-width:78px!important;min-height:48px!important;border:1px solid var(--line)!important;background:#f5f5f7!important;color:inherit!important;border-radius:14px!important;padding:0 16px!important;font-weight:700!important;cursor:pointer!important}
.share-link-row button:hover{background:#ececef!important}
.share-participants{min-height:34px!important;align-items:center!important;margin:7px 0 10px!important;color:#707580!important;font-size:12px!important}
.chat-dialog-actions{display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:9px!important;margin-top:18px!important}
.chat-dialog-actions>button{min-height:44px!important}
.chat-files-modal{width:min(600px,calc(100vw - 36px))!important}
.chat-files-list{display:grid!important;gap:9px!important;max-height:min(52dvh,460px)!important;overflow:auto!important;padding:2px!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important}
.chat-files-list>p{margin:14px 2px!important;padding:22px 12px!important;text-align:center!important;border:1px dashed #dfe1e6!important;border-radius:16px!important;color:#7d828d!important;background:#fafafa!important}
.chat-file-row{min-height:54px!important;border-radius:15px!important;transition:background .14s ease,border-color .14s ease,transform .14s ease!important}
.chat-file-row:hover{background:#f7f7f8!important;border-color:#d8d9de!important}
.chat-file-row:active{transform:scale(.992)!important}
body[data-theme="dark"] .chat-dialog-card{background:#2b2b2b!important;color:#ececec!important;border-color:#3d3d3d!important}
body[data-theme="dark"] .chat-dialog-description,body[data-theme="dark"] .share-participants{color:#b6bac3!important}
body[data-theme="dark"] .share-link-row input,body[data-theme="dark"] .share-link-row button,body[data-theme="dark"] .chat-files-list>p{background:#222!important;border-color:#444!important;color:#eee!important}
body[data-theme="dark"] .chat-file-row:hover{background:#343434!important;border-color:#4b4b4b!important}
@media(max-width:720px){
  .chat-dialog-backdrop{
    align-items:center!important;
    justify-content:center!important;
    padding:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))!important;
  }
  .chat-dialog-card,.chat-files-modal{
    width:min(100%,560px)!important;
    max-width:100%!important;
    max-height:calc(var(--app-height,100dvh) - 20px)!important;
    margin:auto!important;
    border-radius:22px!important;
    padding:18px!important;
  }
  .chat-dialog-head h2{font-size:20px!important}
  .chat-dialog-description{font-size:13px!important;line-height:1.5!important}
  .share-link-row{grid-template-columns:1fr!important}
  .share-link-row button{width:100%!important}
  .chat-dialog-actions{display:grid!important;grid-template-columns:1fr!important;width:100%!important}
  .chat-dialog-actions>button{width:100%!important}
  .chat-files-list{max-height:48dvh!important}
}
@media(max-width:380px){
  .chat-dialog-card{padding:16px!important;border-radius:20px!important}
  .chat-dialog-close{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important}
}

/* V0.20.9 live collaboration, message colours, stable jump, download/install polish */
.collab-presence-bar{display:flex;align-items:center;gap:0;margin-right:4px;min-width:0}.collab-avatar,.collab-more{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:800;border:2px solid var(--surface,#fff);margin-left:-6px;background:#eef0f3;color:#34383f;box-shadow:0 0 0 1px rgba(0,0,0,.08)}.collab-avatar:first-child{margin-left:0}.collab-avatar[data-color="violet"]{background:#e8e1ff;color:#5337a8}.collab-avatar[data-color="blue"]{background:#dbeaff;color:#165eb8}.collab-avatar[data-color="teal"]{background:#d6f4ef;color:#116d64}.collab-avatar[data-color="green"]{background:#dff3e1;color:#256a2d}.collab-avatar[data-color="orange"]{background:#ffead7;color:#9a4d05}.collab-avatar[data-color="rose"]{background:#ffe0e7;color:#9a2745}.collab-avatar.online{box-shadow:0 0 0 2px var(--surface,#fff),0 0 0 4px #48c78e,0 0 14px rgba(72,199,142,.5);animation:collabGlow 2s ease-in-out infinite}.collab-more{margin-left:-6px;background:#171719;color:white}@keyframes collabGlow{50%{box-shadow:0 0 0 2px var(--surface,#fff),0 0 0 4px #48c78e,0 0 22px rgba(72,199,142,.72)}}
.collab-typing-indicator{max-width:820px;width:calc(100% - 28px);margin:0 auto 6px;padding:0 7px;color:#777d87;font-size:12px;font-weight:650;min-height:18px}.composer-card.collab-busy{opacity:.82}.composer-card.collab-busy #sendButton{cursor:not-allowed;filter:grayscale(.3)}
.message-user[data-author-color="slate"] .message-bubble{background:#f1f1f3}.message-user[data-author-color="violet"] .message-bubble{background:#eee9ff}.message-user[data-author-color="blue"] .message-bubble{background:#e4efff}.message-user[data-author-color="teal"] .message-bubble{background:#def5f1}.message-user[data-author-color="green"] .message-bubble{background:#e4f5e6}.message-user[data-author-color="orange"] .message-bubble{background:#fff0df}.message-user[data-author-color="rose"] .message-bubble{background:#ffe8ee}.message-author{display:flex;align-items:center;gap:6px}.message-author:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.55}
.share-inviter{display:inline-flex;align-items:center;gap:7px;width:max-content;max-width:100%;padding:8px 11px;border-radius:999px;background:var(--soft,#f4f4f6);font-size:12px;font-weight:700;color:var(--text-soft,#6f7480)}.presence-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#b9bec7;margin-right:5px}.presence-dot.online{background:#38b87b;box-shadow:0 0 0 3px rgba(56,184,123,.12)}
.generated-file-card{border:1px solid #e2e3e7;border-radius:17px;padding:14px;background:#fff;display:grid;gap:13px}.generated-file-main{display:flex;align-items:center;gap:12px;min-width:0}.generated-file-main>div{display:flex;flex-direction:column;min-width:0}.generated-file-main strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.generated-file-main small{margin-top:3px;color:#7b808a}.generated-file-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#111;color:#fff;font-size:20px;flex:0 0 auto}.generated-file-actions{display:flex;gap:8px;flex-wrap:wrap}.generated-file-actions a,.generated-file-actions button{min-height:40px;padding:0 14px;border-radius:11px;font:inherit;font-weight:750;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer}.generated-file-primary{background:#111;color:#fff;border:1px solid #111}.generated-file-library{background:#f4f4f6;color:#222;border:1px solid #dedfe3}
.install-apps-modal{max-width:650px}.install-platform-grid{display:grid;gap:9px;margin:14px 0}.install-platform-grid article{display:grid;grid-template-columns:38px 1fr;gap:11px;align-items:start;padding:13px;border:1px solid var(--line,#e5e5e8);border-radius:15px}.install-platform-grid article>span{width:38px;height:38px;border-radius:11px;background:var(--soft,#f4f4f6);display:grid;place-items:center;font-weight:900}.install-platform-grid strong,.install-platform-grid small{display:block}.install-platform-grid small{margin-top:3px;line-height:1.45;color:var(--text-soft,#737985)}.button-link{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
body[data-theme="dark"] .generated-file-card{background:#1d1e21;border-color:#36383d}body[data-theme="dark"] .generated-file-library,body[data-theme="dark"] .install-platform-grid article{background:#25262a;border-color:#3c3e45;color:#eee}body[data-theme="dark"] .message-user[data-author-color="slate"] .message-bubble{background:#303136}body[data-theme="dark"] .message-user[data-author-color="violet"] .message-bubble{background:#332a52}body[data-theme="dark"] .message-user[data-author-color="blue"] .message-bubble{background:#223a59}body[data-theme="dark"] .message-user[data-author-color="teal"] .message-bubble{background:#1d4945}body[data-theme="dark"] .message-user[data-author-color="green"] .message-bubble{background:#25462b}body[data-theme="dark"] .message-user[data-author-color="orange"] .message-bubble{background:#55371f}body[data-theme="dark"] .message-user[data-author-color="rose"] .message-bubble{background:#542936}
@media(max-width:760px){.collab-presence-bar{order:-1}.collab-avatar,.collab-more{width:27px;height:27px}.topbar-actions{gap:5px}.generated-file-actions>*{flex:1 1 120px}.install-apps-modal{width:min(100% - 16px,650px)}.collab-typing-indicator{font-size:11.5px;padding-left:4px}.jump-latest{transition:opacity .15s ease,transform .15s ease}}


/* V0.20.9 artifact creation, searchable + menu, truthful activity timeline */
.plus-menu{width:min(390px,calc(100vw - 20px))!important;padding:7px!important;overflow:hidden!important}
.plus-menu-scroll{max-height:min(58vh,520px);overflow-y:auto;overscroll-behavior:contain;padding-right:2px;scrollbar-width:thin}
.plus-menu-search{height:42px;margin-top:6px;border-top:1px solid var(--border);display:flex;align-items:center;gap:8px;padding:7px 8px 0;color:var(--text-faint)}
.plus-menu-search input{width:100%;border:0;outline:0;background:transparent;color:var(--text);font:inherit;font-size:12px;min-width:0}
.plus-menu-search input::placeholder{color:var(--text-faint)}
.tool-filter-hidden{display:none!important}
.tool-icon-pdf{font-size:9px!important;color:#d74444!important}.tool-icon-doc{color:#3d6edb!important}.tool-icon-sheet{color:#198754!important}.tool-icon-slides{color:#d76832!important}.tool-icon-chart{color:#8558d7!important}
.activity-step.done .activity-step-icon{font-size:0;color:#3a8d65;border-color:color-mix(in srgb,#3a8d65 28%,var(--border));background:color-mix(in srgb,#3a8d65 7%,var(--surface-2))}.activity-step.done .activity-step-icon::after{content:"✓";font-size:11px;font-family:system-ui,sans-serif;font-weight:800}
.activity-step.active{opacity:1!important}.assistant-tool-trace .activity-steps{gap:3px!important}.activity-step{font-size:12.5px!important}
.generated-file-type{font-size:11px!important;font-weight:850!important;letter-spacing:.02em}
@media(max-width:720px){.plus-menu{width:calc(100vw - 16px)!important;max-height:min(72dvh,620px)!important}.plus-menu-scroll{max-height:calc(min(72dvh,620px) - 50px)}.plus-menu-search{padding-bottom:max(2px,env(safe-area-inset-bottom))}.tool-menu-item{min-height:54px!important}}

/* SenvoAI V0.20.9 — mobile artifact creation experience */
.artifact-progress-sheet{position:fixed;inset:0;z-index:260;display:grid;place-items:center;padding:18px;background:rgba(10,14,24,.42);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.artifact-progress-sheet.hidden{display:none!important}
.artifact-progress-card{width:min(540px,100%);border:1px solid var(--border);border-radius:24px;background:var(--surface,#fff);box-shadow:0 30px 90px rgba(12,18,32,.25);padding:22px;display:grid;gap:16px}
.artifact-progress-head{display:flex;align-items:center;justify-content:space-between}.artifact-progress-badge{min-width:54px;height:38px;padding:0 11px;border-radius:11px;background:#111827;color:#fff;display:inline-flex;align-items:center;justify-content:center;font:800 12px/1 system-ui;letter-spacing:.05em}.artifact-progress-close{width:40px;height:40px;border:0;border-radius:12px;background:var(--surface-2,#f3f4f6);color:var(--text,#1f2328);font-size:24px;line-height:1;cursor:pointer}
.artifact-progress-copy{display:grid;gap:6px}.artifact-progress-eyebrow{font-size:10px;font-weight:850;letter-spacing:.12em;color:var(--violet,#6754ff)}.artifact-progress-copy h2{margin:0;font-size:24px;line-height:1.1}.artifact-progress-copy p{margin:0;color:var(--text-soft,#6c727d);font-size:13px;line-height:1.45}
.artifact-progress-meter{height:8px;border-radius:999px;background:var(--surface-2,#eceef2);overflow:hidden}.artifact-progress-meter i{display:block;width:8%;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--violet,#6754ff),#7b8cff);transition:width .3s ease}
.artifact-progress-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.artifact-progress-steps>div{min-width:0;border:1px solid var(--border);border-radius:14px;padding:10px;display:grid;grid-template-columns:28px 1fr;grid-template-areas:"n b" "n s";column-gap:8px;align-items:center;opacity:.58;transition:.2s ease}.artifact-progress-steps>div>span{grid-area:n;width:28px;height:28px;border-radius:9px;background:var(--surface-2);display:grid;place-items:center;font-weight:800;font-size:11px}.artifact-progress-steps b{grid-area:b;font-size:12px}.artifact-progress-steps small{grid-area:s;color:var(--text-faint);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.artifact-progress-steps>div.active{opacity:1;border-color:color-mix(in srgb,var(--violet,#6754ff) 38%,var(--border));background:color-mix(in srgb,var(--violet,#6754ff) 5%,var(--surface))}.artifact-progress-steps>div.active>span{background:var(--violet,#6754ff);color:white}.artifact-progress-steps>div.done{opacity:1}.artifact-progress-steps>div.done>span{font-size:0;background:#e8f5ee;color:#2a845b}.artifact-progress-steps>div.done>span::after{content:"✓";font-size:13px;font-weight:900}.artifact-progress-steps>div.error{opacity:1;border-color:#e0a6a6;background:#fff3f3}.artifact-progress-steps>div.error>span{background:#c54c4c;color:#fff}
.artifact-progress-done{padding:11px 13px;border-radius:13px;background:#eef7f2;border:1px solid #cce4d5;display:grid;gap:2px}.artifact-progress-done.hidden{display:none!important}.artifact-progress-done strong{font-size:13px}.artifact-progress-done span{font-size:11px;color:#63706a}.artifact-progress-actions{display:flex;gap:9px}.artifact-progress-actions>*{flex:1;min-height:44px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.artifact-progress-actions .hidden{display:none!important}
body[data-theme="dark"] .artifact-progress-card{background:#1d1e21;border-color:#393b42}body[data-theme="dark"] .artifact-progress-close{background:#2a2c31;color:#eee}body[data-theme="dark"] .artifact-progress-done{background:#1d3328;border-color:#315441}
@media(max-width:760px){
  body.artifact-progress-open{overflow:hidden!important}
  .artifact-progress-sheet{place-items:end center;padding:0;background:rgba(12,14,20,.38)}
  .artifact-progress-card{width:100%;max-width:none;border-radius:26px 26px 0 0;border-left:0;border-right:0;border-bottom:0;padding:18px max(16px,env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));max-height:min(86dvh,760px);overflow-y:auto;-webkit-overflow-scrolling:touch;animation:artifactSheetIn .26s cubic-bezier(.2,.8,.2,1)}
  .artifact-progress-copy h2{font-size:26px}.artifact-progress-copy p{font-size:13.5px}
  .artifact-progress-steps{grid-template-columns:1fr 1fr}.artifact-progress-steps>div{min-height:62px}.artifact-progress-actions{position:sticky;bottom:0;background:linear-gradient(180deg,transparent 0%,var(--surface,#fff) 18%);padding-top:10px}.artifact-progress-actions>*{min-height:48px}
}
@media(max-width:390px){.artifact-progress-steps{grid-template-columns:1fr}.artifact-progress-card{padding-left:14px;padding-right:14px}.artifact-progress-copy h2{font-size:23px}}
@keyframes artifactSheetIn{from{transform:translateY(28px);opacity:.65}to{transform:none;opacity:1}}
@media(prefers-reduced-motion:reduce){.artifact-progress-card,.artifact-progress-meter i,.artifact-progress-steps>div{animation:none!important;transition:none!important}}


/* ========================================================================== */
/* SenvoAI V0.20.9 — user actions, recommendation rows, iPhone polish     */
/* ========================================================================== */
.user-message-actions-v207{
  display:flex;align-items:center;justify-content:flex-end;gap:1px;
  min-height:32px;margin:2px 2px 0 0;opacity:.88;
}
.message-user .user-message-actions-v207 .message-action{width:30px!important;height:30px!important;min-width:30px!important;border-radius:9px!important;color:#696c72!important}
.message-user .user-message-actions-v207 .message-action:hover{background:#f0f0f1!important;color:#151515!important}
.message-user .message-time{margin-top:0!important}

/* New-chat suggestions match the quiet two-line recommendation rows shown in
   the reference: icon, title, description, no chunky cards. */
.app-shell.welcome-mode .welcome-view>.starter-grid{
  display:flex!important;flex-direction:column!important;gap:0!important;
  width:min(100%,780px)!important;max-height:none!important;overflow:visible!important;
}
.app-shell.welcome-mode .starter-grid::before{display:none!important;content:none!important}
.app-shell.welcome-mode .starter-card.starter-row-v207{
  display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;
  min-height:58px!important;padding:8px 10px!important;margin:0!important;border:0!important;border-radius:12px!important;
  background:transparent!important;box-shadow:none!important;transform:none!important;text-align:left!important;
}
.app-shell.welcome-mode .starter-card.starter-row-v207:hover{background:#f7f7f8!important;box-shadow:none!important;transform:none!important}
.starter-icon-v207{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;font-size:20px!important;margin:0!important}
.starter-copy-v207{display:flex!important;min-width:0!important;flex-direction:column!important;gap:3px!important}
.app-shell.welcome-mode .starter-copy-v207 strong{display:block!important;font-size:15px!important;font-weight:570!important;line-height:1.22!important;color:#303033!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.app-shell.welcome-mode .starter-copy-v207 small{display:block!important;font-size:13px!important;font-weight:400!important;line-height:1.25!important;color:#919197!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}

.recommended-head-v167 span small{font-size:13px;font-weight:500;color:#78787d;margin-left:3px}
.task-recommendations-v167 .task-recommendation-v207{
  grid-template-columns:48px minmax(0,1fr) 42px!important;gap:10px!important;min-height:72px!important;padding:9px 6px!important;
}
.task-rec-icon-v207{width:42px;height:42px;display:grid;place-items:center;font-size:23px}
.task-recommendations-v167 .task-recommendation-v207 strong{display:block;font-size:16px;font-weight:630;line-height:1.25;color:#28282b}
.task-recommendations-v167 .task-recommendation-v207 small{display:block;margin-top:4px;font-size:14px;line-height:1.3;color:#8a8a91;white-space:normal}
.task-rec-add-v207{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;font-size:25px;font-weight:300;color:#777;background:transparent;transition:background .14s ease,color .14s ease,transform .14s ease}
.task-recommendation-v207:hover .task-rec-add-v207{background:#f0f0f1;color:#222}.task-recommendation-v207:active .task-rec-add-v207{transform:scale(.92)}

@supports (-webkit-touch-callout:none){
  .message-action,.starter-row-v207,.task-recommendation-v207,.composer-tool,.composer-call-button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
  .message-user .user-message-actions-v207{opacity:1}
  .composer-card textarea{font-size:16px!important}
}
body[data-theme="dark"] .message-user .user-message-actions-v207 .message-action{color:#a8a8ad!important}
body[data-theme="dark"] .message-user .user-message-actions-v207 .message-action:hover{background:#303033!important;color:#fff!important}
body[data-theme="dark"] .app-shell.welcome-mode .starter-card.starter-row-v207:hover{background:#242426!important}
body[data-theme="dark"] .app-shell.welcome-mode .starter-copy-v207 strong,body[data-theme="dark"] .task-recommendations-v167 .task-recommendation-v207 strong{color:#f0f0f2!important}
body[data-theme="dark"] .app-shell.welcome-mode .starter-copy-v207 small,body[data-theme="dark"] .task-recommendations-v167 .task-recommendation-v207 small{color:#9999a0!important}

@media(max-width:760px){
  .message-user .message-body{max-width:92%!important}
  .user-message-actions-v207{padding-right:1px}
  .app-shell.welcome-mode .welcome-view>.starter-grid{width:100%!important;padding:0 4px 10px!important}
  .app-shell.welcome-mode .starter-card.starter-row-v207{min-height:58px!important;padding:7px 6px!important}
  .app-shell.welcome-mode .starter-copy-v207 strong{font-size:14.5px!important}
  .app-shell.welcome-mode .starter-copy-v207 small{font-size:12.5px!important}
  .task-recommendations-v167 .task-recommendation-v207{grid-template-columns:42px minmax(0,1fr) 38px!important;min-height:70px!important}
  .task-rec-icon-v207{width:38px;height:38px;font-size:21px}
  .task-recommendations-v167 .task-recommendation-v207 strong{font-size:15px!important}
  .task-recommendations-v167 .task-recommendation-v207 small{font-size:12.8px!important}
}


/* V0.20.9 — saved legal consent, FAQ, rich owner announcements */
.terms-consent-open{overflow:hidden}.terms-consent-gate{position:fixed;inset:0;z-index:4000;display:grid;place-items:center;padding:max(18px,env(safe-area-inset-top)) 18px max(18px,env(safe-area-inset-bottom));transition:opacity .2s ease,transform .2s ease}.terms-consent-gate.terms-consent-leaving{opacity:0;transform:scale(.99);pointer-events:none}.terms-consent-backdrop{position:absolute;inset:0;background:rgba(14,15,20,.58);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.terms-consent-card{position:relative;width:min(560px,100%);max-height:min(760px,calc(100dvh - 36px));overflow:auto;background:rgba(255,255,255,.98);border:1px solid rgba(255,255,255,.72);border-radius:26px;padding:24px;box-shadow:0 30px 90px rgba(8,10,18,.28);animation:termsCardIn .28s cubic-bezier(.2,.8,.2,1)}@keyframes termsCardIn{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}.terms-consent-brand{display:flex;align-items:center;gap:11px}.terms-consent-brand img{width:38px;height:38px;border-radius:12px}.terms-consent-brand div{display:flex;flex-direction:column}.terms-consent-brand strong{font-size:13.5px}.terms-consent-brand span{font-size:10px;color:#8a8f99}.terms-consent-icon{display:grid;place-items:center;width:48px;height:48px;margin:24px 0 12px;border-radius:15px;background:linear-gradient(135deg,#5e54ef,#897fff);color:#fff;font-weight:850;font-size:21px;box-shadow:0 12px 28px rgba(94,84,239,.24)}.terms-consent-card h2{margin:0;font-size:28px;letter-spacing:-.8px}.terms-consent-card>p{margin:10px 0 18px;color:#666b76;font-size:13px;line-height:1.55}.terms-consent-links{display:grid;gap:8px}.terms-consent-links a{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;padding:12px;border:1px solid #e7e8ee;border-radius:14px;background:#fbfbfd;transition:.16s ease}.terms-consent-links a:hover{background:#f5f3ff;border-color:#d9d5ff;transform:translateY(-1px)}.terms-consent-links>a>span{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#eeecff;color:#5a4fe2;font-weight:800}.terms-consent-links div{display:flex;flex-direction:column}.terms-consent-links strong{font-size:12.5px}.terms-consent-links small{font-size:10.5px;color:#8b9099;margin-top:2px}.terms-consent-links b{font-size:18px;color:#a0a4ad}.terms-consent-actions{display:grid;grid-template-columns:1fr 1.25fr;gap:9px;margin-top:18px}.terms-consent-actions button{min-height:46px;border-radius:13px;font-weight:720;cursor:pointer}.terms-decline-button{border:1px solid #dedfe5;background:#fff;color:#545862}.terms-accept-button{border:0;background:#17191f;color:#fff;display:flex;align-items:center;justify-content:center;gap:10px;box-shadow:0 10px 24px rgba(17,19,27,.16)}.terms-consent-actions button:disabled{opacity:.55;cursor:wait}.terms-consent-error{margin-top:12px;padding:10px 12px;border-radius:11px;background:#fff1f1;color:#a63f3f;font-size:11.5px}.terms-consent-version{display:block;text-align:center;margin-top:13px;color:#9ca0aa;font-size:9.5px}.auth-terms-check{display:grid!important;grid-template-columns:18px 1fr!important;align-items:start!important;gap:9px!important;padding:10px 11px;border:1px solid #e4e5eb;border-radius:11px;background:#fafbfc;color:#686d78!important;line-height:1.45}.auth-terms-check input{width:16px;height:16px;margin:1px 0 0;accent-color:#6256ec}.auth-terms-check a{color:#5b4fe3;font-weight:650}.owner-broadcast{display:flex!important;align-items:center;gap:11px;max-width:min(760px,calc(100vw - 24px));padding:11px 12px!important;border-radius:16px!important;background:rgba(24,24,29,.97)!important}.owner-broadcast-icon{flex:0 0 34px;height:34px;border-radius:10px;display:grid;place-items:center;font-weight:850;background:rgba(255,255,255,.12)}.owner-broadcast-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.owner-broadcast-copy strong{font-size:12.5px;line-height:1.2}.owner-broadcast-copy small{font-size:11.5px;line-height:1.35;color:rgba(255,255,255,.8)}.owner-broadcast-close{margin-left:auto;flex:0 0 30px;width:30px;height:30px;border:0;border-radius:9px;background:rgba(255,255,255,.09);color:#fff;font-size:18px;cursor:pointer}.owner-broadcast-success{box-shadow:0 14px 44px rgba(25,130,87,.25)!important}.owner-broadcast-success .owner-broadcast-icon{background:rgba(39,193,125,.18);color:#77efb7}.owner-broadcast-warning{box-shadow:0 14px 44px rgba(194,122,20,.26)!important}.owner-broadcast-warning .owner-broadcast-icon{background:rgba(255,176,48,.18);color:#ffd27d}.owner-broadcast-urgent{box-shadow:0 14px 44px rgba(198,45,67,.30)!important}.owner-broadcast-urgent .owner-broadcast-icon{background:rgba(255,72,100,.18);color:#ff9cad}.faq-grid-v208{display:grid;gap:9px;margin-top:18px}.faq-item-v208{background:#fff;border:1px solid #e8e9ef;border-radius:16px;overflow:hidden;box-shadow:0 3px 13px rgba(30,33,44,.025)}.faq-item-v208 summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 17px;cursor:pointer}.faq-item-v208 summary::-webkit-details-marker{display:none}.faq-item-v208 summary strong{font-size:13px}.faq-item-v208 summary span{color:#8d929d;font-size:18px;transition:transform .16s ease}.faq-item-v208[open] summary span{transform:rotate(45deg)}.faq-item-v208 p{margin:0;padding:0 17px 16px;color:#656a75;font-size:12.5px;line-height:1.6}.legal-nav{flex-wrap:wrap}.legal-nav a{white-space:nowrap}
@media(max-width:760px){.terms-consent-gate{padding:10px 10px max(10px,env(safe-area-inset-bottom))}.terms-consent-card{border-radius:22px;padding:18px;max-height:calc(100dvh - 20px)}.terms-consent-card h2{font-size:24px}.terms-consent-actions{grid-template-columns:1fr}.terms-accept-button{grid-row:1}.terms-decline-button{grid-row:2}.owner-broadcast{top:max(8px,env(safe-area-inset-top));align-items:flex-start}.owner-broadcast-copy small{font-size:11px}.legal-topbar{height:auto;min-height:64px;flex-wrap:wrap;padding-top:8px;padding-bottom:8px}.legal-nav{order:3;width:100%;overflow-x:auto;flex-wrap:nowrap;justify-content:flex-start;margin:0}.legal-nav a{flex:0 0 auto}.legal-return{margin-left:auto}.faq-item-v208 summary{padding:14px}.faq-item-v208 p{padding:0 14px 14px}}

/* V0.20.9 — settings, truthful analytics, voice picker, stable jump/composer */
.composer-card textarea{min-height:32px!important;max-height:188px!important;overflow-y:auto}
.composer-card textarea:placeholder-shown{min-height:32px!important}
#jumpLatestButton{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 15px;border-radius:999px;border:1px solid rgba(120,120,130,.16);background:rgba(255,255,255,.94);box-shadow:0 8px 25px rgba(20,20,30,.10);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);font-size:12.5px;font-weight:650;transition:opacity .16s ease,transform .16s ease,box-shadow .16s ease}
#jumpLatestButton::before{content:"↓";font-size:15px}#jumpLatestButton:hover{transform:translateY(-1px);box-shadow:0 10px 30px rgba(20,20,30,.14)}#jumpLatestButton.jumping{opacity:.55;pointer-events:none;transform:translateY(2px)}
.settings-subsection{margin-top:22px;padding-top:18px;border-top:1px solid var(--border,#e8e8ec)}.settings-subsection h3{margin:0 0 10px;font-size:15px}.section-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.section-title-row p{margin:3px 0 0;color:#85858d;font-size:12px}
.voice-picker-card-v209{display:grid;grid-template-columns:48px 1fr 48px;align-items:center;min-height:300px;border-top:1px solid #ececf0;border-bottom:1px solid #ececf0;margin:8px 0 4px}.voice-center-v209{display:flex;flex-direction:column;align-items:center;text-align:center}.voice-orb-v209{width:162px;height:162px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff 0 4%,rgba(255,255,255,.5) 20%,transparent 40%),linear-gradient(150deg,#5668ff,#9eabff 62%,#e3e8ff);box-shadow:inset 0 0 38px rgba(255,255,255,.3),0 16px 35px rgba(82,97,238,.18);margin-bottom:27px;overflow:hidden;position:relative}.voice-orb-v209 span{position:absolute;inset:50% -20% -25%;background:radial-gradient(ellipse,#fff 0,rgba(255,255,255,.68) 35%,transparent 72%);filter:blur(5px)}.voice-center-v209 strong{font-size:22px}.voice-center-v209 small{margin-top:4px;color:#777a82;font-size:14px}.voice-arrow-v209{border:0;background:transparent;font-size:38px;color:#c2c4ca;cursor:pointer;height:64px}.voice-arrow-v209:hover{color:#6d70d9}.voice-dots-v209{display:flex;gap:11px;margin-top:16px}.voice-dots-v209 i{width:9px;height:9px;border-radius:50%;background:#dddde1}.voice-dots-v209 i.active{background:#111}.voice-hidden-select{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}
.device-name-editor-v209{display:flex;gap:7px;min-width:min(320px,48%)}.device-name-editor-v209 .settings-input{min-width:0}.settings-chevron-row{width:100%;display:grid;grid-template-columns:1fr auto 18px;gap:8px;align-items:center;padding:15px 0;border:0;border-bottom:1px solid #ececf0;background:transparent;text-align:left;cursor:pointer}.settings-chevron-row strong{font-size:12px;font-weight:500;color:#6f727b}.settings-chevron-row b{font-size:20px;color:#aaa;font-weight:400}.dual-toggle{display:flex;align-items:center;gap:12px}.mini-check{display:flex;align-items:center;gap:6px;font-size:12px}.mini-check input{accent-color:var(--accent,#5f5af6)}
.billing-plan-card-v209{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px;border:1px solid #e7e7ec;border-radius:17px;background:#fbfbfc}.billing-plan-card-v209 h3{margin:0 0 5px;font-size:19px}.billing-plan-card-v209 p{margin:0;color:#767982;font-size:12.5px;line-height:1.5}.billing-info-grid-v209,.account-detail-grid-v209{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.billing-info-grid-v209>div,.account-detail-grid-v209>div{padding:12px;border:1px solid #ececf0;border-radius:12px}.billing-info-grid-v209 span,.account-detail-grid-v209 span{display:block;color:#8a8c94;font-size:10.5px;margin-bottom:4px}.billing-info-grid-v209 strong,.account-detail-grid-v209 strong{font-size:12.5px;overflow-wrap:anywhere}.status-chip{padding:5px 9px;border-radius:999px;background:#f1f1f3;color:#777;font-size:10px}.status-chip.ok{background:#e8f7ef;color:#168650}
.usage-window-grid-v209{display:grid;grid-template-columns:1fr 1fr;gap:10px}.usage-window-card-v209{padding:17px;border:1px solid #e7e7ec;border-radius:16px;background:#fbfbfc}.usage-window-card-v209 span,.usage-window-card-v209 small{display:block;color:#81838c;font-size:11px}.usage-window-card-v209 strong{display:block;font-size:20px;margin:6px 0}.usage-resource-list-v209>div,.analytics-breakdown-v209>div{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #eeeef1}.usage-resource-list-v209 span,.analytics-breakdown-v209 span{font-size:12px;text-transform:capitalize}.usage-resource-list-v209 strong,.analytics-breakdown-v209 strong{font-size:11.5px}
.analytics-toolbar-v209{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.analytics-range{display:flex;padding:3px;border-radius:999px;background:#f1f1f3}.analytics-range button{border:0;background:transparent;border-radius:999px;padding:7px 15px;color:#85858b;cursor:pointer}.analytics-range button.active{background:#fff;color:#19191c;box-shadow:0 1px 5px rgba(0,0,0,.08)}.analytics-card-v209{border:1px solid #e8e8ed;border-radius:18px;padding:16px}.analytics-card-head{display:flex;align-items:flex-start;justify-content:space-between}.analytics-card-head>div{display:flex;flex-direction:column}.analytics-big-number{font-size:23px;margin-top:5px}.analytics-card-head small{color:#8a8c94}.analytics-chart-v209{height:225px;margin-top:8px}.analytics-chart-v209 svg{display:block;width:100%;height:190px;overflow:visible}.analytics-chart-v209 svg line{stroke:#e9e9ed;stroke-dasharray:4 5}.analytics-area-v209{fill:rgba(59,130,246,.18)}.analytics-line-v209{fill:none;stroke:#3b82f6;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.analytics-axis-v209{display:flex;justify-content:space-between;color:#858892;font-size:10px;gap:6px}.analytics-breakdown-v209{margin-top:8px}.analytics-loading{display:grid;place-items:center;height:100%;color:#8a8c94;font-size:12px}
.storage-meter-v209{height:10px;background:#ededf0;border-radius:999px;overflow:hidden;margin:12px 0 20px}.storage-meter-v209>i{display:block;height:100%;width:0;background:linear-gradient(90deg,#4f7df3,#7869ef);border-radius:inherit;transition:width .35s ease}.storage-category-v209{display:flex;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid #eeeef1}.storage-category-v209 span{display:flex;flex-direction:column}.storage-category-v209 small{color:#888b94;margin-top:3px}.site-permission-row-v209,.security-session-v209,.settings-list-row-v209{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #eeeef1}.site-permission-row-v209 span,.security-session-v209>div,.settings-list-row-v209>div{display:flex;flex-direction:column;gap:3px;min-width:0}.site-permission-row-v209 small,.security-session-v209 span,.security-session-v209 small,.settings-list-row-v209 span{color:#858892;font-size:10.5px}.site-permission-row-v209 button{border:0;background:transparent;color:#c23b4a;cursor:pointer}.plugin-settings-list-v209{margin-top:12px}.plugin-setting-row-v209{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:13px 0;border-bottom:1px solid #ececf0}.plugin-setting-row-v209>div{display:flex;align-items:center;gap:11px}.plugin-setting-row-v209>div>span:last-child{display:flex;flex-direction:column;gap:3px}.plugin-setting-row-v209 small{color:#888a93;font-size:10.5px;max-width:440px}.plugin-setting-row-v209>b{font-size:10px;color:#9a9ca4}.plugin-setting-row-v209>b.ready{color:#168650}.plugin-icon-v209{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#f0efff;color:#5e57d9}.settings-text-link{display:inline-block;margin-top:15px;font-size:12px;color:#6558da}.risk-badge-v209{font-size:9px;background:#fff0dd;color:#a36314;padding:3px 6px;border-radius:999px}.creator-preview-v209{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #ececf0;border-radius:13px;margin-bottom:12px}.creator-preview-v209 img{width:38px;height:38px;border-radius:12px}.creator-preview-v209 div{display:flex;flex-direction:column}.creator-preview-v209 span{font-size:10px;color:#8b8d96}.field-label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#6d6f77;margin:10px 0}.danger-outline-button{border:1px solid #e1a5ac;background:#fff;color:#b52e3d;border-radius:10px;padding:8px 12px;cursor:pointer}.danger-button{border:0;background:#bd3342;color:#fff;border-radius:10px;padding:10px 13px;cursor:pointer}.settings-empty-row{padding:13px 0;color:#858892;font-size:12px;line-height:1.5}.inline-link-button{border:0;background:transparent;padding:0;color:#6255d8;text-decoration:underline;cursor:pointer}.model-improvement-v209 .primary-button{width:100%;margin-top:16px}
body[data-theme="dark"] #jumpLatestButton{background:rgba(32,32,35,.94);border-color:#3c3c40;color:#fff}body[data-theme="dark"] .billing-plan-card-v209,body[data-theme="dark"] .usage-window-card-v209,body[data-theme="dark"] .analytics-card-v209{background:#222225;border-color:#36363a}body[data-theme="dark"] .analytics-range{background:#2b2b2f}body[data-theme="dark"] .analytics-range button.active{background:#414146;color:#fff}body[data-theme="dark"] .analytics-chart-v209 svg line{stroke:#37373c}body[data-theme="dark"] .voice-picker-card-v209{border-color:#37373c}body[data-theme="dark"] .voice-dots-v209 i{background:#55555b}body[data-theme="dark"] .voice-dots-v209 i.active{background:#fff}
@media(max-width:760px){.voice-picker-card-v209{min-height:275px;grid-template-columns:42px 1fr 42px}.voice-orb-v209{width:145px;height:145px;margin-bottom:22px}.device-name-row-v209{align-items:stretch!important}.device-name-editor-v209{min-width:0;width:100%;flex-direction:column}.usage-window-grid-v209,.billing-info-grid-v209,.account-detail-grid-v209{grid-template-columns:1fr}.analytics-toolbar-v209{align-items:stretch;gap:8px;flex-direction:column}.analytics-range{justify-content:center}.analytics-range button{flex:1}.analytics-card-v209{padding:12px}.section-title-row{flex-direction:column}.security-session-v209{align-items:flex-start}.security-session-v209 button{width:100%}}

.storage-category-list-v209{display:grid}.storage-category-list-v209 button{display:grid;grid-template-columns:1fr auto 18px;gap:10px;align-items:center;padding:14px 0;border:0;border-bottom:1px solid #eeeef1;background:transparent;text-align:left;cursor:pointer}.storage-category-list-v209 button strong{font-size:11.5px;font-weight:500;color:#777}.storage-category-list-v209 button b{font-size:19px;color:#aaa;font-weight:400}


/* ========================================================================== */
/* SenvoAI V0.20.11 — reliable phone Settings + polished live surfaces    */
/* ========================================================================== */
.settings-inline-actions-v02011{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.settings-inline-actions-v02011 .secondary-button{min-height:40px}
.scheduled-thread-intro{border:1px solid color-mix(in srgb,var(--accent,#5f5af6) 18%,#e8e8ec);background:linear-gradient(135deg,color-mix(in srgb,var(--accent,#5f5af6) 5%,#fff),#fff);box-shadow:0 10px 30px rgba(22,22,28,.035);border-radius:18px!important;padding:15px 16px!important}
.assistant-message,.user-message{animation:senvoraMessageIn .18s ease-out both}
@keyframes senvoraMessageIn{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}
.modal-card,.settings-center-v10{box-shadow:0 24px 80px rgba(18,18,25,.14)!important}
.settings-group-v124,.analytics-card-v209,.billing-plan-card-v209,.usage-window-card-v209{box-shadow:0 8px 28px rgba(20,20,30,.025)}
.notification-item.is-unread{background:linear-gradient(90deg,color-mix(in srgb,var(--accent,#5f5af6) 6%,#fff),#fff)}

@media(max-width:760px){
  /* Final mobile rule wins over older experimental search-first layouts. */
  #settingsModal{padding:0!important;align-items:stretch!important;justify-content:stretch!important}
  .settings-center-v10{width:100vw!important;height:var(--app-height,100dvh)!important;max-width:none!important;max-height:none!important;border-radius:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
  .settings-sidebar-v10{display:flex!important;flex:0 0 auto!important;flex-direction:row!important;align-items:center!important;gap:5px!important;width:100%!important;height:auto!important;min-height:58px!important;max-height:calc(58px + env(safe-area-inset-top))!important;overflow-x:auto!important;overflow-y:hidden!important;padding:calc(8px + env(safe-area-inset-top)) 58px 8px 9px!important;position:relative!important;top:auto!important;border:0!important;border-bottom:1px solid var(--border,#e8e8eb)!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important;white-space:nowrap!important;background:var(--ui-sidebar-bg,#f7f7f8)!important}
  .settings-sidebar-v10::-webkit-scrollbar{display:none!important}
  .settings-search{display:none!important}
  .settings-sidebar-v10 .settings-nav,.settings-sidebar-v10:focus-within .settings-nav,.settings-sidebar-v10.mobile-search-open .settings-nav{display:inline-flex!important;flex:0 0 auto!important;width:auto!important;min-width:max-content!important;height:40px!important;min-height:40px!important;margin:0!important;padding:0 13px!important;border-radius:999px!important;align-items:center!important;justify-content:center!important;font-size:12px!important}
  .settings-sidebar-v10 .settings-nav.search-hidden,.settings-sidebar-v10 .settings-nav.device-scope-hidden{display:none!important}
  .settings-content-v10{display:block!important;flex:1 1 auto!important;min-height:0!important;width:100%!important;overflow-y:auto!important;overflow-x:hidden!important;padding:18px 14px calc(104px + env(safe-area-inset-bottom))!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-y:contain!important}
  .settings-panel-v10{display:none!important;width:100%!important;min-width:0!important}
  .settings-panel-v10.active{display:block!important}
  .settings-x{position:fixed!important;top:calc(7px + env(safe-area-inset-top))!important;right:8px!important;z-index:80!important}
  .settings-inline-actions-v02011{display:grid!important;grid-template-columns:1fr 1fr!important}.settings-inline-actions-v02011 .secondary-button{width:100%!important}
  .assistant-content{font-size:15px;line-height:1.62}.assistant-content h2{margin-top:22px;margin-bottom:8px}.assistant-content h3{margin-top:18px;margin-bottom:7px}
  .scheduled-thread-intro{margin-inline:4px!important}
}


/* SenvoAI V0.20.11 — desktop app polish + stronger call layout */
@media (min-width: 900px) {
  .topbar{padding-right:104px!important;}
  .topbar-actions{padding-right:8px!important;}
}
.call-modal{background:radial-gradient(circle at 50% 12%,rgba(113,88,255,.24),rgba(9,10,16,.86))!important;backdrop-filter:blur(24px)!important;}
.call-card.live-call-card{width:min(760px,calc(100vw - 28px))!important;max-height:min(92dvh,920px)!important;min-height:unset!important;border-radius:32px!important;padding:26px 28px 24px!important;background:linear-gradient(180deg,#141722 0%,#0f1118 100%)!important;box-shadow:0 34px 110px rgba(0,0,0,.42)!important;overflow:hidden!important;}
.call-hero{padding-top:8px!important;}
.call-transcript{min-height:180px!important;max-height:min(34dvh,320px)!important;font-size:13px!important;border-radius:20px!important;background:rgba(18,21,30,.96)!important;}
.call-controls{width:100%!important;justify-content:center!important;gap:14px!important;flex-wrap:wrap!important;}
.call-control-wrap span{font-size:12px!important;color:rgba(255,255,255,.82)!important;}
.call-control-button{width:64px!important;height:64px!important;border-radius:18px!important;}
.call-options-v142{width:100%!important;margin-top:18px!important;padding:18px!important;border-radius:22px!important;background:rgba(255,255,255,.045)!important;border:1px solid rgba(255,255,255,.08)!important;}
.call-voice-label{max-width:none!important;margin-top:0!important;}
.call-slider-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:14px!important;margin-top:14px!important;}
.call-feature-toggles{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin-top:14px!important;}
.call-fast-toggle{min-height:64px!important;border-radius:18px!important;}
.call-transcript-actions{display:flex!important;gap:10px!important;justify-content:flex-end!important;margin-top:14px!important;}
.call-transcript-actions button{min-height:40px!important;border-radius:12px!important;padding:0 14px!important;}
.call-hint{display:block!important;width:100%!important;margin-top:14px!important;text-align:left!important;color:rgba(255,255,255,.68)!important;line-height:1.45!important;}
.message-actions{flex-wrap:wrap!important;}
.message-user .message-actions{justify-content:flex-end!important;}
@media (max-width: 760px) {
  .call-card.live-call-card{width:min(100vw - 12px,680px)!important;padding:18px 14px 18px!important;border-radius:24px!important;}
  .call-slider-grid,.call-feature-toggles{grid-template-columns:1fr!important;}
}


/* V0.20.11 desktop/mobile polish */
.topbar{padding-right:max(14px,env(titlebar-area-width,0px))!important}
.topbar-actions{padding-right:max(0px,env(titlebar-area-width,0px))!important;flex-wrap:wrap;row-gap:6px}
.message-actions,.user-message-actions-v207{flex-wrap:wrap}
.message-user .message-body,.message-assistant .message-body{overflow:visible}
@media(min-width:761px){.main-panel{min-width:0}.conversation{padding-right:18px!important}.composer-zone{padding-right:max(10px,env(titlebar-area-width,0px))!important}}
@media(max-width:760px){.settings-content-v10 .settings-panel-v10.active{display:block!important;min-height:220px}.settings-sidebar-v10{max-height:unset!important}.topbar-actions{gap:8px}}


/* SenvoAI V0.20.16 — owner Suggestions, semantic settings icons, no titlebar overlap */
.owner-suggestions-section .chat-section-title{display:flex!important;align-items:center!important;gap:6px!important}
.suggestions-folder-icon{font-size:13px;filter:saturate(.85)}
.owner-suggestions-section .chat-item{background:rgba(91,80,220,.035)}
.owner-suggestions-section .chat-item.active{background:rgba(91,80,220,.10)}
.settings-line-icon.semantic-icon{width:22px!important;min-width:22px!important;height:22px!important;display:inline-grid!important;place-items:center!important;font-size:15px!important;line-height:1!important;filter:saturate(.82)}
.top-share-chat-button svg{width:19px!important;height:19px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.app-shell.welcome-mode #topShareChatButton{display:none!important}
@media(max-width:760px){.top-share-chat-button{width:34px!important;height:34px!important;min-width:34px!important}.owner-suggestions-section .chat-section-title{min-height:34px}}

/* Legacy installed builds that still expose Window Controls Overlay are moved below it. */
body.legacy-window-controls-overlay .topbar{margin-top:var(--wco-height,32px)!important}
body.legacy-window-controls-overlay .main-panel{height:calc(var(--app-height,100dvh) - var(--wco-height,32px))!important}

/* ========================================================================== */
/* SenvoAI V0.20.16 — final mobile/PWA/media/restart/composer hardening    */
/* ========================================================================== */

/* Windows/Edge installed app uses the product's light chrome rather than a
   black titlebar strip. The manifest/meta theme colour is also #fff. */
@media (display-mode: standalone) and (min-width:761px){
  html,body,.app-shell,.main-panel{background:#fff!important;}
  .topbar{background:#fff!important;}
}

/* Sidebar should feel intentional while the first API request is still loading. */
.chat-loading-state{min-height:72px;display:flex;align-items:center;gap:9px;padding:14px 10px;color:#8a8d94;font-size:11px}
.chat-loading-state span{width:14px;height:14px;border:2px solid #d8d8dd;border-top-color:#696970;border-radius:50%;animation:senvoraChatLoad .8s linear infinite}
.chat-loading-state strong{font-weight:550}.chat-load-retry{width:100%;min-height:46px;border:0;border-radius:10px;background:transparent;color:#74777f;text-align:left;padding:0 10px;cursor:pointer}.chat-load-retry:hover{background:#eeeeef;color:#333}
@keyframes senvoraChatLoad{to{transform:rotate(360deg)}}

/* Generated images keep their true orientation/aspect ratio and never get
   stretched into a sideways-looking full-width card. */
.generated-media-card{width:min(100%,680px)!important;max-width:100%!important;background:transparent!important;border:0!important;overflow:visible!important}
.generated-media-card>img{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:min(68dvh,760px)!important;object-fit:contain!important;object-position:center center!important;margin:0 auto!important;border:1px solid var(--border,#dedee3)!important;border-radius:22px!important;background:#f6f6f7!important;box-shadow:0 6px 24px rgba(0,0,0,.035)!important}
.generated-media-card>video{width:100%!important;height:auto!important;max-height:min(68dvh,760px)!important;object-fit:contain!important;border-radius:20px!important;background:#08090b!important}

/* Long user/assistant content is compact by default, with a deterministic
   Show more/less control like a modern chat workspace. */
.long-message-collapsed{position:relative!important;max-height:300px!important;overflow:hidden!important}
.message-user .long-message-collapsed{max-height:190px!important}
.long-message-collapsed:after{content:"";position:absolute;left:0;right:0;bottom:0;height:58px;pointer-events:none;background:linear-gradient(180deg,transparent,var(--v160-main,#fff) 88%)}
.message-user .long-message-collapsed:after{background:linear-gradient(180deg,transparent,var(--v160-user,#f1f1f1) 88%)}
.long-message-toggle{display:inline-flex;align-items:center;gap:6px;min-height:32px;margin-top:5px;padding:0 4px;border:0;background:transparent;color:#4b6387;font-size:12px;font-weight:680;cursor:pointer}
.long-message-toggle:hover{text-decoration:underline;text-underline-offset:3px}.long-message-toggle span{font-size:12px}
.message-user .long-message-toggle{align-self:flex-end;color:#64666d}

/* Expand composer appears only when the draft is genuinely long. */
.composer-expand-button{width:34px;height:34px;min-width:34px;border:0;border-radius:50%;display:grid;place-items:center;background:transparent;color:#6d7078;cursor:pointer}
.composer-expand-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.composer-expand-button:hover,.composer-expand-button.active{background:#eeeeef;color:#171719}
body.composer-focus-mode:before{content:"";position:fixed;inset:0;z-index:2990;background:rgba(15,16,20,.26);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
body.composer-focus-mode .main-panel>.composer-zone{position:fixed!important;z-index:3000!important;left:50%!important;right:auto!important;top:50%!important;bottom:auto!important;transform:translate(-50%,-50%)!important;width:min(900px,calc(100vw - 36px))!important;max-height:min(82dvh,760px)!important;padding:12px!important;border:1px solid #dedee3!important;border-radius:28px!important;background:#fff!important;box-shadow:0 28px 90px rgba(0,0,0,.24)!important}
body.composer-focus-mode .composer-card{width:100%!important;max-width:none!important;box-shadow:none!important;border:0!important}
body.composer-focus-mode #messageInput{height:min(58dvh,560px)!important;max-height:min(58dvh,560px)!important;overflow-y:auto!important}
body.composer-focus-mode .composer-note{display:none!important}

/* Restart broadcast with a real visible countdown and dedicated sound toggle. */
.restart-countdown{pointer-events:auto!important;z-index:5200!important;max-width:min(760px,calc(100vw - 24px))!important}
.restart-countdown .owner-broadcast-copy small b{font-size:12px;color:#fff}.restart-sound-toggle{margin-left:auto;width:34px;height:34px;border:0;border-radius:10px;background:rgba(255,255,255,.10);color:#fff;cursor:pointer;font-size:16px;display:grid;place-items:center}.restart-sound-toggle:hover,.restart-countdown .owner-broadcast-close:hover{background:rgba(255,255,255,.18)!important}.restart-countdown .owner-broadcast-close{margin-left:2px!important;pointer-events:auto!important}
.owner-broadcast,.owner-broadcast *{pointer-events:auto!important}.owner-broadcast-close{cursor:pointer!important;z-index:2!important}

/* Jump-to-latest is no longer centred on top of suggestion chips/composer. */
.jump-latest{left:auto!important;right:clamp(14px,3vw,34px)!important;bottom:calc(var(--composer-inset,108px) + 10px)!important;transform:none!important;padding:8px 12px!important;min-height:38px!important;display:inline-flex!important;align-items:center!important;gap:6px!important;white-space:nowrap!important;z-index:48!important;box-shadow:0 8px 28px rgba(0,0,0,.10)!important}
.jump-latest:hover{transform:translateY(-1px)!important}.jump-latest.jumping{opacity:.65;pointer-events:none}

/* Voice carousel and its custom select always describe the same actual option. */
.voice-picker-card-v209{overflow:hidden!important}.voice-arrow-v209{z-index:2!important;cursor:pointer!important;touch-action:manipulation!important}.voice-dots-v209{max-width:220px;flex-wrap:wrap;justify-content:center}

/* Final iPhone layout: account for the safe-area inside the grid row itself,
   keeping the title/mode visible and preventing transcript content from sliding
   underneath the header or composer. */
@media(max-width:760px){
  html,body,.app-shell{height:var(--app-height,100dvh)!important;min-height:0!important;margin:0!important;padding:0!important}
  .main-panel{height:var(--app-height,100dvh)!important;grid-template-rows:calc(54px + env(safe-area-inset-top)) minmax(0,1fr) auto!important;overflow:hidden!important}
  .main-panel>.topbar{grid-row:1!important;height:calc(54px + env(safe-area-inset-top))!important;min-height:calc(54px + env(safe-area-inset-top))!important;padding:env(safe-area-inset-top) max(10px,env(safe-area-inset-right)) 0 max(10px,env(safe-area-inset-left))!important;margin:0!important;align-items:center!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;border-bottom:1px solid rgba(0,0,0,.04)!important;z-index:80!important}
  .main-panel>.conversation{grid-row:2!important;position:relative!important;inset:auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:12px max(9px,env(safe-area-inset-right)) 20px max(9px,env(safe-area-inset-left))!important;scroll-padding-top:16px!important;scroll-padding-bottom:24px!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-y:contain!important}
  .app-shell:not(.welcome-mode) .messages{min-height:0!important;padding-top:4px!important;padding-bottom:8px!important}
  .app-shell.welcome-mode .main-panel>.conversation{padding-top:0!important}
  .app-shell.welcome-mode .welcome-view{min-height:100%!important;padding:clamp(28px,7vh,62px) 6px 24px!important;justify-content:flex-start!important}
  .app-shell.welcome-mode .welcome-view h1{font-size:clamp(27px,8vw,35px)!important;line-height:1.1!important;margin:0 0 28px!important;max-width:95%!important}
  .app-shell.welcome-mode .starter-grid{margin-top:18px!important;padding-bottom:10px!important;gap:7px!important}.app-shell.welcome-mode .starter-grid::before{display:none!important}
  .main-panel>.composer-zone{grid-row:3!important;position:relative!important;inset:auto!important;margin:0!important;padding:8px max(8px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))!important;background:linear-gradient(180deg,rgba(255,255,255,.72),#fff 24%)!important;z-index:75!important}
  .composer-card{min-height:88px!important;border-radius:26px!important}.composer-note{margin-top:6px!important;line-height:1.2!important}
  .message-row{scroll-margin-top:14px!important}.assistant-content{font-size:15px!important;line-height:1.62!important}
  .generated-media-card{width:100%!important}.generated-media-card>img{max-height:56dvh!important;border-radius:20px!important}
  .jump-latest{right:max(12px,env(safe-area-inset-right))!important;bottom:calc(var(--composer-inset,128px) + 8px)!important;min-height:36px!important;padding:7px 10px!important;font-size:11px!important}
  .restart-countdown{top:max(8px,env(safe-area-inset-top))!important;align-items:flex-start!important}.restart-sound-toggle{flex:0 0 34px}
  body.composer-focus-mode .main-panel>.composer-zone{width:calc(100vw - 14px)!important;max-height:calc(var(--app-height,100dvh) - 16px)!important;border-radius:24px!important;padding:10px!important}
  body.composer-focus-mode #messageInput{height:55dvh!important;max-height:55dvh!important}
}

body[data-theme="dark"] .long-message-collapsed:after{background:linear-gradient(180deg,transparent,#212121 88%)}
body[data-theme="dark"] .message-user .long-message-collapsed:after{background:linear-gradient(180deg,transparent,#2f2f2f 88%)}
body[data-theme="dark"].composer-focus-mode .main-panel>.composer-zone{background:#212121!important;border-color:#3a3a3f!important}

/* V0.20.16 composer expand affordance sits at the top-right like a document editor. */
.composer-card{position:relative!important}
.composer-expand-button:not(.hidden){position:absolute!important;right:12px!important;top:9px!important;z-index:6!important;background:rgba(245,245,247,.96)!important;box-shadow:0 2px 9px rgba(0,0,0,.06)!important}
.composer-card:has(.composer-expand-button:not(.hidden)) .composer-input-shell{padding-right:46px!important}


/* SenvoAI V0.20.16 — media reliability, in-place composer, voice preview */
.assistant-media{display:flex;flex-direction:column;gap:10px;margin:2px 0 12px;max-width:100%}.assistant-media.hidden{display:none!important}
.assistant-media .generated-media-card{margin:0!important}.assistant-media .generated-media-card>a{display:block;max-width:100%;text-decoration:none}
.voice-orb-v209{border:0!important;padding:0!important;cursor:pointer!important;-webkit-tap-highlight-color:transparent;transition:transform .18s ease,box-shadow .2s ease,filter .2s ease!important}
.voice-orb-v209:active{transform:scale(.975)}
.voice-preview-wave{position:absolute!important;left:50%!important;bottom:20px!important;transform:translateX(-50%)!important;z-index:3!important;height:27px!important;display:flex!important;align-items:center!important;gap:4px!important;opacity:0!important;transition:opacity .16s ease!important}
.voice-preview-wave b{display:block;width:4px;height:8px;border-radius:999px;background:#fff;box-shadow:0 1px 5px rgba(44,52,135,.20)}
.voice-orb-v209.is-previewing{transform:scale(1.025);filter:saturate(1.08);box-shadow:inset 0 0 40px rgba(255,255,255,.38),0 20px 52px rgba(82,97,238,.30),0 0 0 7px rgba(91,104,255,.08)!important}
.voice-orb-v209.is-previewing .voice-preview-wave{opacity:1!important}.voice-orb-v209.is-previewing .voice-preview-wave b{animation:senvoraVoicePreview .64s ease-in-out infinite alternate}.voice-orb-v209.is-previewing .voice-preview-wave b:nth-child(2){animation-delay:.10s}.voice-orb-v209.is-previewing .voice-preview-wave b:nth-child(3){animation-delay:.20s}.voice-orb-v209.is-previewing .voice-preview-wave b:nth-child(4){animation-delay:.30s}
@keyframes senvoraVoicePreview{from{height:7px;opacity:.65}to{height:25px;opacity:1}}

/* Expand the actual composer instead of opening a blurred floating overlay. */
body.composer-focus-mode:before{display:none!important;content:none!important}
body.composer-focus-mode .main-panel>.composer-zone{position:relative!important;z-index:75!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;width:auto!important;max-height:none!important;padding:8px max(10px,env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))!important;border:0!important;border-radius:0!important;background:linear-gradient(180deg,rgba(255,255,255,.88),#fff 22%)!important;box-shadow:none!important}
body.composer-focus-mode .composer-card{width:min(980px,calc(100% - 8px))!important;max-width:980px!important;margin:0 auto!important;border:1px solid var(--border,#dedee3)!important;border-radius:26px!important;box-shadow:0 12px 42px rgba(20,20,30,.08)!important}
body.composer-focus-mode #messageInput{height:clamp(240px,42dvh,520px)!important;min-height:240px!important;max-height:52dvh!important;overflow-y:auto!important}
body.composer-focus-mode .composer-note{display:block!important}
body[data-theme="dark"].composer-focus-mode .main-panel>.composer-zone{background:linear-gradient(180deg,rgba(33,33,33,.88),#212121 22%)!important;border:0!important}

/* Smaller navigation footprint, while keeping touch targets large enough. */
@media(min-width:761px){.sidebar{width:258px!important;flex-basis:258px!important}.app-shell.sidebar-collapsed .sidebar{width:58px!important;flex-basis:58px!important}}
@media(max-width:760px){.sidebar{width:min(82vw,304px)!important;max-width:min(82vw,304px)!important}body.composer-focus-mode #messageInput{height:38dvh!important;min-height:220px!important;max-height:46dvh!important}}

/* Retry tooltip can show the actual model on a quieter second line. */
.global-tooltip.model-tooltip{min-width:132px;padding:8px 11px!important;display:flex;flex-direction:column;gap:3px;text-align:left!important}.global-tooltip.model-tooltip strong{font-size:11px;line-height:1.2}.global-tooltip.model-tooltip small{font-size:9.5px;font-weight:500;color:rgba(255,255,255,.70);line-height:1.2}
body[data-theme="dark"] .global-tooltip.model-tooltip small{color:rgba(20,20,22,.66)}

/* Gentle visible reply acknowledgement for browsers (notably iOS) that do not expose hardware vibration. */
body.reply-feedback-pulse .composer-card{box-shadow:0 0 0 3px color-mix(in srgb,var(--accent,#5f5af6) 10%,transparent),0 10px 30px rgba(0,0,0,.06)!important}

/* SenvoAI V0.20.16 — device onboarding + in-app image viewer */
.device-check-open{overflow:hidden!important}
.device-check-gate{position:fixed;inset:0;z-index:4600;display:grid;place-items:center;padding:max(16px,env(safe-area-inset-top)) 14px max(16px,env(safe-area-inset-bottom))}
.device-check-gate.hidden{display:none!important}.device-check-backdrop{position:absolute;inset:0;background:rgba(18,19,24,.62);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.device-check-card{position:relative;width:min(560px,100%);max-height:calc(100dvh - 28px);overflow:auto;border-radius:28px;background:#fff;border:1px solid rgba(255,255,255,.76);box-shadow:0 32px 100px rgba(0,0,0,.26);padding:24px}
.device-check-brand{display:flex;align-items:center;gap:10px;margin-bottom:20px}.device-check-brand img{width:38px;height:38px;border-radius:12px}.device-check-brand div{display:flex;flex-direction:column}.device-check-brand strong{font-size:13px}.device-check-brand span{font-size:10px;color:#9296a0}
.device-check-stage{text-align:center}.device-check-stage.hidden{display:none!important}.device-check-stage h2{margin:10px 0 8px;font-size:26px;letter-spacing:-.7px}.device-check-stage>p{margin:0 auto 18px;max-width:440px;color:#6f737c;font-size:12.5px;line-height:1.55}
.device-scan-phone{width:90px;height:132px;margin:18px auto 20px;border:3px solid #24262b;border-radius:23px;position:relative;background:#f7f7f9;box-shadow:0 14px 34px rgba(0,0,0,.08);overflow:hidden}.device-scan-phone:before{content:"";position:absolute;left:27px;right:27px;top:7px;height:5px;border-radius:999px;background:#23252a}.device-scan-phone i{position:absolute;left:-20%;right:-20%;height:3px;top:20px;background:linear-gradient(90deg,transparent,#6754ff,#38bdf8,transparent);box-shadow:0 0 18px #6754ff;animation:deviceScan 1.15s ease-in-out infinite}.device-scan-phone b{position:absolute;inset:28px 12px 16px;border-radius:13px;background:linear-gradient(145deg,#eef0ff,#f6fbff)}.device-scan-phone span{position:absolute;left:50%;bottom:7px;width:22px;height:3px;border-radius:999px;background:#b7bac2;transform:translateX(-50%)}@keyframes deviceScan{0%{top:23px;opacity:.5}50%{top:104px;opacity:1}100%{top:23px;opacity:.5}}
.device-scan-track{height:5px;border-radius:999px;background:#ececf1;overflow:hidden}.device-scan-track i{display:block;width:42%;height:100%;border-radius:999px;background:linear-gradient(90deg,#6357ed,#4ca6ff);animation:deviceTrack 1.1s ease-in-out infinite}@keyframes deviceTrack{0%{transform:translateX(-110%)}100%{transform:translateX(340%)}}
.device-detected-icon{width:66px;height:66px;margin:10px auto 14px;border-radius:20px;background:linear-gradient(145deg,#eceaff,#e4f5ff);display:grid;place-items:center;font-size:27px;color:#5a50d7}.device-correct-question{display:block;margin:17px 0 10px;font-size:13px}.device-check-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.device-check-actions button{min-height:44px}
.device-feature-pills{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:14px auto}.device-feature-pills span{padding:6px 9px;border-radius:999px;background:#f2f3f6;color:#555a64;font-size:10px;font-weight:650}
.device-choose-back{display:block;border:0;background:transparent;color:#5c52d6;cursor:pointer;padding:4px 0 10px}.device-model-search{display:flex;align-items:center;gap:8px;border:1px solid #dedfe5;border-radius:14px;padding:0 12px;background:#fafafd;margin:14px 0 10px}.device-model-search input{width:100%;height:46px;border:0;background:transparent;outline:0;font-size:14px}.device-model-results{display:flex;flex-direction:column;gap:5px;max-height:min(440px,48dvh);overflow:auto;text-align:left}.device-model-result{display:flex;align-items:center;gap:10px;width:100%;border:1px solid transparent;background:transparent;border-radius:13px;padding:9px 10px;text-align:left;cursor:pointer}.device-model-result:hover{background:#f6f6f8;border-color:#e7e7ec}.device-model-result>span{width:34px;height:34px;border-radius:10px;background:#efeff3;display:grid;place-items:center;font-weight:800;color:#555a65}.device-model-result>div{display:flex;flex-direction:column;gap:2px}.device-model-result strong{font-size:12.5px}.device-model-result small{font-size:10px;color:#91959e}.device-model-result.custom{background:#f5f3ff;border-color:#e4e0ff}.device-model-empty{padding:24px;text-align:center;color:#8c9099;font-size:12px}.device-model-setting{display:flex;align-items:center;gap:9px;justify-content:flex-end;flex-wrap:wrap}.device-model-setting>strong{font-size:12px!important;color:#3f4249!important}
.image-interactive{cursor:zoom-in;-webkit-touch-callout:none;user-select:none;-webkit-user-select:none}.image-interactive img{pointer-events:none}.image-attachment{font:inherit;text-align:left;appearance:none;-webkit-appearance:none;cursor:pointer}.image-attachment:focus-visible,.generated-media-card.image-interactive:focus-visible{outline:3px solid rgba(93,77,230,.22);outline-offset:3px}
.image-viewer-open{overflow:hidden!important}.image-viewer-modal{z-index:4700!important;background:rgba(7,8,11,.88)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom));display:flex;flex-direction:column}.image-viewer-modal.hidden{display:none!important}.image-viewer-stage{flex:1;min-height:0;display:grid;place-items:center}.image-viewer-stage img{max-width:min(96vw,1200px);max-height:calc(100dvh - 110px);width:auto;height:auto;object-fit:contain;border-radius:16px;box-shadow:0 20px 70px rgba(0,0,0,.38)}.image-viewer-close{position:fixed;right:max(16px,env(safe-area-inset-right));top:max(16px,env(safe-area-inset-top));z-index:2;width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:25px;cursor:pointer}.image-viewer-footer{height:54px;display:flex;align-items:center;justify-content:center;gap:12px;color:#fff}.image-viewer-footer span{max-width:70vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.image-viewer-footer button{border:0;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;min-width:44px;height:36px;cursor:pointer}
.image-action-sheet{position:fixed;inset:0;z-index:4800;display:grid;place-items:end center;padding:0 12px max(12px,env(safe-area-inset-bottom))}.image-action-sheet.hidden{display:none!important}.image-action-sheet-backdrop{position:absolute;inset:0;border:0;background:rgba(13,14,18,.35);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.image-action-sheet-card{position:relative;width:min(520px,100%);border-radius:22px;background:rgba(249,249,250,.97);box-shadow:0 20px 70px rgba(0,0,0,.22);overflow:hidden;padding:6px}.image-action-sheet-card>button{width:100%;min-height:58px;border:0;border-bottom:1px solid #e3e3e6;background:transparent;display:flex;align-items:center;gap:15px;padding:0 18px;text-align:left;cursor:pointer;color:#18191d}.image-action-sheet-card>button:last-child{border-bottom:0}.image-action-sheet-card>button:hover{background:#efeff2}.image-action-sheet-card>button span{width:28px;text-align:center;font-size:23px}.image-action-sheet-card>button strong{font-size:16px;font-weight:560}.image-action-sheet-card .image-action-cancel{justify-content:center;margin-top:4px;border-radius:16px;background:#fff;font-weight:650}
body[data-theme="dark"] .device-check-card{background:#17181c;border-color:#32343a;color:#f4f5f7}body[data-theme="dark"] .device-model-search{background:#202126;border-color:#373940}body[data-theme="dark"] .device-model-result:hover{background:#25262b;border-color:#363841}body[data-theme="dark"] .device-feature-pills span{background:#25262b;color:#d4d6db}body[data-theme="dark"] .image-action-sheet-card{background:rgba(35,36,41,.98)}body[data-theme="dark"] .image-action-sheet-card>button{color:#f5f5f6;border-color:#3b3c42}body[data-theme="dark"] .image-action-sheet-card>button:hover{background:#303138}body[data-theme="dark"] .image-action-sheet-card .image-action-cancel{background:#292a30}
@media(max-width:760px){.device-check-gate{padding:8px 8px max(8px,env(safe-area-inset-bottom))}.device-check-card{width:100%;max-height:calc(100dvh - 16px);border-radius:24px;padding:18px}.device-check-stage h2{font-size:23px}.device-check-actions{grid-template-columns:1fr}.device-check-actions .primary-button{grid-row:1}.device-model-results{max-height:47dvh}.device-model-setting{width:100%;justify-content:space-between}.image-viewer-stage img{max-width:100%;max-height:calc(100dvh - 100px);border-radius:13px}.image-action-sheet{padding-inline:8px}.image-action-sheet-card{border-radius:24px}.image-action-sheet-card>button{min-height:64px}.generated-media-card img{max-height:62dvh!important}}

/* V0.20.18 — desktop/laptop device setup */
@media (min-width:761px){
  .device-scan-phone{width:148px!important;height:94px!important;border-radius:12px!important;border-width:3px!important;overflow:visible!important;background:#f7f8fb!important;margin-top:26px!important;margin-bottom:34px!important}
  .device-scan-phone:before{left:10px!important;right:10px!important;top:10px!important;height:62px!important;border-radius:7px!important;background:linear-gradient(145deg,#eef0ff,#f6fbff)!important}
  .device-scan-phone:after{content:"";position:absolute;left:-17px;right:-17px;bottom:-14px;height:9px;border-radius:2px 2px 12px 12px;background:#2c2e34;box-shadow:0 5px 12px rgba(0,0,0,.12)}
  .device-scan-phone i{left:7px!important;right:7px!important;top:18px!important;width:auto!important;animation:deviceScanDesktop 1.15s ease-in-out infinite!important}
  .device-scan-phone b{inset:15px 12px 16px!important;border-radius:5px!important}
  .device-scan-phone span{bottom:-24px!important;width:44px!important;height:4px!important;background:#9da1ab!important}
  @keyframes deviceScanDesktop{0%{top:18px;opacity:.5}50%{top:68px;opacity:1}100%{top:18px;opacity:.5}}
}

/* --------------------------------------------------------------------------
   V0.21.0 — safe-area mobile shell + desktop workspace + thinking effort
   -------------------------------------------------------------------------- */
.desktop-workspace-actions{display:flex;align-items:center;gap:4px;min-width:0}
.desktop-workspace-actions button{height:34px;border:1px solid transparent;background:transparent;border-radius:10px;padding:0 9px;display:flex;align-items:center;gap:6px;color:var(--text-soft,#666);font:600 11px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer;white-space:nowrap;transition:background .14s ease,border-color .14s ease,color .14s ease,transform .14s ease}
.desktop-workspace-actions button span{font-size:16px;line-height:1}.desktop-workspace-actions button:hover{background:var(--surface-2,#f3f3f5);border-color:var(--border,#e5e5e7);color:var(--text,#222)}.desktop-workspace-actions button:active{transform:scale(.97)}
.effort-help{margin:4px 12px 10px;color:var(--text-soft,#737780);font-size:10.5px;line-height:1.45;max-width:300px}.effort-scale-four{grid-template-columns:repeat(4,1fr)!important;font-size:9px!important}.effort-option[data-effort="extra_high"] strong{letter-spacing:-.1px}
@media(max-width:1180px){.desktop-workspace-actions button b{display:none}.desktop-workspace-actions button{width:34px;padding:0;justify-content:center}}
@media(max-width:900px){.desktop-workspace-actions{display:none!important}}

@media(max-width:760px){
  :root{--senvora-mobile-safe-top:max(env(safe-area-inset-top),var(--senvora-vv-top,0px));}
  .sidebar{
    top:0!important;bottom:0!important;height:var(--app-height,100dvh)!important;
    padding-top:calc(var(--senvora-mobile-safe-top) + 8px)!important;
    padding-bottom:calc(env(safe-area-inset-bottom) + 8px)!important;
    box-sizing:border-box!important;overflow:hidden!important;
  }
  .sidebar-scroll-body{min-height:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;flex:1 1 auto!important}
  .sidebar-top{flex:0 0 auto!important}.chat-list-scroll{min-height:0!important;flex:1 1 auto!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important}
  .sidebar-brand-row{min-height:50px!important;align-items:center!important}.account-row{padding-bottom:max(8px,env(safe-area-inset-bottom))!important}
  .sidebar-scrim{top:0!important;height:var(--app-height,100dvh)!important}
}

body[data-theme="dark"] .desktop-workspace-actions button:hover{background:#2a2b2f;border-color:#3b3d43;color:#fff}
.effort-scale.effort-scale-four{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:3px!important;padding-inline:2px!important}.effort-scale.effort-scale-four span{text-align:center;white-space:nowrap}

/* ========================================================================== */
/* SenvoAI V0.21.2 — Spectrum workspace                                      */
/* A distinct Senvo visual system: floating control deck, spectrum accents,    */
/* card-based conversation canvas and a rectangular command composer.          */
/* ========================================================================== */
:root{
  --senvo-ink:#14213d;
  --senvo-muted:#65708a;
  --senvo-cyan:#13b7c9;
  --senvo-blue:#4263eb;
  --senvo-violet:#7c4dff;
  --senvo-surface:#ffffff;
  --senvo-soft:#f4f7fc;
  --senvo-line:#dfe6f2;
  --senvo-shadow:0 18px 50px rgba(31,48,88,.10);
}
html,body{background:#edf2fa!important;color:var(--senvo-ink)!important}
body.senvora-app-body{
  background:
    radial-gradient(circle at 12% 0%,rgba(19,183,201,.11),transparent 26rem),
    radial-gradient(circle at 92% 10%,rgba(124,77,255,.09),transparent 30rem),
    #edf2fa!important;
}
.app-shell{gap:12px;padding:12px;box-sizing:border-box;background:transparent!important}
.sidebar{
  width:258px!important;
  border:1px solid rgba(123,140,178,.18)!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(246,249,255,.97))!important;
  box-shadow:var(--senvo-shadow)!important;
  overflow:hidden!important;
}
.sidebar-brand-row{padding:13px 13px 9px!important}
.brand-lockup.compact{gap:9px!important}
.brand-logo{border-radius:12px!important;box-shadow:0 7px 18px rgba(66,99,235,.18)!important}
.beta-badge{background:#e9edff!important;color:#4b49b6!important;border:1px solid #d8dcff!important;border-radius:999px!important}
.new-chat-button{
  margin:5px 10px 8px!important;
  border:0!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,var(--senvo-blue),var(--senvo-violet))!important;
  color:#fff!important;
  box-shadow:0 10px 26px rgba(66,99,235,.24)!important;
}
.new-chat-button .nav-icon svg{stroke:#fff!important}
.sidebar-nav{margin:2px 9px!important;border-radius:12px!important;color:#34405d!important}
.sidebar-nav:hover,.sidebar-nav.active{background:#edf2ff!important;color:#3149b9!important}
.chat-section{padding:2px 8px!important}
.chat-section-title{font-size:12px!important;letter-spacing:.04em!important;text-transform:uppercase!important;color:#7a8499!important}
.chat-list .chat-row,.chat-list button{border-radius:12px!important}
.chat-list .active,.chat-list .selected{background:linear-gradient(90deg,#e9f8fa,#eef0ff)!important;color:#243d91!important}
.account-row{margin:8px!important;border:1px solid var(--senvo-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 8px 22px rgba(40,55,95,.06)!important}
.main-panel{
  border:1px solid rgba(123,140,178,.16)!important;
  border-radius:26px!important;
  background:rgba(252,253,255,.88)!important;
  box-shadow:0 20px 60px rgba(31,48,88,.08)!important;
  backdrop-filter:blur(12px);
}
.topbar{
  min-height:64px!important;
  margin:0!important;
  border-bottom:1px solid rgba(117,132,168,.13)!important;
  background:linear-gradient(90deg,rgba(255,255,255,.92),rgba(246,249,255,.86))!important;
  border-radius:26px 26px 0 0!important;
  padding:0 18px!important;
}
.topbar-title{font-weight:780!important;letter-spacing:-.02em!important;color:#18233f!important}
.topbar-subtitle{color:#8490a8!important}
.experience-switch{background:#eff3fb!important;border:1px solid #dce4f2!important;border-radius:14px!important;padding:4px!important}
.experience-mode-button{border-radius:10px!important}
.provider-badge-v160{background:#fff!important;border:1px solid #dde5f2!important;color:#52617c!important}
.conversation{
  background:
    linear-gradient(rgba(255,255,255,.72),rgba(255,255,255,.82)),
    radial-gradient(circle at 60% 0%,rgba(67,99,235,.06),transparent 28rem)!important;
}
.welcome-view{max-width:930px!important;margin:0 auto!important;padding-inline:32px!important}
.welcome-view h1{
  color:#192443!important;
  font-weight:760!important;
  letter-spacing:-.045em!important;
  background:linear-gradient(92deg,#18233f 10%,#3f62e8 58%,#7b4cf4 92%);
  -webkit-background-clip:text;background-clip:text;color:transparent!important;
}
.starter-grid{gap:12px!important}
.starter-card,.starter-row,.welcome-suggestion-row{
  border:1px solid #dfe6f2!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.9)!important;
  box-shadow:0 9px 28px rgba(35,49,84,.05)!important;
}
.messages{max-width:980px!important;margin-inline:auto!important;padding-inline:28px!important}
.message-user .message-body{
  background:linear-gradient(135deg,#edf7fb,#edf0ff)!important;
  border:1px solid #d9e5f2!important;
  border-left:4px solid var(--senvo-cyan)!important;
  border-radius:16px 16px 16px 6px!important;
  color:#1c2947!important;
  box-shadow:0 8px 22px rgba(40,65,105,.05)!important;
}
.message-assistant .message-body{
  background:#fff!important;
  border:1px solid #e0e6f0!important;
  border-top:3px solid transparent!important;
  border-image:linear-gradient(90deg,var(--senvo-cyan),var(--senvo-blue),var(--senvo-violet)) 1!important;
  border-radius:16px!important;
  box-shadow:0 10px 28px rgba(32,47,83,.055)!important;
  padding:17px 19px!important;
}
.message-assistant .assistant-avatar,.assistant-avatar{border-radius:12px!important;box-shadow:0 6px 16px rgba(66,99,235,.18)!important}
.composer-zone{padding:10px 22px 14px!important;background:linear-gradient(180deg,transparent,rgba(244,247,252,.96) 35%)!important}
.composer-card{
  border:1px solid #d8e1ef!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 14px 40px rgba(33,48,85,.10)!important;
  overflow:visible!important;
}
.composer-card:focus-within{border-color:#9ab1ff!important;box-shadow:0 14px 42px rgba(66,99,235,.15),0 0 0 3px rgba(66,99,235,.07)!important}
#messageInput{font-size:16px!important;color:#18233f!important}
.send-button,.composer-call-button{background:linear-gradient(135deg,#253d89,#7157ef)!important;color:#fff!important;border:0!important}
.effort-button{border:1px solid transparent!important;border-radius:10px!important;background:#f4f6fb!important;color:#3d4a65!important}
.effort-menu{border:1px solid #dce4f2!important;border-radius:18px!important;box-shadow:0 20px 55px rgba(27,42,79,.18)!important}
.effort-plan-tag{font-style:normal;font-size:10px;padding:2px 6px;margin-left:5px;border-radius:999px;background:#e8f7fb;color:#087a88;border:1px solid #c8edf2}.effort-plan-tag.pro{background:#eeeaff;color:#5a3ccb;border-color:#ddd4ff}
.jump-latest{border-radius:12px!important;background:#192846!important;color:#fff!important;border:0!important;box-shadow:0 12px 28px rgba(25,40,70,.24)!important}
.workspace-modal,.settings-modal-v10,.modal-backdrop{backdrop-filter:blur(10px)}
.workspace-page,.settings-shell-v10,.modal-card{border-radius:22px!important;border:1px solid #dce4ef!important;box-shadow:0 22px 65px rgba(27,42,79,.16)!important}

/* Mobile: Senvo uses an inset control drawer rather than a full edge-to-edge clone. */
@media(max-width:760px){
  .app-shell{padding:0!important;gap:0!important;background:#fff!important}
  .main-panel{border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important}
  .sidebar{
    width:min(86vw,340px)!important;
    max-width:min(86vw,340px)!important;
    border-radius:0 24px 24px 0!important;
    border-left:0!important;
    padding-top:calc(max(env(safe-area-inset-top),var(--senvora-vv-top,0px)) + 10px)!important;
    box-shadow:22px 0 55px rgba(25,39,73,.18)!important;
  }
  .topbar{border-radius:0!important;padding:0 14px!important;min-height:58px!important;background:rgba(255,255,255,.96)!important}
  .messages{padding-inline:14px!important}
  .message-assistant .message-body{padding:14px 15px!important}
  .composer-zone{padding:8px 12px calc(8px + env(safe-area-inset-bottom))!important}
  .composer-card{border-radius:16px!important}
  .welcome-view{padding-inline:18px!important}
  .welcome-view h1{font-size:30px!important}
}

/* Spectrum auth/legal surfaces */
.auth-v125-body,.auth-body{background:#edf2fa!important}
.auth-v125-shell,.auth-shell-premium{background:transparent!important}
.auth-v125-brand,.auth-brand-panel{
  background:
    radial-gradient(circle at 18% 12%,rgba(57,221,226,.22),transparent 18rem),
    radial-gradient(circle at 75% 25%,rgba(126,84,255,.30),transparent 22rem),
    linear-gradient(155deg,#13233f 0%,#263e7d 52%,#513f9d 100%)!important;
}
.auth-v125-card,.auth-card-premium{border:1px solid #dce4f2!important;border-radius:24px!important;box-shadow:0 24px 70px rgba(28,44,82,.14)!important}
.auth-v125-card:before,.auth-card-premium:before{background:linear-gradient(90deg,var(--senvo-cyan),var(--senvo-blue),var(--senvo-violet))!important}
.auth-v125-primary,.auth-primary{background:linear-gradient(135deg,#2b4a9c,#7154e8)!important;color:#fff!important}
.auth-v125-secondary,.auth-secondary{border-color:#d9e2ef!important;background:#f7f9fd!important;color:#253556!important}
.auth-v125-tabs,.auth-tabs{background:#edf2f8!important;border-color:#dfe6f0!important}
.auth-tab.active{color:#2e4b9d!important;box-shadow:0 4px 12px rgba(42,68,138,.09)!important}
.legal-body,.legal-body-premium{background:radial-gradient(circle at 20% 0%,rgba(19,183,201,.09),transparent 24rem),#edf2fa!important}
.legal-card,.legal-main-card{border:1px solid #dce4ef!important;border-radius:22px!important;box-shadow:0 18px 50px rgba(31,48,88,.08)!important}

/* Spectrum dark mode keeps the independent structure instead of reverting to the legacy shell. */
body[data-theme="dark"]{--senvo-ink:#eef3ff;--senvo-muted:#9ca8bf;--senvo-surface:#151a24;--senvo-soft:#111620;--senvo-line:#2a3447;--senvo-shadow:0 20px 55px rgba(0,0,0,.32)}
body[data-theme="dark"],body[data-theme="dark"] .app-shell{background:#0d121b!important}
body[data-theme="dark"] .sidebar{background:linear-gradient(180deg,#151b26,#111722)!important;border-color:#273247!important}
body[data-theme="dark"] .main-panel{background:#101620!important;border-color:#253047!important}
body[data-theme="dark"] .topbar{background:linear-gradient(90deg,rgba(18,24,35,.98),rgba(22,29,43,.96))!important;border-color:#273248!important}
body[data-theme="dark"] .topbar-title{color:#f1f5ff!important}
body[data-theme="dark"] .conversation{background:radial-gradient(circle at 60% 0%,rgba(75,103,235,.09),transparent 28rem),#101620!important}
body[data-theme="dark"] .message-assistant .message-body{background:#151c28!important;border-color:#29364c!important;color:#edf2fb!important}
body[data-theme="dark"] .message-user .message-body{background:linear-gradient(135deg,#173041,#22284b)!important;border-color:#2c4357!important;color:#edf6ff!important}
body[data-theme="dark"] .composer-zone{background:linear-gradient(180deg,transparent,#101620 38%)!important}
body[data-theme="dark"] .composer-card{background:#171e2a!important;border-color:#2c394f!important}
body[data-theme="dark"] #messageInput{color:#f3f6ff!important}
body[data-theme="dark"] .account-row,body[data-theme="dark"] .starter-card,body[data-theme="dark"] .welcome-suggestion-row{background:#171e2a!important;border-color:#2a364a!important;color:#eaf0fb!important}
body[data-theme="dark"] .welcome-view h1{background:linear-gradient(92deg,#f3f6ff 10%,#7ea1ff 58%,#b39aff 92%);-webkit-background-clip:text;background-clip:text;color:transparent!important}

/* SenvoAI V0.21.3 — Scheduler precision + desktop/mobile workspace polish */
.task-overview-v213{display:grid;grid-template-columns:120px 140px minmax(180px,1fr);gap:10px;margin:4px 0 14px}
.task-overview-v213>span{display:flex;align-items:baseline;gap:8px;padding:10px 13px;border:1px solid rgba(25,45,80,.10);border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(245,249,255,.92));box-shadow:0 8px 26px rgba(34,64,110,.05)}
.task-overview-v213 b{font-size:18px;line-height:1;color:var(--text,#17181c)}
.task-overview-v213 small{font-size:12px;color:var(--muted,#777)}
.task-overview-v213 .wide{min-width:0}.task-overview-v213 .wide b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}
.scheduled-example-v213{display:flex;align-items:center;gap:10px;margin:-4px 0 16px;padding:10px 12px;border-radius:14px;background:rgba(38,116,255,.055);border:1px solid rgba(38,116,255,.10)}
.scheduled-example-v213 strong{font-size:12px}.scheduled-example-v213 span{font-size:12px;color:var(--muted,#72767f);flex:1}.scheduled-example-v213 button{border:0;border-radius:999px;padding:8px 11px;background:#eef4ff;color:#285da8;font-weight:650;cursor:pointer}
#tasksModal .scheduled-page-v167{width:min(980px,calc(100vw - 46px));max-width:980px}
#tasksModal .scheduled-list-v167{border-top:1px solid rgba(25,45,80,.08);padding-top:4px}
#tasksModal .scheduled-row-v167{border-radius:14px;padding:13px 12px;margin:3px 0;transition:background .16s ease,transform .16s ease}
#tasksModal .scheduled-row-v167:hover{background:rgba(45,105,210,.045);transform:translateY(-1px)}
@media(max-width:760px){
  #tasksModal .scheduled-page-v167{width:100%;max-width:none;height:100%;border-radius:0;padding-top:calc(env(safe-area-inset-top) + 14px)!important;padding-bottom:calc(env(safe-area-inset-bottom) + 16px)!important}
  .task-overview-v213{grid-template-columns:1fr 1fr}.task-overview-v213 .wide{grid-column:1/-1}.scheduled-example-v213{align-items:flex-start;flex-wrap:wrap}.scheduled-example-v213 span{flex-basis:100%;order:2}.scheduled-example-v213 button{order:3;width:100%}
}


/* V0.21.5 — SenvoAI Control Deck refresh (deliberately distinct product styling) */
.settings-center-v10{border-radius:26px!important;background:linear-gradient(145deg,#f8fbff,#eef5ff 55%,#f7f2ff)!important;border:1px solid rgba(80,112,180,.16)!important;box-shadow:0 28px 90px rgba(25,42,78,.22)!important;overflow:hidden}
.settings-sidebar-v10{background:linear-gradient(180deg,#10182b 0%,#16223c 100%)!important;color:#eef5ff!important;border-right:0!important;padding:18px 12px!important}
.settings-sidebar-v10 .settings-search{background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.12)!important;color:white!important}
.settings-sidebar-v10 .settings-search input{color:white!important}.settings-sidebar-v10 .settings-search input::placeholder{color:#9fb0cf!important}
.settings-nav{border-radius:12px!important;color:#bdc9df!important;margin:2px 0!important;border:1px solid transparent!important}
.settings-nav:hover{background:rgba(255,255,255,.07)!important;color:white!important}.settings-nav.active{background:linear-gradient(90deg,rgba(31,210,255,.18),rgba(123,92,255,.16))!important;color:white!important;border-color:rgba(65,218,255,.26)!important;box-shadow:inset 3px 0 0 #20d7ff!important}
.settings-content-v10{background:rgba(255,255,255,.74)!important;backdrop-filter:blur(18px)}
.settings-panel-v10 .setting-row,.settings-subsection,.settings-info-card{border-radius:16px!important;border:1px solid rgba(90,119,168,.14)!important;background:rgba(255,255,255,.72)!important;box-shadow:0 7px 24px rgba(38,60,102,.055)!important}
.account-menu{border-radius:20px!important;background:linear-gradient(155deg,#101a30,#172746)!important;color:#ecf5ff!important;border:1px solid rgba(91,216,255,.18)!important;box-shadow:0 24px 60px rgba(8,18,38,.34)!important;padding:10px!important}
.account-menu .popover-action,.account-menu-profile{color:#eaf3ff!important;border-radius:12px!important}.account-menu .popover-action:hover,.account-menu-profile:hover{background:rgba(71,207,255,.11)!important}.account-menu .menu-divider{border-color:rgba(255,255,255,.1)!important}
.performance-hero-v214{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px;border-radius:20px;background:linear-gradient(135deg,#102644,#173d62 60%,#402a73);color:white;margin:16px 0}
.performance-hero-v214 div{display:grid;gap:4px}.performance-hero-v214 span,.performance-hero-v214 small{color:#b9d5eb}.performance-hero-v214 strong{font-size:30px}
.performance-grid-v214{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.performance-grid-v214>div{padding:16px;border:1px solid rgba(78,112,170,.14);border-radius:15px;background:rgba(255,255,255,.82);display:grid;gap:5px}.performance-grid-v214 span{font-size:12px;color:#758399}.performance-grid-v214 strong{font-size:16px;overflow-wrap:anywhere}
.performance-meter-v214{height:9px;border-radius:999px;background:#dce7f4;overflow:hidden;margin:15px 0 4px}.performance-meter-v214 i{display:block;width:0;height:100%;background:linear-gradient(90deg,#16cdf0,#6b71ff,#a856ff);transition:width .45s ease}
.performance-live-v214{display:flex;justify-content:space-between;gap:12px;padding:15px;border-radius:14px;background:#101827;color:#eaf5ff}.performance-live-v214 span{color:#aac0d8}
[data-performance-target="30"] .message-row{animation-duration:.12s!important}[data-performance-target="30"] .ambient-orb,[data-performance-target="30"] .decorative-pulse{animation:none!important}
/* Fit more reliably across compact phones, browser bars and large desktops */
@media(max-width:760px){.settings-center-v10{border-radius:0!important}.settings-sidebar-v10{background:#10182b!important}.performance-grid-v214{grid-template-columns:1fr}.performance-hero-v214{align-items:flex-start;flex-direction:column}.performance-hero-v214 .primary-button{width:100%}.main-panel{min-width:0!important}.conversation{padding-inline:clamp(10px,3.5vw,22px)!important}.composer-zone{padding-inline:clamp(8px,3vw,18px)!important}.message-row{max-width:100%!important}.assistant-content,.message-body{min-width:0;max-width:100%;overflow-wrap:anywhere}}
@media(min-width:1400px){.settings-center-v10{max-width:1180px!important}.settings-content-v10{padding-inline:42px!important}}

.release-feed-v214{max-width:900px!important}.release-history-v214{margin-top:18px;border:1px solid rgba(80,111,165,.16);border-radius:18px;background:#fff;overflow:hidden}.release-history-v214 summary{cursor:pointer;padding:18px 20px;display:flex;justify-content:space-between;gap:16px;list-style:none}.release-history-v214 summary span{color:#7b8798;font-weight:500}.release-history-grid-v214{display:grid;gap:10px;padding:0 20px 20px}.release-history-grid-v214 article{padding:14px 16px;border-radius:14px;background:#f4f7fc}.release-history-grid-v214 p{margin:4px 0 0;color:#68758a}.release-hero-v214{padding-bottom:18px!important}
.help-quick-grid-v162 button{border-radius:18px!important;background:linear-gradient(145deg,#fff,#f4f8ff)!important;border-color:rgba(78,116,174,.15)!important}.help-topic-v162{border-radius:18px!important;box-shadow:0 8px 28px rgba(38,60,100,.05)!important}

/* ========================================================================== */
/* SenvoAI V0.21.5 — Aurora workspace, stable composer, security + voice      */
/* ========================================================================== */
:root{--senvo-font:var(--v167-font);--senvo-aura:#6c7dff;--senvo-aqua:#16c8e8;--senvo-purple:#8b5cf6;--senvo-night:#0b1020;--senvo-panel:#121a2b;--senvo-panel-2:#182238;--senvo-line-215:rgba(109,132,190,.22)}
html,body,button,input,textarea,select{font-family:var(--senvo-font,var(--v167-font))!important}

/* Long pastes stay inside the composer instead of lifting the whole dock. */
.composer-card{min-height:74px!important;max-height:none!important;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease!important}
#messageInput{min-height:32px!important;max-height:104px!important;overflow-y:auto!important;scrollbar-width:thin;resize:none!important}
body.composer-focus-mode #messageInput{max-height:56dvh!important;min-height:220px!important}
.composer-card:has(#messageInput:focus){box-shadow:0 0 0 3px rgba(93,106,255,.10),0 14px 38px rgba(20,40,88,.08)!important}
@media(max-width:760px){#messageInput{max-height:96px!important}.composer-card{min-height:76px!important}.app-shell.welcome-mode .welcome-view{padding-bottom:22px!important}.app-shell.welcome-mode .starter-grid{margin-bottom:8px!important}}

/* Aurora chat header — deliberately different from the familiar flat chatbot bar. */
.topbar{margin:10px 16px 0!important;min-height:58px!important;border:1px solid rgba(79,105,167,.14)!important;border-radius:19px!important;background:linear-gradient(120deg,rgba(255,255,255,.96),rgba(245,248,255,.96))!important;box-shadow:0 10px 30px rgba(32,52,99,.06)!important;padding-inline:16px!important}
.topbar:before{content:"";position:absolute;left:14px;top:10px;bottom:10px;width:3px;border-radius:99px;background:linear-gradient(#14c9e8,#6f6eff,#a55bf2);opacity:.78}
.topbar-title{padding-left:9px!important;letter-spacing:-.025em!important}.experience-mode-button{border-radius:12px!important;background:rgba(105,114,255,.07)!important;border:1px solid rgba(92,102,232,.14)!important}
.message-user .message-body{border-radius:22px 22px 7px 22px!important;border-left:3px solid var(--senvo-aqua)!important}.message-assistant .message-body{border-radius:7px 22px 22px 22px!important}

/* Completely refreshed dark theme: deep blue/graphite rather than generic assistant-style grey. */
body[data-theme="dark"]{--bg:#080d18;--surface:#111827;--surface-2:#162033;--text:#edf3ff;--text-soft:#b1bdd1;--text-faint:#748299;--border:#25324a;--border-strong:#34435f;--senvo-line-215:rgba(108,136,203,.30);background:radial-gradient(circle at 15% 0%,rgba(39,93,166,.22),transparent 33rem),#080d18!important;color:#edf3ff!important}
body[data-theme="dark"] .app-shell,body[data-theme="dark"] .main-panel{background:linear-gradient(180deg,#0b1120,#090e19)!important}
body[data-theme="dark"] .conversation{background:radial-gradient(circle at 82% 4%,rgba(97,83,220,.13),transparent 26rem),radial-gradient(circle at 18% 85%,rgba(13,181,211,.08),transparent 28rem),#0a101c!important}
body[data-theme="dark"] .sidebar{background:linear-gradient(180deg,#10192a,#0c1321)!important;border-color:#1f2c43!important}
body[data-theme="dark"] .topbar{background:linear-gradient(120deg,rgba(18,27,45,.97),rgba(13,20,34,.97))!important;border-color:#263755!important;box-shadow:0 12px 34px rgba(0,0,0,.28)!important}
body[data-theme="dark"] .message-assistant .message-body{background:linear-gradient(145deg,#141e31,#101827)!important;border-color:#253654!important;color:#eef4ff!important;box-shadow:0 10px 28px rgba(0,0,0,.16)!important}
body[data-theme="dark"] .message-user .message-body{background:linear-gradient(135deg,#12324a,#232b5e)!important;border-color:#2b4f6c!important;color:#f4f8ff!important}
body[data-theme="dark"] .composer-zone{background:linear-gradient(180deg,transparent,#090f1a 40%)!important}
body[data-theme="dark"] .composer-card{background:linear-gradient(145deg,#111b2d,#0f1726)!important;border-color:#2b3b57!important;box-shadow:0 15px 42px rgba(0,0,0,.32)!important}
body[data-theme="dark"] .composer-tool,body[data-theme="dark"] .icon-button{color:#afbdd3!important}
body[data-theme="dark"] .modal-card,body[data-theme="dark"] .settings-center-v10{background:linear-gradient(160deg,#111a2a,#0c1321)!important;border-color:#293955!important;color:#eef4ff!important}
body[data-theme="dark"] .settings-content-v10{background:radial-gradient(circle at 90% 0%,rgba(102,85,224,.11),transparent 24rem),#0f1726!important}
body[data-theme="dark"] .settings-sidebar-v10{background:linear-gradient(180deg,#0d1b31,#10162a)!important;border-color:#253553!important}
body[data-theme="dark"] .settings-nav{color:#aebbd1!important}body[data-theme="dark"] .settings-nav.active{background:linear-gradient(90deg,rgba(31,199,225,.16),rgba(104,90,246,.18))!important;color:#f6f9ff!important;box-shadow:inset 3px 0 #27c9e4!important}
body[data-theme="dark"] .setting-row,body[data-theme="dark"] .settings-subsection{border-color:#24344e!important}body[data-theme="dark"] .settings-input,body[data-theme="dark"] .settings-compact,body[data-theme="dark"] .settings-textarea{background:#111c2d!important;border-color:#2a3a57!important;color:#eef4ff!important}
body[data-theme="dark"] .settings-info-card,body[data-theme="dark"] .settings-note-v124{background:#121f32!important;border-color:#2a3b58!important;color:#dce7f8!important}
body[data-theme="dark"] .account-popover{background:linear-gradient(160deg,#111b2d,#0d1422)!important;border-color:#2b3a56!important;box-shadow:0 28px 70px rgba(0,0,0,.46)!important}
body[data-theme="dark"] .account-popover button,body[data-theme="dark"] .account-popover a{color:#e8f0ff!important}body[data-theme="dark"] .account-popover button:hover,body[data-theme="dark"] .account-popover a:hover{background:#17243a!important}

/* Voice stage: visible rings + speaking animation and stable geometry. */
.voice-picker-card-v209{position:relative;border:1px solid rgba(97,113,183,.14)!important;border-radius:24px!important;background:radial-gradient(circle at 50% 40%,rgba(118,133,255,.08),transparent 18rem),linear-gradient(180deg,#fbfcff,#f5f8ff)!important;padding:16px!important;overflow:hidden!important}
#voiceOrb{display:grid!important;place-items:center!important;isolation:isolate;background:radial-gradient(circle at 38% 28%,#fff 0 5%,rgba(255,255,255,.58) 12%,transparent 28%),radial-gradient(circle at 62% 72%,rgba(118,99,255,.72),transparent 38%),linear-gradient(145deg,#46d7f1,#6477ff 52%,#9a5cf4)!important;box-shadow:inset 0 0 45px rgba(255,255,255,.26),0 18px 50px rgba(72,91,221,.24)!important}
.voice-orb-glow-v215{position:absolute!important;inset:12%!important;border-radius:50%!important;background:radial-gradient(circle at 48% 45%,rgba(255,255,255,.45),rgba(255,255,255,.03) 55%,transparent 70%)!important;filter:blur(2px)!important}
.voice-orb-ring-v215{position:absolute;inset:-12px;border:2px solid rgba(87,105,255,.20);border-radius:50%;opacity:.75}.voice-orb-ring-v215:before,.voice-orb-ring-v215:after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(45,202,232,.18)}.voice-orb-ring-v215:before{inset:-11px}.voice-orb-ring-v215:after{inset:-22px}
.voice-preview-wave{position:relative!important;z-index:3!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;opacity:.38!important}.voice-preview-wave b{width:5px!important;height:24px!important;border-radius:99px!important;background:#fff!important;box-shadow:0 0 12px rgba(255,255,255,.45)!important}.voice-preview-wave b:nth-child(2),.voice-preview-wave b:nth-child(4){height:38px!important}.voice-preview-wave b:nth-child(3){height:50px!important}
.voice-orb-v209.is-previewing .voice-orb-ring-v215{animation:senvoOrbRing215 1.2s ease-in-out infinite}.voice-orb-v209.is-previewing{animation:senvoOrbFloat215 1.4s ease-in-out infinite alternate}.voice-meta-v215{display:flex;gap:8px;margin-top:8px}.voice-meta-v215 span{padding:4px 8px;border-radius:999px;background:#eef2ff;color:#52607c;font-size:10px;font-weight:700}@keyframes senvoOrbRing215{50%{transform:scale(1.07);opacity:.32}}@keyframes senvoOrbFloat215{to{transform:translateY(-3px) scale(1.02)}}
body[data-theme="dark"] .voice-picker-card-v209{background:radial-gradient(circle at 50% 40%,rgba(100,98,235,.14),transparent 18rem),linear-gradient(180deg,#121d2f,#0f1726)!important;border-color:#2a3b58!important}body[data-theme="dark"] .voice-meta-v215 span{background:#18253b;color:#c5d4ec}

/* Font and timezone searchable pickers. */
.timezone-picker-v215,.font-picker-v215{display:grid;grid-template-columns:minmax(180px,1fr) minmax(210px,1fr);gap:7px;min-width:min(520px,52vw);align-items:center}.timezone-picker-v215 small,.font-picker-v215 small{grid-column:1/-1;color:var(--text-faint);font-size:10px}.timezone-picker-v215 .settings-input,.font-picker-v215 .settings-input{min-width:0}.security-action-v215{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.security-setup-modal-v215{width:min(540px,94vw)!important}.totp-secret-v215{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center;padding:14px;border-radius:15px;background:var(--surface-2);margin:12px 0}.totp-secret-v215 code,.long-code-v215{overflow-wrap:anywhere;word-break:break-word}.age-privacy-note-v215{padding:12px 14px;border-radius:13px;background:rgba(91,105,255,.07);color:var(--text-soft);font-size:11px;line-height:1.55;margin:10px 0}

/* Mobile geometry: content, welcome cards and composer all fit the real visual viewport. */
@media(max-width:760px){
  .topbar{margin:6px max(8px,env(safe-area-inset-right)) 0 max(8px,env(safe-area-inset-left))!important;border-radius:17px!important;min-height:54px!important}
  .main-panel{min-height:0!important;overflow:hidden!important}.conversation{min-height:0!important}
  .app-shell.welcome-mode .welcome-view{min-height:0!important;max-height:none!important;padding:clamp(26px,7vh,56px) 12px 12px!important;overflow-y:auto!important}
  .app-shell.welcome-mode .welcome-view h1{font-size:clamp(28px,8vw,38px)!important;line-height:1.08!important;max-width:90%!important}
  .app-shell.welcome-mode .starter-grid{width:100%!important;margin-top:32px!important;padding-bottom:16px!important}
  .composer-zone{position:relative!important;inset:auto!important;grid-row:3!important;width:auto!important;margin:0!important;padding:7px max(9px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(9px,env(safe-area-inset-left))!important}
  .timezone-picker-v215,.font-picker-v215{grid-template-columns:1fr!important;min-width:0!important;width:100%!important}.timezone-picker-v215 small,.font-picker-v215 small{grid-column:auto}
  .setting-row.timezone-row-v215,.setting-row.font-picker-row-v215{align-items:stretch!important;flex-direction:column!important}
  .voice-picker-card-v209{min-height:300px!important;margin-inline:0!important}.voice-orb-v209{width:150px!important;height:150px!important}
}

/* New sign-in language: asymmetric "portal" rather than a generic assistant-style login card. */
.auth-v215-body{background:radial-gradient(circle at 14% 18%,rgba(33,200,229,.22),transparent 22rem),radial-gradient(circle at 78% 10%,rgba(126,82,244,.18),transparent 28rem),linear-gradient(145deg,#07101f,#111c34 52%,#091224)!important;color:#eef5ff!important}
.auth-v215-shell{gap:0!important;max-width:1180px!important;margin:auto!important;padding:clamp(14px,3vw,34px)!important}
.auth-v215-body .auth-v125-showcase{background:linear-gradient(155deg,rgba(15,31,55,.88),rgba(13,21,40,.78))!important;border:1px solid rgba(116,153,215,.20)!important;border-radius:30px 0 0 30px!important;box-shadow:0 32px 90px rgba(0,0,0,.28)!important;overflow:hidden!important}
.auth-v215-body .auth-v125-entry{background:rgba(247,250,255,.97)!important;border-radius:0 30px 30px 0!important;box-shadow:0 32px 90px rgba(0,0,0,.28)!important}
.auth-v215-body .auth-v125-card{border:0!important;background:transparent!important;box-shadow:none!important;color:#151b28!important}.auth-v215-body .auth-v125-card:before{display:none!important}
.auth-v215-body .auth-v125-showcase h1,.auth-v215-body .auth-v125-showcase strong{color:#f4f8ff!important}.auth-v215-body .auth-v125-showcase p,.auth-v215-body .auth-v125-showcase span{color:#a8bad3!important}
.auth-passkey-v215{width:100%;display:grid;grid-template-columns:40px 1fr auto;gap:12px;align-items:center;text-align:left;padding:12px 14px;border:1px solid #d8e2f2;border-radius:14px;background:linear-gradient(135deg,#f4f8ff,#eef2ff);color:#182239;cursor:pointer}.auth-passkey-v215 span:nth-child(2){display:flex;flex-direction:column;gap:2px}.auth-passkey-v215 small{color:#73819a}.passkey-symbol-v215{width:38px;height:38px;border-radius:12px;display:grid!important;place-items:center;background:linear-gradient(135deg,#1fcae5,#7165f1);color:#fff!important;font-size:20px}.auth-v215-security-mark{display:inline-grid;width:42px;height:42px;place-items:center;border-radius:14px;background:linear-gradient(135deg,#21cbe5,#745df3);color:white;font-size:22px;margin-bottom:10px}
@media(max-width:860px){.auth-v215-shell{display:block!important;padding:0!important}.auth-v215-body .auth-v125-showcase{display:none!important}.auth-v215-body .auth-v125-entry{min-height:var(--app-height,100dvh)!important;border-radius:0!important;background:radial-gradient(circle at 100% 0%,rgba(105,89,244,.12),transparent 22rem),#f8fbff!important}.auth-v215-body .auth-v125-card{padding:24px 18px!important}}
@media(prefers-color-scheme:dark){.auth-v215-body .auth-v125-entry{background:linear-gradient(160deg,#0e1728,#0a1120)!important}.auth-v215-body .auth-v125-card{color:#eef4ff!important}.auth-v215-body .auth-v125-field input{background:#121d30!important;border-color:#2b3b57!important;color:#eef4ff!important}.auth-v215-body .auth-v125-tabs{background:#111b2d!important;border-color:#293953!important}.auth-v215-body .auth-tab{color:#a8b6cb!important}.auth-v215-body .auth-tab.active{background:#1a2941!important;color:#fff!important}.auth-passkey-v215{background:linear-gradient(135deg,#13233a,#182044);border-color:#2e4160;color:#eff5ff}.auth-passkey-v215 small{color:#a3b3cc}}

/* ========================================================================== */
/* SenvoAI V0.21.6 — Aurora Scheduler + Security                              */
/* ========================================================================== */
:root{
  --v216-cyan:#27d9f4;
  --v216-blue:#4b74ff;
  --v216-violet:#8c5cff;
  --v216-green:#30d78a;
  --v216-ink:#11172a;
  --v216-soft:#f5f7ff;
  --v216-line:rgba(54,72,126,.14);
  --v216-shadow:0 24px 80px rgba(27,37,77,.14);
}
.aurora-schedule-page{width:min(1040px,calc(100vw - 42px))!important;max-width:1040px!important;min-height:min(850px,calc(100dvh - 46px))!important;max-height:calc(100dvh - 32px)!important;overflow:auto!important;padding:0 30px 32px!important;border:1px solid var(--v216-line)!important;border-radius:30px!important;background:linear-gradient(180deg,#fbfcff 0,#fff 26%,#fafbff 100%)!important;box-shadow:var(--v216-shadow)!important;scrollbar-width:thin;scrollbar-color:#cfd6ed transparent}
.aurora-schedule-hero{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:70px 1fr auto;align-items:center;gap:18px;padding:28px 0 22px;background:linear-gradient(180deg,rgba(251,252,255,.98) 78%,rgba(251,252,255,0));backdrop-filter:blur(18px)}
.aurora-schedule-orbit{width:64px;height:64px;position:relative;display:grid;place-items:center}.aurora-schedule-orbit:before,.aurora-schedule-orbit:after,.aurora-schedule-orbit i{content:"";position:absolute;border-radius:50%;inset:6px;border:1px solid rgba(75,116,255,.22);animation:senvoOrbit 6s linear infinite}.aurora-schedule-orbit:after{inset:14px;border-color:rgba(140,92,255,.28);animation-direction:reverse;animation-duration:4.3s}.aurora-schedule-orbit i{inset:0;border-style:dashed;border-color:rgba(39,217,244,.32);animation-duration:9s}.aurora-schedule-orbit span{width:38px;height:38px;border-radius:15px;display:grid;place-items:center;color:#fff;font-size:21px;background:linear-gradient(135deg,var(--v216-blue),var(--v216-violet));box-shadow:0 10px 26px rgba(80,91,239,.27)}
@keyframes senvoOrbit{to{transform:rotate(360deg)}}
.aurora-schedule-title .settings-eyebrow{color:#6370a2;letter-spacing:.12em}.aurora-schedule-title h2{margin:3px 0 4px;font-size:34px;line-height:1.05;letter-spacing:-1.15px;color:#11162a}.aurora-schedule-title p{margin:0;color:#72788b;font-size:14px}
.aurora-schedule-head-actions{display:flex;align-items:center;gap:10px}.scheduler-health-chip{height:36px;padding:0 13px;border-radius:999px;display:flex;align-items:center;gap:8px;border:1px solid #dbe0ef;background:#fff;color:#747b90;font-size:12px;font-weight:700;white-space:nowrap}.scheduler-health-chip i{width:8px;height:8px;border-radius:50%;background:#f0a734;box-shadow:0 0 0 4px rgba(240,167,52,.10)}.scheduler-health-chip.online{color:#19724b;border-color:rgba(48,215,138,.28);background:rgba(48,215,138,.08)}.scheduler-health-chip.online i{background:var(--v216-green);box-shadow:0 0 0 4px rgba(48,215,138,.13)}.scheduler-health-chip.offline{color:#a36221;background:#fff7e9}
.aurora-task-overview{display:grid;grid-template-columns:1fr 1fr 2fr;gap:12px;margin:8px 0 22px}.aurora-task-overview article{min-height:96px;padding:16px 18px;border-radius:21px;border:1px solid var(--v216-line);background:rgba(255,255,255,.88);box-shadow:0 10px 30px rgba(40,54,100,.05);display:flex;flex-direction:column;justify-content:center}.aurora-task-overview article:nth-child(1){background:linear-gradient(135deg,rgba(39,217,244,.10),rgba(255,255,255,.92))}.aurora-task-overview article:nth-child(2){background:linear-gradient(135deg,rgba(140,92,255,.10),rgba(255,255,255,.92))}.aurora-task-overview article.wide{background:linear-gradient(135deg,rgba(75,116,255,.09),rgba(255,255,255,.95))}.aurora-task-overview span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#7a8195;font-weight:750}.aurora-task-overview strong{font-size:25px;line-height:1.12;color:#171c31;margin-top:4px}.aurora-task-overview small{margin-top:4px;color:#8b90a0;font-size:11px}
.aurora-schedule-quick{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:10px;border:1px solid var(--v216-line);border-radius:23px;background:#fff;box-shadow:0 12px 38px rgba(41,57,111,.07)}.aurora-schedule-new,.aurora-schedule-send{height:44px;border:0;border-radius:15px;cursor:pointer;font-weight:750}.aurora-schedule-new{padding:0 15px;display:flex;align-items:center;gap:7px;background:#f0f3ff;color:#27335f}.aurora-schedule-new span{font-size:20px}.aurora-schedule-command{min-width:0;height:44px;border-radius:15px;background:#f8f9fd;display:flex;align-items:center;gap:9px;padding:0 13px}.aurora-schedule-command>span{color:#6e63ef}.aurora-schedule-command input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#171b2d;font-size:14px}.aurora-schedule-send{padding:0 18px;color:#fff;background:linear-gradient(135deg,var(--v216-blue),var(--v216-violet));box-shadow:0 8px 20px rgba(91,79,236,.22)}
.aurora-task-builder{margin:14px 0 20px;padding:18px;border:1px solid rgba(75,116,255,.16);border-radius:24px;background:linear-gradient(145deg,#f8faff,#fff 50%,#faf7ff);box-shadow:0 16px 44px rgba(55,68,119,.07)}.aurora-builder-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:15px}.aurora-builder-head>div{display:flex;flex-direction:column;gap:3px}.aurora-builder-head strong{font-size:17px;color:#171b2e}.aurora-builder-head span:not(.aurora-builder-badge){font-size:12px;color:#7c8294}.aurora-builder-badge{padding:6px 9px;border-radius:999px;background:#eaf6ff;color:#3470a5;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.aurora-builder-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.aurora-field{display:flex;flex-direction:column;gap:7px}.aurora-field>span{font-size:11px;color:#747c92;font-weight:750;text-transform:uppercase;letter-spacing:.055em}.aurora-field.span-2{grid-column:1/-1}.aurora-field .settings-input,.aurora-field .settings-textarea{border-radius:15px!important;border:1px solid #dfe3ef!important;background:#fff!important;min-height:44px!important}.aurora-field .settings-textarea{min-height:88px!important}.aurora-date-trigger{height:44px;width:100%;border:1px solid #dfe3ef;border-radius:15px;background:#fff;color:#23283b;display:grid;grid-template-columns:28px 1fr 18px;align-items:center;text-align:left;gap:5px;padding:0 12px;cursor:pointer}.aurora-date-trigger.full{height:50px}.aurora-date-trigger i{font-style:normal;color:#665cf0}.aurora-date-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.aurora-date-trigger b{font-size:20px;color:#a0a5b4}.aurora-date-trigger:hover{border-color:#b8c1ee;box-shadow:0 0 0 3px rgba(75,116,255,.07)}.aurora-task-builder-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:15px;padding-top:14px;border-top:1px solid #e9ebf3}.aurora-task-builder-actions>span{font-size:11px;color:#7b8192}.aurora-task-builder-actions>div{display:flex;gap:8px}
.aurora-schedule-section-head{display:flex;align-items:center;justify-content:space-between;margin:24px 0 10px}.aurora-schedule-section-head>div{display:flex;flex-direction:column}.aurora-schedule-section-head strong{font-size:16px;color:#1c2133}.aurora-schedule-section-head span{font-size:11px;color:#8b90a0}.aurora-icon-button{width:34px;height:34px;border:1px solid var(--v216-line);border-radius:12px;background:#fff;color:#697087;cursor:pointer;font-size:18px}.aurora-icon-button:hover{background:#f5f7ff;color:#4b5fca}
.aurora-task-list{display:flex;flex-direction:column;gap:10px}.aurora-task-card{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:13px;align-items:start;padding:15px;border:1px solid var(--v216-line);border-radius:20px;background:#fff;box-shadow:0 8px 28px rgba(41,52,92,.045);cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.aurora-task-card:hover{transform:translateY(-1px);border-color:rgba(75,116,255,.25);box-shadow:0 14px 36px rgba(41,52,92,.08)}.aurora-task-card.is-paused{opacity:.7}.aurora-task-icon{width:44px;height:44px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,#edf3ff,#f5edff);color:#4f5ed5;font-size:18px}.aurora-task-copy{min-width:0}.aurora-task-title-row{display:flex;align-items:center;gap:9px;min-width:0}.aurora-task-title-row>strong{font-size:14px;color:#1a1f31;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.aurora-task-state{font-size:9px;text-transform:uppercase;letter-spacing:.06em;display:flex;align-items:center;gap:4px;color:#5f8a74;font-weight:800}.aurora-task-state i{width:6px;height:6px;border-radius:50%;background:var(--v216-green)}.is-paused .aurora-task-state{color:#8b8e9a}.is-paused .aurora-task-state i{background:#a5a9b4}.aurora-task-cadence{display:flex;flex-wrap:wrap;gap:5px 10px;margin-top:4px;font-size:11px;color:#697087}.aurora-task-cadence span{color:#5966b0}.aurora-task-last{display:flex;flex-wrap:wrap;gap:5px 10px;margin-top:7px;font-size:10px;color:#a0a4b1}.aurora-task-last b{font-weight:650;color:#747b91;max-width:520px}.aurora-task-actions{display:flex;gap:5px;align-items:center;flex-wrap:wrap;justify-content:flex-end;max-width:245px}.aurora-task-actions .mini-button{border-radius:10px!important;font-size:10px!important;padding:6px 8px!important}.aurora-task-actions .task-run-now{color:#4156c7;background:#eef1ff;border-color:#dce2ff}.aurora-schedule-empty{padding:35px;display:flex;flex-direction:column;align-items:center;text-align:center;border:1px dashed #d7dceb;border-radius:20px;color:#858b9b}.aurora-schedule-empty>span{font-size:28px;color:#6d72da}.aurora-schedule-empty strong{margin-top:8px;color:#34394c}.aurora-schedule-empty p{margin:4px 0 0;font-size:12px}.aurora-template-card{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0;padding:13px 14px;border-radius:18px;background:linear-gradient(120deg,rgba(255,49,49,.05),rgba(75,116,255,.06));border:1px solid rgba(75,116,255,.10)}.aurora-template-card>div{display:flex;align-items:center;gap:10px}.template-icon{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:#fff;color:#ef3737;box-shadow:0 5px 15px rgba(0,0,0,.05)}.aurora-template-card>div>div{display:flex;flex-direction:column}.aurora-template-card strong{font-size:12px}.aurora-template-card small{font-size:10px;color:#82889a}.aurora-template-card button{border:0;border-radius:11px;padding:8px 11px;background:#fff;color:#4a55a7;font-weight:700;cursor:pointer}
.aurora-run-history{display:flex;flex-direction:column;gap:0;max-height:min(520px,65dvh);overflow:auto}.aurora-run-history article{display:grid;grid-template-columns:18px 1fr;gap:9px;padding:12px 2px;border-bottom:1px solid #eceef5}.aurora-run-history article>i{width:9px;height:9px;border-radius:50%;margin-top:5px;background:#a9afbd;box-shadow:0 0 0 4px #f2f3f7}.aurora-run-history article>i.notified{background:var(--v216-green);box-shadow:0 0 0 4px rgba(48,215,138,.12)}.aurora-run-history article>div{display:grid;grid-template-columns:1fr auto;gap:2px 10px}.aurora-run-history strong{text-transform:capitalize;font-size:12px}.aurora-run-history span{font-size:10px;color:#9a9eaa}.aurora-run-history p{grid-column:1/-1;margin:2px 0 0;font-size:11px;color:#74798a;line-height:1.45}

/* Custom SenvoAI date picker */
.senvo-date-picker{width:min(430px,calc(100vw - 24px))!important;padding:20px!important;border-radius:28px!important;border:1px solid rgba(74,94,158,.15)!important;background:linear-gradient(180deg,#fbfcff,#fff)!important;box-shadow:0 28px 90px rgba(29,38,77,.23)!important}.senvo-date-head{display:flex;align-items:flex-start;justify-content:space-between}.senvo-date-head h2{margin:2px 0 0;font-size:22px;letter-spacing:-.45px}.senvo-date-monthbar{display:grid;grid-template-columns:38px 1fr 38px;align-items:center;gap:8px;margin:16px 0 12px}.senvo-date-monthbar>button{width:38px;height:38px;border:1px solid #e1e5f1;border-radius:13px;background:#fff;color:#616a85;font-size:23px;cursor:pointer}.senvo-date-month-selects{display:grid;grid-template-columns:1.4fr .9fr;gap:7px}.senvo-date-month-selects select,.senvo-time-area select{height:38px;border:1px solid #e1e5f1;border-radius:12px;background:#f8f9fd;color:#1d2237;padding:0 10px;font-weight:700;outline:0}.senvo-date-weekdays,.senvo-date-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.senvo-date-weekdays{margin:0 0 5px}.senvo-date-weekdays span{text-align:center;font-size:9px;text-transform:uppercase;letter-spacing:.05em;color:#9ba0af;font-weight:750}.senvo-date-grid button{aspect-ratio:1;border:0;border-radius:12px;background:transparent;color:#30364a;cursor:pointer;display:grid;place-items:center;font-size:12px;transition:background .14s ease,transform .14s ease,color .14s ease}.senvo-date-grid button:hover:not(:disabled){background:#eef2ff;transform:scale(1.04)}.senvo-date-grid button.muted{color:#bbc0cc}.senvo-date-grid button.today{box-shadow:inset 0 0 0 1px #8d96bd}.senvo-date-grid button.selected{background:linear-gradient(135deg,var(--v216-blue),var(--v216-violet));color:#fff;box-shadow:0 7px 15px rgba(87,80,225,.23)}.senvo-date-grid button:disabled{opacity:.25;cursor:not-allowed}.senvo-time-area{display:flex;align-items:center;justify-content:space-between;margin-top:13px;padding:11px 12px;border-radius:15px;background:#f7f8fd}.senvo-time-area>span{font-size:11px;font-weight:750;color:#6f768d}.senvo-time-area>div{display:flex;align-items:center;gap:5px}.senvo-time-area select{height:34px;min-width:68px;background:#fff}.senvo-date-quick{display:flex;gap:6px;overflow:auto;margin-top:9px;padding-bottom:1px}.senvo-date-quick button{white-space:nowrap;border:1px solid #e2e5ef;border-radius:999px;background:#fff;color:#616981;padding:7px 10px;font-size:10px;cursor:pointer}.senvo-date-quick button:hover{background:#f2f4ff;color:#4d5ac1}.senvo-date-footer{display:flex;align-items:center;justify-content:space-between;margin-top:15px;padding-top:14px;border-top:1px solid #edf0f6}.senvo-date-footer>div{display:flex;gap:7px}

/* MFA setup and recovery */
.aurora-security-setup{width:min(610px,calc(100vw - 26px))!important;border-radius:28px!important;padding:22px!important;border:1px solid var(--v216-line)!important;background:linear-gradient(160deg,#fbfdff,#fff 60%,#faf7ff)!important;box-shadow:0 28px 90px rgba(30,38,76,.20)!important}.aurora-mfa-grid{display:grid;grid-template-columns:190px 1fr;gap:18px;align-items:center;margin:15px 0}.aurora-mfa-qr{min-height:190px;border:1px solid #e2e6f1;border-radius:22px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:12px}.aurora-mfa-qr img{width:150px;height:150px;object-fit:contain;image-rendering:pixelated}.aurora-mfa-qr span{font-size:10px;color:#858b9b;margin-top:4px}.aurora-mfa-manual{min-width:0;display:flex;flex-direction:column;gap:8px}.aurora-mfa-manual>span{font-size:11px;color:#7d8293;font-weight:700}.aurora-mfa-manual>code{display:block;padding:11px 12px;border-radius:13px;background:#f3f5fb;word-break:break-all;letter-spacing:.08em;font-size:12px}.aurora-mfa-manual details{font-size:10px;color:#777d91}.aurora-code-field{margin-top:8px}.aurora-security-note{margin-top:10px;padding:10px 12px;border-radius:13px;background:#eef7ff;color:#52718d;font-size:10px;line-height:1.45}.aurora-recovery-codes>div:first-child p{color:#73798b;font-size:12px;line-height:1.5}.aurora-recovery-codes pre{padding:16px;border-radius:16px;background:#11182d;color:#dfe8ff;line-height:1.8;letter-spacing:.12em;font-size:13px;user-select:all;overflow:auto}.aurora-security-confirm{display:flex;flex-direction:column;gap:12px}.auth-v216-mfa-note{margin-top:12px;padding:10px 12px;border-radius:13px;background:rgba(75,116,255,.06);color:#737b91;font-size:11px;text-align:center}

body[data-theme="dark"] .aurora-schedule-page{background:radial-gradient(circle at 12% -10%,rgba(48,151,255,.12),transparent 32%),radial-gradient(circle at 92% 8%,rgba(143,84,255,.12),transparent 34%),linear-gradient(180deg,#101522,#0c101a)!important;border-color:rgba(139,166,255,.14)!important;box-shadow:0 30px 100px rgba(0,0,0,.58)!important}body[data-theme="dark"] .aurora-schedule-page{color:#eef3ff}.dark{}body[data-theme="dark"] .aurora-schedule-hero{background:linear-gradient(180deg,rgba(16,21,34,.98) 78%,rgba(16,21,34,0))}body[data-theme="dark"] .aurora-schedule-title h2,body[data-theme="dark"] .aurora-task-overview strong,body[data-theme="dark"] .aurora-schedule-section-head strong,body[data-theme="dark"] .aurora-task-title-row>strong,body[data-theme="dark"] .aurora-builder-head strong{color:#eef3ff}body[data-theme="dark"] .aurora-schedule-title p,body[data-theme="dark"] .aurora-schedule-section-head span,body[data-theme="dark"] .aurora-task-last{color:#8c98b4}body[data-theme="dark"] .scheduler-health-chip,body[data-theme="dark"] .aurora-task-overview article,body[data-theme="dark"] .aurora-schedule-quick,body[data-theme="dark"] .aurora-task-card,body[data-theme="dark"] .aurora-template-card{background:rgba(20,28,45,.78);border-color:rgba(139,166,255,.13);box-shadow:none}body[data-theme="dark"] .aurora-task-overview article:nth-child(1){background:linear-gradient(135deg,rgba(39,217,244,.09),rgba(20,28,45,.8))}body[data-theme="dark"] .aurora-task-overview article:nth-child(2){background:linear-gradient(135deg,rgba(140,92,255,.10),rgba(20,28,45,.8))}body[data-theme="dark"] .aurora-task-overview article.wide{background:linear-gradient(135deg,rgba(75,116,255,.10),rgba(20,28,45,.8))}body[data-theme="dark"] .aurora-schedule-command,body[data-theme="dark"] .aurora-schedule-new,body[data-theme="dark"] .aurora-field .settings-input,body[data-theme="dark"] .aurora-field .settings-textarea,body[data-theme="dark"] .aurora-date-trigger{background:#151d2e!important;border-color:#2a3551!important;color:#e9eefb!important}body[data-theme="dark"] .aurora-schedule-command input{color:#f0f4ff}body[data-theme="dark"] .aurora-task-builder{background:linear-gradient(145deg,#131c2d,#101725 55%,#171426);border-color:#283554;box-shadow:none}body[data-theme="dark"] .aurora-task-last b,body[data-theme="dark"] .aurora-task-cadence{color:#a0aac3}body[data-theme="dark"] .aurora-task-icon{background:linear-gradient(145deg,#182a43,#261d46);color:#90abff}body[data-theme="dark"] .aurora-icon-button,body[data-theme="dark"] .aurora-template-card button{background:#162034;border-color:#2a3551;color:#b8c7ff}body[data-theme="dark"] .senvo-date-picker,body[data-theme="dark"] .aurora-security-setup{background:linear-gradient(160deg,#111827,#0d1320)!important;border-color:#28344f!important;color:#eef3ff!important}body[data-theme="dark"] .senvo-date-head h2{color:#eef3ff}body[data-theme="dark"] .senvo-date-monthbar>button,body[data-theme="dark"] .senvo-date-month-selects select,body[data-theme="dark"] .senvo-time-area select,body[data-theme="dark"] .senvo-date-quick button{background:#171f31;border-color:#2b3650;color:#e7edfa}body[data-theme="dark"] .senvo-date-grid button{color:#dbe3f5}body[data-theme="dark"] .senvo-date-grid button.muted{color:#65708b}body[data-theme="dark"] .senvo-time-area{background:#131b2b}body[data-theme="dark"] .senvo-date-footer{border-color:#263149}body[data-theme="dark"] .aurora-mfa-qr{background:#f9fbff;border-color:#2a3550}body[data-theme="dark"] .aurora-mfa-manual>code{background:#151e30;color:#eaf1ff}body[data-theme="dark"] .aurora-security-note{background:#13263a;color:#9ec2e4}body[data-theme="dark"] .aurora-recovery-codes pre{background:#070b12}

@media(max-width:760px){
  .aurora-schedule-page{width:100vw!important;height:100dvh!important;max-height:100dvh!important;min-height:100dvh!important;border:0!important;border-radius:0!important;padding:0 14px calc(20px + env(safe-area-inset-bottom))!important}
  .aurora-schedule-hero{grid-template-columns:48px 1fr auto;gap:10px;padding-top:calc(16px + env(safe-area-inset-top));padding-bottom:16px}.aurora-schedule-orbit{width:45px;height:45px}.aurora-schedule-orbit span{width:32px;height:32px;border-radius:12px;font-size:17px}.aurora-schedule-title h2{font-size:25px}.aurora-schedule-title p{font-size:11px}.scheduler-health-chip{width:32px;height:32px;padding:0;justify-content:center;font-size:0}.scheduler-health-chip i{width:8px;height:8px}.aurora-schedule-head-actions .workspace-x{position:static!important}
  .aurora-task-overview{grid-template-columns:1fr 1fr;margin-top:2px}.aurora-task-overview article{min-height:82px;padding:13px}.aurora-task-overview article.wide{grid-column:1/-1;min-height:72px}.aurora-task-overview strong{font-size:20px}
  .aurora-schedule-quick{grid-template-columns:44px minmax(0,1fr) 56px;padding:7px;gap:6px}.aurora-schedule-new{width:44px;padding:0;justify-content:center}.aurora-schedule-new b{display:none}.aurora-schedule-send{padding:0;font-size:11px}.aurora-schedule-command{padding:0 8px}.aurora-schedule-command>span{display:none}.aurora-schedule-command input{font-size:12px}
  .aurora-builder-grid{grid-template-columns:1fr}.aurora-field.span-2{grid-column:auto}.aurora-task-builder{padding:14px;border-radius:20px}.aurora-task-builder-actions{align-items:flex-start;flex-direction:column}.aurora-task-builder-actions>div{width:100%}.aurora-task-builder-actions button{flex:1}
  .aurora-task-card{grid-template-columns:42px 1fr;padding:13px}.aurora-task-icon{width:40px;height:40px}.aurora-task-actions{grid-column:1/-1;max-width:none;justify-content:flex-start;padding-top:5px}.aurora-task-actions .mini-button{flex:1;min-width:62px}.aurora-task-title-row{align-items:flex-start;flex-direction:column;gap:3px}.aurora-task-last{flex-direction:column;gap:2px}.aurora-template-card small{display:none}
  .senvo-date-picker{position:absolute!important;left:8px!important;right:8px!important;bottom:calc(8px + env(safe-area-inset-bottom))!important;width:auto!important;max-width:none!important;border-radius:26px!important;padding:17px!important}.senvo-date-grid{gap:4px}.senvo-date-grid button{border-radius:11px}.senvo-date-month-selects{grid-template-columns:1.2fr .9fr}.senvo-date-quick{margin-right:-4px}
  .aurora-mfa-grid{grid-template-columns:1fr}.aurora-mfa-qr{min-height:175px}.aurora-mfa-qr img{width:140px;height:140px}.aurora-security-setup{position:absolute!important;left:8px!important;right:8px!important;bottom:calc(8px + env(safe-area-inset-bottom))!important;width:auto!important;max-height:calc(100dvh - 20px)!important;overflow:auto!important;border-radius:26px!important}
}
@media(prefers-reduced-motion:reduce){.aurora-schedule-orbit:before,.aurora-schedule-orbit:after,.aurora-schedule-orbit i{animation:none}.aurora-task-card,.senvo-date-grid button{transition:none}}

/* ========================================================================== */
/* SenvoAI V0.21.7 — Prism themes, DOB rebuild, Performance Lab 2             */
/* ========================================================================== */
:root{
  --v217-bg:#f4f7fb;--v217-panel:#ffffff;--v217-panel-soft:#f8faff;--v217-line:#dfe6f1;
  --v217-ink:#161b27;--v217-muted:#687386;--v217-accent:var(--accent,#6558ff);
  --v217-shadow:0 22px 70px rgba(29,45,78,.13);--senvo-motion-duration:180ms;
}
.settings-mobile-toolbar-v217{display:none}
.quick-action-icon{width:20px;height:20px;display:grid;place-items:center;flex:0 0 auto}
.quick-action-icon svg,.schedule-orbit-icon-v217 svg,.date-trigger-icon-v217 svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.desktop-workspace-actions{gap:6px!important}
.desktop-workspace-actions button{min-height:38px!important;border:1px solid rgba(78,96,128,.13)!important;border-radius:12px!important;background:rgba(255,255,255,.68)!important;box-shadow:0 4px 14px rgba(34,48,75,.045)!important;padding:0 10px!important;color:#4d5769!important;transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease!important}
.desktop-workspace-actions button:hover{transform:translateY(-1px);background:#fff!important;border-color:rgba(91,82,232,.24)!important;box-shadow:0 8px 20px rgba(39,49,83,.09)!important;color:#272d3b!important}
.desktop-workspace-actions button:active{transform:translateY(0) scale(.97)}
.desktop-workspace-actions b{font-size:11px!important;font-weight:700!important;letter-spacing:-.01em}
#desktopQuickTasks .quick-action-icon{color:#695eea}
.nav-icon svg{fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.schedule-orbit-icon-v217{width:22px!important;height:22px!important;display:grid!important;place-items:center!important;font-size:0!important}
.date-trigger-icon-v217{display:grid!important;width:18px!important;height:18px!important;place-items:center!important;font-style:normal!important}

/* Settings shell: calmer light mode, no dark horizontal strip on phones. */
.settings-center-v10{background:#f5f7fb!important;border-color:#dde4ef!important;box-shadow:var(--v217-shadow)!important}
.settings-content-v10{background:#f7f9fc!important;backdrop-filter:none!important}
.settings-panel-v10 .setting-row,.settings-subsection,.settings-info-card,.settings-list-card{background:#fff!important;border:1px solid #e1e7f0!important;box-shadow:0 5px 20px rgba(37,52,79,.045)!important}
.settings-panel-heading h2{color:#151a25!important;letter-spacing:-.035em}
.settings-panel-heading p,.setting-row>div>span,.settings-panel-v10 p{color:#707b8c}
.settings-compact,.settings-input,.settings-textarea{background:#fff!important;border-color:#d7deea!important;color:#202634!important;box-shadow:0 1px 0 rgba(15,23,42,.02)!important}
.settings-compact:focus,.settings-input:focus,.settings-textarea:focus{border-color:color-mix(in srgb,var(--v217-accent) 58%,#d7deea)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--v217-accent) 12%,transparent)!important}
.settings-save-bar{background:rgba(247,249,252,.94)!important;border-top:1px solid #e0e6ef!important;backdrop-filter:blur(14px)!important}

/* Age & safety V0.21.7 */
.age-setup-v217{width:min(640px,calc(100vw - 28px))!important}
.age-dob-grid-v217{display:grid;grid-template-columns:.72fr 1.35fr 1fr;gap:10px;margin:16px 0 9px}
.age-dob-grid-v217 label{display:grid;gap:7px}.age-dob-grid-v217 label>span{font-size:11px;font-weight:750;color:#687386}
.age-dob-grid-v217 select{height:48px;border-radius:14px;padding-inline:12px}
.age-year-range-v217{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:2px 0 12px;font-size:11px;color:#7a8495}
.age-year-range-v217 button{border:0;background:transparent;color:var(--v217-accent);font-weight:750;cursor:pointer;padding:5px}
.age-preview-card-v217{display:flex;align-items:center;gap:12px;padding:14px;border-radius:17px;background:linear-gradient(135deg,#f0f5ff,#f7f3ff)!important;border:1px solid #dfe5f5;margin-bottom:11px}
.age-preview-icon-v217{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#fff;color:#6258dc;box-shadow:0 7px 18px rgba(77,70,180,.10);flex:0 0 auto}
.age-preview-icon-v217 svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.age-preview-card-v217>div:last-child{display:grid;gap:3px}.age-preview-card-v217 strong{font-size:13px;color:#252b3b}.age-preview-card-v217 span{font-size:11px;color:#737e91}

/* Performance Lab 2 */
.performance-lab-v217{--perf-line:#dfe6f1}
.performance-lab-v217 .settings-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.performance-status-pill-v217{display:inline-flex;align-items:center;min-height:29px;padding:0 10px;border-radius:999px;background:#eef1ff;border:1px solid #dde0fb;color:#5149c7;font-size:10px;font-weight:800;white-space:nowrap}
.performance-hero-v217{position:relative;overflow:hidden;background:linear-gradient(135deg,#12243a 0%,#183f5c 48%,#403279 100%)!important;box-shadow:0 18px 44px rgba(25,44,77,.16)}
.performance-hero-v217:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-70px;top:-110px;background:radial-gradient(circle,rgba(111,222,255,.24),transparent 64%);pointer-events:none}
.performance-control-card-v217{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 16px;border:1px solid var(--perf-line);border-radius:17px;background:#fff;margin:11px 0}
.performance-control-card-v217>div{display:grid;gap:3px;min-width:0}.performance-control-card-v217 strong{font-size:13px}.performance-control-card-v217 span{font-size:11px;line-height:1.45;color:#707b8d}.performance-control-card-v217 select{min-width:190px}
.performance-grid-v217>div{position:relative;overflow:hidden}.performance-grid-v217>div:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:linear-gradient(180deg,#55c7f5,#7568ff);opacity:.65}
.performance-stress-stage-v217{position:relative;min-height:210px;margin:14px 0;border-radius:19px;overflow:hidden;border:1px solid #dfe6f1;background:#f8faff}
.performance-stress-stage-v217 canvas{display:block;width:100%;height:210px}
.performance-live-overlay-v217{position:absolute;left:14px;top:14px;display:grid;gap:2px;padding:8px 11px;border-radius:12px;background:rgba(255,255,255,.82);border:1px solid rgba(220,227,239,.9);backdrop-filter:blur(10px)}
.performance-live-overlay-v217 b{font-size:11px}.performance-live-overlay-v217 span{font-size:9px;color:#798395}
.performance-subhead-v217{display:flex;align-items:center;justify-content:space-between;gap:16px}.performance-subhead-v217 h3{margin-bottom:3px!important}.performance-subhead-v217 p{margin:0!important}.performance-subhead-v217>span{font-variant-numeric:tabular-nums;font-size:11px;font-weight:800;color:#5d55d8}
.performance-safety-v217{display:flex;align-items:flex-start;gap:10px;margin-top:12px;padding:12px 14px;border-radius:15px;background:#f3f6fa;border:1px solid #e2e8f0;font-size:10px;line-height:1.45}.performance-safety-v217 strong{white-space:nowrap}.performance-safety-v217 span{color:#737e90}
html[data-motion-tier="eco"] .ambient-orb,html[data-motion-tier="eco"] .decorative-pulse,html[data-motion-tier="eco"] .aurora-schedule-orbit:before,html[data-motion-tier="eco"] .aurora-schedule-orbit:after{animation:none!important}
html[data-motion-tier="eco"] *{scroll-behavior:auto!important}
html[data-motion-tier="balanced"] .ambient-orb{animation-duration:calc(var(--senvo-motion-duration) * 60)!important}

/* Dark desktop/laptop rebuild — consistent neutral navy instead of mixed legacy gradients. */
@media(min-width:761px){
  body[data-theme="dark"]{--bg:#080c13!important;--surface:#0f1520!important;--surface-2:#141c29!important;--text:#edf2fb!important;--muted:#93a0b5!important;--border:#263247!important;background:#080c13!important;color:#edf2fb!important}
  body[data-theme="dark"] .app-shell{background:#080c13!important}
  body[data-theme="dark"] .sidebar{background:#0c121d!important;border-color:#202b3d!important;box-shadow:none!important}
  body[data-theme="dark"] .sidebar:before{content:"";position:absolute;inset:0 0 auto;height:120px;background:linear-gradient(180deg,rgba(95,80,235,.055),transparent);pointer-events:none}
  body[data-theme="dark"] .main-panel{background:#0a0f18!important;border-color:#202a3a!important}
  body[data-theme="dark"] .topbar{background:rgba(10,15,24,.94)!important;border-color:#202a3a!important;backdrop-filter:blur(16px)!important;box-shadow:0 1px 0 rgba(255,255,255,.015)!important}
  body[data-theme="dark"] .conversation{background:radial-gradient(circle at 68% -8%,rgba(93,79,226,.075),transparent 30rem),#0a0f18!important}
  body[data-theme="dark"] .composer-zone{background:linear-gradient(180deg,transparent,#0a0f18 34%)!important}
  body[data-theme="dark"] .composer-card{background:#101722!important;border-color:#2a3549!important;box-shadow:0 16px 38px rgba(0,0,0,.26)!important}
  body[data-theme="dark"] .message-assistant .message-body{background:#101722!important;border-color:#222e40!important;color:#edf2fb!important;box-shadow:none!important}
  body[data-theme="dark"] .message-user .message-body{background:#161d2b!important;border-color:#2a3650!important;color:#f1f5ff!important;box-shadow:none!important}
  body[data-theme="dark"] .desktop-workspace-actions button{background:#101722!important;border-color:#273247!important;color:#aeb9ca!important;box-shadow:none!important}
  body[data-theme="dark"] .desktop-workspace-actions button:hover{background:#172033!important;border-color:#3b4964!important;color:#eef3fc!important;box-shadow:0 8px 22px rgba(0,0,0,.2)!important}
  body[data-theme="dark"] .settings-center-v10{background:#0d131e!important;border-color:#253148!important;box-shadow:0 32px 100px rgba(0,0,0,.55)!important}
  body[data-theme="dark"] .settings-sidebar-v10{background:#0a101a!important;border-right:1px solid #202b3e!important}
  body[data-theme="dark"] .settings-sidebar-v10 .settings-search{background:#101824!important;border-color:#273349!important}
  body[data-theme="dark"] .settings-content-v10{background:#0e1520!important;color:#edf2fb!important}
  body[data-theme="dark"] .settings-panel-heading h2,body[data-theme="dark"] .setting-row strong,body[data-theme="dark"] .settings-subsection h3{color:#edf2fb!important}
  body[data-theme="dark"] .settings-panel-heading p,body[data-theme="dark"] .setting-row>div>span,body[data-theme="dark"] .settings-panel-v10 p{color:#8f9bb0!important}
  body[data-theme="dark"] .settings-panel-v10 .setting-row,body[data-theme="dark"] .settings-subsection,body[data-theme="dark"] .settings-info-card,body[data-theme="dark"] .settings-list-card{background:#121a27!important;border-color:#253146!important;box-shadow:none!important}
  body[data-theme="dark"] .settings-compact,body[data-theme="dark"] .settings-input,body[data-theme="dark"] .settings-textarea{background:#0d141f!important;border-color:#2b374d!important;color:#eef3fb!important}
  body[data-theme="dark"] .settings-save-bar{background:rgba(13,19,30,.95)!important;border-color:#243047!important}
  body[data-theme="dark"] .performance-control-card-v217,body[data-theme="dark"] .performance-grid-v214>div{background:#121a27!important;border-color:#263249!important}
  body[data-theme="dark"] .performance-stress-stage-v217{background:#0b111b;border-color:#263249}
  body[data-theme="dark"] .performance-live-overlay-v217{background:rgba(14,21,33,.82);border-color:#2a3650;color:#ecf2fc}
  body[data-theme="dark"] .performance-safety-v217{background:#101824;border-color:#263249}body[data-theme="dark"] .performance-safety-v217 span{color:#91a0b4}
  body[data-theme="dark"] .performance-status-pill-v217{background:#191d38;border-color:#33365d;color:#b7b3ff}
  body[data-theme="dark"] .age-preview-card-v217{background:linear-gradient(135deg,#121f31,#1b1933)!important;border-color:#2b3852}body[data-theme="dark"] .age-preview-card-v217 strong{color:#edf2fb}
  body[data-theme="dark"] .age-preview-icon-v217{background:#0f1724;color:#a8a4ff;box-shadow:none}
}

/* Mobile Settings: safe-area aware, compact and readable in both light and dark. */
@media(max-width:760px){
  #settingsModal{padding:0!important;align-items:stretch!important;justify-content:stretch!important}
  .settings-center-v10{display:flex!important;flex-direction:column!important;width:100vw!important;height:100dvh!important;max-height:100dvh!important;max-width:none!important;border:0!important;border-radius:0!important;overflow:hidden!important;background:#f5f7fb!important}
  .settings-mobile-toolbar-v217{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto;padding:calc(13px + env(safe-area-inset-top)) 58px 12px 16px;background:rgba(250,251,254,.96);border-bottom:1px solid #e0e6ef;backdrop-filter:blur(18px);z-index:6}
  .settings-mobile-toolbar-v217>div{min-width:0;display:grid;gap:1px}.settings-mobile-toolbar-v217>div>span{font-size:9px;letter-spacing:.1em;text-transform:uppercase;font-weight:800;color:#8791a1}.settings-mobile-toolbar-v217>div>strong{font-size:18px;letter-spacing:-.035em;color:#161b26;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .settings-mobile-toolbar-v217 label{max-width:48%;min-width:132px}.settings-mobile-toolbar-v217 select{width:100%;height:38px;border:1px solid #d8e0eb;border-radius:12px;background:#fff;color:#343b4a;padding:0 30px 0 10px;font-size:11px;font-weight:700}
  .settings-x{position:fixed!important;top:calc(11px + env(safe-area-inset-top))!important;right:12px!important;z-index:20!important;width:40px!important;height:40px!important;border-radius:13px!important;background:#fff!important;border:1px solid #dce3ed!important;color:#525a69!important;box-shadow:0 7px 18px rgba(31,43,69,.08)!important}
  .settings-sidebar-v10{display:none!important}
  .settings-content-v10{display:block!important;flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;padding:18px 14px calc(104px + env(safe-area-inset-bottom))!important;background:#f5f7fb!important}
  .settings-panel-v10{max-width:100%!important;margin:0!important}.settings-panel-v10.active{display:block!important}
  .settings-panel-heading{margin-bottom:13px!important}.settings-panel-heading h2{font-size:27px!important;line-height:1.04!important}.settings-panel-heading p{font-size:12px!important;line-height:1.5!important}
  .settings-panel-v10 .setting-row{display:flex!important;align-items:stretch!important;flex-direction:column!important;gap:11px!important;padding:14px!important;margin:8px 0!important;border-radius:17px!important}
  .settings-panel-v10 .setting-row>div:first-child{width:100%!important;max-width:none!important}.settings-panel-v10 .setting-row>div>strong{font-size:14px!important}.settings-panel-v10 .setting-row>div>span{font-size:11px!important;line-height:1.45!important}
  .settings-compact,.setting-row>.settings-compact,.timezone-picker-v215{width:100%!important;max-width:none!important;min-width:0!important}.settings-compact{height:46px!important;border-radius:13px!important;padding-inline:13px!important}
  .settings-info-card{padding:14px!important;border-radius:18px!important;margin-bottom:10px!important}.settings-info-icon{flex:0 0 38px!important;width:38px!important;height:38px!important}
  .accent-grid.compact{grid-template-columns:1fr 1fr!important;width:100%!important}.accent-swatch{min-height:46px!important}
  .timezone-picker-v215{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}.timezone-picker-v215 .settings-input{width:100%!important}
  .settings-save-bar{position:fixed!important;left:0!important;right:0!important;bottom:0!important;z-index:12!important;display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding:10px 14px calc(10px + env(safe-area-inset-bottom))!important;background:rgba(250,251,254,.96)!important;border-top:1px solid #dfe5ed!important;backdrop-filter:blur(18px)!important}.settings-save-bar .settings-unsaved-hint,.settings-save-bar #resetPersonalizationButton{display:none!important}.settings-save-bar #saveSettingsButton{width:100%!important;min-height:50px!important;border-radius:16px!important}
  .performance-lab-v217 .settings-panel-heading{align-items:flex-start}.performance-status-pill-v217{margin-top:3px}.performance-control-card-v217{flex-direction:column;align-items:stretch;padding:14px}.performance-control-card-v217 select{min-width:0;width:100%}.performance-grid-v217{grid-template-columns:1fr 1fr!important}.performance-grid-v217>div{padding:13px!important}.performance-stress-stage-v217,.performance-stress-stage-v217 canvas{height:175px;min-height:175px}.performance-subhead-v217{align-items:flex-start}.performance-safety-v217{flex-direction:column;gap:4px}
  .age-setup-v217{left:8px!important;right:8px!important;width:auto!important}.age-dob-grid-v217{grid-template-columns:.72fr 1.3fr 1fr;gap:7px}.age-dob-grid-v217 select{padding-inline:7px;font-size:12px}.age-preview-card-v217{padding:12px}
  body[data-theme="dark"] .settings-center-v10,body[data-theme="dark"] .settings-content-v10{background:#0b1019!important}
  body[data-theme="dark"] .settings-mobile-toolbar-v217{background:rgba(11,16,25,.96);border-color:#222e40}body[data-theme="dark"] .settings-mobile-toolbar-v217>div>strong{color:#f0f4fb}
  body[data-theme="dark"] .settings-mobile-toolbar-v217>div>span{color:#7f8ba0}body[data-theme="dark"] .settings-mobile-toolbar-v217 select{background:#111925;border-color:#2a374b;color:#eaf0f8}
  body[data-theme="dark"] .settings-x{background:#121a26!important;border-color:#2a3649!important;color:#dce5f2!important;box-shadow:none!important}
  body[data-theme="dark"] .settings-panel-v10 .setting-row,body[data-theme="dark"] .settings-subsection,body[data-theme="dark"] .settings-info-card,body[data-theme="dark"] .settings-list-card{background:#111925!important;border-color:#253247!important;box-shadow:none!important}
  body[data-theme="dark"] .settings-compact,body[data-theme="dark"] .settings-input,body[data-theme="dark"] .settings-textarea{background:#0d141e!important;border-color:#2a374b!important;color:#edf2fa!important}
  body[data-theme="dark"] .settings-save-bar{background:rgba(11,16,25,.96)!important;border-color:#222e40!important}
  body[data-theme="dark"] .performance-control-card-v217,body[data-theme="dark"] .performance-grid-v214>div{background:#111925!important;border-color:#253247!important}
  body[data-theme="dark"] .performance-stress-stage-v217{background:#0c131e;border-color:#253247}
}
@media(max-width:1180px) and (min-width:761px){.desktop-workspace-actions b{display:none!important}.desktop-workspace-actions button{width:40px!important;padding:0!important;justify-content:center!important}}
.task-thread-icon-v217,.empty-schedule-icon-v217{display:grid!important;place-items:center!important}.task-thread-icon-v217 svg{width:20px;height:20px}.task-schedule-svg-v217,.task-thread-icon-v217 svg,.empty-schedule-icon-v217 svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.aurora-task-icon .task-schedule-svg-v217{width:22px;height:22px}.empty-schedule-icon-v217 svg{width:24px;height:24px}

/* SenvoAI V0.21.8 — Horizon UI */
:root{
  --v218-bg:#eef2f7;--v218-surface:#f7f9fc;--v218-card:#fbfcfe;--v218-elevated:#ffffff;
  --v218-line:#d7dfeb;--v218-line-strong:#c6d0df;--v218-text:#172033;--v218-muted:#68768d;
  --v218-soft:#e9eef6;--v218-shadow:0 18px 48px rgba(30,45,72,.10);--v218-radius:20px;
  --v218-accent:#6865ff;--v218-accent-2:#7357ee;--v218-accent-soft:rgba(104,101,255,.10);
}
body[data-theme="dark"]{
  --v218-bg:#0c131d;--v218-surface:#111a27;--v218-card:#15202e;--v218-elevated:#192534;
  --v218-line:#2a394d;--v218-line-strong:#374960;--v218-text:#e7edf6;--v218-muted:#9aa9bd;
  --v218-soft:#1c2939;--v218-shadow:0 20px 54px rgba(0,0,0,.24);--v218-accent-soft:rgba(123,119,255,.16);
}
html,body{background:var(--v218-bg)!important;color:var(--v218-text)!important}
body:not(.auth-body) .app-shell,body:not(.auth-body) .main-panel,body:not(.auth-body) .conversation,body:not(.auth-body) .conversation-shell{background:var(--v218-bg)!important;color:var(--v218-text)!important}
body:not(.auth-body) .sidebar{background:var(--v218-surface)!important;border-color:var(--v218-line)!important;color:var(--v218-text)!important}
body:not(.auth-body) .topbar,body:not(.auth-body) .mobile-topbar{background:color-mix(in srgb,var(--v218-surface) 94%,transparent)!important;border-color:var(--v218-line)!important;color:var(--v218-text)!important;backdrop-filter:blur(18px)}
body:not(.auth-body) .modal-card,body:not(.auth-body) .popover,body:not(.auth-body) .menu-popover,body:not(.auth-body) .settings-card-v10,body:not(.auth-body) .settings-content-v10,body:not(.auth-body) .workspace-modal,body:not(.auth-body) .settings-list-card,body:not(.auth-body) .setting-row,body:not(.auth-body) .settings-info-card{background:var(--v218-card)!important;border-color:var(--v218-line)!important;color:var(--v218-text)!important;box-shadow:none}
body:not(.auth-body) .settings-modal-v10 .modal-card{background:var(--v218-bg)!important}
body:not(.auth-body) .settings-sidebar-v10{background:var(--v218-surface)!important;border-color:var(--v218-line)!important}
body:not(.auth-body) .settings-nav{min-height:44px!important;border-radius:13px!important;padding:10px 12px!important;color:var(--v218-muted)!important}
body:not(.auth-body) .settings-nav:hover,body:not(.auth-body) .settings-nav.active{background:var(--v218-soft)!important;color:var(--v218-text)!important}
body:not(.auth-body) .settings-panel-heading{padding-bottom:17px!important;margin-bottom:9px!important}
body:not(.auth-body) .setting-row{min-height:76px!important;padding:16px 18px!important;margin:9px 0!important;border-radius:18px!important;gap:18px!important}
body:not(.auth-body) .setting-row>div:first-child{min-width:0;line-height:1.35}
body:not(.auth-body) .setting-row strong{color:var(--v218-text)!important;line-height:1.35}
body:not(.auth-body) .setting-row span,body:not(.auth-body) .settings-panel-heading p,body:not(.auth-body) .muted{color:var(--v218-muted)!important;line-height:1.5}
body:not(.auth-body) input,body:not(.auth-body) select,body:not(.auth-body) textarea,body:not(.auth-body) .settings-input,body:not(.auth-body) .settings-compact{background:var(--v218-elevated)!important;border-color:var(--v218-line-strong)!important;color:var(--v218-text)!important;min-height:44px}
body:not(.auth-body) input::placeholder,body:not(.auth-body) textarea::placeholder{color:var(--v218-muted)!important}
body:not(.auth-body) .secondary-button,body:not(.auth-body) .mini-button,body:not(.auth-body) .icon-button{background:var(--v218-elevated)!important;border-color:var(--v218-line)!important;color:var(--v218-text)!important;min-height:40px}
body[data-theme="dark"] .primary-button{box-shadow:0 8px 24px rgba(105,99,255,.18)!important}
body[data-theme="dark"] .assistant-message,body[data-theme="dark"] .user-message,body[data-theme="dark"] .message-content,body[data-theme="dark"] .composer-shell{color:var(--v218-text)!important}
body[data-theme="dark"] .composer-shell{background:var(--v218-elevated)!important;border-color:var(--v218-line)!important;box-shadow:0 10px 30px rgba(0,0,0,.18)!important}
body[data-theme="dark"] .user-message .message-content{background:#202f42!important;border-color:#31465f!important}
body[data-theme="dark"] .assistant-message .message-content{background:transparent!important}
.message-content{line-height:1.62!important}.message-row{padding-top:13px!important;padding-bottom:13px!important}.chat-stream{padding-left:clamp(16px,3vw,34px)!important;padding-right:clamp(16px,3vw,34px)!important}

.new-chat-button{position:relative!important;isolation:isolate;overflow:hidden!important;min-height:48px!important;border:1px solid color-mix(in srgb,var(--v218-accent) 34%,var(--v218-line))!important;border-radius:16px!important;background:linear-gradient(135deg,var(--v218-elevated),color-mix(in srgb,var(--v218-accent-soft) 72%,var(--v218-elevated)))!important;box-shadow:0 10px 26px rgba(89,83,238,.08)!important;font-weight:760!important}
.new-chat-button::before{content:"";position:absolute;inset:-85% -35%;z-index:-1;background:conic-gradient(from 180deg,transparent 0 24%,rgba(109,105,255,.28),rgba(72,213,255,.18),transparent 62%);filter:blur(15px);opacity:.58;animation:senvoNewChatGlowV218 7s linear infinite}
.new-chat-button::after{content:"";position:absolute;left:14px;right:14px;bottom:3px;height:1px;background:linear-gradient(90deg,transparent,rgba(110,105,255,.66),transparent);opacity:.75}
.new-chat-button:hover{transform:translateY(-1px)!important;box-shadow:0 14px 34px rgba(89,83,238,.15)!important;border-color:color-mix(in srgb,var(--v218-accent) 58%,var(--v218-line))!important}
@keyframes senvoNewChatGlowV218{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.new-chat-button::before{animation:none}.new-chat-button:hover{transform:none!important}}

.outline-toggle{border-radius:999px!important;border:1px solid var(--v218-line)!important;background:var(--v218-elevated)!important;box-shadow:0 8px 24px rgba(33,47,76,.10)!important}
.outline-panel{width:min(350px,calc(100vw - 28px))!important;border-radius:22px!important;background:var(--v218-card)!important;border:1px solid var(--v218-line)!important;box-shadow:var(--v218-shadow)!important;padding:12px!important}
.outline-head{padding:8px 8px 13px!important;border-bottom:1px solid var(--v218-line)!important;align-items:flex-start!important}
.outline-head>div{display:flex;flex-direction:column;gap:2px}.outline-head strong{font-size:16px}.topic-trail-eyebrow-v218{text-transform:uppercase;letter-spacing:.12em;font-size:9px;font-weight:800;color:var(--v218-muted)}
.outline-items{position:relative;padding:10px 4px 4px 20px!important}.outline-items::before{content:"";position:absolute;left:10px;top:15px;bottom:14px;width:2px;border-radius:3px;background:linear-gradient(var(--v218-accent),color-mix(in srgb,var(--v218-accent) 10%,transparent))}
.outline-item{position:relative!important;min-height:44px!important;padding:10px 11px!important;border-radius:13px!important;color:var(--v218-muted)!important;line-height:1.35!important}
.outline-item::before{content:"";position:absolute;left:-15px;top:17px;width:8px;height:8px;border-radius:50%;background:var(--v218-elevated);border:2px solid var(--v218-accent)}
.outline-item:hover,.outline-item.active{background:var(--v218-soft)!important;color:var(--v218-text)!important}

.language-picker-row-v218{align-items:flex-start!important}.language-picker-v218{display:grid!important;grid-template-columns:minmax(180px,1fr) minmax(210px,1.2fr)!important;gap:9px!important;min-width:min(520px,56vw)!important}.language-picker-v218 small{grid-column:1/-1!important;color:var(--v218-muted)!important}.language-picker-v218 input,.language-picker-v218 select{width:100%!important}

#tasksModal{box-sizing:border-box!important;padding:18px!important;overflow:auto!important}
#tasksModal .aurora-schedule-page{width:min(1120px,100%)!important;max-width:1120px!important;min-width:0!important;height:auto!important;max-height:calc(100dvh - 36px)!important;margin:0 auto!important;padding:0 20px 24px!important;border-radius:28px!important;box-sizing:border-box!important;overflow:auto!important;background:var(--v218-bg)!important;border:1px solid var(--v218-line)!important;box-shadow:var(--v218-shadow)!important}
.aurora-schedule-hero{position:sticky!important;top:0!important;z-index:4!important;margin:0 -20px!important;padding:20px!important;border-bottom:1px solid var(--v218-line)!important;background:color-mix(in srgb,var(--v218-bg) 94%,transparent)!important;backdrop-filter:blur(18px)!important;gap:16px!important}
.aurora-schedule-title h2{font-size:clamp(30px,4vw,43px)!important;line-height:1.02!important}.aurora-schedule-title p{line-height:1.5!important;color:var(--v218-muted)!important}
.aurora-schedule-head-actions{flex-wrap:wrap!important;justify-content:flex-end!important;gap:9px!important}.aurora-scheduler-health{white-space:nowrap!important}
.aurora-task-overview{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:18px 0!important}.aurora-task-overview article{min-width:0!important;padding:15px 16px!important;border:1px solid var(--v218-line)!important;border-radius:18px!important;background:var(--v218-card)!important}.aurora-task-overview article.wide{grid-column:auto!important}
.aurora-schedule-quick{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:10px!important;padding:10px!important;margin:0 0 23px!important;border-radius:20px!important;background:var(--v218-card)!important;border:1px solid var(--v218-line)!important}.aurora-schedule-command{min-width:0!important;height:auto!important;min-height:48px!important}
.aurora-schedule-section-head{margin:22px 0 10px!important}.aurora-schedule-section-head p{line-height:1.45!important;color:var(--v218-muted)!important}
.aurora-task-list{display:grid!important;gap:12px!important;min-width:0!important}.aurora-task-card{display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;grid-template-areas:"icon copy" "actions actions"!important;gap:12px 14px!important;padding:18px!important;min-width:0!important;border-radius:21px!important;background:var(--v218-card)!important;border:1px solid var(--v218-line)!important;box-shadow:0 7px 20px rgba(29,44,70,.045)!important}.aurora-task-icon{grid-area:icon!important;width:52px!important;height:52px!important;align-self:start!important}.aurora-task-copy{grid-area:copy!important;min-width:0!important}.aurora-task-title-row{display:flex!important;align-items:flex-start!important;gap:8px 10px!important;flex-wrap:wrap!important}.aurora-task-title-row strong{min-width:0!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.34!important;font-size:15.5px!important}.aurora-task-state{flex:none!important;margin-top:1px!important}.aurora-task-cadence{display:flex!important;gap:8px 12px!important;flex-wrap:wrap!important;margin-top:6px!important;line-height:1.45!important}.aurora-task-last{display:flex!important;align-items:flex-start!important;gap:7px 13px!important;flex-wrap:wrap!important;margin-top:8px!important;min-width:0!important;line-height:1.45!important}.aurora-task-last span,.aurora-task-last b{white-space:normal!important;overflow-wrap:anywhere!important;max-width:100%!important}.aurora-task-last b{font-weight:650!important;color:var(--v218-muted)!important}.aurora-task-actions{grid-area:actions!important;display:flex!important;gap:8px!important;flex-wrap:wrap!important;padding:11px 0 0 66px!important;border-top:1px solid var(--v218-line)!important}.aurora-task-actions .mini-button{min-height:38px!important;padding:8px 12px!important;border-radius:11px!important}.aurora-template-card,.aurora-task-builder,.aurora-schedule-empty{background:var(--v218-card)!important;border-color:var(--v218-line)!important;color:var(--v218-text)!important}
body[data-theme="dark"] .aurora-task-card,body[data-theme="dark"] .aurora-task-overview article,body[data-theme="dark"] .aurora-schedule-quick,body[data-theme="dark"] .aurora-template-card,body[data-theme="dark"] .aurora-task-builder{background:var(--v218-card)!important;border-color:var(--v218-line)!important;box-shadow:none!important}
body[data-theme="dark"] .aurora-schedule-page{background:var(--v218-bg)!important}body[data-theme="dark"] .aurora-schedule-hero{background:rgba(12,19,29,.93)!important}

.auth-v218-body{min-height:100dvh!important;height:auto!important;overflow:auto!important;background:#edf2f7!important;color:#182236!important}
.auth-v218-shell{width:min(1180px,calc(100% - 32px))!important;min-height:min(760px,calc(var(--app-height,100dvh) - 32px))!important;height:auto!important;margin:16px auto!important;display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(440px,.95fr)!important;border-radius:30px!important;overflow:hidden!important;box-shadow:0 24px 70px rgba(25,39,66,.14)!important;background:#f7f9fc!important}
.auth-v218-shell .auth-v125-showcase{min-width:0!important;padding:34px clamp(28px,4vw,54px)!important}.auth-v218-shell .auth-v125-entry{min-width:0!important;padding:28px clamp(22px,3vw,42px)!important;overflow:visible!important}.auth-v218-card{width:min(100%,500px)!important;max-width:500px!important;padding:28px!important;border-radius:25px!important;margin:auto!important}.auth-v218-card input{min-height:48px!important}.auth-v218-card .auth-primary,.auth-v218-card .auth-secondary,.auth-passkey-v218{min-height:50px!important;border-radius:15px!important}.auth-passkey-v218{align-items:center!important;gap:11px!important;padding:11px 14px!important}.auth-passkey-v218 small{line-height:1.35!important;white-space:normal!important}.auth-v218-email-mfa{display:grid;gap:8px;margin:10px 0 13px}.auth-v218-email-mfa .verification-destination{margin:0!important}
@media(max-width:920px){.auth-v218-shell{grid-template-columns:1fr!important;width:min(620px,calc(100% - 22px))!important;margin:11px auto!important;border-radius:24px!important}.auth-v218-shell .auth-v125-showcase{display:none!important}.auth-v218-shell .auth-v125-entry{padding:18px!important}.auth-v218-card{max-width:560px!important;padding:24px!important}.auth-v125-mobile-brand{display:flex!important}}
@media(max-width:560px){.auth-v218-body{background:#f5f7fb!important}.auth-v218-shell{width:100%!important;margin:0!important;min-height:100dvh!important;border-radius:0!important;box-shadow:none!important;background:#f5f7fb!important}.auth-v218-shell .auth-v125-entry{padding:calc(14px + env(safe-area-inset-top)) 12px calc(18px + env(safe-area-inset-bottom))!important}.auth-v218-card{width:100%!important;padding:20px 16px!important;border-radius:22px!important}.auth-v125-card-head h2{font-size:28px!important}.auth-v125-oauth-grid{grid-template-columns:1fr!important}.auth-passkey-v218{padding:12px!important}}

@media(max-width:760px){
  body:not(.auth-body) .setting-row{display:grid!important;grid-template-columns:1fr!important;min-height:0!important;padding:15px!important;gap:11px!important}
  body:not(.auth-body) .setting-row>select,body:not(.auth-body) .setting-row>input,body:not(.auth-body) .setting-row>div:not(:first-child){width:100%!important;min-width:0!important;max-width:none!important}
  .language-picker-v218{grid-template-columns:1fr!important;min-width:0!important;width:100%!important}.language-picker-v218 small{grid-column:auto!important}
  #tasksModal{left:0!important;right:0!important;padding:0!important}
  #tasksModal .aurora-schedule-page{width:100%!important;max-width:none!important;min-height:100dvh!important;height:100dvh!important;max-height:100dvh!important;border:0!important;border-radius:0!important;padding:0 13px calc(22px + env(safe-area-inset-bottom))!important;margin:0!important}
  .aurora-schedule-hero{margin:0 -13px!important;padding:calc(13px + env(safe-area-inset-top)) 13px 14px!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important}.aurora-schedule-title h2{font-size:30px!important}.aurora-schedule-title p{font-size:13px!important}.aurora-schedule-head-actions .aurora-scheduler-health{display:none!important}
  .aurora-task-overview{grid-template-columns:1fr 1fr!important;gap:9px!important}.aurora-task-overview article.wide{grid-column:1/-1!important}.aurora-task-overview article{padding:13px!important}
  .aurora-schedule-quick{grid-template-columns:1fr!important;padding:9px!important}.aurora-schedule-new{width:100%!important}.aurora-task-card{grid-template-columns:44px minmax(0,1fr)!important;padding:14px!important;gap:10px 12px!important;border-radius:18px!important}.aurora-task-icon{width:44px!important;height:44px!important}.aurora-task-actions{padding:10px 0 0!important}.aurora-task-actions .mini-button{flex:1 1 calc(50% - 8px)!important;min-width:105px!important}.aurora-task-last{font-size:11.5px!important}
  .outline-panel{position:fixed!important;left:10px!important;right:10px!important;bottom:calc(82px + env(safe-area-inset-bottom))!important;top:auto!important;width:auto!important;max-height:min(56dvh,490px)!important;overflow:auto!important}
  .new-chat-button{min-height:50px!important}
}
@media(max-width:420px){.aurora-task-overview{grid-template-columns:1fr!important}.aurora-task-overview article.wide{grid-column:auto!important}.aurora-task-actions .mini-button{flex:1 1 100%!important}.aurora-schedule-title p{display:none!important}}


/* V0.21.8 finishing pass: roomier navigation + system-dark sign-in */
body:not(.auth-body) .sidebar-nav{min-height:46px!important;padding:10px 12px!important;border-radius:13px!important;gap:11px!important;font-size:13.5px!important;line-height:1.25!important}
body:not(.auth-body) .workspace-nav{gap:3px!important}
body:not(.auth-body) .chat-item{min-height:42px!important;height:auto!important;padding:8px 8px 8px 11px!important;border-radius:11px!important;gap:8px!important}
body:not(.auth-body) .chat-item .chat-title{font-size:12.8px!important;line-height:1.35!important}
body:not(.auth-body) .chat-section-heading{min-height:34px!important;padding:7px 9px 5px!important}
body:not(.auth-body) .popover-action{min-height:43px!important;padding:10px 12px!important;line-height:1.35!important}
body:not(.auth-body) .starter-card,body:not(.auth-body) .followup-chip{line-height:1.4!important}

@media(prefers-color-scheme:dark){
  .auth-v218-body{background:#0c131d!important;color:#e7edf6!important}
  .auth-v218-shell{background:#111a27!important;box-shadow:0 24px 70px rgba(0,0,0,.30)!important}
  .auth-v218-shell .auth-v125-entry{background:#111a27!important}
  .auth-v218-card{background:#15202e!important;border-color:#2a394d!important;color:#e7edf6!important;box-shadow:0 14px 38px rgba(0,0,0,.18)!important}
  .auth-v218-card h2,.auth-v218-card h3,.auth-v218-card strong,.auth-v218-card label>span{color:#e7edf6!important}
  .auth-v218-card p,.auth-v218-card small,.auth-v218-card .field-help,.auth-v218-card .verification-help,.auth-v218-card .auth-v216-mfa-note,.auth-v218-card .auth-v125-trust{color:#9aa9bd!important}
  .auth-v218-card input{background:#192534!important;border-color:#374960!important;color:#eef3fa!important}
  .auth-v218-card input::placeholder{color:#8191a7!important}
  .auth-v218-card .auth-tab,.auth-v218-card .auth-secondary,.auth-v218-card .auth-guest-button,.auth-passkey-v218{background:#192534!important;border-color:#374960!important;color:#e7edf6!important}
  .auth-v218-card .auth-tab.active{background:#24334a!important;color:#fff!important}
  .auth-v218-card .oauth-button{background:#192534!important;border-color:#374960!important;color:#e7edf6!important}
  .auth-v218-card .auth-divider:before,.auth-v218-card .auth-divider:after{background:#2a394d!important}
  .auth-v218-card .auth-divider span{background:#15202e!important;color:#9aa9bd!important}
  .auth-v218-card .auth-text-button,.auth-v218-card a{color:#aaa7ff!important}
  .auth-v218-shell .auth-v125-mobile-brand{color:#e7edf6!important}
}
@media(prefers-color-scheme:dark) and (max-width:560px){
  .auth-v218-body,.auth-v218-shell{background:#0c131d!important}
}


/* SenvoAI V0.21.9 — Orbit Interface
   A distinct workspace treatment: floating Orbit Dock, Signal Canvas, Pulse composer,
   asymmetric cards and embedded-first Region picker. */
:root{
  --v219-bg:#edf2f8;--v219-canvas:#f8fafc;--v219-panel:#f2f6fb;--v219-card:#ffffff;
  --v219-ink:#172238;--v219-muted:#66768d;--v219-line:#d5deea;--v219-line-strong:#c1cddd;
  --v219-orbit:#625dff;--v219-cyan:#39bddd;--v219-soft:#e8edf7;--v219-glow:rgba(98,93,255,.18);
  --v219-shadow:0 20px 52px rgba(30,48,80,.11);--v219-card-shadow:0 8px 24px rgba(33,51,82,.065);
}
body[data-theme="dark"]{
  --v219-bg:#0d1520;--v219-canvas:#111b28;--v219-panel:#121e2c;--v219-card:#182535;
  --v219-ink:#e8eef7;--v219-muted:#9babbe;--v219-line:#2b3b50;--v219-line-strong:#3b4d65;
  --v219-soft:#1c2a3b;--v219-glow:rgba(120,113,255,.24);--v219-shadow:0 22px 60px rgba(0,0,0,.28);--v219-card-shadow:none;
}
body.senvo-orbit-v219{background:radial-gradient(circle at 8% 0%,rgba(98,93,255,.08),transparent 31%),radial-gradient(circle at 90% 100%,rgba(57,189,221,.07),transparent 30%),var(--v219-bg)!important;color:var(--v219-ink)!important}
body.senvo-orbit-v219 .app-shell{gap:12px!important;padding:12px!important;box-sizing:border-box!important;background:transparent!important}
body.senvo-orbit-v219 .sidebar{position:relative!important;height:calc(var(--app-height,100dvh) - 24px)!important;border:1px solid var(--v219-line)!important;border-radius:26px!important;background:color-mix(in srgb,var(--v219-panel) 95%,transparent)!important;box-shadow:var(--v219-card-shadow)!important;overflow:hidden!important}
body.senvo-orbit-v219 .sidebar::before{content:"ORBIT DOCK";display:block;padding:12px 18px 0;font-size:9px;font-weight:850;letter-spacing:.16em;color:var(--v219-muted);opacity:.72}
body.senvo-orbit-v219 .sidebar-scroll-body{padding-top:4px!important}
body.senvo-orbit-v219 .sidebar-brand-row{margin:0 7px 8px!important;padding:9px 8px 10px!important;border-bottom:1px solid var(--v219-line)!important}
body.senvo-orbit-v219 .new-chat-button{min-height:52px!important;margin:5px 8px 10px!important;width:calc(100% - 16px)!important;border-radius:17px!important;border:1px solid color-mix(in srgb,var(--v219-orbit) 46%,var(--v219-line))!important;background:linear-gradient(120deg,color-mix(in srgb,var(--v219-card) 85%,var(--v219-orbit) 15%),color-mix(in srgb,var(--v219-card) 91%,var(--v219-cyan) 9%))!important;box-shadow:0 10px 28px var(--v219-glow)!important;color:var(--v219-ink)!important}
body.senvo-orbit-v219 .new-chat-button::before{background:conic-gradient(from 20deg,transparent 0 20%,rgba(98,93,255,.36),rgba(57,189,221,.28),transparent 58%)!important;filter:blur(17px)!important;opacity:.72!important}
body.senvo-orbit-v219 .sidebar-nav{min-height:48px!important;margin:2px 8px!important;width:calc(100% - 16px)!important;padding:11px 12px!important;border-radius:15px!important;color:var(--v219-muted)!important}
body.senvo-orbit-v219 .sidebar-nav:hover,body.senvo-orbit-v219 .sidebar-nav.active{background:var(--v219-soft)!important;color:var(--v219-ink)!important;transform:none!important}
body.senvo-orbit-v219 .sidebar-nav .nav-icon,body.senvo-orbit-v219 .new-chat-button .nav-icon{width:28px!important;height:28px!important;flex:0 0 28px!important;display:grid!important;place-items:center!important;border-radius:10px!important;background:color-mix(in srgb,var(--v219-orbit) 10%,var(--v219-card))!important;border:1px solid color-mix(in srgb,var(--v219-orbit) 14%,var(--v219-line))!important}
body.senvo-orbit-v219 .chat-list-scroll{margin-top:8px!important;padding:0 7px 8px!important}
body.senvo-orbit-v219 .chat-section{margin:8px 0 12px!important;padding:7px!important;border:1px solid color-mix(in srgb,var(--v219-line) 72%,transparent)!important;border-radius:17px!important;background:color-mix(in srgb,var(--v219-card) 58%,transparent)!important}
body.senvo-orbit-v219 .chat-section-heading{padding:5px 6px 7px!important}.senvo-orbit-v219 .chat-section-title{font-size:10px!important;text-transform:uppercase!important;letter-spacing:.11em!important;font-weight:800!important;color:var(--v219-muted)!important}
body.senvo-orbit-v219 .chat-item{min-height:46px!important;padding:9px 10px!important;border-radius:13px!important;color:var(--v219-ink)!important}.senvo-orbit-v219 .chat-item:hover,.senvo-orbit-v219 .chat-item.active{background:var(--v219-soft)!important;transform:none!important}
body.senvo-orbit-v219 .account-row{margin:8px!important;width:calc(100% - 16px)!important;border-radius:17px!important;border:1px solid var(--v219-line)!important;background:var(--v219-card)!important;padding:10px!important}
body.senvo-orbit-v219 .main-panel{border:1px solid var(--v219-line)!important;border-radius:28px!important;background:var(--v219-canvas)!important;box-shadow:var(--v219-shadow)!important;overflow:hidden!important}
body.senvo-orbit-v219 .topbar{min-height:68px!important;margin:0!important;padding:10px 16px!important;background:color-mix(in srgb,var(--v219-canvas) 90%,transparent)!important;border-bottom:1px solid var(--v219-line)!important;backdrop-filter:blur(20px)!important}
body.senvo-orbit-v219 .topbar-title{font-size:15px!important;font-weight:780!important}.senvo-orbit-v219 .topbar-subtitle{font-size:10px!important;text-transform:uppercase!important;letter-spacing:.11em!important;color:var(--v219-muted)!important}
body.senvo-orbit-v219 .desktop-workspace-actions{padding:5px!important;border:1px solid var(--v219-line)!important;border-radius:16px!important;background:var(--v219-card)!important;gap:3px!important}.senvo-orbit-v219 .desktop-workspace-actions button{border-radius:12px!important;min-height:42px!important}
body.senvo-orbit-v219 .conversation{background:linear-gradient(180deg,color-mix(in srgb,var(--v219-canvas) 96%,var(--v219-orbit) 4%),var(--v219-canvas) 32%)!important}
body.senvo-orbit-v219 .welcome-view{max-width:1040px!important;margin:0 auto!important;padding:clamp(52px,9vh,94px) clamp(22px,5vw,66px) 140px!important}.senvo-orbit-v219 .welcome-view h1{font-size:clamp(34px,5.2vw,64px)!important;letter-spacing:-.045em!important;line-height:1.02!important;max-width:780px!important}
body.senvo-orbit-v219 .starter-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px!important;margin-top:28px!important}.senvo-orbit-v219 .starter-card{min-height:112px!important;border-radius:22px!important;border:1px solid var(--v219-line)!important;background:linear-gradient(145deg,var(--v219-card),color-mix(in srgb,var(--v219-card) 90%,var(--v219-orbit) 10%))!important;box-shadow:var(--v219-card-shadow)!important;padding:18px!important;text-align:left!important}
body.senvo-orbit-v219 .messages{padding-top:22px!important}.senvo-orbit-v219 .message-row{max-width:980px!important;margin:0 auto!important;padding:12px clamp(16px,4vw,42px)!important}.senvo-orbit-v219 .assistant-message .message-content{border-left:3px solid color-mix(in srgb,var(--v219-orbit) 72%,var(--v219-cyan))!important;padding:16px 18px!important;background:color-mix(in srgb,var(--v219-card) 72%,transparent)!important;border-radius:4px 20px 20px 4px!important;box-shadow:var(--v219-card-shadow)!important}.senvo-orbit-v219 .user-message .message-content{background:color-mix(in srgb,var(--v219-orbit) 9%,var(--v219-card))!important;border:1px solid color-mix(in srgb,var(--v219-orbit) 22%,var(--v219-line))!important;border-radius:20px 20px 6px 20px!important;padding:13px 16px!important;box-shadow:none!important}
body.senvo-orbit-v219 .composer-zone{padding:10px clamp(14px,4vw,38px) 16px!important;background:linear-gradient(180deg,transparent,var(--v219-canvas) 34%)!important}.senvo-orbit-v219 .composer-shell,.senvo-orbit-v219 .composer-card{max-width:980px!important;margin:0 auto!important;border:1px solid color-mix(in srgb,var(--v219-orbit) 24%,var(--v219-line))!important;border-radius:24px!important;background:var(--v219-card)!important;box-shadow:0 16px 40px rgba(38,52,89,.12)!important}.senvo-orbit-v219 .composer-card:focus-within,.senvo-orbit-v219 .composer-shell:focus-within{box-shadow:0 18px 46px var(--v219-glow)!important;border-color:color-mix(in srgb,var(--v219-orbit) 52%,var(--v219-line))!important}
body.senvo-orbit-v219 .popover,body.senvo-orbit-v219 .modal-card,body.senvo-orbit-v219 .workspace-modal{border:1px solid var(--v219-line)!important;border-radius:24px!important;background:var(--v219-card)!important;color:var(--v219-ink)!important;box-shadow:var(--v219-shadow)!important}
body.senvo-orbit-v219 .settings-nav{min-height:48px!important;padding:11px 13px!important;border-radius:15px!important}.senvo-orbit-v219 .setting-row{min-height:82px!important;padding:17px 19px!important;border-radius:20px!important;background:var(--v219-card)!important;border:1px solid var(--v219-line)!important}
body.senvo-orbit-v219 .primary-button{border-radius:14px!important;min-height:44px!important;background:linear-gradient(135deg,#5f5bff,#7568f5)!important;box-shadow:0 8px 22px var(--v219-glow)!important}.senvo-orbit-v219 .secondary-button{border-radius:14px!important}

/* Region picker — instant embedded catalogue and larger, calmer control geometry. */
.senvo-orbit-v219 .region-country-picker{gap:10px!important}.senvo-orbit-v219 .region-country-search{height:50px!important;border-radius:16px!important;background:var(--v219-card)!important;border:1px solid var(--v219-line-strong)!important;padding:0 14px!important}.senvo-orbit-v219 .region-country-search:focus-within{border-color:color-mix(in srgb,var(--v219-orbit) 55%,var(--v219-line))!important;box-shadow:0 0 0 4px var(--v219-glow)!important}.senvo-orbit-v219 #settingsCountry+.senvora-select-button,.senvo-orbit-v219 #onboardingCountry+.senvora-select-button{min-height:50px!important;border-radius:16px!important;padding:0 15px!important;background:var(--v219-card)!important;border:1px solid var(--v219-line-strong)!important}.senvo-orbit-v219 .region-country-picker .senvora-select{width:100%!important}.senvo-orbit-v219 .senvora-select-menu{max-height:min(340px,55dvh)!important;overflow:auto!important;border-radius:16px!important;background:var(--v219-card)!important;border:1px solid var(--v219-line)!important;box-shadow:var(--v219-shadow)!important}.senvo-orbit-v219 .senvora-select-menu button{min-height:44px!important;padding:10px 12px!important;border-radius:10px!important;margin:3px!important}.senvo-orbit-v219 .senvora-select-menu button:hover,.senvo-orbit-v219 .senvora-select-menu button.selected{background:var(--v219-soft)!important}

/* Keep the Automation Deck inside the Signal Canvas rather than visually merging with it. */
.senvo-orbit-v219 #tasksModal .aurora-schedule-page{background:var(--v219-canvas)!important;border-color:var(--v219-line)!important;box-shadow:var(--v219-shadow)!important}.senvo-orbit-v219 .aurora-schedule-hero{background:color-mix(in srgb,var(--v219-canvas) 93%,transparent)!important;border-color:var(--v219-line)!important}.senvo-orbit-v219 .aurora-task-card,.senvo-orbit-v219 .aurora-task-overview article,.senvo-orbit-v219 .aurora-schedule-quick{background:var(--v219-card)!important;border-color:var(--v219-line)!important}.senvo-orbit-v219 .aurora-task-card{border-radius:22px!important;padding:19px!important}

@media(max-width:1100px){body.senvo-orbit-v219 .desktop-workspace-actions b{display:none!important}.senvo-orbit-v219 .desktop-workspace-actions button{width:42px!important;padding:0!important}.senvo-orbit-v219 .starter-grid{grid-template-columns:1fr!important}}
@media(max-width:760px){
  body.senvo-orbit-v219 .app-shell{padding:0!important;gap:0!important}.senvo-orbit-v219 .main-panel{border:0!important;border-radius:0!important;box-shadow:none!important}.senvo-orbit-v219 .sidebar{position:fixed!important;inset:0 auto 0 0!important;height:var(--app-height,100dvh)!important;border-radius:0 24px 24px 0!important;border-left:0!important;border-top:0!important;border-bottom:0!important;box-shadow:18px 0 50px rgba(10,22,41,.20)!important}.senvo-orbit-v219 .sidebar::before{padding-top:calc(env(safe-area-inset-top) + 10px)!important}
  .senvo-orbit-v219 .topbar{min-height:60px!important;padding:calc(7px + env(safe-area-inset-top)) 10px 7px!important}.senvo-orbit-v219 .topbar-subtitle{display:none!important}.senvo-orbit-v219 .welcome-view{padding:34px 16px 124px!important}.senvo-orbit-v219 .welcome-view h1{font-size:38px!important}.senvo-orbit-v219 .starter-grid{gap:10px!important}.senvo-orbit-v219 .starter-card{min-height:96px!important;padding:15px!important;border-radius:19px!important}.senvo-orbit-v219 .message-row{padding:9px 12px!important}.senvo-orbit-v219 .assistant-message .message-content{padding:14px 14px!important;border-radius:3px 17px 17px 3px!important}.senvo-orbit-v219 .composer-zone{padding:8px 8px calc(9px + env(safe-area-inset-bottom))!important}.senvo-orbit-v219 .composer-shell,.senvo-orbit-v219 .composer-card{border-radius:20px!important}.senvo-orbit-v219 .region-onboarding-card{width:calc(100vw - 18px)!important;max-height:calc(100dvh - 18px)!important;border-radius:22px!important;padding:18px!important}.senvo-orbit-v219 .region-country-search{height:48px!important}
}
@media(prefers-reduced-motion:reduce){.senvo-orbit-v219 *{scroll-behavior:auto!important}.senvo-orbit-v219 .new-chat-button::before{animation:none!important}}


/* SenvoAI V0.22.0 — Spectrum Themes
   Final override layer. Purposefully resolves legacy light/dark collisions by
   giving the signed-in workspace one explicit token system at the end of CSS. */
body.senvo-spectrum-v220{
  --v220-bg:#eef3f9;--v220-canvas:#f8fafd;--v220-panel:#e8eef6;--v220-card:#ffffff;--v220-card-2:#f3f6fa;
  --v220-ink:#162033;--v220-ink-strong:#0d1627;--v220-muted:#5d6b80;--v220-faint:#8190a5;
  --v220-line:#d4dde9;--v220-line-strong:#bdc9d9;--v220-accent:#655ff7;--v220-accent-2:#32b9d7;
  --v220-soft:#e9eafc;--v220-hover:#e7edf6;--v220-good:#16845b;--v220-danger:#c44b56;
  --v220-shadow:0 18px 48px rgba(33,49,77,.11);--v220-card-shadow:0 7px 22px rgba(36,52,80,.07);
  --bg:var(--v220-bg);--surface:var(--v220-card);--surface-2:var(--v220-panel);--surface-3:var(--v220-card-2);
  --text:var(--v220-ink);--text-soft:var(--v220-muted);--text-faint:var(--v220-faint);--border:var(--v220-line);--border-strong:var(--v220-line-strong);
  background:linear-gradient(145deg,#e9f0f8 0%,#f6f8fc 48%,#edf3f9 100%)!important;color:var(--v220-ink)!important;
}
body.senvo-spectrum-v220[data-theme="dark"]{
  --v220-bg:#09121d;--v220-canvas:#0d1825;--v220-panel:#111e2d;--v220-card:#172638;--v220-card-2:#1b2c40;
  --v220-ink:#eef4fb;--v220-ink-strong:#f7faff;--v220-muted:#afbed0;--v220-faint:#8295aa;
  --v220-line:#2d4056;--v220-line-strong:#40566f;--v220-accent:#8a83ff;--v220-accent-2:#48c9e2;
  --v220-soft:#212e46;--v220-hover:#203149;--v220-good:#46d59a;--v220-danger:#ff7c86;
  --v220-shadow:0 22px 58px rgba(0,0,0,.30);--v220-card-shadow:0 10px 28px rgba(0,0,0,.18);
  --bg:var(--v220-bg);--surface:var(--v220-card);--surface-2:var(--v220-panel);--surface-3:var(--v220-card-2);
  --text:var(--v220-ink);--text-soft:var(--v220-muted);--text-faint:var(--v220-faint);--border:var(--v220-line);--border-strong:var(--v220-line-strong);
  background:radial-gradient(circle at 12% -5%,rgba(112,105,255,.13),transparent 30rem),linear-gradient(145deg,#08111b,#0d1724 52%,#0a1420)!important;color:var(--v220-ink)!important;
}
body.senvo-spectrum-v220[data-contrast="high"]{--text:var(--v220-ink-strong)!important;--text-soft:var(--v220-ink)!important;--text-faint:var(--v220-muted)!important;--border:var(--v220-line-strong)!important}

/* Main shell and spacing */
body.senvo-spectrum-v220 .app-shell{width:100%!important;max-width:100vw!important;min-width:0!important;height:100dvh!important;padding:12px!important;gap:12px!important;box-sizing:border-box!important;overflow:hidden!important;background:transparent!important}
body.senvo-spectrum-v220 .sidebar{background:color-mix(in srgb,var(--v220-panel) 95%,transparent)!important;border:1px solid var(--v220-line)!important;border-radius:26px!important;color:var(--v220-ink)!important;box-shadow:var(--v220-card-shadow)!important}
body.senvo-spectrum-v220 .main-panel{min-width:0!important;max-width:100%!important;border:1px solid var(--v220-line)!important;border-radius:28px!important;background:var(--v220-canvas)!important;color:var(--v220-ink)!important;box-shadow:var(--v220-shadow)!important;overflow:hidden!important}
body.senvo-spectrum-v220 .conversation{min-width:0!important;max-width:100%!important;background:linear-gradient(180deg,color-mix(in srgb,var(--v220-canvas) 96%,var(--v220-accent) 4%),var(--v220-canvas) 34%)!important;color:var(--v220-ink)!important;overflow-x:hidden!important}
body.senvo-spectrum-v220 .topbar{min-width:0!important;margin:0!important;min-height:68px!important;border:0!important;border-bottom:1px solid var(--v220-line)!important;border-radius:0!important;background:color-mix(in srgb,var(--v220-canvas) 92%,transparent)!important;color:var(--v220-ink)!important;box-shadow:none!important;backdrop-filter:blur(20px)!important}
body.senvo-spectrum-v220 .topbar:before{display:none!important}
body.senvo-spectrum-v220 .topbar-title,body.senvo-spectrum-v220 .welcome-view h1,body.senvo-spectrum-v220 h1,body.senvo-spectrum-v220 h2,body.senvo-spectrum-v220 h3,body.senvo-spectrum-v220 strong{color:var(--v220-ink-strong)!important}
body.senvo-spectrum-v220 .topbar-subtitle,body.senvo-spectrum-v220 .welcome-view>p,body.senvo-spectrum-v220 small{color:var(--v220-muted)!important}
body.senvo-spectrum-v220 .welcome-view{width:100%!important;max-width:1100px!important;min-width:0!important;margin-inline:auto!important;box-sizing:border-box!important;padding-left:clamp(24px,5vw,72px)!important;padding-right:clamp(24px,5vw,72px)!important;overflow:visible!important}
body.senvo-spectrum-v220 .welcome-view h1{width:100%!important;max-width:900px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important;text-align:center!important;overflow-wrap:anywhere!important;text-wrap:balance!important}
body.senvo-spectrum-v220 .starter-grid{width:min(100%,940px)!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}
body.senvo-spectrum-v220 .starter-card{background:linear-gradient(145deg,var(--v220-card),color-mix(in srgb,var(--v220-card-2) 88%,var(--v220-accent) 12%))!important;border:1px solid var(--v220-line)!important;color:var(--v220-ink)!important;box-shadow:var(--v220-card-shadow)!important}
body.senvo-spectrum-v220 .starter-card:hover{background:color-mix(in srgb,var(--v220-card) 82%,var(--v220-accent) 18%)!important;border-color:color-mix(in srgb,var(--v220-accent) 38%,var(--v220-line))!important}

/* Navigation and quick actions */
body.senvo-spectrum-v220 .new-chat-button,body.senvo-spectrum-v220 .sidebar-nav,body.senvo-spectrum-v220 .chat-item{color:var(--v220-muted)!important}
body.senvo-spectrum-v220 .new-chat-button{background:linear-gradient(120deg,color-mix(in srgb,var(--v220-card) 82%,var(--v220-accent) 18%),color-mix(in srgb,var(--v220-card) 90%,var(--v220-accent-2) 10%))!important;border-color:color-mix(in srgb,var(--v220-accent) 38%,var(--v220-line))!important;color:var(--v220-ink-strong)!important;box-shadow:0 10px 26px color-mix(in srgb,var(--v220-accent) 17%,transparent)!important}
body.senvo-spectrum-v220 .sidebar-nav:hover,body.senvo-spectrum-v220 .sidebar-nav.active,body.senvo-spectrum-v220 .chat-item:hover,body.senvo-spectrum-v220 .chat-item.active{background:var(--v220-hover)!important;color:var(--v220-ink-strong)!important}
body.senvo-spectrum-v220 .sidebar-nav .nav-icon,body.senvo-spectrum-v220 .new-chat-button .nav-icon{background:color-mix(in srgb,var(--v220-card) 84%,var(--v220-accent) 16%)!important;border-color:color-mix(in srgb,var(--v220-accent) 18%,var(--v220-line))!important;color:var(--v220-ink)!important}
body.senvo-spectrum-v220 .chat-section{background:color-mix(in srgb,var(--v220-card) 62%,transparent)!important;border-color:var(--v220-line)!important}
body.senvo-spectrum-v220 .chat-section-title{color:var(--v220-muted)!important}
body.senvo-spectrum-v220 .account-row{background:var(--v220-card)!important;border:1px solid var(--v220-line)!important;color:var(--v220-ink)!important;box-shadow:var(--v220-card-shadow)!important}
body.senvo-spectrum-v220 .desktop-workspace-actions{background:var(--v220-card)!important;border-color:var(--v220-line)!important}
body.senvo-spectrum-v220 .desktop-workspace-actions button,body.senvo-spectrum-v220 .topbar-icon-action,body.senvo-spectrum-v220 .top-account-button,body.senvo-spectrum-v220 .experience-mode-button{color:var(--v220-muted)!important;background:transparent!important;border-color:transparent!important}
body.senvo-spectrum-v220 .desktop-workspace-actions button:hover,body.senvo-spectrum-v220 .topbar-icon-action:hover,body.senvo-spectrum-v220 .experience-mode-button:hover{background:var(--v220-hover)!important;color:var(--v220-ink)!important}
body.senvo-spectrum-v220 .provider-badge-v160{background:var(--v220-card)!important;border-color:var(--v220-line)!important;color:var(--v220-muted)!important}

/* Account/popover repair — explicit foreground AND background in both themes. */
body.senvo-spectrum-v220 .popover,body.senvo-spectrum-v220 .account-menu,body.senvo-spectrum-v220 .help-menu,body.senvo-spectrum-v220 .tool-menu,body.senvo-spectrum-v220 .effort-popover,body.senvo-spectrum-v220 .experience-menu,body.senvo-spectrum-v220 .chat-context-menu,body.senvo-spectrum-v220 .senvora-select-menu{
  background:color-mix(in srgb,var(--v220-card) 97%,transparent)!important;border:1px solid var(--v220-line-strong)!important;color:var(--v220-ink)!important;box-shadow:0 22px 54px rgba(31,48,77,.18)!important;backdrop-filter:blur(22px) saturate(118%)!important
}
body.senvo-spectrum-v220[data-theme="dark"] .popover,body.senvo-spectrum-v220[data-theme="dark"] .account-menu,body.senvo-spectrum-v220[data-theme="dark"] .help-menu,body.senvo-spectrum-v220[data-theme="dark"] .tool-menu,body.senvo-spectrum-v220[data-theme="dark"] .effort-popover,body.senvo-spectrum-v220[data-theme="dark"] .experience-menu,body.senvo-spectrum-v220[data-theme="dark"] .chat-context-menu,body.senvo-spectrum-v220[data-theme="dark"] .senvora-select-menu{box-shadow:0 26px 64px rgba(0,0,0,.42)!important}
body.senvo-spectrum-v220 .account-menu-profile,body.senvo-spectrum-v220 .account-menu .popover-action,body.senvo-spectrum-v220 .popover-action,body.senvo-spectrum-v220 a.popover-action{color:var(--v220-ink)!important;background:transparent!important;opacity:1!important}
body.senvo-spectrum-v220 .account-menu-profile strong,body.senvo-spectrum-v220 .account-menu .popover-action strong{color:var(--v220-ink-strong)!important;opacity:1!important}
body.senvo-spectrum-v220 .account-menu-profile span,body.senvo-spectrum-v220 .account-menu .popover-action span,body.senvo-spectrum-v220 .menu-end{color:var(--v220-muted)!important;opacity:1!important}
body.senvo-spectrum-v220 .account-menu-profile:hover,body.senvo-spectrum-v220 .account-menu .popover-action:hover,body.senvo-spectrum-v220 .popover-action:hover{background:var(--v220-hover)!important;color:var(--v220-ink-strong)!important}
body.senvo-spectrum-v220 .menu-divider{background:var(--v220-line)!important;border-color:var(--v220-line)!important}
body.senvo-spectrum-v220 .account-menu{width:min(300px,calc(100vw - 24px))!important;padding:10px!important;border-radius:22px!important}
body.senvo-spectrum-v220 .account-menu-profile{min-height:64px!important;padding:10px!important;border-radius:15px!important}
body.senvo-spectrum-v220 .account-menu .popover-action{min-height:45px!important;padding:10px 11px!important;border-radius:13px!important;font-weight:650!important}

/* Messages and composer */
body.senvo-spectrum-v220 .assistant-content,body.senvo-spectrum-v220 .assistant-message .message-content,body.senvo-spectrum-v220 .message-assistant .message-body{color:var(--v220-ink)!important}
body.senvo-spectrum-v220 .assistant-message .message-content,body.senvo-spectrum-v220 .message-assistant .message-body{background:color-mix(in srgb,var(--v220-card) 88%,transparent)!important;border-color:color-mix(in srgb,var(--v220-accent) 45%,var(--v220-line))!important;box-shadow:var(--v220-card-shadow)!important}
body.senvo-spectrum-v220 .user-message .message-content,body.senvo-spectrum-v220 .message-user .message-bubble,body.senvo-spectrum-v220 .message-user .message-body{background:color-mix(in srgb,var(--v220-card) 78%,var(--v220-accent) 22%)!important;border-color:color-mix(in srgb,var(--v220-accent) 34%,var(--v220-line))!important;color:var(--v220-ink-strong)!important}
body.senvo-spectrum-v220 .assistant-content blockquote{color:var(--v220-muted)!important;border-left-color:color-mix(in srgb,var(--v220-accent) 55%,var(--v220-line))!important}
body.senvo-spectrum-v220 .assistant-content pre{background:var(--v220-panel)!important;border-color:var(--v220-line)!important;color:var(--v220-ink)!important}
body.senvo-spectrum-v220 .assistant-content :not(pre)>code{background:var(--v220-panel)!important;color:var(--v220-ink)!important}
body.senvo-spectrum-v220 .composer-zone{background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--v220-canvas) 93%,transparent) 26%,var(--v220-canvas) 52%)!important}
body.senvo-spectrum-v220 .composer-card,body.senvo-spectrum-v220 .composer-shell{background:var(--v220-card)!important;border:1px solid var(--v220-line-strong)!important;color:var(--v220-ink)!important;box-shadow:0 14px 38px rgba(31,48,77,.12)!important}
body.senvo-spectrum-v220[data-theme="dark"] .composer-card,body.senvo-spectrum-v220[data-theme="dark"] .composer-shell{box-shadow:0 16px 42px rgba(0,0,0,.26)!important}
body.senvo-spectrum-v220 .composer-card:focus-within,body.senvo-spectrum-v220 .composer-shell:focus-within{border-color:color-mix(in srgb,var(--v220-accent) 58%,var(--v220-line))!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--v220-accent) 12%,transparent),0 17px 44px rgba(31,48,77,.14)!important}
body.senvo-spectrum-v220 #messageInput,body.senvo-spectrum-v220 textarea,body.senvo-spectrum-v220 input{color:var(--v220-ink)!important}
body.senvo-spectrum-v220 #messageInput::placeholder,body.senvo-spectrum-v220 input::placeholder,body.senvo-spectrum-v220 textarea::placeholder{color:var(--v220-faint)!important;opacity:1!important}
body.senvo-spectrum-v220 .composer-tool,body.senvo-spectrum-v220 .effort-button,body.senvo-spectrum-v220 .composer-call-button{color:var(--v220-muted)!important}
body.senvo-spectrum-v220 .composer-tool:hover,body.senvo-spectrum-v220 .effort-button:hover,body.senvo-spectrum-v220 .composer-call-button:hover{background:var(--v220-hover)!important;color:var(--v220-ink)!important}
body.senvo-spectrum-v220 .composer-note,body.senvo-spectrum-v220 .message-time{color:var(--v220-faint)!important}
body.senvo-spectrum-v220 .followup-chip{background:var(--v220-card)!important;border-color:var(--v220-line)!important;color:var(--v220-muted)!important}
body.senvo-spectrum-v220 .followup-chip:hover{background:var(--v220-hover)!important;color:var(--v220-ink)!important}

/* Settings, forms and cards */
body.senvo-spectrum-v220 .modal-card,body.senvo-spectrum-v220 .workspace-modal,body.senvo-spectrum-v220 .workspace-modal-v11,body.senvo-spectrum-v220 .settings-center-v10{background:var(--v220-card)!important;border-color:var(--v220-line)!important;color:var(--v220-ink)!important;box-shadow:var(--v220-shadow)!important}
body.senvo-spectrum-v220 .settings-content-v10{background:var(--v220-canvas)!important;color:var(--v220-ink)!important}
body.senvo-spectrum-v220 .settings-sidebar-v10{background:var(--v220-panel)!important;border-color:var(--v220-line)!important}
body.senvo-spectrum-v220 .settings-nav{color:var(--v220-muted)!important}
body.senvo-spectrum-v220 .settings-nav:hover{background:var(--v220-hover)!important;color:var(--v220-ink)!important}
body.senvo-spectrum-v220 .settings-nav.active{background:color-mix(in srgb,var(--v220-card) 73%,var(--v220-accent) 27%)!important;color:var(--v220-ink-strong)!important;box-shadow:inset 3px 0 var(--v220-accent)!important}
body.senvo-spectrum-v220 .setting-row,body.senvo-spectrum-v220 .settings-subsection,body.senvo-spectrum-v220 .settings-info-card,body.senvo-spectrum-v220 .settings-note-v124{background:var(--v220-card)!important;border-color:var(--v220-line)!important;color:var(--v220-ink)!important}
body.senvo-spectrum-v220 .settings-input,body.senvo-spectrum-v220 .settings-compact,body.senvo-spectrum-v220 .settings-textarea,body.senvo-spectrum-v220 select{background:var(--v220-card-2)!important;border-color:var(--v220-line-strong)!important;color:var(--v220-ink)!important}
body.senvo-spectrum-v220 .field-label,body.senvo-spectrum-v220 .setting-row span,body.senvo-spectrum-v220 .settings-subsection p{color:var(--v220-muted)!important}
body.senvo-spectrum-v220 .primary-button{background:linear-gradient(135deg,var(--v220-accent),color-mix(in srgb,var(--v220-accent) 72%,var(--v220-accent-2)))!important;color:#f7f9ff!important;border:0!important}
body.senvo-spectrum-v220 .secondary-button,body.senvo-spectrum-v220 .mini-button{background:var(--v220-card-2)!important;border-color:var(--v220-line)!important;color:var(--v220-ink)!important}

/* Scheduled/automation surfaces inherit the same theme instead of their old whites/blacks. */
body.senvo-spectrum-v220 .aurora-schedule-page,body.senvo-spectrum-v220 .aurora-schedule-hero,body.senvo-spectrum-v220 .aurora-task-card,body.senvo-spectrum-v220 .aurora-task-overview article,body.senvo-spectrum-v220 .aurora-schedule-quick,body.senvo-spectrum-v220 .aurora-template-card,body.senvo-spectrum-v220 .aurora-task-builder,body.senvo-spectrum-v220 .aurora-schedule-empty{background:var(--v220-card)!important;border-color:var(--v220-line)!important;color:var(--v220-ink)!important}
body.senvo-spectrum-v220 .aurora-schedule-page{background:var(--v220-canvas)!important}
body.senvo-spectrum-v220 .aurora-schedule-hero{background:color-mix(in srgb,var(--v220-canvas) 94%,transparent)!important}
body.senvo-spectrum-v220 .aurora-task-title-row>strong,body.senvo-spectrum-v220 .aurora-schedule-hero h2{color:var(--v220-ink-strong)!important}
body.senvo-spectrum-v220 .aurora-task-cadence,body.senvo-spectrum-v220 .aurora-task-last,body.senvo-spectrum-v220 .aurora-template-card small{color:var(--v220-muted)!important}

/* Responsive safety: no left-edge clipping or text touching panels. */
@media(max-width:900px){
  body.senvo-spectrum-v220 .app-shell{padding:0!important;gap:0!important}
  body.senvo-spectrum-v220 .main-panel{width:100vw!important;max-width:100vw!important;border:0!important;border-radius:0!important;box-shadow:none!important}
  body.senvo-spectrum-v220 .sidebar{border-radius:0 24px 24px 0!important;border-left:0!important;border-top:0!important;border-bottom:0!important}
  body.senvo-spectrum-v220 .topbar{min-height:60px!important;padding-left:12px!important;padding-right:12px!important}
  body.senvo-spectrum-v220 .welcome-view{max-width:100%!important;padding-left:18px!important;padding-right:18px!important}
  body.senvo-spectrum-v220 .welcome-view h1{max-width:100%!important;font-size:clamp(30px,7vw,44px)!important;line-height:1.06!important}
  body.senvo-spectrum-v220 .starter-grid{max-width:100%!important}
  body.senvo-spectrum-v220 .message-row,body.senvo-spectrum-v220 .messages>.message{max-width:100%!important;padding-left:14px!important;padding-right:14px!important;box-sizing:border-box!important}
}
@media(max-width:560px){
  body.senvo-spectrum-v220 .welcome-view{padding-left:14px!important;padding-right:14px!important}
  body.senvo-spectrum-v220 .welcome-view h1{font-size:clamp(28px,9vw,38px)!important;letter-spacing:-.035em!important}
  body.senvo-spectrum-v220 .starter-card{padding:15px!important;min-height:92px!important}
  body.senvo-spectrum-v220 .account-menu{left:10px!important;right:10px!important;bottom:calc(env(safe-area-inset-bottom,0px) + 10px)!important;width:auto!important;max-width:none!important}
  body.senvo-spectrum-v220 .composer-zone{padding-left:8px!important;padding-right:8px!important;padding-bottom:calc(8px + env(safe-area-inset-bottom))!important}
  body.senvo-spectrum-v220 .composer-card{border-radius:21px!important}
  body.senvo-spectrum-v220 .settings-content-v10{padding-left:12px!important;padding-right:12px!important}
  body.senvo-spectrum-v220 .setting-row,body.senvo-spectrum-v220 .settings-subsection{padding:15px!important;border-radius:18px!important}
}
@media(prefers-reduced-motion:reduce){body.senvo-spectrum-v220 *{scroll-behavior:auto!important}}


/* ==========================================================================\n   SenvoAI V0.22.1 — Easy Start + Personalization Hub\n   Reduces first-run friction and turns Personalization into an essentials-first hub.\n   ========================================================================== */
.auth-v221-card{max-width:560px!important}
.signup-simple-v221 .auth-v125-panel-intro{margin-bottom:14px!important}
.signup-mini-progress-v221{display:flex;align-items:center;gap:10px;margin:0 0 16px;color:#8a91a0;font-size:11px;font-weight:750}
.signup-mini-progress-v221>span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.signup-mini-progress-v221>span:before{content:"";width:8px;height:8px;border-radius:50%;background:#cfd4df;box-shadow:0 0 0 4px rgba(125,134,153,.08)}
.signup-mini-progress-v221>span.active{color:#3f4a63}.signup-mini-progress-v221>span.active:before{background:#6258f5;box-shadow:0 0 0 5px rgba(98,88,245,.11)}
.signup-mini-progress-v221>span.complete:before{background:#1fba7a}.signup-mini-progress-v221>i{height:1px;flex:1;background:#e5e8ef}
.signup-legal-note-v221,.oauth-legal-note-v221,.verify-legal-v221{margin:8px 2px 0;color:#858c9a;font-size:10.5px;line-height:1.5}.signup-legal-note-v221 a,.oauth-legal-note-v221 a,.verify-legal-v221 a{color:#5148d9;font-weight:720}
.oauth-legal-note-v221{text-align:center;margin:8px 8px 2px}.signup-verify-area.auth-v125-verify{margin-top:12px!important;padding:14px!important;border-radius:16px!important}.verify-head-v221{display:flex;flex-direction:column;gap:3px}.verify-head-v221>span{font-size:13px;font-weight:800}.verify-head-v221>small{font-size:10.5px;line-height:1.45;color:#747d8c}
.terms-consent-v221 .terms-consent-card{width:min(430px,100%)!important;padding:22px!important;border-radius:22px!important}.terms-consent-v221 .terms-consent-card h2{font-size:24px!important;margin-top:20px!important}.terms-consent-v221 .terms-consent-card>p{margin-bottom:13px!important}.terms-consent-inline-links-v221{display:flex;gap:8px;flex-wrap:wrap}.terms-consent-inline-links-v221 a{display:inline-flex;align-items:center;min-height:34px;padding:0 11px;border:1px solid #e6e8ef;border-radius:10px;background:#f8f9fc;color:#4f5870;font-size:10.5px;font-weight:720}.terms-accept-v221{width:100%;min-height:46px;margin-top:16px;border-radius:13px}.terms-decline-link-v221{display:block;margin:10px auto 0;border:0;background:transparent;color:#8b909c;font-size:10.5px;cursor:pointer}.terms-consent-v221 .terms-consent-version{margin-top:8px!important}
body[data-theme="dark"] .terms-consent-inline-links-v221 a{background:#151e2a;border-color:#28384b;color:#c6d1e2}
.personalization-panel-v221{padding-bottom:26px!important}.personalization-intro-v221{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 16px;padding:15px 16px;border:1px solid var(--border);border-radius:17px;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 8%,var(--surface)) 0%,var(--surface) 72%)}.personalization-intro-v221>div{display:flex;flex-direction:column;gap:3px;min-width:0}.personalization-intro-v221 strong{font-size:13px}.personalization-intro-v221 span{font-size:10.5px;line-height:1.45;color:var(--text-soft)}.personalization-state-v221{flex:0 0 auto!important;padding:6px 9px;border-radius:999px;background:color-mix(in srgb,var(--accent) 10%,var(--surface));color:var(--accent)!important;font-weight:780}
.personal-card-v221{overflow:hidden;margin:12px 0;border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:0 4px 18px rgba(26,34,52,.035)}.personal-card-head-v221{padding:14px 16px 10px}.personal-card-head-v221>div{display:flex;align-items:center;gap:10px}.personal-card-head-v221>div>span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:color-mix(in srgb,var(--accent) 10%,var(--surface));color:var(--accent);font-size:9px;font-weight:850}.personal-card-head-v221>div>div{display:flex;flex-direction:column;gap:2px}.personal-card-head-v221 strong{font-size:13px}.personal-card-head-v221 small{font-size:10px;color:var(--text-soft)}.personal-card-v221>.setting-row{margin:0!important;border:0!important;border-top:1px solid var(--border)!important;border-radius:0!important;box-shadow:none!important;min-height:72px!important;padding:13px 16px!important}.personal-card-v221>.setting-row>div:first-child strong{font-size:12.5px!important}.personal-card-v221>.setting-row>div:first-child span{font-size:10.5px!important;line-height:1.45!important}.personal-grid-v221{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--border)}.personal-grid-v221>.setting-row{margin:0!important;border:0!important;border-right:1px solid var(--border)!important;border-radius:0!important;box-shadow:none!important;min-height:76px!important;padding:13px 16px!important}.personal-grid-v221>.setting-row:nth-child(2n){border-right:0!important}.personal-more-v221{margin:14px 0;border:1px solid var(--border);border-radius:18px;background:var(--surface);overflow:hidden}.personal-more-v221>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 16px;cursor:pointer}.personal-more-v221>summary::-webkit-details-marker{display:none}.personal-more-v221>summary>div{display:flex;flex-direction:column;gap:2px}.personal-more-v221>summary strong{font-size:13px}.personal-more-v221>summary span{font-size:10.5px;color:var(--text-soft)}.personal-more-v221>summary b{font-size:20px;font-weight:400;color:var(--text-soft);transition:transform .18s ease}.personal-more-v221[open]>summary b{transform:rotate(45deg)}.personal-more-body-v221{padding:0 12px 12px;border-top:1px solid var(--border);background:color-mix(in srgb,var(--surface-2) 68%,var(--surface))}.personal-card-v221.nested-v221{margin:12px 0;box-shadow:none}.personal-motion-v221{margin:12px 0 0!important;border-radius:14px!important;background:var(--surface)!important}.personalization-panel-v221 .language-picker-v218,.personalization-panel-v221 .font-picker-v215{width:min(330px,100%)!important}.personalization-panel-v221 .settings-compact{min-width:150px!important;max-width:270px!important}
.device-check-card .device-check-brand span:after{content:" · optional";color:#969cab}.region-onboarding-card .settings-eyebrow:after{content:" · optional"}
@media(max-width:760px){.auth-v221-card{width:min(100%,540px)!important}.signup-mini-progress-v221{margin-bottom:12px}.oauth-legal-note-v221{font-size:9.5px}.terms-consent-v221 .terms-consent-card{width:100%!important;padding:18px!important}.terms-consent-inline-links-v221{display:grid;grid-template-columns:1fr 1fr}.terms-consent-inline-links-v221 a{justify-content:center;padding-inline:6px}.personalization-intro-v221{align-items:flex-start;flex-direction:column;gap:8px}.personalization-state-v221{align-self:flex-start}.personal-grid-v221{grid-template-columns:1fr}.personal-grid-v221>.setting-row{border-right:0!important;border-bottom:1px solid var(--border)!important}.personal-grid-v221>.setting-row:last-child{border-bottom:0!important}.personal-card-v221>.setting-row,.personal-grid-v221>.setting-row{align-items:flex-start!important;gap:10px!important;min-height:0!important;padding:13px 14px!important}.personalization-panel-v221 .settings-compact,.personalization-panel-v221 .language-picker-v218,.personalization-panel-v221 .font-picker-v215{width:100%!important;max-width:none!important}.personalization-panel-v221 .setting-row>div:first-child{width:100%!important}.personal-more-v221>summary{padding:14px}.personal-more-body-v221{padding:0 8px 8px}}
\n\n/* ==========================================================================\n   SenvoAI V0.22.2 — Apex Intelligence + Performance Lab 3\n   Real browser measurements, separated benchmark phases and calmer data-dense UI.\n   ========================================================================== */\n.performance-lab-v222{--perf222-line:var(--border);--perf222-soft:color-mix(in srgb,var(--accent) 6%,var(--surface));padding-bottom:28px!important}\n.perf-heading-v222{align-items:flex-start!important}.performance-lab-v222 .settings-panel-heading p{max-width:720px!important}\n.performance-hero-v222{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:14px 0;padding:20px;border:1px solid color-mix(in srgb,var(--accent) 22%,var(--border));border-radius:22px;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 11%,var(--surface)),color-mix(in srgb,#33c6d8 7%,var(--surface)) 62%,var(--surface));box-shadow:0 12px 34px rgba(28,42,72,.07)}\n.perf-hero-copy-v222{display:grid;gap:4px;min-width:0}.perf-hero-copy-v222>span{font-size:10px;font-weight:820;letter-spacing:.09em;text-transform:uppercase;color:var(--text-soft)}.perf-hero-copy-v222>strong{font-size:clamp(25px,4vw,38px);line-height:1;letter-spacing:-.045em;color:var(--text)}.perf-hero-copy-v222>small{font-size:10.5px;color:var(--text-soft)}\n.perf-hero-actions-v222{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}.perf-hero-actions-v222 select{min-width:155px!important}.perf-hero-actions-v222 button{min-height:46px!important;white-space:nowrap}\n.performance-control-card-v222{margin:0 0 14px!important;min-height:86px!important;border-radius:20px!important;padding:16px 18px!important}.performance-control-card-v222 select{min-width:220px!important}\n.perf-section-v222{margin:14px 0;border:1px solid var(--perf222-line);border-radius:21px;background:var(--surface);overflow:hidden;box-shadow:0 6px 24px rgba(26,38,62,.035)}\n.perf-section-title-v222{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px;border-bottom:1px solid var(--perf222-line);background:color-mix(in srgb,var(--surface-2) 54%,var(--surface))}.perf-section-title-v222>div{display:flex;align-items:center;gap:10px;min-width:0}.perf-section-title-v222>div>span{display:grid;place-items:center;width:29px;height:29px;flex:0 0 29px;border-radius:10px;background:color-mix(in srgb,var(--accent) 11%,var(--surface));color:var(--accent);font-size:9px;font-weight:850}.perf-section-title-v222>div>div{display:grid;gap:2px}.perf-section-title-v222 strong{font-size:13px}.perf-section-title-v222 small{font-size:10px;line-height:1.4;color:var(--text-soft)}.perf-section-title-v222>span{font-size:11px;font-weight:820;color:var(--accent);font-variant-numeric:tabular-nums}\n.performance-grid-v222{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.performance-grid-v222 article{min-height:105px;padding:15px 16px;border-right:1px solid var(--perf222-line);border-bottom:1px solid var(--perf222-line);display:flex;flex-direction:column;gap:5px;justify-content:center;min-width:0}.performance-grid-v222 article:nth-child(4n){border-right:0}.performance-grid-v222 article:nth-last-child(-n+4){border-bottom:0}.performance-grid-v222 article>span{font-size:9.5px;font-weight:790;letter-spacing:.035em;text-transform:uppercase;color:var(--text-soft)}.performance-grid-v222 article>strong{font-size:17px;line-height:1.1;color:var(--text);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.performance-grid-v222 article>small{font-size:9.5px;line-height:1.35;color:var(--text-soft)}\n.perf-display-grid-v222{grid-template-columns:repeat(3,minmax(0,1fr))}.perf-display-grid-v222 article:nth-child(3n){border-right:0}.perf-display-grid-v222 article:nth-child(4n){border-right:1px solid var(--perf222-line)}.perf-display-grid-v222 article:nth-last-child(-n+3){border-bottom:0}\n.performance-meter-v222{height:8px!important;border-radius:999px!important;overflow:hidden;background:color-mix(in srgb,var(--accent) 8%,var(--surface-2))!important;border:1px solid var(--border)!important;margin:15px 2px 10px!important}.performance-meter-v222 i{background:linear-gradient(90deg,#4fc7d6,var(--accent),#8d68ff)!important;transition:width .35s ease!important}\n.performance-advice-v222{display:flex;align-items:flex-start;gap:9px;padding:14px 16px;border-radius:17px;border:1px solid var(--border);background:color-mix(in srgb,var(--accent) 5%,var(--surface));margin-bottom:13px}.performance-advice-v222 strong{font-size:12px;white-space:nowrap}.performance-advice-v222 span{font-size:10.5px;line-height:1.5;color:var(--text-soft)}\n.performance-stage-v222{min-height:235px!important;height:235px!important;border-radius:21px!important;background:var(--surface)!important;border-color:var(--border)!important}.performance-stage-v222 canvas{height:235px!important}.performance-stage-v222 .performance-live-overlay-v217{background:color-mix(in srgb,var(--surface) 86%,transparent)!important;border-color:var(--border)!important;color:var(--text)!important}\n.performance-live-v222{min-height:58px!important;border-radius:16px!important;border:1px solid var(--border)!important;background:var(--surface)!important;padding:12px 14px!important;margin-top:10px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important}.performance-live-v222 b{font-size:12px}.performance-live-v222 span{font-size:10.5px!important;color:var(--text-soft)!important;text-align:right}\n.perf-footer-actions-v222{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0}.perf-footer-actions-v222>span{font-size:10px;color:var(--text-soft)}.perf-footer-actions-v222 button{min-height:38px!important}\n.performance-method-v222{margin-top:12px!important;line-height:1.55!important}.performance-method-v222 strong{min-width:116px}\nbody[data-theme="dark"] .performance-hero-v222{box-shadow:none}.senvo-spectrum-v220 .performance-lab-v222 .perf-section-v222,.senvo-spectrum-v220 .performance-lab-v222 .performance-control-card-v222,.senvo-spectrum-v220 .performance-lab-v222 .performance-live-v222,.senvo-spectrum-v220 .performance-lab-v222 .performance-stage-v222{background:var(--v220-card)!important;border-color:var(--v220-line)!important}.senvo-spectrum-v220 .performance-lab-v222 .perf-section-title-v222{background:color-mix(in srgb,var(--v220-soft) 58%,var(--v220-card))!important;border-color:var(--v220-line)!important}.senvo-spectrum-v220 .performance-lab-v222 .performance-grid-v222 article{border-color:var(--v220-line)!important}\n@media(max-width:980px){.performance-grid-v222{grid-template-columns:repeat(2,minmax(0,1fr))}.performance-grid-v222 article:nth-child(odd){border-right:1px solid var(--perf222-line)}.performance-grid-v222 article:nth-child(even){border-right:0}.performance-grid-v222 article:nth-last-child(-n+4){border-bottom:1px solid var(--perf222-line)}.performance-grid-v222 article:nth-last-child(-n+2){border-bottom:0}.perf-display-grid-v222{grid-template-columns:repeat(2,minmax(0,1fr))}.perf-display-grid-v222 article:nth-child(3n){border-right:1px solid var(--perf222-line)}.perf-display-grid-v222 article:nth-child(even){border-right:0}.perf-display-grid-v222 article:nth-last-child(-n+3){border-bottom:1px solid var(--perf222-line)}.perf-display-grid-v222 article:nth-last-child(-n+2){border-bottom:0}}\n@media(max-width:700px){.performance-hero-v222{align-items:flex-start;flex-direction:column;padding:16px}.perf-hero-actions-v222{width:100%;display:grid;grid-template-columns:1fr 1fr}.perf-hero-actions-v222 select,.perf-hero-actions-v222 button{width:100%!important;min-width:0!important}.performance-control-card-v222{align-items:flex-start!important;flex-direction:column!important}.performance-control-card-v222 select{width:100%!important;min-width:0!important}.performance-grid-v222,.perf-display-grid-v222{grid-template-columns:1fr 1fr}.performance-grid-v222 article{min-height:96px;padding:13px}.performance-stage-v222,.performance-stage-v222 canvas{height:205px!important;min-height:205px!important}.performance-live-v222{align-items:flex-start!important;flex-direction:column!important}.performance-live-v222 span{text-align:left!important}.performance-advice-v222{flex-direction:column}.performance-advice-v222 strong{white-space:normal}.perf-footer-actions-v222{align-items:flex-start;flex-direction:column}}\n@media(max-width:430px){.performance-grid-v222,.perf-display-grid-v222{grid-template-columns:1fr}.performance-grid-v222 article{border-right:0!important;border-bottom:1px solid var(--perf222-line)!important}.performance-grid-v222 article:last-child{border-bottom:0!important}.perf-hero-actions-v222{grid-template-columns:1fr}.perf-section-title-v222{align-items:flex-start}.perf-section-title-v222>span{padding-top:6px}.performance-method-v222{flex-direction:column}}\n
/* ========================================================================== */
/* SenvoAI V0.22.3 — Control Atlas                                            */
/* A SenvoAI-specific settings system: horizontal control map + module canvas. */
/* ========================================================================== */
#settingsModal{
  --atlas-backdrop:rgba(15,24,39,.34);
  --atlas-shell:#f5f7fb;
  --atlas-panel:#ffffff;
  --atlas-panel-2:#eef3f8;
  --atlas-panel-3:#e8eef6;
  --atlas-text:#172033;
  --atlas-muted:#67748a;
  --atlas-faint:#8c98aa;
  --atlas-line:#d7e0ea;
  --atlas-line-strong:#c6d2df;
  --atlas-shadow:0 28px 90px rgba(35,48,73,.18);
  --atlas-glow:color-mix(in srgb,var(--accent) 18%,transparent);
  background:var(--atlas-backdrop)!important;
  backdrop-filter:blur(14px) saturate(110%);
}
body[data-theme="dark"] #settingsModal{
  --atlas-backdrop:rgba(2,6,12,.74);
  --atlas-shell:#0b111a;
  --atlas-panel:#111a26;
  --atlas-panel-2:#151f2d;
  --atlas-panel-3:#1a2636;
  --atlas-text:#f1f5fa;
  --atlas-muted:#a1aec1;
  --atlas-faint:#77859a;
  --atlas-line:#273445;
  --atlas-line-strong:#35465d;
  --atlas-shadow:0 34px 100px rgba(0,0,0,.42);
  --atlas-glow:color-mix(in srgb,var(--accent) 24%,transparent);
}
#settingsModal .settings-center-v10{
  width:min(1460px,calc(100vw - 24px))!important;
  height:min(960px,calc(100dvh - 24px))!important;
  max-width:none!important;
  max-height:none!important;
  padding:0!important;
  margin:auto!important;
  display:grid!important;
  grid-template-rows:auto auto minmax(0,1fr)!important;
  grid-template-columns:1fr!important;
  overflow:hidden!important;
  border:1px solid var(--atlas-line)!important;
  border-radius:30px!important;
  background:var(--atlas-shell)!important;
  color:var(--atlas-text)!important;
  box-shadow:var(--atlas-shadow)!important;
}
#settingsModal .settings-x{
  position:absolute!important;top:20px!important;right:20px!important;z-index:40!important;
  width:42px!important;height:42px!important;border-radius:15px!important;
  border:1px solid var(--atlas-line)!important;background:var(--atlas-panel)!important;
  color:var(--atlas-text)!important;box-shadow:0 8px 20px rgba(20,30,50,.08)!important;
  font-size:24px!important;line-height:1!important;display:grid!important;place-items:center!important;
}
#settingsModal .settings-x:hover{transform:translateY(-1px);border-color:var(--atlas-line-strong)!important;background:var(--atlas-panel-2)!important}
.settings-atlas-header-v223{
  min-height:108px;padding:22px 82px 20px 28px;display:flex;align-items:center;justify-content:space-between;gap:22px;
  border-bottom:1px solid var(--atlas-line);background:
    radial-gradient(circle at 4% 10%,var(--atlas-glow),transparent 22rem),
    linear-gradient(180deg,color-mix(in srgb,var(--atlas-panel) 86%,transparent),var(--atlas-shell));
}
.settings-atlas-brand-v223{display:flex;align-items:center;gap:16px;min-width:0}.settings-atlas-brand-v223>div{display:grid;gap:2px;min-width:0}
.settings-atlas-brand-v223>div>span{font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:850;color:var(--atlas-muted)}
.settings-atlas-brand-v223>div>strong{font-size:25px;line-height:1.05;letter-spacing:-.035em;color:var(--atlas-text)}
.settings-atlas-brand-v223>div>small{font-size:11px;color:var(--atlas-muted);line-height:1.45;margin-top:2px}
.settings-atlas-mark-v223{position:relative;isolation:isolate;width:54px;height:54px;flex:0 0 54px;border-radius:19px;display:grid;place-items:center;background:var(--atlas-panel);border:1px solid color-mix(in srgb,var(--accent) 30%,var(--atlas-line));box-shadow:0 13px 34px var(--atlas-glow)}
.settings-atlas-mark-v223:before,.settings-atlas-mark-v223:after,.settings-atlas-mark-v223 i{content:"";position:absolute;inset:8px;border-radius:13px;border:1px solid color-mix(in srgb,var(--accent) 36%,transparent);transform:rotate(14deg);z-index:-1}.settings-atlas-mark-v223:after{inset:14px;transform:rotate(-18deg);border-color:color-mix(in srgb,#3dc8d8 44%,transparent)}.settings-atlas-mark-v223 b{font-size:14px;font-weight:900;color:var(--accent)}
.settings-atlas-meta-v223{display:flex;align-items:center;gap:9px;margin-right:8px;white-space:nowrap}.settings-atlas-meta-v223 span,.settings-atlas-meta-v223 b{height:31px;padding:0 11px;border-radius:999px;display:flex;align-items:center;border:1px solid var(--atlas-line);background:var(--atlas-panel);font-size:10px;color:var(--atlas-muted)}.settings-atlas-meta-v223 b{color:var(--atlas-text);font-weight:800}
#settingsModal .settings-mobile-toolbar-v217{display:none!important}
#settingsModal .settings-sidebar-v10{
  position:relative!important;inset:auto!important;width:auto!important;height:auto!important;min-height:88px!important;max-height:88px!important;
  padding:12px 18px!important;display:flex!important;align-items:stretch!important;gap:8px!important;overflow-x:auto!important;overflow-y:hidden!important;
  border:0!important;border-bottom:1px solid var(--atlas-line)!important;background:color-mix(in srgb,var(--atlas-shell) 94%,var(--atlas-panel))!important;
  scrollbar-width:thin;scrollbar-color:var(--atlas-line-strong) transparent;
}
#settingsModal .settings-search{position:sticky!important;left:0;z-index:3;flex:0 0 242px!important;min-width:242px!important;height:62px!important;margin:0 5px 0 0!important;border:1px solid var(--atlas-line)!important;border-radius:18px!important;background:var(--atlas-panel)!important;box-shadow:9px 0 18px color-mix(in srgb,var(--atlas-shell) 82%,transparent)!important;display:flex!important;align-items:center!important;padding:0 14px!important;gap:9px!important}
#settingsModal .settings-search span{font-size:18px!important;color:var(--atlas-muted)!important}#settingsModal .settings-search input{width:100%!important;border:0!important;outline:0!important;background:transparent!important;color:var(--atlas-text)!important;font-size:13px!important}
#settingsModal .settings-nav{
  position:relative!important;flex:0 0 auto!important;min-width:142px!important;max-width:178px!important;height:62px!important;margin:0!important;padding:9px 12px!important;
  display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;align-items:center!important;gap:9px!important;text-align:left!important;
  border:1px solid transparent!important;border-radius:18px!important;background:transparent!important;color:var(--atlas-muted)!important;box-shadow:none!important;overflow:hidden!important;
  transition:background .16s ease,border-color .16s ease,transform .16s ease,color .16s ease!important;
}
#settingsModal .settings-nav:hover{background:var(--atlas-panel)!important;border-color:var(--atlas-line)!important;color:var(--atlas-text)!important;transform:translateY(-1px)}
#settingsModal .settings-nav.active{background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 12%,var(--atlas-panel)),var(--atlas-panel))!important;border-color:color-mix(in srgb,var(--accent) 30%,var(--atlas-line))!important;color:var(--atlas-text)!important;box-shadow:0 8px 22px var(--atlas-glow)!important}
#settingsModal .settings-line-icon{width:30px!important;height:30px!important;min-width:30px!important;border-radius:10px!important;display:grid!important;place-items:center!important;background:var(--atlas-panel-2)!important;border:1px solid var(--atlas-line)!important;color:var(--atlas-muted)!important;font-size:9px!important;font-weight:900!important;letter-spacing:.05em!important}
#settingsModal .settings-nav.active .settings-line-icon{background:color-mix(in srgb,var(--accent) 15%,var(--atlas-panel))!important;border-color:color-mix(in srgb,var(--accent) 28%,var(--atlas-line))!important;color:var(--accent)!important}
.settings-nav-copy-v223{min-width:0;display:grid;gap:2px;font-size:11.5px;font-weight:800;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.settings-nav-copy-v223 small{font-size:8px;text-transform:uppercase;letter-spacing:.08em;font-weight:760;color:var(--atlas-faint)}
#settingsModal .settings-content-v10{
  position:relative!important;inset:auto!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;
  overflow:auto!important;padding:28px 34px 110px!important;background:
    radial-gradient(circle at 92% 0%,color-mix(in srgb,var(--accent) 6%,transparent),transparent 28rem),var(--atlas-shell)!important;
  scrollbar-width:thin;scrollbar-color:var(--atlas-line-strong) transparent;
}
#settingsModal .settings-panel-v10{max-width:1140px!important;margin:0 auto!important;padding:0!important;color:var(--atlas-text)!important}
#settingsModal .settings-panel-v10.active{display:block!important}
#settingsModal .settings-panel-heading{
  position:relative;min-height:118px;margin:0 0 18px!important;padding:22px 24px!important;border:1px solid var(--atlas-line)!important;border-radius:26px!important;
  display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:20px!important;overflow:hidden!important;
  background:linear-gradient(145deg,var(--atlas-panel),color-mix(in srgb,var(--accent) 5%,var(--atlas-panel-2)))!important;box-shadow:0 8px 28px rgba(24,36,58,.055)!important;
}
#settingsModal .settings-panel-heading:after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;right:-60px;top:-95px;border:1px solid color-mix(in srgb,var(--accent) 25%,transparent);box-shadow:0 0 0 22px color-mix(in srgb,var(--accent) 4%,transparent),0 0 0 48px color-mix(in srgb,var(--accent) 3%,transparent);pointer-events:none}
#settingsModal .settings-panel-heading>div{position:relative;z-index:1;display:grid;gap:5px;max-width:780px}#settingsModal .settings-eyebrow{font-size:9px!important;letter-spacing:.13em!important;text-transform:uppercase!important;font-weight:850!important;color:var(--accent)!important}#settingsModal .settings-panel-heading h2{margin:0!important;font-size:clamp(27px,3.1vw,38px)!important;line-height:1!important;letter-spacing:-.045em!important;color:var(--atlas-text)!important}#settingsModal .settings-panel-heading p{margin:0!important;font-size:12px!important;line-height:1.55!important;color:var(--atlas-muted)!important;max-width:760px!important}
#settingsModal .setting-row,#settingsModal .settings-subsection,#settingsModal .settings-group-v124,#settingsModal .settings-info-card,#settingsModal .region-summary-card,#settingsModal .region-currency-card,#settingsModal .billing-plan-card-v209,#settingsModal .voice-picker-card-v209,#settingsModal .account-detail-grid-v209,#settingsModal .personal-card-v221,#settingsModal .personalization-intro-v221,#settingsModal .settings-action-tile-v223{
  border:1px solid var(--atlas-line)!important;border-radius:22px!important;background:var(--atlas-panel)!important;color:var(--atlas-text)!important;box-shadow:0 5px 20px rgba(23,34,55,.035)!important;
}
#settingsModal .setting-row{min-height:82px!important;margin:10px 0!important;padding:16px 18px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;border-bottom:1px solid var(--atlas-line)!important}
#settingsModal .setting-row>div:first-child{min-width:0!important;max-width:760px!important;display:grid!important;gap:4px!important}#settingsModal .setting-row strong{font-size:13px!important;line-height:1.3!important;color:var(--atlas-text)!important}#settingsModal .setting-row span,#settingsModal .setting-row small{font-size:10.5px!important;line-height:1.5!important;color:var(--atlas-muted)!important}
#settingsModal .settings-subsection,#settingsModal .settings-group-v124{margin:12px 0!important;padding:18px!important}#settingsModal .settings-subsection>h3,#settingsModal .settings-group-title strong{margin:0 0 4px!important;font-size:13px!important;color:var(--atlas-text)!important}#settingsModal .settings-subsection>p,#settingsModal .settings-group-title span{font-size:10.5px!important;color:var(--atlas-muted)!important;line-height:1.5!important}
#settingsModal .settings-subsection .setting-row,#settingsModal .settings-group-v124 .setting-row{box-shadow:none!important;background:var(--atlas-panel-2)!important;border-color:var(--atlas-line)!important}
#settingsModal .settings-info-card{margin:0 0 12px!important;padding:16px 18px!important}.settings-action-tile-v223{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px!important}.settings-action-tile-v223>div{display:grid;gap:4px}.settings-action-tile-v223 strong{font-size:15px}.settings-action-tile-v223 span{font-size:11px;line-height:1.5;color:var(--atlas-muted)}
#settingsModal .settings-input,#settingsModal .settings-compact,#settingsModal select,#settingsModal input[type="text"],#settingsModal input[type="search"],#settingsModal input[type="email"],#settingsModal input[type="password"],#settingsModal textarea{
  color:var(--atlas-text)!important;background:var(--atlas-panel-2)!important;border-color:var(--atlas-line)!important;box-shadow:none!important
}
#settingsModal .settings-input:focus,#settingsModal .settings-compact:focus,#settingsModal select:focus,#settingsModal input:focus,#settingsModal textarea:focus{outline:0!important;border-color:color-mix(in srgb,var(--accent) 55%,var(--atlas-line))!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 10%,transparent)!important}
#settingsModal .settings-compact{min-height:44px!important;min-width:176px!important;border-radius:14px!important;padding:0 38px 0 13px!important}#settingsModal .settings-input{min-height:46px!important;border-radius:14px!important}
#settingsModal .accent-grid.compact{gap:8px!important}.settings-center-v10 .accent-swatch{min-height:44px!important;border-radius:14px!important;background:var(--atlas-panel-2)!important;border-color:var(--atlas-line)!important;color:var(--atlas-text)!important}.settings-center-v10 .accent-swatch[aria-checked="true"],.settings-center-v10 .accent-swatch.active{border-color:color-mix(in srgb,var(--accent) 62%,var(--atlas-line))!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 10%,transparent)!important}
#settingsModal .settings-chevron-row{min-height:64px!important;margin:9px 0!important;padding:0 16px!important;border:1px solid var(--atlas-line)!important;border-radius:18px!important;background:var(--atlas-panel)!important;color:var(--atlas-text)!important}
#settingsModal .personalization-intro-v221{padding:16px 18px!important;margin-bottom:12px!important}.personal-card-v221{overflow:hidden!important;margin:12px 0!important}.personal-card-head-v221{background:var(--atlas-panel-2)!important;border-bottom:1px solid var(--atlas-line)!important;padding:14px 16px!important}.personal-card-v221 .setting-row{margin:8px!important}.personal-more-v221{border:1px solid var(--atlas-line)!important;border-radius:22px!important;background:var(--atlas-panel)!important;overflow:hidden!important}.personal-more-v221>summary{background:var(--atlas-panel)!important;color:var(--atlas-text)!important}.personal-more-body-v221{background:var(--atlas-shell)!important}
#settingsModal .region-field{display:grid!important;gap:8px!important;margin:11px 0!important;padding:17px 18px!important;border:1px solid var(--atlas-line)!important;border-radius:22px!important;background:var(--atlas-panel)!important;color:var(--atlas-text)!important}#settingsModal .region-field>span{font-size:12px!important;font-weight:800!important}#settingsModal .region-field small{font-size:10px!important;color:var(--atlas-muted)!important;line-height:1.5!important}
#settingsModal .shortcut-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}#settingsModal .shortcut-list>div{min-height:64px!important;padding:12px 14px!important;border:1px solid var(--atlas-line)!important;border-radius:18px!important;background:var(--atlas-panel)!important;color:var(--atlas-text)!important}#settingsModal kbd{background:var(--atlas-panel-2)!important;color:var(--atlas-text)!important;border-color:var(--atlas-line)!important;box-shadow:none!important}
#settingsModal .settings-save-bar{position:absolute!important;left:50%!important;bottom:18px!important;transform:translateX(-50%)!important;z-index:30!important;width:min(760px,calc(100% - 42px))!important;min-height:66px!important;padding:9px 10px 9px 16px!important;border:1px solid var(--atlas-line-strong)!important;border-radius:22px!important;background:color-mix(in srgb,var(--atlas-panel) 91%,transparent)!important;backdrop-filter:blur(18px)!important;box-shadow:0 18px 48px rgba(13,22,38,.18)!important;display:flex!important;align-items:center!important;gap:10px!important}
#settingsModal .settings-unsaved-hint{margin-right:auto!important;display:flex!important;align-items:center!important;gap:8px!important;font-size:10px!important;color:var(--atlas-muted)!important}.settings-unsaved-hint i{width:8px;height:8px;border-radius:50%;background:var(--atlas-faint)}#settingsModal.settings-dirty .settings-unsaved-hint i,.settings-center-v10.is-dirty .settings-unsaved-hint i{background:var(--accent);box-shadow:0 0 0 5px var(--atlas-glow)}
#settingsModal .settings-save-bar button{min-height:46px!important;border-radius:15px!important;padding-inline:16px!important}.settings-save-primary-v124{background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 90%,#fff 10%),var(--accent))!important;box-shadow:0 10px 24px var(--atlas-glow)!important}
#settingsModal .secondary-button{background:var(--atlas-panel-2)!important;color:var(--atlas-text)!important;border-color:var(--atlas-line)!important}#settingsModal .primary-button{border-color:transparent!important}
body[data-theme="dark"] #settingsModal .settings-panel-heading,body[data-theme="dark"] #settingsModal .setting-row,body[data-theme="dark"] #settingsModal .settings-subsection,body[data-theme="dark"] #settingsModal .settings-group-v124{box-shadow:none!important}
body[data-theme="dark"] #settingsModal .settings-nav.active{box-shadow:0 10px 26px rgba(0,0,0,.24),0 0 28px var(--atlas-glow)!important}

@media(max-width:900px){
  #settingsModal .settings-center-v10{width:calc(100vw - 12px)!important;height:calc(100dvh - 12px)!important;border-radius:24px!important;grid-template-rows:auto auto minmax(0,1fr)!important}
  .settings-atlas-header-v223{min-height:86px;padding:16px 66px 14px 17px}.settings-atlas-brand-v223>div>strong{font-size:21px}.settings-atlas-brand-v223>div>small{display:none}.settings-atlas-mark-v223{width:46px;height:46px;flex-basis:46px;border-radius:16px}.settings-atlas-meta-v223{display:none}
  #settingsModal .settings-x{top:16px!important;right:15px!important;width:38px!important;height:38px!important}
  #settingsModal .settings-sidebar-v10{display:none!important}
  #settingsModal .settings-mobile-toolbar-v217{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(170px,240px)!important;align-items:center!important;gap:12px!important;padding:10px 14px!important;min-height:70px!important;border-bottom:1px solid var(--atlas-line)!important;background:var(--atlas-panel)!important;color:var(--atlas-text)!important}
  #settingsModal .settings-mobile-toolbar-v217>div{display:grid!important;gap:2px!important}#settingsModal .settings-mobile-toolbar-v217>div span{font-size:9px!important;letter-spacing:.1em!important;text-transform:uppercase!important;color:var(--atlas-muted)!important}#settingsModal .settings-mobile-toolbar-v217>div strong{font-size:15px!important;color:var(--atlas-text)!important}
  #settingsModal .settings-mobile-toolbar-v217 select{width:100%!important;min-height:44px!important;border:1px solid var(--atlas-line)!important;border-radius:14px!important;background:var(--atlas-panel-2)!important;color:var(--atlas-text)!important;padding:0 12px!important}
  #settingsModal .settings-content-v10{padding:18px 18px 106px!important}
  #settingsModal .settings-panel-heading{min-height:104px!important;padding:19px 20px!important;border-radius:22px!important}#settingsModal .settings-panel-heading h2{font-size:29px!important}
  #settingsModal .shortcut-list{grid-template-columns:1fr!important}
}
@media(max-width:620px){
  #settingsModal{backdrop-filter:none}
  #settingsModal .settings-center-v10{width:100vw!important;height:100dvh!important;border:0!important;border-radius:0!important}
  .settings-atlas-header-v223{min-height:74px;padding:11px 58px 10px 12px}.settings-atlas-mark-v223{width:42px;height:42px;flex-basis:42px;border-radius:14px}.settings-atlas-brand-v223{gap:11px}.settings-atlas-brand-v223>div>span{font-size:8px}.settings-atlas-brand-v223>div>strong{font-size:18px}.settings-atlas-meta-v223{display:none}
  #settingsModal .settings-x{top:14px!important;right:11px!important;width:36px!important;height:36px!important;border-radius:13px!important}
  #settingsModal .settings-mobile-toolbar-v217{grid-template-columns:1fr!important;gap:7px!important;padding:9px 11px 10px!important;min-height:88px!important}#settingsModal .settings-mobile-toolbar-v217>div{display:none!important}
  #settingsModal .settings-content-v10{padding:13px 11px 112px!important}
  #settingsModal .settings-panel-heading{min-height:0!important;padding:17px!important;margin-bottom:11px!important;border-radius:20px!important;align-items:flex-start!important}#settingsModal .settings-panel-heading:after{width:130px;height:130px;right:-68px;top:-70px}#settingsModal .settings-panel-heading h2{font-size:27px!important}#settingsModal .settings-panel-heading p{font-size:10.5px!important}
  #settingsModal .setting-row{min-height:0!important;padding:14px!important;margin:8px 0!important;border-radius:18px!important;align-items:flex-start!important;flex-direction:column!important;gap:10px!important}
  #settingsModal .setting-row>div:first-child{max-width:none!important;width:100%!important}
  #settingsModal .settings-compact,#settingsModal .setting-row>.settings-compact,#settingsModal .setting-row>select,#settingsModal .setting-row>.language-picker-v218,#settingsModal .setting-row>.font-picker-v215,#settingsModal .setting-row>.timezone-picker-v215{width:100%!important;max-width:none!important;min-width:0!important}
  #settingsModal .setting-row .switch-v10{align-self:flex-start!important}
  #settingsModal .settings-subsection,#settingsModal .settings-group-v124{padding:13px!important;border-radius:19px!important}
  #settingsModal .settings-save-bar{bottom:max(9px,env(safe-area-inset-bottom))!important;width:calc(100% - 18px)!important;min-height:62px!important;padding:8px!important;border-radius:18px!important}.settings-unsaved-hint{display:none!important}#settingsModal .settings-save-bar button{flex:1!important;min-width:0!important;padding-inline:9px!important;font-size:11px!important}
  #settingsModal .settings-action-tile-v223{align-items:flex-start;flex-direction:column;padding:17px!important}.settings-action-tile-v223 button{width:100%!important}
  #settingsModal .accent-grid.compact{grid-template-columns:1fr 1fr!important}
  #settingsModal .region-field{padding:14px!important;border-radius:18px!important}
}


/* ========================================================================== */
/* SenvoAI V0.22.4 — Mobile Canvas Recovery                                   */
/* Final phone/tablet contract. This intentionally comes LAST so older Orbit, */
/* Spectrum and legacy sidebar rules cannot reserve desktop width on phones.   */
/* ========================================================================== */
@media (max-width:760px){
  html,body{
    width:100%!important;max-width:100%!important;height:100%!important;
    margin:0!important;overflow:hidden!important;overscroll-behavior:none!important;
  }
  body.senvora-app-body.senvo-orbit-v219.senvo-spectrum-v220 .app-shell{
    position:relative!important;display:block!important;inset:auto!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    height:var(--app-height,100dvh)!important;max-height:var(--app-height,100dvh)!important;
    padding:0!important;margin:0!important;gap:0!important;overflow:hidden!important;
  }
  body.senvora-app-body.senvo-orbit-v219.senvo-spectrum-v220 .sidebar{
    position:fixed!important;inset:0 auto 0 0!important;
    width:min(86vw,320px)!important;min-width:0!important;max-width:320px!important;
    height:var(--app-height,100dvh)!important;max-height:var(--app-height,100dvh)!important;
    flex:0 0 auto!important;margin:0!important;
    transform:translate3d(-105%,0,0)!important;
    border-radius:0 24px 24px 0!important;z-index:70!important;
    overflow:hidden!important;visibility:visible!important;
    transition:transform .22s cubic-bezier(.22,.72,.26,1)!important;
    will-change:transform!important;
  }
  body.senvora-app-body.senvo-orbit-v219.senvo-spectrum-v220 .app-shell.mobile-sidebar-open .sidebar,
  body.senvora-app-body.senvo-orbit-v219.senvo-spectrum-v220.mobile-sidebar-open .sidebar{
    transform:translate3d(0,0,0)!important;
  }
  body.senvora-app-body.senvo-orbit-v219.senvo-spectrum-v220 .main-panel{
    position:absolute!important;inset:0!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    height:var(--app-height,100dvh)!important;max-height:var(--app-height,100dvh)!important;
    flex:none!important;margin:0!important;padding:0!important;
    border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important;
    transform:none!important;
  }
  body.senvora-app-body.senvo-orbit-v219.senvo-spectrum-v220 .topbar{
    position:relative!important;width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;box-sizing:border-box!important;
    min-height:calc(58px + env(safe-area-inset-top))!important;height:auto!important;
    padding:calc(7px + env(safe-area-inset-top)) 10px 7px!important;
    display:flex!important;align-items:center!important;gap:7px!important;
    overflow:visible!important;
  }
  body.senvora-app-body .topbar-left{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important;flex:1 1 auto!important}
  body.senvora-app-body .mobile-sidebar-button{display:inline-flex!important;flex:0 0 40px!important;width:40px!important;min-width:40px!important;height:40px!important;padding:0!important;justify-content:center!important}
  body.senvora-app-body .mobile-sidebar-button span{display:none!important}
  body.senvora-app-body .topbar-title-wrap{min-width:0!important;max-width:100%!important;overflow:hidden!important}
  body.senvora-app-body .topbar-title{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;padding-left:0!important}
  body.senvora-app-body .topbar-subtitle{display:none!important}
  body.senvora-app-body .experience-switch{flex:0 0 auto!important;margin-left:auto!important;min-width:0!important}
  body.senvora-app-body .experience-mode-button{min-width:0!important;max-width:124px!important;height:40px!important;padding:0 10px!important;gap:6px!important}
  body.senvora-app-body .provider-badge-v160{display:none!important}
  body.senvora-app-body .desktop-workspace-actions{display:none!important}
  body.senvora-app-body .topbar-actions{flex:0 0 auto!important;min-width:0!important;gap:4px!important}
  body.senvora-app-body .topbar-icon-action,body.senvora-app-body .top-account-button{width:38px!important;min-width:38px!important;height:38px!important;flex:0 0 38px!important}
  body.senvora-app-body .top-share-chat-button{display:none!important}

  body.senvora-app-body .conversation{
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;padding-left:0!important;padding-right:0!important;
    overflow-x:hidden!important;overscroll-behavior-x:none!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.senvora-app-body .messages,body.senvora-app-body .welcome-view{
    width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
  }
  body.senvora-app-body .messages{margin:0 auto!important;padding-top:10px!important}
  body.senvora-app-body .message-row,
  body.senvora-app-body .message,
  body.senvora-app-body .message-assistant,
  body.senvora-app-body .message-user{
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin-left:0!important;margin-right:0!important;padding-left:12px!important;padding-right:12px!important;
    box-sizing:border-box!important;
  }
  body.senvora-app-body .assistant-body,body.senvora-app-body .message-body,
  body.senvora-app-body .assistant-content,body.senvora-app-body .message-content{
    min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important;word-break:normal!important;
  }
  body.senvora-app-body .message-user .message-body{max-width:88%!important}
  body.senvora-app-body .assistant-message .message-content,
  body.senvora-app-body .message-assistant .message-body{width:auto!important;max-width:100%!important}

  body.senvora-app-body .composer-zone{
    position:absolute!important;left:0!important;right:0!important;bottom:0!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;padding:8px 8px calc(8px + env(safe-area-inset-bottom))!important;
    box-sizing:border-box!important;overflow:visible!important;
  }
  body.senvora-app-body .composer-zone>.composer-card,
  body.senvora-app-body .composer-zone>.generation-status,
  body.senvora-app-body .composer-zone>.attachment-chips,
  body.senvora-app-body .composer-zone>.read-aloud-bar,
  body.senvora-app-body .composer-zone>.composer-note,
  body.senvora-app-body .composer-shell{
    width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important;
  }
  body.senvora-app-body .composer-card{min-height:72px!important;border-radius:20px!important;padding:10px 10px 8px 12px!important}
  body.senvora-app-body #messageInput{width:100%!important;min-width:0!important;max-width:100%!important;font-size:16px!important;line-height:1.42!important}
  body.senvora-app-body .composer-toolbar{width:100%!important;min-width:0!important;gap:6px!important}
  body.senvora-app-body .composer-left-tools,body.senvora-app-body .composer-right-tools{min-width:0!important;gap:5px!important}
  body.senvora-app-body .composer-note{padding:0 10px!important;text-align:center!important;line-height:1.35!important}

  body.senvora-app-body .sidebar-scrim{position:fixed!important;inset:0!important;z-index:65!important}
  body.senvora-app-body:not(.mobile-sidebar-open) .sidebar-scrim,
  body.senvora-app-body .app-shell:not(.mobile-sidebar-open)+.sidebar-scrim{pointer-events:none!important}
}

@media (max-width:430px){
  body.senvora-app-body .topbar{gap:5px!important;padding-left:7px!important;padding-right:7px!important}
  body.senvora-app-body .topbar-title-wrap{display:none!important}
  body.senvora-app-body .experience-mode-button{max-width:108px!important;padding-inline:8px!important}
  body.senvora-app-body .top-chat-menu-button{display:none!important}
  body.senvora-app-body .topbar-actions{gap:3px!important}
  body.senvora-app-body .message-row,body.senvora-app-body .message{padding-left:9px!important;padding-right:9px!important}
  body.senvora-app-body .composer-zone{padding-left:6px!important;padding-right:6px!important}
}

@media (orientation:landscape) and (max-height:520px) and (max-width:900px){
  body.senvora-app-body.senvo-orbit-v219.senvo-spectrum-v220 .topbar{min-height:50px!important;padding-top:max(4px,env(safe-area-inset-top))!important;padding-bottom:4px!important}
  body.senvora-app-body .composer-card{min-height:62px!important}
  body.senvora-app-body #messageInput{max-height:70px!important}
  body.senvora-app-body .composer-note{display:none!important}
}


/* ========================================================================== */
/* SenvoAI V0.22.5 — Control Deck Recovery                                   */
/* Stable opaque settings layout. Desktop uses a grouped Atlas rail + canvas; */
/* tablets/phones use the compact section switcher. This block is LAST so     */
/* legacy horizontal-nav/backdrop rules cannot squeeze or blur the interface. */
/* ========================================================================== */
#settingsModal{
  --deck-backdrop:rgba(10,16,27,.56);
  --deck-shell:#f3f6fa;
  --deck-rail:#eaf0f6;
  --deck-card:#ffffff;
  --deck-soft:#f6f8fb;
  --deck-text:#182235;
  --deck-muted:#65738a;
  --deck-faint:#8794a7;
  --deck-line:#d8e1eb;
  --deck-line-strong:#c7d2df;
  background:var(--deck-backdrop)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body[data-theme="dark"] #settingsModal{
  --deck-backdrop:rgba(2,6,12,.74);
  --deck-shell:#0d141e;
  --deck-rail:#111b28;
  --deck-card:#151f2c;
  --deck-soft:#192534;
  --deck-text:#f2f6fb;
  --deck-muted:#aab6c8;
  --deck-faint:#7f8da2;
  --deck-line:#29374a;
  --deck-line-strong:#3a4b63;
}

@media (min-width:901px){
  #settingsModal .settings-center-v10{
    width:min(1180px,calc(100vw - 44px))!important;
    height:min(820px,calc(100dvh - 38px))!important;
    max-width:1180px!important;max-height:820px!important;
    display:grid!important;
    grid-template-columns:258px minmax(0,1fr)!important;
    grid-template-rows:88px minmax(0,1fr)!important;
    grid-template-areas:"deckhead deckhead" "deckrail deckmain"!important;
    overflow:hidden!important;
    border:1px solid var(--deck-line)!important;
    border-radius:26px!important;
    background:var(--deck-shell)!important;
    color:var(--deck-text)!important;
    box-shadow:0 28px 90px rgba(5,12,25,.26)!important;
  }
  #settingsModal .settings-atlas-header-v223{
    grid-area:deckhead!important;
    min-height:88px!important;height:88px!important;
    padding:14px 70px 14px 20px!important;
    border-bottom:1px solid var(--deck-line)!important;
    background:var(--deck-card)!important;
  }
  #settingsModal .settings-atlas-brand-v223{gap:13px!important}
  #settingsModal .settings-atlas-mark-v223{width:48px!important;height:48px!important;flex-basis:48px!important;border-radius:16px!important;background:var(--deck-soft)!important;border-color:var(--deck-line)!important;box-shadow:none!important}
  #settingsModal .settings-atlas-brand-v223>div>span{color:var(--deck-muted)!important;font-size:9px!important}
  #settingsModal .settings-atlas-brand-v223>div>strong{font-size:24px!important;color:var(--deck-text)!important}
  #settingsModal .settings-atlas-brand-v223>div>small{font-size:10.5px!important;color:var(--deck-muted)!important;white-space:normal!important}
  #settingsModal .settings-atlas-meta-v223 span,#settingsModal .settings-atlas-meta-v223 b{background:var(--deck-soft)!important;border-color:var(--deck-line)!important;color:var(--deck-muted)!important}
  #settingsModal .settings-atlas-meta-v223 b{color:var(--deck-text)!important}
  #settingsModal .settings-mobile-toolbar-v217{display:none!important}
  #settingsModal .settings-sidebar-v10{
    grid-area:deckrail!important;
    position:relative!important;inset:auto!important;
    width:auto!important;height:auto!important;min-height:0!important;max-height:none!important;
    display:block!important;overflow-x:hidden!important;overflow-y:auto!important;
    padding:14px 12px 20px!important;
    border:0!important;border-right:1px solid var(--deck-line)!important;
    background:var(--deck-rail)!important;
    scrollbar-width:thin;scrollbar-color:var(--deck-line-strong) transparent;
  }
  #settingsModal .settings-search{
    position:sticky!important;top:0!important;left:auto!important;z-index:8!important;
    width:100%!important;min-width:0!important;height:44px!important;margin:0 0 12px!important;
    border:1px solid var(--deck-line)!important;border-radius:14px!important;
    background:var(--deck-card)!important;box-shadow:none!important;padding:0 12px!important;
  }
  #settingsModal .settings-search input{font-size:12px!important;color:var(--deck-text)!important}
  #settingsModal .settings-search span{font-size:16px!important;color:var(--deck-muted)!important}
  #settingsModal .settings-zone-label-v225{
    display:block!important;margin:15px 9px 6px!important;
    font-size:8.5px!important;font-weight:900!important;letter-spacing:.14em!important;text-transform:uppercase!important;color:var(--deck-faint)!important;
  }
  #settingsModal .settings-zone-label-v225:first-of-type{margin-top:4px!important}
  #settingsModal .settings-nav{
    width:100%!important;max-width:none!important;min-width:0!important;height:50px!important;min-height:50px!important;
    margin:3px 0!important;padding:7px 9px!important;display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;
    gap:9px!important;border-radius:14px!important;border:1px solid transparent!important;
    background:transparent!important;color:var(--deck-muted)!important;overflow:visible!important;transform:none!important;
  }
  #settingsModal .settings-nav:hover{background:var(--deck-card)!important;border-color:var(--deck-line)!important;color:var(--deck-text)!important;transform:none!important}
  #settingsModal .settings-nav.active{background:var(--deck-card)!important;border-color:color-mix(in srgb,var(--accent) 36%,var(--deck-line))!important;color:var(--deck-text)!important;box-shadow:0 7px 18px rgba(24,38,62,.08)!important}
  #settingsModal .settings-line-icon{width:30px!important;height:30px!important;border-radius:10px!important;background:var(--deck-soft)!important;border-color:var(--deck-line)!important;color:var(--deck-muted)!important}
  #settingsModal .settings-nav.active .settings-line-icon{background:color-mix(in srgb,var(--accent) 12%,var(--deck-soft))!important;color:var(--accent)!important}
  #settingsModal .settings-nav-copy-v223{font-size:11.5px!important;line-height:1.2!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;color:inherit!important}
  #settingsModal .settings-nav-copy-v223 small{margin-top:1px!important;color:var(--deck-faint)!important}
  #settingsModal .settings-content-v10{
    grid-area:deckmain!important;position:relative!important;inset:auto!important;
    width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;
    overflow-x:hidden!important;overflow-y:auto!important;
    padding:20px 24px 104px!important;background:var(--deck-shell)!important;
    scrollbar-width:thin;scrollbar-color:var(--deck-line-strong) transparent;
  }
  #settingsModal .settings-panel-v10{max-width:840px!important;margin:0 auto!important}
  #settingsModal .settings-panel-heading{
    min-height:92px!important;margin:0 0 14px!important;padding:18px 20px!important;border-radius:20px!important;
    align-items:center!important;background:var(--deck-card)!important;border-color:var(--deck-line)!important;box-shadow:none!important;
  }
  #settingsModal .settings-panel-heading:after{width:145px!important;height:145px!important;right:-76px!important;top:-78px!important;opacity:.65!important}
  #settingsModal .settings-panel-heading h2{font-size:30px!important;color:var(--deck-text)!important}
  #settingsModal .settings-panel-heading p{font-size:11px!important;color:var(--deck-muted)!important}
  #settingsModal .setting-row,#settingsModal .settings-subsection,#settingsModal .settings-group-v124,#settingsModal .settings-info-card,#settingsModal .region-summary-card,#settingsModal .region-currency-card,#settingsModal .billing-plan-card-v209,#settingsModal .voice-picker-card-v209,#settingsModal .account-detail-grid-v209,#settingsModal .personal-card-v221,#settingsModal .personalization-intro-v221,#settingsModal .settings-action-tile-v223{
    background:var(--deck-card)!important;border-color:var(--deck-line)!important;color:var(--deck-text)!important;box-shadow:none!important;
  }
  #settingsModal .setting-row{min-height:76px!important;margin:9px 0!important;padding:15px 17px!important;border-radius:18px!important;gap:20px!important}
  #settingsModal .setting-row strong{color:var(--deck-text)!important}
  #settingsModal .setting-row span,#settingsModal .setting-row small{color:var(--deck-muted)!important}
  #settingsModal .settings-save-bar{
    position:absolute!important;left:282px!important;right:24px!important;bottom:16px!important;transform:none!important;
    width:auto!important;min-height:62px!important;padding:8px 10px 8px 14px!important;
    border:1px solid var(--deck-line-strong)!important;border-radius:18px!important;
    background:var(--deck-card)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
    box-shadow:0 14px 34px rgba(15,25,43,.14)!important;
  }
  #settingsModal .settings-unsaved-hint{color:var(--deck-muted)!important}
  #settingsModal .settings-x{top:22px!important;right:20px!important;width:40px!important;height:40px!important;border-radius:13px!important;background:var(--deck-soft)!important;border-color:var(--deck-line)!important;color:var(--deck-text)!important;box-shadow:none!important}
}

@media (max-width:900px){
  #settingsModal{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
  #settingsModal .settings-center-v10{
    background:var(--deck-shell)!important;color:var(--deck-text)!important;
    grid-template-columns:1fr!important;grid-template-rows:auto auto minmax(0,1fr)!important;
    grid-template-areas:none!important;
  }
  #settingsModal .settings-atlas-header-v223{background:var(--deck-card)!important;border-color:var(--deck-line)!important}
  #settingsModal .settings-sidebar-v10{display:none!important}
  #settingsModal .settings-mobile-toolbar-v217{background:var(--deck-card)!important;border-color:var(--deck-line)!important}
  #settingsModal .settings-mobile-toolbar-v217 select{background:var(--deck-soft)!important;border-color:var(--deck-line)!important;color:var(--deck-text)!important}
  #settingsModal .settings-content-v10{background:var(--deck-shell)!important;padding-bottom:104px!important}
  #settingsModal .settings-save-bar{background:var(--deck-card)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-color:var(--deck-line-strong)!important}
  #settingsModal .settings-zone-label-v225{display:none!important}
}

@media (max-width:620px){
  #settingsModal .settings-atlas-header-v223{min-height:68px!important;padding-top:max(10px,env(safe-area-inset-top))!important}
  #settingsModal .settings-atlas-brand-v223>div>strong{font-size:17px!important}
  #settingsModal .settings-content-v10{padding:12px 10px 104px!important}
  #settingsModal .settings-panel-heading{padding:15px!important;border-radius:18px!important}
  #settingsModal .settings-panel-heading h2{font-size:25px!important}
  #settingsModal .settings-save-bar{width:calc(100% - 14px)!important;bottom:max(7px,env(safe-area-inset-bottom))!important;border-radius:16px!important}
}

@media (min-width:901px) and (max-height:680px){
  #settingsModal .settings-center-v10{height:calc(100dvh - 18px)!important;grid-template-rows:76px minmax(0,1fr)!important}
  #settingsModal .settings-atlas-header-v223{height:76px!important;min-height:76px!important;padding-block:10px!important}
  #settingsModal .settings-atlas-brand-v223>div>small{display:none!important}
  #settingsModal .settings-content-v10{padding-top:15px!important}
}

/* V0.22.5 footer containment — settings content owns a scrollable panel and a non-overlapping save row. */
#settingsModal .settings-content-v10{
  display:grid!important;
  grid-template-rows:minmax(0,1fr) auto!important;
  overflow:hidden!important;
}
#settingsModal .settings-panel-v10.active{
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding-right:4px!important;
  padding-bottom:18px!important;
  scrollbar-width:thin;
  scrollbar-color:var(--deck-line-strong) transparent;
}
#settingsModal .settings-save-bar{
  position:static!important;
  left:auto!important;right:auto!important;bottom:auto!important;transform:none!important;
  width:auto!important;min-height:64px!important;margin:0 -24px!important;padding:9px 24px!important;
  border:0!important;border-top:1px solid var(--deck-line-strong)!important;border-radius:0!important;
  background:var(--deck-card)!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
@media(min-width:901px){
  #settingsModal .settings-content-v10{padding:20px 24px 0!important}
}
@media(max-width:900px){
  #settingsModal .settings-content-v10{padding-bottom:0!important}
  #settingsModal .settings-save-bar{margin:0 -18px!important;padding:9px 18px max(9px,env(safe-area-inset-bottom))!important}
}
@media(max-width:620px){
  #settingsModal .settings-content-v10{padding:12px 10px 0!important}
  #settingsModal .settings-save-bar{width:auto!important;margin:0 -10px!important;padding:8px 10px max(8px,env(safe-area-inset-bottom))!important;border-radius:0!important}
}


/* ==========================================================================
   SenvoAI V0.22.6 — Mobile Settings + Adaptive Performance
   Phone settings never place a save control over the active panel. Phones get a
   purpose-built performance view; desktop/laptop retains the full lab.
   ========================================================================== */
.perf-mobile-v226{display:none}
.perf-desktop-v226{display:block;min-width:0}

/* Hard width containment for every settings control. */
#settingsModal,#settingsModal *{box-sizing:border-box}
#settingsModal .settings-center-v10,#settingsModal .settings-content-v10,#settingsModal .settings-panel-v10,#settingsModal .setting-row,#settingsModal .settings-subsection,#settingsModal .settings-group-v124{min-width:0;max-width:100%}
#settingsModal img,#settingsModal canvas,#settingsModal video,#settingsModal svg{max-width:100%}

/* A true phone layout is driven by JS too, so landscape iPhones remain mobile. */
html.senvo-phone-v226,body.senvo-phone-v226{max-width:100dvw!important;overflow-x:hidden!important}
body.senvo-phone-v226 #settingsModal{padding:0!important;overflow:hidden!important;align-items:stretch!important;justify-content:stretch!important}
body.senvo-phone-v226 #settingsModal .settings-center-v10{
  width:100dvw!important;max-width:100dvw!important;height:100dvh!important;max-height:100dvh!important;
  margin:0!important;border:0!important;border-radius:0!important;display:grid!important;
  grid-template-rows:auto auto minmax(0,1fr)!important;overflow:hidden!important;background:var(--deck-shell)!important;
}
body.senvo-phone-v226 #settingsModal .settings-atlas-header-v223{min-width:0!important;padding-left:max(16px,env(safe-area-inset-left))!important;padding-right:max(58px,calc(env(safe-area-inset-right) + 48px))!important}
body.senvo-phone-v226 #settingsModal .settings-atlas-brand-v223{min-width:0!important;max-width:100%!important}
body.senvo-phone-v226 #settingsModal .settings-atlas-brand-v223>div{min-width:0!important}
body.senvo-phone-v226 #settingsModal .settings-atlas-brand-v223 small{white-space:normal!important}
body.senvo-phone-v226 #settingsModal .settings-mobile-toolbar-v217{
  position:sticky!important;top:0!important;z-index:9!important;width:100%!important;min-width:0!important;
  padding:10px max(12px,env(safe-area-inset-right)) 10px max(12px,env(safe-area-inset-left))!important;
}
body.senvo-phone-v226 #settingsModal .settings-mobile-toolbar-v217 select{width:100%!important;max-width:100%!important;min-width:0!important}
body.senvo-phone-v226 #settingsModal .settings-content-v10{
  display:block!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;
  overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;
  padding:12px max(12px,env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))!important;
}
body.senvo-phone-v226 #settingsModal .settings-panel-v10.active{
  display:block!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;
  overflow:visible!important;padding:0!important;margin:0!important;
}
/* Important: save actions are ordinary content on phones, never a floating footer. */
body.senvo-phone-v226 #settingsModal .settings-save-bar{
  position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-width:100%!important;
  min-height:0!important;margin:22px 0 0!important;padding:14px 0 max(14px,env(safe-area-inset-bottom))!important;
  border:0!important;border-top:1px solid var(--deck-line)!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;display:grid!important;grid-template-columns:1fr!important;gap:8px!important;
}
body.senvo-phone-v226 #settingsModal .settings-save-bar .settings-unsaved-hint{display:flex!important;margin:0!important;padding:0 2px!important;font-size:11px!important;color:var(--deck-muted)!important}
body.senvo-phone-v226 #settingsModal .settings-save-bar #resetPersonalizationButton{display:none!important}
body.senvo-phone-v226 #settingsModal .settings-save-bar #saveSettingsButton{width:100%!important;min-height:52px!important;border-radius:16px!important;font-size:14px!important}
body.senvo-phone-v226 #settingsModal .settings-panel-heading{min-height:0!important;margin-bottom:12px!important;padding:16px!important}
body.senvo-phone-v226 #settingsModal .settings-panel-heading h2{font-size:clamp(23px,7vw,30px)!important;overflow-wrap:anywhere!important}
body.senvo-phone-v226 #settingsModal .setting-row{width:100%!important;min-width:0!important;max-width:100%!important;align-items:stretch!important;flex-direction:column!important;gap:10px!important;padding:15px!important}
body.senvo-phone-v226 #settingsModal .setting-row>div:first-child{width:100%!important;max-width:100%!important;min-width:0!important}
body.senvo-phone-v226 #settingsModal .settings-compact,body.senvo-phone-v226 #settingsModal .settings-input,body.senvo-phone-v226 #settingsModal .senvora-select,body.senvo-phone-v226 #settingsModal .senvora-select-button{width:100%!important;min-width:0!important;max-width:100%!important;text-align:left!important}
body.senvo-phone-v226 #settingsModal .settings-subsection,body.senvo-phone-v226 #settingsModal .settings-group-v124{width:100%!important;overflow:hidden!important}

/* Phone Performance Lab — intentionally not the desktop dashboard. */
body.senvo-phone-v226 #settingsModal .performance-lab-v222>.perf-desktop-v226{display:none!important}
body.senvo-phone-v226 #settingsModal .performance-lab-v222>.perf-mobile-v226{display:block!important;width:100%!important;max-width:100%!important;padding-bottom:4px!important}
.perf-mobile-head-v226{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px;padding:16px;border:1px solid var(--deck-line);border-radius:20px;background:var(--deck-card)}
.perf-mobile-head-v226>div{min-width:0}.perf-mobile-head-v226 h2{margin:3px 0 4px;font-size:27px;letter-spacing:-.035em}.perf-mobile-head-v226 p{margin:0;color:var(--deck-muted);font-size:11px;line-height:1.5}.perf-mobile-head-v226 .performance-status-pill-v217{flex:0 0 auto}
.perf-mobile-hero-v226{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:16px;margin-bottom:10px;border:1px solid color-mix(in srgb,var(--accent) 24%,var(--deck-line));border-radius:20px;background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 11%,var(--deck-card)),var(--deck-card) 68%)}
.perf-mobile-score-v226{display:grid;gap:3px;min-width:0}.perf-mobile-score-v226>span{font-size:9px;font-weight:850;letter-spacing:.1em;text-transform:uppercase;color:var(--deck-faint)}.perf-mobile-score-v226>strong{font-size:31px;letter-spacing:-.045em}.perf-mobile-score-v226>small{font-size:10px;color:var(--deck-muted);overflow-wrap:anywhere}.perf-mobile-hero-v226 button{min-height:46px;border-radius:14px;white-space:nowrap}
.perf-mobile-control-v226{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:10px 0}.perf-mobile-control-v226 label{display:grid;gap:7px;padding:12px;border:1px solid var(--deck-line);border-radius:16px;background:var(--deck-card)}.perf-mobile-control-v226 label>span{font-size:9px;font-weight:820;text-transform:uppercase;letter-spacing:.08em;color:var(--deck-faint)}
.perf-mobile-progress-v226{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:13px 14px;margin:10px 0;border:1px solid var(--deck-line);border-radius:16px;background:var(--deck-card)}.perf-mobile-progress-v226>div{display:grid;gap:2px;min-width:0}.perf-mobile-progress-v226 b{font-size:12px}.perf-mobile-progress-v226 span{font-size:10px;color:var(--deck-muted);overflow-wrap:anywhere}.perf-mobile-progress-v226>strong{font-size:13px}.perf-mobile-progress-v226>i{grid-column:1/-1;height:5px;border-radius:99px;background:var(--deck-soft);overflow:hidden}.perf-mobile-progress-v226>i>span{display:block;width:0;height:100%;background:linear-gradient(90deg,var(--accent),#43c9d8);transition:width .18s ease}
.perf-mobile-section-v226{margin:10px 0;padding:14px;border:1px solid var(--deck-line);border-radius:18px;background:var(--deck-card)}.perf-mobile-section-title-v226{display:grid;gap:3px;margin-bottom:11px}.perf-mobile-section-title-v226>span{font-size:8px;font-weight:900;letter-spacing:.13em;color:var(--accent)}.perf-mobile-section-title-v226>strong{font-size:13px}.perf-mobile-metrics-v226{display:grid;grid-template-columns:1fr 1fr;gap:8px}.perf-mobile-metrics-v226 article{display:grid;gap:2px;min-width:0;padding:12px;border-radius:14px;background:var(--deck-soft);border:1px solid var(--deck-line)}.perf-mobile-metrics-v226 article>span{font-size:9px;color:var(--deck-muted)}.perf-mobile-metrics-v226 article>strong{font-size:20px;letter-spacing:-.03em;overflow-wrap:anywhere}.perf-mobile-metrics-v226 article>small{font-size:8.5px;color:var(--deck-faint)}
.perf-mobile-signal-list-v226{display:grid;gap:0;border:1px solid var(--deck-line);border-radius:14px;overflow:hidden}.perf-mobile-signal-list-v226>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,44%);gap:10px;padding:11px 12px;border-bottom:1px solid var(--deck-line)}.perf-mobile-signal-list-v226>div:last-child{border-bottom:0}.perf-mobile-signal-list-v226 span{font-size:10px;color:var(--deck-muted)}.perf-mobile-signal-list-v226 strong{font-size:10.5px;text-align:right;overflow-wrap:anywhere}
.perf-mobile-advice-v226{display:grid;gap:4px;margin:10px 0;padding:14px;border-radius:16px;border:1px solid color-mix(in srgb,var(--accent) 22%,var(--deck-line));background:color-mix(in srgb,var(--accent) 6%,var(--deck-card))}.perf-mobile-advice-v226 strong{font-size:12px}.perf-mobile-advice-v226 span{font-size:10px;line-height:1.5;color:var(--deck-muted)}.perf-mobile-foot-v226{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 2px 2px}.perf-mobile-foot-v226 span{font-size:9px;color:var(--deck-faint)}.perf-mobile-foot-v226 button{min-height:38px;border-radius:12px}

/* Portrait/narrow phones: controls never create a sideways page. */
@media(max-width:560px){
  .perf-mobile-control-v226{grid-template-columns:1fr}
  .perf-mobile-hero-v226{grid-template-columns:1fr}.perf-mobile-hero-v226 button{width:100%}
  .perf-mobile-head-v226{display:grid}.perf-mobile-head-v226 .performance-status-pill-v217{justify-self:start}
}
/* Landscape phones still use the phone layout even if CSS width is desktop-ish. */
@media (pointer:coarse) and (orientation:landscape) and (max-height:560px){
  body.senvo-phone-v226 #settingsModal .settings-atlas-header-v223{min-height:56px!important;height:56px!important;padding-top:6px!important;padding-bottom:6px!important}
  body.senvo-phone-v226 #settingsModal .settings-atlas-brand-v223>div>small{display:none!important}
  body.senvo-phone-v226 #settingsModal .settings-content-v10{padding-top:8px!important}
  .perf-mobile-control-v226{grid-template-columns:1fr 1fr}.perf-mobile-metrics-v226{grid-template-columns:repeat(4,minmax(0,1fr))}.perf-mobile-hero-v226{grid-template-columns:minmax(0,1fr) auto}
}

/* Stream paint runs on the measured Senvo frame gate; avoid CSS burst animations. */
.message-assistant[data-streaming="true"] .assistant-content,.assistant-content.streaming-caret{animation:none!important;transition:none!important}

/* V0.22.6 phone shell contract also applies in landscape, where width alone is unreliable. */
body.senvora-app-body.senvo-phone-v226 .app-shell{
  position:relative!important;display:block!important;width:100dvw!important;max-width:100dvw!important;min-width:0!important;
  height:var(--app-height,100dvh)!important;max-height:var(--app-height,100dvh)!important;margin:0!important;padding:0!important;gap:0!important;overflow:hidden!important;
}
body.senvora-app-body.senvo-phone-v226 .sidebar{
  position:fixed!important;inset:0 auto 0 0!important;width:min(86dvw,320px)!important;min-width:0!important;max-width:320px!important;
  height:var(--app-height,100dvh)!important;flex:0 0 auto!important;margin:0!important;transform:translate3d(-105%,0,0)!important;z-index:70!important;
  border-radius:0 24px 24px 0!important;transition:transform .22s cubic-bezier(.22,.72,.26,1)!important;
}
body.senvora-app-body.senvo-phone-v226 .app-shell.mobile-sidebar-open .sidebar,body.senvora-app-body.senvo-phone-v226.mobile-sidebar-open .sidebar{transform:translate3d(0,0,0)!important}
body.senvora-app-body.senvo-phone-v226 .main-panel{position:absolute!important;inset:0!important;width:100dvw!important;max-width:100dvw!important;min-width:0!important;height:var(--app-height,100dvh)!important;max-height:var(--app-height,100dvh)!important;flex:none!important;margin:0!important;padding:0!important;border-radius:0!important;overflow:hidden!important;transform:none!important}
body.senvora-app-body.senvo-phone-v226 .topbar{width:100%!important;max-width:100%!important;min-width:0!important;display:flex!important;align-items:center!important;gap:7px!important;padding-left:max(8px,env(safe-area-inset-left))!important;padding-right:max(8px,env(safe-area-inset-right))!important;overflow:visible!important}
body.senvora-app-body.senvo-phone-v226 .topbar-left{min-width:0!important;flex:1 1 auto!important}.senvora-app-body.senvo-phone-v226 .topbar-title-wrap{min-width:0!important;overflow:hidden!important}.senvora-app-body.senvo-phone-v226 .topbar-title{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.senvora-app-body.senvo-phone-v226 .desktop-workspace-actions,body.senvora-app-body.senvo-phone-v226 .provider-badge-v160{display:none!important}
body.senvora-app-body.senvo-phone-v226 .conversation,body.senvora-app-body.senvo-phone-v226 .messages,body.senvora-app-body.senvo-phone-v226 .welcome-view{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important;box-sizing:border-box!important}
body.senvora-app-body.senvo-phone-v226 .message-row,body.senvora-app-body.senvo-phone-v226 .message,body.senvora-app-body.senvo-phone-v226 .message-assistant,body.senvora-app-body.senvo-phone-v226 .message-user{max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
body.senvora-app-body.senvo-phone-v226 .assistant-body,body.senvora-app-body.senvo-phone-v226 .message-body,body.senvora-app-body.senvo-phone-v226 .assistant-content,body.senvora-app-body.senvo-phone-v226 .message-content{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important;word-break:normal!important}
body.senvora-app-body.senvo-phone-v226 .composer-zone{position:absolute!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding-left:max(6px,env(safe-area-inset-left))!important;padding-right:max(6px,env(safe-area-inset-right))!important;box-sizing:border-box!important}
body.senvora-app-body.senvo-phone-v226 .composer-zone>.composer-card,body.senvora-app-body.senvo-phone-v226 .composer-shell,body.senvora-app-body.senvo-phone-v226 #messageInput{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
@media (max-width:760px){#settingsModal .perf-mobile-v226{display:block}#settingsModal .perf-desktop-v226{display:none}}
@media (pointer:coarse) and (orientation:landscape) and (max-height:560px){
  body.senvora-app-body.senvo-phone-v226 .topbar{min-height:50px!important;height:50px!important;padding-top:max(4px,env(safe-area-inset-top))!important;padding-bottom:4px!important}
  body.senvora-app-body.senvo-phone-v226 .composer-card{min-height:60px!important}body.senvora-app-body.senvo-phone-v226 #messageInput{max-height:64px!important}body.senvora-app-body.senvo-phone-v226 .composer-note{display:none!important}
}


/* SenvoAI V0.22.7 — Command Dock composer
   Distinct from generic chatbot composer patterns: asymmetric dock, labelled
   tool chips, waveform Speak control, Live capsule and dispatch button. */
body.senvo-command-dock-v227 .composer-zone{padding-top:10px!important}
body.senvo-command-dock-v227 .composer-card{
  position:relative!important;overflow:visible!important;max-width:1000px!important;margin-inline:auto!important;
  border-radius:26px 26px 18px 26px!important;padding:12px 12px 10px!important;
  border:1px solid color-mix(in srgb,var(--v220-accent) 24%,var(--v220-line-strong))!important;
  background:linear-gradient(155deg,color-mix(in srgb,var(--v220-card) 94%,var(--v220-accent) 6%),var(--v220-card))!important;
  box-shadow:0 18px 42px rgba(28,45,75,.12)!important;
}
body.senvo-command-dock-v227 .composer-card:before{content:"";position:absolute;left:18px;top:-5px;width:68px;height:5px;border-radius:99px;background:linear-gradient(90deg,var(--v220-accent),var(--v220-accent-2));opacity:.88}
body.senvo-command-dock-v227 .composer-card:focus-within{border-color:color-mix(in srgb,var(--v220-accent) 62%,var(--v220-line-strong))!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--v220-accent) 11%,transparent),0 20px 48px rgba(28,45,75,.15)!important}
body.senvo-command-dock-v227 .composer-input-shell{padding:2px 3px 8px!important}
body.senvo-command-dock-v227 #messageInput{font-size:16px!important;line-height:1.48!important;padding:8px 8px 4px!important;min-height:42px!important}
body.senvo-command-dock-v227 .composer-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;border-top:1px solid color-mix(in srgb,var(--v220-line) 76%,transparent)!important;padding-top:9px!important}
body.senvo-command-dock-v227 .composer-left-tools,body.senvo-command-dock-v227 .composer-right-tools{display:flex!important;align-items:center!important;gap:7px!important}
body.senvo-command-dock-v227 .command-chip-v227{width:auto!important;min-width:0!important;height:38px!important;padding:0 12px!important;border-radius:13px!important;display:inline-flex!important;align-items:center!important;gap:7px!important;border:1px solid var(--v220-line)!important;background:var(--v220-card-2)!important;color:var(--v220-ink)!important}
body.senvo-command-dock-v227 .command-chip-v227 svg{width:17px!important;height:17px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
body.senvo-command-dock-v227 .command-chip-v227 span{display:inline!important;font-size:12px!important;font-weight:800!important;letter-spacing:.01em!important}
body.senvo-command-dock-v227 .effort-button{height:38px!important;border-radius:13px!important;padding:0 11px!important;border:1px solid var(--v220-line)!important;background:transparent!important}
body.senvo-command-dock-v227 .live-orb-v227{width:auto!important;min-width:64px!important;height:38px!important;padding:0 11px!important;border-radius:19px 9px 19px 19px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;background:linear-gradient(135deg,color-mix(in srgb,var(--v220-accent) 88%,#fff 12%),color-mix(in srgb,var(--v220-accent-2) 72%,var(--v220-accent)))!important;color:white!important;border:0!important;box-shadow:0 8px 18px color-mix(in srgb,var(--v220-accent) 24%,transparent)!important}
body.senvo-command-dock-v227 .live-orb-v227 svg{width:17px!important;height:17px!important;stroke:currentColor!important;stroke-width:1.8!important;fill:none!important}
body.senvo-command-dock-v227 .live-orb-v227 span{display:inline!important;font-size:11px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.06em!important}
body.senvo-command-dock-v227 .dispatch-v227{width:40px!important;height:40px!important;border-radius:12px 18px 12px 18px!important;background:var(--v220-ink-strong)!important;color:var(--v220-card)!important;border:0!important;box-shadow:0 8px 18px rgba(16,30,50,.16)!important}
body.senvo-command-dock-v227[data-theme="dark"] .dispatch-v227{background:linear-gradient(135deg,#edf3ff,#b8c8f2)!important;color:#101a29!important}
body.senvo-command-dock-v227 .dispatch-v227 svg{fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
body.senvo-command-dock-v227 .composer-note{font-size:11px!important;letter-spacing:.01em!important}
@media(max-width:760px),((pointer:coarse) and (max-height:700px)){
  body.senvo-command-dock-v227 .composer-zone{padding:7px max(7px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-left))!important}
  body.senvo-command-dock-v227 .composer-card{border-radius:22px 22px 14px 22px!important;padding:10px 9px 8px!important}
  body.senvo-command-dock-v227 .composer-card:before{left:15px;width:48px}
  body.senvo-command-dock-v227 #messageInput{font-size:16px!important;min-height:38px!important;max-height:120px!important;padding-left:6px!important;padding-right:6px!important}
  body.senvo-command-dock-v227 .composer-toolbar{gap:5px!important;padding-top:8px!important}
  body.senvo-command-dock-v227 .composer-left-tools,body.senvo-command-dock-v227 .composer-right-tools{gap:5px!important}
  body.senvo-command-dock-v227 .command-chip-v227{height:36px!important;padding:0 9px!important;border-radius:12px!important}
  body.senvo-command-dock-v227 .command-chip-v227 span{font-size:11px!important}
  body.senvo-command-dock-v227 .effort-button{height:36px!important;padding:0 8px!important}
  body.senvo-command-dock-v227 .effort-word{display:none!important}
  body.senvo-command-dock-v227 .live-orb-v227{min-width:42px!important;width:42px!important;height:36px!important;padding:0!important;border-radius:18px 8px 18px 18px!important}
  body.senvo-command-dock-v227 .live-orb-v227 span{display:none!important}
  body.senvo-command-dock-v227 .dispatch-v227{width:38px!important;height:38px!important}
}
@media(max-width:390px){
  body.senvo-command-dock-v227 .mic-button span{display:none!important}
  body.senvo-command-dock-v227 .mic-button{width:38px!important;padding:0!important;justify-content:center!important}
  body.senvo-command-dock-v227 .effort-button .chevron{display:none!important}
}


/* SenvoAI V0.22.8 — Creation Deck + Spectrum thinking glow
   A purpose-built creation launcher, not a generic chat attachment menu. */
body.senvo-create-studio-v228 #plusMenu.senvo-create-studio-v228{
  width:min(440px,calc(100vw - 24px))!important;max-height:min(78dvh,720px)!important;padding:0!important;overflow:hidden!important;
  border:1px solid color-mix(in srgb,var(--v220-accent) 20%,var(--v220-line))!important;border-radius:28px!important;
  background:linear-gradient(165deg,color-mix(in srgb,var(--v220-card) 96%,var(--v220-accent) 4%),var(--v220-card))!important;
  color:var(--v220-ink)!important;box-shadow:0 28px 80px rgba(30,48,78,.24),0 1px 0 rgba(255,255,255,.55) inset!important;
}
body.senvo-create-studio-v228 .create-studio-head-v228{display:grid!important;grid-template-columns:48px minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;padding:18px 18px 15px!important;border-bottom:1px solid var(--v220-line)!important;background:linear-gradient(120deg,color-mix(in srgb,var(--v220-accent) 8%,transparent),transparent 46%,color-mix(in srgb,var(--v220-accent-2) 7%,transparent))!important}
body.senvo-create-studio-v228 .create-studio-mark-v228{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(145deg,color-mix(in srgb,var(--v220-accent) 18%,var(--v220-card)),color-mix(in srgb,var(--v220-accent-2) 14%,var(--v220-card)));border:1px solid color-mix(in srgb,var(--v220-accent) 22%,var(--v220-line));box-shadow:0 8px 20px color-mix(in srgb,var(--v220-accent) 12%,transparent)}
body.senvo-create-studio-v228 .create-studio-mark-v228 svg{width:26px;height:26px;fill:none;stroke:var(--v220-accent);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
body.senvo-create-studio-v228 .create-studio-copy-v228{min-width:0}.create-studio-copy-v228>span{display:block;font-size:9px;font-weight:900;letter-spacing:.18em;color:var(--v220-muted);margin-bottom:2px}.create-studio-copy-v228 h3{margin:0!important;font-size:19px!important;line-height:1.1!important;letter-spacing:-.02em!important}.create-studio-copy-v228 p{margin:4px 0 0!important;font-size:11px!important;color:var(--v220-muted)!important;line-height:1.35!important}
body.senvo-create-studio-v228 .create-studio-badge-v228{padding:7px 9px;border-radius:999px;border:1px solid color-mix(in srgb,var(--v220-accent) 18%,var(--v220-line));background:color-mix(in srgb,var(--v220-accent) 7%,var(--v220-card));font-size:9.5px;font-weight:800;white-space:nowrap;color:var(--v220-accent)}
body.senvo-create-studio-v228 .create-studio-scroll-v228{max-height:min(58dvh,540px)!important;padding:10px 10px 6px!important;overflow:auto!important;overscroll-behavior:contain!important;scrollbar-width:thin!important}
body.senvo-create-studio-v228 .create-studio-section-v228{padding:8px 8px 5px!important}.create-studio-section-v228 span{font-size:9px;font-weight:900;letter-spacing:.16em;color:var(--v220-muted)}
body.senvo-create-studio-v228 .create-card-v228{position:relative!important;width:100%!important;min-height:66px!important;padding:8px 10px!important;margin:3px 0!important;border:1px solid transparent!important;border-radius:18px!important;background:transparent!important;color:var(--v220-ink)!important;display:grid!important;grid-template-columns:46px minmax(0,1fr) 24px!important;align-items:center!important;gap:11px!important;transition:transform .14s ease,background .14s ease,border-color .14s ease,box-shadow .14s ease!important}
body.senvo-create-studio-v228 .create-card-v228:hover{background:color-mix(in srgb,var(--v220-accent) 5%,var(--v220-card-2))!important;border-color:color-mix(in srgb,var(--v220-accent) 16%,var(--v220-line))!important;box-shadow:0 9px 24px rgba(31,49,78,.08)!important;transform:translateY(-1px)!important}
body.senvo-create-studio-v228 .create-card-v228:active{transform:scale(.99)!important}
body.senvo-create-studio-v228 .create-card-v228>div{display:flex!important;flex-direction:column!important;min-width:0!important}.create-card-v228 strong{font-size:13.5px!important;line-height:1.2!important;font-weight:800!important;color:var(--v220-ink-strong)!important}.create-card-v228>div>span{margin-top:3px!important;font-size:10.5px!important;line-height:1.25!important;color:var(--v220-muted)!important}
body.senvo-create-studio-v228 .create-card-arrow-v228{display:grid!important;place-items:center!important;font-size:25px!important;font-weight:300!important;color:var(--v220-muted)!important;margin:0!important}
body.senvo-create-studio-v228 .tool-brand-v228{position:relative;width:44px;height:44px;border-radius:14px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--v220-line) 80%,transparent);box-shadow:0 6px 14px rgba(30,48,78,.08);overflow:hidden;font-weight:900;isolation:isolate}
body.senvo-create-studio-v228 .tool-brand-v228 svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.tool-brand-v228 b{font-size:12px;line-height:1;z-index:2}.brand-upload-v228{background:#eef6ff;color:#2e73d6}.brand-library-v228{background:#f3efff;color:#7653da}.brand-image-v228{background:linear-gradient(145deg,#eef4ff,#f8edff);color:#6456e8}.brand-pdf-v228{background:#fff1f1;color:#e03131}.brand-pdf-v228 svg{position:absolute;opacity:.23}.brand-word-v228{background:#eaf3ff;color:#185abd}.brand-excel-v228{background:#e8f8ef;color:#107c41}.brand-powerpoint-v228{background:#fff0eb;color:#c43e1c}.brand-chart-v228{background:#f1efff;color:#7357d7}.brand-web-v228{background:#eaf8ff;color:#1984b8}.brand-research-v228{background:#f4efff;color:#775bd8}.brand-study-v228{background:#eef9f6;color:#18856e}.brand-write-v228{background:#fff7e8;color:#b96c00}.brand-gif-v228{background:#f4f1ff;color:#6857cf}.brand-video-v228{background:#fff0f4;color:#d14f78}
body.senvo-create-studio-v228 .office-back-v228{position:absolute;right:6px;top:7px;width:19px;height:30px;border-radius:4px;background:currentColor;opacity:.16;box-shadow:-5px 4px 0 color-mix(in srgb,currentColor 65%,transparent)}
body.senvo-create-studio-v228 .brand-word-v228 b,body.senvo-create-studio-v228 .brand-excel-v228 b,body.senvo-create-studio-v228 .brand-powerpoint-v228 b{display:grid;width:22px;height:27px;place-items:center;border-radius:5px;background:currentColor;color:#fff;box-shadow:0 5px 10px rgba(0,0,0,.12)}
body.senvo-create-studio-v228 .brand-word-v228 b{background:#185abd}.brand-excel-v228 b{background:#107c41!important}.brand-powerpoint-v228 b{background:#c43e1c!important}
body.senvo-create-studio-v228 .create-studio-search-v228{height:58px!important;margin:0!important;padding:10px 12px calc(10px + env(safe-area-inset-bottom))!important;border-top:1px solid var(--v220-line)!important;background:linear-gradient(180deg,color-mix(in srgb,var(--v220-card) 92%,transparent),var(--v220-card))!important;display:grid!important;grid-template-columns:26px minmax(0,1fr) 24px!important;align-items:center!important;gap:6px!important;color:var(--v220-muted)!important}
body.senvo-create-studio-v228 .create-studio-search-v228 input{height:36px!important;border:0!important;background:transparent!important;color:var(--v220-ink)!important;font-size:12.5px!important;outline:0!important}.create-search-spark-v228{display:grid;place-items:center;width:26px;height:26px;border-radius:9px;background:color-mix(in srgb,var(--v220-accent) 8%,var(--v220-card));color:var(--v220-accent);font-size:12px}.create-search-key-v228{display:grid;place-items:center;width:22px;height:22px;border:1px solid var(--v220-line);border-radius:7px;font-size:10px;color:var(--v220-muted)}
body.senvo-create-studio-v228[data-theme="dark"] #plusMenu.senvo-create-studio-v228{background:linear-gradient(160deg,#111b2a,#0f1825)!important;border-color:#25344c!important;box-shadow:0 30px 90px rgba(0,0,0,.46)!important}.senvo-create-studio-v228[data-theme="dark"] .create-card-v228:hover{background:#182538!important;border-color:#2b3e5b!important}.senvo-create-studio-v228[data-theme="dark"] .tool-brand-v228{border-color:#2c3a50!important;filter:saturate(.92)}
@media(max-width:760px),((pointer:coarse) and (max-height:700px)){
  body.senvo-create-studio-v228 #plusMenu.senvo-create-studio-v228{position:fixed!important;left:max(8px,env(safe-area-inset-left))!important;right:max(8px,env(safe-area-inset-right))!important;bottom:max(8px,env(safe-area-inset-bottom))!important;top:auto!important;width:auto!important;max-width:none!important;max-height:min(82dvh,760px)!important;border-radius:28px 28px 22px 22px!important;transform:none!important}
  body.senvo-create-studio-v228 .create-studio-head-v228{grid-template-columns:42px minmax(0,1fr)!important;padding:15px 15px 12px!important}.senvo-create-studio-v228 .create-studio-badge-v228{display:none!important}.senvo-create-studio-v228 .create-studio-mark-v228{width:40px;height:40px;border-radius:14px}.senvo-create-studio-v228 .create-studio-copy-v228 h3{font-size:17px!important}.senvo-create-studio-v228 .create-studio-copy-v228 p{font-size:10.5px!important}.senvo-create-studio-v228 .create-studio-scroll-v228{max-height:calc(min(82dvh,760px) - 124px)!important;padding:8px!important}.senvo-create-studio-v228 .create-card-v228{min-height:62px!important;grid-template-columns:42px minmax(0,1fr) 20px!important;padding:7px 8px!important;border-radius:16px!important}.senvo-create-studio-v228 .tool-brand-v228{width:40px;height:40px;border-radius:13px}.senvo-create-studio-v228 .create-studio-search-v228{height:auto!important;min-height:54px!important;padding-bottom:max(10px,env(safe-area-inset-bottom))!important}
}
@media(max-width:390px){body.senvo-create-studio-v228 .create-card-v228>div>span{font-size:10px!important}.senvo-create-studio-v228 .create-studio-copy-v228 p{display:none!important}}

/* Spectrum activity glow: while SenvoAI is thinking, searching, creating or streaming,
   the Command Dock breathes at the user's measured motion cap instead of flashing. */
body.senvo-create-studio-v228 .composer-card[data-composer-state="generating"]{border-color:transparent!important;box-shadow:0 12px 38px rgba(40,70,140,.16),0 0 0 1px color-mix(in srgb,var(--v220-accent) 34%,transparent)!important}
body.senvo-create-studio-v228 .composer-card[data-composer-state="generating"]::after{content:"";position:absolute;inset:-2px;border-radius:inherit;padding:2px;background:conic-gradient(from var(--senvo-glow-angle,0deg),#4f6cff,#8f5cff,#18c8d6,#4f6cff);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;filter:drop-shadow(0 0 10px rgba(108,91,255,.30));animation:senvoThinkingOrbitV228 2.4s linear infinite}
body.senvo-create-studio-v228 .composer-card[data-composer-state="generating"]::before{background:linear-gradient(90deg,#4f6cff,#9b5cff,#1ccad8)!important;box-shadow:0 0 16px rgba(112,94,255,.38)!important}
@keyframes senvoThinkingOrbitV228{to{--senvo-glow-angle:360deg}}
@property --senvo-glow-angle{syntax:'<angle>';initial-value:0deg;inherits:false}
body[data-reduced-motion="true"].senvo-create-studio-v228 .composer-card[data-composer-state="generating"]::after{animation:none!important;background:linear-gradient(90deg,#4f6cff,#9b5cff,#1ccad8)!important}
\n\n/* ==========================================================================\n   V0.23.0 — Nexus shell: Workstyle Compass, Thread Stream, Voice Studio, Profile\n   ========================================================================== */\nbody.senvo-nexus-v230{--n230-ink:#14213a;--n230-muted:#6e7b92;--n230-line:#dce5f2;--n230-card:#ffffff;--n230-soft:#f4f7fc;--n230-blue:#4668ff;--n230-violet:#7d5cff;--n230-cyan:#19b7c9;--n230-shadow:0 18px 48px rgba(36,53,86,.12)}\nbody.senvo-nexus-v230[data-theme="dark"]{--n230-ink:#f3f6fb;--n230-muted:#9aa8bc;--n230-line:#26364c;--n230-card:#121c2a;--n230-soft:#0d1622;--n230-shadow:0 20px 52px rgba(0,0,0,.36)}\n\n/* Sidebar: navigation tiles + thread stream, intentionally unlike a flat chat-history list. */\nbody.senvo-nexus-v230 .sidebar{padding:10px 9px 8px!important;background:linear-gradient(180deg,color-mix(in srgb,var(--n230-soft) 88%,#fff 12%),var(--n230-soft))!important;border-right:1px solid var(--n230-line)!important}\nbody.senvo-nexus-v230 .sidebar-brand-row{padding:4px 8px 10px!important}\nbody.senvo-nexus-v230 .new-chat-button,body.senvo-nexus-v230 #searchFocusButton{margin:3px 6px!important;width:calc(100% - 12px)!important;min-height:52px!important;border-radius:17px!important;display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;align-items:center!important;text-align:left!important;padding:8px 10px!important}\nbody.senvo-nexus-v230 .new-chat-button{background:linear-gradient(135deg,color-mix(in srgb,var(--n230-blue) 12%,var(--n230-card)),color-mix(in srgb,var(--n230-violet) 8%,var(--n230-card)))!important;border:1px solid color-mix(in srgb,var(--n230-blue) 22%,var(--n230-line))!important;box-shadow:0 8px 22px rgba(67,88,180,.08)!important}\nbody.senvo-nexus-v230 .nav-label-v230{min-width:0;display:flex;flex-direction:column;gap:1px;line-height:1.1}body.senvo-nexus-v230 .nav-label-v230 b{font-size:12.5px;font-weight:780;color:var(--n230-ink)}body.senvo-nexus-v230 .nav-label-v230 small{font-size:9.5px;color:var(--n230-muted);font-weight:560}\nbody.senvo-nexus-v230 .nexus-workspace-nav-v230{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;padding:8px 6px 2px!important}\nbody.senvo-nexus-v230 .nexus-nav-card-v230{position:relative!important;isolation:isolate;overflow:hidden!important;margin:0!important;width:100%!important;min-height:74px!important;padding:9px!important;border:1px solid var(--n230-line)!important;border-radius:18px!important;background:color-mix(in srgb,var(--n230-card) 90%,transparent)!important;display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;align-items:center!important;gap:8px!important;transform:none!important;box-shadow:0 5px 15px rgba(35,50,80,.035)!important}\nbody.senvo-nexus-v230 .nexus-nav-card-v230::after{content:"";position:absolute;inset:auto -30% -50% auto;width:90px;height:90px;border-radius:50%;background:var(--nav-tone,#5571ff);opacity:.08;filter:blur(5px);transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .2s ease;z-index:-1}\nbody.senvo-nexus-v230 .nexus-nav-card-v230:hover{transform:translateY(-2px)!important;border-color:color-mix(in srgb,var(--nav-tone,#5571ff) 40%,var(--n230-line))!important;box-shadow:0 12px 25px rgba(38,57,95,.10)!important;background:color-mix(in srgb,var(--nav-tone,#5571ff) 5%,var(--n230-card))!important}\nbody.senvo-nexus-v230 .nexus-nav-card-v230:hover::after{transform:scale(1.28) translate(-6px,-5px);opacity:.15}\nbody.senvo-nexus-v230 .nexus-nav-card-v230 .nav-icon{width:30px!important;height:30px!important;border-radius:11px!important;background:color-mix(in srgb,var(--nav-tone,#5571ff) 10%,var(--n230-card))!important;color:var(--nav-tone,#5571ff)!important;border:1px solid color-mix(in srgb,var(--nav-tone,#5571ff) 18%,var(--n230-line))!important;transition:transform .25s cubic-bezier(.2,.8,.2,1)!important}\nbody.senvo-nexus-v230 .nexus-nav-card-v230:hover .nav-icon{transform:translateY(-2px) rotate(-3deg) scale(1.07)!important}\nbody.senvo-nexus-v230 .nav-vault-v230{--nav-tone:#4e73ff}.senvo-nexus-v230 .nav-spaces-v230{--nav-tone:#8a5cff}.senvo-nexus-v230 .nav-auto-v230{--nav-tone:#1aa785}.senvo-nexus-v230 .nav-ext-v230{--nav-tone:#d26a45}.senvo-nexus-v230 .nav-studio-v230{--nav-tone:#b34fc1;grid-column:1/-1!important;min-height:58px!important}\nbody.senvo-nexus-v230 .chat-list-scroll{padding:8px 5px 16px!important}\nbody.senvo-nexus-v230 .chat-section{position:relative!important;margin:7px 0 12px!important;padding:0 5px 0 17px!important;border:0!important;border-radius:0!important;background:transparent!important}\nbody.senvo-nexus-v230 .chat-section::before{content:"";position:absolute;left:7px;top:35px;bottom:4px;width:1px;background:linear-gradient(var(--n230-line),transparent)}\nbody.senvo-nexus-v230 .chat-section-title{text-transform:none!important;letter-spacing:.02em!important;font-size:10.5px!important;font-weight:850!important;color:var(--n230-muted)!important}\nbody.senvo-nexus-v230 .chat-list .chat-item,body.senvo-nexus-v230 .chat-list .chat-row{position:relative!important;min-height:40px!important;padding:8px 9px!important;margin:2px 0!important;border-radius:12px!important;background:transparent!important;border:1px solid transparent!important}\nbody.senvo-nexus-v230 .chat-list .chat-item::before,body.senvo-nexus-v230 .chat-list .chat-row::before{content:"";position:absolute;left:-14px;top:17px;width:6px;height:6px;border-radius:50%;background:var(--n230-card);border:2px solid color-mix(in srgb,var(--n230-blue) 36%,var(--n230-line))}\nbody.senvo-nexus-v230 .chat-list .chat-item:hover,body.senvo-nexus-v230 .chat-list .chat-row:hover{background:color-mix(in srgb,var(--n230-blue) 5%,var(--n230-card))!important;border-color:color-mix(in srgb,var(--n230-blue) 12%,var(--n230-line))!important;transform:translateX(2px)!important}\nbody.senvo-nexus-v230 .chat-list .chat-item:hover::before,body.senvo-nexus-v230 .chat-list .chat-row:hover::before{background:var(--n230-blue);border-color:var(--n230-blue);box-shadow:0 0 0 4px color-mix(in srgb,var(--n230-blue) 12%,transparent)}\n\n/* Workstyle Compass */\nbody.senvo-nexus-v230 .nexus-mode-menu-v230{width:min(540px,calc(100vw - 24px))!important;padding:14px!important;border-radius:26px!important;background:color-mix(in srgb,var(--n230-card) 96%,transparent)!important;border:1px solid var(--n230-line)!important;box-shadow:0 30px 80px rgba(29,46,82,.20)!important;backdrop-filter:blur(22px)!important}\nbody.senvo-nexus-v230 .nexus-mode-head-v230{padding:8px 8px 13px}.nexus-mode-head-v230 .nexus-mode-kicker-v230{display:flex;align-items:center;gap:7px;font-size:9px;font-weight:900;letter-spacing:.15em;text-transform:uppercase;color:var(--n230-muted)}.nexus-mode-kicker-v230 span{width:8px;height:8px;border-radius:50%;background:linear-gradient(135deg,var(--n230-blue),var(--n230-cyan));box-shadow:0 0 0 5px color-mix(in srgb,var(--n230-blue) 9%,transparent)}.nexus-mode-head-v230>strong{display:block;margin-top:10px;font-size:20px;line-height:1.15;color:var(--n230-ink)}.nexus-mode-head-v230>small{display:block;margin-top:4px;font-size:11px;color:var(--n230-muted)}\nbody.senvo-nexus-v230 .nexus-mode-grid-v230{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.nexus-mode-card-v230{--mode-tone:#5571ff!important;position:relative!important;grid-template-columns:38px minmax(0,1fr)!important;min-height:92px!important;padding:11px!important;border-radius:18px!important;border:1px solid var(--n230-line)!important;background:var(--n230-card)!important;overflow:hidden!important}.nexus-mode-card-v230:last-child{grid-column:1/-1!important;min-height:76px!important}.nexus-mode-card-v230:hover{background:color-mix(in srgb,var(--mode-tone) 5%,var(--n230-card))!important;border-color:color-mix(in srgb,var(--mode-tone) 32%,var(--n230-line))!important;transform:translateY(-1px)!important}.nexus-mode-card-v230.active{background:linear-gradient(145deg,color-mix(in srgb,var(--mode-tone) 10%,var(--n230-card)),var(--n230-card))!important;border-color:color-mix(in srgb,var(--mode-tone) 45%,var(--n230-line))!important;box-shadow:0 10px 24px color-mix(in srgb,var(--mode-tone) 10%,transparent)!important}.nexus-mode-card-v230 .mode-symbol-v230{width:36px!important;height:36px!important;border:0!important;border-radius:13px!important;background:color-mix(in srgb,var(--mode-tone) 12%,var(--n230-card))!important;color:var(--mode-tone)!important;font-weight:850!important}.nexus-mode-card-v230 div strong{font-size:13px;color:var(--n230-ink)}.nexus-mode-card-v230 div small{font-size:10px;line-height:1.35;color:var(--n230-muted);margin-top:3px}.nexus-mode-card-v230 .mode-state-v230{position:absolute;top:9px;right:9px;font-size:8px;padding:4px 7px;border-radius:999px;background:color-mix(in srgb,var(--mode-tone) 10%,var(--n230-card));color:var(--mode-tone);font-weight:850}.mode-flow-v230{--mode-tone:#526fff!important}.mode-learn-v230{--mode-tone:#8b5cf6!important}.mode-scan-v230{--mode-tone:#12a7a1!important}.mode-build-v230{--mode-tone:#d27a37!important}.mode-private-v230{--mode-tone:#667085!important}.nexus-mode-foot-v230{display:flex;align-items:center;justify-content:center;gap:8px;padding:11px 5px 1px;font-size:9px;color:var(--n230-muted)}.nexus-mode-foot-v230 i{width:3px;height:3px;border-radius:50%;background:var(--n230-line)}\n\n/* Profile identity card */\nbody.senvo-nexus-v230 .nexus-profile-v230{width:min(680px,calc(100vw - 24px))!important;max-height:min(760px,calc(100dvh - 24px))!important;padding:0!important;overflow:auto!important;border-radius:28px!important;border:1px solid var(--n230-line)!important;background:var(--n230-card)!important;box-shadow:var(--n230-shadow)!important}.nexus-profile-banner-v230{position:relative;padding:24px 28px 78px;background:radial-gradient(circle at 82% 0%,rgba(25,183,201,.18),transparent 35%),linear-gradient(135deg,#17294d,#263d7a 55%,#5846a6);color:#fff;overflow:hidden}.nexus-profile-banner-v230::after{content:"";position:absolute;right:-45px;bottom:-70px;width:190px;height:190px;border-radius:50%;border:1px solid rgba(255,255,255,.16);box-shadow:0 0 0 26px rgba(255,255,255,.035),0 0 0 52px rgba(255,255,255,.02)}.nexus-profile-banner-copy-v230>span{font-size:9px;font-weight:900;letter-spacing:.18em;text-transform:uppercase;opacity:.72}.nexus-profile-banner-copy-v230>strong{display:block;margin-top:6px;font-size:25px}.nexus-profile-banner-copy-v230>small{display:block;margin-top:5px;font-size:11px;opacity:.78}.nexus-profile-close-v230{position:absolute;right:18px;top:18px!important;left:auto!important;background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.18)!important;color:#fff!important}.nexus-profile-identity-v230{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;margin:-55px 28px 0;position:relative;z-index:2;align-items:end}.nexus-profile-hero-v230{padding:0!important;align-items:center!important}.nexus-profile-v230 .profile-avatar-xl{width:122px!important;height:122px!important;border:5px solid var(--n230-card)!important;box-shadow:0 14px 32px rgba(17,29,55,.22)!important;background:linear-gradient(135deg,var(--n230-blue),var(--n230-violet))!important}.nexus-profile-v230 .avatar-help-v11{font-size:9px!important;color:var(--n230-muted)!important;text-align:center;max-width:130px}.nexus-profile-summary-v230{padding:10px 0 18px}.nexus-profile-summary-v230>span{font-size:9px;letter-spacing:.13em;text-transform:uppercase;font-weight:900;color:var(--n230-muted)}.nexus-profile-summary-v230>strong{display:block;margin-top:4px;font-size:22px;color:var(--n230-ink)}.nexus-profile-summary-v230>small{display:block;margin-top:2px;font-size:11px;color:var(--n230-muted)}.nexus-profile-summary-v230>div{display:flex;align-items:center;gap:7px;margin-top:9px}.nexus-profile-summary-v230>div b{font-size:9px;color:var(--n230-muted);padding:4px 7px;border:1px solid var(--n230-line);border-radius:999px}.nexus-profile-summary-v230>div i{width:3px;height:3px;border-radius:50%;background:var(--n230-line)}.nexus-profile-fields-v230{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;padding:6px 28px 18px!important}.nexus-profile-field-v230{padding:14px;border:1px solid var(--n230-line);border-radius:17px;background:var(--n230-soft)}.nexus-profile-field-v230>span:first-child{font-size:11px;font-weight:850;color:var(--n230-ink)}.nexus-profile-field-v230>small{display:block;margin:3px 0 9px;font-size:9.5px;color:var(--n230-muted);line-height:1.35}.nexus-profile-field-v230 .settings-input{background:var(--n230-card)!important;border:1px solid var(--n230-line)!important;border-radius:12px!important;min-height:44px!important}.nexus-profile-email-v230{grid-column:1/-1}.nexus-locked-input-v230{position:relative}.nexus-locked-input-v230 b{position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:8px;text-transform:uppercase;letter-spacing:.08em;color:var(--n230-muted);padding:4px 7px;border-radius:999px;background:var(--n230-soft);border:1px solid var(--n230-line)}.nexus-profile-danger-v230{margin:0 28px 18px!important;border:1px solid color-mix(in srgb,#df4e4e 24%,var(--n230-line))!important;background:color-mix(in srgb,#df4e4e 4%,var(--n230-card))!important;border-radius:17px!important;padding:13px 14px!important}.nexus-profile-danger-v230>div:first-child{display:flex;align-items:center;gap:10px}.nexus-danger-mark-v230{width:28px;height:28px;border-radius:10px;display:grid;place-items:center;background:rgba(213,65,65,.10);color:#c23d3d;font-weight:900}.nexus-profile-actions-v230{position:sticky;bottom:0;padding:12px 28px!important;background:color-mix(in srgb,var(--n230-card) 94%,transparent);backdrop-filter:blur(14px);border-top:1px solid var(--n230-line)}\n\n/* Voice Studio — information-first instead of a giant decorative orb. */\nbody.senvo-nexus-v230 .nexus-voice-stage-v230{display:grid!important;grid-template-columns:42px 150px minmax(0,1fr) 42px!important;gap:10px!important;align-items:center!important;min-height:235px!important;padding:18px!important;border:1px solid var(--n230-line)!important;border-radius:24px!important;background:radial-gradient(circle at 20% 30%,color-mix(in srgb,var(--n230-violet) 10%,transparent),transparent 30%),var(--n230-card)!important}.nexus-voice-orb-wrap-v230{display:flex;flex-direction:column;align-items:center;gap:8px}.nexus-voice-stage-v230 .voice-orb-v209{width:118px!important;height:118px!important;margin:0!important;background:radial-gradient(circle at 34% 30%,#fff 0 5%,rgba(255,255,255,.55) 14%,transparent 36%),conic-gradient(from 215deg,#4b6dff,#7356ff,#1fb9c6,#4b6dff)!important;box-shadow:inset 0 0 30px rgba(255,255,255,.26),0 14px 34px rgba(70,83,190,.22)!important}.nexus-voice-tap-v230{font-size:9px;color:var(--n230-muted);font-weight:700}.nexus-voice-copy-v230{align-items:flex-start!important;text-align:left!important}.nexus-voice-kicker-v230{font-size:9px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;color:var(--n230-muted);margin-bottom:4px}.nexus-voice-copy-v230>strong{font-size:25px!important;line-height:1.1;color:var(--n230-ink)}.nexus-voice-copy-v230>small{font-size:11px!important;line-height:1.4;color:var(--n230-muted)!important;margin-top:5px!important}.nexus-voice-meta-v230{display:flex;flex-wrap:wrap;gap:6px;margin-top:11px!important}.nexus-voice-meta-v230 span{background:var(--n230-soft)!important;color:var(--n230-muted)!important;border:1px solid var(--n230-line)!important;border-radius:999px!important;padding:5px 8px!important;font-size:8.5px!important}.nexus-voice-preview-line-v230{margin:10px 0 0;font-size:10px;line-height:1.45;color:var(--n230-muted);max-width:430px}.nexus-voice-copy-v230 .voice-dots-v209{margin-top:12px!important}.nexus-voice-arrow-v230{width:38px!important;height:52px!important;border:1px solid var(--n230-line)!important;border-radius:14px!important;background:var(--n230-soft)!important;color:var(--n230-muted)!important;font-size:28px!important}.nexus-voice-arrow-v230:hover{color:var(--n230-blue)!important;border-color:color-mix(in srgb,var(--n230-blue) 35%,var(--n230-line))!important;transform:translateY(-1px)}.nexus-voice-controls-v230{margin-top:10px;border:1px solid var(--n230-line);border-radius:18px;padding:0 14px;background:var(--n230-card)}\n\n/* Settings semantic icon tiles. */\nbody.senvo-nexus-v230 #settingsModal .settings-line-icon.semantic-icon{width:32px!important;height:32px!important;flex:0 0 32px!important;display:grid!important;place-items:center!important;border-radius:11px!important;background:color-mix(in srgb,var(--n230-blue) 8%,var(--n230-card))!important;border:1px solid color-mix(in srgb,var(--n230-blue) 14%,var(--n230-line))!important;color:var(--n230-blue)!important}.senvo-nexus-v230 #settingsModal .settings-line-icon.semantic-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.senvo-nexus-v230 #settingsModal .settings-nav:hover .settings-line-icon.semantic-icon,.senvo-nexus-v230 #settingsModal .settings-nav.active .settings-line-icon.semantic-icon{transform:rotate(-3deg) scale(1.06);box-shadow:0 6px 14px color-mix(in srgb,var(--n230-blue) 12%,transparent)}\n\n@media(max-width:760px){\n body.senvo-nexus-v230 .nexus-workspace-nav-v230{grid-template-columns:1fr!important}.senvo-nexus-v230 .nav-studio-v230{grid-column:auto!important}.senvo-nexus-v230 .nexus-nav-card-v230{min-height:58px!important;grid-template-columns:30px minmax(0,1fr)!important}.senvo-nexus-v230 .chat-section{padding-left:16px!important}\n body.senvo-nexus-v230 .nexus-mode-menu-v230{left:max(8px,env(safe-area-inset-left))!important;right:max(8px,env(safe-area-inset-right))!important;width:auto!important;max-height:min(78dvh,640px)!important;overflow:auto!important;border-radius:24px!important}.senvo-nexus-v230 .nexus-mode-grid-v230{grid-template-columns:1fr!important}.senvo-nexus-v230 .nexus-mode-card-v230:last-child{grid-column:auto!important}\n body.senvo-nexus-v230 .nexus-profile-v230{width:calc(100vw - 12px)!important;max-height:calc(100dvh - 12px)!important;border-radius:24px!important}.nexus-profile-banner-v230{padding:20px 20px 70px}.nexus-profile-banner-copy-v230>strong{font-size:21px}.nexus-profile-banner-copy-v230>small{max-width:250px}.nexus-profile-identity-v230{grid-template-columns:112px minmax(0,1fr);margin:-47px 18px 0;gap:12px}.nexus-profile-v230 .profile-avatar-xl{width:96px!important;height:96px!important}.nexus-profile-v230 .avatar-help-v11{display:none}.nexus-profile-summary-v230>strong{font-size:18px}.nexus-profile-fields-v230{grid-template-columns:1fr!important;padding:6px 18px 16px!important}.nexus-profile-email-v230{grid-column:auto}.nexus-profile-danger-v230{margin:0 18px 14px!important;align-items:flex-start!important}.nexus-profile-actions-v230{padding:11px 18px!important}.nexus-profile-actions-v230 button{flex:1}.nexus-profile-close-v230{right:12px!important;top:12px!important}\n body.senvo-nexus-v230 .nexus-voice-stage-v230{grid-template-columns:36px minmax(0,1fr) 36px!important;grid-template-areas:"prev orb next" "copy copy copy"!important;min-height:0!important;padding:15px!important}.nexus-voice-stage-v230 #voicePrevButton{grid-area:prev}.nexus-voice-orb-wrap-v230{grid-area:orb}.nexus-voice-stage-v230 #voiceNextButton{grid-area:next}.nexus-voice-copy-v230{grid-area:copy;align-items:center!important;text-align:center!important;padding-top:4px}.nexus-voice-stage-v230 .voice-orb-v209{width:104px!important;height:104px!important}.nexus-voice-meta-v230{justify-content:center}.nexus-voice-preview-line-v230{text-align:center}.nexus-voice-copy-v230 .voice-dots-v209{justify-content:center}.nexus-voice-controls-v230{padding:0 10px}\n}\n@media(max-width:390px){.nexus-mode-head-v230>strong{font-size:18px}.nexus-profile-summary-v230>div{display:none}.nexus-profile-banner-copy-v230>small{display:none}.nexus-profile-identity-v230{grid-template-columns:100px minmax(0,1fr)}}\n@media(prefers-reduced-motion:reduce){body.senvo-nexus-v230 .nexus-nav-card-v230,body.senvo-nexus-v230 .nexus-nav-card-v230 .nav-icon,body.senvo-nexus-v230 .nexus-mode-card-v230{transition:none!important;transform:none!important}}\n

/* ==========================================================================
   V0.23.1 — Voice Constellation / responsive Soundstage
   A non-orb, signal-ribbon voice experience with hard overflow containment.
   ========================================================================== */
body.senvo-nexus-v230 .constellation-voice-panel-v231{min-width:0!important;width:100%!important;max-width:100%!important;overflow:clip!important;container-type:inline-size}
body.senvo-nexus-v230 .constellation-voice-panel-v231 *{box-sizing:border-box;min-width:0}
.voice-heading-v231{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important}
.voice-engine-badge-v231{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;border:1px solid var(--n230-line);background:var(--n230-card);color:var(--n230-muted);border-radius:999px;padding:8px 11px;font-size:9px;font-weight:850;letter-spacing:.02em}.voice-engine-badge-v231 i{width:8px;height:8px;border-radius:50%;background:#23c985;box-shadow:0 0 0 4px rgba(35,201,133,.12)}
.voice-stage-v231{position:relative;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(240px,.92fr);gap:16px;width:100%;max-width:100%;overflow:hidden;padding:18px;border:1px solid var(--n230-line);border-radius:26px;background:linear-gradient(145deg,color-mix(in srgb,var(--n230-card) 96%,#fff),color-mix(in srgb,var(--n230-soft) 92%,#6478ff 8%));box-shadow:0 18px 42px rgba(37,55,92,.08)}
.voice-stage-v231::before{content:"";position:absolute;width:280px;height:280px;border-radius:50%;right:-100px;top:-150px;background:radial-gradient(circle,rgba(88,107,255,.16),rgba(55,194,217,.06) 42%,transparent 70%);pointer-events:none}
.voice-identity-v231{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;padding:4px 4px 2px;max-width:100%}.voice-identity-top-v231{width:100%;display:flex;align-items:center;gap:7px;margin-bottom:8px}.voice-status-dot-v231{width:8px;height:8px;border-radius:50%;background:#6478ff;box-shadow:0 0 0 5px rgba(100,120,255,.11)}.voice-kicker-v231{font-size:9px;letter-spacing:.15em;text-transform:uppercase;font-weight:900;color:var(--n230-muted)}.voice-position-v231{margin-left:auto;font-size:9px;font-weight:800;color:var(--n230-muted)}
.voice-name-v231{font-size:clamp(24px,3.2vw,34px);line-height:1.03;color:var(--n230-ink);letter-spacing:-.035em}.voice-description-v231{display:block;margin-top:7px;color:var(--n230-muted);font-size:12px;line-height:1.45;max-width:55ch}.voice-meta-v231{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin-top:12px!important}.voice-meta-v231 span{padding:6px 9px!important;border:1px solid var(--n230-line)!important;border-radius:999px!important;background:var(--n230-soft)!important;color:var(--n230-muted)!important;font-size:8.5px!important;font-weight:780!important}.voice-preview-line-v231{margin:12px 0 14px;max-width:58ch;color:var(--n230-muted);font-size:10.5px;line-height:1.55}
.voice-preview-console-v231{width:min(100%,310px);display:grid;grid-template-columns:44px minmax(0,1fr) 26px;align-items:center;gap:10px;border:1px solid color-mix(in srgb,var(--n230-blue) 24%,var(--n230-line));border-radius:17px;background:linear-gradient(135deg,color-mix(in srgb,var(--n230-blue) 7%,var(--n230-card)),color-mix(in srgb,var(--n230-violet) 8%,var(--n230-card)));color:var(--n230-ink);padding:9px 11px;text-align:left;cursor:pointer;box-shadow:0 9px 22px rgba(64,81,160,.08);transition:transform .22s cubic-bezier(.2,.8,.2,1),box-shadow .22s ease,border-color .22s ease}.voice-preview-console-v231:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--n230-blue) 52%,var(--n230-line));box-shadow:0 15px 28px rgba(64,81,160,.14)}.voice-preview-console-v231>span:nth-child(2){display:flex;flex-direction:column;gap:2px}.voice-preview-console-v231 b{font-size:11px}.voice-preview-console-v231 small{font-size:8.7px;color:var(--n230-muted)}.voice-preview-console-v231>em{font-style:normal;font-size:12px;color:var(--n230-blue);justify-self:end}.voice-preview-icon-v231{width:44px;height:38px;border-radius:13px;display:flex;align-items:center;justify-content:center;gap:3px;background:linear-gradient(145deg,#5875ff,#765af6);box-shadow:inset 0 0 14px rgba(255,255,255,.16),0 8px 18px rgba(84,94,220,.18)}.voice-preview-icon-v231 i{display:block;width:3px;height:10px;border-radius:99px;background:#fff;opacity:.92}.voice-preview-icon-v231 i:nth-child(2){height:19px}.voice-preview-icon-v231 i:nth-child(3){height:26px}.voice-preview-icon-v231 i:nth-child(4){height:16px}.voice-preview-icon-v231 i:nth-child(5){height:8px}
.voice-preview-console-v231.is-previewing .voice-preview-icon-v231 i{animation:v231PreviewBars .62s ease-in-out infinite alternate}.voice-preview-console-v231.is-previewing .voice-preview-icon-v231 i:nth-child(2){animation-delay:.09s}.voice-preview-console-v231.is-previewing .voice-preview-icon-v231 i:nth-child(3){animation-delay:.17s}.voice-preview-console-v231.is-previewing .voice-preview-icon-v231 i:nth-child(4){animation-delay:.25s}.voice-preview-console-v231.is-previewing .voice-preview-icon-v231 i:nth-child(5){animation-delay:.33s}
.voice-signal-v231{position:relative;z-index:1;min-height:210px;border:1px solid color-mix(in srgb,var(--n230-blue) 14%,var(--n230-line));border-radius:22px;background:linear-gradient(180deg,color-mix(in srgb,var(--n230-soft) 68%,transparent),color-mix(in srgb,var(--n230-card) 88%,transparent));overflow:hidden;display:flex;align-items:center;justify-content:center;padding:18px}.voice-signal-v231::before,.voice-signal-v231::after{content:"";position:absolute;border-radius:50%;filter:blur(1px);opacity:.28}.voice-signal-v231::before{width:140px;height:140px;background:radial-gradient(circle,#657cff,transparent 67%);left:-55px;top:-35px}.voice-signal-v231::after{width:150px;height:150px;background:radial-gradient(circle,#18b9c7,transparent 67%);right:-55px;bottom:-45px}.voice-signal-core-v231{height:108px;width:min(100%,310px);display:flex;align-items:center;justify-content:center;gap:8px;transform:skewX(-7deg)}.voice-signal-core-v231 span{width:9px;height:28%;border-radius:8px;background:linear-gradient(180deg,#21c5d5,#6377ff 56%,#8a5cf4);box-shadow:0 0 20px rgba(91,107,255,.22);transition:height .25s ease}.voice-signal-core-v231 span:nth-child(2){height:48%}.voice-signal-core-v231 span:nth-child(3){height:73%}.voice-signal-core-v231 span:nth-child(4){height:42%}.voice-signal-core-v231 span:nth-child(5){height:89%}.voice-signal-core-v231 span:nth-child(6){height:60%}.voice-signal-core-v231 span:nth-child(7){height:36%}.voice-signal-core-v231 span:nth-child(8){height:68%}.voice-signal-core-v231 span:nth-child(9){height:31%}.voice-stage-v231.is-speaking .voice-signal-core-v231 span{animation:v231Signal 1.05s cubic-bezier(.45,.05,.55,.95) infinite alternate}.voice-stage-v231.is-speaking .voice-signal-core-v231 span:nth-child(2){animation-delay:-.2s}.voice-stage-v231.is-speaking .voice-signal-core-v231 span:nth-child(3){animation-delay:-.47s}.voice-stage-v231.is-speaking .voice-signal-core-v231 span:nth-child(4){animation-delay:-.12s}.voice-stage-v231.is-speaking .voice-signal-core-v231 span:nth-child(5){animation-delay:-.63s}.voice-stage-v231.is-speaking .voice-signal-core-v231 span:nth-child(6){animation-delay:-.31s}.voice-stage-v231.is-speaking .voice-signal-core-v231 span:nth-child(7){animation-delay:-.71s}.voice-stage-v231.is-speaking .voice-signal-core-v231 span:nth-child(8){animation-delay:-.38s}.voice-signal-label-v231{position:absolute;left:15px;bottom:13px;display:flex;flex-direction:column;gap:1px}.voice-signal-label-v231 b{font-size:8px;letter-spacing:.18em;color:var(--n230-ink)}.voice-signal-label-v231 span{font-size:8px;color:var(--n230-muted)}
.voice-catalog-v231{margin-top:12px;width:100%;max-width:100%;border:1px solid var(--n230-line);border-radius:21px;background:var(--n230-card);padding:14px;overflow:hidden}.voice-catalog-head-v231{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.voice-catalog-head-v231>div:first-child{display:flex;flex-direction:column;gap:2px}.voice-catalog-head-v231 span{font-size:8px;letter-spacing:.13em;text-transform:uppercase;color:var(--n230-muted);font-weight:900}.voice-catalog-head-v231 strong{font-size:13px;color:var(--n230-ink)}.voice-catalog-head-v231>div:last-child{display:flex;gap:6px}.voice-rail-arrow-v231{width:32px;height:32px;border-radius:11px;border:1px solid var(--n230-line);background:var(--n230-soft);color:var(--n230-ink);cursor:pointer}.voice-rail-arrow-v231:hover{border-color:color-mix(in srgb,var(--n230-blue) 38%,var(--n230-line));color:var(--n230-blue)}
.voice-rail-v231{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:2px 2px 7px;scrollbar-width:thin}.voice-choice-v231{scroll-snap-align:start;flex:0 0 clamp(170px,31%,230px);min-height:72px;display:grid;grid-template-columns:36px minmax(0,1fr) 18px;align-items:center;gap:9px;padding:9px;border:1px solid var(--n230-line);border-radius:16px;background:var(--n230-soft);color:var(--n230-ink);text-align:left;cursor:pointer;transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease}.voice-choice-v231:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--n230-blue) 30%,var(--n230-line));box-shadow:0 8px 18px rgba(54,72,120,.07)}.voice-choice-v231.selected{background:linear-gradient(145deg,color-mix(in srgb,var(--n230-blue) 10%,var(--n230-card)),color-mix(in srgb,var(--n230-violet) 7%,var(--n230-card)));border-color:color-mix(in srgb,var(--n230-blue) 42%,var(--n230-line))}.voice-choice-monogram-v231{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#5775ff,#835df4);color:#fff;font-weight:900;font-size:13px;box-shadow:0 7px 16px rgba(76,93,210,.18)}.voice-choice-copy-v231{display:flex;flex-direction:column;gap:3px}.voice-choice-copy-v231 b{font-size:10.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.voice-choice-copy-v231 small{font-size:8.2px;color:var(--n230-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.voice-choice-v231>i{font-style:normal;color:var(--n230-blue);font-size:11px}.voice-dots-v231{margin:7px 0 0!important;justify-content:center}.voice-dots-v231 i{width:6px!important;height:6px!important}
.voice-controls-v231{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px;width:100%;max-width:100%}.voice-control-card-v231{display:grid;grid-template-columns:38px minmax(0,1fr);gap:9px;align-items:start;padding:13px;border:1px solid var(--n230-line);border-radius:18px;background:var(--n230-card);min-width:0}.voice-control-icon-v231{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:color-mix(in srgb,var(--n230-blue) 8%,var(--n230-soft));color:var(--n230-blue);border:1px solid color-mix(in srgb,var(--n230-blue) 12%,var(--n230-line))}.voice-control-icon-v231 svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.voice-control-card-v231>span:nth-child(2){display:flex;flex-direction:column;gap:3px}.voice-control-card-v231 b{font-size:10.5px;color:var(--n230-ink)}.voice-control-card-v231 small{font-size:8.7px;line-height:1.4;color:var(--n230-muted)}.voice-control-card-v231 select{grid-column:1/-1;width:100%!important;max-width:none!important;margin-top:3px}
@keyframes v231PreviewBars{from{transform:scaleY(.45);opacity:.68}to{transform:scaleY(1.15);opacity:1}}@keyframes v231Signal{0%{transform:scaleY(.55);filter:hue-rotate(0deg)}100%{transform:scaleY(1.12);filter:hue-rotate(18deg)}}
body[data-theme="dark"].senvo-nexus-v230 .voice-stage-v231{background:linear-gradient(145deg,#111d2c,#101827)}body[data-theme="dark"].senvo-nexus-v230 .voice-signal-v231{background:linear-gradient(180deg,#142136,#0f1827)}
@container (max-width:620px){.voice-stage-v231{grid-template-columns:1fr}.voice-signal-v231{min-height:150px}.voice-controls-v231{grid-template-columns:1fr}.voice-choice-v231{flex-basis:min(82%,230px)}}
@media(max-width:760px){.voice-heading-v231{flex-direction:column!important}.voice-engine-badge-v231{align-self:flex-start}.voice-stage-v231{grid-template-columns:1fr!important;padding:14px!important;border-radius:22px}.voice-signal-v231{min-height:140px}.voice-signal-core-v231{height:78px}.voice-identity-v231{align-items:stretch}.voice-preview-console-v231{width:100%;max-width:none}.voice-catalog-v231{padding:12px}.voice-choice-v231{flex-basis:min(82vw,235px)}.voice-controls-v231{grid-template-columns:1fr}.voice-name-v231{font-size:27px}.voice-preview-line-v231{font-size:10px}}
@media(max-width:420px){.voice-stage-v231{padding:12px!important}.voice-catalog-head-v231{align-items:flex-end}.voice-choice-v231{flex-basis:84%}.voice-control-card-v231{padding:11px}.voice-engine-badge-v231{display:none}}
@media(prefers-reduced-motion:reduce){.voice-preview-console-v231,.voice-choice-v231{transition:none!important}.voice-preview-console-v231.is-previewing .voice-preview-icon-v231 i,.voice-stage-v231.is-speaking .voice-signal-core-v231 span{animation:none!important}}

/* ==========================================================================
   V0.23.2 — Voice Lab / Presence Path
   Distinct SenvoAI speech workspace. No orb or assistant-avatar animation.
   ========================================================================== */
.voice-lab-v232{container-type:inline-size;min-width:0;overflow-x:hidden!important}
.voice-heading-v232{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;min-width:0}
.voice-heading-v232>div{min-width:0;max-width:720px}.voice-heading-v232 h2{margin-bottom:4px!important}
.voice-engine-badge-v232{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:7px 11px;border:1px solid color-mix(in srgb,var(--n230-cyan) 28%,var(--n230-line));border-radius:999px;background:color-mix(in srgb,var(--n230-cyan) 7%,var(--n230-card));color:var(--n230-ink);font-size:9px;font-weight:800;white-space:nowrap}
.voice-engine-badge-v232 i{width:8px;height:8px;border-radius:50%;background:#21c792;box-shadow:0 0 0 5px rgba(33,199,146,.09)}

.voice-console-v232{display:grid;grid-template-columns:minmax(0,1.03fr) minmax(280px,.97fr);gap:14px;width:100%;max-width:100%;min-width:0;margin-top:12px}
.voice-profile-card-v232,.voice-route-card-v232,.voice-browser-v232,.voice-control-card-v232,.voice-note-v232{min-width:0;border:1px solid var(--n230-line);background:var(--n230-card);box-shadow:0 12px 34px rgba(34,52,88,.055)}
.voice-profile-card-v232{position:relative;overflow:hidden;border-radius:26px;padding:18px;background:linear-gradient(150deg,color-mix(in srgb,var(--n230-blue) 6%,var(--n230-card)),var(--n230-card) 56%,color-mix(in srgb,var(--n230-violet) 5%,var(--n230-card)))}
.voice-profile-card-v232::after{content:"";position:absolute;right:-90px;top:-120px;width:250px;height:250px;border-radius:50%;background:radial-gradient(circle,rgba(83,104,255,.15),transparent 67%);pointer-events:none}
.voice-profile-top-v232{position:relative;z-index:1;display:flex;align-items:center;gap:7px;color:var(--n230-muted);font-size:8px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.voice-status-dot-v232{width:8px;height:8px;border-radius:50%;background:#20c895;box-shadow:0 0 0 4px rgba(32,200,149,.09)}.voice-position-v232{margin-left:auto;letter-spacing:.02em;text-transform:none;font-weight:750}
.voice-profile-main-v232{position:relative;z-index:1;display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:12px;margin:18px 0 11px}.voice-letter-v232{width:52px;height:52px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(145deg,#4e76ff,#845cf5 68%,#2fc8d3);box-shadow:0 10px 25px rgba(77,91,215,.22),inset 0 0 18px rgba(255,255,255,.16);color:#fff}.voice-letter-v232 span{font-size:19px;font-weight:950;letter-spacing:-.03em}.voice-profile-copy-v232{min-width:0;display:flex;flex-direction:column;gap:3px}.voice-profile-copy-v232 strong{font-size:clamp(24px,4vw,36px);line-height:1;letter-spacing:-.04em;color:var(--n230-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.voice-profile-copy-v232 small{font-size:10px;line-height:1.4;color:var(--n230-muted);overflow-wrap:anywhere}
.voice-meta-v232{position:relative;z-index:1;display:flex!important;gap:6px!important;flex-wrap:wrap!important;margin:0!important}.voice-meta-v232 span{min-height:28px!important;padding:6px 9px!important;border-radius:999px!important;background:var(--n230-soft)!important;border:1px solid var(--n230-line)!important;font-size:8.5px!important;font-weight:760!important;color:var(--n230-ink)!important}
.voice-preview-line-v232{position:relative;z-index:1;margin:13px 0 12px;padding:11px 12px;border-left:3px solid color-mix(in srgb,var(--n230-blue) 70%,var(--n230-violet));border-radius:0 12px 12px 0;background:color-mix(in srgb,var(--n230-blue) 4%,var(--n230-soft));color:var(--n230-muted);font-size:10px;line-height:1.45;font-style:normal;overflow-wrap:anywhere}
.voice-test-button-v232{position:relative;z-index:1;width:100%;min-height:60px;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid color-mix(in srgb,var(--n230-blue) 22%,var(--n230-line));border-radius:18px;background:linear-gradient(135deg,color-mix(in srgb,var(--n230-blue) 8%,var(--n230-card)),color-mix(in srgb,var(--n230-cyan) 6%,var(--n230-card)));color:var(--n230-ink);padding:8px 10px;text-align:left;cursor:pointer;transition:transform .22s cubic-bezier(.2,.8,.2,1),box-shadow .22s ease,border-color .22s ease}.voice-test-button-v232:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--n230-blue) 46%,var(--n230-line));box-shadow:0 14px 30px rgba(53,76,150,.12)}.voice-test-button-v232>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:2px}.voice-test-button-v232 b{font-size:11px}.voice-test-button-v232 small{font-size:8.7px;color:var(--n230-muted)}.voice-test-button-v232>em{font-style:normal;min-width:52px;padding:7px 9px;border-radius:12px;background:var(--n230-card);border:1px solid var(--n230-line);text-align:center;font-size:8.5px;font-weight:850;color:var(--n230-blue)}.voice-test-glyph-v232{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:4px;background:#14203a;box-shadow:inset 0 0 0 1px rgba(255,255,255,.07),0 8px 18px rgba(28,42,72,.18)}.voice-test-glyph-v232 i{display:block;width:4px;border-radius:99px;background:linear-gradient(180deg,#33d4db,#7484ff);height:12px;transform-origin:center}.voice-test-glyph-v232 i:nth-child(2){height:24px}.voice-test-glyph-v232 i:nth-child(3){height:17px}.voice-test-button-v232.is-previewing .voice-test-glyph-v232 i{animation:v232Glyph .55s ease-in-out infinite alternate}.voice-test-button-v232.is-previewing .voice-test-glyph-v232 i:nth-child(2){animation-delay:-.18s}.voice-test-button-v232.is-previewing .voice-test-glyph-v232 i:nth-child(3){animation-delay:-.31s}

.voice-route-card-v232{position:relative;overflow:hidden;border-radius:26px;padding:16px;background:linear-gradient(160deg,#0f1a2c,#12213a 55%,#102b36);color:#eef4ff}.voice-route-card-v232::before{content:"";position:absolute;inset:-70px -70px auto auto;width:210px;height:210px;border-radius:50%;background:radial-gradient(circle,rgba(72,108,255,.28),transparent 70%)}.voice-route-card-v232::after{content:"";position:absolute;inset:auto auto -90px -80px;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,rgba(34,211,204,.16),transparent 70%)}
.voice-route-head-v232{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px}.voice-route-head-v232 span{font-size:7.5px;letter-spacing:.16em;font-weight:900;color:#8290ab}.voice-route-head-v232 b{font-size:10px;color:#eef4ff}
.voice-route-board-v232{position:relative;z-index:2;min-height:190px;margin-top:9px;border-radius:20px;border:1px solid rgba(255,255,255,.09);background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,.01)),repeating-linear-gradient(90deg,transparent 0 49px,rgba(255,255,255,.035) 50px);overflow:hidden;padding:18px 14px}.voice-route-board-v232::after{content:"";position:absolute;left:50%;top:18px;bottom:18px;width:1px;background:linear-gradient(transparent,rgba(115,133,255,.45),transparent)}
.voice-route-lane-v232{position:relative;height:28px;margin:4px 0;border-radius:20px;border:1px solid rgba(255,255,255,.06);background:linear-gradient(90deg,rgba(60,91,176,.12),rgba(30,199,193,.05))}.voice-route-lane-v232::before{content:"";position:absolute;left:11px;right:11px;top:50%;height:1px;background:linear-gradient(90deg,rgba(85,117,255,.2),rgba(46,215,207,.5),rgba(130,95,247,.2))}.voice-route-lane-v232 i{position:absolute;top:50%;width:8px;height:8px;margin-top:-4px;border-radius:50%;background:#6d82ff;box-shadow:0 0 13px rgba(109,130,255,.9)}.voice-route-lane-v232 i:nth-child(1){left:11%}.voice-route-lane-v232 i:nth-child(2){left:47%;background:#2ed4cf;box-shadow:0 0 13px rgba(46,212,207,.9)}.voice-route-lane-v232 i:nth-child(3){left:82%;background:#8b65f2;box-shadow:0 0 13px rgba(139,101,242,.9)}.voice-route-lane-v232.lane-b{margin-left:6%}.voice-route-lane-v232.lane-c{margin-right:9%}.voice-route-lane-v232.lane-d{margin-left:12%}
.voice-route-focus-v232{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:94px;height:74px;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:rgba(15,25,45,.92);border:1px solid rgba(116,136,255,.42);box-shadow:0 0 0 6px rgba(91,108,255,.05),0 18px 38px rgba(0,0,0,.22);z-index:3}.voice-route-focus-v232 span{width:20px;height:5px;border-radius:99px;background:linear-gradient(90deg,#3bd0d7,#7882ff,#9a64f3);margin-bottom:7px}.voice-route-focus-v232 b{font-size:11px}.voice-route-focus-v232 small{font-size:7.5px;color:#8795ad}.voice-console-v232.is-speaking .voice-route-lane-v232 i{animation:v232Node 1.8s cubic-bezier(.45,0,.55,1) infinite alternate}.voice-console-v232.is-speaking .voice-route-lane-v232 i:nth-child(2){animation-delay:-.6s}.voice-console-v232.is-speaking .voice-route-lane-v232 i:nth-child(3){animation-delay:-1.1s}.voice-console-v232.is-speaking .lane-b i{animation-duration:1.45s}.voice-console-v232.is-speaking .lane-c i{animation-duration:2.05s}.voice-console-v232.is-speaking .lane-d i{animation-duration:1.65s}.voice-route-legend-v232{position:relative;z-index:2;display:flex;gap:13px;flex-wrap:wrap;margin-top:10px}.voice-route-legend-v232 span{display:inline-flex;align-items:center;gap:5px;font-size:7.7px;color:#93a0b6}.voice-route-legend-v232 i{width:6px;height:6px;border-radius:50%;background:#7584ff}.voice-route-legend-v232 span:nth-child(2) i{background:#33d2ce}.voice-route-legend-v232 span:nth-child(3) i{background:#9067f1}

.voice-browser-v232{margin-top:12px;border-radius:22px;padding:14px;overflow:hidden}.voice-browser-head-v232{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:11px}.voice-browser-head-v232>div:first-child{min-width:0;display:flex;flex-direction:column;gap:2px}.voice-browser-head-v232 span{font-size:8px;letter-spacing:.14em;text-transform:uppercase;color:var(--n230-muted);font-weight:900}.voice-browser-head-v232 strong{font-size:13px;color:var(--n230-ink)}.voice-browser-head-v232 small{font-size:8.5px;color:var(--n230-muted);line-height:1.35}.voice-browser-arrows-v232{display:flex;gap:6px;flex:0 0 auto}.voice-browser-arrows-v232 button{width:34px;height:34px;border-radius:12px;border:1px solid var(--n230-line);background:var(--n230-soft);color:var(--n230-ink);font-weight:900;cursor:pointer;transition:transform .18s ease,border-color .18s ease}.voice-browser-arrows-v232 button:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--n230-blue) 42%,var(--n230-line));color:var(--n230-blue)}
.voice-grid-v232{display:flex;gap:8px;width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:2px 2px 8px;scrollbar-width:thin}.voice-choice-v232{scroll-snap-align:start;flex:0 0 clamp(178px,30%,235px);min-height:90px;display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:7px 9px;padding:11px;border:1px solid var(--n230-line);border-radius:18px;background:var(--n230-soft);color:var(--n230-ink);text-align:left;cursor:pointer;transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease;overflow:hidden}.voice-choice-v232:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--n230-blue) 30%,var(--n230-line));box-shadow:0 9px 20px rgba(54,72,120,.08)}.voice-choice-v232.selected{background:linear-gradient(145deg,color-mix(in srgb,var(--n230-blue) 11%,var(--n230-card)),color-mix(in srgb,var(--n230-cyan) 6%,var(--n230-card)));border-color:color-mix(in srgb,var(--n230-blue) 46%,var(--n230-line));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--n230-blue) 8%,transparent)}.voice-choice-monogram-v232{grid-row:1/span 2;width:40px;height:40px;border-radius:14px;display:grid;place-items:center;background:#15213a;color:#fff;font-weight:950;font-size:13px;box-shadow:0 7px 16px rgba(25,38,72,.15)}.voice-choice-copy-v232{min-width:0;display:flex;flex-direction:column;gap:3px}.voice-choice-copy-v232 b{font-size:10.8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.voice-choice-copy-v232 small{font-size:8.2px;color:var(--n230-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.voice-choice-state-v232{grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:6px}.voice-choice-state-v232 span{font-size:7.5px;color:var(--n230-muted);font-weight:760}.voice-choice-state-v232 i{font-style:normal;color:var(--n230-blue);font-size:9px;font-weight:900}.voice-dots-v232{justify-content:center!important;margin:7px 0 0!important}.voice-dots-v232 i{width:6px!important;height:6px!important}

.voice-controls-v232{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px;width:100%;max-width:100%;min-width:0}.voice-control-card-v232{display:grid;grid-template-columns:40px minmax(0,1fr);gap:9px;align-items:start;padding:13px;border-radius:19px}.voice-control-icon-v232{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:color-mix(in srgb,var(--n230-blue) 8%,var(--n230-soft));color:var(--n230-blue);border:1px solid color-mix(in srgb,var(--n230-blue) 12%,var(--n230-line))}.voice-control-icon-v232 svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.voice-control-card-v232>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:3px}.voice-control-card-v232 b{font-size:10.5px;color:var(--n230-ink)}.voice-control-card-v232 small{font-size:8.7px;line-height:1.4;color:var(--n230-muted)}.voice-control-card-v232 select{grid-column:1/-1;width:100%!important;max-width:none!important;margin-top:3px}
.voice-note-v232{display:flex;align-items:flex-start;gap:10px;margin-top:10px;border-radius:16px;padding:11px 13px;background:color-mix(in srgb,var(--n230-cyan) 5%,var(--n230-card))}.voice-note-v232 strong{font-size:9px;color:var(--n230-ink);white-space:nowrap}.voice-note-v232 span{font-size:8.5px;line-height:1.4;color:var(--n230-muted)}

body[data-theme="dark"].senvo-nexus-v230 .voice-profile-card-v232,body[data-theme="dark"].senvo-nexus-v230 .voice-browser-v232,body[data-theme="dark"].senvo-nexus-v230 .voice-control-card-v232,body[data-theme="dark"].senvo-nexus-v230 .voice-note-v232{background:#111c2a;border-color:#26364c}.senvo-nexus-v230[data-theme="dark"] .voice-profile-card-v232{background:linear-gradient(150deg,#122038,#111b2a 56%,#171a31)}.senvo-nexus-v230[data-theme="dark"] .voice-choice-v232{background:#0e1825;border-color:#29394f}.senvo-nexus-v230[data-theme="dark"] .voice-choice-v232.selected{background:linear-gradient(145deg,#162543,#151d33)}

@keyframes v232Glyph{from{transform:scaleY(.48);opacity:.68}to{transform:scaleY(1.16);opacity:1}}@keyframes v232Node{0%{transform:translateX(-6px) scale(.82);opacity:.55}50%{opacity:1}100%{transform:translateX(18px) scale(1.22);opacity:.82}}
@container (max-width:700px){.voice-console-v232{grid-template-columns:1fr}.voice-route-board-v232{min-height:160px}.voice-controls-v232{grid-template-columns:1fr}.voice-choice-v232{flex-basis:min(78%,235px)}}
@media(max-width:760px){.voice-heading-v232{flex-direction:column!important}.voice-engine-badge-v232{align-self:flex-start}.voice-console-v232{grid-template-columns:1fr!important}.voice-profile-card-v232,.voice-route-card-v232{border-radius:22px;padding:14px}.voice-route-board-v232{min-height:150px}.voice-profile-main-v232{grid-template-columns:46px minmax(0,1fr);margin:14px 0 10px}.voice-letter-v232{width:46px;height:46px;border-radius:15px}.voice-profile-copy-v232 strong{font-size:26px}.voice-test-button-v232{grid-template-columns:42px minmax(0,1fr) auto}.voice-test-glyph-v232{width:42px;height:42px}.voice-browser-v232{padding:12px}.voice-browser-head-v232{align-items:flex-start}.voice-browser-head-v232 small{display:none}.voice-choice-v232{flex-basis:min(82vw,235px)}.voice-controls-v232{grid-template-columns:1fr}.voice-note-v232{flex-direction:column;gap:3px}.voice-note-v232 strong{white-space:normal}}
@media(max-width:430px){.voice-profile-card-v232,.voice-route-card-v232{padding:12px}.voice-route-card-v232{display:none}.voice-browser-head-v232{align-items:center}.voice-browser-arrows-v232 button{width:32px;height:32px}.voice-choice-v232{flex-basis:86%;min-height:84px}.voice-test-button-v232>em{min-width:46px;padding:6px;font-size:8px}.voice-control-card-v232{padding:11px}.voice-engine-badge-v232{display:none}}
@media(prefers-reduced-motion:reduce){.voice-test-button-v232,.voice-choice-v232,.voice-browser-arrows-v232 button{transition:none!important}.voice-test-button-v232.is-previewing .voice-test-glyph-v232 i,.voice-console-v232.is-speaking .voice-route-lane-v232 i{animation:none!important}}


/* ========================================================================== */
/* SenvoAI V0.23.4 — Voice Canvas Recovery                                    */
/* A fresh, isolated voice layout. It does not inherit any V0.23.1/V0.23.2   */
/* grid/container sizing, preventing the thin vertical strip regression.      */
/* ========================================================================== */
#settingsModal .voice-panel-v234{
  width:100%!important;max-width:840px!important;min-width:0!important;
  margin:0 auto!important;padding:0 4px 18px 0!important;
  overflow-y:auto!important;overflow-x:hidden!important;
  container-type:normal!important;contain:none!important;transform:none!important;
  justify-self:stretch!important;align-self:start!important;
}
#settingsModal .voice-panel-v234 *{box-sizing:border-box;min-width:0}
#settingsModal .voice-heading-v234{width:100%!important;max-width:none!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important}
.voice-status-v234{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;min-height:34px;padding:7px 11px;border-radius:999px;border:1px solid color-mix(in srgb,var(--accent) 18%,var(--deck-line));background:color-mix(in srgb,var(--accent) 5%,var(--deck-card));font-size:9px;font-weight:800;color:var(--deck-text);white-space:nowrap}.voice-status-v234 i{width:8px;height:8px;border-radius:50%;background:#1fc98f;box-shadow:0 0 0 5px rgba(31,201,143,.09)}
.voice-hero-v234{width:100%;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(250px,.75fr);gap:12px;margin:0 0 12px}
.voice-selected-v234,.voice-preview-v234,.voice-library-v234,.voice-control-v234,.voice-note-v234{width:100%;border:1px solid var(--deck-line);background:var(--deck-card);color:var(--deck-text);box-shadow:0 8px 24px rgba(25,42,73,.05)}
.voice-selected-v234{border-radius:22px;padding:18px;overflow:hidden;background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 7%,var(--deck-card)),var(--deck-card) 52%,color-mix(in srgb,#2dcbd0 4%,var(--deck-card)))}
.voice-selected-top-v234{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:8px;letter-spacing:.12em;text-transform:uppercase;color:var(--deck-faint);font-weight:850}.voice-selected-top-v234 b{font-size:8px;letter-spacing:0;text-transform:none;color:var(--deck-muted)}
.voice-selected-main-v234{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:13px;margin:18px 0 12px}.voice-avatar-v234{position:relative;width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(145deg,#455df5,#765cf5 58%,#2fcbd1);color:white;box-shadow:0 12px 28px rgba(71,87,219,.23)}.voice-avatar-v234 span{font-size:22px;font-weight:950}.voice-avatar-v234 i{position:absolute;right:-3px;bottom:-3px;width:16px;height:16px;border:4px solid var(--deck-card);border-radius:50%;background:#22c893}
.voice-selected-copy-v234{display:flex;flex-direction:column;gap:5px}.voice-selected-copy-v234 strong{font-size:clamp(25px,3vw,35px);line-height:1;letter-spacing:-.04em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.voice-selected-copy-v234 span{font-size:10px;color:var(--deck-muted);line-height:1.45;overflow-wrap:anywhere}
.voice-tags-v234{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin:0!important}.voice-tags-v234 span{min-height:28px!important;padding:6px 9px!important;border-radius:999px!important;border:1px solid var(--deck-line)!important;background:var(--deck-soft)!important;color:var(--deck-text)!important;font-size:8.5px!important;font-weight:760!important}
.voice-preview-line-v234{margin:13px 0 0;padding:10px 12px;border-radius:13px;background:var(--deck-soft);color:var(--deck-muted);font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.voice-preview-v234{position:relative;border-radius:22px;padding:16px;display:grid;grid-template-rows:minmax(150px,1fr) auto;gap:10px;overflow:hidden;background:linear-gradient(160deg,#0f1a2c,#12213a 55%,#102b36);color:#f4f7ff}.voice-preview-v234::before{content:"";position:absolute;inset:-80px -60px auto auto;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(84,112,255,.28),transparent 70%);pointer-events:none}.voice-preview-v234::after{content:"";position:absolute;left:-90px;bottom:-110px;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,rgba(36,211,205,.17),transparent 70%);pointer-events:none}
.voice-wavefield-v234{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:8px;min-height:150px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:repeating-linear-gradient(90deg,transparent 0 37px,rgba(255,255,255,.035) 38px),rgba(255,255,255,.025);overflow:hidden}.voice-wavefield-v234 span{width:7px;border-radius:999px;background:linear-gradient(180deg,#36d6d9,#7482ff 55%,#9a66f3);box-shadow:0 0 18px rgba(99,124,255,.35);height:32px;transform-origin:center}.voice-wavefield-v234 span:nth-child(2){height:58px}.voice-wavefield-v234 span:nth-child(3){height:82px}.voice-wavefield-v234 span:nth-child(4){height:112px}.voice-wavefield-v234 span:nth-child(5){height:76px}.voice-wavefield-v234 span:nth-child(6){height:48px}.voice-wavefield-v234 span:nth-child(7){height:27px}.voice-hero-v234.is-speaking .voice-wavefield-v234 span{animation:v234Wave .58s ease-in-out infinite alternate}.voice-hero-v234.is-speaking .voice-wavefield-v234 span:nth-child(2){animation-delay:-.15s}.voice-hero-v234.is-speaking .voice-wavefield-v234 span:nth-child(3){animation-delay:-.32s}.voice-hero-v234.is-speaking .voice-wavefield-v234 span:nth-child(4){animation-delay:-.47s}.voice-hero-v234.is-speaking .voice-wavefield-v234 span:nth-child(5){animation-delay:-.21s}.voice-hero-v234.is-speaking .voice-wavefield-v234 span:nth-child(6){animation-delay:-.39s}
.voice-preview-button-v234{position:relative;z-index:2;width:100%;min-height:58px;display:grid;grid-template-columns:42px minmax(0,1fr) 32px;align-items:center;gap:10px;padding:8px 10px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:rgba(255,255,255,.07);color:#fff;text-align:left;cursor:pointer}.voice-preview-icon-v234{width:42px;height:42px;border-radius:13px;display:flex;align-items:center;justify-content:center;gap:3px;background:rgba(255,255,255,.08)}.voice-preview-icon-v234 i{width:4px;height:12px;border-radius:99px;background:linear-gradient(#31d4da,#8490ff)}.voice-preview-icon-v234 i:nth-child(2){height:23px}.voice-preview-icon-v234 i:nth-child(3){height:16px}.voice-preview-button-v234>span:nth-child(2){display:flex;flex-direction:column;gap:2px}.voice-preview-button-v234 b{font-size:11px}.voice-preview-button-v234 small{font-size:8.5px;color:#9eabc0}.voice-preview-button-v234 em{font-style:normal;width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#fff;color:#17223a;font-size:10px}.voice-preview-button-v234.is-previewing .voice-preview-icon-v234 i{animation:v234Bars .5s ease-in-out infinite alternate}.voice-preview-button-v234.is-previewing .voice-preview-icon-v234 i:nth-child(2){animation-delay:-.18s}.voice-preview-button-v234.is-previewing .voice-preview-icon-v234 i:nth-child(3){animation-delay:-.31s}
.voice-library-v234{border-radius:22px;padding:14px;margin-bottom:12px}.voice-library-head-v234{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:11px}.voice-library-head-v234>div:first-child{display:flex;flex-direction:column;gap:2px}.voice-library-head-v234 span{font-size:8px;letter-spacing:.13em;text-transform:uppercase;color:var(--deck-faint);font-weight:900}.voice-library-head-v234 strong{font-size:13px}.voice-library-head-v234 small{font-size:9px;line-height:1.4;color:var(--deck-muted)}.voice-library-arrows-v234{display:flex;gap:6px;flex:0 0 auto}.voice-library-arrows-v234 button{width:34px;height:34px;border-radius:11px;border:1px solid var(--deck-line);background:var(--deck-soft);color:var(--deck-text);font-weight:900;cursor:pointer}
.voice-grid-v234{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;max-width:100%;overflow:visible;padding:2px}.voice-card-v234{min-width:0;min-height:88px;display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-rows:auto auto;gap:7px 9px;align-items:center;padding:10px;border:1px solid var(--deck-line);border-radius:17px;background:var(--deck-soft);color:var(--deck-text);text-align:left;cursor:pointer;overflow:hidden;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.voice-card-v234:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--accent) 30%,var(--deck-line));box-shadow:0 8px 18px rgba(39,59,97,.08)}.voice-card-v234.selected{background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 10%,var(--deck-card)),color-mix(in srgb,#2ecbd1 5%,var(--deck-card)));border-color:color-mix(in srgb,var(--accent) 45%,var(--deck-line))}.voice-card-avatar-v234{grid-row:1/span 2;width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:#15213a;color:#fff;font-size:13px;font-weight:950}.voice-card-copy-v234{display:flex;flex-direction:column;gap:3px;overflow:hidden}.voice-card-copy-v234 b{font-size:10.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.voice-card-copy-v234 small{font-size:8px;color:var(--deck-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.voice-card-state-v234{grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:6px}.voice-card-state-v234 span{font-size:7.5px;color:var(--deck-muted);font-weight:760}.voice-card-state-v234 i{font-style:normal;color:var(--accent);font-size:9px;font-weight:900}.voice-dots-v234{justify-content:center!important;margin:8px 0 0!important}.voice-dots-v234 i{width:6px!important;height:6px!important}
.voice-controls-v234{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:10px}.voice-control-v234{width:100%;display:grid;grid-template-columns:40px minmax(0,1fr);gap:9px;align-items:start;padding:13px;border-radius:18px}.voice-control-icon-v234{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:color-mix(in srgb,var(--accent) 8%,var(--deck-soft));color:var(--accent);border:1px solid color-mix(in srgb,var(--accent) 12%,var(--deck-line))}.voice-control-icon-v234 svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.voice-control-v234>span:nth-child(2){display:flex;flex-direction:column;gap:3px}.voice-control-v234 b{font-size:10.5px}.voice-control-v234 small{font-size:8.7px;line-height:1.4;color:var(--deck-muted)}.voice-control-v234 select{grid-column:1/-1;width:100%!important;max-width:none!important;margin-top:3px}
.voice-note-v234{display:flex;align-items:flex-start;gap:10px;margin-top:10px;border-radius:16px;padding:11px 13px;background:color-mix(in srgb,#2fcbd0 5%,var(--deck-card))}.voice-note-v234 strong{font-size:9px;white-space:nowrap}.voice-note-v234 span{font-size:8.5px;line-height:1.4;color:var(--deck-muted)}
@keyframes v234Wave{from{transform:scaleY(.55);opacity:.65}to{transform:scaleY(1.12);opacity:1}}@keyframes v234Bars{from{transform:scaleY(.5)}to{transform:scaleY(1.22)}}
@media(max-width:1120px){.voice-grid-v234{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.voice-hero-v234{grid-template-columns:1fr}.voice-preview-v234{grid-template-rows:130px auto}.voice-wavefield-v234{min-height:130px}.voice-controls-v234{grid-template-columns:1fr}}
@media(max-width:760px){#settingsModal .voice-panel-v234{max-width:100%!important;width:100%!important;padding:0 0 18px!important}.voice-status-v234{display:none}.voice-hero-v234{grid-template-columns:1fr}.voice-grid-v234{grid-template-columns:1fr 1fr}.voice-selected-v234,.voice-preview-v234,.voice-library-v234{border-radius:19px}.voice-selected-v234{padding:15px}.voice-selected-main-v234{grid-template-columns:50px minmax(0,1fr);margin:14px 0 10px}.voice-avatar-v234{width:50px;height:50px;border-radius:16px}.voice-selected-copy-v234 strong{font-size:27px}.voice-preview-v234{padding:13px}.voice-wavefield-v234{min-height:115px}.voice-library-v234{padding:12px}.voice-library-head-v234 small{display:none}}
@media(max-width:460px){.voice-grid-v234{grid-template-columns:1fr}.voice-library-arrows-v234{display:none}.voice-controls-v234{grid-template-columns:1fr}.voice-note-v234{flex-direction:column;gap:3px}.voice-note-v234 strong{white-space:normal}}
@media(prefers-reduced-motion:reduce){.voice-card-v234{transition:none!important}.voice-hero-v234.is-speaking .voice-wavefield-v234 span,.voice-preview-button-v234.is-previewing .voice-preview-icon-v234 i{animation:none!important}}


/* ========================================================================== */
/* SenvoAI V0.23.5 — Access Gateway                                            */
/* Responsive website + Windows/PWA sign-in rebuild.                           */
/* ========================================================================== */
.auth-v235-body{
  --auth235-ink:#172238;--auth235-muted:#718097;--auth235-line:#dce5f1;
  --auth235-panel:#f8fbff;--auth235-card:#ffffff;--auth235-accent:#5e63f5;
  --auth235-cyan:#27c7ea;--auth235-violet:#8b5cf6;
  min-height:100dvh!important;height:100dvh!important;overflow:hidden!important;
  margin:0!important;background:
    radial-gradient(circle at 12% 6%,rgba(69,198,238,.12),transparent 28%),
    radial-gradient(circle at 90% 90%,rgba(126,91,246,.12),transparent 30%),
    #edf3f9!important;color:var(--auth235-ink)!important;
}
.auth-v235-shell{
  width:min(1240px,calc(100vw - 32px))!important;
  height:min(820px,calc(100dvh - 32px))!important;
  min-height:0!important;margin:16px auto!important;
  display:grid!important;grid-template-columns:minmax(360px,.92fr) minmax(480px,1.08fr)!important;
  border:1px solid rgba(112,132,164,.18)!important;border-radius:30px!important;
  overflow:hidden!important;background:var(--auth235-card)!important;
  box-shadow:0 22px 70px rgba(31,49,82,.14)!important;
}
.auth-v235-showcase{
  position:relative!important;display:flex!important;flex-direction:column!important;
  min-width:0!important;min-height:0!important;overflow:hidden!important;
  padding:34px clamp(28px,3vw,46px)!important;color:#f7f9ff!important;
  background:
    linear-gradient(145deg,rgba(29,46,82,.96),rgba(31,57,82,.95) 58%,rgba(42,64,92,.98)),
    #1c2b48!important;
}
.auth-v235-showcase::before{
  content:"";position:absolute;inset:-18% -25% auto auto;width:420px;height:420px;border-radius:50%;
  background:radial-gradient(circle,rgba(91,99,246,.32),rgba(38,198,234,.08) 46%,transparent 70%);
  pointer-events:none;
}
.auth-v235-showcase::after{
  content:"";position:absolute;left:0;right:0;top:0;height:5px;
  background:linear-gradient(90deg,#2bc9ea,#5966f3 48%,#8b5cf6);pointer-events:none;
}
.auth-v235-showcase .auth-v125-brand{position:relative;z-index:2;display:flex!important;align-items:center!important;gap:12px!important}
.auth-v235-showcase .auth-v125-logo{width:46px!important;height:46px!important;border-radius:15px!important;padding:3px!important;background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,255,255,.15)!important}
.auth-v235-showcase .auth-v125-logo img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:12px!important}
.auth-v235-showcase .auth-brand-line strong{color:#fff!important;font-size:18px!important}
.auth-v235-showcase .auth-v125-brand span{color:#b9c7db!important}
.auth-v235-showcase .beta-badge{background:#dfe8ff!important;color:#485d91!important;border:0!important}
.auth-v235-showcase .auth-v125-hero{position:relative;z-index:2;margin:auto 0!important;max-width:540px!important;padding:28px 0!important}
.auth-v235-showcase .auth-v125-version{color:#c7d5e9!important;font-size:10px!important;letter-spacing:.13em!important;margin-bottom:14px!important}
.auth-v235-showcase .auth-v125-version>span{background:#31d3a2!important;box-shadow:0 0 0 5px rgba(49,211,162,.12)!important}
.auth-v235-showcase h1{color:#fff!important;font-size:clamp(35px,3.2vw,54px)!important;line-height:.98!important;letter-spacing:-.045em!important;margin:0 0 16px!important;max-width:510px!important}
.auth-v235-showcase .auth-v125-hero>p{color:#b9c7db!important;font-size:14px!important;line-height:1.55!important;max-width:520px!important;margin:0 0 22px!important}
.auth-v235-showcase .auth-v125-proof-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
.auth-v235-showcase .auth-v125-proof-grid article{min-width:0!important;min-height:82px!important;padding:14px!important;border-radius:17px!important;background:rgba(255,255,255,.075)!important;border:1px solid rgba(255,255,255,.10)!important;backdrop-filter:none!important;display:flex!important;align-items:flex-start!important;gap:11px!important}
.auth-v235-showcase .auth-v125-proof-grid article:last-child{grid-column:1/-1!important;min-height:68px!important}
.auth-v235-showcase .auth-v125-proof-icon{flex:0 0 32px!important;width:32px!important;height:32px!important;border-radius:10px!important;background:linear-gradient(145deg,rgba(77,215,241,.18),rgba(130,93,246,.22))!important;color:#fff!important;display:grid!important;place-items:center!important}
.auth-v235-showcase .auth-v125-proof-grid strong{color:#fff!important;font-size:12.5px!important}
.auth-v235-showcase .auth-v125-proof-grid span{color:#b9c7db!important;font-size:10.5px!important;line-height:1.35!important;margin-top:2px!important}
.auth-v235-showcase .auth-v125-showcase-footer{position:relative;z-index:2;display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;margin-top:auto!important;color:#aebdd1!important;font-size:10px!important}
.auth-v235-showcase .auth-v125-security{color:#c4d2e5!important}.auth-v235-showcase .auth-v125-security>span{color:#45ddb2!important}
.auth-v235-showcase .auth-v125-showcase-footer a{color:#c4d2e5!important;text-decoration:none!important}

.auth-v235-entry{
  min-width:0!important;min-height:0!important;height:100%!important;
  padding:24px clamp(24px,3vw,46px)!important;overflow:auto!important;overscroll-behavior:contain!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  background:linear-gradient(180deg,#fbfdff,#f5f8fc)!important;
  scrollbar-gutter:stable both-edges;
}
.auth-v235-card{
  width:min(100%,570px)!important;max-width:570px!important;min-width:0!important;
  margin:auto!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;color:var(--auth235-ink)!important;
}
.auth-v235-card .auth-v125-card-head{position:relative!important;margin:0 0 14px!important;padding-right:142px!important}
.auth-v235-card .auth-v125-kicker{font-size:10px!important;letter-spacing:.18em!important;font-weight:850!important;color:#687791!important;margin-bottom:5px!important}
.auth-v235-card .auth-v125-card-head h2{font-size:32px!important;line-height:1.02!important;letter-spacing:-.035em!important;color:#172238!important;margin:0 0 6px!important}
.auth-v235-card .auth-v125-card-head>p{font-size:12px!important;line-height:1.45!important;color:#718097!important;margin:0!important;max-width:380px!important}
.auth-v235-status{position:absolute;right:0;top:2px;display:grid;grid-template-columns:8px auto;column-gap:6px;align-items:center;padding:8px 10px;border:1px solid var(--auth235-line);border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(35,54,87,.05)}
.auth-v235-status>span{width:8px;height:8px;border-radius:50%;background:#27c99a;box-shadow:0 0 0 4px rgba(39,201,154,.12);grid-row:1/3}.auth-v235-status>b{font-size:10.5px;color:#263650}.auth-v235-status>small{font-size:8.5px;color:#8793a6}
.auth-v235-card .auth-v125-tabs{display:grid!important;grid-template-columns:1fr 1fr!important;gap:4px!important;padding:4px!important;margin:0 0 12px!important;border:1px solid var(--auth235-line)!important;border-radius:15px!important;background:#eaf0f7!important;min-height:46px!important}
.auth-v235-card .auth-tab{min-height:36px!important;border:0!important;border-radius:11px!important;background:transparent!important;color:#6d798c!important;font-size:12px!important;font-weight:780!important;box-shadow:none!important}
.auth-v235-card .auth-tab.active{background:#fff!important;color:#172238!important;box-shadow:0 3px 12px rgba(46,65,94,.08)!important}
.auth-v235-card .auth-alert{margin:0 0 10px!important;border-radius:13px!important;padding:10px 12px!important;font-size:11px!important}
.auth-v235-card .auth-panel{min-width:0!important}
.auth-v235-card .auth-v125-oauth-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;margin:0!important}
.auth-v235-card .oauth-button{min-width:0!important;min-height:44px!important;padding:9px 12px!important;border-radius:13px!important;border:1px solid var(--auth235-line)!important;background:#fff!important;color:#27364e!important;box-shadow:none!important;font-size:12px!important;font-weight:760!important;justify-content:center!important;gap:9px!important}
.auth-v235-card .oauth-button:hover{border-color:#bbc9dc!important;transform:translateY(-1px)!important;background:#fbfdff!important}
.auth-v235-card .oauth-brand{width:20px!important;height:20px!important;flex:0 0 20px!important}
.auth-v235-card .oauth-legal-note-v221{font-size:8.7px!important;line-height:1.35!important;margin:6px 3px 9px!important;color:#8b95a5!important}
.auth-v235-card .oauth-legal-note-v221 a{color:#5d60d7!important}
.auth-v235-card .auth-passkey-v218{width:100%!important;min-height:58px!important;margin:0!important;padding:10px 12px!important;border-radius:15px!important;border:1px solid #d9e2f1!important;background:linear-gradient(105deg,#eef7ff,#f4f0ff)!important;color:#22324b!important;box-shadow:none!important;display:grid!important;grid-template-columns:36px minmax(0,1fr) auto!important;gap:10px!important;text-align:left!important}
.auth-v235-card .passkey-symbol-v215{width:36px!important;height:36px!important;border-radius:11px!important;background:linear-gradient(145deg,#27c7ea,#6564f5 65%,#8b5cf6)!important;color:#fff!important;display:grid!important;place-items:center!important;box-shadow:0 5px 15px rgba(88,102,245,.22)!important}
.auth-v235-card .auth-passkey-v218 strong{font-size:12px!important;color:#23324b!important}.auth-v235-card .auth-passkey-v218 small{font-size:9.5px!important;color:#728199!important;line-height:1.28!important}.auth-v235-card .auth-passkey-v218>b{color:#53637b!important}
.auth-v235-card .auth-v125-divider{height:23px!important;margin:5px 0!important}.auth-v235-card .auth-v125-divider span{padding:0 9px!important;background:#f8fbff!important;color:#8793a5!important;font-size:9px!important}.auth-v235-card .auth-v125-divider:before,.auth-v235-card .auth-v125-divider:after{background:#e1e8f2!important}
.auth-v235-card .auth-v125-form{display:grid!important;gap:8px!important}
.auth-v235-card .auth-v125-field{display:grid!important;gap:4px!important;margin:0!important}.auth-v235-card .auth-v125-field>span{font-size:10px!important;color:#485872!important;font-weight:720!important}
.auth-v235-card .auth-v125-field input{height:45px!important;min-height:45px!important;border-radius:13px!important;border:1px solid #d7e0ec!important;background:#fff!important;color:#1f2d44!important;padding:0 13px!important;font-size:13px!important;box-shadow:none!important}
.auth-v235-card .auth-v125-field input:focus{border-color:#676bf4!important;box-shadow:0 0 0 3px rgba(103,107,244,.10)!important;outline:0!important}
.auth-v235-card .auth-v125-password{position:relative!important}.auth-v235-card .auth-v125-password input{width:100%!important;padding-right:56px!important}.auth-v235-card .auth-v125-password button{right:8px!important;font-size:9.5px!important;color:#64738a!important}
.auth-v235-card .auth-v125-inline-help{min-height:15px!important;margin:-2px 0 0!important}.auth-v235-card .auth-text-button{font-size:10.5px!important;color:#5c60da!important;font-weight:750!important}
.auth-v235-card .auth-v125-primary{min-height:44px!important;height:44px!important;border:0!important;border-radius:13px!important;background:linear-gradient(110deg,#5262f2,#6c5ff4 58%,#7e59ef)!important;color:#fff!important;box-shadow:0 8px 22px rgba(84,96,240,.20)!important;font-size:12px!important;font-weight:800!important}
.auth-v235-card .auth-v125-primary:hover{filter:brightness(1.03)!important;transform:translateY(-1px)!important}
.auth-v235-card .auth-v125-account-switch{font-size:10.5px!important;margin:8px 0 0!important;text-align:center!important;color:#78869a!important}
.auth-v235-card .auth-v235-guest{min-height:42px!important;margin:7px 0 0!important;padding:7px 11px!important;border-radius:13px!important;border:1px dashed #d2dceb!important;background:rgba(255,255,255,.58)!important;color:#53637a!important;display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center!important;column-gap:8px!important;text-align:left!important}.auth-v235-card .auth-v235-guest span{font-size:10.5px!important;font-weight:760!important}.auth-v235-card .auth-v235-guest small{font-size:9px!important;color:#8a96a8!important}
.auth-v235-card .auth-v235-trust{margin:10px 0 0!important;padding-top:9px!important;border-top:1px solid #e1e8f2!important;color:#8894a6!important;font-size:9px!important;justify-content:center!important;gap:6px!important}
.auth-v235-card .panel-intro{margin:4px 0 11px!important}.auth-v235-card .panel-intro h3{font-size:20px!important}.auth-v235-card .panel-intro p{font-size:11px!important}
.auth-v235-card .auth-v125-verify,.auth-v235-card .signup-verify-area{background:#f3f6fb!important;border:1px solid #dce5ef!important}
.auth-v235-card .auth-secondary{min-height:43px!important;border-radius:13px!important;border:1px solid #d7e0ec!important;background:#fff!important;color:#27364e!important}
.auth-v235-card .auth-centred-link{margin-top:8px!important}
.auth-v235-entry .auth-v125-mobile-brand{display:none!important}

/* Short laptop and Windows app: keep the whole gateway visible and scroll only the access lane. */
@media (max-height:720px) and (min-width:921px){
  .auth-v235-shell{height:calc(100dvh - 16px)!important;width:min(1240px,calc(100vw - 16px))!important;margin:8px auto!important;border-radius:24px!important}
  .auth-v235-showcase{padding:24px 34px!important}.auth-v235-showcase .auth-v125-hero{padding:14px 0!important}.auth-v235-showcase h1{font-size:38px!important}.auth-v235-showcase .auth-v125-hero>p{font-size:12px!important;margin-bottom:15px!important}.auth-v235-showcase .auth-v125-proof-grid article{min-height:64px!important;padding:10px!important}.auth-v235-showcase .auth-v125-proof-grid article:last-child{min-height:56px!important}.auth-v235-showcase .auth-v125-proof-grid span{display:none!important}
  .auth-v235-entry{padding:14px 26px!important;align-items:flex-start!important}.auth-v235-card{margin:auto!important}.auth-v235-card .auth-v125-card-head{margin-bottom:9px!important}.auth-v235-card .auth-v125-card-head h2{font-size:27px!important}.auth-v235-card .auth-v125-card-head>p{display:none!important}.auth-v235-card .auth-v125-tabs{margin-bottom:8px!important}.auth-v235-card .oauth-legal-note-v221{margin:4px 3px 6px!important}.auth-v235-card .auth-v125-trust{display:none!important}
}

/* Installed Windows PWA/app uses every available pixel without outer browser-style whitespace. */
@media (display-mode:standalone) and (min-width:921px){
  .auth-v235-body{background:#edf3f9!important}.auth-v235-shell{width:100vw!important;height:100dvh!important;margin:0!important;border-radius:0!important;border:0!important;box-shadow:none!important;max-width:none!important}.auth-v235-entry{padding-top:max(18px,env(safe-area-inset-top))!important;padding-bottom:max(18px,env(safe-area-inset-bottom))!important}
}

/* Tablet / narrow web window. */
@media(max-width:920px){
  .auth-v235-body{height:auto!important;min-height:100dvh!important;overflow:auto!important;background:#f4f7fb!important}
  .auth-v235-shell{display:block!important;width:min(660px,calc(100vw - 20px))!important;height:auto!important;min-height:calc(100dvh - 20px)!important;margin:10px auto!important;border-radius:24px!important;overflow:visible!important;background:#f8fbff!important}
  .auth-v235-showcase{display:none!important}
  .auth-v235-entry{min-height:calc(100dvh - 20px)!important;height:auto!important;overflow:visible!important;padding:22px!important;display:block!important;background:#f8fbff!important}
  .auth-v235-entry .auth-v125-mobile-brand{display:flex!important;margin:0 auto 18px!important;max-width:570px!important;align-items:center!important;gap:10px!important;color:#1f2d44!important}.auth-v235-entry .auth-v125-mobile-brand img{width:42px!important;height:42px!important;border-radius:13px!important}.auth-v235-entry .auth-v125-mobile-brand strong{font-size:15px!important}.auth-v235-entry .auth-v125-mobile-brand span{font-size:10px!important;color:#75839a!important}
  .auth-v235-card{width:min(100%,570px)!important;margin:0 auto!important}.auth-v235-card .auth-v125-card-head{padding-right:132px!important}
}

/* Phone. */
@media(max-width:560px){
  .auth-v235-shell{width:100%!important;min-height:100dvh!important;margin:0!important;border-radius:0!important;border:0!important;box-shadow:none!important}
  .auth-v235-entry{min-height:100dvh!important;padding:calc(14px + env(safe-area-inset-top)) 14px calc(18px + env(safe-area-inset-bottom))!important}
  .auth-v235-entry .auth-v125-mobile-brand{margin-bottom:14px!important}
  .auth-v235-card .auth-v125-card-head{padding-right:0!important}.auth-v235-status{position:static!important;display:inline-grid!important;margin-top:10px!important}.auth-v235-card .auth-v125-card-head h2{font-size:29px!important}
  .auth-v235-card .auth-v125-oauth-grid{grid-template-columns:1fr!important}.auth-v235-card .oauth-button{min-height:45px!important}
  .auth-v235-card .auth-passkey-v218{grid-template-columns:36px minmax(0,1fr) auto!important}.auth-v235-card .auth-passkey-v218 small{font-size:9px!important}
  .auth-v235-card .auth-v235-guest{grid-template-columns:auto 1fr auto!important}
}

/* Dark system appearance without inverted or washed-out controls. */
@media(prefers-color-scheme:dark){
  .auth-v235-body{--auth235-ink:#edf3fb;--auth235-muted:#9bacbf;--auth235-line:#2d3b4e;--auth235-panel:#111a27;--auth235-card:#141f2d;background:#0c131d!important;color:#edf3fb!important}
  .auth-v235-shell{background:#111a27!important;border-color:#27364a!important;box-shadow:0 22px 70px rgba(0,0,0,.30)!important}.auth-v235-entry{background:linear-gradient(180deg,#111a27,#0e1722)!important}.auth-v235-card{color:#edf3fb!important}.auth-v235-card .auth-v125-card-head h2{color:#edf3fb!important}.auth-v235-card .auth-v125-card-head>p,.auth-v235-card .auth-v125-kicker{color:#9bacbf!important}.auth-v235-status{background:#172334!important;border-color:#2d3b4e!important}.auth-v235-status>b{color:#e8eef7!important}.auth-v235-card .auth-v125-tabs{background:#172334!important;border-color:#2d3b4e!important}.auth-v235-card .auth-tab{color:#a8b5c7!important}.auth-v235-card .auth-tab.active{background:#223149!important;color:#fff!important}.auth-v235-card .oauth-button,.auth-v235-card .auth-v125-field input,.auth-v235-card .auth-secondary{background:#172334!important;border-color:#304056!important;color:#edf3fb!important}.auth-v235-card .auth-v125-field>span{color:#c2cede!important}.auth-v235-card .auth-passkey-v218{background:linear-gradient(105deg,#142638,#211f3c)!important;border-color:#33445b!important}.auth-v235-card .auth-passkey-v218 strong{color:#edf3fb!important}.auth-v235-card .auth-v125-divider span{background:#111a27!important}.auth-v235-card .auth-v235-guest{background:#121d2b!important;border-color:#304056!important;color:#d7e0ed!important}.auth-v235-card .auth-v235-trust{border-color:#29384b!important}.auth-v235-entry .auth-v125-mobile-brand{color:#edf3fb!important}.auth-v235-card .auth-v125-verify,.auth-v235-card .signup-verify-area{background:#121d2b!important;border-color:#304056!important}
}

/* V0.23.5 sizing correction: legacy auth rules used content-box sizing. */
.auth-v235-shell,.auth-v235-showcase,.auth-v235-entry,.auth-v235-card,.auth-v235-card *{box-sizing:border-box!important}
.auth-v235-entry{height:100%!important;max-height:100%!important}
@media(max-width:920px){.auth-v235-entry{height:auto!important;max-height:none!important}}
.auth-v235-showcase .auth-v125-brand{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;width:auto!important;max-width:100%!important}
