*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#181818;background:#ececea;font-synthesis:none}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.55}button,input,textarea,select{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #555}button{border:0;background:none}a{color:inherit}svg{height:20px;width:20px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:26px;line-height:1.2;letter-spacing:-.6px}h2{font-size:21px;line-height:1.3;letter-spacing:-.4px}h3{font-size:17px;line-height:1.4}p{line-height:1.55}small{font-size:12px;line-height:1.45}button .muted{pointer-events:none}[hidden]{display:none!important}
#studio{background:#fff;border-bottom:1px solid #d8d8d5;position:relative;z-index:20}.studio-head{display:flex;justify-content:space-between;align-items:center;padding:15px 24px 9px;gap:16px}.studio-title{display:flex;gap:16px;align-items:center}.studio-title b{font-size:16px;letter-spacing:-.5px}.studio-title span{font-size:12px;color:#6b6b66}.studio-actions{display:flex;gap:8px}.studio-actions button{font-size:12px;padding:6px 8px;border-radius:7px}.studio-actions button:hover{background:#f2f2f0}.variant-tabs{display:flex;gap:5px;padding:0 24px;overflow:auto;scrollbar-width:thin}.variant-tabs button{font-size:13px;white-space:nowrap;padding:11px 15px;border-bottom:2px solid transparent;color:#666}.variant-tabs button[aria-selected=true]{color:#171717;border-color:#171717;font-weight:650;background:#f8f8f6}.variant-tabs .number{font-size:10px;margin-right:7px;color:#8b8b83}.studio-controls{padding:10px 24px;display:flex;align-items:center;gap:14px;border-top:1px solid #f1f1ee}.studio-controls label{font-size:11px;color:#686862;display:flex;align-items:center;gap:8px}.studio-controls select{background:#f5f5f3;border:1px solid #deded8;padding:7px 30px 7px 9px;color:#222;border-radius:8px;max-width:250px;font-size:12px}.device-switch{display:flex;background:#efefec;border:1px solid #e6e6e0;padding:3px;border-radius:8px}.device-switch button{padding:5px 10px;font-size:11px;border-radius:5px}.device-switch button[aria-pressed=true]{background:#fff;box-shadow:0 1px 4px #0001}#theme-toggle{font-size:11px;margin-left:auto}.demo-label{font-size:10px;color:#75756c}.variant-description{font-size:11px;padding:0 24px 10px;line-height:1.45;color:#65655f}.stage{padding:22px 22px 32px;display:flex;justify-content:center;min-height:calc(100svh - 163px)}.viewport{width:100%;max-width:1440px;height:calc(100svh - 205px);min-height:660px;background:white;border:1px solid #d4d4d0;border-radius:16px;overflow:hidden;box-shadow:0 10px 36px #14141409;position:relative;transition:width .2s}.stage.mobile .viewport{width:390px;max-width:100%;height:820px;min-height:660px;border-radius:28px;border:5px solid #262626;box-shadow:0 14px 40px #0002}#app-root,#current-frame{width:100%;height:100%;border:0;display:block}.studio-dialog{max-width:680px;width:calc(100% - 32px);max-height:90svh;overflow:auto;border:1px solid #ccc;border-radius:18px;padding:30px;color:#181818;background:#fff}.studio-dialog p{margin:16px 0;font-size:14px;color:#565656}.studio-dialog h3{margin-top:20px}.studio-dialog ul{font-size:14px;padding-left:20px;line-height:1.7}.studio-dialog::backdrop{background:#0006}.close{width:40px;height:40px;border-radius:10px;font-size:26px}.studio-dialog>.close{float:right}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%) translateY(20px);opacity:0;background:#171717;color:white;padding:13px 20px;border-radius:12px;box-shadow:0 8px 30px #0003;z-index:99999;font-size:13px;max-width:min(560px,92%);pointer-events:none;transition:.2s}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.oneai{--bg:#fff;--surface:#f5f5f5;--surface2:#fafafa;--ink:#181818;--muted:#626262;--line:#e4e4e4;--strongline:#b1b1b1;--accent:#181818;--accentInk:#fff;--radius:14px;background:var(--bg);color:var(--ink);height:100%;font-size:15px;display:flex;position:relative;isolation:isolate}.oneai.dark{--bg:#111;--surface:#202020;--surface2:#181818;--ink:#f4f4f4;--muted:#b8b8b8;--line:#383838;--strongline:#858585;--accent:#f4f4f4;--accentInk:#111;color-scheme:dark}.oneai button{transition:background .13s,color .13s}@media(hover:hover) and (pointer:fine){.oneai button:hover{background:var(--surface)}}.oneai .primary,.primary{background:var(--accent,#181818);color:var(--accentInk,#fff);border:1px solid var(--accent,#181818);padding:12px 18px;border-radius:11px;font-size:14px;font-weight:600;min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:8px}@media(hover:hover) and (pointer:fine){.oneai .primary:hover{filter:brightness(.85);background:var(--accent)}}.secondary{padding:11px 15px;border:1px solid var(--line);border-radius:11px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:14px;background:var(--bg)}.ghost{padding:9px 12px;border-radius:9px;display:inline-flex;align-items:center;gap:8px;font-size:13px}.icon{width:44px;height:44px;display:inline-flex;justify-content:center;align-items:center;flex-shrink:0;border-radius:11px}.icon.small{width:34px;height:34px}.full{width:100%}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:1px;font-weight:650;text-transform:uppercase;color:var(--muted);margin-bottom:9px}.stack{display:flex;flex-direction:column;gap:16px}.row{display:flex;align-items:center;gap:12px}.row.between{justify-content:space-between}.grow{flex:1;min-width:0}.wrap{flex-wrap:wrap}.divider{height:1px;background:var(--line);margin:18px 0}.badge{font-size:11px;padding:5px 8px;border-radius:6px;background:var(--surface);color:var(--muted);display:inline-flex;align-items:center;gap:5px}.badge svg{width:13px;height:13px}.card{border:1px solid var(--line);border-radius:var(--radius);padding:18px;background:var(--bg)}.card.soft{background:var(--surface2)}.note{font-size:13px;line-height:1.55;color:var(--muted);padding:14px 16px;background:var(--surface);border-radius:10px}.note.border{background:transparent;border-left:2px solid var(--strongline);border-radius:0;padding:2px 0 2px 14px}.field{display:block;font-size:13px;font-weight:550;color:var(--ink)}.field>input,.field>textarea,.field>select{display:block;width:100%;margin-top:8px;border:1px solid var(--strongline);border-radius:10px;background:var(--bg);color:var(--ink);padding:12px;font-weight:400;min-width:0}.field>textarea{resize:vertical;min-height:92px;line-height:1.5}.field .hint{font-size:12px;font-weight:400;display:block;color:var(--muted);margin-top:7px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.switch-row{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--line);font-size:14px}.switch-row small{display:block;margin-top:4px;color:var(--muted)}.switch-row input{appearance:none;width:38px;height:22px;border-radius:20px;background:#bbb;flex-shrink:0;position:relative;cursor:pointer}.switch-row input:checked{background:var(--accent)}.switch-row input:before{content:'';width:16px;height:16px;border-radius:50%;background:var(--bg);position:absolute;left:3px;top:3px;transition:.2s}.switch-row input:checked:before{left:19px}.nav-row{display:flex;width:100%;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--line);text-align:left}.nav-row>svg:last-child{margin-left:auto;width:16px;color:var(--muted)}.nav-row small{display:block;color:var(--muted);margin-top:5px;font-weight:400}.nav-row strong{font-weight:550;font-size:14px}.choice{display:flex;align-items:center;gap:12px;padding:13px 12px;min-height:49px;width:100%;text-align:left;border:1px solid var(--line);border-radius:11px}.choice.selected{background:var(--surface);border-color:var(--strongline)}.choice .check{margin-left:auto}.choice small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.choice+.choice{margin-top:8px}.segmented{display:flex;gap:5px;background:var(--surface);border-radius:11px;padding:4px}.segmented button{flex:1;border-radius:8px;padding:10px 8px;font-size:13px;min-height:38px}.segmented button.active{background:var(--bg);box-shadow:0 1px 5px #0001;font-weight:600}.provider-dot{height:25px;width:25px;display:inline-flex;justify-content:center;align-items:center;border:1px solid var(--line);border-radius:50%;font-size:12px;font-weight:650;flex-shrink:0}.provider-dot svg{width:16px;height:16px}.brand{display:flex;gap:9px;align-items:center}.brand-word{font-size:22px;font-weight:700;letter-spacing:-1px;line-height:.9}.brand-word small{font-size:13px;letter-spacing:1.5px;font-weight:450;display:block;margin-top:5px}.brand-sign{width:34px;height:34px;border:1.5px solid var(--ink);border-radius:11px;display:grid;place-items:center;font-size:14px;letter-spacing:-3px;padding-right:3px;font-weight:600}.avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--surface);border:1px solid var(--line);font-size:11px;flex-shrink:0}
.sidebar{width:246px;flex-shrink:0;background:var(--surface2);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:22px 15px 14px;gap:18px}.sidebar .brand{padding:0 9px 4px}.side-top{display:flex;flex-direction:column;gap:10px}.side-new{border:1px solid var(--strongline);border-radius:10px;display:flex;align-items:center;gap:10px;padding:11px 12px;font-size:13px;font-weight:550}.side-scroll{overflow:auto;flex:1;min-height:0}.nav-label{padding:15px 10px 7px;color:var(--muted);font-size:10px;font-weight:650;text-transform:uppercase;letter-spacing:.8px}.side-link{display:flex;align-items:center;gap:10px;padding:10px 11px;width:100%;text-align:left;font-size:12px;border-radius:8px;min-height:38px}.side-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side-link svg{width:17px;height:17px;flex-shrink:0;color:var(--muted)}.side-link.active{background:var(--line);font-weight:550}.side-link .count{margin-left:auto;color:var(--muted);font-size:10px}.side-footer{border-top:1px solid var(--line);padding-top:10px}.side-profile{display:flex;align-items:center;text-align:left;width:100%;padding:10px 5px;gap:10px}.side-profile strong{font-size:12px}.side-profile small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.workspace{display:flex;flex-direction:column;min-width:0;flex:1;height:100%;overflow:hidden}.telegram{display:none;height:36px;align-items:center;justify-content:space-between;padding:0 15px;background:var(--surface);font-size:11px;flex-shrink:0}.app-header{display:flex;align-items:center;padding:14px 24px;gap:12px;border-bottom:1px solid var(--line);min-height:69px;flex-shrink:0}.app-header .headline{min-width:0;flex:1}.headline strong{font-size:15px;font-weight:600;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.headline small{font-size:10px;color:var(--muted);display:block;margin-bottom:4px}.header-actions{display:flex;gap:2px;align-items:center}.wallet-pill{font-size:12px;border:1px solid var(--line);border-radius:8px;padding:8px 10px;white-space:nowrap;display:flex;gap:6px;align-items:center}.wallet-pill svg{width:14px;height:14px}.mobile-menu{display:none}.content-zone{display:flex;flex:1;min-height:0;overflow:hidden}.conversation{flex:1;min-width:0;display:flex;flex-direction:column;overflow:hidden}.message-list{flex:1;min-height:0;overflow:auto;padding:28px max(28px,calc((100% - 700px)/2));scroll-behavior:smooth}.message-user{padding:15px 19px;background:var(--surface);border-radius:16px 16px 3px 16px;max-width:85%;margin-left:auto;font-size:15px;line-height:1.55;margin-bottom:28px}.message-answer{margin-bottom:24px;font-size:15px;line-height:1.65}.answer-label{display:flex;align-items:center;gap:9px;margin-bottom:15px;font-size:11px;font-weight:600;color:var(--muted)}.answer-label small{font-size:10px;font-weight:400}.message-answer h3{font-size:19px;margin:12px 0}.message-answer p{margin-bottom:13px}.message-answer ol{padding-left:22px;margin:10px 0 18px}.message-answer li{margin:8px 0}.answer-actions{display:flex;align-items:center;gap:3px;margin-top:13px;flex-wrap:wrap;color:var(--muted)}.answer-actions button{font-size:11px;min-height:36px;padding:8px;border-radius:8px;display:flex;gap:6px;align-items:center}.answer-actions svg{width:15px;height:15px}.source-chip{display:inline-flex;align-items:center;font-size:11px;padding:6px 9px;border:1px solid var(--line);border-radius:7px;margin:3px 4px 3px 0;gap:5px}.citation{font-size:10px;vertical-align:super;padding:1px 4px;border-radius:3px;background:var(--surface);font-weight:600}.file-card{display:flex;gap:13px;border:1px solid var(--strongline);border-radius:12px;padding:15px;margin:16px 0;align-items:center;text-align:left;width:100%;background:var(--bg)}.file-icon{width:40px;height:47px;border:1px solid var(--line);border-radius:7px;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:9px;gap:4px;color:var(--muted);flex-shrink:0;background:var(--surface)}.file-icon svg{width:18px;height:18px}.file-card strong{font-size:14px;display:block}.file-card small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.composer-zone{padding:10px max(28px,calc((100% - 700px)/2)) 18px;background:var(--bg);flex-shrink:0}.provider-tabs{display:flex;gap:5px;margin-bottom:10px}.provider-tabs button{flex:1;border:1px solid var(--strongline);border-radius:9px;min-height:43px;padding:8px 5px;font-size:12px;font-weight:550;display:flex;align-items:center;justify-content:center;gap:6px}.provider-tabs button.active{background:var(--accent);color:var(--accentInk);border-color:var(--accent)}.context-chip{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);padding:7px 2px;margin-bottom:6px}.context-chip svg{width:14px;height:14px}.composer{border:1px solid var(--strongline);border-radius:17px;background:var(--bg);padding:12px 11px 8px}.composer textarea{resize:none;border:0;background:transparent;color:var(--ink);padding:0 5px;width:100%;min-height:40px;max-height:140px;line-height:1.5;font-size:14px;outline:none}.composer-tools{display:flex;align-items:center;gap:4px}.model-trigger{display:flex;align-items:center;gap:7px;text-align:left;padding:5px 8px;min-height:37px;border-radius:8px;font-size:11px;min-width:0}.model-trigger span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-trigger svg{width:13px;height:13px}.send{margin-left:auto;width:39px;height:39px;border-radius:11px;background:var(--accent);color:var(--accentInk);display:flex;align-items:center;justify-content:center;flex-shrink:0}@media(hover:hover) and (pointer:fine){.oneai .send:hover{background:var(--accent);filter:brightness(.85)}}.composer-caption{font-size:10px;color:var(--muted);text-align:center;display:flex;align-items:center;justify-content:center;gap:5px;padding-top:9px;min-height:22px}.composer-caption button{font-size:10px;text-decoration:none}.attach-chips{display:flex;gap:6px;flex-wrap:wrap;padding:0 3px 9px}.attach-chips span{font-size:10px;border:1px solid var(--line);border-radius:6px;padding:5px 8px}.empty-chat{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100%;text-align:center;padding:30px 0}.empty-chat .brand{margin-bottom:30px}.empty-chat h1{max-width:380px;font-size:28px}.empty-chat>p{margin:12px 0 25px;color:var(--muted);font-size:14px}.examples{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:530px}.examples button{border:1px solid var(--line);border-radius:13px;text-align:left;padding:17px;display:flex;flex-direction:column;gap:10px;font-size:13px}.examples small{color:var(--muted);font-size:11px}.right-preview{width:295px;border-left:1px solid var(--line);background:var(--surface2);padding:20px;overflow:auto;flex-shrink:0}.paper-mini{margin-top:18px;background:var(--bg);border:1px solid var(--line);padding:22px 18px;box-shadow:0 4px 15px #00005;min-height:325px}.paper-mini h3{font-size:15px}.paper-mini p{font-size:11px;margin:10px 0}.paper-mini .paper-line{height:5px;background:var(--line);margin:9px 0;border-radius:3px}.paper-mini .paper-line:nth-child(even){width:75%}.paper-mini .bars{height:85px;margin:20px 0;display:flex;gap:9px;align-items:flex-end}.paper-mini .bars i{flex:1;background:var(--ink);opacity:.2}.paper-mini .bars i:last-child{opacity:.75}.side-backdrop{display:none}
.page-scroll{flex:1;min-height:0;overflow:auto;padding:30px max(28px,calc((100% - 760px)/2)) 40px}.page-title{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-bottom:24px}.page-title p{font-size:13px;color:var(--muted);margin-top:8px}.big-value{font-size:38px;font-weight:600;letter-spacing:-1.5px}.metric small{display:block;color:var(--muted);font-size:11px;margin-top:6px}.metric strong{display:block;font-size:23px;letter-spacing:-.7px}.ledger{width:100%;border-collapse:collapse;font-size:13px}.ledger td,.ledger th{text-align:left;padding:16px 8px;border-bottom:1px solid var(--line)}.ledger th{font-size:11px;color:var(--muted);font-weight:500}.ledger td:last-child{text-align:right;white-space:nowrap}.ledger small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.table-wrap{overflow-x:auto}.list-file{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}.list-file .file-icon{width:36px;height:42px}.list-file strong{font-size:13px}.list-file small{font-size:11px;display:block;color:var(--muted);margin-top:5px}.progress-track{height:5px;background:var(--line);border-radius:4px;overflow:hidden;margin:14px 0}.progress-track span{display:block;height:100%;background:var(--ink);border-radius:4px}.search-input{width:100%;border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:12px 15px;border-radius:10px;font-size:13px}.tag-list{display:flex;gap:6px;flex-wrap:wrap;margin:15px 0}.tag-list button{font-size:12px;border-radius:7px;border:1px solid var(--line);padding:8px 12px}.tag-list button.active{background:var(--accent);color:var(--accentInk)}.project-card{display:flex;flex-direction:column;gap:13px;padding:21px}.project-card .row strong{font-size:15px}.project-card p{font-size:13px;color:var(--muted)}.chart{height:180px;display:flex;align-items:flex-end;gap:15px;border-bottom:1px solid var(--line);padding:15px 10px 25px;margin:25px 0}.chart .bar{flex:1;position:relative;border-radius:5px 5px 0 0;background:var(--ink);opacity:.6;min-width:20px}.chart .bar b{position:absolute;bottom:calc(100% + 6px);left:0;right:0;text-align:center;font-size:10px;color:var(--ink);font-weight:500}.chart .bar small{position:absolute;top:calc(100% + 7px);left:0;right:0;text-align:center;color:var(--muted);font-size:10px}.form-footer{display:flex;gap:10px;justify-content:flex-end;margin-top:22px;flex-wrap:wrap}.financial{display:flex;gap:8px;align-items:flex-start;font-size:12px;color:var(--muted);line-height:1.5;padding:13px 0}.financial svg{height:16px;width:16px;margin-top:1px}.squad-hero{padding:23px;border:1px solid var(--line);border-radius:16px;background:var(--surface2)}.squad-symbol{display:flex;align-items:center;margin-bottom:18px}.squad-symbol .provider-dot{height:42px;width:42px;background:var(--bg);margin-left:-9px;box-shadow:0 2px 4px #00005}.squad-symbol .provider-dot:first-child{margin-left:0}.squad-symbol .provider-dot svg{height:24px;width:24px}.squad-members{display:grid;gap:10px;margin:20px 0}.member-card{border:1px solid var(--line);border-radius:12px;padding:14px;display:flex;align-items:center;gap:13px}.member-card strong{font-size:14px}.member-card small{display:block;color:var(--muted);margin-top:4px;font-size:12px}.timeline{display:flex;flex-direction:column;gap:0;margin:18px 0}.timeline-row{display:flex;align-items:flex-start;gap:13px;position:relative;padding:0 0 23px}.timeline-row:before{content:'';position:absolute;top:26px;bottom:0;left:13px;width:1px;background:var(--line)}.timeline-row:last-child:before{display:none}.step-bullet{width:27px;height:27px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;flex-shrink:0;font-size:11px;background:var(--bg);color:var(--muted)}.timeline-row.done .step-bullet{background:var(--ink);color:var(--bg);border-color:var(--ink)}.timeline-row.current .step-bullet{border:2px solid var(--ink)}.timeline-row strong{font-size:14px;display:block;padding-top:2px}.timeline-row small{display:block;color:var(--muted);margin-top:4px;font-size:12px}.approval{padding:16px;border:1px solid var(--strongline);border-radius:12px;display:flex;gap:11px;align-items:flex-start;margin:15px 0}.approval p{font-size:13px;margin:4px 0;color:var(--muted)}.status-controls{display:flex;gap:6px;flex-wrap:wrap;margin-top:15px}.status-controls button{font-size:11px;border:1px solid var(--line);padding:6px 9px;border-radius:6px}.demo-media{height:230px;border-radius:13px;border:1px solid var(--line);background:linear-gradient(150deg,#eeece7,#fafaf8);position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;color:#333}.demo-media svg{width:70%;height:75%;stroke-width:.75}.demo-media .media-caption{position:absolute;bottom:12px;left:15px;font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#666}.demo-media.video{aspect-ratio:16/9;height:auto}.demo-media .play{position:absolute;width:50px;height:50px;background:#fffc;border-radius:50%;display:grid;place-items:center}.gallery-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.gallery-grid .demo-media{height:160px}.gallery-grid .card{padding:10px}.gallery-grid strong{font-size:13px;display:block;margin:13px 2px 4px}.gallery-grid small{font-size:11px;color:var(--muted);display:block;margin:0 2px 7px}.quote-box{border:1px solid var(--strongline);border-radius:11px;padding:16px;background:var(--surface);margin-top:18px}.quote-box strong{font-size:15px}.quote-box small{display:block;color:var(--muted);font-size:12px;margin-top:7px}.drop-zone{border:1px dashed var(--strongline);border-radius:13px;padding:25px 16px;text-align:center;color:var(--muted);font-size:13px}.drop-zone.drag{background:var(--surface)}.doc-view{background:var(--surface);padding:28px;border-radius:12px}.document-paper{max-width:580px;min-height:600px;margin:auto;background:white;color:#222;border:1px solid #ddd;box-shadow:0 4px 24px #00007;padding:50px}.document-paper h1{font-size:25px;margin:16px 0}.document-paper h2{font-size:17px;margin-top:28px}.document-paper p{font-size:13px;margin-top:12px}.document-paper table{font-size:12px;width:100%;border-collapse:collapse;margin-top:18px}.document-paper td,.document-paper th{padding:10px 5px;text-align:left;border-bottom:1px solid #ddd}.version-list{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0}.version-list button{padding:8px 11px;border:1px solid var(--line);border-radius:8px;font-size:12px}.version-list button.active{background:var(--ink);color:var(--bg)}.help-card{padding:18px;border:1px solid var(--line);border-radius:12px}.help-card summary{font-weight:550;font-size:14px;cursor:pointer}.help-card p{font-size:13px;color:var(--muted);margin-top:12px}.help-card+.help-card{margin-top:10px}.status-banner{padding:15px;border:1px solid var(--strongline);border-radius:12px;background:var(--surface);margin-bottom:15px}.status-banner p{font-size:13px;margin-top:7px;color:var(--muted)}.setting-group{border:1px solid var(--line);border-radius:13px;padding:0 17px}.setting-group .nav-row:last-child,.setting-group .switch-row:last-child{border:0}.danger-zone{margin-top:32px;border-top:1px solid var(--line);padding-top:22px}.danger-zone button{text-decoration:underline;font-size:13px}.inline-demo{font-size:10px;border:1px dashed var(--strongline);border-radius:6px;padding:5px 8px;display:inline-flex;color:var(--muted)}
.overlay{position:absolute;inset:0;background:#0004;display:flex;align-items:center;justify-content:center;padding:28px;z-index:40;backdrop-filter:blur(2px)}.sheet{background:var(--bg);border:1px solid var(--line);border-radius:20px;width:480px;max-width:100%;max-height:100%;display:flex;flex-direction:column;box-shadow:0 20px 70px #0002;overflow:hidden}.sheet.wide{width:650px}.sheet-header{display:flex;align-items:center;justify-content:space-between;padding:17px 20px 11px;gap:10px}.sheet-header h2{font-size:20px}.sheet-body{padding:5px 22px 22px;overflow:auto;min-height:0}.sheet-handle{display:none;margin:8px auto 0;width:34px;height:4px;background:var(--strongline);border-radius:4px;flex-shrink:0}.sheet-footer{padding:15px 22px 20px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px}.tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.tool-grid button{display:flex;gap:12px;align-items:flex-start;text-align:left;border:1px solid var(--line);padding:17px 12px;border-radius:11px;font-size:13px}.tool-grid small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.permission{border:1px solid var(--strongline);padding:18px;border-radius:12px;margin:18px 0}.permission p{font-size:13px;color:var(--muted);margin:10px 0}.text-small{font-size:12px;color:var(--muted);line-height:1.5}.empty-section{text-align:center;padding:40px 20px}.empty-section>svg{width:40px;height:40px;margin-bottom:15px;color:var(--muted)}.empty-section p{font-size:14px;color:var(--muted);margin:12px 0 20px}.reply-table{width:100%;font-size:13px;border-collapse:collapse;margin:15px 0}.reply-table th,.reply-table td{border-bottom:1px solid var(--line);padding:10px;text-align:left}.reply-table th{background:var(--surface);font-weight:550}.mono{font-family:ui-monospace,monospace;font-size:12px;background:var(--surface);padding:13px;border-radius:9px;overflow:auto;white-space:pre-wrap}.mini-search{border:1px solid var(--line);padding:9px 12px;border-radius:8px;background:var(--bg);color:var(--muted);font-size:12px;display:flex;align-items:center;gap:8px}
/* Distinct layouts grounded in the three reports. */
.v-chatgpt .sidebar{width:252px}.v-chatgpt .composer-zone>.provider-tabs{display:none}.v-chatgpt .context-chip{background:var(--surface);padding:11px 13px;border-radius:10px;border:1px solid var(--line);margin-bottom:10px}.v-chatgpt .message-answer{font-size:16px;line-height:1.6}.v-chatgpt .composer{border-radius:20px}.v-chatgpt .provider-tabs button{min-height:47px}.v-chatgpt .model-trigger{font-size:12px;font-weight:550}.v-chatgpt .sheet{border-radius:15px}.v-chatgpt .app-header{border-bottom:0}.v-gemini{--radius:18px;--surface:#f1f3f3;--surface2:#f8f9f9}.v-gemini.dark{--surface:#222629;--surface2:#171a1c}.v-gemini .sidebar{width:220px;padding:23px 13px}.v-gemini .side-link{border-radius:20px;padding-left:14px}.v-gemini .side-new{border:0;background:var(--surface);border-radius:24px}.v-gemini .composer{border-radius:26px;border-color:var(--line);background:var(--surface);padding:15px 13px 10px}.v-gemini .composer-zone>.provider-tabs{gap:6px}.v-gemini .provider-tabs button{border:0;border-radius:22px;font-size:11px;min-height:37px;background:var(--surface)}.v-gemini .provider-tabs button.active{background:var(--ink);color:var(--bg)}.v-gemini .file-card{border-radius:17px;background:var(--surface2);border-color:var(--line)}.v-gemini .message-user{border-radius:22px}.v-gemini .app-header{border-bottom:0}.v-gemini .squad-hero{border-radius:22px}.v-gemini .timeline{background:var(--surface);padding:20px 20px 0;border-radius:18px}.v-gemini .step-bullet{background:var(--surface)}.v-gemini .empty-chat h1{font-weight:500;font-size:30px}.v-gemini .gallery-grid .card{border-radius:18px}.v-claude{--surface:#f4f5f7;--surface2:#fafbfc;--radius:12px}.v-claude.dark{--surface:#24262a;--surface2:#191a1d}.v-claude .sidebar{width:240px;padding-top:12px}.v-claude .sidebar>.brand{display:none}.v-claude .side-profile{padding:9px 10px}.v-claude .composer-zone>.provider-tabs{display:none}.v-claude .composer-caption{display:none}.v-claude .context-chip{font-size:10px}.v-claude .composer{border-radius:21px;border-color:var(--line);padding-top:13px}.v-claude .composer textarea{min-height:28px}.v-claude .composer-zone{padding-bottom:21px}.v-claude .model-trigger{border-radius:18px;background:var(--surface);font-size:11px}.v-claude .app-header{padding:11px 20px}.v-claude .provider-dot.gpt{color:#087f67;border-color:#d3e8e2;background:#e7f4f0}.v-claude .provider-dot.gemini{color:#536dcc;border-color:#dae0f6;background:#eef1fc}.v-claude .provider-dot.claude{color:#a26242;border-color:#eadccf;background:#faf0e7}.v-claude .badge.good{color:#356c55;background:#eaf4ec}.v-claude .badge.warning{color:#856327;background:#faf2dd}.v-claude .sheet-handle{display:block}.v-claude .overlay{align-items:flex-end}.v-claude .sheet{border-radius:22px 22px 16px 16px}.v-claude .timeline-row.current .step-bullet{border-color:#bd895b}.v-claude .squad-hero{background:var(--surface2)}.v-unified .sidebar{width:252px}.v-unified .message-answer{font-size:16px;line-height:1.6}.v-unified .context-chip{padding:4px 1px 5px}.v-unified .composer{border-radius:14px}.v-unified .composer textarea{min-height:40px}.v-unified .provider-tabs button{font-size:12px;min-height:44px}.v-unified .sheet .provider-tabs button{font-size:12px}.v-unified .card{border-color:var(--line)}
/* Preview device emulation uses classes, independent of the host width. */
.oneai.phone{font-size:15px}.oneai.phone .sidebar{display:none;position:absolute;left:0;top:0;bottom:0;width:calc(100% - 48px);max-width:330px;z-index:35;background:var(--bg);box-shadow:15px 0 40px #0002}.oneai.phone.menu-open .sidebar{display:flex}.oneai.phone.menu-open .side-backdrop{display:block;position:absolute;inset:0;background:#0005;z-index:34}.oneai.phone .mobile-menu{display:inline-flex}.oneai.phone .telegram{display:flex}.oneai.phone .app-header{padding:10px 12px;min-height:61px;gap:6px}.oneai.phone .headline strong{font-size:13px}.oneai.phone .headline small{font-size:9px}.oneai.phone .header-actions .optional{display:none}.oneai.phone .wallet-pill{font-size:11px;padding:7px}.oneai.phone .message-list{padding:23px 17px}.oneai.phone .message-user{max-width:92%;font-size:14px;padding:13px 15px;margin-bottom:25px}.oneai.phone .message-answer{font-size:15px}.oneai.phone .message-answer h3{font-size:19px}.oneai.phone .answer-label{font-size:10px}.oneai.phone .answer-label small{display:none}.oneai.phone .composer-zone{padding:9px 12px 14px}.oneai.phone .provider-tabs{gap:4px;margin-bottom:8px}.oneai.phone .provider-tabs button{font-size:11px;min-height:42px;padding:7px 3px;gap:3px}.oneai.phone .provider-tabs .provider-dot{display:none}.oneai.phone .composer textarea{font-size:14px}.oneai.phone .model-trigger{font-size:10px;padding-left:5px;max-width:220px}.oneai.phone .right-preview{display:none}.oneai.phone .page-scroll{padding:22px 17px 30px}.oneai.phone h1{font-size:23px}.oneai.phone .page-title{margin-bottom:22px}.oneai.phone .page-title p{font-size:12px}.oneai.phone .page-title .secondary{font-size:12px;padding:9px}.oneai.phone .grid3{grid-template-columns:1fr}.oneai.phone .grid2{gap:11px}.oneai.phone .metric strong{font-size:22px}.oneai.phone .card{padding:15px}.oneai.phone .gallery-grid{gap:10px}.oneai.phone .gallery-grid .demo-media{height:130px}.oneai.phone .overlay{padding:0;align-items:flex-end}.oneai.phone .sheet{width:100%;max-height:calc(100% - 36px);border-radius:21px 21px 0 0;box-shadow:none}.oneai.phone .sheet-handle{display:block}.oneai.phone .sheet-header{padding:12px 17px 9px}.oneai.phone .sheet-header h2{font-size:20px}.oneai.phone .sheet-body{padding:5px 17px 22px}.oneai.phone .sheet-footer{padding:14px 17px 22px}.oneai.phone .sheet-footer .primary{width:100%}.oneai.phone .choice{padding:12px 11px;font-size:14px}.oneai.phone .tool-grid button{padding:14px 10px}.oneai.phone .tool-grid small{font-size:10px}.oneai.phone .squad-hero{padding:18px}.oneai.phone .doc-view{padding:12px}.oneai.phone .document-paper{padding:24px 20px;min-height:480px}.oneai.phone .document-paper h1{font-size:21px}.oneai.phone .ledger{font-size:11px}.oneai.phone .ledger td{padding:14px 3px}.oneai.phone .status-controls button{font-size:10px}.oneai.phone .empty-chat h1{font-size:25px}.oneai.phone .examples{gap:8px}.oneai.phone .examples button{font-size:12px;padding:13px}.oneai.phone .examples small{font-size:10px}.oneai.phone .empty-chat .brand{margin-bottom:24px}.oneai.phone .list-file{gap:10px}.oneai.phone .list-file .ghost{padding:8px;font-size:11px}.oneai.phone .note{font-size:12px}.oneai.phone .source-chip{font-size:10px}.oneai.phone .field>input,.oneai.phone .field>select,.oneai.phone .field>textarea{font-size:16px}.oneai.phone .form-footer .primary{flex:1}
@media(max-width:1100px){.right-preview{display:none}.sidebar{width:220px!important}.message-list{padding:25px}.composer-zone{padding:10px 25px 18px}.page-scroll{padding:25px}}
@media(max-width:760px){.studio-head{padding:12px 13px 8px}.studio-title{display:block}.studio-title span{display:block;margin-top:3px;font-size:10px}.studio-actions{gap:0}.studio-actions button{font-size:10px}.variant-tabs{padding:0 9px}.variant-tabs button{padding:10px 10px;font-size:11px}.variant-tabs .number{display:none}.studio-controls{padding:9px 12px;gap:8px;flex-wrap:wrap}.studio-controls select{max-width:180px;font-size:11px}.studio-controls label{font-size:10px}.demo-label{display:none}.device-switch button{font-size:10px;padding:5px 6px}#theme-toggle{font-size:10px}.variant-description{padding:0 12px 9px;font-size:10px}.stage{padding:12px 7px 24px}.viewport{min-height:700px;height:calc(100svh - 200px);border-radius:12px}.stage.mobile .viewport{height:800px;border-width:3px}.oneai:not(.phone) .sidebar{display:none}.oneai:not(.phone) .mobile-menu{display:flex}.oneai:not(.phone).menu-open .sidebar{display:flex;position:absolute;inset:0 auto 0 0;z-index:35;width:300px!important;background:var(--bg)}.oneai:not(.phone).menu-open .side-backdrop{display:block;position:absolute;inset:0;background:#0005;z-index:34}.oneai:not(.phone) .message-list,.oneai:not(.phone) .page-scroll{padding:20px 17px}.oneai:not(.phone) .composer-zone{padding:10px 15px}.oneai:not(.phone) .app-header{padding:10px 12px}.oneai:not(.phone) .header-actions .optional{display:none}.oneai:not(.phone) .grid3{grid-template-columns:1fr}.oneai:not(.phone) .overlay{padding:10px}.oneai:not(.phone) .provider-tabs button{font-size:11px}.oneai:not(.phone) .document-paper{padding:25px}.oneai:not(.phone) .tool-grid{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Design v1.0 layout with approved 0.34 neutral palette and controls. */
.v-new{--bg:#fff;--surface:#f6f6f6;--surface2:#f7f7f7;--ink:#171717;--line:#e8e8e8;--radius:12px;--strongline:#ddd;--accent:#171717;--accentInk:#fff;--muted:#707070;--field-bg:#fff;--field-ink:#222;--composer-border:#dcdcdc}
.v-new.dark{--bg:#111;--surface:#242424;--surface2:#191919;--ink:#f4f4f4;--line:#383838;--strongline:#555;--accent:#f4f4f4;--accentInk:#111;--muted:#b8b8b8;--field-bg:#191919;--field-ink:#f4f4f4;--composer-border:#555}
.v-new .sidebar{width:240px;padding-top:12px}.v-new .side-profile{padding:9px 10px}.v-new .side-new{border:0;background:var(--surface);font-size:14px}.v-new .mini-search{border:0;background:transparent}.v-new .nav-label{letter-spacing:.6px;font-weight:550}
.v-new .side-empty{font-size:11px;color:var(--muted);padding:9px 11px}.v-new .app-header{padding:11px 20px}.v-new .composer{border:1px solid var(--composer-border);background:var(--bg);border-radius:22px;padding-top:15px;box-shadow:none}.v-new .composer:focus-within{border-color:var(--composer-border);box-shadow:none}.v-new .composer textarea{min-height:35px}.v-new .composer-zone{padding-bottom:16px}.v-new .model-trigger{border-radius:10px;background:var(--surface);font-size:11px;min-width:0}.v-new .send{border-radius:50%;height:36px;width:36px}
.v-new .v1-logo{width:23px;height:23px;object-fit:contain;flex-shrink:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#fff}.v-new .v1-logo.squad{background:var(--surface);color:var(--ink)}.v-new .v1-logo svg{width:18px;height:18px}.v-new .model-trigger .v1-logo{width:19px;height:19px}.v-new .provider-tabs{gap:4px}.v-new .provider-tabs button{border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--ink);padding:8px 5px;gap:4px;flex-direction:row;font-size:11px;font-weight:600;min-height:40px}.v-new .provider-tabs button.active,.v-new .provider-tabs button[aria-pressed="true"]{border-color:var(--ink);background:var(--surface);color:var(--ink)}.v-new .provider-tabs .v1-logo{width:20px;height:20px}
.v-new .field input:not([type=checkbox]):not([type=radio]),.v-new .field textarea,.v-new .field select,.v-new .search-input,.v-new .answer-label select{border:1px solid var(--strongline)!important;box-shadow:none!important;background:var(--field-bg)!important;border-radius:12px;color:var(--field-ink);max-width:100%;min-width:0}.v-new .v1-media-form .field textarea,.v-new .v1-media-form .field select{border-color:var(--line)!important;border-radius:10px}.v-new input:not([type=checkbox]):focus,.v-new textarea:focus,.v-new select:focus{outline:0!important;box-shadow:none!important}.v-new .composer textarea{background:transparent!important}.v-new .search-input{padding:13px;width:100%;margin-bottom:18px}.v-new select{padding:11px;border:0}.v-new .v1-long-text{min-height:300px;max-height:55vh;line-height:1.7}.v-new .v1-setting-row{display:flex;align-items:center;gap:6px}.v-new .v1-setting-row .nav-row{flex:1;min-width:0}.v-new .v1-tip{color:var(--muted);flex-shrink:0}.v-new .v1-setting-row+.v1-setting-row{margin-top:-12px}
.v-new .v1-empty{display:grid;place-items:center;min-height:100%;font-size:28px;font-weight:450;letter-spacing:-.7px;color:#aaa}.v-new.dark .v1-empty{color:#777}.v-new .message-list:has(.v1-empty){padding-top:0;padding-bottom:0}.v-new .v1-answer-text{line-height:1.7;overflow-wrap:anywhere}.v-new .message-answer{font-size:15px}.v-new .file-card{border-color:var(--line);background:var(--surface2)}.v-new .file-card strong{overflow-wrap:anywhere}.v-new .answer-actions{gap:1px}.v-new .answer-actions .compact{margin-left:auto;padding:6px 8px;min-height:30px;font-size:10px}.v-new .answer-actions .icon{padding:7px}.v-new .v1-estimate{display:block;text-align:center;margin-top:9px;min-height:19px}.v-new .v1-estimate button{display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:10px;color:var(--muted);padding:2px 3px;max-width:100%;white-space:nowrap}.v-new .v1-estimate svg{width:12px;height:12px}.v-new .answer-label select{font-size:11px;margin-left:auto;padding:6px 8px;width:135px}.v-new .v1-approvals{display:flex;flex-wrap:wrap;align-items:center;gap:5px;font-size:10px;color:var(--muted);margin-top:17px}.v-new .approval-chip{display:flex;align-items:center;gap:4px;background:var(--surface);padding:5px 6px;border-radius:7px;font-size:10px}.v-new .approval-chip .v1-logo{width:15px;height:15px}.v-new .approval-chip.warning{color:var(--ink);background:var(--surface);box-shadow:inset 0 0 0 1px var(--strongline)}
.v-new .v1-squad-running{display:flex;align-items:center;gap:12px;background:var(--surface);border-radius:14px;padding:17px}.v-new .v1-squad-running strong{font-size:14px;font-weight:550}.v-new .v1-squad-running small{display:block;color:var(--muted);margin-top:5px}.v-new .v1-squad-running .secondary{padding:7px 9px;font-size:11px;min-height:35px}.pulse-dot{width:8px;height:8px;border-radius:50%;background:#707070;box-shadow:0 0 0 5px #70707014;flex-shrink:0;animation:breath 2s infinite}@keyframes breath{50%{opacity:.4}}
.v-new .sheet-handle{display:block}.v-new .overlay{align-items:flex-end}.v-new .sheet{border-radius:22px 22px 16px 16px;width:530px}.v-new .sheet-footer:empty{display:none}.v-new .sheet-body{overflow-x:hidden}.v-new .v1-nav>svg:first-child{width:18px;height:18px;color:var(--muted)}.v-new .v1-project-doors{border-radius:14px;background:var(--surface2);padding:0 14px}.v-new .v1-project-doors .nav-row:last-child{border-bottom:0}.v-new .v1-section-heading{margin-top:28px;margin-bottom:4px}.v-new .v1-space{margin-top:18px;margin-bottom:14px}.v-new .v1-project-file{flex-wrap:wrap}.v-new .v1-project-file .row{gap:2px}.v-new .v1-project-file .icon{width:32px;height:34px}.v-new .v1-document{min-height:390px;font-size:14px;box-shadow:none}.v-new .v1-document h1{font-size:23px}.v-new .v1-document h2{margin-top:25px;margin-bottom:10px;font-size:18px}.v-new .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v-new .gallery-grid .card{min-width:0}.v-new .gallery-grid h3,.v-new .list-file strong{overflow-wrap:anywhere}.v-new .demo-media,.v-new .demo-media svg{width:100%;max-width:100%}.v-new .grid2{grid-template-columns:repeat(2,minmax(0,1fr))}.v-new .tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v-new .page-scroll{overflow-x:hidden}.v-new .member-card{padding:12px;gap:10px}.v-new .member-card small{display:block}.v-new .tag-list{flex-wrap:wrap}.v-new .text-button{font-size:12px;text-align:left;color:var(--muted);padding:5px 0}.v-new .danger-text{color:var(--ink)}
.v-new.phone .provider-tabs .v1-logo{display:inline-flex}.v-new.phone .provider-tabs button{font-size:11px;min-height:56px;flex-direction:column;padding:6px 3px;gap:4px}.v-new.phone .provider-tabs .v1-logo{width:22px;height:22px}.v-new.phone .model-trigger{max-width:calc(100% - 111px);font-size:10px}.v-new.phone .model-trigger span{min-width:0}.v-new.phone .header-actions{gap:3px}.v-new.phone .headline strong{font-size:13px}.v-new.phone .v1-empty{font-size:25px}.v-new.phone .sheet{width:100%;max-height:calc(100% - 36px);border-radius:21px 21px 0 0}.v-new.phone .v1-estimate button{font-size:10px}.v-new.phone .v1-long-text{min-height:310px}.v-new.phone .v1-project-file .grow{flex-basis:100%}.v-new.phone .grid2:has(.setting-group),.v-new.phone .grid2:has(progress){grid-template-columns:1fr}.v-new.phone .sheet-footer .secondary{flex:1}.v-new.phone .sheet-footer .primary{width:auto;flex:1}.v-new.phone .v1-squad-running{padding:13px;gap:9px}.v-new.phone .v1-squad-running small{font-size:10px}.v-new.phone .v1-squad-running strong{font-size:12px}.v-new.phone .composer-zone{padding:9px 12px 12px}
@media(max-width:500px){.v-new .provider-tabs button{flex-direction:column;min-height:56px;padding:6px 3px}.v-new .provider-tabs .v1-logo{width:22px;height:22px}}
@media(max-width:760px){.v-new .grid2:has(progress){grid-template-columns:1fr}.v-new .v1-empty{font-size:25px}.variant-tabs button{flex:1}.studio-head{padding-bottom:10px}.v-new .model-trigger{max-width:calc(100% - 111px)}.v-new .v1-estimate button{font-size:10px}}
@media(prefers-reduced-motion:reduce){.pulse-dot{animation:none}}

/* template 2 — requested visual changes */
.v-new .side-top{display:flex;gap:8px;padding-bottom:4px}.v-new .side-new{flex:1}.v-new .mini-search{width:40px;min-width:40px;padding:10px;margin:0;justify-content:center}.v-new .side-scroll>.nav-label:first-child{margin-top:10px}.v-new .side-link>svg{flex:0 0 20px;width:20px;height:20px}.v-new .v1-dotted-clock svg path{stroke-dasharray:1.6 2.3;stroke-linecap:round}.v-new .v1-logo.squad{display:inline-flex;width:42px;min-width:42px;align-items:center;background:none}.v-new .v1-logo.squad img{width:20px;height:20px;border:1px solid #fff;border-radius:5px;margin-left:-7px;background:#fff;object-fit:contain}.v-new .v1-logo.squad img:first-child{margin-left:0}.v-new .v1-storage-bar{display:block;width:100%;height:6px;border:0;border-radius:8px;overflow:hidden;background:#e9e9e9;accent-color:#222;margin:12px 0}.v-new .v1-storage-bar::-webkit-progress-bar{background:#e9e9e9}.v-new .v1-storage-bar::-webkit-progress-value{background:#222}.v-new .v1-storage-bar::-moz-progress-bar{background:#222}.v-new .v1-balance-layout{display:flex;justify-content:space-between;align-items:center;gap:12px}.v-new .v1-balance-layout h2{font-size:23px}.v-new .v1-balance-actions{display:flex;flex-direction:column;gap:6px;align-items:stretch}.v-new .v1-balance-actions button{padding:9px;font-size:12px}.v-new .v1-centered{align-self:center}.v-new .v1-default-rows .nav-row{border-radius:0}.v-new .v1-default-rows .nav-row strong{display:flex;gap:10px;align-items:center}.v-new .v1-default-rows .nav-row strong .v1-logo{width:22px;height:22px}.v-new .v1-default-rows .nav-row small{margin-left:32px}

/* Complete template 2 changes, scoped to the v1.0 design. */
.v-new .side-top{display:flex;flex-direction:row;align-items:stretch;gap:8px;padding-bottom:0;margin-bottom:0}
.v-new .side-new{flex:1 1 auto;min-width:0;white-space:nowrap}
.v-new .mini-search{flex:0 0 40px;width:40px;min-width:40px;justify-content:center;margin:0}
.v-new .side-scroll>.nav-label:first-child{margin-top:0;padding-top:6px}
.v-new .v1-balance-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.v-new .v1-balance-layout>div{min-width:0}
.v-new .v1-balance-layout h2{font-size:20px;overflow-wrap:normal}
.v-new .v1-balance-actions button{white-space:normal;overflow-wrap:break-word;min-width:0}
.v-new .sheet.template2-tone{animation:template2-tone-in .22s cubic-bezier(.2,.8,.2,1)}
@keyframes template2-tone-in{from{transform:translateY(100%);opacity:.5}to{transform:translateY(0);opacity:1}}
@media(prefers-reduced-motion:reduce){.v-new .sheet.template2-tone{animation:none}}
/* Preview controls are outside the application. */
#variant-tabs{display:none!important}

/* Agreed additions, restricted to New Template v1.1. */
.v-new .side-link>.v11-chat-icon{width:22px;height:22px;flex:0 0 22px;color:var(--ink);fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.v-new .v11-temporary-toggle{width:36px;height:36px;min-width:36px;border-radius:50%;flex:0 0 36px;background:var(--bg);color:var(--ink)}
.v-new .v11-temporary-toggle svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.v-new .v11-temporary-toggle[aria-pressed="true"]{background:var(--bg);color:var(--ink)}
.v-new .v11-temporary-empty{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px 8px;color:var(--muted)}
.v-new .v11-temporary-empty h2{margin:0 0 5px;font-size:23px;line-height:1.35;font-weight:600;letter-spacing:0;color:var(--muted)}
.v-new .v11-temporary-empty p{margin:0;max-width:340px;font-size:17px;line-height:1.6;color:#888}
.v-new.dark .v11-temporary-empty p{color:#aaa}
.v-new .message-list.v11-empty-temporary-list{padding-top:0;padding-bottom:0}
.v-new .v11-temporary-reminder{text-align:center;color:var(--muted);font-size:12px;line-height:1.6;margin:0 0 22px}
.v-new .v11-notifications-label{min-width:0;flex:1}
.v-new .v11-notifications-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#c42b36;color:#fff;font-size:11px;font-weight:650;line-height:20px;font-variant-numeric:tabular-nums;flex:0 0 auto}
.v-new .v11-notifications-badge[hidden]{display:none!important}
.v-new .v11-unread-menu{position:relative}
.v-new .v11-unread-menu::after{content:'';position:absolute;right:6px;top:6px;width:8px;height:8px;border-radius:50%;background:#c42b36;box-shadow:0 0 0 2px var(--bg);pointer-events:none}
.v-new .v11-notifications-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px}
.v-new .v11-notifications-toolbar>p{flex:1;min-width:160px;margin:0}
.v-new .v11-notifications-toolbar>button{min-height:40px}
.v-new .v11-notifications-list{display:grid;gap:12px}
.v-new .v11-notification{border:1px solid var(--line);border-radius:12px;background:var(--bg);padding:18px;min-width:0}
.v-new .v11-notification.unread{background:var(--surface2)}
.v-new .v11-notification-head{display:flex;align-items:flex-start;gap:12px;justify-content:space-between}
.v-new .v11-notification-head h3{margin:0;font-size:15px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}
.v-new .v11-notification-unread{display:inline-flex;align-items:center;gap:5px;color:#a9202b;font-size:11px;line-height:22px;white-space:nowrap;flex:0 0 auto}
.v-new .v11-notification-unread::before{content:'';width:6px;height:6px;border-radius:50%;background:#c42b36}
.v-new .v11-notification-body{font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:9px 0;color:var(--muted)}
.v-new .v11-notification time{display:block;font-size:11px;color:var(--muted)}
.v-new .v11-notification-actions{display:flex;align-items:center;gap:8px 18px;flex-wrap:wrap;margin-top:10px}
.v-new .v11-notification-actions button{min-height:40px;margin:0;font-size:12px;text-align:left}
.v-new.phone .v11-notification{padding:14px}
.v-new.phone .v11-notification-head{gap:6px;flex-wrap:wrap}
.v-new.phone .v11-notifications-toolbar{gap:6px}
.v-new.phone .v11-notifications-toolbar>p{flex-basis:100%;margin-bottom:4px}
.v-new.phone .v11-notifications-toolbar>button{flex:1}
.v-new .overlay:has(>.v11-answer-sheet){align-items:flex-end}
.v-new .v11-answer-sheet{animation:v11-answer-slide .22s cubic-bezier(.2,.8,.2,1)}
@keyframes v11-answer-slide{from{transform:translateY(100%);opacity:.4}to{transform:translateY(0);opacity:1}}
@media(prefers-reduced-motion:reduce){.v-new .v11-answer-sheet{animation:none}}

/* Approved dot help — 2026-10-31; page-scoped graphics. */
.dot-help .illustration{margin:17px 0 0;padding:15px;background:#f7f7f7;border:1px solid #e4e4e4;border-radius:10px;overflow:hidden}
.dot-help .illustration figcaption{font-size:12px;font-weight:600;color:#222;margin-bottom:13px}
.dot-help .graphic-flow{display:grid;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr);gap:9px;align-items:center}
.dot-help .mini-screen{background:#fff;border:1px solid #dedede;border-radius:10px;min-width:0;overflow:hidden}
.dot-help .mini-head{padding:10px 11px;border-bottom:1px solid #e9e9e9;font-size:11px;font-weight:600;color:#333;background:#fff}
.dot-help .mini-body{padding:12px;font-size:12px;line-height:1.55}
.dot-help .flow-arrow{font-size:21px;color:#777;text-align:center}
.dot-help .mini-nav{margin-bottom:10px}
.dot-help .callout{display:inline-flex;align-items:center;gap:7px;font-size:11px;line-height:1.4;color:#314754}
.dot-help .callout b{display:inline-grid;place-items:center;flex:none;width:21px;height:21px;border-radius:50%;background:#294754;color:#fff;font-size:10px}
.dot-help .composer-scheme{border:1px solid #aaa;border-radius:13px;padding:11px;font-size:12px;margin-bottom:10px}
.dot-help .composer-bottom{display:flex;align-items:center;gap:8px;margin-top:16px;font-size:14px}
.dot-help .model-label{font-size:10px;background:#f1f1f1;border-radius:6px;padding:5px 7px}
.dot-help .composer-bottom>span:last-child{margin-left:auto}
.dot-help .send-example{border-radius:50%;background:#222;color:#fff;width:25px;height:25px;display:grid;place-items:center}
.dot-help .user-bubble{background:#f0f0f0;color:#222;border-radius:10px 10px 2px 10px;padding:11px;font-size:12px;margin:9px 0}
.dot-help .ai-bubble{font-size:12px;color:#333;line-height:1.65;margin:9px 0}
.dot-help .ai-label{display:block;font-size:10px;color:#777;margin-bottom:6px;font-weight:500}
.dot-help .provider-options{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}
.dot-help .provider-options span{border:1px solid #ddd;border-radius:6px;padding:5px;font-size:10px}
.dot-help .provider-options .chosen,.dot-help .target{border:1px solid #52768a;background:#eef4f7;color:#294754}
.dot-help .small-line{font-size:10px;color:#6b6b6b;line-height:1.6;margin-top:10px}
.dot-help .settings-line{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0;font-size:11px;border-bottom:1px solid #e9e9e9}
.dot-help .settings-line:last-child{border-bottom:0}
.dot-help .prompt-parts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:10px}
.dot-help .prompt-parts>div{padding:11px;background:white;border:1px solid #e2e2e2;border-radius:8px;font-size:12px}
.dot-help .part-label{display:block;font-size:10px;letter-spacing:.1px;color:#777;margin-bottom:7px}
.dot-help .followup-chips{display:flex;flex-wrap:wrap;gap:5px}
.dot-help .followup-chips span{font-size:10px;background:#f5f5f5;border:1px solid #ddd;border-radius:6px;padding:5px}
.dot-help .file-tile{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #dedede;border-radius:8px}
.dot-help .file-symbol{display:grid;place-items:center;width:30px;height:36px;border:1px solid #b6b6b6;border-radius:4px;font-size:9px}
.dot-help .file-tile strong{font-size:11px}
.dot-help .file-tile small{display:block;font-size:10px;color:#777}
.dot-help .result-line{display:flex;align-items:center;gap:10px;font-size:12px;margin:11px 0}
.dot-help .result-line i{display:block;height:7px;border-radius:3px;width:80%;background:#e7e7e7}
.dot-help .result-line:nth-child(3) i{width:65%}
.dot-help .field-caption{font-size:10px;color:#777;margin-bottom:5px}
.dot-help .fake-field{border:1px solid #ddd;border-radius:8px;padding:10px;font-size:12px}
.dot-help .fake-button{font-size:11px;text-align:center;padding:9px;background:#222;color:white;border-radius:8px;margin-top:12px}
.dot-help .scene-square{max-width:180px;margin:auto}
.dot-help .scene{display:block;width:100%;height:auto;max-height:180px}
.dot-help .timeline{display:flex;align-items:center;gap:7px;font-size:9px;color:#888;margin-top:9px}
.dot-help .timeline i{flex:1;height:3px;background:#c3ccc4;border-radius:2px}
.dot-help .voice-center{display:flex;align-items:center;justify-content:center;gap:15px;padding:16px 0}
.dot-help .mic-circle{display:grid;place-items:center;border:2px solid #667d88;border-radius:50%;width:48px;height:48px;font-size:25px;background:#eff4f6;color:#294754}
.dot-help .wave{display:flex;align-items:center;gap:3px;height:40px}
.dot-help .wave i{width:3px;height:12px;background:#8b9da6;border-radius:2px}
.dot-help .wave i:nth-child(2n){height:25px}
.dot-help .wave i:nth-child(3n){height:37px}
.dot-help .voice-caption{text-align:center;font-size:11px;color:#555}
.dot-help .cost-note{font-size:11px;color:#666;padding:11px;border:1px solid #dedede;border-radius:8px;margin-top:12px}
.dot-help .project-root{position:relative;text-align:center;padding:15px;border:1px solid #c8c8c8;background:#fff;border-radius:9px;max-width:300px;margin:auto}
.dot-help .project-root strong{display:block;font-size:13px}
.dot-help .project-root small{display:block;font-size:10px;color:#777;margin-top:4px}
.dot-help .folder-symbol{font-size:26px;line-height:1;display:block;margin-bottom:4px}
.dot-help .project-branches{display:flex;gap:12px;margin-top:24px;position:relative}
.dot-help .project-branches:before{content:'';position:absolute;top:-13px;left:16.5%;right:16.5%;height:1px;background:#bbb}
.dot-help .project-branches:after{content:'';position:absolute;width:1px;height:13px;top:-25px;left:50%;background:#bbb}
.dot-help .project-branches>div{position:relative;flex:1;background:#fff;border:1px solid #ddd;border-radius:8px;padding:12px 7px;text-align:center}
.dot-help .project-branches>div:before{content:'';width:1px;height:13px;background:#bbb;position:absolute;top:-13px;left:50%}
.dot-help .project-branches span{display:block;font-size:9px;color:#777}
.dot-help .project-branches strong{display:block;font-size:11px;margin-top:3px}
.dot-help .toggle-on{width:30px;height:17px;flex:none;border-radius:10px;background:#333;position:relative}
.dot-help .toggle-on:after{content:'';position:absolute;width:13px;height:13px;right:2px;top:2px;background:#fff;border-radius:50%}
.dot-help .memory-record{padding:13px;border:1px solid #ddd;border-radius:8px;margin-top:12px}
.dot-help .memory-record strong{font-size:12px;display:block}
.dot-help .memory-actions{display:flex;gap:12px;margin-top:13px;font-size:11px;color:#555}
.dot-help .memory-actions span{border:1px solid #ddd;padding:4px 8px;border-radius:5px}
.dot-help .compare{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.dot-help .compare-card{padding:13px;background:#fff;border:1px solid #ddd;border-radius:9px}
.dot-help .compare-title{display:block;font-size:11px;font-weight:600;margin-bottom:10px}
.dot-help .context-block{font-size:10px;color:#888;border:1px dashed #ccc;padding:9px;border-radius:5px;margin-bottom:8px}
.dot-help .question-line{font-size:12px;padding-top:6px}
.dot-help .recommended{border-color:#82959e;background:#fbfcfc}
.dot-help .money-flow{display:grid;grid-template-columns:1fr 20px 1fr;gap:12px;align-items:center}
.dot-help .money-flow>div{border:1px solid #ddd;border-radius:9px;padding:14px;background:#fff}
.dot-help .money-flow strong{font-size:13px;display:block}
.dot-help .money-flow small{font-size:11px;color:#666;display:block;margin-top:9px;line-height:1.6}
.dot-help .money-arrow{text-align:center;color:#888}
.dot-help .mini-balance{display:flex;justify-content:space-between;gap:10px;font-size:11px;margin-top:13px;padding-top:12px;border-top:1px solid #ddd}
.dot-help .mini-balance span{color:#777}
.dot-help .diagram-note{font-size:9px;color:#8b8b8b;margin-top:12px;line-height:1.5}
.dot-help .phone .graphic-flow,.dot-help .phone .money-flow{grid-template-columns:1fr;gap:8px}
.dot-help .phone .flow-arrow,.dot-help .phone .money-arrow{transform:rotate(90deg);line-height:20px}
.dot-help .phone .prompt-parts,.dot-help .phone .compare{grid-template-columns:1fr}
.dot-help .phone .illustration{padding:11px}
.dot-help .phone .mini-balance{flex-direction:column;gap:3px}
@media(max-width:600px){.dot-help .graphic-flow,.dot-help .money-flow{grid-template-columns:1fr;gap:8px}
.dot-help .flow-arrow,.dot-help .money-arrow{transform:rotate(90deg);line-height:20px}
.dot-help .prompt-parts,.dot-help .compare{grid-template-columns:1fr}
.dot-help .illustration{padding:11px}
.dot-help .mini-balance{flex-direction:column;gap:3px}
.dot-help .project-branches{gap:6px}
.dot-help .project-branches strong{font-size:10px}
}
.dot-help .help-card strong{font-weight:600;color:var(--ink)}
.dot-help .illustration{color:#181818;line-height:1.55}.dot-help .illustration p{margin:0}.dot-help .illustration strong{color:inherit}.dot-help .scene{max-width:100%}

.dot-help .timeline{flex-direction:row;margin:12px 0 0;padding:0;background:none}.dot-help .scene{stroke:none}
.dot-help .muted{color:#6b6b6b}

/* Account synchronization, shared profile controls. */
.oneai-sync{max-width:680px;display:flex;flex-direction:column;gap:20px;min-width:0}
.oneai-sync .setting-group{margin:0}.oneai-sync .nav-row{padding:18px 20px}
.oneai-sync .nav-row strong,.oneai-sync .nav-row small{display:block}
.oneai-sync .nav-row small{margin-top:6px;overflow-wrap:anywhere;color:var(--muted)}
.oneai-sync form label{display:flex;flex-direction:column;gap:8px}
.oneai-sync input{width:100%;box-sizing:border-box;min-height:46px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--ink);font:inherit}
.oneai-sync a.primary{align-self:flex-start;text-decoration:none;padding:12px 20px;border-radius:8px}

html,body{height:100%;min-height:100%;overflow:hidden;background:#fff}#app-root{height:100dvh;width:100%}.oneai>.workspace>.telegram{display:none}.oneai{height:100%}#toast{z-index:1000}.oneai [aria-busy="true"]{cursor:progress}.oneai .runtime-error{color:#9b1c1c}

/* Stabilization: readable responses and independent scrolling for wide output. */
.message-list{scroll-behavior:auto;overflow-anchor:auto}
.v1-answer-text{overflow-wrap:anywhere}.markdown p{margin:.55em 0}.markdown pre{white-space:pre;overflow:auto;max-width:100%}
.markdown .md-code,.markdown .md-table-scroll{max-width:100%;overflow:auto}.markdown table{border-collapse:collapse;width:100%}.markdown th,.markdown td{border:1px solid var(--line,#ddd);padding:8px;text-align:left}
.markdown .md-code-bar{display:flex;justify-content:space-between;align-items:center;gap:12px}.markdown blockquote{border-left:3px solid #ccc;padding-left:12px;margin-left:0}
/* Stable reserved row keeps the reading viewport unchanged when the arrow hides. */
.runtime-jump-slot{height:48px;flex:0 0 48px;display:flex;align-items:center;justify-content:center}
.runtime-jump{position:static;width:44px;height:44px;min-height:44px;padding:10px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:50%;background:var(--surface,#fff)}.runtime-jump svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.runtime-jump[hidden]{display:none}

/* Native touch highlights can outlive their trigger and paint over a new sheet. */
:root{accent-color:#555;-webkit-tap-highlight-color:transparent}
button,a,input,textarea,select,summary,label{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #888;outline-offset:3px}
@media(hover:hover) and (pointer:fine){button:active{filter:brightness(.94)}}
@media(hover:none),(pointer:coarse){.oneai button{transition:none}}
.v-new .provider-tabs button{transition:none}
.v-new .v1-logo.squad,.v-new .provider-tabs .v1-logo.squad,.v-new .model-trigger .v1-logo.squad{display:inline-flex;align-items:center;justify-content:center;gap:4px;height:23px;width:56px;min-width:56px;flex-shrink:0;border-radius:0;background:none}
.v-new .v1-logo.squad img{position:static;display:block;flex:0 0 16px;width:16px;height:16px;margin:0;border:0;border-radius:0;background:transparent;object-fit:contain;mix-blend-mode:multiply}
.v-new.dark .v1-logo.squad img{mix-blend-mode:screen;filter:invert(1)}
.v-new .v1-estimate{margin-top:3px;min-height:16px}
.v-new .v1-estimate button{white-space:normal;line-height:1.25;padding:1px 3px;font-size:10px}
.v-new.phone .composer-zone{padding-bottom:max(5px,env(safe-area-inset-bottom))}
.v400-page-heading{display:flex;align-items:center;gap:10px}
.v400-page-back{flex-shrink:0;margin-left:-8px}
.v-new .v400-balance h3,.v-new .v400-storage h3{margin:0;font-size:18px}
.v400-balance-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:22px}
.v400-amount{font-size:32px;font-weight:600;letter-spacing:-.8px;line-height:1.2;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.v400-balance-row small{display:block;margin-top:3px;color:var(--muted)}
.v400-balance-row>.primary{flex-shrink:0;min-height:46px;padding:12px 20px}
.v400-reserve{margin:12px 0 19px}
.v400-card-links{border-top:1px solid var(--line);padding-top:8px}
.v400-card-links .nav-row{padding:13px 0}
.v400-card-links .nav-row strong{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:400}
.v400-card-links .nav-row strong svg{width:18px;flex-shrink:0;color:var(--muted)}
.v400-help{display:flex;align-items:center;gap:8px;text-align:left;min-height:40px;font-size:12px;padding:10px 0;color:var(--muted)}
.v400-help svg{width:16px;flex-shrink:0}
.v-new .card.v400-storage{padding:0;overflow:hidden}
.v400-storage-tabs{display:flex;gap:5px;background:var(--surface);padding:8px 9px 0;border-bottom:1px solid var(--line)}
.v400-storage-tabs button{position:relative;flex:1;padding:13px 10px;border:1px solid transparent;border-radius:12px 12px 0 0;font-size:13px;color:var(--muted)}
.v400-storage-tabs button[aria-selected="true"]{background:var(--bg);border-color:var(--line);border-bottom-color:var(--bg);color:var(--ink);font-weight:600}
.v400-storage-tabs button[aria-selected="true"]:after{content:"";position:absolute;bottom:-2px;left:0;right:0;height:3px;background:var(--bg)}
.v400-storage-panel{padding:20px;display:flex;flex-direction:column;gap:16px}
.v400-storage-panel p,.v400-storage-panel progress{margin:0}
.v400-storage-total{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}
.v400-storage-total strong{font-size:27px;font-weight:600;letter-spacing:-.5px}
.v400-storage-total span{color:var(--muted);font-size:13px}
.v400-storage-actions{display:flex;gap:9px}.v400-storage-actions>*{flex:1;min-width:0;padding:11px 6px}
.v400-storage-panel .switch-row{min-height:48px;padding:8px 0;border:0}
.v400-storage-panel .v400-help{padding-bottom:0}
.v400-history-heading>.page-title{margin-bottom:0}
.v-new .v1-default-rows .nav-row small{line-height:1.5;overflow-wrap:anywhere}
@media(max-width:760px){.oneai.phone .sidebar,.oneai:not(.phone).menu-open .sidebar{width:80%!important;max-width:none}.v400-storage-panel{padding:18px}.v400-balance-row>.primary{padding:12px 16px}.v400-amount{font-size:30px}}
@media(prefers-reduced-motion:reduce){.v-new .sheet{animation:none!important}}

.v400-download-link{display:block;text-align:center;text-decoration:none;border:1px solid var(--line);border-radius:10px;padding:12px;color:var(--ink)}

/* Approved design v2.1: screen scopes selected by the production renderer. */
body.audit-proposal .v-new{--muted:#707070}
.audit-proposal .v-new .text-small,.audit-proposal .v-new .hint{font-size:12px;line-height:1.55}
.audit-proposal .v-new input,.audit-proposal .v-new textarea,.audit-proposal .v-new select{font-size:16px}
.audit-proposal .v-new :is(input,textarea,select):focus-visible{outline:2px solid #666!important;outline-offset:3px;box-shadow:none!important}
.audit-proposal .v-new .icon,.audit-proposal .v-new .icon.small{min-width:44px;min-height:44px}
.audit-proposal .v-new .answer-actions button{min-width:44px;min-height:44px}
.audit-proposal .v-new .wallet-pill{min-height:44px}
.audit-proposal .v-new details>summary{min-height:44px;display:flex;align-items:center;gap:8px;cursor:pointer}
.audit-proposal .v-new details>summary:before{content:'▸';font-size:12px}.audit-proposal .v-new details[open]>summary:before{content:'▾'}
.audit-proposal .v-new .switch-row{min-height:44px;cursor:pointer}
.audit-proposal .v-new .v1-estimate button{font-size:12px;min-height:30px;padding:5px 2px}
.audit-proposal .v-new .v1-empty{color:#666}
.audit-proposal .v-new .page-title{flex-wrap:wrap;align-items:center;gap:14px}
.audit-proposal .v-new .v400-page-heading{min-width:0;flex:1}
.audit-proposal .v-new .page-title h1,.audit-proposal .v-new .page-title h2{overflow-wrap:anywhere;white-space:normal}
.audit-proposal .v-new .v1-answer-text{font-size:16px;line-height:1.65}
.audit-proposal .v1-answer-text p{margin:12px 0}.audit-proposal .v1-answer-text h2{font-size:21px;line-height:1.35;margin:10px 0 15px}.audit-proposal .v1-answer-text h3{font-size:17px;margin:22px 0 10px}.audit-proposal .v1-answer-text ul{padding-left:22px;margin:12px 0}.audit-proposal .v1-answer-text li{margin:7px 0}
.audit-proposal .audit-table{overflow-x:auto;border:1px solid var(--line);border-radius:10px;margin:18px 0}.audit-proposal .audit-table table{border-collapse:collapse;min-width:330px;width:100%;font-size:13px}.audit-proposal .audit-table th,.audit-proposal .audit-table td{padding:11px 12px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}.audit-proposal .audit-table th{font-weight:600;background:var(--surface)}.audit-proposal .audit-table tr:last-child td{border-bottom:0}
.audit-proposal .audit-code{margin:18px 0;border:1px solid var(--line);border-radius:10px;overflow:hidden}.audit-proposal .audit-code header{display:flex;align-items:center;justify-content:space-between;padding:6px 12px;background:var(--surface);font-size:11px;border-bottom:1px solid var(--line)}.audit-proposal .audit-code button{font-size:11px;min-height:32px}.audit-proposal .audit-code pre{overflow-x:auto;padding:15px;margin:0;font:12px/1.65 ui-monospace,monospace}.audit-proposal .v1-answer-text a{text-decoration:underline;color:inherit}
.audit-proposal .audit-meta{font-size:12px;color:var(--muted);line-height:1.5}.audit-proposal .audit-status{padding:11px 13px;border:1px solid var(--line);border-radius:9px;background:var(--surface);font-size:12px;line-height:1.6;margin:13px 0}
.audit-proposal .audit-caption{font-size:12px;color:var(--muted);line-height:1.5;margin:10px 0 16px}.audit-proposal .audit-models{display:grid;gap:8px;margin:12px 0 18px}.audit-proposal .audit-model-choice{display:flex;gap:11px;text-align:left;width:100%;padding:13px;border:1px solid var(--line);border-radius:11px;align-items:center}.audit-proposal .audit-model-choice.selected{border-color:var(--ink);background:var(--surface)}.audit-proposal .audit-model-choice>span{flex:1}.audit-proposal .audit-model-choice strong{font-size:14px;display:block}.audit-proposal .audit-model-choice small{display:block;font-size:12px;line-height:1.5;color:var(--muted);margin-top:4px}
.audit-proposal .audit-segment{display:flex;gap:4px;background:var(--surface);border-radius:9px;padding:4px;flex-wrap:wrap}.audit-proposal .audit-segment button{flex:1;min-height:40px;font-size:12px;border-radius:6px;padding:7px}.audit-proposal .audit-segment button.selected{background:var(--bg);box-shadow:0 1px 5px #00000012;font-weight:600}
.audit-proposal .audit-squad{padding:0}.audit-proposal .audit-squad .answer-label{justify-content:flex-start;flex-wrap:wrap}.audit-proposal .audit-squad .audit-status{margin-top:16px}.audit-proposal .audit-squad-top{display:flex;gap:10px;align-items:center;justify-content:space-between}.audit-proposal .audit-squad-top>strong{font-size:14px}.audit-proposal .audit-opinion{margin:16px 0;padding:12px 14px;border-left:3px solid #888;background:var(--surface);font-size:13px;line-height:1.6}.audit-proposal .audit-squad-tabs{display:flex;border-bottom:1px solid var(--line);margin:18px 0 14px}.audit-proposal .audit-squad-tabs button{flex:1;min-height:44px;font-size:12px;border-bottom:2px solid transparent}.audit-proposal .audit-squad-tabs button.selected{border-color:var(--ink);font-weight:600}.audit-proposal .audit-steps{margin:16px 0;display:grid;gap:17px}.audit-proposal .audit-step{display:flex;gap:11px;align-items:flex-start;font-size:13px}.audit-proposal .audit-step i{font-style:normal;width:21px;height:21px;flex-shrink:0;border:1px solid #aaa;border-radius:50%;display:grid;place-items:center;font-size:11px}.audit-proposal .audit-step.done i{background:#222;color:#fff;border-color:#222}.audit-proposal .audit-step.current i{border:2px solid #555}.audit-proposal .audit-step small{display:block;color:var(--muted);font-size:11px;margin-top:4px}
.audit-proposal .audit-notice{padding:18px 0;border-bottom:1px solid var(--line)}.audit-proposal .audit-notice h3{font-size:15px;margin:0}.audit-proposal .audit-notice p{font-size:13px;line-height:1.6;color:var(--muted);margin:9px 0}.audit-proposal .audit-notice time{font-size:11px;color:var(--muted)}.audit-proposal .audit-notice button{font-size:12px;min-height:40px}.audit-proposal .audit-filter{display:flex;gap:6px;flex-wrap:wrap;margin:18px 0}.audit-proposal .audit-filter button{border:1px solid var(--line);border-radius:18px;padding:7px 12px;font-size:12px}.audit-proposal .audit-filter button.selected{background:var(--ink);color:var(--bg)}.audit-proposal .audit-unread{width:7px;height:7px;background:#777;border-radius:50%;display:inline-block;margin-right:8px}
.audit-proposal .audit-memory{padding:16px;border:1px solid var(--line);border-radius:12px;margin-top:14px}.audit-proposal .audit-memory small{font-size:11px;color:var(--muted)}.audit-proposal .audit-memory p{font-size:14px;line-height:1.6;margin:10px 0}.audit-proposal .audit-memory button{font-size:12px;min-height:36px}.audit-proposal .audit-jump{position:absolute;right:20px;bottom:165px;background:var(--bg);border:1px solid var(--line);border-radius:24px;box-shadow:0 2px 14px #0001;padding:10px 16px;min-height:44px;font-size:12px;z-index:5}
.audit-proposal .audit-err{max-width:420px;margin:50px auto;border:1px solid var(--line);border-radius:16px;padding:24px}.audit-proposal .audit-err h2{font-size:20px}.audit-proposal .audit-err p{font-size:14px;line-height:1.6;color:var(--muted);margin:14px 0}.audit-proposal .audit-err button{min-height:44px}
.audit-claude .v-new .headline small{font-size:12px}.audit-claude .v-new .model-trigger{font-size:13px!important;min-height:44px}.audit-claude .v-new .side-link{min-height:44px}.audit-claude .v-new .answer-label{font-size:12px}.audit-claude .v-new .v1-answer-text a{color:#286ab0}.audit-claude .audit-unread{background:#3d78bf}.audit-claude .audit-status.warning{background:#fff6db;color:#805d17;border-color:#edd9a0}.audit-claude .audit-opinion{background:#fff9eb;border-color:#c79834}.audit-claude .audit-step.done i{background:#2a8159;border-color:#2a8159}.audit-claude .audit-step.current i{border-color:#3578bd}.audit-claude .audit-native-footer{position:sticky;bottom:0;padding:12px 18px 15px;background:var(--bg);border-top:1px solid var(--line)}.audit-claude .audit-native-footer button{width:100%;min-height:48px;border-radius:12px}.audit-claude .danger,.audit-claude .audit-delete{color:#bb2e2e!important}.audit-claude .audit-delete.primary{color:#fff!important;background:#ba3030!important;border-color:#ba3030!important}
.audit-claude .audit-examples{display:grid;gap:9px;margin-top:20px;max-width:360px}.audit-claude .audit-examples button{border:1px solid var(--line);border-radius:12px;padding:14px;text-align:left;font-size:13px}.audit-claude .audit-empty h2{font-size:25px;line-height:1.3;letter-spacing:-.6px}.audit-claude .audit-empty p{font-size:13px;color:var(--muted);margin:12px 0;line-height:1.6}
.audit-claude .v-new.dark .audit-opinion,.audit-claude .v-new.dark .audit-status.warning{background:#332b1b;color:#e5cd94;border-color:#7d662c}.audit-claude .v-new.dark input,.audit-claude .v-new.dark select,.audit-claude .v-new.dark textarea{background:var(--bg)!important;color:var(--ink)!important}
@media(max-width:760px){.audit-proposal .v-new .grid2:has(.v400-storage){grid-template-columns:1fr}.audit-proposal .v-new .page-title>.primary,.audit-proposal .v-new .page-title>.secondary{max-width:100%;white-space:normal}.audit-proposal .v-new .headline strong{font-size:14px}.audit-proposal .v-new .headline small{font-size:11px}.audit-proposal .v-new .page-scroll{padding:22px 18px 30px}.audit-proposal .v-new .sheet-body{padding-left:18px;padding-right:18px}.audit-claude .v-new .v1-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important}.audit-claude .v-new .v1-gallery .demo-media{height:145px}.audit-claude .v-new .v1-gallery article strong{font-size:12px}.audit-claude .v-new .v1-gallery article .row{flex-wrap:wrap}.audit-claude .v-new .v1-gallery article button{font-size:11px}.audit-claude .v-new .v1-project-grid{grid-template-columns:1fr!important}}
@media(max-width:365px){.audit-proposal .v-new .page-title>.primary,.audit-proposal .v-new .page-title>.secondary{flex-basis:100%}.audit-proposal .v-new .app-header{padding-left:10px;padding-right:10px;gap:6px}.audit-proposal .v-new .header-actions{gap:0}.audit-proposal .v-new .wallet-pill{padding:7px}.audit-proposal .v-new .headline strong{font-size:12px}.audit-proposal .v-new .sheet-header h2{font-size:20px}}
.audit-proposal .audit-input-files{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.audit-proposal .audit-input-files button{display:flex;align-items:center;gap:7px;padding:8px 10px;font-size:11px;border:1px solid var(--line);border-radius:8px}.audit-proposal .audit-input-files svg{width:16px;height:16px}.audit-claude .audit-project-list{grid-template-columns:1fr!important}.audit-claude .audit-project-list .project-card{gap:8px;padding:17px}.audit-claude .audit-project-list .project-card svg{width:20px;height:20px}.audit-claude .audit-ratios{display:flex;gap:8px}.audit-claude .audit-ratios button{display:grid;place-items:center;gap:7px;flex:1;border:1px solid var(--line);border-radius:10px;padding:12px 8px;font-size:12px}.audit-claude .audit-ratios button.selected{border-color:var(--ink);background:var(--surface)}.audit-claude .audit-ratios i{display:block;height:23px;max-width:42px;border:1.5px solid currentColor;border-radius:3px}.audit-claude .v-new.dark{--muted:#a3a3a3}.audit-claude .v-new.dark .v1-logo.squad img{mix-blend-mode:normal;filter:none}.audit-claude .v-new.dark .v1-logo.squad img:first-child{filter:invert(1)}
.audit-claude .audit-project-list .project-card{align-items:flex-start;text-align:left}.audit-claude .audit-project-list .project-card h3,.audit-claude .audit-project-list .project-card p{width:100%;text-align:left}

/* Approved user adjustments. */
.user-design .user-side-account{display:grid;grid-template-columns:32px minmax(0,1fr);grid-template-rows:24px 24px;column-gap:10px;padding:3px 10px;flex-shrink:0;min-width:0}
.user-design .user-side-account button{background:transparent;border:0;border-radius:5px;padding:0;min-width:0;text-align:left;color:var(--ink)}
@media(hover:hover) and (pointer:fine){.user-design .user-side-account button:hover{background:var(--surface)}}
.user-design .user-account-avatar{grid-column:1;grid-row:1/3;display:flex;align-items:center;justify-content:center}
.user-design .user-account-name{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:space-between;gap:6px}
.user-design .user-account-name strong{font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.user-design .user-account-name svg{width:18px;height:18px;flex:0 0 18px}
.user-design .user-side-account .user-account-balance{grid-column:2;grid-row:2;font-size:11px;line-height:1.4;color:var(--muted);white-space:nowrap}
.user-design .user-account-balance span{color:var(--ink)}
.user-design .user-support-link{padding-right:8px}
.user-design .user-error-support{margin-top:10px}
.user-design .user-error-support button{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:100%;white-space:normal}
.user-design .user-error-support svg{width:18px;height:18px;flex:0 0 18px}
.user-design .user-mode-segment{display:flex;flex-wrap:nowrap;gap:4px;margin-bottom:16px}
.user-design .user-mode-button{display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0;padding:10px 3px!important;min-height:58px!important}
.user-design .user-mode-button strong{font-size:13px;font-weight:600;line-height:1.3}
.user-design .user-mode-button small{display:block;font-size:10px;font-weight:400;line-height:1.35;color:var(--muted);white-space:nowrap}
.user-design .user-research{padding:10px 0;margin-bottom:13px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.user-design .user-research .switch-row{margin:0}.user-design .user-exact-effort{margin:0 0 12px}
.user-design .user-permissions{margin:14px 0}.user-design .user-duration{font-weight:400;color:var(--muted);white-space:nowrap}
.user-design .user-formatted .v1-answer-text{font-size:16px;line-height:1.65}
.user-design .user-formatted .v1-answer-text p{margin:12px 0}.user-design .user-formatted .v1-answer-text h2{font-size:21px;line-height:1.35;margin:10px 0 15px}.user-design .user-formatted .v1-answer-text h3{font-size:17px;margin:22px 0 10px}.user-design .user-formatted .v1-answer-text ul{padding-left:22px;margin:12px 0}.user-design .user-formatted .v1-answer-text li{margin:7px 0}
.user-design .user-network{border:1px solid var(--line);border-radius:10px;background:var(--surface);padding:15px;margin:16px 0;line-height:1.6;font-size:13px}
.user-design .user-network h3{font-size:16px;margin:0 0 8px}.user-design .user-network p{margin:8px 0;color:var(--muted)}.user-design .user-network .row{flex-wrap:wrap;gap:8px}.user-design .user-network button{min-height:40px;white-space:normal}
.user-design .user-progress-meta{font-size:12px;line-height:1.6;color:var(--muted);margin:13px 0 18px}
.user-design .user-gallery-heading{display:block!important}.user-design .user-gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;width:100%}
.user-design .user-gallery-toolbar p{margin:0!important;flex:1;min-width:0;font-size:12px;line-height:1.5}.user-design .user-gallery-toolbar>.primary{flex:0 0 auto!important;min-width:92px;min-height:40px;white-space:nowrap!important}
.user-design .audit-ratios.user-ratios{display:flex;justify-content:center;align-items:stretch;gap:10px;width:100%;margin:0 auto}
.user-design .audit-ratios.user-ratios button{flex:0 1 88px;min-width:66px;min-height:76px;padding:10px 8px}.user-design .user-ratio-block{margin:0 0 4px}
.user-design .user-ratio-label{font-size:12px;color:var(--muted);display:block;text-align:center;margin:0 0 9px}
.user-design .user-effort-choice{display:flex!important;align-items:center;justify-content:space-between;gap:16px}
.user-design .user-choice-copy{flex:1;min-width:0;display:block;text-align:left}
.user-design .user-choice-copy strong{display:block;font-size:14px;font-weight:600;line-height:1.45}
.user-design .user-choice-copy small{display:block;font-size:12px;font-weight:400;line-height:1.55;color:var(--muted);margin-top:5px}
.user-design .user-choice-check{flex:0 0 20px;align-self:center;margin-left:auto;font-size:18px;font-weight:600;text-align:right;color:var(--ink)}
.user-design .user-permissions .nav-row{padding-left:0;padding-right:0}
.user-design .user-defaults-page{max-width:760px;margin:0 auto;padding-bottom:16px}
.user-design .user-defaults-page .page-title{margin-bottom:28px}
.user-design .user-defaults-page .page-title h1{font-size:24px;line-height:1.25}
.user-design .user-default-section{margin-bottom:28px}
.user-design .user-default-section h2{font-size:18px;font-weight:650;margin:0 0 7px;line-height:1.4}
.user-design .user-default-section h3{font-size:14px;margin:20px 0 12px}
.user-design .user-section-intro{font-size:13px;line-height:1.6;color:var(--muted);margin:0 0 14px}
.user-design .user-section-detail{font-size:13px;line-height:1.65;color:var(--muted);margin:12px 0 0}
.user-design .user-detail-choice{display:flex;align-items:center;gap:14px;padding:15px;width:100%;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--ink);margin:9px 0;white-space:normal;box-sizing:border-box}
.user-design .user-detail-choice.selected{border-color:var(--ink);background:var(--surface);box-shadow:inset 0 0 0 1px var(--ink)}
.user-design .user-detail-choice:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.user-design .user-choice-example{display:block;font-size:12px;line-height:1.6;font-weight:400;color:var(--muted);margin-top:8px}
.user-design .user-model-cost{display:block;font-size:11px;color:var(--muted);line-height:1.5;font-weight:400;margin-top:9px}
.user-design .user-section-footnote,.user-design .user-defaults-footer p{font-size:12px;line-height:1.6;color:var(--muted);margin-top:12px}
.user-design .user-defaults-footer{padding-top:20px;border-top:1px solid var(--line)}
.user-design .user-defaults-footer button{width:100%}
.user-design .v1-default-rows small{line-height:1.5;white-space:normal;overflow-wrap:anywhere}
@media(max-width:365px){.user-design .user-gallery-toolbar{gap:8px}.user-design .user-gallery-toolbar>.primary{min-width:85px;padding-left:10px;padding-right:10px}.user-design .user-mode-button small{font-size:9px}.user-design .user-detail-choice{padding:13px;gap:9px}.user-design .user-defaults-page .page-title h1{font-size:22px}}

.user-design .audit-ratios.user-ratios{flex-wrap:wrap}
.user-design .audit-model-choice>span{min-width:0}
.user-design .audit-notice .row{flex-wrap:wrap}
.user-design .user-ratio-block+.grid2:has(>label:only-child){grid-template-columns:1fr!important}
.user-design .user-mode-segment{background:var(--surface);border-radius:9px;padding:4px}
.user-design .user-mode-segment button{flex:1;border-radius:6px}
.user-design .user-mode-segment button.selected{background:var(--bg);box-shadow:0 1px 5px #00000012}
.user-design .user-account-avatar,.user-design .user-account-name,.user-design .user-account-balance{min-height:0!important}

/* Keep transient notices away from the media action footer. */
body:has([data-media-estimate]) #toast{bottom:auto;top:12px;pointer-events:none}

/* Match approved v2.1 using the actual Markdown DOM; retain semantic heading levels. */
.user-design .v1-answer-text.markdown{font-size:16px;line-height:1.65}
.user-design .v1-answer-text.markdown p{margin:12px 0}
.user-design .v1-answer-text.markdown h3{font-size:21px;line-height:1.35;margin:10px 0 15px}
.user-design .v1-answer-text.markdown h4{font-size:17px;line-height:1.35;margin:22px 0 10px}
.user-design .v1-answer-text.markdown ul{padding-left:22px;margin:12px 0}
.user-design .v1-answer-text.markdown li{margin:7px 0}
.user-design .markdown .audit-table th,.user-design .markdown .audit-table td{border:0;border-bottom:1px solid var(--line);padding:11px 12px}
.user-design .message-list .message-user .file-card{display:inline-flex;width:auto;max-width:100%;min-height:44px;padding:10px;gap:8px;margin:12px 0 0;font-size:12px;background:var(--bg);border-radius:8px;text-align:left}
.user-design .message-list .message-user .file-card .grow{min-width:0}
.user-design .message-list .message-user .file-card strong{font-size:12px;font-weight:400;white-space:normal;overflow-wrap:anywhere}
.user-design .message-list .message-user .file-card .grow small,.user-design .message-list .message-user .file-card>svg{display:none}
.user-design .message-list .message-user .file-card .file-icon{width:16px;min-width:16px;height:20px;border:0;background:transparent;padding:0;font-size:0}
.user-design .message-list .message-user .file-card .file-icon svg{width:14px;height:14px}

/* The approved answer keeps full document cards; only user input uses compact chips. */
.user-design .v1-answer-text .md-code{border:1px solid var(--line);border-radius:10px;overflow:hidden;margin:18px 0;background:var(--bg)}
.user-design .v1-answer-text .md-code-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 12px;background:var(--surface);border-bottom:1px solid var(--line);font-size:11px}
.user-design .v1-answer-text .md-code-bar button{border:0;background:transparent;padding:0;min-height:0;height:auto;font-size:11px}
.user-design .v1-answer-text .md-code pre{margin:0;padding:12px;border:0;background:transparent;font-size:12px;line-height:1.65;overflow:auto}

.user-design .sheet[data-view="models"]{max-height:min(90dvh,900px);display:flex;flex-direction:column;overflow:hidden}
.user-design .sheet[data-view="models"] .sheet-body{overflow-y:auto;min-height:0;overscroll-behavior:contain}
.user-design .sheet[data-view="models"] .sheet-footer{flex-shrink:0;padding-bottom:max(18px,env(safe-area-inset-bottom));background:var(--bg)}
.sp-footer{display:flex;align-items:center;gap:14px;width:100%}
.sp-footer .sp-switch,.sp-footer .sp-done{flex:1 1 0;min-width:0;width:0;height:48px;min-height:48px;border-radius:11px;box-sizing:border-box}
.sp-switch{display:flex;align-items:stretch;padding:1px;gap:2px;border:1px solid var(--line,#dedfe4);background:var(--surface)}
.sp-switch button{flex:1 1 0;min-width:0;min-height:44px;height:44px;padding:5px 4px;border-radius:9px;font-size:13px;background:transparent;border:0;color:inherit}
.sp-switch button.selected{background:var(--bg);box-shadow:0 1px 4px #0002;font-weight:650}
.sp-ready{margin:16px 0 12px;border:1px solid var(--line,#dedfe4);border-radius:15px;padding:18px;background:var(--surface)}
.sp-ready h3{margin:0 0 10px;font-size:16px}.sp-ready h3 span{color:#43825b}.sp-ready p{font-size:14px;line-height:1.65;margin:0}
.sp-ready-model{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line,#dedfe4);margin-top:16px;padding-top:13px;font-size:12px}.sp-ready-model span,.sp-hint{color:var(--muted,#737782)}
.sp-hint{font-size:12px;line-height:1.5;margin:0 0 14px}.sp-done{white-space:nowrap;padding:8px}
@media(max-width:359px){.sp-footer{gap:10px}.sp-ready{padding:14px}.sp-switch button{font-size:12px}}

.user-design .sheet[data-view="models"] .sp-footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.user-design .sheet[data-view="models"] .sp-footer>.sp-switch,.user-design .sheet[data-view="models"] .sp-footer>.sp-done{width:100%;height:48px;min-height:48px;max-height:48px;border-radius:11px;margin:0}

.admin-workspace{max-width:760px;margin:0 auto;min-width:0;display:flex;flex-direction:column;min-height:100%}.admin-content{flex:1;min-width:0}.admin-card{border:1px solid var(--line,#e8e8e8);border-radius:15px;padding:17px;margin:17px 0;min-width:0}.admin-card h3{font-size:15px;margin:0 0 13px}.admin-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.admin-metric{background:var(--soft,#f6f6f6);border-radius:13px;padding:17px;min-width:0}.admin-metric strong{font-size:27px;font-weight:500;display:block;overflow-wrap:anywhere}.admin-metric small{display:block;font-size:12px;color:var(--muted,#737373);margin-top:7px}.admin-provider-balances{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:13px}.admin-provider{display:flex;flex-direction:column;align-items:center;gap:5px;padding:14px 5px;background:var(--soft,#f6f6f6);border:1px solid var(--line,#e8e8e8);border-radius:12px;min-width:0}.admin-provider strong{font-size:19px;font-weight:500;max-width:100%;overflow-wrap:anywhere}.admin-provider small,.admin-provider span{font-size:11px}.admin-hint{font-size:11px;color:var(--muted,#737373);line-height:1.6;margin:11px 0}.admin-detail{display:flex;justify-content:space-between;gap:15px;padding:12px 0;font-size:13px;border-bottom:1px solid var(--line,#e8e8e8)}.admin-detail span{color:var(--muted,#737373)}.admin-detail strong{font-weight:500;text-align:right;overflow-wrap:anywhere}.admin-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;position:sticky;bottom:0;background:var(--surface,#fff);padding:11px 0 max(11px,env(safe-area-inset-bottom));border-top:1px solid var(--line,#e8e8e8);margin-top:20px;z-index:2}.admin-tabs button{border:0;background:transparent;padding:10px 2px;display:flex;flex-direction:column;align-items:center;gap:7px;font-size:11px;border-radius:10px}.admin-tabs svg{width:20px;height:20px}.admin-tabs .selected{background:var(--soft,#f3f3f3)}.admin-periods{display:flex;gap:5px;margin:10px 0 18px}.admin-periods button{flex:1;background:transparent;border:1px solid var(--line,#e8e8e8);border-radius:8px;padding:9px 4px;font-size:11px}.admin-periods .selected{background:#171717;color:white;border-color:#171717}.admin-chart{display:flex;gap:10px;min-width:0;width:100%;margin-top:22px}.admin-y{width:46px;flex:none;height:130px;display:flex;flex-direction:column;justify-content:space-between;font-size:10px;color:var(--muted,#737373);text-align:right}.admin-chart-main{flex:1;min-width:0}.admin-bars{height:130px;display:grid;grid-template-columns:repeat(var(--bars),minmax(0,1fr));align-items:end;gap:clamp(2px,1vw,6px);border-bottom:1px solid var(--line,#ddd);background:linear-gradient(to bottom,var(--line,#eee) 1px,transparent 1px) 0 0/100% 50%}.admin-bars>span{background:#444;border-radius:3px 3px 0 0;min-width:0}.admin-x{display:flex;justify-content:space-between;font-size:10px;color:var(--muted,#737373);padding-top:8px}.admin-chart-data{font-size:12px;margin:17px 0 23px}.admin-history-plot{position:relative;padding:25px 0 20px;height:160px;border-bottom:1px solid var(--line,#ddd)}.admin-history-plot svg{width:100%;height:100%;overflow:visible}.admin-history-plot>span{position:absolute;left:0;top:4px;font-size:10px;color:var(--muted,#777)}.admin-history-plot>span:last-child{top:auto;bottom:3px}.history-peak,.history-avg{fill:none;stroke:#aaa;stroke-width:1.5;vector-effect:non-scaling-stroke}.history-avg{stroke:#171717;stroke-width:2}.choice-row{display:flex;justify-content:space-between;gap:15px;align-items:center;width:100%;min-height:52px;padding:13px 8px;background:transparent;border:0;border-bottom:1px solid var(--line,#eee);text-align:left}.choice-row[aria-checked=true]{font-weight:600;background:var(--soft,#f6f6f6);border-radius:8px}.telegram-avatar{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}.avatar:has(.telegram-avatar){overflow:hidden;padding:0}.oneai .overlay{align-items:flex-end;padding-bottom:0}.oneai .sheet{border-radius:22px 22px 0 0;margin-bottom:0;max-height:calc(100dvh - 38px)}.oneai .sheet-footer>.primary,.oneai .sheet-footer>.sp-footer>.primary{background:#171717!important;color:#fff!important;border-color:#171717!important}.oneai .sheet-footer{padding-bottom:max(16px,env(safe-area-inset-bottom))}.sheet-body .admin-card{margin:12px 0}.admin-workspace .nav-row{width:100%}

.page-scroll:has(.admin-workspace){padding-bottom:0!important}.admin-tabs{margin-bottom:0;bottom:0;box-shadow:0 24px 0 var(--surface,#fff)}

/* Approved preview: oneai-admin-capacity, 2026-10-18. */

#oa-admin-capacity{--oa-bg:light-dark(#fff,#191919);--oa-ink:light-dark(#171717,#f4f4f4);--oa-soft:light-dark(#f6f6f6,#252525);--oa-line:light-dark(#e9e9e9,#383838);--oa-muted:light-dark(#717171,#aaa);--oa-active:light-dark(#eee,#333);color:var(--oa-ink);font-family:Arial,system-ui,sans-serif}
#oa-admin-capacity *{box-sizing:border-box}
#oa-admin-capacity .oa-stage{padding:18px 8px 28px;min-height:966px}
#oa-admin-capacity .oa-phone{width:min(100%,398px);min-height:920px;margin:auto;background:var(--oa-bg);border:1px solid var(--oa-line);border-radius:25px;position:relative;overflow:hidden;box-shadow:0 12px 35px #0000000c;display:flex;flex-direction:column}
#oa-admin-capacity :where(.oa-phone) button,#oa-admin-capacity :where(.oa-phone) input,#oa-admin-capacity :where(.oa-phone) textarea{font:inherit;color:inherit}
#oa-admin-capacity :where(.oa-phone) button{border:0;background:transparent;text-align:left;cursor:var(--cursor-interaction,pointer)}
#oa-admin-capacity :where(.oa-phone) button:focus-visible,#oa-admin-capacity :where(.oa-phone) input:focus-visible,#oa-admin-capacity :where(.oa-phone) textarea:focus-visible{outline:2px solid #6a8bc7;outline-offset:2px}
#oa-admin-capacity :where(.oa-phone) h2,#oa-admin-capacity :where(.oa-phone) h3,#oa-admin-capacity :where(.oa-phone) p{margin:0}
#oa-admin-capacity .oa-chrome{padding:17px 18px 13px;display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--oa-line);font-size:13px}
#oa-admin-capacity .oa-brand{width:26px;height:26px;border-radius:8px;background:#171717;color:#fff;display:grid;place-items:center;font-size:15px;font-weight:700}
#oa-admin-capacity .oa-chrome strong{flex:1;font-size:14px}
#oa-admin-capacity .oa-badge{font-size:10px;letter-spacing:.06em;color:var(--oa-muted);font-weight:600}
#oa-admin-capacity .oa-body{padding:23px 20px 20px;flex:1;min-width:0}
#oa-admin-capacity .oa-title{display:flex;gap:7px;align-items:center;margin-bottom:5px}
#oa-admin-capacity .oa-title h2{font-size:24px;letter-spacing:-.6px;line-height:1.2;font-weight:600}
#oa-admin-capacity .oa-subtitle{font-size:12px;color:var(--oa-muted);line-height:1.5;margin:7px 0 21px}
#oa-admin-capacity .oa-back{margin:-8px 0 17px -6px;padding:8px 6px;font-size:12px;display:flex;gap:5px;align-items:center;min-height:36px}
#oa-admin-capacity .oa-icon{width:34px;min-width:34px;height:34px;background:var(--oa-soft);border-radius:10px;display:grid;place-items:center}
#oa-admin-capacity .oa-icon svg{width:17px;height:17px}
#oa-admin-capacity .oa-row{width:100%;display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid var(--oa-line);min-height:65px}
#oa-admin-capacity .oa-row:last-child{border-bottom:0}
#oa-admin-capacity .oa-row .oa-copy{flex:1;min-width:0}
#oa-admin-capacity .oa-row b{display:block;font-size:14px;font-weight:600;line-height:1.4}
#oa-admin-capacity .oa-row small{display:block;color:var(--oa-muted);font-size:11px;line-height:1.5;margin-top:3px}
#oa-admin-capacity .oa-arrow{color:var(--oa-muted);font-size:18px;flex:none}
#oa-admin-capacity .oa-overview{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:19px 0 13px}
#oa-admin-capacity .oa-metric{padding:16px;border-radius:13px;background:var(--oa-soft)}
#oa-admin-capacity .oa-metric strong{font-size:25px;font-weight:500;display:block;letter-spacing:-.6px}
#oa-admin-capacity .oa-metric span{font-size:11px;display:block;margin-top:5px;color:var(--oa-muted)}
#oa-admin-capacity .oa-review{display:flex;gap:9px;align-items:center;background:var(--oa-soft);width:100%;padding:12px 13px;border-radius:11px;font-size:12px;margin-bottom:23px}
#oa-admin-capacity .oa-review span{flex:1}
#oa-admin-capacity .oa-label{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--oa-muted);margin:22px 0 5px}
#oa-admin-capacity .oa-footer{padding:12px 20px 18px;border-top:1px solid var(--oa-line);margin-top:auto}
#oa-admin-capacity .oa-primary{background:#171717;color:#fff!important;width:100%;text-align:center;border-radius:11px;min-height:48px;padding:14px 12px;font-weight:500;font-size:13px}
#oa-admin-capacity .oa-secondary{width:100%;border:1px solid var(--oa-line);border-radius:11px;padding:13px;text-align:center;min-height:45px;font-size:13px;margin-top:10px}
#oa-admin-capacity .oa-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}
#oa-admin-capacity .oa-tile{background:var(--oa-soft);border:1px solid var(--oa-line);border-radius:17px;padding:17px 13px;min-height:148px;display:flex;align-items:flex-start;flex-direction:column;width:100%;gap:9px}
#oa-admin-capacity .oa-tile .oa-icon{background:var(--oa-bg);margin-bottom:3px}
#oa-admin-capacity .oa-tile b{font-size:14px;font-weight:600;line-height:1.35}
#oa-admin-capacity .oa-tile small{font-size:11px;line-height:1.5;color:var(--oa-muted)}
#oa-admin-capacity .oa-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--oa-line);padding:11px 6px 14px;gap:2px}
#oa-admin-capacity .oa-tabs button{text-align:center;border-radius:9px;display:flex;align-items:center;flex-direction:column;gap:6px;font-size:10px;padding:9px 1px;min-height:52px;color:var(--oa-muted)}
#oa-admin-capacity .oa-tabs button[aria-pressed=true]{background:var(--oa-soft);color:var(--oa-ink)}
#oa-admin-capacity .oa-tabs svg{width:18px;height:18px}
#oa-admin-capacity .oa-section{border:1px solid var(--oa-line);border-radius:14px;padding:15px;margin:15px 0}
#oa-admin-capacity .oa-section h3{font-size:14px;font-weight:600;margin-bottom:10px}
#oa-admin-capacity .oa-detail{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding:10px 0;border-bottom:1px solid var(--oa-line);font-size:12px;line-height:1.5}
#oa-admin-capacity .oa-detail:last-child{border-bottom:0}
#oa-admin-capacity .oa-detail span{color:var(--oa-muted)}
#oa-admin-capacity .oa-detail b{text-align:right;font-weight:500;max-width:60%}
#oa-admin-capacity .oa-note{font-size:12px;line-height:1.6;color:var(--oa-muted);padding:13px;background:var(--oa-soft);border-radius:10px;margin:15px 0}
#oa-admin-capacity .oa-plan{padding:16px;border:1px solid var(--oa-line);border-radius:13px;margin:12px 0;width:100%;display:flex;gap:10px;align-items:center}
#oa-admin-capacity .oa-plan b{font-size:17px;display:block;margin-bottom:4px}
#oa-admin-capacity .oa-plan small{font-size:12px;color:var(--oa-muted);display:block}
#oa-admin-capacity .oa-plan>div{flex:1}
#oa-admin-capacity .oa-tag{background:var(--oa-soft);border-radius:7px;font-size:10px;padding:5px 7px;white-space:nowrap}
#oa-admin-capacity .oa-hint{color:var(--oa-muted);font-size:11px;line-height:1.6;margin-top:10px}
#oa-admin-capacity .oa-field{display:block;margin:16px 0;font-size:12px;font-weight:500;line-height:1.6}
#oa-admin-capacity .oa-field input,#oa-admin-capacity .oa-field textarea{display:block;width:100%;margin-top:7px;padding:12px;border:1px solid var(--oa-line);border-radius:10px;background:var(--oa-bg);font-size:16px;min-width:0}
#oa-admin-capacity .oa-field textarea{resize:vertical;min-height:88px}
#oa-admin-capacity .oa-toggle{display:flex;align-items:center;gap:15px;justify-content:space-between;font-size:13px;line-height:1.5;padding:13px 0}
#oa-admin-capacity .oa-toggle input{width:19px;height:19px;accent-color:#171717;flex:none}
#oa-admin-capacity .oa-check{display:flex;align-items:center;gap:11px;padding:14px 0;font-size:14px;line-height:1.5;border-bottom:1px solid var(--oa-line)}
#oa-admin-capacity .oa-check input{accent-color:#171717;width:18px;height:18px}
#oa-admin-capacity .oa-overlay{position:absolute;inset:0;z-index:10;background:#0005;display:flex;align-items:flex-end;border-radius:24px;overflow:hidden}
#oa-admin-capacity .oa-sheet{width:100%;background:var(--oa-bg);border-radius:22px 22px 0 0;padding:9px 20px 20px;box-shadow:0 -8px 30px #0001;animation:oa-slide .18s ease-out}
#oa-admin-capacity .oa-handle{width:35px;height:4px;border-radius:3px;background:var(--oa-line);margin:0 auto 13px}
#oa-admin-capacity .oa-sheet-head{display:flex;gap:10px;align-items:center;margin:0 0 18px}
#oa-admin-capacity .oa-sheet-head h3{font-size:17px;font-weight:600;flex:1;line-height:1.4}
#oa-admin-capacity .oa-close{width:38px;height:38px;display:grid;place-items:center;border-radius:9px;background:var(--oa-soft)}
#oa-admin-capacity .oa-sheet .oa-primary{margin-top:16px}
#oa-admin-capacity .oa-chart{height:125px;width:100%;min-width:0;display:grid;grid-template-columns:repeat(14,minmax(0,1fr));gap:7px;align-items:end;padding:12px 0 0;border-bottom:1px solid var(--oa-line);margin-top:18px}
#oa-admin-capacity .oa-chart span{display:block;border-radius:3px 3px 0 0;background:var(--oa-ink);min-width:0;opacity:.7}
#oa-admin-capacity .oa-chart-labels{display:flex;justify-content:space-between;font-size:10px;color:var(--oa-muted);padding-top:8px}
#oa-admin-capacity .oa-chart-title{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-top:23px;font-size:13px}
#oa-admin-capacity .oa-chart-title button{border:1px solid var(--oa-line);padding:8px;border-radius:8px;font-size:11px}
#oa-admin-capacity details{margin:15px 0;border-top:1px solid var(--oa-line);padding-top:15px}
#oa-admin-capacity summary{font-size:13px;min-height:35px;cursor:var(--cursor-interaction,pointer)}
#oa-admin-capacity .oa-mini{display:flex;gap:7px;flex-wrap:wrap;margin:14px 0}
#oa-admin-capacity .oa-mini button{border:1px solid var(--oa-line);padding:10px 11px;border-radius:9px;font-size:12px;min-height:40px}
#oa-admin-capacity .oa-mini button[aria-pressed=true]{background:#171717;color:#fff;border-color:#171717}
#oa-admin-capacity .oa-close-preview{min-height:600px;display:flex;justify-content:center;flex-direction:column;gap:20px;text-align:center}
#oa-admin-capacity .oa-balance-heading{font-size:12px;color:var(--oa-muted);margin:18px 0 9px}
#oa-admin-capacity .oa-balances{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#oa-admin-capacity .oa-balance{min-width:0;padding:13px 10px;background:var(--oa-soft);border-radius:12px}
#oa-admin-capacity .oa-balance span{display:block;font-size:11px;color:var(--oa-muted);margin-bottom:8px}
#oa-admin-capacity .oa-balance strong{display:block;font-size:19px;font-weight:500;letter-spacing:-.4px;font-variant-numeric:tabular-nums;white-space:nowrap}
#oa-admin-capacity .oa-volume-unit{font-size:11px;color:var(--oa-muted);margin:16px 0 12px}
#oa-admin-capacity .oa-volume{display:grid;grid-template-columns:32px minmax(0,1fr);gap:5px;height:150px;margin-top:4px}
#oa-admin-capacity .oa-volume-y{position:relative;font-size:11px;color:var(--oa-muted);font-variant-numeric:tabular-nums}
#oa-admin-capacity .oa-volume-y span{position:absolute;right:3px;transform:translateY(-50%)}
#oa-admin-capacity .oa-volume-plot{position:relative;min-width:0}
#oa-admin-capacity .oa-volume-grid{position:absolute;inset:0;pointer-events:none}
#oa-admin-capacity .oa-volume-grid span{position:absolute;left:0;right:0;height:1px;background:var(--oa-line)}
#oa-admin-capacity .oa-volume-bars{position:absolute;inset:0;display:grid;grid-template-columns:repeat(var(--oa-days),minmax(0,1fr));align-items:end;gap:4px}
#oa-admin-capacity .oa-volume-bars[data-dense=true]{gap:2px}
#oa-admin-capacity .oa-volume-bars span{display:block;background:var(--oa-ink);opacity:.7;border-radius:3px 3px 0 0;min-width:0}
#oa-admin-capacity .oa-volume-dates{margin:10px 0 0 37px;display:flex;justify-content:space-between;gap:5px;font-size:11px;color:var(--oa-muted)}
#oa-admin-capacity .oa-vps{margin-top:25px;padding:15px;border:1px solid var(--oa-line);border-radius:14px}
#oa-admin-capacity .oa-vps-head{display:flex;gap:10px;align-items:center;font-size:13px}
#oa-admin-capacity .oa-vps-head b{font-weight:500}
#oa-admin-capacity .oa-vps-head svg{width:17px;height:17px;flex:none;color:var(--oa-muted)}
#oa-admin-capacity .oa-vps-value{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:15px 0 10px;font-size:11px;color:var(--oa-muted)}
#oa-admin-capacity .oa-vps-value strong{font-size:24px;letter-spacing:-.5px;color:var(--oa-ink);font-weight:500;font-variant-numeric:tabular-nums}
#oa-admin-capacity .oa-vps-meter{height:6px;background:var(--oa-soft);border-radius:4px;overflow:hidden}
#oa-admin-capacity .oa-vps-meter span{display:block;width:33%;height:100%;background:var(--oa-ink);opacity:.65;border-radius:4px}
#oa-admin-capacity .oa-vps-caption{margin-top:9px;font-size:11px;color:var(--oa-muted)}
#oa-admin-capacity .oa-space-row{display:flex;gap:14px;justify-content:space-between;align-items:center;padding:2px 0 15px}
#oa-admin-capacity .oa-space-row+.oa-space-row{border-top:1px solid var(--oa-line);padding:15px 0 0;margin-top:15px}
#oa-admin-capacity .oa-vps-caption+.oa-space-row{border-top:1px solid var(--oa-line);padding:15px 0 0;margin-top:15px}
#oa-admin-capacity .oa-space-row b{display:block;font-size:13px;font-weight:500}
#oa-admin-capacity .oa-space-row small{display:block;font-size:11px;color:var(--oa-muted);line-height:1.5;margin-top:5px}
#oa-admin-capacity .oa-space-row strong{font-size:23px;font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.5px}
#oa-admin-capacity .oa-space-calc{margin:15px 0 0;padding-top:12px}
#oa-admin-capacity .oa-space-calc summary{font-size:12px;min-height:34px}
#oa-admin-capacity .oa-space-calc .oa-detail{font-size:11px;gap:10px}
#oa-admin-capacity .oa-server{margin-top:25px}
#oa-admin-capacity .oa-server-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
#oa-admin-capacity .oa-server-title h3{font-size:14px;font-weight:500}
#oa-admin-capacity .oa-server-title small{font-size:11px;color:var(--oa-muted)}
#oa-admin-capacity .oa-server-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
#oa-admin-capacity .oa-server-metric{background:var(--oa-soft);border-radius:12px;padding:13px;min-width:0}
#oa-admin-capacity .oa-server-metric>span{display:block;font-size:11px;color:var(--oa-muted)}
#oa-admin-capacity .oa-server-metric strong{display:block;font-size:23px;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-.4px;margin-top:7px}
#oa-admin-capacity .oa-server-metric small{display:block;font-size:11px;color:var(--oa-muted);margin-top:5px;line-height:1.5}
#oa-admin-capacity .oa-history-open{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;border:1px solid var(--oa-line)!important;border-radius:11px;min-height:46px;padding:12px;margin-top:11px;font-size:12px}
#oa-admin-capacity .oa-history-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:20px 0 8px;font-size:12px}
#oa-admin-capacity .oa-history-toolbar button{border:1px solid var(--oa-line);border-radius:9px;padding:10px;min-height:44px;display:flex;gap:7px;align-items:center}
#oa-admin-capacity .oa-history-clock{font-size:11px;color:var(--oa-muted);margin-bottom:20px}
#oa-admin-capacity .oa-history-panel{margin-top:24px;padding-top:18px;border-top:1px solid var(--oa-line);min-width:0}
#oa-admin-capacity .oa-history-panel h3{font-size:14px;font-weight:500;margin-bottom:9px}
#oa-admin-capacity .oa-history-summary{display:flex;flex-wrap:wrap;gap:6px 15px;font-size:12px;font-variant-numeric:tabular-nums}
#oa-admin-capacity .oa-history-summary span{color:var(--oa-muted)}
#oa-admin-capacity .oa-history-summary b{color:var(--oa-ink);font-weight:500}
#oa-admin-capacity .oa-history-caption{font-size:11px;color:var(--oa-muted);line-height:1.5;margin-top:8px}
#oa-admin-capacity .oa-history-legend{display:flex;flex-wrap:wrap;gap:14px;font-size:11px;color:var(--oa-muted);margin:12px 0 4px}
#oa-admin-capacity .oa-history-legend span{display:flex;align-items:center;gap:6px}
#oa-admin-capacity .oa-history-legend i{display:block;width:18px;height:2px;background:var(--oa-ink)}
#oa-admin-capacity .oa-history-legend i.oa-history-peak{height:0;background:none;border-top:2px dashed var(--oa-muted)}
#oa-admin-capacity .oa-history-svg{display:block;width:100%;height:156px;margin-top:10px;overflow:visible}
#oa-admin-capacity .oa-history-svg text{fill:var(--oa-muted);font-size:11px;font-family:Arial,system-ui,sans-serif}
#oa-admin-capacity .oa-history-svg .oa-grid-line{stroke:var(--oa-line);stroke-width:1;fill:none}
#oa-admin-capacity .oa-history-svg .oa-mean-line{stroke:var(--oa-ink);stroke-width:1.8;fill:none;stroke-linejoin:round}
#oa-admin-capacity .oa-history-svg .oa-peak-line{stroke:var(--oa-muted);stroke-width:1.4;stroke-dasharray:4 3;fill:none;stroke-linejoin:round}
@keyframes oa-slide{from{transform:translateY(20px)}to{transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#oa-admin-capacity .oa-sheet{animation:none}}
@media(max-width:370px){#oa-admin-capacity .oa-stage{padding:10px 0 20px;min-height:925px}#oa-admin-capacity .oa-phone{border-radius:18px}#oa-admin-capacity .oa-body{padding:20px 16px}#oa-admin-capacity .oa-row{gap:9px}#oa-admin-capacity .oa-row small{font-size:11px}#oa-admin-capacity .oa-tiles{gap:8px}#oa-admin-capacity .oa-tile{padding:14px 10px;min-height:153px}#oa-admin-capacity .oa-title h2{font-size:22px}}

/* Application shell owns its viewport; the preview phone frame is not rendered. */
.page-scroll:has(.admin-approved){padding:0!important}
#oa-admin-capacity{width:100%}
#oa-admin-capacity .oa-phone{width:100%;min-height:100%;flex:1;border:0;border-radius:0;box-shadow:none;overflow:visible}
#oa-admin-capacity .oa-body{padding:23px 20px 20px}
#oa-admin-capacity .oa-title .oa-exit{margin-left:auto;display:grid;place-items:center;width:32px;height:32px;padding:0;color:var(--oa-muted)}
#oa-admin-capacity .oa-tabs{position:sticky;bottom:0;background:var(--oa-bg);margin:0;padding-bottom:max(14px,env(safe-area-inset-bottom));box-shadow:none}
#oa-admin-capacity .oa-tabs button.selected{background:var(--oa-soft);color:var(--oa-ink)}
#oa-admin-capacity .oa-chart-title button{display:flex;align-items:center;gap:5px}
#oa-admin-capacity .oa-balance strong,#oa-admin-capacity .oa-space-row strong{white-space:normal;overflow-wrap:anywhere}
#oa-admin-capacity .oa-space-row>div{min-width:0}
#oa-admin-capacity .oa-space-row>strong{flex-shrink:0;max-width:52%;text-align:right}
@media(max-width:370px){#oa-admin-capacity .oa-body{padding:20px 16px}}

#oa-admin-capacity svg:not(.oa-history-svg){width:18px;height:18px}
/* Isolate preview typography from the application's inherited heading rules. */
#oa-admin-capacity{font-size:16px;line-height:normal}
#oa-admin-capacity h3{line-height:normal}
#oa-admin-capacity .oa-title{position:relative}
#oa-admin-capacity .oa-title .oa-exit{position:absolute;right:0;top:-2px}
#oa-admin-capacity svg:not(.oa-history-svg){width:16px;height:16px}
#oa-admin-capacity .oa-tabs svg{width:18px;height:18px}
#oa-admin-capacity .oa-chart-title button{display:inline-block}
#oa-admin-capacity .oa-history-svg text{stroke:none}

.cr-power{display:inline-flex;gap:4px;align-items:center;margin-left:10px;vertical-align:middle}.cr-power i{width:4px;height:4px;background:currentColor;border-radius:50%;display:block}
.cr-length-panel{gap:22px}.cr-length-provider h3{font-size:14px;font-weight:500;margin:0 0 9px}.cr-length-options{display:flex;gap:4px;padding:4px;background:var(--surface,#f5f5f5);border-radius:12px}.cr-length-options button{flex:1;min-width:0;min-height:44px;padding:8px 10px;border:0;border-radius:9px;color:var(--muted,#737373);background:transparent;font-size:13px}.cr-length-options button.active{background:var(--bg,#fff);color:var(--text,#171717);box-shadow:0 1px 4px #00000012}
.cr-save-error{font-size:13px}.cr-save-error button{margin-top:8px}.user-design .sheet[data-view="models"] .sheet-footer>.cr-done{width:100%;height:48px;min-height:48px;border-radius:11px}
@media(max-width:359px){.cr-length-options button{padding-left:5px;padding-right:5px}}
.user-design .oneai .cr-model-options .cr-exact-effort{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:68px;margin:2px 0 12px;padding:12px 14px;text-align:left;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink)}
.user-design .cr-exact-effort>span{display:flex;flex-direction:column;gap:5px;min-width:0}
.user-design .cr-exact-effort strong{font-size:14px;font-weight:500;line-height:1.4}
.user-design .cr-exact-effort small{font-size:12px;font-weight:400;line-height:1.4;color:var(--muted)}
.user-design .cr-exact-effort>svg{flex:none;width:16px;height:16px;color:var(--muted)}

/* Approved compact media layout; values come from the live capability catalog. */
.oneai .mc-sheet{width:440px!important;max-width:100%;height:auto;max-height:calc(100% - 28px);border-radius:22px 22px 0 0!important}
.oneai .mc-sheet .sheet-header{padding:10px 22px 12px}.oneai .mc-sheet .sheet-header h2{font-size:20px;font-weight:500}.oneai .mc-sheet .sheet-body{padding:4px 22px 20px}.oneai .mc-sheet .sheet-footer{padding:14px 22px 20px;background:var(--bg);flex:none}.oneai .mc-sheet .sheet-handle{display:block}
.mc-form{display:flex;flex-direction:column;gap:18px;min-width:0}.mc-form *, .mc-footer *, .mc-picker *{box-sizing:border-box}.mc-form button,.mc-picker button,.mc-footer button{-webkit-tap-highlight-color:transparent;touch-action:manipulation;user-select:none;transition:none}.mc-form button:disabled,.mc-footer button:disabled{opacity:.55;cursor:default}
.mc-model{display:flex;width:100%;align-items:center;gap:12px;min-height:59px;padding:10px 13px;border:0!important;border-radius:14px;background:var(--surface)!important;text-align:left;color:var(--ink)}.mc-model>svg{width:16px;height:16px;flex:none;color:var(--muted)}.mc-model-icon{width:30px;height:30px;display:flex;align-items:center;justify-content:center;flex:none}.mc-model-icon svg{width:23px;height:23px}.mc-grow{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0}.mc-grow strong{font-size:14px;font-weight:500;overflow-wrap:anywhere}.mc-grow small{font-size:12px;color:var(--muted)}
.mc-block{min-width:0}.mc-label{display:block;font-size:13px;font-weight:500;margin:0 0 9px}.mc-prompt{border:1px solid var(--line);border-radius:16px;overflow:hidden}.mc-prompt textarea{display:block;width:100%;min-height:112px;max-height:230px;padding:13px 14px;resize:none;border:0;border-radius:0;background:var(--bg);color:var(--ink);font-family:inherit;font-size:16px;font-weight:400;line-height:1.5;box-shadow:none}.mc-prompt textarea::placeholder{color:var(--muted);opacity:1}.mc-prompt textarea:focus{outline:none}.mc-prompt:focus-within{border-color:var(--strongline)}.mc-prompt-tools{padding:0 10px 5px;display:flex;align-items:center;justify-content:space-between;gap:8px}.mc-attach,.mc-role{border:0;background:none;color:var(--muted);min-height:40px;padding:0 4px;display:flex;align-items:center;gap:8px;font-size:13px}.mc-attach svg{width:17px;height:17px}.mc-role{min-width:40px;justify-content:center}.mc-role svg{width:15px;height:15px}
.mc-ratios{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.mc-ratios:has(>.mc-ratio:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}.mc-ratio{min-height:49px;padding:8px 6px;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;justify-content:center;gap:8px;background:var(--bg);color:var(--ink);font-size:12px}.mc-ratio[aria-pressed=true]{border-color:var(--ink);background:var(--surface)}.mc-shape{display:block;border:1.3px solid currentColor;border-radius:2px;flex:none}.mc-more svg{width:13px;height:13px}.mc-more{color:var(--muted)}
.mc-segments{display:flex;gap:4px;padding:4px;border-radius:12px;background:var(--surface);flex-wrap:wrap}.mc-segment{flex:1;min-width:44px;min-height:40px;padding:7px 5px;text-align:center;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:13px;line-height:1.35}.mc-segment[aria-pressed=true]{color:var(--ink);background:var(--bg);box-shadow:0 1px 4px #00000012}.mc-single{display:flex;align-items:center;min-height:48px;padding:0 13px;border-radius:12px;background:var(--surface);font-size:13px}.mc-setting{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:8px 0;border:0;background:none;text-align:left;font-size:13px;color:var(--ink)}.mc-setting>span:last-child{display:flex;align-items:center;gap:5px;justify-content:flex-end;max-width:65%;color:var(--muted);text-align:right}.mc-setting svg{width:16px;height:16px;flex:none}.mc-search{border-top:1px solid var(--line);padding-top:4px;margin-top:-3px}
.mc-references{display:flex;flex-direction:column;gap:8px;margin-top:8px}.mc-references:empty{margin:0}.mc-reference{display:flex;align-items:center;gap:9px;min-width:0;border-radius:10px;padding:6px 8px;background:var(--surface)}.mc-ref-image,.mc-ref-art{width:38px;height:38px;border-radius:6px;object-fit:cover;flex:none}.mc-ref-art{display:flex;align-items:center;justify-content:center}.mc-ref-art svg{width:21px;height:21px}.mc-ref-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:2px}.mc-ref-copy>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.mc-ref-copy small{font-size:11px;color:var(--muted)}.mc-remove{display:flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;border:0;background:none;color:var(--muted);padding:5px}.mc-remove svg{width:17px;height:17px}.mc-hint{font-size:12px;line-height:1.5;color:var(--muted);margin:8px 0 0}
.mc-footer{width:100%;display:flex;flex-direction:column;gap:12px;min-width:0}.mc-price{display:flex;justify-content:space-between;align-items:baseline;gap:12px;min-height:18px;font-size:12px;color:var(--muted)}.mc-price>span:last-child{text-align:right}.oneai .mc-create{width:100%;min-height:48px;flex:none!important;margin:0;border-radius:12px;font-size:14px;font-weight:500;background:var(--ink);color:var(--bg)}.mc-error{font-size:12px;line-height:1.4;margin:0;color:var(--ink)}.mc-retry{border:0;background:var(--surface);color:var(--ink);min-height:40px;border-radius:9px;font-size:12px}.mc-footer [hidden],.mc-form [hidden]{display:none!important}
.oneai .mc-choice-sheet{width:440px!important;max-width:100%;border-radius:22px 22px 0 0!important}.oneai .mc-choice-sheet .sheet-body{padding:4px 18px 22px}.mc-picker{display:flex;flex-direction:column;gap:4px}.mc-choice{width:100%;display:flex;align-items:center;gap:12px;min-height:68px;padding:11px 10px;border:0;border-radius:12px;background:transparent;color:var(--ink);text-align:left}.mc-choice[aria-pressed=true]{background:var(--surface)}.mc-check{width:22px;display:flex;justify-content:center;flex:none}.mc-check svg{width:18px;height:18px}.mc-upload{border:1px solid var(--line);min-height:48px;margin-bottom:8px;font-size:14px}.mc-upload>svg{width:19px;height:19px}
@media(max-width:430px){.oneai .mc-sheet .sheet-header{padding:10px 17px 12px}.oneai .mc-sheet .sheet-body{padding:4px 17px 20px}.oneai .mc-sheet .sheet-footer{padding:14px 17px max(20px,env(safe-area-inset-bottom))}.oneai .mc-sheet .sheet-header h2{font-size:19px}.mc-price{font-size:11px}.mc-segment{font-size:12px}}
@media(prefers-reduced-motion:reduce){.mc-sheet,.mc-choice-sheet{animation:none!important;transition:none!important}}

/* Preserve the verified 2.2.1 typography and bottom-sheet geometry.
   Only the agreed form arrangement and direct controls are changed. */
.user-design .oneai .mc-sheet,.user-design .oneai .mc-choice-sheet{border-radius:20px 20px 0 0!important}
.user-design .oneai .mc-sheet .sheet-header h2{font-size:22px;font-weight:700}
.user-design .mc-label{font-size:14px;font-weight:700}
.user-design .mc-grow strong{font-size:15px;font-weight:500}
.user-design .oneai .mc-create{font-weight:700;font-size:16px}
.user-design .mc-segment[aria-pressed=true]{font-weight:600}
@media(max-width:359px){.user-design .oneai .mc-sheet .sheet-header h2{font-size:20px}}

/* Unified media sheets: the same hierarchy, spacing and controls as the template. */
.user-design .mc-form{gap:16px}
.user-design .mc-model{min-height:48px;padding:10px 12px;border-radius:12px;gap:10px}
.user-design .mc-model-icon{width:24px;height:24px}
.user-design .mc-model-icon img{width:24px;height:24px;object-fit:contain}
.user-design .mc-prompt{border-radius:12px}
.user-design .mc-prompt textarea{min-height:112px;padding:12px 13px}
.user-design .mc-prompt-tools{padding:0 10px 6px}
.user-design .mc-label{margin-bottom:8px}
.user-design .mc-ratios{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.user-design .mc-ratios:has(>.mc-ratio:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
.user-design .mc-ratios:has(>.mc-ratio:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
.user-design .mc-ratios:has(>.mc-ratio:nth-child(5)){grid-template-columns:repeat(3,minmax(0,1fr))}
.user-design .mc-ratio{min-height:48px;gap:6px;padding:8px 4px;border-radius:10px}
.user-design .mc-parameters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.user-design .mc-parameters:has(>:only-child){grid-template-columns:minmax(0,1fr)}
.user-design .mc-parameter{display:flex;flex-direction:column;gap:6px;width:100%;min-width:0;min-height:68px;padding:10px 12px;text-align:left;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--ink)}
.user-design .mc-parameter-label{font-size:12px;font-weight:400;line-height:1.3;color:var(--muted)}
.user-design .mc-parameter-value{display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px}
.user-design .mc-parameter-value strong{font-size:15px;font-weight:600;overflow-wrap:anywhere}
.user-design .mc-parameter-value svg{width:15px;height:15px;color:var(--muted)}
.user-design .mc-parameter-static{background:var(--surface)}
.user-design .mc-action{border-bottom:1px solid var(--line);padding:0 0 10px;margin-top:-5px;min-height:38px;font-size:14px}
.user-design .mc-options{border-top:1px solid var(--line);padding-top:3px}
.user-design .mc-options summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:58px;padding:9px 0;list-style:none}
.user-design .mc-options summary::-webkit-details-marker{display:none}
.user-design .mc-options summary::marker{content:''}
.user-design .mc-options summary::before{display:none!important;content:none!important}
.user-design .mc-options summary>span{display:flex;flex-direction:column;gap:4px;min-width:0}
.user-design .mc-options summary strong{font-size:14px;font-weight:500}
.user-design .mc-options summary small{font-size:12px;font-weight:400;line-height:1.4;color:var(--muted)}
.user-design .mc-options summary>svg{width:16px;height:16px;color:var(--muted);transform:rotate(90deg)}
.user-design .mc-options[open] summary>svg{transform:rotate(-90deg)}
.user-design .mc-search{border:0;padding:0;margin:0}
.user-design .mc-search-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;gap:10px;min-height:66px;padding:10px 0;text-align:left;background:none;border:0;color:var(--ink)}
.user-design .mc-search-toggle+.mc-search-toggle{border-top:1px solid var(--line)}
.user-design .mc-search-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.user-design .mc-search-copy strong{font-size:14px;font-weight:500;line-height:1.4}
.user-design .mc-search-copy small{font-size:12px;line-height:1.4;color:var(--muted)}
.user-design .mc-search-state{display:flex;align-items:center;gap:6px;flex:none;font-size:12px;color:var(--muted)}
.user-design .mc-switch{display:block;position:relative;width:32px;height:20px;border-radius:20px;background:var(--line)}
.user-design .mc-switch:after{content:'';position:absolute;width:16px;height:16px;left:2px;top:2px;border-radius:50%;background:var(--bg)}
.user-design [aria-checked=true] .mc-switch{background:var(--ink)}
.user-design [aria-checked=true] .mc-switch:after{left:14px}
.user-design .oneai .mc-sheet .sheet-footer{padding-top:12px}
@media(max-width:359px){.user-design .mc-ratio{gap:4px;font-size:12px}.user-design .mc-shape{max-width:19px}.user-design .mc-parameters{gap:8px}.user-design .mc-search-state{gap:4px}}
.oneai .mc-choice-sheet .sheet-footer .mc-done{width:100%;min-height:48px}
.user-design [data-action="mc:picker:efforts"] .mc-parameter-value strong{font-size:14px;overflow-wrap:normal}
@media(max-width:359px){.user-design .mc-form[data-media-kind="image"] .mc-parameters{grid-template-columns:minmax(0,1fr)}}

/* Targeted corrections: same template, palette and information hierarchy. */
#app-root{height:var(--oa-height,100dvh);padding:var(--oa-safe-top,0px) var(--oa-safe-right,0px) var(--oa-safe-bottom,0px) var(--oa-safe-left,0px);box-sizing:border-box}
.oneai .oa-dots{width:24px;height:24px;fill:currentColor;stroke:none;color:var(--ink,#171717)}
.oneai .oa-dots circle{fill:currentColor;stroke:none}
.oneai button.rc4-menu-button{color:var(--ink,#171717);opacity:1;min-width:44px;min-height:44px;flex-shrink:0}
.oneai button.rc4-menu-button:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.oneai .page-title{min-width:0;flex-wrap:wrap;gap:12px}.oneai .page-title>div{min-width:0;flex:1 1 180px}.oneai .page-title>button{flex:0 0 auto;max-width:100%}
.oneai .rc4-search{flex-wrap:wrap}.oneai .rc4-search input{min-width:0;flex:1 1 150px}
.oneai .composer .send{width:44px;height:44px;min-width:44px;min-height:44px}
.oneai .composer .model-trigger{min-height:44px;min-width:0}.oneai .composer-tools{min-width:0}
.oneai .rc4-schedule-settings{min-width:0}.oneai .rc4-schedule-settings .navrow{width:100%;min-width:0}.oneai .rc4-schedule-settings small{white-space:normal;overflow-wrap:anywhere}
.mc-prompt textarea::placeholder{opacity:1;color:#707070}
@media(max-width:359px){.oneai .page-title>button{min-height:44px}.oneai .page-title{align-items:flex-start}}

/* Local press feedback; never use the WebView's delayed native tap highlight. */
.oneai :is(button,a,summary){-webkit-tap-highlight-color:transparent}
.oneai button:active{filter:none!important}
.oneai :is(button,a,summary).oa-pressed:not(:disabled){box-shadow:inset 0 0 0 999px #80808040!important;filter:none!important}
.oneai [inert] :is(button,a,summary){-webkit-tap-highlight-color:transparent;filter:none!important}
.oneai [inert] .oa-pressed{box-shadow:none!important}
/* An opaque sheet cannot reveal a pressed control underneath it. */
.oneai .sheet{background-color:var(--bg,#fff);opacity:1!important;isolation:isolate}
.oneai :is(button,a)[data-oa-pending]{cursor:progress;outline:2px solid var(--muted,#777);outline-offset:-3px}
#oa-action-status{position:fixed;left:50%;top:max(12px,var(--oa-safe-top,0px));transform:translateX(-50%);z-index:10000;max-width:calc(100vw - 32px);display:flex;align-items:center;gap:9px;padding:10px 14px;border:1px solid #d8d8d8;border-radius:12px;background:#fff;color:#202020;box-shadow:0 3px 14px #0002;pointer-events:none;font:13px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
#oa-action-status[hidden]{display:none}
#oa-action-status::before{content:"";width:14px;height:14px;flex:none;border:2px solid #c8c8c8;border-top-color:#202020;border-radius:50%;animation:oa-busy-turn .8s linear infinite}
@keyframes oa-busy-turn{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){#oa-action-status::before{animation:none;border-color:#777}}

.file-card .chat-file-thumb{display:flex;align-items:center;justify-content:center;width:88px;height:88px;flex:0 0 88px;overflow:hidden;border-radius:var(--radius-sm,10px);background:var(--surface2);color:var(--muted)}
.chat-file-thumb img{display:block;width:100%;height:100%;object-fit:contain}
.file-card:has(.chat-file-thumb) .grow{min-width:0;overflow-wrap:anywhere}
.chat-file-original{display:block;width:100%;max-width:100%;max-height:55vh;object-fit:contain;margin:auto}

.oneai .demo-media.media-original-view{height:auto;min-height:0;aspect-ratio:auto;overflow:visible;background:transparent;display:flex;justify-content:center;align-items:center}
.oneai .media-original-view img,.oneai .media-original-view video,.oneai .chat-file-original{display:block;width:auto;height:auto;max-width:100%;max-height:min(55vh,max(80px,calc(100dvh - 290px)));object-fit:contain;margin:auto}

.oa-attachment-status,.oa-file-action{display:flex;align-items:center;gap:.5em;font-size:.85rem;line-height:1.4;color:var(--ink,inherit)}
.oa-attachment-status{flex-wrap:wrap;padding:.5em 0;overflow-wrap:anywhere}
.oa-attachment-status>span{min-width:0;flex:1}
.oa-file-action{flex-wrap:wrap;justify-content:center}
.oa-file-spinner{display:inline-block;width:1em;height:1em;flex:0 0 1em;box-sizing:border-box;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:oa-busy-turn .85s linear infinite}
@media(prefers-reduced-motion:reduce){.oa-file-spinner{animation:none}}

#oneai-funds-warning{box-sizing:border-box;width:min(28rem,calc(100% - 28px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid var(--line,#d9d9d9);border-radius:16px;background:var(--bg,Canvas);color:var(--ink,CanvasText);font:inherit;box-shadow:0 16px 64px #0003}
#oneai-funds-warning::backdrop{background:#1118}
#oneai-funds-warning h2{font-size:1.25rem;line-height:1.3;margin:0 0 14px}
#oneai-funds-warning p{font-size:.94rem;line-height:1.55;margin:12px 0 20px}
#oneai-funds-warning dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;font-size:.9rem}
#oneai-funds-warning dd{margin:0;font-variant-numeric:tabular-nums;font-weight:600}
#oneai-funds-warning .funds-actions{display:flex;gap:8px;flex-wrap:wrap}
#oneai-funds-warning button{flex:1 0 auto;max-width:100%;min-height:44px;border-radius:9px;padding:8px 12px;cursor:pointer}
#oneai-funds-warning .secondary{border:1px solid #888;background:transparent;color:inherit}
#oneai-funds-warning .primary{border:1px solid transparent;background:#282828;color:white}
#oneai-funds-warning button:focus-visible{outline:2px solid #3685cf;outline-offset:2px}

