/* Brand: the original paper / ink / porcelain-blue tokens, organized into
   semantic surfaces. Layers: base 0, toolbar 2, mobile drawer 8, toast 30;
   native dialogs use the browser's top layer. */
:root{color-scheme:light;--bg:#f0efeb;--surface:#fbfaf7;--elevated:#fffefa;--ink:#1c1c1a;--muted:#686862;--faint:#77776f;--line:#deded6;--line-strong:#c9cbc3;--accent:#334eac;--accent-hover:#293f91;--accent-soft:#e7ebf8;--canvas:#e6e6df;--danger:#a2332c;--danger-soft:#fae9e6;--shadow:0 12px 40px #30372d0a;--radius:12px;--font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-family:var(--font);font-size:14px;line-height:1.6;color:var(--ink);background:var(--bg)}
:root[data-theme=dark]{color-scheme:dark;--bg:#1b1d21;--surface:#22252a;--elevated:#292d33;--ink:#eeeee8;--muted:#b0b3b5;--faint:#a1a6ab;--line:#383e45;--line-strong:#505963;--accent:#a0b5ff;--accent-hover:#bdcbff;--accent-soft:#303b60;--canvas:#15171b;--danger:#ffa79b;--danger-soft:#482e2b;--shadow:0 12px 40px #07090c25}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){color-scheme:dark;--bg:#1b1d21;--surface:#22252a;--elevated:#292d33;--ink:#eeeee8;--muted:#b0b3b5;--faint:#a1a6ab;--line:#383e45;--line-strong:#505963;--accent:#a0b5ff;--accent-hover:#bdcbff;--accent-soft:#303b60;--canvas:#15171b;--danger:#ffa79b;--danger-soft:#482e2b;--shadow:0 12px 40px #07090c25}}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button,a,input,select,textarea{touch-action:manipulation}button{color:inherit}button:disabled{opacity:.45;cursor:not-allowed}button:active:not(:disabled){transform:translateY(1px)}input,textarea,select{color:var(--ink)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--accent);outline-offset:3px}button:focus:not(:focus-visible),a:focus:not(:focus-visible){outline:none}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.035em}h1{font-size:32px;line-height:1.32;font-weight:630;margin-bottom:12px}h2{font-size:18px;line-height:1.4;font-weight:640;margin-bottom:0}h3{font-size:15px;line-height:1.4}p{margin-bottom:12px}::selection{background:var(--accent-soft);color:var(--accent)}::placeholder{color:var(--faint);opacity:1}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-100px;left:16px;background:var(--accent);color:var(--surface);padding:12px 20px;z-index:40;border-radius:8px}.skip-link:focus{top:12px}.muted{color:var(--muted)}.small-muted{color:var(--muted);font-size:12px}.icon{display:inline-flex;flex:none;align-items:center;justify-content:center;width:18px;height:18px;vertical-align:-3px}.icon svg{width:100%;height:100%;fill:currentColor}.icon-button{border:1px solid transparent;border-radius:7px;background:transparent;display:inline-flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;color:var(--muted);padding:9px}.icon-button:hover:not(:disabled){background:var(--accent-soft);color:var(--accent)}.icon-button.small{width:29px;height:29px;padding:7px}.icon-button.selected{color:var(--accent);background:var(--accent-soft)}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--line-strong);border-radius:8px;background:var(--surface);padding:10px 16px;min-height:40px;font-size:13px;font-weight:550;line-height:1.4;color:var(--ink);white-space:nowrap}.button:hover:not(:disabled){background:var(--elevated);border-color:var(--muted)}.button.primary{background:var(--accent);color:var(--surface);border-color:var(--accent)}.button.primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.button.ghost{background:transparent;border-color:transparent;color:var(--muted)}.button.ghost:hover:not(:disabled){color:var(--ink);background:var(--bg)}.button.danger{color:var(--danger);border-color:var(--danger)}.button.large{min-height:46px;padding:12px 22px}.button.full{width:100%}.button.small{padding:7px 11px;min-height:34px;font-size:12px}.button .icon{width:15px;height:15px}.text-link{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:var(--muted);border:0;background:transparent;padding:0}.text-link:hover{color:var(--accent)}.text-link .icon{width:12px;height:12px}.brand{display:flex;align-items:center;gap:11px;font-weight:720;font-size:27px;letter-spacing:-1px;line-height:1}.brand-mark{background:var(--accent);color:var(--surface);font-weight:760;font-size:33px;line-height:1;display:grid;place-items:center;width:39px;height:39px;padding-bottom:6px;border-radius:12px;letter-spacing:-2px;flex:none}.brand-sub{display:block;font-size:10px;letter-spacing:1.1px;font-weight:500;color:var(--muted);margin-top:8px}.app-shell{display:grid;grid-template-columns:216px minmax(0,1fr);min-height:100dvh}.shell-sidebar{position:sticky;top:0;height:100dvh;border-right:1px solid var(--line);padding:31px 17px 16px;display:flex;flex-direction:column;background:var(--surface)}.shell-sidebar .brand{margin:0 14px 40px}.workspace-label{color:var(--muted);font-size:11px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;margin-bottom:14px}.local-label{padding:1px 5px;border:1px solid var(--line);font-size:10px;border-radius:4px}.shell-sidebar nav{display:grid;gap:5px}.nav-item{width:100%;display:flex;align-items:center;gap:11px;border:1px solid transparent;border-radius:8px;background:transparent;padding:10px 12px;color:var(--muted);font-size:13px;text-align:left;min-height:42px}.nav-item .icon{width:16px;height:16px}.nav-item:hover{color:var(--ink);background:var(--bg)}.nav-item.active{color:var(--accent);background:var(--accent-soft);font-weight:600}.nav-count{margin-left:auto;font-size:11px}.sidebar-bottom{margin-top:auto}.workspace-card{border-top:1px solid var(--line);margin-top:17px;padding:20px 6px 2px;display:flex;align-items:center;gap:10px}.workspace-card strong{font-size:12px;font-weight:600;display:block}.workspace-card small{font-size:10px;color:var(--muted)}.workspace-card .icon-button{margin-left:auto;width:26px;padding:5px}.avatar{display:grid;place-items:center;width:31px;height:31px;flex:none;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-size:11px;font-weight:600}.main-area{min-width:0}.shell-top{height:71px;padding:0 39px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.breadcrumb{display:flex;align-items:center;gap:13px;font-size:12px;color:var(--muted)}.breadcrumb>.icon{width:8px;height:8px;color:var(--faint)}.breadcrumb strong{color:var(--ink);font-weight:500}.top-actions{display:flex;align-items:center;gap:17px}.save-hint{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted)}.save-hint .icon{width:12px;height:12px}.content{max-width:1190px;margin:auto;padding:41px 48px 38px}.start-intro{margin-bottom:25px}.intro-mark{display:flex;align-items:center;gap:8px;color:var(--accent);font-size:12px;margin-bottom:13px}.intro-mark .icon{width:13px;height:13px}.start-intro h1{font-size:37px;letter-spacing:-1.5px;font-weight:630;margin-bottom:10px}.start-intro p{color:var(--muted);font-size:13px;line-height:1.8;margin:0}.composer{border:1px solid var(--line-strong);border-radius:14px;background:var(--elevated);box-shadow:var(--shadow);overflow:hidden}.composer-tabs{display:flex;gap:21px;border-bottom:1px solid var(--line);padding:0 23px}.composer-tabs button{border:0;border-bottom:2px solid transparent;background:none;color:var(--muted);padding:15px 0 12px;font-size:12px;display:flex;align-items:center;gap:8px}.composer-tabs .icon{width:12px;height:12px}.composer-tabs button[aria-selected=true]{color:var(--accent);border-bottom-color:var(--accent);font-weight:600}#brief{width:100%;border:0;background:none;outline:none!important;resize:vertical;min-height:140px;max-height:340px;line-height:1.9;padding:21px 25px 13px;font-size:14px}#brief:focus-visible{box-shadow:inset 3px 0 var(--accent)}#brief::placeholder{color:var(--muted)}.composer-foot{display:flex;align-items:center;justify-content:space-between;padding:0 20px 17px;gap:16px}.attached-brief{padding:0 25px 13px;color:var(--muted);font-size:12px}.composer .form-error{padding:0 25px 12px}.starter-row{display:flex;align-items:center;gap:9px;margin:14px 0 28px;flex-wrap:wrap}.starter-row>span{font-size:11px;color:var(--muted);margin-right:3px}.starter-chip{font-size:11px;border:1px solid var(--line);border-radius:6px;background:transparent;color:var(--muted);display:inline-flex;align-items:center;gap:12px;padding:6px 10px}.starter-chip:hover{border-color:var(--accent);color:var(--accent)}.starter-chip .icon{width:9px;height:9px}.flow-strip{display:flex;align-items:center;gap:16px;max-width:740px;margin:0 auto 37px;color:var(--muted);font-size:11px;padding:13px 0}.flow-strip span{display:flex;align-items:center;gap:8px;white-space:nowrap}.flow-strip .icon{width:12px;height:12px}.flow-strip .current{color:var(--accent)}.flow-strip i{flex:1;height:1px;background:var(--line)}.section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.section-title h2{font-size:17px;font-weight:620}.recent-section{margin-top:3px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}.project-card{border:1px solid var(--line);border-radius:11px;overflow:hidden;background:var(--surface);min-width:0;transition:border-color .15s,transform .15s}.project-card:hover{border-color:var(--line-strong);transform:translateY(-2px)}.card-preview{position:relative;height:176px;overflow:hidden;background:var(--canvas);border-bottom:1px solid var(--line)}.card-preview iframe,.template-preview iframe,.plan-template-preview iframe{width:1100px;height:750px;border:0;transform-origin:0 0;pointer-events:none;background:#f4f5f2;display:block}.preview-cover{position:absolute;inset:0;width:100%;border:0;background:transparent;padding:0}.preview-cover span{display:inline-flex;align-items:center;gap:8px;background:var(--elevated);color:var(--ink);border:1px solid var(--line);padding:7px 12px;border-radius:6px;font-size:12px;opacity:0;transition:opacity .15s}.preview-cover:hover span,.preview-cover:focus-visible span{opacity:1}.preview-cover .icon{width:12px;height:12px}.card-details{padding:13px 16px 17px}.card-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.project-title{font-size:13px;font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;padding:0;border:0;background:none}.project-title:hover{color:var(--accent)}.project-meta{display:flex;align-items:center;gap:10px;font-size:10px;color:var(--muted)}.state-label{margin-left:auto;font-size:10px;border:1px solid var(--line);padding:0 5px;border-radius:4px}.honesty-note{display:flex;align-items:flex-start;gap:7px;margin-top:26px;color:var(--muted);font-size:11px;line-height:1.8}.honesty-note .icon{width:12px;height:12px;margin-top:4px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:34px}.page-heading h1{font-size:31px}.page-heading p{color:var(--muted);font-size:13px;margin:0}.project-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.segmented{display:inline-flex;align-items:center;gap:3px;padding:3px;background:var(--line);border-radius:8px;flex:none}.segmented button{border:0;background:transparent;color:var(--muted);border-radius:6px;padding:7px 12px;font-size:12px;white-space:nowrap}.segmented button span{margin-left:7px;font-size:10px}.segmented button.active{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #2429260d}.project-controls{display:flex;align-items:center;gap:11px;min-width:0}.search-field{display:flex;align-items:center;gap:10px;border:1px solid var(--line);background:var(--surface);border-radius:7px;padding:9px 11px}.search-field .icon{width:13px;height:13px;color:var(--muted)}.search-field input{width:165px;min-width:0;border:0;background:none;outline:none;font-size:12px;line-height:1.5}.search-field:focus-within{outline:2px solid var(--accent);outline-offset:2px}.view-switch{display:flex;gap:1px}.input{width:100%;padding:10px 12px;border:1px solid var(--line-strong);border-radius:7px;background:var(--elevated);font-size:13px;line-height:1.6;min-width:0}.input.compact{width:auto;font-size:12px;padding:8px 10px}.field{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:550;margin-bottom:19px}.field:last-child{margin-bottom:0}.field-help{color:var(--muted);font-size:11px;font-weight:400;line-height:1.75;margin:0}.form-error{color:var(--danger);font-size:12px;line-height:1.8;margin-top:14px;margin-bottom:0}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.surface{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.empty-state{text-align:center;padding:38px 24px 45px;border:1px dashed var(--line-strong);border-radius:12px}.empty-icon{width:28px;height:28px;color:var(--muted);margin-bottom:17px}.empty-state h2{font-size:18px;margin-bottom:9px}.empty-state p{font-size:12px;color:var(--muted);margin:0 0 19px}.empty-state .button{margin-top:0}.list-view{grid-template-columns:1fr;gap:10px}.list-view .project-card{display:flex;align-items:center}.list-view .card-preview{width:180px;height:105px;flex:none;border:0;border-right:1px solid var(--line)}.list-view .card-details{flex:1;padding:18px 22px}.list-view .project-title{font-size:15px}.list-view .project-meta{font-size:12px;justify-content:flex-start}.list-view .state-label{margin-left:0}.template-list{display:grid;gap:25px}.template-feature{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:var(--surface);display:grid;grid-template-columns:1.15fr 1fr}.template-preview{height:285px;overflow:hidden;background:var(--canvas);border-right:1px solid var(--line)}.template-info{padding:28px 28px 25px;display:flex;align-items:flex-start;flex-direction:column}.template-kind{font-size:10px;color:var(--accent);margin-bottom:8px}.template-info h2{font-size:22px;margin-bottom:10px}.template-info p{font-size:12px;color:var(--muted);margin-bottom:16px}.template-pages{display:flex;align-items:center;gap:8px;font-size:10px;flex-wrap:wrap;color:var(--muted);margin-bottom:14px}.template-pages .icon{width:7px;height:7px}.template-features{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px;margin-bottom:20px}.template-features .icon{width:11px;height:11px}.template-info .button{margin-top:auto}.back-link{display:inline-flex;align-items:center;gap:9px;color:var(--muted);font-size:12px;margin-bottom:24px}.back-link .icon{width:12px;height:12px}.plan-title{margin-bottom:27px}.plan-title h1{font-size:32px}.plan-title p{color:var(--muted);font-size:13px;margin:0}.step-line{display:flex;align-items:center;gap:12px;font-size:11px;color:var(--muted);margin-bottom:18px}.step-line span{display:inline-flex;gap:6px;align-items:center}.step-line .icon{width:10px;height:10px}.step-line i{width:24px;height:1px;background:var(--line-strong)}.step-line .active{color:var(--accent);font-weight:600}.step-line .done{color:var(--muted)}.plan-layout{display:grid;grid-template-columns:minmax(0,1fr) 267px;gap:24px;align-items:start}.plan-main{display:grid;gap:19px}.plan-block{padding:23px}.plan-block h2{font-size:15px}.plan-block>.section-title{margin-bottom:21px}.plan-block>.form-columns{grid-template-columns:1fr}.plan-block>.form-columns .field{margin-bottom:0}.brief-details{margin-top:20px;border-top:1px solid var(--line);padding-top:14px}.brief-details summary{display:flex;align-items:center;justify-content:space-between;font-size:12px;cursor:pointer;color:var(--muted);list-style:none}.brief-details summary::-webkit-details-marker{display:none}.brief-details .icon{width:10px;height:10px}.brief-details textarea{margin-top:12px;min-height:120px;resize:vertical}.plan-page-row{display:flex;align-items:center;gap:12px;margin-bottom:10px}.page-order{font-size:11px;font-variant-numeric:tabular-nums;color:var(--muted);width:17px;flex:none}.plan-page-row .input{font-size:12px;padding:9px 11px}.page-path{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;color:var(--muted);width:95px;flex:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plan-page-row .icon-button{width:28px;height:28px;padding:8px}.add-page{margin:0 0 7px 19px}.plan-summary{position:sticky;top:24px}.summary-head{font-size:12px;font-weight:550;padding:17px 19px;border-bottom:1px solid var(--line)}.plan-template-preview{height:163px;overflow:hidden;background:var(--canvas);border-bottom:1px solid var(--line)}.summary-body{padding:20px}.summary-promise{display:block;padding:16px 8px;color:var(--muted);font-size:11px;line-height:1.9}.summary-promise .icon{width:12px;height:12px;margin-right:5px}.generation-choices{display:grid;gap:11px;margin-top:19px}.radio-card{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--line);border-radius:8px;padding:14px;cursor:pointer}.radio-card:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}.radio-card input{margin-top:5px;accent-color:var(--accent)}.radio-card strong{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:550}.radio-card small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.radio-card.unavailable{cursor:not-allowed;opacity:.72}.tag{font-size:9px;line-height:1.5;background:var(--accent-soft);color:var(--accent);padding:2px 6px;border-radius:4px;white-space:nowrap;font-weight:500}.tag.neutral{background:var(--bg);color:var(--muted)}.consent-line{display:flex;align-items:flex-start;gap:9px;font-size:11px;color:var(--muted);line-height:1.8;margin-top:17px}.consent-line input{margin:4px 0 0;accent-color:var(--accent)}.plan-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:25px;padding:21px 0 0;border-top:1px solid var(--line)}.plan-footer>span{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:8px}.plan-footer .icon{width:12px;height:12px}.plan-footer .button .icon{width:15px;height:15px}.generation-state{margin-top:22px;padding:23px;border:1px solid var(--accent);background:var(--surface);border-radius:12px}.generation-state strong{display:block;margin-top:18px}.generation-state p{color:var(--muted);font-size:12px}.import-prompt{text-align:center;padding:23px}.upload-zone{padding:10px 12px 23px;border:1px dashed transparent;border-radius:10px}.upload-zone.drag-over{background:var(--accent-soft);border-color:var(--accent)}.upload-icon{width:24px;height:24px;color:var(--accent);margin-bottom:12px}.upload-zone strong{display:block;font-weight:580;font-size:16px;margin-bottom:9px}.upload-zone p{font-size:12px;color:var(--muted);margin-bottom:6px}.upload-zone>span:last-child{font-size:10px;color:var(--muted)}.modal{padding:0;max-height:90dvh;max-width:calc(100vw - 32px);width:470px;border:1px solid var(--line-strong);border-radius:15px;background:var(--surface);color:var(--ink);box-shadow:0 25px 90px #18203233;overflow:auto}.modal.wide{width:760px}.modal::backdrop{background:#171e2c66;backdrop-filter:blur(2px)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px 16px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:18px}.modal-body{padding:24px}.modal-body>p{font-size:13px;line-height:1.8}.modal-foot{padding:17px 24px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;align-items:center;gap:10px}.modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:23px}.copy-field{min-height:100px}.info-box{padding:13px 15px;border:1px solid var(--line);border-radius:8px;background:var(--bg);font-size:12px;line-height:1.8;color:var(--muted)}.info-box strong{color:var(--ink);font-weight:600}.info-box.warning{border-color:var(--danger);color:var(--danger);background:var(--danger-soft)}.settings-group{padding-bottom:22px;margin-bottom:21px;border-bottom:1px solid var(--line)}.settings-group:last-child{margin-bottom:0;border:0;padding-bottom:0}.settings-group h3{font-size:14px;margin-bottom:10px}.settings-group p{font-size:12px;color:var(--muted);line-height:1.9}.settings-code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;padding:15px;border-radius:8px;background:var(--bg);border:1px solid var(--line);color:var(--ink)}.menu-actions{display:grid;gap:7px}.menu-actions button{display:flex;align-items:center;gap:12px;padding:13px;text-align:left;border:1px solid var(--line);background:none;border-radius:7px;font-size:13px}.menu-actions button:hover{background:var(--bg);border-color:var(--line-strong)}.menu-actions .icon{width:15px;height:15px;color:var(--muted)}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:min(530px,calc(100vw - 32px));padding:13px 18px;border:1px solid var(--line-strong);border-radius:9px;background:var(--elevated);box-shadow:0 8px 35px #15212920;display:flex;align-items:center;gap:10px;z-index:30;font-size:12px;line-height:1.7;color:var(--ink)}.toast .icon{width:14px;height:14px;color:var(--accent)}.toast.error .icon{color:var(--danger)}.startup{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;text-align:center}.startup .brand-mark{margin-bottom:25px}.startup h1{font-size:23px}.startup p{color:var(--muted);font-size:13px}.skeleton-line{height:3px;width:200px;max-width:100%;border-radius:3px;background:var(--line);position:relative;overflow:hidden}.skeleton-line:after{content:'';position:absolute;width:60px;height:100%;background:var(--accent);animation:loading 1.5s infinite ease-in-out}@keyframes loading{from{transform:translateX(-60px)}to{transform:translateX(210px)}}.mobile-only{display:none!important}
/* Editor: navigation, canvas and context are independent scroll regions. */
.editor{height:100dvh;display:grid;grid-template-rows:65px minmax(0,1fr);overflow:hidden;background:var(--surface)}.editor-top{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:0 19px;background:var(--surface);min-width:0}.editor-identity{display:flex;align-items:center;gap:13px;min-width:0}.editor-back{width:32px;height:32px;padding:8px;border:1px solid var(--line)}.editor-name-wrap{min-width:0}.editor-name{font-size:13px;font-weight:600;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:260px}.editor-save-state{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:5px}.editor-save-state .icon{width:8px;height:8px}.editor-actions{display:flex;align-items:center;gap:9px}.toolbar-divider{height:22px;width:1px;background:var(--line);margin:0 3px}.editor-actions .button{font-size:12px;padding:8px 13px;min-height:36px}.editor-body{display:grid;grid-template-columns:166px minmax(0,1fr) 322px;min-height:0}.pages-panel{border-right:1px solid var(--line);padding:23px 12px;overflow:auto;display:flex;flex-direction:column}.rail-heading{display:flex;align-items:center;justify-content:space-between;padding:0 9px;margin-bottom:17px;font-size:11px;color:var(--muted)}.page-link{width:100%;padding:10px 10px;margin-bottom:5px;display:flex;align-items:center;gap:9px;border:1px solid transparent;border-radius:7px;background:none;color:var(--muted);font-size:12px;text-align:left}.page-link .icon{width:12px;height:12px}.page-link span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-link:hover{background:var(--bg);color:var(--ink)}.page-link.active{background:var(--accent-soft);color:var(--accent);font-weight:550}.project-brief-link{margin-top:auto;border-top:1px solid var(--line);padding-top:18px}.project-brief-link button{font-size:11px;padding:6px;display:flex;gap:8px;align-items:center;border:0;background:none;color:var(--muted)}.project-brief-link .icon{width:11px;height:11px}.canvas-column{min-width:0;min-height:0;display:flex;flex-direction:column;background:var(--canvas)}.canvas-toolbar{height:48px;flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 18px;border-bottom:1px solid var(--line);background:var(--surface)}.canvas-tabs{display:flex;align-items:center;gap:3px}.canvas-tabs button{display:flex;align-items:center;gap:6px;font-size:11px;padding:7px 10px;border:0;background:transparent;color:var(--muted);border-radius:5px}.canvas-tabs button.active{background:var(--bg);color:var(--ink)}.canvas-tabs .icon{width:11px;height:11px}.viewport-controls{display:flex;align-items:center;gap:3px}.viewport-controls .icon-button{width:29px;height:29px;padding:7px;border-radius:5px}.viewport-controls .icon{width:14px;height:14px}.zoom-select{font-size:10px;border:0;background:none;color:var(--muted);padding:4px;width:71px}.canvas-scroll{flex:1;min-height:0;overflow:auto;padding:25px 22px 18px;background-image:radial-gradient(var(--line-strong) .6px,transparent .6px);background-size:15px 15px}.frame-window{margin:0 auto;overflow:hidden;border:1px solid var(--line-strong);border-radius:9px;background:#fdfefd;box-shadow:0 8px 32px #232b2520}.frame-chrome{height:29px;display:flex;align-items:center;gap:13px;padding:0 13px;background:#f5f5f2;border-bottom:1px solid #e0e2dc;color:#757b74;font-size:9px;white-space:nowrap;overflow:hidden}.chrome-dots{display:flex;gap:4px;flex:none}.chrome-dots i{width:5px;height:5px;border-radius:50%;background:#d1d5cc}.frame-url{overflow:hidden;text-overflow:ellipsis;flex:1;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px}.frame-viewport{overflow:hidden}.prototype-frame{display:block;border:0;background:#fdfefd;transform-origin:0 0}.canvas-status{height:30px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;flex:none;font-size:10px;color:var(--muted);gap:13px;border-top:1px solid var(--line);background:var(--surface)}.canvas-status .icon{width:10px;height:10px;margin-right:5px}.source-workspace{flex:1;min-height:0;display:flex;flex-direction:column;background:var(--surface);padding:16px}.source-workspace textarea{flex:1;resize:none;min-height:180px;font:12px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;border:1px solid var(--line);border-radius:8px;padding:18px;background:var(--bg);tab-size:2;color:var(--ink);white-space:pre;overflow:auto}.source-actions{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:13px}.source-actions span{font-size:11px;color:var(--muted)}.editor-right{border-left:1px solid var(--line);min-height:0;display:flex;flex-direction:column;background:var(--surface)}.panel-tabs{display:flex;align-items:stretch;height:48px;flex:none;border-bottom:1px solid var(--line);padding:0 12px;gap:3px}.panel-tabs button{position:relative;flex:1;border:0;border-bottom:2px solid transparent;background:none;color:var(--muted);font-size:11px;padding:0 8px}.panel-tabs button.active{color:var(--accent);border-bottom-color:var(--accent);font-weight:600}.panel-content{padding:21px 20px;overflow:auto;flex:1;min-height:0}.panel-heading{font-size:14px;font-weight:600;margin-bottom:8px}.panel-description{font-size:11px;color:var(--muted);line-height:1.8;margin-bottom:20px}.selection-empty{border:1px dashed var(--line-strong);border-radius:10px;padding:24px 17px;text-align:center;margin-bottom:23px}.selection-empty .icon{width:23px;height:23px;color:var(--accent);margin-bottom:12px}.selection-empty strong{display:block;font-size:13px;font-weight:550;margin-bottom:7px}.selection-empty p{font-size:11px;line-height:1.8;color:var(--muted);margin:0}.selected-target{padding:12px;background:var(--accent-soft);border:1px solid transparent;border-radius:8px;margin-bottom:18px;display:flex;align-items:flex-start;gap:9px}.selected-target .icon{width:12px;height:12px;margin-top:3px;color:var(--accent)}.selected-target strong{display:block;font-size:11px;color:var(--accent);font-weight:600}.selected-target p{font-size:11px;color:var(--muted);margin:4px 0 0;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere}.properties-form .field{font-size:11px;margin-bottom:16px}.properties-form textarea{min-height:87px;resize:vertical;font-size:12px}.properties-form .input{font-size:12px;padding:8px 10px}.property-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.color-field{display:flex;align-items:center;border:1px solid var(--line-strong);border-radius:7px;background:var(--elevated);padding:4px 8px;gap:7px}.color-field input[type=color]{border:0;padding:0;width:24px;height:24px;background:none;flex:none;cursor:pointer}.color-field input[type=text]{font:10px ui-monospace,monospace;width:100%;min-width:0;border:0;background:none}.panel-divider{height:1px;background:var(--line);margin:23px 0}.panel-subheading{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;margin-bottom:13px}.panel-subheading .icon{width:12px;height:12px;color:var(--accent)}.style-swatches{display:flex;gap:8px;margin:12px 0}.style-swatch{width:32px;height:32px;padding:4px;border:1px solid var(--line-strong);border-radius:7px;background:var(--surface)}.style-swatch span{display:block;width:22px;height:22px;border-radius:4px}.style-swatch:hover{outline:2px solid var(--accent);outline-offset:2px}.ai-box{padding:14px;border:1px solid var(--line);border-radius:9px;background:var(--bg)}.ai-box p{font-size:11px;color:var(--muted);line-height:1.8;margin-bottom:12px}.ai-box textarea{resize:vertical;min-height:90px;font-size:11px;margin-bottom:9px}.ai-box .consent-line{font-size:10px;margin:0 0 12px}.ai-box .button{font-size:11px}.note-form textarea{min-height:86px;resize:vertical;font-size:12px}.note-form .field{margin-bottom:13px;font-size:11px}.note-form .input{font-size:12px;padding:8px 10px}.note-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;margin:21px 0 13px}.note-list{display:grid;gap:12px}.note-item{padding:13px;border:1px solid var(--line);border-radius:8px}.note-item.internal{border-style:dashed}.note-meta{display:flex;align-items:center;gap:7px;font-size:9px;color:var(--muted);margin-bottom:8px}.note-meta .icon{width:10px;height:10px}.note-item p{font-size:12px;line-height:1.8;margin:0 0 9px;white-space:pre-wrap;overflow-wrap:anywhere}.note-item.resolved p{text-decoration:line-through;color:var(--muted)}.note-item .text-link{font-size:10px}.note-item .note-target{font-size:10px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--accent);margin-bottom:7px}.version-item{border:1px solid var(--line);padding:13px;border-radius:8px;margin-top:12px}.version-item:first-of-type{border-color:var(--line-strong)}.version-label{display:flex;align-items:center;gap:8px;margin-bottom:6px;font-size:12px}.version-label strong{font-size:10px;padding:2px 6px;background:var(--accent-soft);border-radius:4px;color:var(--accent);font-weight:550}.version-item small{font-size:10px;color:var(--muted)}.version-actions{display:flex;gap:9px;margin-top:12px;flex-wrap:wrap}.version-actions .button{font-size:10px;padding:6px 9px;min-height:30px}.version-actions .icon{width:10px;height:10px}.timeline-list{margin-top:16px;display:grid}.event-item{border-left:1px solid var(--line-strong);margin-left:5px;padding:0 0 19px 17px;position:relative}.event-item:before{content:'';position:absolute;left:-3px;top:6px;width:5px;height:5px;background:var(--line-strong);border-radius:50%}.event-item:last-child{padding-bottom:0;border-left-color:transparent}.event-item strong{font-size:11px;font-weight:500;display:block}.event-item small{font-size:9px;color:var(--muted)}.details-list{margin-top:23px;border-top:1px solid var(--line);padding-top:15px}.details-list summary{font-size:11px;cursor:pointer;color:var(--muted)}.panel-empty{padding:22px 12px;text-align:center;font-size:11px;color:var(--muted);line-height:1.9;background:var(--bg);border-radius:8px;margin-top:15px}.mobile-editor-hint{display:none}.deliver-options{display:grid;gap:14px;margin-top:18px}.deliver-option{border:1px solid var(--line);border-radius:9px;padding:18px}.deliver-option h3{display:flex;align-items:center;gap:9px;font-size:14px;margin-bottom:8px}.deliver-option h3 .icon{width:15px;height:15px;color:var(--accent)}.deliver-option p{font-size:12px;line-height:1.9;color:var(--muted)}.deliver-option .button{font-size:12px}.share-url-row{display:flex;gap:8px;margin:12px 0}.share-url-row input{min-width:0;font:11px ui-monospace,monospace}.version-select{margin-bottom:17px}.candidate-layout{display:grid;grid-template-columns:1fr 1fr;gap:16px}.candidate-block h3{font-size:13px;margin-bottom:10px}.candidate-block textarea{height:310px;white-space:pre;font:10px/1.7 ui-monospace,Consolas,monospace}.candidate-summary{font-size:12px;color:var(--muted);margin-bottom:17px}.candidate-preview{height:300px;margin-top:15px;border:1px solid var(--line);border-radius:8px;overflow:hidden}.candidate-preview iframe{width:100%;height:100%;border:0}.pending-tag{font-size:10px;color:var(--danger)}.runtime-warning{padding:9px 14px;background:var(--danger-soft);color:var(--danger);font-size:11px;border-top:1px solid var(--danger);flex:none;overflow-wrap:anywhere}.review-root{height:100dvh;display:grid;grid-template-rows:69px minmax(0,1fr);background:var(--surface);overflow:hidden}.review-top{padding:0 25px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:18px}.review-top .brand{font-size:21px;gap:9px}.review-top .brand-mark{width:29px;height:29px;border-radius:8px;font-size:26px;padding-bottom:4px}.review-title{display:flex;align-items:center;gap:13px;font-size:13px;min-width:0}.review-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:350px;font-weight:550}.review-body{display:grid;grid-template-columns:minmax(0,1fr) 325px;min-height:0}.review-canvas{min-width:0;display:flex;flex-direction:column;min-height:0}.review-nav{height:48px;border-bottom:1px solid var(--line);padding:0 21px;display:flex;align-items:center;gap:8px;overflow-x:auto;flex:none;background:var(--surface)}.review-nav button{border:0;background:transparent;font-size:11px;color:var(--muted);padding:7px 11px;border-radius:5px;white-space:nowrap}.review-nav button.active{background:var(--accent-soft);color:var(--accent)}.review-iframe{flex:1;border:0;min-height:0;background:#fdfefd;width:100%}.review-side{border-left:1px solid var(--line);display:flex;flex-direction:column;min-height:0;background:var(--surface)}.review-side-head{padding:19px 21px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none}.review-side-head strong{font-size:13px;font-weight:600}.review-side-head small{font-size:10px;color:var(--muted);display:block;margin-top:3px}.review-thread{padding:17px 21px;flex:1;min-height:0;overflow:auto}.comment-card{padding:14px 0;border-bottom:1px solid var(--line)}.comment-card:first-child{padding-top:0}.comment-head{display:flex;align-items:center;gap:8px;font-size:11px;margin-bottom:8px}.comment-head strong{font-weight:600}.comment-head small{font-size:9px;color:var(--muted);margin-left:auto}.comment-card p{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:8px}.comment-card .text-link{font-size:10px}.comment-card.resolved p{color:var(--muted)}.review-comment-form{padding:17px 20px 20px;border-top:1px solid var(--line);flex:none}.review-comment-form .field{font-size:11px;margin-bottom:11px}.review-comment-form .input{padding:8px 10px;font-size:12px}.review-comment-form textarea{min-height:85px;resize:vertical;max-height:180px}.review-comment-form .button{font-size:12px}.review-form-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.review-form-footer span{font-size:10px;color:var(--muted)}.review-note{background:var(--accent-soft);border-radius:7px;padding:11px 12px;font-size:11px;line-height:1.9;margin-bottom:14px;color:var(--ink);white-space:pre-wrap}.feedback-export{display:flex;gap:8px}.drawer-handle{display:none}.review-status-label{font-size:10px;color:var(--muted)}
@media(min-width:1600px){.content{padding-top:52px}.start-intro h1{font-size:41px}.composer textarea#brief{min-height:160px}.card-preview{height:195px}.editor-body{grid-template-columns:180px minmax(0,1fr) 340px}}
@media(max-width:1200px){.app-shell{grid-template-columns:190px minmax(0,1fr)}.shell-sidebar{padding-left:12px;padding-right:12px}.shell-sidebar .brand{margin-left:10px}.content{padding:32px 30px}.shell-top{padding:0 28px}.project-grid{gap:15px}.card-preview{height:148px}.project-meta{gap:6px;font-size:9px}.project-controls{gap:7px}.search-field input{width:120px}.project-toolbar{flex-wrap:wrap}.template-feature{grid-template-columns:1fr 1fr}.template-preview{height:270px}.template-info{padding:23px}.plan-layout{grid-template-columns:minmax(0,1fr) 230px;gap:18px}.plan-block{padding:19px}.plan-page-row{gap:8px}.page-path{width:75px;font-size:9px}.editor-body{grid-template-columns:142px minmax(0,1fr) 285px}.editor-top{padding:0 13px;gap:10px}.editor-identity{gap:9px}.editor-name{max-width:210px}.editor-actions{gap:6px}.editor-actions .button{padding:8px 10px}.panel-content{padding:18px 16px}.canvas-toolbar{padding:0 12px;gap:8px}.canvas-scroll{padding:20px 15px}.canvas-tabs button{padding:7px;font-size:10px}.review-body{grid-template-columns:minmax(0,1fr) 300px}}
@media(max-width:1023px){.app-shell{grid-template-columns:180px minmax(0,1fr)}.shell-sidebar{padding-left:10px;padding-right:10px}.brand-sub{font-size:9px}.content{padding:30px 25px}.shell-top{padding:0 22px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-grid .project-card:last-child:nth-child(3){display:block}.project-controls{flex:1;justify-content:flex-end}.template-feature{grid-template-columns:1fr}.template-preview{height:275px;border-right:0;border-bottom:1px solid var(--line)}.template-info{padding:24px}.plan-layout{grid-template-columns:1fr}.plan-summary{position:static;display:grid;grid-template-columns:1fr 190px;gap:20px;align-items:start}.plan-summary>.surface{display:grid;grid-template-columns:180px 1fr}.summary-head{grid-column:1/-1}.plan-template-preview{height:100%;min-height:170px;border-bottom:0;border-right:1px solid var(--line)}.summary-body{padding:17px}.summary-body .field{margin-bottom:14px}.summary-promise{padding-top:20px}.editor-body{grid-template-columns:120px minmax(0,1fr) 260px}.editor-name{max-width:150px}.editor-actions .segmented{display:none}.canvas-tabs button{padding:6px 5px}.canvas-tabs button .icon{display:none}.canvas-status span:last-child{display:none}.viewport-controls{gap:0}.zoom-select{width:60px}.panel-content{padding:16px 13px}.style-swatches{gap:7px}.review-title strong{max-width:240px}}
@media(max-width:767px){:root{font-size:14px}.mobile-only{display:inline-flex!important}.desktop-only{display:none!important}.app-shell{display:block}.shell-sidebar{display:none}.shell-top{height:61px;padding:0 16px}.breadcrumb{gap:8px;font-size:11px}.breadcrumb>.icon{width:7px}.top-actions{gap:7px}.top-actions .save-hint{font-size:9px}.top-actions .save-hint .icon{display:none}.top-actions .icon-button{width:31px;height:31px;padding:8px}.content{padding:28px 20px 32px}.start-intro{margin-bottom:22px}.start-intro h1{font-size:31px;margin-bottom:12px}.intro-mark{font-size:11px;margin-bottom:12px}.start-intro p{font-size:12px;line-height:1.9;max-width:340px}.composer-tabs{gap:20px;padding:0 16px}.composer-tabs button{font-size:11px;min-height:48px;padding:12px 0}.composer-tabs .icon{width:11px;height:11px}#brief{font-size:13px;min-height:158px;padding:17px 17px 10px}.composer-foot{padding:0 13px 14px;gap:8px}.composer-foot .button{font-size:11px;padding:10px 11px;gap:6px;min-height:42px}.composer-foot .button .icon{width:11px;height:11px}.composer-foot .button.ghost{padding-left:3px;padding-right:0;font-size:10px}.starter-row{gap:7px;margin-top:15px;margin-bottom:23px}.starter-row>span{width:100%;font-size:10px;margin-bottom:2px}.starter-chip{padding:8px 9px;font-size:10px;gap:6px}.starter-chip .icon{width:8px;height:8px}.flow-strip{gap:6px;font-size:9px;margin-bottom:28px;padding:5px 0}.flow-strip span{gap:4px}.flow-strip .icon{width:9px;height:9px}.flow-strip i{min-width:8px}.section-title{margin-bottom:15px}.section-title h2{font-size:16px}.section-title .text-link{font-size:11px}.project-grid{grid-template-columns:1fr;gap:17px}.card-preview{height:205px}.card-details{padding:14px 16px 17px}.project-title{font-size:14px}.project-meta{font-size:11px;gap:12px}.state-label{font-size:10px}.icon-button.small{width:36px;height:36px;padding:10px}.honesty-note{font-size:10px;margin-top:23px;gap:7px}.page-heading{align-items:flex-start;gap:12px;margin-bottom:25px}.page-heading h1{font-size:27px;margin-bottom:8px}.page-heading p{font-size:11px}.page-heading>.button{padding:10px;font-size:11px;gap:6px;min-height:42px}.project-toolbar{gap:15px;align-items:stretch}.project-controls{flex-wrap:wrap;width:100%;justify-content:flex-start;gap:9px}.search-field{flex:1}.search-field input{width:100%;font-size:12px}.input.compact{padding:8px;font-size:11px;min-height:38px}.view-switch{display:none}.segmented button{font-size:11px;padding:8px 12px;min-height:34px}.list-view .card-preview{width:130px;height:110px}.list-view .card-details{padding:12px}.list-view .project-meta{font-size:10px;gap:7px;flex-wrap:wrap}.list-view .project-title{font-size:13px}.template-preview{height:220px}.template-info{padding:22px}.template-info h2{font-size:22px}.template-info p{font-size:12px}.template-pages{font-size:10px}.template-list{gap:21px}.page-heading:has(+.template-list){display:block}.page-heading:has(+.template-list)>.button{margin-top:15px}.back-link{margin-bottom:20px;min-height:30px}.plan-title h1{font-size:29px}.plan-title p{font-size:12px}.step-line{font-size:9px;gap:9px;margin-bottom:15px}.step-line i{width:15px}.plan-block{padding:19px 17px}.plan-block h2{font-size:14px}.plan-block .small-muted{font-size:10px}.form-columns{grid-template-columns:1fr;gap:0}.plan-page-row{gap:8px}.page-path{display:none}.plan-page-row .input{font-size:12px}.plan-page-row .icon-button{width:33px;height:33px;padding:9px}.page-order{font-size:10px}.plan-summary{display:block}.plan-summary>.surface{grid-template-columns:130px minmax(0,1fr)}.summary-body{padding:14px}.summary-body .field{font-size:11px}.summary-body .input{font-size:11px;padding:8px}.summary-body .field-help{font-size:10px}.summary-promise{padding:14px 4px 0;font-size:10px}.radio-card{padding:13px 11px;gap:10px}.radio-card strong{font-size:11px;flex-wrap:wrap}.radio-card small{font-size:10px}.plan-footer{flex-direction:column-reverse;align-items:stretch;gap:14px}.plan-footer>.button{width:100%;min-height:47px}.plan-footer>span{font-size:10px;justify-content:center}.modal{width:calc(100vw - 26px);max-width:none;max-height:92dvh;border-radius:12px}.modal-head{padding:17px 18px 14px}.modal-head h2{font-size:17px}.modal-body{padding:20px 18px}.modal-foot{padding:15px 18px}.modal-actions .button{min-height:43px}.toast{bottom:17px;font-size:11px;padding:12px 15px}.editor{grid-template-rows:64px minmax(0,1fr)}.editor-top{padding:0 11px;gap:8px}.editor-back{width:32px;height:34px}.editor-identity{gap:8px;min-width:0;flex:1}.editor-name{font-size:12px;max-width:145px}.editor-save-state{font-size:9px}.editor-actions{gap:6px}.editor-actions>.icon-button,.editor-actions>.toolbar-divider,.editor-actions>.segmented{display:none}.editor-actions .button{min-height:36px;font-size:10px;padding:8px 10px;gap:5px}.editor-actions .button .icon{width:10px;height:10px}.editor-actions .save-version-top{display:none}.editor-body{display:flex;flex-direction:column;min-height:0;position:relative;padding-bottom:54px}.pages-panel{display:block;flex:none;padding:8px 12px;border-bottom:1px solid var(--line);border-right:0;overflow-x:auto;white-space:nowrap;height:53px}.rail-heading{display:none}.page-link{display:inline-flex;width:auto;font-size:10px;margin:0 2px 0 0;padding:8px 10px;max-width:150px;min-height:34px;vertical-align:top}.page-link .icon{width:10px;height:10px}.project-brief-link{display:none}.canvas-column{flex:1;min-height:0}.canvas-toolbar{height:45px;padding:0 11px;flex:none}.canvas-tabs{display:none}.mobile-editor-hint{display:block;font-size:10px;color:var(--muted)}.viewport-controls{margin-left:auto;gap:2px}.viewport-controls .icon-button{width:31px;height:31px;padding:8px}.viewport-controls .icon{width:13px;height:13px}.zoom-select{width:65px;font-size:10px}.canvas-scroll{padding:17px 12px 12px}.frame-chrome{height:27px;padding:0 9px;font-size:8px}.canvas-status{height:29px;padding:0 12px;font-size:9px}.editor-right{position:absolute;bottom:0;left:0;right:0;z-index:8;height:54px;overflow:hidden;border-left:0;border-top:1px solid var(--line-strong);background:var(--surface);box-shadow:0 -10px 35px #18202010}.editor-right.expanded{height:min(71dvh,650px);border-top-left-radius:12px;border-top-right-radius:12px}.panel-tabs{height:53px;min-height:53px;padding:0 10px;gap:5px}.panel-tabs button{font-size:11px;padding:0 8px}.panel-tabs .drawer-close{flex:none;width:35px;padding:8px;display:inline-flex!important;align-items:center;justify-content:center}.panel-content{padding:21px 22px}.panel-heading{font-size:15px}.panel-description,.selection-empty p{font-size:12px}.selection-empty strong{font-size:14px}.properties-form,.style-swatch-editor,.ai-box-edit{display:none}.panel-divider{margin:20px 0}.note-form .field{font-size:12px}.note-form .input{font-size:13px}.note-form textarea{min-height:90px}.note-item p{font-size:13px}.note-meta{font-size:10px}.version-label{font-size:13px}.version-actions .button{min-height:36px;font-size:11px}.event-item strong{font-size:12px}.event-item small{font-size:10px}.candidate-layout{grid-template-columns:1fr}.candidate-block textarea{height:200px}.review-root{grid-template-rows:63px minmax(0,1fr)}.review-top{padding:0 13px;gap:10px}.review-top .brand{display:none}.review-title{font-size:12px;gap:8px;min-width:0}.review-title strong{max-width:185px;font-size:12px}.review-title .tag{font-size:9px}.review-top .button{font-size:10px;padding:8px 10px;gap:5px;min-height:36px}.review-top .button .icon{width:10px;height:10px}.review-status-label{display:none}.review-body{display:flex;flex-direction:column;position:relative;padding-bottom:90px;min-height:0}.review-canvas{flex:1;min-height:0}.review-nav{height:47px;padding:0 10px;gap:3px}.review-nav button{font-size:11px;padding:8px 11px;min-height:35px}.review-side{position:absolute;bottom:0;left:0;right:0;height:90px;z-index:8;border-left:0;border-top:1px solid var(--line-strong);border-radius:12px 12px 0 0;box-shadow:0 -8px 30px #16203012}.review-side.expanded{height:75dvh;max-height:720px}.review-side-head{padding:15px 18px 16px;min-height:88px;align-items:flex-start}.review-side-head strong{font-size:14px}.review-side-head small{font-size:11px;margin-top:5px}.drawer-handle{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);background:var(--surface);border-radius:7px;min-height:37px;width:39px;color:var(--muted);padding:11px}.drawer-handle .icon{width:12px;height:12px}.review-side:not(.expanded) .review-thread,.review-side:not(.expanded) .review-comment-form{visibility:hidden}.review-side-head .drawer-handle{margin-top:1px}.review-thread{padding:18px;min-height:0}.review-comment-form{padding:16px 18px 19px}.review-comment-form .input{font-size:13px}.review-comment-form .field{font-size:12px}.review-comment-form .button{min-height:41px}.comment-card p{font-size:13px}.comment-head{font-size:12px}.comment-head small{font-size:10px}.review-form-footer span{font-size:10px}.comment-card .text-link{font-size:11px}}
@media(max-width:359px){.content{padding-left:16px;padding-right:16px}.start-intro h1{font-size:28px}.starter-chip{font-size:9px;padding:7px 8px}.flow-strip{font-size:8px}.flow-strip .icon{display:none}.composer-foot .button{font-size:10px}.composer-foot .button.ghost{font-size:9px}.editor-name{max-width:115px}.editor-actions .button{font-size:9px;padding:8px}.project-controls .input.compact{width:110px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}.project-card:hover{transform:none}.skeleton-line:after{width:100%;transform:none}}
@media print{.shell-sidebar,.shell-top,.editor-right,.pages-panel,.editor-actions{display:none}.app-shell{display:block}.content{max-width:none;padding:15px}}

.review-side:not(.expanded) .drawer-handle .icon{transform:rotate(180deg)}
