:root{color:#15171c;background:#fff;font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;--canvas: #ffffff;--sidebar: #f7f8fa;--selected: #eef4ff;--text: #15171c;--muted: #5f6672;--border: #d8dde6;--accent: #2563d9;--accent-hover: #1f57c5;--success: #16a34a;--focus: #1d4ed8;--radius-control: 8px;--radius-row: 10px;--radius-composer: 12px;--motion: .19s ease}*{box-sizing:border-box}html,body,#root{width:100%;min-width:320px;height:100%;margin:0}body{overflow:hidden;background:var(--canvas)}button,input,textarea{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--focus);outline-offset:2px}@media(prefers-reduced-motion:reduce){:root{--motion: 0ms}}.shell{height:100dvh;min-height:520px;background:var(--canvas)}.topbar{height:64px;display:flex;align-items:center;gap:20px;padding:0 24px 0 32px;border-bottom:1px solid var(--border);background:#fff;position:relative;z-index:30}.product-name{font-size:18px;line-height:24px;font-weight:650;letter-spacing:.01em}.connection-state{margin-left:auto;display:flex;align-items:center;gap:10px;color:var(--muted);font-size:14px;line-height:20px;white-space:nowrap}.connection-state>span{width:9px;height:9px;border-radius:50%;background:var(--success)}.profile-button,.icon-button{border:0;background:transparent;cursor:pointer}.profile-button{min-height:44px;padding:6px 0 6px 20px;border-left:1px solid var(--border);display:flex;align-items:center;gap:10px;color:#3e4550;font-size:14px;font-weight:500}.profile-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.profile-button svg:last-child{width:15px;height:15px;margin-left:1px}.sidebar-trigger{display:none;width:44px;height:44px;padding:10px;border:1px solid var(--border);border-radius:var(--radius-control)}.sidebar-trigger svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.shell-body{height:calc(100dvh - 64px);min-height:456px;display:flex}.sidebar{position:relative;flex:0 0 220px;width:220px;height:100%;padding:24px 16px;border-right:1px solid var(--border);background:var(--sidebar);z-index:20;overflow-y:auto;transition:transform var(--motion)}.new-task-button{width:100%;min-height:44px;border:0;border-radius:var(--radius-control);background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;gap:9px;font-size:14px;line-height:20px;font-weight:650;cursor:pointer}.new-task-button:hover{background:var(--accent-hover)}.task-platform-setup{margin-top:8px;padding:11px;border:1px solid #cfdcf7;border-radius:10px;background:#f8faff;display:grid;gap:8px}.task-platform-setup>strong{font-size:13px;line-height:18px}.task-platform-setup label{display:grid;gap:5px;color:#5d6674;font-size:11px;font-weight:600}.task-platform-setup select,.thread-platform-filter select{width:100%;height:36px;padding:0 8px;border:1px solid var(--border);border-radius:7px;background:#fff;color:var(--text);font-size:12px}.task-platform-setup p{margin:0;color:#687181;font-size:11px;line-height:16px}.task-platform-start{min-height:36px;border:0;border-radius:7px;background:var(--accent);color:#fff;cursor:pointer;font-size:12px;font-weight:650}.thread-platform-filter{margin-bottom:8px;display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:6px;color:#687181;font-size:11px;font-weight:600}.new-task-button svg,.thread-button svg,.publishing-nav-button svg{width:20px;height:20px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.publishing-nav-button{width:100%;min-height:44px;margin-top:8px;padding:8px 10px;border:1px solid var(--border);border-radius:var(--radius-row);background:#fff;display:flex;align-items:center;gap:10px;color:#373d47;cursor:pointer;font-size:13px;font-weight:600}.sidebar h2{margin:24px 8px 10px;font-size:13px;line-height:18px;font-weight:650}.thread-search{width:100%;height:38px;margin-bottom:10px;padding:0 10px;border:1px solid var(--border);border-radius:8px;background:#fff;display:flex;align-items:center;gap:7px;color:#7b8492}.thread-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px #2563d91f}.thread-search svg{width:17px;height:17px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.thread-search input{min-width:0;width:100%;height:100%;padding:0;border:0;outline:0;background:transparent;color:var(--text);font-size:13px}.thread-search input::placeholder{color:#8b929e}.thread-list{list-style:none;padding:0;margin:0;display:grid;gap:4px}.thread-item{position:relative}.thread-row{display:flex;align-items:center}.thread-button{position:relative;min-width:0;flex:1;min-height:50px;border:0;border-radius:var(--radius-row);background:transparent;display:flex;align-items:center;gap:10px;padding:7px 38px 7px 10px;text-align:left;cursor:pointer;color:#373d47;font-size:13px;line-height:18px;font-weight:500}.thread-label{min-width:0;display:grid;gap:1px}.thread-label>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.thread-label small{color:#8b929e;font-size:11px;line-height:15px;font-weight:400}.thread-empty{padding:18px 8px;color:#8b929e;text-align:center;font-size:12px}.thread-button:hover{background:#f0f2f5}.thread-button[aria-current=page]{color:var(--text);background:var(--selected);font-weight:650}.thread-button[aria-current=page]:before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:3px;border-radius:2px;background:var(--accent)}.thread-more-button{position:absolute;right:4px;top:6px;width:32px;height:32px;border:0;border-radius:7px;background:transparent;color:#687181;display:grid;place-items:center;cursor:pointer}.thread-more-button:hover,.thread-more-button[aria-expanded=true]{background:#e5e9ef;color:var(--text)}.thread-more-button svg{width:18px;height:18px;fill:currentColor}.thread-action-menu{margin:2px 0 6px 28px;padding:4px;border:1px solid var(--border);border-radius:8px;background:#fff;box-shadow:0 6px 18px #0f172a17}.thread-action-menu button{width:100%;min-height:36px;padding:7px 9px;border:0;border-radius:6px;background:transparent;color:#b42318;text-align:left;font-size:13px;font-weight:600;cursor:pointer}.thread-action-menu button:hover{background:#fff3f2}.thread-archive-confirm{margin:2px 0 8px;padding:10px;border:1px solid #f0c5c1;border-radius:9px;background:snow}.thread-archive-confirm p{margin:0;color:#5d3740;font-size:12px;line-height:18px;overflow-wrap:anywhere}.thread-archive-confirm .thread-archive-error{margin-top:5px;color:#b42318}.thread-archive-confirm>div{margin-top:8px;display:flex;justify-content:flex-end;gap:6px}.thread-archive-confirm button{min-height:32px;padding:5px 9px;border:1px solid var(--border);border-radius:7px;background:#fff;color:#4a515d;font-size:12px;font-weight:600;cursor:pointer}.thread-archive-confirm .thread-archive-submit{border-color:#c7362d;background:#c7362d;color:#fff}.thread-archive-confirm button:disabled{opacity:.6;cursor:default}.sidebar-backdrop{display:none;position:fixed;inset:64px 0 0;z-index:15;border:0;padding:0;background:#0f172a47;opacity:0;pointer-events:none;transition:opacity var(--motion)}.main-region{position:relative;min-width:0;flex:1;background:#fff;display:flex;justify-content:center;overflow:hidden}.surface-layer{width:100%;min-width:0;height:100%;display:flex;justify-content:center}.surface-layer[hidden]{display:none}.thread-view{width:100%;min-width:0;height:100%;position:relative;display:flex;justify-content:center}.empty-state{width:min(820px,calc(100% - 64px));margin:auto;padding:20px 0 156px;text-align:center}.empty-document-icon{width:112px;height:112px;fill:#fff;stroke:#737b88;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.empty-state h1{margin:24px 0 10px;color:var(--text);font-size:clamp(30px,2.3vw,34px);line-height:1.25;font-weight:650;letter-spacing:-.015em}.empty-state p{margin:0;color:var(--muted);font-size:16px;line-height:26px}.selected-task-platform{width:min(460px,100%);margin:24px auto 0;padding:14px 18px;border:1px solid #cfdcf7;border-radius:12px;background:#f8faff;display:grid;gap:4px}.selected-task-platform strong{color:var(--accent);font-size:15px;line-height:22px}.selected-task-platform span{color:var(--muted);font-size:13px;line-height:20px}.creation-mode-panel{width:min(620px,100%);margin:16px auto 0;display:grid;gap:10px;text-align:left}.creation-mode-panel>strong{color:#373d47;font-size:13px;line-height:20px;text-align:center}.creation-mode-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.creation-mode-options button{min-height:82px;padding:13px 15px;border:1px solid var(--border);border-radius:12px;background:#fff;color:var(--text);display:grid;align-content:center;gap:5px;text-align:left;cursor:pointer}.creation-mode-options button:hover{border-color:#9eb8ea;background:#f8faff}.creation-mode-options button[aria-pressed=true]{border-color:var(--accent);background:#eef4ff;box-shadow:0 0 0 2px #2563d91a}.creation-mode-options button:disabled{opacity:.55;cursor:default}.creation-mode-options span{color:var(--accent);font-size:14px;line-height:20px;font-weight:700}.creation-mode-options small{color:var(--muted);font-size:12px;line-height:18px}.suggestions{display:flex;justify-content:center;gap:16px;margin-top:30px}.suggestions button{min-width:188px;min-height:50px;padding:10px 16px;border:1px solid var(--accent);border-radius:var(--radius-control);background:#fff;color:var(--accent);display:flex;align-items:center;gap:10px;cursor:pointer;font-size:14px;line-height:20px;font-weight:600}.suggestions button:hover{background:#f7faff}.suggestions svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.suggestions svg:last-child{display:none;margin-left:auto}.composer-area{position:absolute;left:24px;right:24px;bottom:24px;max-width:820px;margin:0 auto;z-index:5}.composer{position:relative;width:100%;min-height:80px;margin:0;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius-composer);background:#fff;display:flex;align-items:center;gap:14px;box-shadow:0 5px 18px #0f172a0a}.composer[data-focused=true]{border-color:var(--accent);box-shadow:0 0 0 3px #2563d929,0 5px 18px #0f172a0a}.attachment-button{min-height:44px;padding:0 14px 0 2px;border:0;border-right:1px solid var(--border);background:#fff;display:flex;align-items:center;gap:9px;white-space:nowrap;cursor:pointer;font-size:14px;line-height:20px;font-weight:500}.attachment-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.attachment-button:focus-within{outline:2px solid var(--focus);outline-offset:2px;border-radius:6px}.composer textarea{min-width:0;flex:1;height:44px;max-height:320px;resize:none;padding:10px 4px;border:0;outline:0;color:var(--text);background:#fff;font-size:15px;line-height:22px}.composer textarea::placeholder{color:#8b929e;opacity:1}.composer textarea:focus-visible{outline:0}.send-button{width:44px;height:44px;flex:0 0 auto;border:0;border-radius:var(--radius-control);background:var(--accent);color:#fff;display:grid;place-items:center;cursor:pointer}.send-button:disabled{cursor:default}.send-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.stop-button{min-width:56px;height:40px;border:1px solid #f1b4b4;border-radius:var(--radius-control);background:#fff7f7;color:#b42318;font-size:13px;font-weight:600;cursor:pointer}.connection-banner,.queue-banner{width:fit-content;margin:0 0 8px auto;padding:6px 10px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--muted);font-size:13px;line-height:18px}.connection-banner{border-color:#f1c4c0;color:#9f2d24}.start-error-banner{width:fit-content;margin:0 0 8px auto;padding:7px 10px;border:1px solid #f1c4c0;border-radius:8px;background:#fff;color:#9f2d24;display:flex;align-items:center;gap:10px;font-size:13px;line-height:18px}.start-error-banner button{border:0;padding:0;background:transparent;color:var(--accent);font:inherit;font-weight:650;cursor:pointer}.attachment-list{list-style:none;margin:0 0 8px;padding:8px 10px;border:1px solid var(--border);border-radius:10px;background:#fff;display:grid;gap:6px;max-height:min(320px,35dvh);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;align-content:start}.attachment-list:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.composer-area:has(.attachment-list) .composer textarea{max-height:min(320px,30dvh)}.attachment-list li{width:max-content;min-width:100%;min-height:30px;display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px}.attachment-preview{width:52px;height:52px;flex:0 0 auto;border:1px solid var(--border);border-radius:8px;background:#f5f7fa;object-fit:cover}.attachment-list li>span:first-of-type{min-width:max-content;flex:1 0 auto;white-space:nowrap;color:var(--text)}.attachment-list button{border:0;background:transparent;color:var(--accent);cursor:pointer;font-size:13px}.composer-help{margin:0 0 6px 2px;color:#7b8492;font-size:12px;line-height:18px}.video-import-toggle{font:inherit}.video-import-panel{margin:0 0 8px;padding:12px 14px;border:1px solid #cfdcf7;border-radius:10px;background:#f8faff;display:grid;gap:8px;color:var(--text);font-size:13px}.video-import-panel>label:first-child{font-weight:650}.video-import-row{display:flex;gap:8px}.video-import-row input{min-width:0;flex:1;height:38px;padding:0 10px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);font:inherit}.video-import-row button{min-width:96px;height:38px;padding:0 12px;border:0;border-radius:8px;background:var(--accent);color:#fff;cursor:pointer;font:inherit;font-weight:650}.video-import-row button:disabled{opacity:.5;cursor:default}.video-auth-confirm{display:flex;align-items:center;gap:8px;color:var(--muted)}.video-output-options{margin:0;padding:9px 10px;border:1px solid var(--border);border-radius:8px;display:grid;gap:7px}.video-output-options legend{padding:0 4px;color:var(--text);font-weight:650}.video-output-options label{display:flex;align-items:flex-start;gap:8px;color:var(--muted);line-height:18px;cursor:pointer}.video-output-options input{margin-top:2px}.motion-plan-badge{flex:0 0 auto;padding:2px 7px;border-radius:999px;background:#edf4ff;color:#2456a6;font-size:12px;font-weight:650}.video-import-panel p{margin:0;color:var(--muted);line-height:18px}.video-import-panel [role=alert]{color:#b42318}.transcript{width:min(820px,calc(100% - 48px));height:100%;overflow-y:auto;padding:40px 0 170px;scrollbar-gutter:stable}.message{display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;margin:0 0 28px;align-items:start}.message-marker{width:28px;height:28px;border-radius:8px;background:#eef4ff;color:var(--accent);display:grid;place-items:center;font-size:12px;font-weight:700}.message-user .message-marker{background:#f0f2f5;color:#4b5563}.message p{margin:2px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text);font-size:15px;line-height:1.75}.status-item{min-height:32px;margin:-10px 0 18px 44px;display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;line-height:20px}.status-item>span{width:8px;height:8px;border-radius:50%;background:#8b929e}.status-success>span{background:var(--success)}.status-danger{color:#b42318}.status-danger>span{background:#dc2626}.status-warning>span{background:#d97706}.request-card{margin:0 0 24px 44px;padding:16px;border:1px solid var(--border);border-radius:12px;background:#fbfcfe}.request-card h3{margin:0 0 8px;font-size:15px;line-height:22px;font-weight:650}.request-card p{margin:0 0 10px;color:var(--muted);font-size:13px;line-height:20px}.request-card pre{margin:0 0 14px;padding:10px 12px;border:1px solid #e3e7ee;border-radius:8px;background:#fff;white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace}.request-actions{display:flex;flex-wrap:wrap;gap:8px}.request-actions button,.primary-request-action{min-height:40px;padding:0 14px;border:1px solid var(--border);border-radius:8px;background:#fff;cursor:pointer;color:#373d47;font-size:13px;font-weight:600}.request-actions button:first-child,.primary-request-action{border-color:var(--accent);background:var(--accent);color:#fff}.request-actions button:disabled,.primary-request-action:disabled{opacity:.55;cursor:default}.question-card fieldset{margin:0 0 18px;padding:0;border:0}.question-card legend{width:100%;margin:0 0 10px;font-size:14px;line-height:22px}.question-card legend span{display:block;color:var(--muted);font-size:12px;font-weight:600}.question-card fieldset>label{min-height:44px;padding:8px 10px;border:1px solid var(--border);border-radius:8px;display:flex;gap:10px;align-items:center;margin-top:8px;background:#fff;cursor:pointer}.question-card label span{display:grid;gap:2px}.question-card label strong{font-size:13px;line-height:18px}.question-card label small{color:var(--muted);font-size:12px;line-height:17px}.question-card fieldset>input{width:100%;height:42px;margin-top:8px;padding:0 10px;border:1px solid var(--border);border-radius:8px}.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.login-page{min-height:100dvh;display:grid;place-items:center;padding:24px;background:#fff}.login-form{width:min(360px,100%);display:grid;gap:12px}.login-form h1{margin:0 0 20px;text-align:center;font-size:26px;line-height:34px;font-weight:650}.login-form label{font-size:14px;line-height:20px;font-weight:600}.login-form input{height:44px;border:1px solid var(--border);border-radius:var(--radius-control);padding:0 12px;font-size:16px}.login-form input[aria-invalid=true]{border-color:#dc2626}.login-form p{margin:0;color:#b91c1c;font-size:13px;line-height:20px}.login-form button{height:44px;margin-top:4px;border:0;border-radius:var(--radius-control);background:var(--accent);color:#fff;font-size:14px;line-height:20px;font-weight:650;cursor:pointer}.login-form button:disabled{opacity:.55;cursor:default}.codex-connect{text-align:center}.codex-connect .connect-help{color:var(--muted)}.codex-connect .connect-link{display:grid;place-items:center;min-height:44px;border-radius:var(--radius-control);background:var(--accent);color:#fff;text-decoration:none;font-weight:650}.codex-connect .device-code{padding:14px;border:1px solid var(--border);border-radius:var(--radius-control);font:700 24px/1.2 ui-monospace,monospace;letter-spacing:.08em;-webkit-user-select:all;user-select:all}.app-loading{width:24px;height:24px;margin:calc(50vh - 12px) auto;border:2px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}.app-error{min-height:100dvh;display:grid;place-items:center;color:var(--muted);font-size:15px}.publishing-overlay{position:fixed;inset:0;z-index:100;padding:24px;display:grid;place-items:center;background:#0f172a4d}.publishing-dialog{position:relative;width:min(920px,100%);max-height:min(820px,calc(100dvh - 48px));overflow:auto;border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:0 24px 64px #0f172a2e}.publishing-panel-header,.workspace-header{padding:24px 28px;display:flex;align-items:flex-start;justify-content:space-between;gap:24px;border-bottom:1px solid var(--border)}.publishing-panel-header h1,.workspace-header h1{margin:0;font-size:22px;line-height:30px}.publishing-panel-header p,.workspace-header p{margin:4px 0 0;color:var(--muted);font-size:13px;line-height:20px}.quiet-button,.row-actions button,.form-actions>button,.unknown-resolution button{min-height:36px;padding:0 12px;border:1px solid var(--border);border-radius:8px;background:#fff;cursor:pointer;font-size:13px;font-weight:600}.primary-button{min-height:38px;padding:0 14px;border:0;border-radius:8px;background:var(--accent);color:#fff;cursor:pointer;font-size:13px;font-weight:650}.primary-button:disabled{opacity:.55;cursor:default}.publishing-toolbar{min-height:62px;padding:12px 28px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:13px}.publishing-notice{margin:0 28px 12px;padding:9px 12px;border-radius:8px;background:#eef4ff;color:#244b94;font-size:13px}.publishing-error{margin:0 28px 12px;padding:9px 12px;border-radius:8px;background:#fff1f0;color:#9f2d24;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.publishing-error button{min-height:32px;padding:0 10px;border:1px solid #e3a29b;border-radius:7px;background:#fff;color:inherit;cursor:pointer;font-weight:650}.profile-list{padding:0 28px 28px;display:grid;gap:10px}.profile-row{position:relative;min-width:0;padding:16px;border:1px solid var(--border);border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:20px}.profile-summary{min-width:0}.profile-title-line{display:flex;align-items:center;gap:9px}.profile-title-line h2{min-width:0;margin:0;overflow-wrap:anywhere;font-size:15px;line-height:22px}.profile-title-line span,.job-state{padding:3px 7px;border-radius:999px;background:#eef4ff;color:#2451a4;font-size:11px;font-weight:650;white-space:nowrap}.profile-summary p{margin:4px 0;color:var(--muted);font-size:12px}.profile-summary code{font:13px/18px ui-monospace,SFMono-Regular,Consolas,monospace}.row-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.row-actions .danger-text{color:#b42318}.delete-confirm{position:absolute;inset:0;padding:14px 16px;border-radius:10px;background:#fffffff7;display:flex;align-items:center;justify-content:flex-end;gap:8px;font-size:13px}.delete-confirm span{margin-right:auto;font-weight:600}.delete-confirm button:first-of-type{border-color:#dc2626;background:#dc2626;color:#fff}.form-shade{position:absolute;inset:0;padding:24px;border-radius:inherit;background:#0f172a42;display:grid;place-items:center}.profile-form{width:min(480px,100%);max-height:100%;overflow:auto;padding:24px;border-radius:12px;background:#fff;display:grid;gap:14px;box-shadow:0 18px 50px #0f172a2e}.profile-form h2{margin:0 0 4px;font-size:19px}.profile-form label{display:grid;gap:6px;font-size:13px;font-weight:600}.profile-form input,.profile-form select,.profile-picker select{width:100%;min-width:0;height:42px;padding:0 10px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text)}.field-hint{margin:-8px 0 0;color:var(--muted);font-size:12px}.form-error{margin:0;color:#b42318;font-size:13px}.form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.publishing-empty{margin:20px 0;color:var(--muted);font-size:13px;text-align:center}.publishing-workspace{width:100%;height:100%;min-width:0;overflow:auto;background:#fff}.account-workspace{position:relative;width:100%;height:100%;min-width:0;overflow:auto;background:#fff}.account-toolbar{padding:18px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px}.account-toolbar p{margin:0;color:var(--muted);font-size:13px}.account-list{padding:0 28px 32px;display:grid;gap:10px}.account-row{padding:16px;border:1px solid var(--border);border-radius:10px;display:grid;grid-template-columns:minmax(170px,1.4fr) minmax(260px,1fr) auto;align-items:center;gap:20px}.account-row h2{margin:0;font-size:15px}.account-row p{margin:4px 0 0;color:var(--muted);font-size:12px}.account-row dl{margin:0;display:grid;grid-template-columns:repeat(3,minmax(70px,1fr));gap:10px}.account-row dt{color:var(--muted);font-size:11px}.account-row dd{margin:3px 0 0;font-size:12px;font-weight:650}.account-next-step{color:var(--muted);font-size:12px;white-space:nowrap}@media(max-width:760px){.account-row{grid-template-columns:1fr}.account-row dl{grid-template-columns:repeat(3,1fr)}}.publishing-layout{min-width:0;height:calc(100% - 99px);display:grid;grid-template-columns:minmax(220px,300px) minmax(0,1fr)}.shopline-toolbar{padding:0 28px 12px;display:flex;justify-content:flex-start}.shopline-toolbar button{min-height:36px;padding:0 12px;border:1px solid var(--border);border-radius:8px;background:#fff;cursor:pointer}.shopline-publishing-layout{height:auto;min-height:calc(100% - 140px)}.package-list{min-width:0;padding:18px 14px;border-right:1px solid var(--border);background:#fafbfc;overflow-y:auto}.package-list button{width:100%;min-width:0;padding:12px;border:0;border-radius:9px;background:transparent;display:grid;gap:3px;text-align:left;cursor:pointer}.package-list button[aria-current=page]{background:var(--selected)}.package-list strong,.package-list span{overflow:hidden;text-overflow:ellipsis}.package-list strong{overflow-wrap:anywhere;font-size:13px}.package-list .package-product-title{color:#334155;font-size:12px;font-weight:600}.package-list span{white-space:nowrap}.package-list span{color:var(--muted);font-size:12px}.package-list .package-state{width:fit-content;margin-top:3px;padding:2px 7px;border-radius:999px;font-size:11px;font-weight:700}.package-list .package-state-published{background:#eaf8ee;color:#18733a}.package-list .package-state-pending{background:#fff4df;color:#9a5b09}.package-list .package-state-unpublished{background:#eef1f5;color:#596579}.package-list .package-state-repair{background:#fff1f0;color:#b42318}.package-review{min-width:0;padding:32px;overflow-y:auto}.package-repair{max-width:720px;padding:24px;border:1px solid #efb4ae;border-radius:12px;background:#fff8f7;color:#7a271a}.package-repair h2{margin:0 0 8px;color:#1c2434}.package-repair>strong{display:block;margin-top:20px;font-size:18px}.review-placeholder{max-width:440px;margin:18vh auto 0;text-align:center}.review-placeholder h2{margin:0;font-size:20px}.review-placeholder p{color:var(--muted)}.review-title{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.review-title h2{margin:0;overflow-wrap:anywhere;font-size:22px}.review-title p{margin:6px 0 0;color:var(--muted);font:12px/18px ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}.state-succeeded,.state-confirmed-created{background:#eaf8ee;color:#18733a}.state-unknown{background:#fff4df;color:#9a5b09}.review-grid{margin:28px 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.review-grid div{min-width:0;padding:14px;border:1px solid var(--border);border-radius:9px}.review-grid dt{color:var(--muted);font-size:12px}.review-grid dd{margin:5px 0 0;overflow-wrap:anywhere;font-size:14px;font-weight:650}.shopline-review-grid{margin-bottom:14px}.shopline-id-grid{max-width:960px;margin:0 0 24px;padding:16px 18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;border:1px solid var(--border);border-radius:10px;background:#fafbfc}.shopline-id-grid div{min-width:0}.shopline-id-grid dt{color:var(--muted);font-size:12px}.shopline-id-grid dd{margin:4px 0 0;overflow-wrap:anywhere;font:12px/18px ui-monospace,SFMono-Regular,Consolas,monospace}.shopline-variants{max-width:960px;margin:0 0 24px;padding:18px;border:1px solid var(--border);border-radius:10px}.shopline-variants h3{margin:0 0 12px;font-size:16px}.shopline-variants ul{margin:0;padding:0;display:grid;gap:8px;list-style:none}.shopline-variants li{padding:10px 12px;display:grid;grid-template-columns:minmax(120px,1fr) minmax(120px,1fr) auto;gap:12px;border-radius:8px;background:#f8fafc;font-size:12px}.shopline-publish-controls{max-width:960px;margin-top:8px;padding:18px;border-top:1px solid var(--border)}.shopline-publish-controls>button{margin-top:12px}.shopline-confirm{margin-top:18px;padding:16px;border:1px solid #b8cdf7;border-radius:10px;background:#f5f8ff}.shopline-confirm h3{margin:0;font-size:16px}.shopline-confirm label{margin:12px 0;display:flex;align-items:center;gap:8px;font-size:13px}.media-preview{max-width:960px;margin:0 0 24px;padding:18px;border:1px solid var(--border);border-radius:10px;background:#fafbfc}.media-preview>p{margin:10px 0 0;color:var(--muted);font-size:13px}.media-preview-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.media-preview-heading h3,.media-preview-group h4{margin:0}.media-preview-heading h3{font-size:16px}.media-preview-heading span{color:var(--muted);font-size:12px}.media-preview-group{margin-top:16px}.media-preview-group h4{margin-bottom:9px;font-size:13px}.media-preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:10px}.media-preview-grid button{aspect-ratio:1;min-width:0;padding:0;overflow:hidden;border:1px solid var(--border);border-radius:9px;background:#fff;cursor:zoom-in}.media-preview-grid img{width:100%;height:100%;display:block;object-fit:cover}.shopline-publishing-layout .media-preview-grid button{display:grid;grid-template-rows:minmax(0,1fr) auto}.shopline-publishing-layout .media-preview-grid button small{padding:5px 6px;overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.media-lightbox{position:fixed;inset:0;z-index:250;padding:40px;display:grid;place-items:center;background:#0f172ac7}.media-lightbox>button{position:fixed;top:18px;right:22px;width:42px;height:42px;border:0;border-radius:50%;background:#fff;color:#111827;cursor:pointer;font-size:28px;line-height:1}.media-lightbox>img{max-width:min(1080px,92vw);max-height:88vh;border-radius:10px;background:#fff;box-shadow:0 24px 80px #00000059;object-fit:contain}.profile-picker{max-width:420px;display:grid;gap:7px;font-size:13px;font-weight:650}.profile-revision{margin:8px 0 20px;color:var(--muted);font-size:12px}.confirm-publish{min-width:112px}.unknown-resolution{max-width:620px;padding:18px;border:1px solid #efc77e;border-radius:10px;background:#fffbf3}.unknown-resolution h3{margin:0;font-size:16px}.unknown-resolution p{color:#6b5733;font-size:13px;line-height:20px}.unknown-resolution label{margin-top:14px;display:grid;gap:6px;color:#4d4434;font-size:12px;font-weight:650}.unknown-resolution input{width:100%;height:40px;padding:0 10px;border:1px solid #d9bf8d;border-radius:8px;background:#fff}.product-id-lock{max-width:720px;margin:12px 0 18px;padding:16px 18px;border:1px solid #b8cdf7;border-radius:10px;background:#f5f8ff}.product-id-lock h3{margin:0;font-size:15px}.product-id-lock p{margin:5px 0 0;font-size:12px;color:#52627c}.locked-product-id{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.locked-product-id span{padding:2px 7px;border-radius:999px;background:#e5f7ea;color:#18733a;font-weight:700}.locked-product-id strong{color:#172554;font-size:14px}.product-lock-controls{margin-top:12px;display:flex;flex-wrap:wrap;gap:8px}.product-lock-controls input{min-width:240px;height:38px;padding:0 10px;border:1px solid #9db8ee;border-radius:8px;background:#fff}.product-lock-controls button{min-height:38px;padding:0 12px;border:1px solid #9db8ee;border-radius:8px;background:#fff;color:#174ea6;cursor:pointer;font-weight:650}.unknown-resolution div{margin-top:14px;display:flex;flex-wrap:wrap;gap:8px}.resolution-complete{color:var(--success);font-size:14px;font-weight:650}.publishing-progress{color:var(--muted);font-size:13px}.repair-progress{max-width:620px;margin:14px 0;padding:12px 14px;border:1px solid #edc47b;border-radius:9px;background:#fffdf7}.repair-progress>div:first-child{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;color:#664b1f;font-size:12px}.repair-progress-track{height:8px;margin:10px 0 8px;overflow:hidden;border-radius:999px;background:#f4e5c8}.repair-progress-track span{display:block;width:38%;height:100%;border-radius:inherit;background:#df8b21;animation:repair-progress-slide 1.4s ease-in-out infinite alternate}.repair-progress small{color:#735b35;font-size:11px}.publish-success{max-width:720px;margin-top:24px;padding:18px;border:1px solid #b9dfc4;border-radius:10px;background:#f3fbf5}.publish-history{max-width:720px;margin-top:24px;padding:18px;border:1px solid var(--border);border-radius:10px;background:#fff}.publish-history h3{margin:0;font-size:16px}.publish-history>p{margin:12px 0 0;color:var(--muted);font-size:13px}.publish-history ul{margin:12px 0 0;padding:0;list-style:none;display:grid;gap:8px}.publish-history li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;font-size:12px}.publish-history li strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.publish-history time{color:var(--muted);white-space:nowrap}.history-state{padding:3px 7px;border-radius:999px;background:#eef1f5;color:#596579;font-size:11px;font-weight:700;white-space:nowrap}.publish-success h3,.publish-warnings h4{margin:0;font-size:16px}.publish-success dl{margin:14px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.publish-success dl div{min-width:0}.publish-success dt{color:var(--muted);font-size:12px}.publish-success dd{margin:4px 0 0;overflow-wrap:anywhere;font-size:13px;font-weight:650}.publish-success-links{display:flex;flex-wrap:wrap;gap:12px}.publish-success-links a{color:var(--accent);font-size:13px;font-weight:650}.publish-warnings{margin-top:14px}.publish-warnings h4{font-size:13px}.publish-warnings ul{margin:6px 0 0;padding-left:20px;color:#6b5733;font-size:12px;overflow-wrap:anywhere}@keyframes spin{to{transform:rotate(360deg)}}@keyframes repair-progress-slide{0%{transform:translate(-15%)}to{transform:translate(180%)}}@media(max-width:1439px){.sidebar{flex-basis:180px;width:180px;padding-inline:12px}.topbar{padding-left:24px}}@media(max-width:1023px){.topbar{height:72px;padding:0 18px}.shell-body{height:calc(100dvh - 72px);min-height:448px}.sidebar-trigger{display:grid;place-items:center}.product-name{position:absolute;left:50%;transform:translate(-50%);white-space:nowrap}.profile-button{min-width:44px;padding-left:12px}.profile-button span,.profile-button svg:last-child{display:none}.connection-state{margin-left:auto}.sidebar{position:fixed;inset:72px auto 0 0;width:min(300px,calc(100vw - 56px));height:auto;transform:translate(-100%);box-shadow:8px 0 24px #0f172a14}.sidebar[data-open=true]{transform:translate(0)}.sidebar-backdrop{display:block;top:72px}.sidebar-backdrop[data-open=true]{opacity:1;pointer-events:auto}.empty-state{width:min(680px,calc(100% - 48px));padding-bottom:150px}.composer-area{left:20px;right:20px;bottom:20px}}@media(max-width:768px){.publishing-overlay{padding:0}.publishing-dialog{width:100%;height:100dvh;max-height:none;border:0;border-radius:0}.publishing-panel-header,.workspace-header{padding:18px 16px}.publishing-toolbar{padding-inline:16px}.profile-list{padding:0 16px 24px}.profile-row{align-items:flex-start;flex-direction:column;gap:12px}.row-actions{justify-content:flex-start}.publishing-layout{height:auto;min-height:calc(100% - 91px);grid-template-columns:1fr}.package-list{max-height:220px;border-right:0;border-bottom:1px solid var(--border)}.package-review{padding:22px 16px 32px}.review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shopline-toolbar{padding-inline:16px}.shopline-id-grid{grid-template-columns:1fr}.shopline-variants li{grid-template-columns:1fr;gap:4px}.media-preview{padding:14px}.media-preview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.media-lightbox{padding:20px}}@media(max-width:390px){.topbar{gap:8px}.profile-button{padding-left:8px;border-left:0}.publishing-panel-header h1,.workspace-header h1{font-size:19px}.publishing-panel-header p,.workspace-header p{display:none}.form-shade{padding:8px}.profile-form{padding:18px 14px}.delete-confirm{align-items:flex-start;flex-wrap:wrap}.delete-confirm span{flex-basis:100%}.review-title{align-items:flex-start}.review-grid{grid-template-columns:1fr}}@media(max-width:768px){.topbar{padding:0 12px;gap:12px}.product-name{font-size:17px}.connection-state{gap:8px;font-size:13px}.empty-state{width:calc(100% - 40px);padding:8px 0 164px}.empty-document-icon{width:96px;height:96px}.empty-state h1{margin-top:20px;font-size:28px}.empty-state p{font-size:15px;line-height:24px}.creation-mode-options{grid-template-columns:minmax(0,1fr)}.creation-mode-options button{min-height:70px}.suggestions{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:26px auto 0;width:min(100%,460px)}.suggestions button{width:100%;min-width:0;min-height:52px}.suggestions svg:last-child{display:block}.composer-area{left:12px;right:12px;bottom:12px}.composer{min-height:72px;padding:9px 10px;gap:8px}.composer textarea{font-size:15px}.transcript{width:calc(100% - 32px);padding-top:28px}.request-card,.status-item{margin-left:40px}}@media(max-width:520px){.product-name{font-size:15px}.connection-state{font-size:0}.connection-state>span{width:10px;height:10px}.empty-state h1{font-size:26px}.attachment-button{width:44px;padding:0 10px 0 5px;font-size:0}.attachment-button svg{width:23px;height:23px}.stop-button{min-width:48px;padding:0 8px}.request-card{margin-left:0}}@media(prefers-reduced-motion:reduce){.repair-progress-track span{width:100%;animation:none;opacity:.7}.app-loading{animation:none}}
