.template-toolbar{gap:12px;padding:22px 26px;display:flex}.template-toolbar input{flex:1;min-width:0;padding:12px}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:0 26px 26px;display:grid}.template-card{background:var(--surface-muted);border:1px solid var(--border);border-radius:16px;min-width:0;padding:20px}.template-card small{color:var(--accent)}.template-card h3{overflow-wrap:anywhere;margin:12px 0}.template-card p{white-space:pre-wrap;-webkit-line-clamp:4;color:var(--text-secondary);-webkit-box-orient:vertical;min-height:70px;line-height:1.7;display:-webkit-box;overflow:hidden}.template-empty{text-align:center;color:var(--text-secondary);padding:50px}.template-editor,.template-detail{gap:16px;display:grid}.template-editor label,.template-detail label{gap:7px;display:grid}.template-editor input,.template-editor textarea,.template-editor select,.template-detail input,.template-detail select{width:100%;padding:10px}.template-detail pre{white-space:pre-wrap;background:var(--surface-muted);max-height:280px;font:inherit;border-radius:12px;padding:14px;line-height:1.7;overflow:auto}.template-editor p,.template-detail p{color:var(--text-secondary);font-size:12px;line-height:1.7}.template-save-row{margin:10px 0}.assistant-run-status{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.assistant-history{max-width:220px;padding:8px}.assistant-step-result{white-space:pre-wrap;background:var(--surface);border-radius:9px;max-height:200px;padding:12px;font-size:13px;line-height:1.8;overflow:auto}.assistant-step-result video,.assistant-step-result img,.assistant-step-result audio{object-fit:contain;width:100%;max-width:100%;max-height:220px}.assistant-plan .plan-step{align-items:flex-start}.assistant-plan .plan-step>div{min-width:0}.assistant-plan .plan-step select{max-width:100%;padding:7px}.assistant-plan .plan-step textarea{min-height:72px}.assistant-status-note{color:var(--text-secondary);font-size:12px}.assistant-composer .composer-actions{flex-wrap:wrap}.assistant-composer .composer-actions>span{font-size:12px}.assistant-reply{white-space:pre-wrap;margin:15px 0;line-height:1.8}.assistant-step-actions{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}@media (width<=700px){.template-grid{grid-template-columns:1fr;padding:16px}.template-toolbar{padding:16px}.assistant-history{max-width:100%}}.video-preview{border-radius:inherit;background:#101820;justify-content:center;align-items:center;width:100%;min-width:0;display:flex;position:relative;overflow:hidden}.video-preview video{width:100%;max-height:inherit;object-fit:contain;display:block}.video-preview-launch{aspect-ratio:16/9;color:#fff;cursor:pointer;background:#101820;border:0;justify-content:center;align-items:center;width:100%;min-height:120px;padding:0;display:flex;position:relative;overflow:hidden}.video-preview-launch img{object-fit:contain;width:100%;height:100%;display:block;position:absolute;inset:0}.video-play-button{background:#122c4c99;border:1px solid #ffffff80;border-radius:50%;place-items:center;width:48px;height:48px;transition:transform .15s;display:grid;position:relative;box-shadow:0 2px 14px #0003}.video-preview-launch:hover .video-play-button{transform:scale(1.08)}.video-cover-placeholder{opacity:.3;position:absolute;transform:translateY(-42px)}.video-preview-error{font-size:12px;position:absolute;bottom:12px}.task-preview-content>.video-preview{max-height:calc(100dvh - 230px)}.generator-preview>.video-preview{height:100%;max-height:100%}.generator-preview .video-preview-launch{aspect-ratio:auto;height:100%}.queue-video.video-preview video{aspect-ratio:16/10}.generator-candidate>svg{width:100%;height:100%;min-height:55px;color:var(--text-secondary);padding:16px}@media (prefers-reduced-motion:reduce){.video-play-button{transition:none}}.generator-page{height:100%;min-height:0;color:var(--text-primary,#18263b);flex-direction:column;gap:12px;display:flex}.video-workspace .video-generator .generator-settings-scroll{padding:22px 24px 16px}.video-workspace .video-generator .generator-field textarea{min-height:300px;max-height:70vh;font-size:14px;line-height:1.9}.video-workspace .video-generator .generator-output{min-width:0;padding:20px}.video-workspace .video-generator .generator-preview{aspect-ratio:4/3;flex:none;min-height:0;max-height:52vh}.video-workspace .video-generator .generator-preview:not(.has-media){min-height:280px}.video-workspace .video-generator .generator-preview>.video-preview{position:absolute;inset:0}.video-workspace .video-generator .generator-preview video{height:100%;max-height:100%}.video-workspace .video-generator .generator-candidate{flex-basis:calc(50% - 6px);height:100px}.video-workspace .video-generator .generator-media-meta{flex-wrap:wrap;gap:6px}.video-workspace .video-generator .generator-output-actions{margin-top:auto;padding-top:16px}.video-workspace .video-generator .generator-action-spacer{display:none}.generation-continue{margin-bottom:8px;font-size:12px}.generator-incoming{border:1px solid var(--border,#d9e6f3);background:var(--accent-soft,#e9f2ff);border-radius:14px;flex-wrap:wrap;flex-shrink:0;align-items:center;gap:10px;padding:12px 16px;display:flex}.generator-incoming>div{flex:1;min-width:180px;overflow:hidden}.generator-incoming strong{font-size:13px;font-weight:600;line-height:21px;display:block}.generator-incoming>div>span{text-overflow:ellipsis;white-space:nowrap;color:var(--text-secondary,#52647b);font-size:12px;line-height:19px;display:block;overflow:hidden}.generator-incoming .button{font-size:12px}.generator-layout{flex:1;grid-template-columns:304px minmax(0,1fr);gap:16px;min-height:0;display:grid}.generator-settings{background:var(--surface,#fff);border:1px solid var(--border,#d9e6f3);border-radius:20px;flex-direction:column;min-height:0;display:flex;overflow:hidden}.generator-settings-scroll{scrollbar-width:thin;flex:1;padding:21px 19px 12px;overflow:auto}.generator-panel-heading,.generator-label-row,.generator-preview-header,.candidate-heading,.generator-media-meta{justify-content:space-between;align-items:center;gap:8px;display:flex}.generator-panel-heading{margin-bottom:22px}.generator-panel-heading h2,.generator-preview-header h2{margin:0;font-size:16px;font-weight:650;line-height:24px}.generator-field{min-width:0;margin-bottom:18px}.generator-field label{margin-bottom:8px;font-size:13px;font-weight:600;line-height:22px;display:block}.required-marker{color:var(--accent,#0068e8)}.generator-field textarea,.generator-field select,.generator-field input{background:var(--surface,#fff);width:100%;color:var(--text-primary,#18263b);font:inherit;border:1px solid var(--border,#d9e6f3);outline-offset:3px;box-sizing:border-box;border-radius:12px;padding:11px;font-size:13px}.generator-field textarea{resize:vertical;min-height:133px;max-height:280px;line-height:1.8}.generator-field textarea::placeholder{color:#73839a}.generator-field-hint{color:var(--text-secondary,#52647b);margin:6px 0 0;font-size:12px;line-height:18px;display:block}.generator-label-row>span,.field-caption{color:var(--text-secondary,#52647b);font-size:12px;font-weight:400}.generator-references{flex-wrap:wrap;gap:9px;display:flex}.generator-reference,.reference-add{border-radius:11px;flex-shrink:0;width:72px;height:72px;position:relative}.generator-reference{background:var(--surface-muted,#f4f8fd)}.generator-reference>img{object-fit:cover;border-radius:11px;width:100%;height:100%}.reference-remove{border:1px solid var(--border,#d9e6f3);background:var(--surface,#fff);width:21px;height:21px;color:var(--text-primary,#18263b);cursor:pointer;border-radius:50%;place-items:center;padding:2px;display:grid;position:absolute;top:-5px;right:-5px}.reference-add{background:var(--surface-muted,#f4f8fd);color:var(--text-secondary,#52647b);font:inherit;cursor:pointer;border:1px dashed #a9bfd9;flex-direction:column;justify-content:center;align-items:center;gap:5px;font-size:12px;display:flex}.reference-add:hover{border-color:var(--accent,#0068e8);color:var(--accent,#0068e8)}.reference-missing{width:100%;height:100%;color:var(--text-secondary,#52647b);place-items:center;font-size:12px;display:grid}.generator-missing-note{color:var(--warning,#825300);font-size:12px;line-height:1.6}.ratio-options{gap:5px;display:flex}.ratio-options button{min-width:0;font:inherit;border:1px solid var(--border,#d9e6f3);background:var(--surface,#fff);color:var(--text-secondary,#52647b);cursor:pointer;border-radius:8px;flex:1;padding:7px 3px;font-size:12px}.ratio-options button.selected{border-color:var(--accent,#0068e8);background:var(--accent-soft,#e9f2ff);color:var(--accent,#0068e8);box-shadow:0 0 0 1px var(--accent,#0068e8) inset}.generator-form-row{grid-template-columns:minmax(0,1fr) 86px;gap:10px;display:grid}.generator-form-row .generator-field{margin-bottom:8px}.generator-field select{min-height:38px;padding:9px 7px;font-size:12px}.generator-spec-note{color:var(--text-secondary,#52647b);margin:0 0 16px;font-size:12px;line-height:18px}.generator-model{border:1px solid var(--border,#d9e6f3);background:var(--surface-muted,#f4f8fd);width:100%;color:var(--text-primary,#18263b);font:inherit;cursor:pointer;border-radius:10px;align-items:center;gap:8px;padding:10px;font-size:12px;display:flex}.generator-model em{color:var(--text-secondary,#52647b);margin-left:auto;font-size:12px;font-style:normal}.generator-model-detail{color:var(--text-secondary,#52647b);padding:10px 2px;font-size:12px;line-height:1.75}.generator-settings-footer{background:var(--surface,#fff);border-top:1px solid var(--border,#d9e6f3);padding:13px 19px 10px}.generator-settings-footer>p{color:var(--text-secondary,#52647b);align-items:flex-start;gap:7px;margin:0 0 12px;font-size:12px;line-height:17px;display:flex}.generator-settings-footer>p svg{flex-shrink:0;margin-top:2px}.generator-settings-footer>.button{width:100%}.generator-draft-action{justify-content:space-between;align-items:center;margin-top:8px;display:flex}.generator-draft-action .button{min-height:30px;padding:6px 0;font-size:12px}.generator-draft-action .save-indicator{gap:4px;font-size:12px}.generator-output{background:color-mix(in srgb,var(--surface,#fff) 78%,transparent);border:1px solid color-mix(in srgb,var(--border,#d9e6f3) 65%,transparent);scrollbar-width:thin;border-radius:20px;flex-direction:column;min-height:0;padding:20px;display:flex;overflow:auto}.generator-preview-header{flex-shrink:0;margin-bottom:15px}.generator-preview-header>div{align-items:baseline;gap:14px;min-width:0;display:flex}.generator-preview-header>div>span{color:var(--text-secondary,#52647b);text-overflow:ellipsis;white-space:nowrap;max-width:260px;font-size:12px;overflow:hidden}.generator-preview{background:var(--surface-muted,#f4f8fd);border:1px solid var(--border,#d9e6f3);border-radius:14px;flex:1;justify-content:center;align-items:center;min-height:260px;display:flex;position:relative;overflow:hidden}.generator-preview.has-media{background:#10161e;border-color:#d7e2ed}.generator-preview>img,.generator-preview>video{object-fit:contain;width:100%;height:100%;display:block;position:absolute}.generator-preview>video{background:#10161e}.generator-empty{text-align:center;color:var(--text-secondary,#52647b);padding:28px}.generator-empty-art{background:var(--accent-soft,#e9f2ff);border:1px solid var(--border,#d9e6f3);width:82px;height:82px;color:var(--accent,#0068e8);border-radius:25px;place-items:center;margin:0 auto 22px;display:grid;box-shadow:0 9px 22px #5e8bc117}.generator-empty h3{color:var(--text-primary,#18263b);margin:0 0 13px;font-size:18px;font-weight:550}.generator-empty p{margin:0 0 18px;font-size:12px;line-height:1.9}.generator-media-meta{color:var(--text-secondary,#52647b);flex-shrink:0;padding:10px 1px 1px;font-size:12px}.generator-media-meta>span:last-child{align-items:center;gap:4px;display:flex}.candidate-section{flex-shrink:0;margin-top:21px}.candidate-heading{margin-bottom:11px}.candidate-heading h3{margin:0;font-size:13px;font-weight:600;line-height:20px}.candidate-heading h3>span{color:var(--text-secondary,#52647b);margin-left:6px;font-size:12px;font-weight:400}.candidate-heading>span{color:var(--text-secondary,#52647b);font-size:12px}.generator-candidates{gap:12px;min-height:96px;padding:2px;display:flex;overflow-x:auto}.generator-candidate{cursor:pointer;text-align:left;color:#fff;background:#10161e;border:2px solid #0000;border-radius:11px;flex:0 0 calc(33.3333% - 8px);height:112px;padding:0;position:relative;overflow:hidden}.generator-candidate.selected{border-color:var(--accent,#0068e8);box-shadow:0 0 0 2px var(--accent-soft,#e9f2ff)}.generator-candidate>img,.generator-candidate>video{object-fit:cover;pointer-events:none;width:100%;height:100%;display:block}.candidate-number{background:#0f1e328a;border-radius:5px;padding:2px 5px;font-size:12px;position:absolute;top:7px;left:7px}.candidate-name{text-overflow:ellipsis;white-space:nowrap;background:linear-gradient(#0000,#050f1cc7);padding:22px 9px 7px;font-size:12px;position:absolute;bottom:0;left:0;right:0;overflow:hidden}.candidate-adopted{background:var(--accent,#0068e8);border-radius:50%;place-items:center;width:19px;height:19px;display:grid;position:absolute;top:6px;right:6px}.candidate-empty{width:100%;min-height:96px;color:var(--text-secondary,#52647b);background:var(--surface-muted,#f4f8fd);border:1px dashed var(--border,#d9e6f3);border-radius:12px;justify-content:center;align-items:center;gap:9px;font-size:12px;display:flex}.generator-state-line{color:var(--text-secondary,#52647b);flex-wrap:wrap;flex-shrink:0;align-items:center;gap:13px;margin:16px 0;font-size:12px;line-height:17px;display:flex}.generator-state-line>span+span{border-left:1px solid var(--border,#d9e6f3);padding-left:13px}.generator-output-actions{border-top:1px solid var(--border,#d9e6f3);flex-wrap:wrap;flex-shrink:0;align-items:center;gap:8px;padding-top:15px;display:flex}.generator-output-actions>.button{padding-left:12px;padding-right:12px;font-size:12px}.generator-action-spacer{flex:1}.generator-errors{flex-shrink:0;gap:8px;display:grid}.generator-mobile-tabs{display:none}.generator-mode-note{color:var(--accent,#0068e8);align-items:center;gap:6px;margin-top:-10px;padding-bottom:14px;font-size:12px;display:flex}.generator-mode-note small{color:var(--text-secondary,#52647b);margin-left:auto;font-size:12px}.generator-unit-input{position:relative}.generator-unit-input input{padding-right:36px}.generator-unit-input>span{color:var(--text-secondary,#52647b);font-size:12px;position:absolute;top:12px;right:12px}.local-video-button{width:100%;margin-top:14px;font-size:12px}.local-video-file{color:var(--text-secondary,#52647b);align-items:center;gap:6px;margin-top:6px;font-size:12px;display:flex}.local-video-file>span{white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.video-generator .generator-field{margin-bottom:15px}.video-generator .generator-panel-heading{margin-bottom:19px}.video-generator .generator-field textarea{min-height:119px}.video-generator .generator-reference,.video-generator .reference-add{width:62px;height:62px}.video-generator .generator-mode-note{line-height:1.5}.visually-hidden{clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%);position:absolute;top:0;left:0;overflow:hidden;border:0!important;width:1px!important;max-width:1px!important;height:1px!important;padding:0!important}@media (width>=960px) and (height<=850px){.generator-settings-scroll{padding-top:15px}.generator-panel-heading{margin-bottom:15px}.generator-field{margin-bottom:13px}.generator-preview{min-height:190px}.generator-candidate{height:82px}.generator-candidates{min-height:82px}.candidate-section{margin-top:12px}.generator-output{padding:16px}.generator-state-line{margin:11px 0}}@media (width<=1100px) and (width>=960px){.generator-layout{grid-template-columns:280px minmax(0,1fr);gap:12px}.generator-settings-scroll,.generator-settings-footer{padding-left:15px;padding-right:15px}.generator-output{padding:15px}.generator-preview-header>div>span{display:none}.generator-output-actions>.button{padding-left:9px;padding-right:9px;font-size:12px}.generator-action-spacer{display:none}}@media (width<=959px){.generator-page{height:auto;min-height:650px}.generator-mobile-tabs{background:var(--surface,#fff);border:1px solid var(--border,#d9e6f3);border-radius:12px;gap:6px;padding:4px;display:flex}.generator-mobile-tabs>button{color:var(--text-secondary,#52647b);font:inherit;background:0 0;border:0;border-radius:8px;flex:1;justify-content:center;align-items:center;gap:7px;padding:9px;font-size:13px;display:flex}.generator-mobile-tabs>button[aria-selected=true]{color:var(--accent,#0068e8);background:var(--accent-soft,#e9f2ff)}.generator-layout{min-height:0;display:block}.generator-settings,.generator-output{display:none}.generator-settings.mobile-active,.generator-output.mobile-active{display:flex}.generator-settings-scroll{overflow:visible}.generator-settings-footer{position:static}.generator-output{min-height:640px}.generator-preview{min-height:280px}.generator-preview-header>div>span{display:none}.generator-preview-header{gap:4px}.generator-output-actions{flex-wrap:wrap}.generator-candidate{height:100px}.candidate-heading>span{font-size:12px}.generator-output-actions .generator-action-spacer{display:none}.generator-state-line{gap:7px}.generator-state-line>span+span{padding-left:7px}.generator-errors .error-notice{flex-wrap:wrap}}@media (prefers-reduced-motion:reduce){.generator-page .spin{animation:none}}.reference-picker{border:1px solid var(--border);background:var(--surface);border-radius:12px;max-height:240px;margin-top:9px;padding:6px;overflow:auto;box-shadow:0 8px 25px #284f7118}.reference-picker>button{text-align:left;width:100%;color:var(--text-primary);background:0 0;border:0;border-radius:8px;align-items:center;gap:9px;padding:6px;display:flex}.reference-picker>button[aria-selected=true]{background:var(--accent-soft)}.reference-picker img{object-fit:cover;border-radius:6px;width:42px;height:42px}.reference-picker strong,.reference-picker small{font-size:12px;display:block}.reference-picker small{text-overflow:ellipsis;white-space:nowrap;max-width:155px;color:var(--text-secondary);overflow:hidden}.reference-picker p{margin:5px;font-size:12px;line-height:1.8}.reference-tag{color:#fff;cursor:pointer;background:#143754d9;border:0;border-radius:0 0 9px 9px;padding:3px 0;font-size:11px;position:absolute;bottom:0;left:0;right:0}.reference-upload-state{color:#fff;pointer-events:none;background:#102c4eae;border-radius:4px;padding:1px 3px;font-size:10px;position:absolute;top:3px;left:3px}.reference-retry{color:#784700;background:#fff1d7;border:0;border-radius:4px;padding:3px;font-size:11px;position:absolute;top:24px;left:3px;right:3px}.demo-options{color:var(--text-secondary);margin:8px 0;font-size:12px}.demo-options summary{cursor:pointer;padding:4px 0}.demo-options>label{justify-content:space-between;align-items:center;margin:8px 0;display:flex}.demo-options>.button{width:100%}.real-generation-entry{margin-bottom:9px}.real-task-preview{white-space:pre-wrap;background:var(--surface-muted);border-radius:10px;max-height:120px;padding:10px;font-size:13px;overflow:auto}.h3-dialogue-help{color:var(--text-secondary);min-width:0;margin-top:10px;font-size:12px;line-height:1.65}.h3-dialogue-help summary{cursor:pointer;color:var(--accent);padding:4px 0}.h3-dialogue-help p{margin:8px 0}.h3-dialogue-help ul{margin:10px 0;padding:0;list-style:none}.h3-dialogue-help li{background:var(--surface-muted);color:var(--text-primary);overflow-wrap:anywhere;white-space:pre-wrap;border-radius:8px;margin-bottom:6px;padding:8px 10px}.h3-dialogue-help li small,.h3-dialogue-help li span{display:block}.h3-dialogue-help li small{color:var(--text-secondary)}.h3-dialogue-help pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface-muted);max-height:260px;color:var(--text-primary);border-radius:8px;padding:10px;font-family:inherit;font-size:12px;line-height:1.6;overflow:auto}.h3-dialogue-help a{color:var(--accent)}.reference-preview-button{cursor:zoom-in;background:0 0;border:0;border-radius:11px;width:100%;height:100%;padding:0;display:block;overflow:hidden}.reference-preview-button img{object-fit:cover;width:100%;height:100%;display:block}.reference-preview-button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.reference-upload-state{pointer-events:none}.modal.reference-preview-modal{width:min(1000px,100vw - 32px);max-width:calc(100vw - 32px)}.reference-preview-modal>img{object-fit:contain;background:var(--surface-muted);border-radius:12px;width:100%;height:min(68vh,760px);margin:16px auto;display:block}.reference-preview-modal>p{overflow-wrap:anywhere;color:var(--text-secondary);font-size:13px}:is(.video-generator,.image-generator) .generator-output{overflow:hidden}:is(.video-generator,.image-generator) .generator-output .candidate-section{flex-direction:column;flex:240px;min-height:180px;margin-top:18px;display:flex;overflow:hidden}:is(.video-generator,.image-generator) .generator-output .generator-candidates{scrollbar-width:thin;overscroll-behavior:contain;flex-direction:column;flex:1;gap:10px;min-height:0;padding:3px;display:flex;overflow:hidden auto}:is(.video-generator,.image-generator) .generator-output .generator-candidate,.video-workspace .video-generator .generator-candidate{border:1px solid var(--border);background:var(--surface);width:100%;height:142px;color:var(--text-primary);border-radius:13px;flex:none;gap:14px;padding:8px;display:flex;overflow:hidden}:is(.video-generator,.image-generator) .generator-output .generator-candidate.selected{border:2px solid var(--accent);background:var(--accent-soft);box-shadow:none;padding:7px}.candidate-thumb{color:#bacbdf;background:#10161e;border-radius:8px;flex:0 0 43%;justify-content:center;align-items:center;height:100%;display:flex;position:relative;overflow:hidden}.candidate-thumb>img{object-fit:contain;width:100%;height:100%;display:block}.candidate-thumb>svg{width:30px;height:30px}.candidate-info{flex-direction:column;flex:1;align-items:flex-start;gap:6px;min-width:0;padding:3px 2px;display:flex}.candidate-info strong{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:12px;line-height:1.5;overflow:hidden}.candidate-info>span{color:var(--text-secondary);-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:12px;line-height:1.6;display:-webkit-box;overflow:hidden}.candidate-info small{color:var(--text-secondary);font-size:10px;line-height:1.4}.candidate-info em{color:var(--accent);margin-top:auto;font-size:11px;font-style:normal}.candidate-search{border:1px solid var(--border);background:var(--surface);min-height:36px;color:var(--text-primary);font:inherit;box-sizing:border-box;border-radius:9px;flex-shrink:0;width:100%;margin-bottom:9px;padding:7px 10px;font-size:12px}.video-workspace .video-generator .generator-preview{max-height:34vh}:is(.video-generator,.image-generator) .generator-output .generator-state-line{margin:9px 0}:is(.video-generator,.image-generator) .generator-output .generator-output-actions{margin-top:0;padding-top:12px}@media (width<=959px){:is(.video-generator,.image-generator) .generator-output .candidate-section{flex:none;height:430px;min-height:220px}:is(.video-generator,.image-generator) .generator-output .generator-candidate,.video-workspace .video-generator .generator-candidate{height:142px}:is(.video-generator,.image-generator) .generator-output{overflow:visible}.candidate-heading{flex-wrap:wrap}.video-workspace .video-generator .generator-preview{height:280px;min-height:240px;max-height:none}:is(.video-generator,.image-generator) .generator-output .generator-output-actions{margin-top:8px}}@media (width<=480px){.candidate-thumb{flex-basis:40%}:is(.video-generator,.image-generator) .generator-output .generator-candidate{gap:9px}.candidate-info strong,.candidate-info>span{font-size:11px}.candidate-info small{font-size:10px}}.h3-input-mode{border:1px solid var(--border);background:var(--surface-muted);border-radius:12px;gap:5px;margin:0 0 16px;padding:5px;display:flex}.h3-input-mode button{min-height:38px;color:var(--text-secondary);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;flex:1;font-size:13px}.h3-input-mode [aria-pressed=true]{background:var(--surface);color:var(--accent);font-weight:650;box-shadow:0 1px 5px #143d6820}.h3-frame-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.h3-frame{border:1px solid var(--border);background:var(--surface);border-radius:12px;min-width:0;padding:12px}.h3-frame-heading{justify-content:space-between;align-items:center;gap:6px;margin-bottom:10px;font-size:13px;display:flex}.h3-frame-heading span{color:var(--text-secondary);font-size:11px}.h3-frame-add,.h3-frame-preview{background:var(--surface-muted);border:1px dashed var(--border);width:100%;height:110px;color:var(--accent);font:inherit;cursor:pointer;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:8px;font-size:12px;display:flex}.h3-frame-preview{background:#101923;border:0}.h3-frame-preview img{object-fit:contain;border-radius:7px;width:100%;height:100%}.h3-frame-name{color:var(--text-secondary);white-space:nowrap;text-overflow:ellipsis;margin-top:7px;font-size:11px;display:block;overflow:hidden}.h3-frame-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px;display:flex}.h3-frame-actions button{font:inherit;color:var(--accent);cursor:pointer;background:0 0;border:0;padding:5px 0;font-size:11px}.h3-frame-actions span{color:var(--text-secondary);margin-left:auto;font-size:10px}.generator-duration-control{align-items:center;gap:16px;min-height:42px;display:flex}.generator-duration-control input[type=range]{width:100%;min-width:0;height:24px;min-height:24px;accent-color:var(--accent);cursor:pointer;background:0 0;border:0;flex:1;padding:0}.generator-duration-control output{text-align:right;min-width:58px;color:var(--accent);font-variant-numeric:tabular-nums;font-size:22px;font-weight:650}.generator-duration-control output span{color:var(--text-secondary);font-size:12px;font-weight:400}.generator-duration-marks{color:var(--text-secondary);justify-content:space-between;margin-top:2px;padding-right:74px;font-size:11px;display:flex}.video-workspace .video-generator.h3-keyframe-mode .generator-field textarea{height:120px;min-height:120px;max-height:45vh}.h3-keyframe-mode .h3-keyframes{margin-bottom:15px}.h3-keyframe-mode .h3-frame-add,.h3-keyframe-mode .h3-frame-preview{height:94px}.bot-progress-controls{color:var(--text-secondary);border-bottom:1px solid var(--border);background:var(--surface);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;padding:5px 18px;font-size:11px;display:flex}.bot-progress-controls button,.bot-progress-card button{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:3px 0}.bot-progress-controls button:disabled{opacity:.5;cursor:wait}.bot-progress-controls [role=alert]{color:var(--error,#b43a45);flex-basis:100%}.bot-progress-card{border:1px solid var(--border);background:var(--surface);border-radius:12px;max-width:540px;padding:12px 14px;font-size:13px}.bot-progress-card>p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.7}.bot-progress-meta{color:var(--text-secondary);justify-content:space-between;align-items:center;gap:16px;margin-top:6px;font-size:11px;display:flex}.bot-progress-meta button{flex-shrink:0;align-items:center;gap:3px;display:flex}.bot-progress-card button:focus-visible,.bot-progress-controls button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.bot-progress-records{border-top:1px solid var(--border);overscroll-behavior:contain;max-height:260px;margin-top:10px;padding-top:10px;font-size:12px;overflow:auto}.bot-progress-records ol{margin:0;padding:0;list-style:none}.bot-progress-records li{overflow-wrap:anywhere;gap:4px;margin-bottom:12px;display:grid}.bot-progress-records time,.bot-progress-records small{color:var(--text-secondary);font-size:10px}.bot-progress-records>div{gap:16px;display:flex}.bot-chat-message.is-located .bot-progress-card{outline:2px solid var(--accent);outline-offset:3px}@media (width<=650px){.bot-progress-controls{gap:8px;padding:4px 10px;font-size:10px}.bot-progress-card{padding:9px 11px}.bot-progress-meta{flex-wrap:wrap;gap:4px 12px}.bot-progress-records{max-height:190px}}.app-window.bots-workspace{grid-template-columns:184px minmax(0,1fr);max-width:none;height:100dvh;min-height:0;overflow:hidden}.bots-workspace>.workspace{flex-direction:column;height:100%;min-height:0;display:flex}.bots-workspace>.app-sidebar{height:100%;min-height:0}.bots-workspace .topbar{flex-shrink:0}.bots-workspace .page-content{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.bots-page{flex-direction:column;flex:1;gap:14px;min-height:0;display:flex;overflow:hidden}.bots-toolbar{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;display:flex}.bot-section-label{color:var(--text-primary);align-items:center;gap:10px;display:flex}.bot-section-label>svg{color:var(--accent)}.bot-section-label>span{color:var(--text-secondary);padding-left:5px;font-size:12px}.bot-action-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.bots-layout{flex:1;grid-template-columns:250px minmax(0,1fr);gap:16px;min-height:0;display:grid}.bot-task-list,.bot-main{background:var(--surface);border:1px solid var(--border);border-radius:22px;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.bot-task-list{padding:16px 12px}.bot-search{border:1px solid var(--border);border-radius:12px;align-items:center;gap:8px;padding:0 10px;display:flex}.bot-search>input{background:0 0;border:0;outline:none;width:100%;min-width:0;height:40px}.bot-list-tabs{justify-content:space-between;align-items:center;margin:10px 0;display:flex}.bot-list-tabs button,.bot-tabs>button{color:var(--text-secondary);cursor:pointer;background:0 0;border:0;min-height:40px;padding:10px}.bot-list-tabs button.active,.bot-tabs>button.active{color:var(--accent);background:var(--accent-soft);border-radius:9px;font-weight:600}.bot-task-scroll{overscroll-behavior:contain;flex:1;min-height:0;overflow-y:auto}.bot-task-row{text-align:left;cursor:pointer;width:100%;color:var(--text-primary);background:0 0;border:1px solid #0000;border-radius:13px;margin:0 0 7px;padding:14px 12px;display:block}.bot-task-row.selected{border-color:var(--border);background:var(--accent-soft)}.bot-task-row:hover{background:var(--accent-soft)}.bot-task-row>strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14px;line-height:1.5;display:-webkit-box;overflow:hidden}.bot-task-row>span{color:var(--text-secondary);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:6px 0 12px;font-size:12px;line-height:1.6;display:-webkit-box;overflow:hidden}.bot-task-row footer{color:var(--text-secondary);justify-content:space-between;gap:8px;font-size:11px;display:flex}.bot-task-row em{color:var(--accent);font-style:normal}.bot-doc-link{border-top:1px solid var(--border);justify-content:center;align-items:center;gap:7px;margin-top:8px;padding:14px 4px 0;font-size:12px;text-decoration:none;display:flex}.bot-task-heading{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:22px 24px 14px;display:flex}.bot-task-heading h2{-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:23px;line-height:1.4;display:-webkit-box;overflow:hidden}.bot-task-heading p{color:var(--text-secondary);margin:7px 0 0;font-size:12px}.bot-mobile-back{display:none}.bot-main-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-height:0;padding:18px 24px;overflow:auto}.bot-main>.empty-state{flex:1;min-height:0}.bot-avatar{background:var(--accent-soft);width:34px;height:34px;color:var(--accent);object-fit:cover;border-radius:11px;flex-shrink:0;justify-content:center;align-items:center;font-size:16px;font-weight:700;display:inline-flex}.bot-avatar.large{border-radius:20px;width:68px;height:68px;font-size:26px}.bot-participants{flex-shrink:0;gap:10px;padding:0 24px 14px;display:flex;overflow:auto}.bot-participant{background:var(--surface-subtle,#f5f9ff);border-radius:12px;align-items:center;gap:8px;min-width:160px;max-width:250px;padding:9px 11px;display:flex}.bot-participant>span{flex-direction:column;gap:4px;min-width:0;display:flex}.bot-participant strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.bot-participant small{color:var(--text-secondary);font-size:11px}.bot-participant>button{color:var(--text-secondary);cursor:pointer;background:0 0;border:0;width:28px;height:32px;margin-left:auto}.bot-tabs{border-bottom:1px solid var(--border);flex-shrink:0;align-items:center;gap:7px;padding:0 24px 8px;display:flex}.bot-tabs>.button{border:1px solid var(--border);background:var(--surface);min-height:36px;margin-left:auto;padding:6px 12px;font-size:12px}.bot-works{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));align-items:start;gap:18px;display:grid}.bot-work-card{background:var(--surface);border:1px solid var(--border);border-radius:16px;min-width:0;overflow:hidden}.bot-work-card.is-adopted{border-color:#85beed}.bot-work-media{cursor:pointer;color:#fff;background:#111c26;border:0;justify-content:center;align-items:center;width:100%;height:260px;padding:0;display:flex;position:relative}.bot-work-media video{object-fit:contain;width:100%;height:100%}.bot-play{background:#173653aa;border-radius:50%;place-content:center;width:42px;height:42px;font-size:17px;display:grid;position:absolute;box-shadow:0 2px 12px #0003}.bot-version{background:#152536ba;border-radius:6px;padding:4px 7px;font-size:11px;position:absolute;top:10px;left:10px}.bot-work-info{padding:12px 14px 14px}.bot-author{align-items:center;gap:7px;font-size:12px;display:flex}.bot-author .bot-avatar{border-radius:8px;width:26px;height:26px;font-size:12px}.bot-saved{color:#247b57;align-items:center;gap:3px;margin-left:auto;font-size:10px;display:flex}.bot-work-info h3{white-space:nowrap;text-overflow:ellipsis;margin:12px 0 5px;font-size:14px;overflow:hidden}.bot-work-info>p{color:var(--text-secondary);-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:38px;margin:0 0 8px;font-size:12px;line-height:1.6;display:-webkit-box;overflow:hidden}.bot-work-info>small{color:var(--text-secondary);font-size:11px}.bot-work-actions{justify-content:space-between;align-items:center;gap:7px;margin-top:12px;display:flex}.bot-work-actions .button{min-height:38px;padding:9px 10px;font-size:12px}.bot-compare-check{white-space:nowrap;align-items:center;gap:4px;font-size:12px;display:flex}.bot-work-info details{color:var(--text-secondary);margin-top:10px;font-size:12px}.bot-work-info details summary{cursor:pointer;padding:6px 0}.bot-work-info pre{white-space:pre-wrap;max-height:180px;overflow:auto}.bot-work-info details p{white-space:pre-wrap}.bot-feedback{border-top:1px solid var(--border);flex-shrink:0;gap:9px;padding:12px 24px 16px;display:flex}.bot-feedback>input{flex:1;min-width:0}.bot-feedback>select{width:120px}.bot-feedback>button{padding:10px 14px}.bot-feedback input,.bot-feedback select{border:1px solid var(--border);background:var(--surface);color:var(--text-primary);font:inherit;border-radius:11px;padding:10px;font-size:12px}.bot-brief p{white-space:pre-wrap;line-height:1.9}.bot-brief>a{align-items:center;gap:7px;padding:10px 0;display:flex}.bot-specs{flex-wrap:wrap;gap:10px;margin:18px 0;display:flex}.bot-specs>span{background:var(--accent-soft);border-radius:8px;padding:7px 10px;font-size:12px}.bot-events article{border-bottom:1px solid var(--border);padding:14px 0}.bot-events article>small{float:right;color:var(--text-secondary)}.bot-events article>p{white-space:pre-wrap;line-height:1.7}.bot-members{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;display:grid}.bot-member{border:1px solid var(--border);border-radius:17px;align-items:flex-start;gap:13px;padding:20px;display:flex}.bot-member>.bot-avatar{border-radius:15px;width:48px;height:48px}.bot-member>div{flex:1;min-width:0}.bot-member h3{margin:1px 0 9px;font-size:16px}.bot-member h3 small{color:var(--accent);background:var(--accent-soft);border-radius:5px;margin-left:7px;padding:3px 5px;font-size:10px}.bot-member p{color:var(--text-secondary);font-size:12px;line-height:1.6}.bot-member small{color:var(--text-secondary);font-size:11px}.bot-member .bot-action-row{margin-top:14px}.bot-member .button{padding:7px 10px;font-size:12px}.bot-invites{margin-top:26px;font-size:13px}.bot-invites>div{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:12px 0;display:flex}.bot-compose-modal{width:min(680px,100vw - 24px);max-height:calc(100dvh - 32px);overflow:hidden}.bot-compose-modal[open]{flex-direction:column;display:flex}.bot-compose-modal>form{flex-direction:column;flex:1;min-height:0;display:flex}.bot-compose-scroll{min-height:0;padding:0 4px 10px;overflow:auto}.bot-compose-modal label,.bot-edit-form>label,.bot-registration form>label{flex-direction:column;gap:8px;margin-bottom:17px;font-size:13px;display:flex}.bot-compose-modal input:not([type=checkbox]):not([type=file]),.bot-compose-modal textarea,.bot-compose-modal select,.bot-edit-form input:not([type=file]),.bot-edit-form textarea,.bot-registration input:not([type=file]),.bot-registration textarea{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text-primary);font:inherit;resize:vertical;border-radius:11px;min-width:0;padding:11px 12px}.bot-recipient-heading{justify-content:space-between;align-items:center;margin-bottom:10px;font-size:13px;display:flex}.bot-pick-list{flex-wrap:wrap;gap:8px;margin-bottom:18px;display:flex}.bot-pick-list>label{border:1px solid var(--border);cursor:pointer;border-radius:12px;flex-direction:row;align-items:center;gap:8px;margin:0;padding:9px 11px;display:flex}.bot-pick-list .bot-avatar{border-radius:8px;width:25px;height:25px;font-size:12px}.bot-spec-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.bot-file-input{width:max-content;position:relative;overflow:hidden;flex-direction:row!important;align-items:center!important;display:flex!important}.bot-file-input input,.bot-avatar-upload input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.bot-attachment-row{align-items:center;gap:8px;padding:6px 0;font-size:12px;display:flex}.bot-attachment-row button{cursor:pointer;background:0 0;border:0;margin-left:auto}.bot-compose-modal footer{border-top:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;padding-top:14px;display:flex}.bot-compose-modal footer small{color:var(--text-secondary);font-size:11px}.bot-credential{border:1px solid var(--border);background:var(--accent-soft);border-radius:13px;margin:14px 0;padding:16px}.bot-credential>strong{align-items:center;gap:7px;display:flex}.bot-credential input{border:1px solid var(--border);border-radius:8px;width:100%;margin:12px 0;padding:10px;display:block}.bot-credential .button{margin-right:6px}.bot-credential p{font-size:12px;line-height:1.7}.bot-preview-modal{width:min(900px,100vw - 24px)}.bot-preview-modal video{object-fit:contain;background:#101a23;border-radius:13px;width:100%;height:65dvh}.bot-compare-modal{width:min(1200px,100vw - 24px)}.bot-compare-modal>div:not(.modal-heading){grid-template-columns:1fr 1fr;gap:20px;display:grid}.bot-compare-modal video{object-fit:contain;background:#101a23;border-radius:12px;width:100%;height:50dvh}.bot-compare-modal p{font-size:12px}.bot-avatar-upload{cursor:pointer;align-items:center;gap:16px;position:relative;overflow:hidden;flex-direction:row!important;display:flex!important}.bot-avatar-upload>img{object-fit:cover;border-radius:18px;width:68px;height:68px}.bot-avatar-upload>span:not(.bot-avatar){color:var(--accent);flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;display:flex}.bot-avatar-upload small{width:100%;color:var(--text-secondary);font-size:11px}.bot-edit-form>.button{margin-right:8px}.bot-registration{place-items:center;height:100dvh;padding:20px;display:grid;overflow:hidden}.bot-registration-card{flex-direction:column;width:min(520px,100%);max-height:100%;padding:28px;display:flex}.bot-registration-brand{color:var(--accent);flex-shrink:0;align-items:center;gap:10px;display:flex}.bot-registration-brand>span{font-size:20px;font-weight:700}.bot-registration-brand small{color:var(--text-secondary);margin-top:4px;font-size:12px;font-weight:400;display:block}.bot-register-scroll{min-height:0;margin-top:10px;padding:10px 4px 0;overflow:auto}.bot-register-scroll h1{font-size:25px}.bot-registration-card footer{border-top:1px solid var(--border);flex-shrink:0;align-items:center;gap:16px;padding-top:18px;display:flex}.bot-registration-card footer a{font-size:12px}.bot-account-id{color:var(--text-secondary);font-size:12px;line-height:1.8}.bot-success{color:#247b57;align-items:center;gap:6px;font-size:13px;display:flex}.bots-page button:focus-visible,.bots-page a:focus-visible,.bot-registration button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}@media (width<=1399px){.app-window.bots-workspace{grid-template-columns:72px minmax(0,1fr)}.bots-workspace .app-sidebar{padding:18px 8px}.bots-workspace .brand>span:last-child,.bots-workspace .sidebar-section-label,.bots-workspace .nav-item>span,.bots-workspace .user-card>span:nth-child(2),.bots-workspace .user-card>svg{display:none}.bots-workspace .nav-item{justify-content:center;padding:10px}.bots-layout{grid-template-columns:210px minmax(0,1fr);gap:12px}.bot-task-heading{padding:18px}.bot-main-scroll{padding:16px 18px}.bot-participants,.bot-tabs{padding-left:18px;padding-right:18px}.bot-work-media{height:230px}}@media (width<=999px){.bots-layout{grid-template-columns:minmax(0,1fr)}.bot-task-list{display:none}.bot-mobile-back{color:var(--accent);cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;padding:0 0 10px;display:flex}.show-task-list .bot-task-list{display:flex}.show-task-list .bot-main,.bot-section-label>span{display:none}.bots-toolbar .button{padding:8px 10px;font-size:12px}}@media (width<=650px){.app-window.bots-workspace{grid-template-columns:48px minmax(0,1fr)}.bots-workspace .app-sidebar{padding:18px 4px}.bots-toolbar{flex-direction:column;align-items:stretch;gap:8px}.bot-section-label{font-size:14px}.bots-toolbar>.bot-action-row{justify-content:flex-end}.bots-page{gap:8px}.bot-task-heading{padding:14px 12px}.bot-task-heading h2{font-size:17px}.bot-main-scroll{padding:12px}.bot-participants{padding:0 12px 10px}.bot-tabs{gap:0;padding:0 8px 6px}.bot-tabs>button{padding:8px;font-size:12px}.bot-tabs>.button{padding:6px;font-size:10px}.bot-feedback{gap:5px;padding:9px}.bot-feedback>select{width:78px;padding:7px;font-size:11px}.bot-feedback>input{padding:8px;font-size:11px}.bot-feedback>button{padding:7px}.bot-works{grid-template-columns:minmax(0,1fr);gap:12px}.bot-members{grid-template-columns:minmax(0,1fr)}.bot-member{padding:12px}.bot-member>.bot-avatar{width:36px;height:36px}.bot-work-media{height:250px}.bot-spec-fields{gap:7px}.bot-spec-fields label{font-size:11px}.bot-registration{padding:10px}.bot-registration-card{padding:18px}.bot-compare-modal>div:not(.modal-heading){gap:8px}.bot-compare-modal video{height:35dvh}.bot-compare-modal h3{font-size:13px}}.bot-library-picker{flex-direction:column;gap:8px;max-height:60dvh;display:flex;overflow:auto}.bot-library-picker>.button{text-align:left;white-space:normal;justify-content:flex-start}.bot-room-row{align-items:flex-start;gap:10px;display:flex}.bot-room-row>.bot-avatar{margin-top:3px}.bot-room-row>div{flex:1;min-width:0}.bot-room-row strong{white-space:nowrap;text-overflow:ellipsis;padding-right:8px;display:block;overflow:hidden}.bot-room-row>div>span{-webkit-line-clamp:1;color:var(--text-secondary);-webkit-box-orient:vertical;margin:5px 0 9px;font-size:12px;display:-webkit-box;overflow:hidden}.bot-room-row footer{font-size:10px}.bot-task-message-label{color:var(--accent);margin-bottom:6px;font-size:11px;display:block}.bot-room-tasks{flex-direction:column;gap:16px;display:flex}.bot-room-tasks>article{border:1px solid var(--border);border-radius:14px;padding:16px}.bot-room-tasks header{justify-content:space-between;align-items:center;gap:10px;display:flex}.bot-room-tasks h3{margin:0;font-size:15px}.bot-room-tasks p{white-space:pre-wrap;font-size:13px;line-height:1.8}.bot-room-tasks small{color:var(--text-secondary);font-size:11px}.bot-room-tasks .bot-participants{padding:0 0 10px}.bot-room-tasks details{margin-top:12px;font-size:12px}.bot-room-tasks details a{padding:5px 0;display:block}.bot-group-modal{width:min(640px,100vw - 24px);max-height:85dvh;overflow:auto}.bot-group-modal h3{margin:18px 0 12px;font-size:14px}.bot-group-modal>label{flex-direction:column;gap:8px;margin:12px 0;font-size:13px;display:flex}.bot-group-modal>label input{border:1px solid var(--border);background:var(--surface);color:var(--text-primary);border-radius:10px;padding:11px}.bot-direct-picks{flex-wrap:wrap;gap:8px;display:flex}.bot-direct-picks .button{font-size:12px}.bot-direct-picks .bot-avatar{width:25px;height:25px;font-size:12px}.bot-main .bot-task-heading>.bot-action-row{flex-shrink:0}.bot-task-row{position:relative}.bot-unread-dot{background:var(--accent);border-radius:50%;width:7px;height:7px;position:absolute;top:12px;right:10px}.bot-task-row:has(.bot-unread-dot)>strong{padding-right:10px}.bot-conversation-wrap{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.bot-conversation{overscroll-behavior:contain;scrollbar-gutter:stable;background:var(--surface-subtle,#f8fbff);flex:1;min-height:0;padding:22px 28px;overflow:auto}.bot-chat-message{align-items:flex-start;gap:10px;margin-bottom:22px;display:flex}.bot-chat-message>.bot-avatar{border-radius:10px;width:32px;height:32px;margin-top:22px}.bot-chat-content{min-width:0;max-width:min(720px,82%)}.bot-chat-meta{color:var(--text-secondary);flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 7px;font-size:11px;display:flex}.bot-chat-meta strong{color:var(--text-primary);font-size:12px}.bot-chat-meta .question{color:#94600b;background:#fff1d7;border-radius:6px;padding:3px 7px}.bot-chat-meta .answered{color:#247b57}.bot-chat-bubble{background:var(--surface);border:1px solid var(--border);overflow-wrap:anywhere;border-radius:3px 14px 14px;padding:12px 16px;font-size:14px;line-height:1.8}.bot-chat-bubble p{white-space:pre-wrap;margin:0}.bot-chat-bubble blockquote{border-left:2px solid var(--border);color:var(--text-secondary);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0 0 8px;padding:6px 10px;font-size:12px;display:-webkit-box;overflow:hidden}.bot-chat-bubble a{align-items:center;gap:6px;padding-top:8px;font-size:12px;display:flex}.bot-message-to{color:var(--accent);margin-bottom:4px;font-size:11px;display:block}.bot-chat-message.from-owner{flex-direction:row-reverse}.from-owner .bot-chat-meta{justify-content:flex-end}.from-owner .bot-chat-bubble{background:var(--accent-soft);border-color:var(--border);border-radius:14px 3px 14px 14px}.bot-reply-link{color:var(--accent);cursor:pointer;background:0 0;border:0;min-height:32px;padding:8px 0;font-size:12px}.bot-new-messages{border:1px solid var(--border);background:var(--surface);color:var(--accent);cursor:pointer;border-radius:22px;align-items:center;gap:6px;padding:9px 14px;font-size:12px;display:flex;position:absolute;bottom:12px;left:50%;transform:translate(-50%);box-shadow:0 4px 18px #153e6514}.bot-conversation .bot-work-card{width:280px;max-width:100%}.bot-conversation .bot-work-media{height:190px}.bot-conversation .bot-work-info>p{min-height:0}.bot-conversation .bot-work-info h3{margin-top:8px}.bot-chat-welcome{text-align:center;height:100%;min-height:180px;color:var(--text-secondary);flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:18px;display:flex}.bot-chat-welcome>svg{color:var(--accent)}.bot-chat-welcome h3{color:var(--text-primary);margin:0;font-size:22px}.bot-chat-welcome p{max-width:430px;margin:0;font-size:13px;line-height:1.8}.bot-chat-welcome>span{border:1px dashed var(--border);max-width:100%;color:var(--accent);border-radius:12px;padding:12px 16px;font-size:12px}.bot-chat-composer{border-top:1px solid var(--border);background:var(--surface);border-radius:0 0 22px 22px;flex-shrink:0;padding:10px 22px 14px;position:relative}.bot-composer-toolbar{align-items:center;gap:10px;min-height:26px;font-size:12px;display:flex}.bot-composer-toolbar>button,.bot-chat-options>button{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:5px}.bot-composer-recipients{color:var(--text-secondary);text-overflow:ellipsis;white-space:nowrap;max-width:50%;margin-left:auto;font-size:11px;overflow:hidden}.bot-composer-input{position:relative}.bot-composer-input textarea{resize:none;width:100%;min-width:0;height:96px;color:var(--text-primary);font:inherit;background:0 0;border:0;outline:none;padding:12px 2px;font-size:14px;line-height:1.7;display:block}.bot-composer-input textarea:focus-visible{outline:2px solid var(--accent-soft);outline-offset:0;border-radius:6px}.bot-chat-composer>footer{align-items:center;gap:12px;display:flex}.bot-chat-composer>footer>small{color:var(--text-secondary);margin-left:auto;font-size:11px}.bot-chat-composer>footer>.button{min-height:40px;padding:9px 16px;font-size:13px}.bot-composer-tools{align-items:center;gap:4px;display:flex}.bot-composer-tools>button,.bot-composer-tools>label{width:36px;height:36px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:9px;place-items:center;display:grid;position:relative;overflow:hidden}.bot-composer-tools>button:hover,.bot-composer-tools>label:hover{background:var(--accent-soft);color:var(--accent)}.bot-composer-tools input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.bot-mention-menu{z-index:5;background:var(--surface);border:1px solid var(--border);border-radius:13px;min-width:210px;max-width:100%;max-height:230px;padding:6px;position:absolute;bottom:100%;left:0;overflow:auto;box-shadow:0 8px 28px #18385822}.bot-mention-menu>button{text-align:left;width:100%;color:var(--text-primary);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:9px;min-height:44px;padding:8px;font-size:13px;display:flex}.bot-mention-menu>button[aria-selected=true],.bot-mention-menu>button:hover{background:var(--accent-soft)}.bot-mention-menu .bot-avatar{border-radius:8px;width:26px;height:26px;font-size:12px}.bot-mention-menu p{padding:8px;font-size:12px}.bot-mention-menu small{color:var(--text-secondary)}.bot-reply-quote{border-left:2px solid var(--accent);background:var(--accent-soft);color:var(--text-secondary);border-radius:0 6px 6px 0;align-items:center;gap:8px;margin-top:5px;padding:6px 10px;font-size:12px;display:flex}.bot-reply-quote>span{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.bot-reply-quote>button,.bot-chat-attachments button{cursor:pointer;color:var(--text-secondary);background:0 0;border:0;padding:4px;display:flex}.bot-chat-attachments{flex-wrap:wrap;gap:6px;max-height:60px;margin:0 0 8px;display:flex;overflow:auto}.bot-chat-attachments>span{border:1px solid var(--border);overflow-wrap:anywhere;border-radius:8px;align-items:center;gap:5px;max-width:100%;padding:3px 6px;font-size:11px;display:flex}.bot-chat-options{flex-wrap:wrap;align-items:center;gap:12px;padding:5px 0 9px;font-size:12px;display:flex}.bot-chat-options label{align-items:center;gap:5px;display:flex}.bot-chat-options input,.bot-chat-options select{border:1px solid var(--border);background:var(--surface);width:65px;color:var(--text-primary);border-radius:7px;padding:5px}.bot-chat-options select{width:75px}.bot-chat-composer .error-notice{margin:5px 0;padding:7px;font-size:12px}@media (height<=800px){.bot-task-heading{padding-top:12px;padding-bottom:10px}.bot-task-heading h2{font-size:19px}.bot-task-heading p{margin-top:4px}.bot-participants{padding-bottom:8px}.bot-participant{padding:6px 10px}.bot-composer-input textarea{height:76px}.bot-chat-composer{padding-top:7px;padding-bottom:10px}.bot-conversation{padding-top:16px;padding-bottom:16px}}@media (width<=650px){.bot-conversation{padding:14px 10px}.bot-chat-message{gap:6px;margin-bottom:16px}.bot-chat-message>.bot-avatar{border-radius:8px;width:25px;height:25px;font-size:12px}.bot-chat-content{max-width:86%}.bot-chat-bubble{padding:9px 11px;font-size:13px}.bot-chat-meta{gap:5px;font-size:10px}.bot-chat-meta strong{font-size:11px}.bot-conversation .bot-work-media{height:160px}.bot-conversation .bot-work-info{padding:9px}.bot-conversation .bot-work-actions{flex-wrap:wrap}.bot-chat-composer{padding:8px 10px 10px}.bot-composer-toolbar{flex-wrap:wrap;gap:6px;font-size:11px}.bot-composer-recipients{max-width:100%;margin-left:0}.bot-composer-input textarea{height:85px;font-size:13px}.bot-chat-composer>footer>small{display:none}.bot-chat-composer>footer>.button{margin-left:auto}.bot-composer-tools>button,.bot-composer-tools>label{width:40px;height:40px}.bot-chat-welcome{gap:10px;padding:12px}.bot-chat-welcome h3{font-size:17px}.bot-chat-welcome>span{display:none}.bot-reply-link{min-height:40px}}.bots-layout.with-history{grid-template-columns:230px minmax(0,1fr) 280px;position:relative}.bot-history{background:var(--surface);border:1px solid var(--border);border-radius:22px;flex-direction:column;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden}.bot-history-profile{text-align:center;flex-shrink:0;padding:24px 18px 18px}.bot-history-profile>img,.bot-history-avatar{object-fit:cover;background:var(--accent-soft);width:72px;height:72px;color:var(--accent);border-radius:24px;place-content:center;margin:0 auto 12px;font-size:27px;display:grid}.bot-history-profile h3{overflow-wrap:anywhere;margin:0 0 7px;font-size:19px}.bot-history-profile p{color:var(--text-secondary);margin:0;font-size:11px}.bot-history-profile>small{-webkit-line-clamp:2;color:var(--text-secondary);-webkit-box-orient:vertical;margin-top:10px;font-size:12px;line-height:1.6;display:-webkit-box;overflow:hidden}.bot-history-controls{flex-shrink:0;padding:0 14px 10px}.bot-history-controls .bot-search{margin:0 0 10px}.bot-history-controls nav{background:var(--surface-subtle,#f4f7fb);border-radius:10px;gap:3px;padding:3px;display:flex}.bot-history-controls nav button{color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:1;padding:7px 2px;font-size:11px}.bot-history-controls nav button.active{background:var(--surface);color:var(--accent);box-shadow:0 1px 5px #15324b10}.bot-history-controls>small{color:var(--text-secondary);margin-top:10px;font-size:10px;display:block}.bot-history-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;min-height:0;padding:0 12px 20px;overflow:auto}.bot-history-scroll h4{color:var(--text-secondary);margin:16px 4px 10px;font-size:12px;font-weight:500}.bot-history-row{text-align:left;width:100%;color:var(--text-primary);cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:flex-start;gap:9px;padding:11px 5px;display:flex}.bot-history-row:hover{background:var(--accent-soft)}.bot-history-icon{background:var(--surface-subtle,#f1f5fa);width:32px;height:32px;color:var(--text-secondary);border-radius:10px;flex-shrink:0;place-items:center;display:grid}.bot-history-row>span:last-child{flex:1;min-width:0}.bot-history-row strong{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:12px;font-weight:500;line-height:1.6;display:-webkit-box;overflow:hidden}.bot-history-row small,.bot-history-row time{color:var(--text-secondary);margin-top:4px;font-size:10px;display:block}.bot-history-row time{color:var(--accent)}.bot-history-empty{color:var(--text-secondary);padding:16px 7px;font-size:12px;line-height:1.8}.bot-history-close{background:var(--surface);color:var(--text-secondary);cursor:pointer;border:0;border-radius:10px;padding:8px;display:none;position:absolute;top:10px;right:10px}.bot-chat-message.is-located .bot-chat-bubble,.bot-chat-message.is-located .bot-work-card{outline:2px solid var(--accent);outline-offset:3px}.bot-conversation{padding-left:clamp(14px,3vw,30px);padding-right:clamp(14px,3vw,30px)}.bot-composer-toolbar>span:first-child{color:var(--text-secondary);font-size:10px}.bot-composer-input textarea{height:86px}.bot-chat-composer>footer{gap:8px}.bot-send-kind{border:1px solid var(--border);color:var(--text-primary);background:var(--surface);font:inherit;border-radius:9px;max-width:110px;margin-left:auto;padding:8px 6px;font-size:12px}.bot-chat-composer>footer>small{margin-left:auto;font-size:10px}.bot-chat-composer>footer>small+.bot-send-kind{margin-left:0}.bot-message-files{flex-wrap:wrap;gap:10px;margin-top:8px;display:flex}.bot-attachment-preview{flex-direction:column;gap:5px;min-width:0;max-width:220px;display:flex}.bot-attachment-preview>a{overflow-wrap:anywhere;padding:0;font-size:11px;line-height:1.5}.bot-attachment-preview img,.bot-attachment-preview video{object-fit:contain;background:var(--surface);border-radius:8px;width:180px;max-width:100%;max-height:220px;display:block}.bot-attachment-preview audio{width:220px;max-width:100%;height:36px}.bot-attachment-preview.compact{flex-direction:row;align-items:center;gap:7px;max-width:230px}.bot-attachment-preview.compact>a:last-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.bot-attachment-preview.compact img{object-fit:cover;flex-shrink:0;width:34px;height:34px}.bot-attachment-preview.compact>a:first-child:has(img){flex-shrink:0}.bot-chat-attachments{max-height:100px}.bot-chat-attachments>span{background:var(--surface-subtle,#f8fbff);min-height:39px}.bot-chat-attachments>button{color:var(--accent);padding:6px;font-size:11px}.bot-upload-failed small{color:#a14822;font-size:10px;display:block}.bot-chat-attachments .bot-upload-failed{border-color:#e8b9a5}.bot-upgrade-copy{margin-bottom:18px}@media (width>=1900px){.bots-layout.with-history{grid-template-columns:250px minmax(0,1fr) 310px}.bot-conversation{padding-left:max(30px,50% - 450px);padding-right:max(30px,50% - 450px)}}@media (width<=1439px){.bots-layout.with-history{grid-template-columns:210px minmax(0,1fr)}.bot-history{display:none}.bot-history.is-open{z-index:12;width:min(320px,100%);display:flex;position:absolute;top:0;bottom:0;right:0;box-shadow:-12px 0 40px #1e3d6d20}.bot-history-close{display:grid}.bot-history-profile{padding-top:30px}}@media (width<=999px){.bots-layout.with-history{grid-template-columns:minmax(0,1fr)}.bot-composer-toolbar>span:first-child{white-space:nowrap;text-overflow:ellipsis;max-width:65%;overflow:hidden}}@media (height<=800px){.bot-history-profile{padding-top:16px;padding-bottom:12px}.bot-history-profile>img,.bot-history-avatar{border-radius:18px;width:52px;height:52px;margin-bottom:8px}.bot-composer-input textarea{height:70px}.bot-chat-attachments{max-height:70px}}@media (width<=650px){.bot-task-heading{align-items:flex-start;gap:6px}.bot-task-heading>.bot-action-row{flex-wrap:wrap;justify-content:flex-end;gap:4px;max-width:130px}.bot-task-heading>.bot-action-row .button{min-height:30px;padding:6px 7px;font-size:10px}.bot-task-heading>.bot-action-row svg{display:none}.bot-chat-composer>footer{gap:4px}.bot-composer-tools{gap:0}.bot-composer-tools>button,.bot-composer-tools>label{width:30px;height:36px}.bot-send-kind{max-width:82px;padding:7px 3px;font-size:11px}.bot-chat-composer>footer>.button{margin-left:0;padding:8px 10px;font-size:12px}.bot-composer-toolbar{flex-wrap:nowrap}.bot-composer-recipients{max-width:35%;margin-left:auto}.bot-composer-input textarea{height:70px}.bot-message-files{max-width:100%}.bot-attachment-preview audio{width:180px}.bot-history.is-open{width:100%}}.bot-message-actions{align-items:center;gap:10px;display:flex}.from-owner .bot-message-actions{justify-content:flex-end}.bot-message-more{width:28px;height:30px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;padding:4px;display:grid}.bot-message-more:hover{background:var(--accent-soft);color:var(--accent)}.bot-message-menu{z-index:10;border:1px solid var(--border);background:var(--surface);border-radius:12px;width:166px;padding:5px;position:absolute;box-shadow:0 6px 28px #17395826}.bot-message-menu>button{text-align:left;width:100%;color:var(--text-primary);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:7px;padding:11px 12px;font-size:12px;display:block}.bot-message-menu>button:hover,.bot-message-menu>button:focus-visible{background:var(--accent-soft);color:var(--accent)}.bot-forward-modal{width:min(530px,100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}.bot-forward-modal>blockquote{background:var(--accent-soft);border-left:2px solid var(--accent);border-radius:0 10px 10px 0;max-height:180px;margin:16px 0;padding:12px 15px;font-size:12px;line-height:1.7;overflow:auto}.bot-forward-modal blockquote p{white-space:pre-wrap;overflow-wrap:anywhere}.bot-forward-note{flex-direction:column;gap:8px;margin:16px 0;font-size:12px;display:flex}.bot-forward-note textarea{border:1px solid var(--border);background:var(--surface);color:var(--text-primary);resize:vertical;min-height:75px;font:inherit;border-radius:10px;padding:10px}.bot-work-detail-modal{width:min(520px,100vw - 24px);max-height:calc(100dvh - 30px);overflow:auto}.bot-work-detail-modal .bot-work-card{border:0;border-radius:12px}.bot-work-detail-modal .bot-work-media{height:min(38dvh,300px)}.bot-work-detail-modal .bot-work-info>p{-webkit-line-clamp:unset;display:block}.bot-history-controls nav button{padding-left:1px;padding-right:1px;font-size:11px}.bot-account-id{overflow-wrap:anywhere}.bot-registration-next{background:var(--accent-soft,#eef5ff);border-radius:14px;margin:12px 0;padding:14px}.bot-registration-next p{font-size:12px;line-height:1.7}.bot-registration-next strong{font-size:13px}.bot-registration-card{min-height:0;max-height:calc(100dvh - 40px);overflow:hidden}.bot-register-scroll{flex:auto}.bot-edit-modal{max-height:calc(100dvh - 28px);overflow:auto}.bot-edit-modal .bot-account-id{font-size:12px;line-height:1.6}.bot-edit-modal>.muted{margin-bottom:12px;font-size:12px;line-height:1.6}@media (width<=640px){.bot-registration-card{max-height:calc(100dvh - 20px)}}.bot-intent-status{color:var(--text-secondary);flex-shrink:0;padding:3px 2px 6px;font-size:11px;line-height:1.5}.bot-timeline-navigation{color:var(--text-secondary);flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;padding:12px;font-size:12px;display:flex}.bot-timeline-navigation button{color:var(--primary);border:1px solid var(--border);background:var(--surface);border-radius:12px;padding:7px 12px}.bot-timeline-navigation small{text-align:center;width:100%}.bot-timeline-navigation{background:0 0;min-height:0;padding:0 0 12px;position:static}.bot-timeline-navigation button{color:var(--accent);cursor:pointer;background:0 0;border:0;min-height:32px;padding:4px 10px}.bot-timeline-navigation button:hover{background:var(--accent-soft)}.bot-history-controls>button{border:1px solid var(--border);background:var(--surface);color:var(--accent);cursor:pointer;border-radius:10px;margin-top:8px;padding:7px 11px;font-size:12px}.bot-attachment-caption{align-items:center;gap:6px;width:180px;min-width:0;max-width:100%;height:26px;display:flex}.bot-attachment-caption>a:first-child{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:11px;line-height:1.5;overflow:hidden}.bot-attachment-caption>a:last-child{width:28px;height:26px;color:var(--text-secondary);border-radius:6px;flex-shrink:0;place-items:center;display:grid}.bot-attachment-caption>a:last-child:hover{background:var(--accent-soft);color:var(--accent)}.bot-attachment-preview.compact .bot-attachment-caption{flex:1;width:auto}.bot-attachment-preview.compact .bot-attachment-caption>a:last-child{display:none}.bot-attachment-preview:not(.compact) video{aspect-ratio:16/9;object-fit:contain;background:#111c26;height:101px}.bot-history-file{align-items:center;gap:10px;padding:9px 5px}.bot-history-thumbnail{background:var(--surface-subtle,#eef4fb);border-radius:10px;flex:0 0 78px;width:78px;height:68px;display:block;position:relative;overflow:hidden}.bot-history-thumbnail .library-thumbnail{width:100%;height:100%;display:block;position:relative;overflow:hidden}.bot-history-thumbnail .library-thumbnail>img,.bot-history-thumbnail .library-thumbnail>video{object-fit:contain;background:var(--surface-subtle,#eef4fb);border-radius:0;width:100%;height:100%;position:absolute;inset:0}.bot-history-thumbnail .library-thumbnail-fallback{color:var(--text-secondary);place-content:center;justify-items:center;gap:3px;font-size:9px;display:grid;position:absolute;inset:0}.bot-history-thumbnail .library-thumbnail-fallback svg{width:23px;height:23px}.bot-history-thumbnail .library-play{color:#fff;bottom:5px;right:5px;background:#162b48b8;border-radius:50%;place-items:center;width:22px;height:22px;display:grid;position:absolute;inset:auto 5px 5px auto;transform:none}.bot-history-thumbnail .library-play svg{width:11px;height:11px}.bot-history-unavailable{background:var(--surface-subtle,#eef4fb);color:var(--text-secondary);place-content:center;font-size:10px;display:grid;position:absolute;inset:0}.bot-history-task{border:1px solid var(--border);background:var(--surface-subtle,#f8fbff);border-radius:12px;margin:8px 1px 12px;padding:12px}.bot-history-task-title{text-align:left;color:var(--text-primary);cursor:pointer;background:0 0;border:0;width:100%;padding:0}.bot-history-task-title strong{-webkit-line-clamp:3;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:12px;font-weight:600;line-height:1.65;display:-webkit-box;overflow:hidden}.bot-history-task-title time{color:var(--text-secondary);margin-top:5px;font-size:10px;display:block}.bot-history-progress-label{color:var(--text-secondary);justify-content:space-between;align-items:center;gap:6px;margin:13px 0 7px;font-size:10px;display:flex}.bot-history-progress-label strong{color:var(--accent);font-size:11px}.bot-history-task progress{appearance:none;background:var(--border);width:100%;height:6px;color:var(--accent);border:0;border-radius:4px;display:block;overflow:hidden}.bot-history-task progress::-webkit-progress-bar{background:var(--border);border-radius:4px}.bot-history-task progress::-webkit-progress-value{background:var(--accent);border-radius:4px}.bot-history-task progress::-moz-progress-bar{background:var(--accent)}.bot-history-task details{margin-top:9px}.bot-history-task summary{color:var(--text-secondary);cursor:pointer;padding:7px 0;font-size:11px}.bot-history-task ul{margin:0;padding:0;list-style:none}.bot-history-task li{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:8px;padding:7px 0;font-size:11px;display:flex}.bot-history-task li>span:first-child{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.bot-history-state{text-align:right;color:var(--text-secondary);flex-shrink:0}.bot-history-state small{margin-top:3px;font-size:9px;display:block}.bot-history-state.state-submitted{color:var(--accent)}.bot-history-state.state-failed,.bot-history-state.state-unknown,.bot-history-state.state-needs_input{color:#a75b20}.bot-history-task-note{color:var(--text-secondary);margin:8px 0 0;font-size:10px;line-height:1.6}.bot-group-members-modal{width:min(590px,100vw - 24px);max-height:calc(100dvh - 28px);overflow:hidden}.bot-group-members-modal[open]{flex-direction:column;display:flex}.bot-group-members-scroll{overscroll-behavior:contain;min-height:0;padding:0 4px 12px;overflow:auto}.bot-group-members-heading{color:var(--accent);align-items:center;gap:10px;margin-bottom:15px;display:flex}.bot-group-members-heading h3{color:var(--text-primary);margin:0;font-size:17px}.bot-group-members-heading p{color:var(--text-secondary);margin:6px 0 0;font-size:12px}.bot-group-current{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.bot-group-current article{background:var(--surface-subtle,#f6f9ff);border-radius:12px;align-items:flex-start;gap:9px;min-width:0;padding:12px;display:flex}.bot-group-current article>div{flex:1;min-width:0}.bot-group-current strong,.bot-group-add-list strong{overflow-wrap:anywhere;font-size:13px;display:block}.bot-group-current span:not(.bot-avatar){color:var(--text-secondary);margin:5px 0;font-size:11px;display:block}.bot-group-current small{color:var(--text-secondary);font-size:10px}.bot-group-members-modal h4{margin:22px 0 10px;font-size:14px}.bot-group-members-modal p.muted{margin:0 0 12px;font-size:12px;line-height:1.7}.bot-group-add-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.bot-group-add-list label{border:1px solid var(--border);cursor:pointer;border-radius:11px;align-items:center;gap:8px;min-width:0;padding:11px;display:flex}.bot-group-add-list label:has(input:checked){background:var(--accent-soft);border-color:var(--accent)}.bot-group-add-list label>span:last-child{min-width:0}.bot-group-add-list small{color:var(--text-secondary);margin-top:5px;font-size:10px;display:block}.bot-group-members-modal>footer{border-top:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;padding-top:14px;display:flex}.bot-group-members-modal>footer>small{color:var(--text-secondary);font-size:12px}.bot-connection-help{color:var(--text-secondary);margin-top:14px;font-size:12px;line-height:1.8}.bot-connection-help summary{cursor:pointer;color:var(--accent)}.bot-member .bot-connection-status{margin-top:8px;display:block}.bot-member .bot-connection-detail{font-size:11px;line-height:1.7}.bot-history-profile .bot-connection-status{color:var(--text-secondary);margin-top:8px;font-size:11px}@media (width<=650px){.bot-group-current,.bot-group-add-list{grid-template-columns:minmax(0,1fr)}.bot-group-members-heading h3{font-size:15px}.bot-group-members-modal{padding:18px}}.bot-group-profile{background:var(--surface-subtle,#f6f9ff);border:1px solid var(--border);border-radius:14px;gap:12px;margin-bottom:16px;padding:14px;display:grid}.bot-group-profile>label{gap:7px;font-size:12px;display:grid}.bot-group-profile input:not([type=file]){width:100%;min-width:0}.bot-group-profile-avatar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.bot-group-avatar-picker{cursor:pointer;color:var(--accent);overflow-wrap:anywhere;align-items:center;gap:6px;font-size:12px;display:flex}.bot-group-avatar-picker input{opacity:0;width:1px;height:1px;position:absolute}.bot-group-delete{border-top:1px solid var(--border);margin-top:22px;padding-top:14px;font-size:12px;line-height:1.7}.bot-group-delete>button{margin-right:8px}.bot-group-delete>button:first-of-type{color:var(--danger,#b42318)}.bot-chat-work{border:1px solid var(--border);background:var(--surface);width:260px;min-width:0;max-width:100%;color:var(--text-primary);border-radius:13px;overflow:hidden}.bot-chat-work.is-saved{border-color:var(--accent)}.bot-chat-work-media{color:#fff;cursor:pointer;background:#111c26;border:0;justify-content:center;align-items:center;width:100%;height:190px;padding:0;display:flex;position:relative;overflow:hidden}.bot-chat-work-media video{object-fit:contain;width:100%;height:100%;display:block}.bot-chat-work-play{pointer-events:none;background:#173653cc;border-radius:50%;place-items:center;width:38px;height:38px;padding-left:2px;display:grid;position:absolute;box-shadow:0 2px 10px #0003}.bot-chat-work-media:disabled{opacity:1;cursor:default}.bot-chat-work-unavailable{color:#d6e1ea;font-size:12px}.bot-chat-work-footer{grid-template-columns:minmax(0,1fr) 34px 34px;align-items:center;gap:2px;padding:5px 6px 5px 11px;display:grid}.bot-chat-work-footer h3{white-space:nowrap;text-overflow:ellipsis;min-width:0;margin:0;font-size:13px;font-weight:600;line-height:1.5;overflow:hidden}.bot-chat-work-footer button{width:34px;height:34px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:grid}.bot-chat-work-footer button:not(:disabled):hover{background:var(--accent-soft);color:var(--accent)}.bot-chat-work-save[aria-pressed=true]{color:var(--accent)}.bot-chat-work-footer button:disabled{opacity:.45;cursor:default}.bot-chat-work button:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}.bot-chat-message.is-located .bot-chat-work{outline:2px solid var(--accent);outline-offset:3px}.bot-chat-work-media .library-thumbnail{aspect-ratio:auto;height:100%}.bot-chat-work-media .library-play{display:none}.bot-task-heading.has-recent-files{grid-template-columns:minmax(120px,180px) minmax(0,1fr);gap:8px 20px;padding:12px 20px;display:grid}.has-recent-files>div:first-child{grid-area:1/1;min-width:0}.has-recent-files h2{font-size:19px}.has-recent-files p{margin-top:4px;font-size:11px}.bot-main .has-recent-files>.bot-action-row{flex-wrap:wrap;grid-area:2/1;gap:6px}.has-recent-files>.bot-action-row .button{min-height:36px;padding:6px 8px;font-size:11px}.bot-recent-files{grid-area:1/2/3;align-self:stretch;min-width:0;position:relative}.bot-recent-label{min-height:28px;color:var(--text-secondary);align-items:center;gap:8px;font-size:11px;display:flex}.bot-recent-label strong{color:var(--text-primary);font-size:12px}.bot-recent-label>span{white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.bot-recent-label button{background:var(--surface-subtle,#f8fbff);width:28px;height:28px;color:var(--text-secondary);cursor:pointer;border:0;border-radius:7px;place-items:center;padding:0;display:grid}.bot-recent-strip{overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:var(--border) transparent;gap:8px;min-height:92px;padding:4px 0;display:flex;overflow:auto hidden}.bot-recent-file{border:1px solid var(--border);background:var(--surface);border-radius:9px;flex:0 0 132px;width:132px;position:relative;overflow:hidden}.bot-recent-preview{background:var(--surface-subtle,#f8fbff);cursor:pointer;border:0;width:100%;height:90px;padding:0;display:block;position:relative;overflow:hidden}.bot-recent-preview .library-thumbnail{height:90px;min-height:0}.bot-recent-preview .library-thumbnail-fallback{gap:0}.bot-recent-preview .library-thumbnail-fallback>span{display:none}.bot-recent-preview .library-thumbnail-fallback>svg{width:24px;height:24px}.bot-recent-preview .library-play{width:22px;height:22px;top:8px;left:8px;transform:none}.bot-recent-preview .library-play svg{width:12px;height:12px}.bot-recent-preview>span:last-child{color:#fff;text-align:left;text-overflow:ellipsis;white-space:nowrap;background:#14263bbb;padding:3px 6px;font-size:10px;position:absolute;bottom:0;left:0;right:0;overflow:hidden}.bot-recent-actions{opacity:0;pointer-events:none;background:var(--surface);justify-content:space-around;align-items:center;height:32px;display:flex;position:absolute;bottom:0;left:0;right:0}.bot-recent-actions button,.bot-recent-actions a{width:42px;height:32px;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.bot-recent-actions button:hover,.bot-recent-actions a:hover{color:var(--accent);background:var(--accent-soft)}.bot-recent-files button:focus-visible,.bot-recent-files a:focus-visible,.bot-recent-strip:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.bot-recent-files button:disabled{opacity:.45;cursor:default}.bot-recent-strip>p{color:var(--text-secondary);align-self:center;margin:0;font-size:11px;line-height:1.6}.bot-recent-error{color:var(--text-secondary);align-items:center;gap:8px;font-size:11px;display:flex}.bot-recent-error>span{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.bot-recent-error button{color:var(--accent);cursor:pointer;background:0 0;border:0;flex-shrink:0}.bot-file-preview-modal{width:min(900px,100vw - 24px);max-height:90dvh;overflow:auto}.bot-file-preview-modal video,.bot-file-preview-modal>img{object-fit:contain;background:#101821;width:100%;max-height:65dvh;display:block}.bot-file-preview-modal audio{width:100%}.bot-file-preview-modal>footer{align-items:center;gap:12px;padding-top:14px;display:flex}.bot-file-preview-modal>footer button,.bot-file-preview-modal>footer a{border:1px solid var(--border);background:var(--surface);color:var(--accent);cursor:pointer;border-radius:8px;padding:8px 12px;font-size:12px;text-decoration:none}@media (width<=650px){.bot-task-heading.has-recent-files{grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:8px 12px}.has-recent-files>div:first-child{grid-row:1}.bot-main .has-recent-files>.bot-action-row{grid-area:1/2}.bot-recent-files{grid-area:2/1/auto/3}.has-recent-files .bot-mobile-back{padding-bottom:4px}.has-recent-files h2{font-size:16px}.has-recent-files p{display:none}.bot-recent-label{min-height:24px}.bot-recent-preview,.bot-recent-preview .library-thumbnail{height:78px}.bot-recent-strip{min-height:78px;padding:2px 0}.bot-recent-actions,.bot-recent-actions button,.bot-recent-actions a{height:36px}}.bot-recent-file:hover .bot-recent-actions,.bot-recent-file:focus-within .bot-recent-actions{opacity:1;pointer-events:auto}.bot-recent-label button{opacity:0;pointer-events:none}.bot-recent-files:hover .bot-recent-label button,.bot-recent-files:focus-within .bot-recent-label button{opacity:1;pointer-events:auto}@media (hover:none),(pointer:coarse){.bot-recent-actions{opacity:1;pointer-events:auto;position:static}.bot-recent-label button{opacity:1;pointer-events:auto}.bot-recent-preview,.bot-recent-preview .library-thumbnail{height:58px}.bot-recent-actions,.bot-recent-actions button,.bot-recent-actions a{height:44px}.bot-recent-actions button,.bot-recent-actions a{width:44px}.bot-recent-label button{width:44px;height:44px}}.bot-management{border:1px solid var(--border);background:var(--surface);border-radius:16px;margin-bottom:24px;padding:18px}.bot-management>header{justify-content:space-between;align-items:center;gap:16px;display:flex}.bot-management h3,.bot-management h4{margin:0}.bot-management header p,.bot-management-privacy{color:var(--text-secondary);margin:6px 0;font-size:12px;line-height:1.7}.bot-assignment-flow{color:var(--text-secondary);gap:26px;margin:18px 0 12px;padding:0;font-size:13px;list-style:none;display:flex}.bot-assignment-flow li{align-items:center;gap:7px;display:flex}.bot-assignment-flow b{background:var(--accent-soft);width:24px;height:24px;color:var(--accent);border-radius:50%;place-items:center;font-weight:600;display:grid}.bot-managed-list{flex-direction:column;margin-top:10px;display:flex}.bot-managed-list article{border-top:1px solid var(--border);align-items:center;gap:12px;padding:14px 0;display:flex}.bot-managed-list article>div{flex:1;min-width:0}.bot-managed-list h4{font-size:14px}.bot-managed-list h4 small{color:var(--text-secondary);margin-left:12px;font-weight:400;display:inline-block}.bot-managed-list p{color:var(--text-secondary);margin:5px 0 0;font-size:12px}.bot-managed-enabled{align-items:center;gap:8px;display:flex!important}.bot-managed-enabled input{width:auto!important}.bot-connection-maintenance{border-top:1px solid var(--border);margin-top:20px;padding-top:14px}.bot-connection-maintenance summary{cursor:pointer;color:var(--text-secondary);font-size:13px}.bot-managed-token{justify-content:space-between;align-items:center;gap:12px;margin-top:10px;display:flex}.bot-assigned-notice{color:var(--text-secondary);font-size:12px;line-height:1.7}.bot-self-service{border-top:1px solid var(--border);margin-top:20px;padding-top:14px}.bot-self-service>summary{cursor:pointer;color:var(--text-secondary);font-size:13px}.bot-self-service>.bot-action-row{margin-top:12px}.bot-own-heading{margin:20px 0 12px;font-size:15px}.bot-count-slider{align-items:center;gap:12px;display:flex}.bot-count-slider input[type=range]{min-width:80px;accent-color:var(--accent);flex:1;padding:0}.bot-count-slider output{white-space:nowrap;color:var(--accent);font-weight:600}.bot-chat-options .bot-count-slider input[type=range]{width:100px}.bot-assignment-banner{border:1px solid var(--border);background:var(--accent-soft);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin:12px 20px;padding:12px 16px;font-size:13px;display:flex}.bot-assignment-banner p{margin:0;line-height:1.7}@media (width<=800px){.bot-management{padding:14px}.bot-management>header{flex-direction:column;align-items:flex-start}.bot-assignment-flow{flex-wrap:wrap;gap:10px;font-size:12px}.bot-managed-list article{flex-wrap:wrap}.bot-managed-list h4 small{margin:5px 0 0;display:block}.bot-assignment-banner{flex-direction:column;align-items:flex-start;margin:10px}}.bot-hidden-list{border-top:1px solid var(--border);margin-top:14px;padding-top:12px}.bot-hidden-list>summary{cursor:pointer;color:var(--text-secondary);font-size:13px}.bot-hidden-list .bot-members{margin-top:12px}.bot-own-heading small{color:var(--text-secondary);margin-left:6px;font-size:12px;font-weight:400}.bot-managed-list article>.bot-managed-actions{flex-wrap:wrap;flex:none;gap:8px;display:flex}.bot-reassign-modal textarea{resize:vertical;width:100%;font-size:12px}.bot-reassign-modal .bot-credential{flex-wrap:wrap}.bot-reassign-modal .bot-credential input{flex:140px;min-width:0}.bot-reassign-modal .muted{line-height:1.8}.bot-managed-actions .button{white-space:nowrap}@media (width<=800px){.bot-managed-list article>.bot-managed-actions{flex-basis:100%;justify-content:flex-end}}.contacts-layout{grid-template-columns:280px minmax(0,1fr)}.contacts-layout .bot-main{flex-direction:column;min-width:0;display:flex;overflow:hidden}.contact-list-label{color:var(--muted);padding:12px 16px 6px;font-size:12px}.contacts-page .bots-toolbar .bot-avatar{width:24px;height:24px;font-size:12px}.contact-directory{max-height:55vh;overflow:auto}.unified-contacts .bot-task-scroll{margin-top:8px}.unified-contacts .bot-room-row strong{overflow-wrap:anywhere}.unified-contacts .bot-avatar{flex-shrink:0;place-items:center;margin:0;line-height:1;display:grid}.contacts-page .bots-layout{grid-template-columns:260px minmax(0,1fr)}.contacts-page .bots-layout.with-history{grid-template-columns:260px minmax(0,1fr) 280px}@media (width<=1439px){.contacts-page .bots-layout.with-history{grid-template-columns:260px minmax(0,1fr)}}.contact-forward-modal{width:min(520px,100vw - 24px)}.contact-forward-list{flex-direction:column;gap:4px;max-height:40dvh;margin:12px 0;display:flex;overflow:auto}.contact-forward-list>label{cursor:pointer;border:1px solid #0000;border-radius:12px;align-items:center;gap:12px;padding:10px;display:flex}.contact-forward-list>label:hover,.contact-forward-list>label.selected{background:var(--accent-soft);border-color:var(--border)}.contact-forward-list strong{overflow-wrap:anywhere;flex:1;min-width:0;font-size:14px}.contact-forward-list small{color:var(--text-secondary);font-size:12px}.contact-forward-list .bot-avatar{flex-shrink:0;width:34px;height:34px}.contact-forward-list input{flex-shrink:0;width:auto}.contact-profile-avatar{align-items:center;gap:12px;margin-bottom:18px;display:flex}.contact-profile-avatar .bot-avatar{width:64px;height:64px;font-size:26px}.contact-profile-avatar input,.human-composer input[type=file]{display:none}.human-messages{flex:1;min-height:0;overflow:auto}.human-messages .bot-chat-content{max-width:min(760px,85%)}.human-actions{flex-wrap:wrap;gap:14px;display:flex}.human-actions button{color:var(--primary,#0674ff);cursor:pointer;background:0 0;border:0;padding:3px 0;font-size:12px}.human-actions button:disabled{color:var(--muted);cursor:default}.contact-request-state{color:var(--primary,#0674ff);margin-bottom:8px;font-size:12px;display:block}.human-composer{border-top:1px solid var(--border,#d9e6f4);background:var(--surface,#fff);flex-shrink:0;padding:12px 20px}.human-composer textarea{resize:vertical;outline-offset:-2px;background:0 0;border:0;width:100%;height:75px;min-height:60px;max-height:160px;padding:8px}.human-composer footer{align-items:center;gap:10px;display:flex}.human-composer footer>.button:last-child{margin-left:auto}.human-composer select{width:auto;max-width:130px}.human-reply{background:var(--surface-muted,#f2f6fc);border-radius:8px;align-items:center;padding:8px 12px;font-size:12px;display:flex}.human-reply span{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.human-reply button{background:0 0;border:0}@media (width<=999px){.contacts-page .bots-layout,.contacts-page .bots-layout.with-history{grid-template-columns:minmax(0,1fr)}.contacts-layout .bot-task-list{display:none}.contacts-layout.show-task-list .bot-task-list{display:flex}.contacts-layout.show-task-list .bot-main{display:none}.human-composer{padding:10px}.human-messages .bot-chat-content{max-width:85%}.contacts-page .bots-toolbar .bot-section-label span{display:none}}.rewards-surface{color:#182c46;font-synthesis:none;--blue:#0869df;--muted:#60738c;--border:#dfe9f3;--soft:#f3f7fc;--surface:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;font-size:14px;line-height:1.6}.rewards-surface *{box-sizing:border-box}.rewards-surface button,.rewards-surface input,.rewards-surface textarea,.rewards-surface select{font:inherit;color:inherit}.rewards-surface button,.rewards-surface a{touch-action:manipulation}.rewards-surface button{cursor:pointer}.rewards-surface button:disabled{opacity:.45;cursor:not-allowed}.rewards-surface button{transition:background .15s,box-shadow .15s}.rewards-surface button:hover:not(:disabled){filter:brightness(.985)}.rewards-surface h1,.rewards-surface h2,.rewards-surface h3,.rewards-surface p{margin:0}.rewards-surface h1{letter-spacing:-.7px;font-size:28px;line-height:1.4}.rewards-surface h2{font-size:21px;line-height:1.5}.rewards-surface h3{font-size:15px;font-weight:650}.rewards-surface a{color:var(--blue);text-decoration:none}.rewards-surface small{color:var(--muted);font-size:12px}.rewards-surface svg{flex-shrink:0}.rewards-surface input,.rewards-surface textarea,.rewards-surface select{background:#fff;border:1px solid #cfddeb;border-radius:11px;min-width:0;max-width:100%;padding:10px 12px}.rewards-surface input[type=checkbox]{width:17px;height:17px;accent-color:var(--blue);flex-shrink:0;padding:0}.rewards-surface textarea{resize:vertical}.rewards-surface input::placeholder,.rewards-surface textarea::placeholder{color:#8291a5}.rewards-surface :focus-visible{outline-offset:3px;outline:3px solid #74b1ef}.rewards-surface button{background:0 0;border:0}.rewards-surface summary{cursor:pointer;color:var(--blue)}.rewards-surface pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}.rewards-surface .preview-root{min-width:320px;height:100dvh;container-type:inline-size}.rewards-surface .shell{grid-template-columns:184px minmax(0,1fr);gap:16px;max-width:1920px;height:100%;margin:auto;padding:16px;display:grid}.rewards-surface .sidebar{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#fafdffa6;border:1px solid #ffffffce;border-radius:22px;flex-direction:column;min-height:0;padding:24px 12px 14px;display:flex}.rewards-surface .brand{letter-spacing:-.6px;align-items:center;gap:9px;padding:0 7px 35px;font-size:22px;font-weight:760;display:flex}.rewards-surface .brand>span{color:#fff;background:linear-gradient(150deg,#4ea5f5,#0871d7);border-radius:11px;place-items:center;width:34px;height:34px;display:grid;box-shadow:0 4px 12px #418bce24}.rewards-surface .brand small{letter-spacing:1.3px;font-size:10px;font-weight:400;display:block}.rewards-surface .nav-label{color:#8496ab;letter-spacing:1.5px;padding:0 12px 13px;font-size:11px}.rewards-surface .nav,.rewards-surface .nav-context{text-align:left;color:#536b84;border-radius:11px;align-items:center;gap:11px;width:100%;margin-bottom:5px;padding:11px 12px;font-size:13px;display:flex}.rewards-surface .nav.active{color:var(--blue);background:#fff;border:1px solid #d6e8fa;font-weight:650;box-shadow:0 4px 12px #4575a00a}.rewards-surface .nav:hover{background:#eaf3fd}.rewards-surface .nav-context{color:#8292a4}.rewards-surface .new-dot{background:#3585e6;border-radius:50%;width:5px;height:5px;margin-left:auto}.rewards-surface .sidebar-bottom{margin-top:auto}.rewards-surface .local-state{color:#5a7491;padding:14px 9px;font-size:11px}.rewards-surface .local-state>span,.rewards-surface .demo-tag>span{background:#428e7e;border-radius:50%;width:6px;height:6px;margin-right:6px;display:inline-block}.rewards-surface .local-state small{color:#8092a5;margin-top:4px;font-size:10px;display:block}.rewards-surface .person{border-top:1px solid var(--border);align-items:center;gap:9px;padding:15px 8px 0;font-size:12px;display:flex}.rewards-surface .person small{font-size:11px;display:block}.rewards-surface .avatar{color:#43709e;background:#dcebf9;border:2px solid #fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:11px;font-weight:650;display:inline-flex}.rewards-surface .avatar.lin{color:#6e60aa;background:#e4e3f8}.rewards-surface .avatar.zhou{color:#437c64;background:#e2f0e9}.rewards-surface .workspace{flex-direction:column;min-width:0;min-height:0;display:flex}.rewards-surface .topbar{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;height:56px;padding:0 9px 12px;display:flex}.rewards-surface .crumb{color:#7e91a7;align-items:center;gap:10px;font-size:12px;display:flex}.rewards-surface .crumb strong{color:#40566d;font-weight:500}.rewards-surface .top-actions{align-items:center;gap:9px;display:flex}.rewards-surface .demo-tag{color:#527493;white-space:nowrap;background:#f4faff;border:1px solid #d5e5f4;border-radius:20px;padding:4px 10px;font-size:11px}.rewards-surface .demo-tag>span{background:#579ac9}.rewards-surface .role-picker{color:#3b6287;background:#ffffffb3;border:1px solid #d5e3f1;border-radius:20px;align-items:center;gap:4px;padding:0 10px;display:flex}.rewards-surface .role-picker select{background:0 0;border:0;padding:7px 4px;font-size:12px}.rewards-surface .icon{width:32px;height:32px;color:var(--muted);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.rewards-surface .icon:hover{background:#eaf2fb}.rewards-surface .board{background:#ffffffeb;border:1px solid #ffffffdf;border-radius:24px;flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden;box-shadow:0 12px 40px #527ca008}.rewards-surface .board-heading{justify-content:space-between;align-items:center;gap:20px;padding:26px 30px 22px;display:flex}.rewards-surface .eyebrow{color:#8a9bb0;letter-spacing:1.5px;margin-bottom:5px;font-size:11px}.rewards-surface .board-heading p{color:var(--muted);margin-top:7px;font-size:12px}.rewards-surface .guide-link{color:#6389b0;align-items:center;gap:5px;font-size:12px;display:flex}.rewards-surface .btn{white-space:nowrap;background:#fff;border:1px solid #d5e1ee;border-radius:11px;justify-content:center;align-items:center;gap:7px;min-height:37px;padding:8px 14px;font-size:12px;font-weight:500;line-height:1.5;display:inline-flex}.rewards-surface .btn:hover{background:#f0f6fc}.rewards-surface .btn.primary{color:#fff;background:linear-gradient(#2583ed,#0765d9);border-color:#176fe0;border-radius:22px;box-shadow:inset 0 1px #ffffff35,0 4px 10px #2075ca18}.rewards-surface .btn.small{min-height:30px;padding:5px 11px;font-size:11px}.rewards-surface .btn.danger{color:#b14949}.rewards-surface .tabs{border-bottom:1px solid var(--border);flex-shrink:0;gap:24px;padding:0 30px;display:flex}.rewards-surface .tabs button{color:#74849a;white-space:nowrap;padding:10px 0 14px;font-size:13px;position:relative}.rewards-surface .tabs button.active{color:var(--blue);font-weight:650}.rewards-surface .tabs button.active:after{content:"";background:var(--blue);border-radius:3px;height:3px;position:absolute;bottom:-1px;left:0;right:0}.rewards-surface .tabs button>span{color:#5981af;background:#eaf1fa;border-radius:6px;margin-left:6px;padding:1px 5px;font-size:10px}.rewards-surface .task-layout{flex:1;grid-template-columns:285px minmax(0,1fr);min-height:0;display:grid}.rewards-surface .task-list{border-right:1px solid var(--border);background:#f7faff75;flex-direction:column;min-height:0;padding:21px 16px 12px;display:flex}.rewards-surface .search{color:#8b9caf;background:#fff;border:1px solid #dee8f2;border-radius:12px;align-items:center;gap:7px;padding:0 10px;display:flex}.rewards-surface .search input{background:0 0;border:0;width:100%;padding:9px 0;font-size:12px}.rewards-surface .filters{gap:4px;margin:14px 0;display:flex}.rewards-surface .filters button{color:#76899f;border-radius:7px;padding:5px 10px;font-size:11px}.rewards-surface .filters button.active{color:#196bd0;background:#e8f1fc;font-weight:600}.rewards-surface .task-scroll{scrollbar-width:thin;flex:1;min-height:0;overflow:auto}.rewards-surface .task-card{text-align:left;background:#fff;border:1px solid #e4ecf4;border-radius:16px;width:100%;margin-bottom:12px;padding:17px 15px;display:block}.rewards-surface .task-card.selected{background:linear-gradient(145deg,#fafdff,#f0f6ff);border-color:#90bdf0;box-shadow:0 0 0 2px #e5f0fc}.rewards-surface .task-card-top{justify-content:space-between;align-items:center;margin-bottom:13px;display:flex}.rewards-surface .task-icon{color:#3d86df;background:#e0edff;border-radius:12px;place-items:center;width:39px;height:39px;display:grid;box-shadow:inset 0 1px #fff}.rewards-surface .task-icon.purple{color:#9370c3;background:#ede7fb}.rewards-surface .badge{white-space:nowrap;color:#71849b;background:#f0f4f8;border-radius:6px;justify-content:center;align-items:center;padding:2px 7px;font-size:10px;font-weight:500;line-height:1.6;display:inline-flex}.rewards-surface .badge.green{color:#3a8a6c;background:#e8f5ef}.rewards-surface .badge.orange{color:#a8752c;background:#fff3e3}.rewards-surface .badge.blue{color:#5185c2;background:#e9f2ff}.rewards-surface .task-card h3{font-size:14px;line-height:1.7}.rewards-surface .task-card>p{color:#7c8c9f;margin:5px 0 18px;font-size:11px;line-height:1.9}.rewards-surface .reward-line{color:#6d84a0;align-items:baseline;gap:6px;display:flex}.rewards-surface .reward-line strong{letter-spacing:-.8px;color:#3976ba;font-size:27px;font-weight:650;line-height:1.3}.rewards-surface .reward-line span{font-size:11px}.rewards-surface .reward-line svg{align-self:center;margin-left:auto}.rewards-surface .task-meta{color:#7c8ea3;border-top:1px solid #e2ebf5;justify-content:space-between;gap:6px;margin-top:13px;padding-top:14px;font-size:10px;display:flex}.rewards-surface .task-meta small{font-size:10px}.rewards-surface .list-note{color:#8b9aac;align-items:center;gap:6px;padding:13px 0 0;font-size:10px;display:flex}.rewards-surface .task-detail{flex-direction:column;min-width:0;min-height:0;display:flex}.rewards-surface .detail-scroll{scrollbar-width:thin;flex:1;min-height:0;padding:25px 26px 16px;overflow:auto}.rewards-surface .task-hero{background:linear-gradient(120deg,#f5f9ff,#eef5ff 75%,#e9f2ff);border:1px solid #e0ebf8;border-radius:17px;justify-content:space-between;align-items:center;gap:20px;padding:22px 23px;display:flex}.rewards-surface .task-hero.skill-hero{background:linear-gradient(120deg,#f8f8ff,#f1effb);border-color:#e8e5f4}.rewards-surface .hero-kicker{letter-spacing:1.5px;color:#7a9dc3;margin-bottom:8px;font-size:10px}.rewards-surface .task-hero h2{letter-spacing:-.4px;font-size:20px;font-weight:650}.rewards-surface .task-hero p{color:#768da7;margin:7px 0 17px;font-size:11px}.rewards-surface .hero-meta{color:#7f94ab;flex-wrap:wrap;align-items:center;gap:7px;font-size:10px;display:flex}.rewards-surface .hero-meta .avatar{width:23px;height:23px;font-size:8px}.rewards-surface .hero-reward{text-align:center;color:#5e85ad;border-left:1px solid #dae6f4;min-width:130px;padding-left:22px}.rewards-surface .hero-reward small{color:#7c9ab8;font-size:10px}.rewards-surface .hero-reward>div{letter-spacing:-1.5px;color:#3779bf;font-size:39px;font-weight:650;line-height:1.5}.rewards-surface .hero-reward>div span{letter-spacing:0;font-size:13px}.rewards-surface .hero-reward>span{font-size:10px}.rewards-surface .quantity-strip{border-bottom:1px solid #e9eef5;grid-template-columns:repeat(7,1fr);margin:0 0 6px;padding:22px 0 19px;display:grid}.rewards-surface .quantity-strip>div{text-align:center;border-right:1px solid #edf1f6}.rewards-surface .quantity-strip>div:last-child{border:0}.rewards-surface .quantity-strip strong{color:#435f7e;font-size:22px;font-weight:600;line-height:1.4;display:block}.rewards-surface .quantity-strip>div:last-child strong{color:#2579c6}.rewards-surface .quantity-strip span{color:#8291a4;font-size:10px}.rewards-surface .open-summary{color:#7586a1;border-bottom:1px solid #e7eef6;flex-wrap:wrap;gap:20px;padding:24px 0;font-size:11px;display:flex}.rewards-surface .open-summary span{align-items:center;gap:6px;display:flex}.rewards-surface .open-summary strong{color:#5f6ba8}.rewards-surface .detail-section{padding:20px 0 0}.rewards-surface .section-title{justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px;display:flex}.rewards-surface .section-title h3{align-items:center;gap:8px;display:flex}.rewards-surface .section-title p{margin-top:4px;font-size:12px}.rewards-surface .text-btn{color:#5789bb;align-items:center;gap:4px;padding:3px 0;font-size:11px;display:inline-flex}.rewards-surface .brief{white-space:pre-wrap;color:#63758d;overflow-wrap:anywhere;font-size:12px;line-height:2}.rewards-surface .promise{color:#8292a5;background:#f8fafc;border:1px solid #e8eef6;border-radius:9px;align-items:center;gap:8px;margin-top:14px;padding:10px 12px;font-size:10px;display:flex}.rewards-surface .delivery-list{background:#fff;border:1px solid #e5ecf4;border-radius:13px;overflow:hidden}.rewards-surface .delivery-row{border-bottom:1px solid #ecf1f6;align-items:center;gap:11px;min-width:0;padding:13px 12px;display:flex}.rewards-surface .delivery-row:last-child{border-bottom:0}.rewards-surface .delivery-open{text-align:left;flex:1;align-items:center;gap:10px;min-width:0;padding:0;display:flex}.rewards-surface .delivery-open>span:last-child{min-width:0}.rewards-surface .delivery-open strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:550;display:block;overflow:hidden}.rewards-surface .delivery-open small{color:#92a1b2;margin-top:3px;font-size:9px;display:block}.rewards-surface .file-icon{color:#8aa6c5;background:#f0f5fb;border-radius:8px;flex-shrink:0;place-items:center;width:34px;height:38px;display:grid}.rewards-surface .file-icon.violet{color:#a598bf;background:#f4f1fb}.rewards-surface .row-status{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:4px;display:flex}.rewards-surface .row-status small{color:#8e9daf;font-size:9px}.rewards-surface .detail-footer{border-top:1px solid var(--border);background:#fbfdff;justify-content:space-between;align-items:center;gap:10px;padding:15px 26px;display:flex}.rewards-surface .footer-right{align-items:center;gap:8px;display:flex}.rewards-surface .muted{color:var(--muted);font-size:12px;font-weight:400}.rewards-surface .back-mobile{display:none}.rewards-surface .page-scroll{scrollbar-width:thin;flex:1;min-height:0;padding:26px 30px;overflow:auto}.rewards-surface .group{border:1px solid var(--border);background:#fff;border-radius:16px;margin-bottom:18px;padding:19px}.rewards-surface .group>h3{margin-bottom:15px}.rewards-surface .group>.delivery-list{border:0}.rewards-surface .group .delivery-row{padding-left:0;padding-right:0}.rewards-surface .reward-summaries{flex-wrap:wrap;gap:14px;margin-bottom:24px;display:flex}.rewards-surface .reward-summaries>div{color:#7191b3;background:#f6faff;border:1px solid #dfebf7;border-radius:16px;flex:1;align-items:center;gap:14px;min-width:240px;padding:20px;font-size:11px;display:flex}.rewards-surface .reward-summaries strong{color:#2e74bc;font-size:28px;font-weight:650;line-height:1.5;display:block}.rewards-surface .reward-summaries strong small{color:#6a91b9;font-size:12px}.rewards-surface .paid-caption{margin-left:auto}.rewards-surface .payment-table-head,.rewards-surface .payment-row{grid-template-columns:minmax(120px,1fr) 80px 60px 60px 90px;align-items:center;gap:10px;display:grid}.rewards-surface .payment-table-head{color:#7f90a5;background:#f5f8fc;border-radius:8px;padding:9px 12px;font-size:11px}.rewards-surface .payment-row{text-align:left;border-bottom:1px solid #edf1f7;width:100%;padding:14px 12px;font-size:12px}.rewards-surface .payment-row:last-child{border:0}.rewards-surface .payment-row small{margin-top:3px;font-size:10px;display:block}.rewards-surface .payment-row>strong{color:#327ec9;font-weight:550}.rewards-surface .record-total{color:#3278b8;font-size:24px}.rewards-surface .payment-record>p{color:var(--muted);margin:5px 0;font-size:12px}.rewards-surface .payment-record>small{color:#8998a9;font-size:10px}.rewards-surface .record-lines{background:#f7fafd;border-radius:10px;margin:15px 0;padding:12px;font-size:12px}.rewards-surface .record-lines>div{justify-content:space-between;padding:4px 0;display:flex}.rewards-surface .record-lines strong{font-weight:500}.rewards-surface .correction{color:#6c7f94;background:#f4f7fb;border-left:3px solid #8db0d1;margin:12px 0;padding:12px;font-size:12px}.rewards-surface .correction small{display:block}.rewards-surface .empty{text-align:center;color:#a2b2c4;flex-direction:column;align-items:center;gap:10px;padding:40px 20px;display:flex}.rewards-surface .empty>div{background:#f3f7fb;border-radius:20px;place-items:center;width:60px;height:60px;display:grid}.rewards-surface .empty h3{color:#7890a9;font-weight:500}.rewards-surface .empty p{color:#98a7b8;max-width:320px;font-size:11px}.rewards-surface .dialog{color:#243a53;background:#fff;border:1px solid #deebf8;border-radius:22px;width:min(520px,100vw - 26px);max-height:calc(100dvh - 48px);padding:25px;overflow:auto;box-shadow:0 25px 100px #16355433}.rewards-surface .dialog.wide{width:min(700px,100vw - 26px)}.rewards-surface .dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#23476a42}.rewards-surface .dialog>header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:21px;display:flex}.rewards-surface .dialog>header h2{font-size:20px}.rewards-surface .field{flex-direction:column;gap:7px;margin-bottom:16px;font-size:12px;display:flex}.rewards-surface .field>span{color:#5f7187;font-weight:550}.rewards-surface .field small{color:#8192a8;font-size:10px;font-weight:400}.rewards-surface .field textarea{min-height:90px;line-height:1.9}.rewards-surface .modal-actions{border-top:1px solid #e7eef6;justify-content:flex-end;gap:10px;margin-top:23px;padding-top:18px;display:flex}.rewards-surface .modal-actions.wrap{flex-wrap:wrap}.rewards-surface .modal-summary{color:#4f81b4;background:#f3f7fd;border-radius:13px;align-items:center;gap:15px;margin-bottom:20px;padding:17px;font-size:13px;display:flex}.rewards-surface .modal-summary p{color:#8499b0;margin-top:4px;font-size:11px}.rewards-surface .hint{color:#8291a5;margin:12px 0;font-size:12px;line-height:1.9}.rewards-surface .notice{color:#6588ad;background:#eef5fe;border-radius:10px;align-items:flex-start;gap:8px;margin:12px 0;padding:12px 14px;font-size:12px;display:flex}.rewards-surface .feedback{color:#a18144;background:#fffbf2;border:1px solid #f2dfbb;border-radius:12px;margin:14px 0;padding:13px 15px;font-size:12px}.rewards-surface .feedback p{margin-top:6px}.rewards-surface .error{color:#ac5454;background:#fff4f4;border:1px solid #efd1d1;border-radius:10px;justify-content:space-between;align-items:center;margin:0 16px 10px;padding:10px 14px;font-size:12px;display:flex}.rewards-surface .dialog>.error{margin:0 0 15px}.rewards-surface .files{margin:15px 0}.rewards-surface .files>div{color:#7a99ba;background:#f9fbfe;border:1px solid #e0e9f3;border-radius:10px;align-items:center;gap:10px;margin-bottom:7px;padding:10px 12px;display:flex}.rewards-surface .files>div>button:not(.icon){text-align:left;flex:1;min-width:0;padding:0;display:block}.rewards-surface .files strong{overflow-wrap:anywhere;color:#4c6d91;font-size:12px;font-weight:500;display:block}.rewards-surface .files small{margin-top:2px;font-size:10px;display:block}.rewards-surface .attachment-actions{flex-wrap:wrap;gap:8px;display:flex}.rewards-surface .save-note{color:#91a2b4;align-items:center;gap:5px;margin-top:14px;font-size:10px;display:flex}.rewards-surface .form-grid{grid-template-columns:1fr 1fr;gap:0 15px;display:grid}.rewards-surface .segmented{background:#f0f5fb;border-radius:12px;margin-bottom:20px;padding:5px;display:flex}.rewards-surface .segmented button{color:#8192a5;border-radius:9px;flex:1;justify-content:center;align-items:center;gap:7px;padding:10px;font-size:12px;display:flex}.rewards-surface .segmented button.active{color:#277ace;background:#fff;box-shadow:0 2px 6px #59789a14}.rewards-surface .selection-list{padding:0;list-style:none}.rewards-surface .selection-list li{border-bottom:1px solid #edf2f8;align-items:center;gap:9px;padding:10px 0;font-size:12px;display:flex}.rewards-surface .selection-list small{margin-left:auto}.rewards-surface .item-title{justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;display:flex}.rewards-surface .item-title h2{margin:7px 0}.rewards-surface .item-title small,.rewards-surface .item-title span{color:#8193a8;font-size:11px}.rewards-surface .item-reward{background:#f5f9fe;border-radius:12px;gap:20px;margin:20px 0;padding:18px;display:flex}.rewards-surface .item-reward>span{color:#7f94ac;flex:1;font-size:11px}.rewards-surface .item-reward strong{color:#467dab;margin-top:6px;font-size:17px;font-weight:550;display:block}.rewards-surface .history-entry{border-bottom:1px solid var(--border);padding:14px 0;font-size:12px}.rewards-surface .history-entry p{white-space:pre-wrap;color:var(--muted);margin-top:8px}.rewards-surface .dialog details{font-size:12px}.rewards-surface .dialog details>p{padding:10px}.rewards-surface .payout-lines>label{border-bottom:1px solid #e8eef6;align-items:center;gap:10px;padding:12px 0;font-size:12px;display:flex}.rewards-surface .payout-lines>label>span:first-of-type{overflow-wrap:anywhere;flex:1;min-width:0}.rewards-surface .payout-lines small{color:#90a1b5;font-size:10px;display:block}.rewards-surface .payout-lines input[type=number]{width:100px;padding:7px 9px}.rewards-surface .payout-total{color:var(--muted);justify-content:space-between;padding:16px 0 22px;font-size:12px;display:flex}.rewards-surface .payout-total strong{color:#3d7fbf;font-size:23px}.rewards-surface .text-preview{background:#f6f9fd;border-radius:12px;max-height:50vh;padding:20px;font-size:13px;overflow:auto}.rewards-surface .media-preview{max-width:100%;max-height:50vh;margin:auto;display:block}.rewards-surface .quote{white-space:pre-wrap;background:#f6f9fc;border-left:3px solid #96b6d8;margin-bottom:16px;padding:14px;font-size:12px}.rewards-surface .guide{padding:0;list-style:none}.rewards-surface .guide li{gap:16px;margin:24px 0;display:flex}.rewards-surface .guide li>span{color:#6c98c9;background:#eaf3fd;border-radius:11px;flex-shrink:0;place-items:center;width:34px;height:34px;font-size:12px;display:grid}.rewards-surface .guide strong{font-size:14px;font-weight:600}.rewards-surface .guide p{color:#8092a7;margin-top:5px;font-size:12px;line-height:1.9}.rewards-surface .check-line{align-items:center;gap:10px;padding:8px 0;font-size:12px;display:flex}.rewards-surface .settings-buttons{flex-wrap:wrap;gap:10px;display:flex}.rewards-surface .toast{color:#5283ad;z-index:1000;background:#fff;border:1px solid #d4e4ef;border-radius:14px;align-items:center;gap:8px;width:max-content;max-width:calc(100vw - 30px);padding:12px 20px;font-size:12px;display:flex;position:fixed;bottom:26px;left:50%;transform:translate(-50%);box-shadow:0 8px 30px #26486e22}.rewards-surface .chat-layout{border-top:1px solid var(--border);flex:1;grid-template-columns:250px minmax(0,1fr);min-height:0;display:grid}.rewards-surface .chat-context{border-right:1px solid var(--border);background:#f7faff;padding:24px 20px}.rewards-surface .chat-context h3{margin-bottom:20px}.rewards-surface .chat-context p{color:#8899ae;margin:15px 0;font-size:11px;line-height:1.9}.rewards-surface .chat-profile{text-align:center;background:#fff;border:1px solid #e0ebf5;border-radius:12px;flex-direction:column;align-items:center;gap:8px;padding:15px;display:flex}.rewards-surface .chat-profile .avatar{width:42px;height:42px;font-size:13px}.rewards-surface .chat-profile strong{font-size:13px}.rewards-surface .chat-profile span:last-child{color:#889bb0;font-size:10px}.rewards-surface .chat-panel{flex-direction:column;min-width:0;min-height:0;display:flex}.rewards-surface .chat-panel>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:16px 24px;font-size:13px;display:flex}.rewards-surface .chat-panel>header small{margin-top:3px;font-size:10px;display:block}.rewards-surface .messages{flex-direction:column;flex:1;align-items:flex-start;gap:16px;min-height:0;padding:25px;display:flex;overflow:auto}.rewards-surface .message{overflow-wrap:anywhere;background:#f3f6fa;border:1px solid #e6edf5;border-radius:14px;min-width:160px;max-width:85%;padding:12px 15px;font-size:12px}.rewards-surface .message small{color:#8e9eb0;margin-bottom:6px;font-size:9px;display:block}.rewards-surface .message p{white-space:pre-wrap}.rewards-surface .message.self{background:#eef5ff;border-color:#dbe9f8;align-self:flex-end}.rewards-surface .message.event{color:#7c92a9;background:#fafcfe;border-style:dashed;align-self:center;font-size:11px}.rewards-surface .message .text-btn{margin-top:7px}.rewards-surface .composer{border-top:1px solid var(--border);background:#fbfdff;padding:18px 24px}.rewards-surface .composer textarea{resize:none;border-color:#dde7f2;width:100%;height:75px;font-size:12px}.rewards-surface .composer footer{justify-content:space-between;align-items:center;margin-top:9px;display:flex}.rewards-surface .composer footer>span{color:#91a0b2;font-size:10px}.rewards-surface .opaque .sidebar{-webkit-backdrop-filter:none;backdrop-filter:none;background:#f4f9ff}.rewards-surface .opaque .board{background:#fff}.rewards-surface .opaque .dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}.rewards-surface .opaque .role-picker{background:#fff}@container (width<=1280px){.rewards-surface .shell{grid-template-columns:155px minmax(0,1fr);gap:12px}.rewards-surface .task-layout{grid-template-columns:255px minmax(0,1fr)}.rewards-surface .detail-scroll{padding:20px}.rewards-surface .task-hero{gap:10px;padding:19px 17px}.rewards-surface .task-hero h2{font-size:18px}.rewards-surface .hero-reward{min-width:103px;padding-left:14px}.rewards-surface .hero-reward>div{font-size:34px}.rewards-surface .task-hero p{font-size:10px}.rewards-surface .board-heading{padding:22px 25px 18px}.rewards-surface .quantity-strip{padding:19px 0}.rewards-surface .sidebar{padding-left:8px;padding-right:8px}.rewards-surface .brand{font-size:20px}.rewards-surface .person{padding-left:4px}.rewards-surface .local-state{font-size:10px}.rewards-surface .detail-footer{padding:13px 20px}}@container (width<=1100px){.rewards-surface .shell{grid-template-columns:64px minmax(0,1fr)}.rewards-surface .sidebar{padding:20px 7px}.rewards-surface .brand{padding:0 7px 30px}.rewards-surface .brand>div,.rewards-surface .nav-label,.rewards-surface .nav>span,.rewards-surface .nav-context>span,.rewards-surface .local-state,.rewards-surface .person>div{display:none}.rewards-surface .nav,.rewards-surface .nav-context{justify-content:center;padding:12px 8px}.rewards-surface .person{justify-content:center;padding-left:0;padding-right:0}.rewards-surface .task-layout{grid-template-columns:240px minmax(0,1fr)}.rewards-surface .hero-meta{font-size:9px}.rewards-surface .hero-reward{min-width:95px}.rewards-surface .task-hero h2{font-size:17px}.rewards-surface .row-status small{display:none}.rewards-surface .tabs{gap:21px}.rewards-surface .detail-footer .btn{padding:7px 11px}.rewards-surface .task-card{padding:15px 12px}}@container (width<=820px){.rewards-surface .shell{gap:10px;padding:10px}.rewards-surface .crumb{display:none}.rewards-surface .topbar{justify-content:flex-end;height:48px;padding-left:0;padding-right:0}.rewards-surface .task-layout{grid-template-columns:1fr}.rewards-surface .task-detail{display:none}.rewards-surface .task-layout.show-detail .task-detail{display:flex}.rewards-surface .task-layout.show-detail .task-list{display:none}.rewards-surface .task-list{border-right:0}.rewards-surface .task-card{padding:20px}.rewards-surface .task-scroll{grid-template-columns:1fr 1fr;align-content:start;gap:14px;display:grid}.rewards-surface .task-meta{font-size:11px}.rewards-surface .task-card p{font-size:12px}.rewards-surface .back-mobile{color:#6484a5;align-items:center;gap:7px;margin:0 0 16px;padding:0;font-size:12px;display:flex}.rewards-surface .task-hero h2{font-size:19px}.rewards-surface .board-heading{padding:21px}.rewards-surface .board-heading h1{font-size:25px}.rewards-surface .tabs{gap:20px;padding:0 21px;overflow-x:auto}.rewards-surface .page-scroll{padding:21px}.rewards-surface .payment-table-head,.rewards-surface .payment-row{grid-template-columns:minmax(100px,1fr) 70px 40px 40px 80px;gap:5px}.rewards-surface .chat-layout{grid-template-columns:180px minmax(0,1fr)}.rewards-surface .chat-context{padding:20px 12px}.rewards-surface .hero-meta{font-size:10px}.rewards-surface .detail-footer{padding:13px 20px}.rewards-surface .board{border-radius:20px}}@container (width<=540px){.rewards-surface .shell{padding:6px;display:flex}.rewards-surface .sidebar{display:none}.rewards-surface .workspace{flex:1;width:100%}.rewards-surface .topbar{justify-content:space-between;min-height:46px}.rewards-surface .top-actions{justify-content:space-between;gap:3px;width:100%}.rewards-surface .demo-tag{padding:3px 6px;font-size:9px}.rewards-surface .role-picker{padding:0 5px}.rewards-surface .role-picker select{padding:6px 2px;font-size:11px}.rewards-surface .role-picker>svg{display:none}.rewards-surface .top-actions .icon{width:26px}.rewards-surface .board-heading{gap:8px;padding:19px 16px 16px}.rewards-surface .board-heading p{max-width:235px;font-size:10px}.rewards-surface .eyebrow{letter-spacing:1px;font-size:9px}.rewards-surface .board-heading h1{font-size:23px}.rewards-surface .board-heading .btn{padding:7px 10px;font-size:11px}.rewards-surface .guide-link{white-space:nowrap;font-size:10px}.rewards-surface .tabs{gap:19px;padding:0 16px}.rewards-surface .tabs button{padding-bottom:11px;font-size:12px}.rewards-surface .tabs button>span{margin-left:3px}.rewards-surface .task-list{padding:15px 13px 10px}.rewards-surface .task-scroll{display:block}.rewards-surface .task-card{margin-bottom:13px;padding:18px}.rewards-surface .task-card>p{margin:5px 0 13px}.rewards-surface .task-card-top{margin-bottom:10px}.rewards-surface .task-meta{font-size:10px}.rewards-surface .task-card h3{font-size:15px}.rewards-surface .detail-scroll{padding:16px 13px}.rewards-surface .task-hero{gap:10px;padding:16px 13px}.rewards-surface .task-hero h2{max-width:190px;font-size:16px}.rewards-surface .hero-kicker{letter-spacing:.5px;font-size:8px}.rewards-surface .hero-reward{min-width:75px;padding-left:10px}.rewards-surface .hero-reward>div{font-size:28px}.rewards-surface .hero-reward small,.rewards-surface .hero-reward>span{font-size:8px}.rewards-surface .hero-meta{gap:4px;font-size:8px}.rewards-surface .task-hero p{margin-bottom:10px;font-size:10px}.rewards-surface .hero-meta .avatar{display:none}.rewards-surface .quantity-strip{grid-template-columns:repeat(4,1fr);gap:15px 0;padding:18px 0}.rewards-surface .quantity-strip>div:nth-child(4){border:0}.rewards-surface .quantity-strip strong{font-size:20px}.rewards-surface .quantity-strip span{font-size:9px}.rewards-surface .detail-section{padding-top:17px}.rewards-surface .section-title{align-items:flex-start;gap:8px}.rewards-surface .section-title h3{font-size:13px}.rewards-surface .section-title h2{font-size:17px}.rewards-surface .promise{align-items:flex-start;font-size:9px}.rewards-surface .delivery-row{gap:7px;padding:12px 8px}.rewards-surface .delivery-open{gap:7px}.rewards-surface .file-icon{width:28px;height:32px}.rewards-surface .delivery-open strong{max-width:125px;font-size:11px}.rewards-surface .delivery-open small{font-size:8px}.rewards-surface .delivery-row .btn.small{padding:5px 8px;font-size:10px}.rewards-surface .row-status .badge{font-size:8px}.rewards-surface .delivery-row>.icon{width:20px}.rewards-surface .detail-footer{gap:6px;padding:12px}.rewards-surface .detail-footer .btn{min-height:36px;padding:7px 10px;font-size:11px}.rewards-surface .footer-right{gap:5px}.rewards-surface .footer-right .muted{max-width:160px;font-size:10px}.rewards-surface .page-scroll{padding:20px 13px}.rewards-surface .page-scroll>.section-title p{font-size:10px}.rewards-surface .page-scroll>.section-title .btn{padding:7px 9px;font-size:10px}.rewards-surface .group{padding:14px 10px}.rewards-surface .group h3{font-size:12px}.rewards-surface .group .avatar{width:25px;height:25px;font-size:8px}.rewards-surface .group .section-title{align-items:center}.rewards-surface .payment-table-head,.rewards-surface .payment-row{grid-template-columns:minmax(90px,1fr) 44px 33px 33px 69px;gap:3px;padding:10px 4px;font-size:10px}.rewards-surface .payment-row .badge{padding:2px 3px;font-size:8px}.rewards-surface .payment-row small{font-size:8px}.rewards-surface .reward-summaries>div{min-width:200px;padding:15px}.rewards-surface .reward-summaries{gap:9px}.rewards-surface .record-total{font-size:20px}.rewards-surface .chat-layout{flex-direction:column;display:flex}.rewards-surface .chat-context{border-right:0;border-bottom:1px solid var(--border);align-items:center;gap:8px;padding:10px 13px;display:flex}.rewards-surface .chat-context h3,.rewards-surface .chat-context p,.rewards-surface .chat-profile,.rewards-surface .chat-context>.btn{display:none}.rewards-surface .chat-context .field{flex:1;min-width:0;margin:0}.rewards-surface .chat-context .field>span{font-size:9px}.rewards-surface .chat-context select{padding:6px;font-size:10px}.rewards-surface .chat-panel{flex:1}.rewards-surface .chat-panel>header{padding:12px 15px}.rewards-surface .messages{padding:15px}.rewards-surface .composer{padding:12px 13px}.rewards-surface .composer footer>span{font-size:9px}.rewards-surface .dialog{max-height:calc(100dvh - 24px);padding:20px 17px}.rewards-surface .dialog>header h2{font-size:18px}.rewards-surface .form-grid{grid-template-columns:1fr}.rewards-surface .payout-lines{font-size:11px}.rewards-surface .payout-lines>label{gap:6px}.rewards-surface .payout-lines input[type=number]{width:72px}.rewards-surface .payout-lines>label>span:first-of-type{font-size:11px}.rewards-surface .modal-actions{gap:7px}.rewards-surface .modal-actions .btn{padding:8px 11px;font-size:11px}.rewards-surface .item-reward{gap:10px;padding:13px}.rewards-surface .item-reward strong{font-size:15px}.rewards-surface .item-reward>span{font-size:9px}.rewards-surface .open-summary{gap:12px;font-size:10px}.rewards-surface .toast{padding:11px 14px;font-size:11px}.rewards-surface .board{border-radius:17px}}@media (prefers-reduced-motion:reduce){.rewards-surface *{scroll-behavior:auto!important;transition:none!important}}@media (prefers-reduced-transparency:reduce){.rewards-surface .sidebar,.rewards-surface .board,.rewards-surface .role-picker{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff}.rewards-surface .dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}}.rewards-surface .mobile-settings{display:none}.rewards-surface .tabs{overflow-y:hidden}.rewards-surface .tabs button.active:after{bottom:0}@container (width<=540px){.rewards-surface .mobile-settings{display:inline-flex}}.rewards-surface .avatar.reviewer{color:#38789c;background:#e1eff8}.rewards-surface .home-page{border-top:1px solid var(--border)}.rewards-surface .home-welcome{background:linear-gradient(110deg,#f4f9ff,#eaf3ff);border:1px solid #dae8f8;border-radius:18px;justify-content:space-between;align-items:center;gap:30px;margin-bottom:30px;padding:29px 30px;display:flex}.rewards-surface .home-welcome h2{letter-spacing:-.5px;margin:7px 0 10px;font-size:24px}.rewards-surface .home-welcome p{color:var(--muted);margin-bottom:19px;font-size:12px;line-height:1.9}.rewards-surface .home-todo{color:#66819f;border-left:1px solid #d7e5f6;flex-direction:column;gap:8px;min-width:210px;padding-left:30px;font-size:11px;display:flex}.rewards-surface .home-todo strong{color:#3274b9;font-size:42px;font-weight:600;line-height:1.2}.rewards-surface .home-todo strong small{font-size:13px}.rewards-surface .home-market>.section-title{align-items:center;margin-bottom:18px}.rewards-surface .home-market h2{align-items:center;gap:10px;display:flex}.rewards-surface .home-market .muted{margin-top:5px;font-size:11px}.rewards-surface .home-task-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:16px;display:grid}.rewards-surface .home-task-grid .task-card{height:100%;margin:0;padding:20px}.rewards-surface .home-task-grid .task-card h3{font-size:15px}.rewards-surface .home-task-grid .task-card:hover{border-color:#95bdec;box-shadow:0 6px 20px #3e7ec512}.rewards-surface .sort-hint{color:#72859b;margin:-3px 0 12px;font-size:10px}.rewards-surface .filled-note{color:#957d5c;margin-top:10px;font-size:10px;line-height:1.8}.rewards-surface .task-card.filled{background:#fafbfc;border-color:#e3e8ef}.rewards-surface .task-card.filled .reward-line strong{color:#6b819a}.rewards-surface .task-card.filled.selected{border-color:#9bb7d9}.rewards-surface .home-role-note{color:#71869d;align-items:center;gap:9px;padding:23px 0 5px;font-size:11px;display:flex}.rewards-surface .home-page .task-meta{flex-wrap:wrap}.rewards-surface .home-mobile-nav{display:none}@container (width<=1100px){.rewards-surface .home-task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rewards-surface .home-welcome{gap:20px;padding:24px}.rewards-surface .home-welcome h2{font-size:21px}.rewards-surface .home-todo{min-width:165px;padding-left:20px}.rewards-surface .home-todo>span:last-child{max-width:165px}}@container (width<=540px){.rewards-surface .home-task-grid{grid-template-columns:1fr;gap:13px}.rewards-surface .home-welcome{margin-bottom:22px;padding:20px;display:block}.rewards-surface .home-welcome h2{font-size:20px}.rewards-surface .home-welcome p{font-size:11px}.rewards-surface .home-todo{border-top:1px solid #d7e5f6;border-left:0;grid-template-columns:1fr auto;align-items:center;margin-top:22px;padding:14px 0 0;display:grid}.rewards-surface .home-todo strong{grid-area:1/2/3;font-size:28px}.rewards-surface .home-todo>span:last-child{max-width:none;font-size:10px}.rewards-surface .home-market>.section-title{gap:10px}.rewards-surface .home-market .muted{max-width:220px;font-size:10px}.rewards-surface .home-task-grid .task-card{padding:19px}.rewards-surface .home-role-note{align-items:flex-start;font-size:10px}.rewards-surface .home-mobile-nav{color:#5e83ac;align-items:center;gap:7px;margin:-3px 0 16px;font-size:11px;display:flex}}.rewards-surface{color:#182c46;height:100%;min-height:0;font-size:14px}.rewards-surface .preview-root,.rewards-surface .workspace{height:100%;min-height:0}.rewards-surface .board{height:100%}.rewards-surface .home-market-actions{gap:10px;display:flex}.rewards-surface.on-home{height:auto}.rewards-surface.on-home .board{box-shadow:none;background:0 0;border:0}.rewards-surface.on-home .board-heading,.rewards-surface.on-home .home-welcome,.rewards-surface.on-home .home-role-note{display:none}.rewards-surface.on-home .home-page{border:0;padding:0;overflow:visible}.rewards-surface.on-home .home-task-grid .task-card{flex-direction:column;align-items:stretch;display:flex}.rewards-load{padding:30px}.rewards-surface .dialog{color:#182c46;background:#fff}.rewards-workspace .main-content{height:100%;min-height:0;overflow:hidden}.rewards-workspace .app-content{min-height:0}.rewards-surface.on-home .home-page{width:100%;max-width:none;margin:0 0 30px}.rewards-surface.on-home .home-task-grid{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr))}:root[data-reduce-transparency=true] .rewards-surface .dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}.rewards-surface .preview-root{min-width:0}.rewards-surface .reward-publish{flex-direction:column;gap:20px;display:flex}.rewards-surface .publish-switches{grid-template-columns:1fr 1fr;gap:22px;display:grid}.rewards-surface .control-caption{color:#60738c;margin-bottom:8px;font-size:12px;display:block}.rewards-surface .publish-switches .segmented{background:#f1f6fc;border-radius:13px;margin:0;padding:4px}.rewards-surface .publish-switches .segmented button{flex:1;justify-content:center;align-items:center;gap:5px;min-height:44px;padding:9px 10px;font-size:13px;display:flex}.rewards-surface .publish-switches .segmented button span{color:#60738c;font-size:11px;font-weight:400;display:block}.rewards-surface .publish-switches>div:first-child .segmented button{flex-direction:column;gap:0}.rewards-surface .publish-title{outline-offset:4px;background:0 0;border:0;border-bottom:1px solid #dfe9f3;border-radius:0;width:100%;padding:5px 1px 12px;font-size:21px;font-weight:600;line-height:1.5}.rewards-surface .publish-brief{resize:vertical;outline-offset:4px;background:0 0;border:0;border-radius:0;width:100%;min-height:72px;padding:0 1px;font-size:14px;line-height:1.7}.rewards-surface .publish-title::placeholder{color:#8293a8;font-weight:500}.rewards-surface .publish-brief::placeholder{color:#8293a8}.rewards-surface .publish-recipients header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.rewards-surface .publish-recipients strong{align-items:center;gap:7px;font-size:13px;display:flex}.rewards-surface .publish-recipients header small{color:#60738c;font-size:11px}.rewards-surface .recipient-options{flex-wrap:wrap;gap:9px;max-height:155px;padding:2px;display:flex;overflow:auto}.rewards-surface .recipient-options>button{background:#fff;border:1px solid #dbe6f4;border-radius:24px;align-items:center;gap:7px;min-height:44px;padding:5px 12px 5px 5px;font-size:13px;display:flex}.rewards-surface .recipient-options>button>span{color:#3877c5;background:#eff5ff;border-radius:50%;place-items:center;width:30px;height:30px;font-size:10px;display:grid}.rewards-surface .recipient-options>button.selected{color:#0869df;background:#f0f6ff;border-color:#1673e9}.rewards-surface .recipient-options>button small{font-size:10px}.rewards-surface .publish-recipients .hint{align-items:center;gap:5px;margin-top:10px;font-size:11px;display:flex}.rewards-surface .recipient-search{border-bottom:1px solid #dfe9f3;align-items:center;gap:8px;margin:0 0 8px;padding:0 0 8px;display:flex}.rewards-surface .recipient-search input{outline-offset:2px;background:0 0;border:0;width:100%;min-width:0;padding:4px}.rewards-surface .publish-numbers{border-top:1px solid #e6eef8;border-bottom:1px solid #e6eef8;grid-template-columns:1fr 1fr;gap:28px;padding:16px 0;display:grid}.rewards-surface .publish-numbers.single{grid-template-columns:1fr}.rewards-surface .reward-slider{min-width:0}.rewards-surface .reward-slider-heading{justify-content:space-between;align-items:center;gap:10px;min-height:44px;display:flex}.rewards-surface .reward-slider-heading>span{font-size:13px;font-weight:500}.rewards-surface .slider-value{color:#0869df;text-align:right;background:0 0;border:0;min-width:60px;min-height:44px;padding:2px 0 2px 12px;font-size:22px;font-weight:650}.rewards-surface .slider-value small{margin-left:6px;font-size:12px;font-weight:400}.rewards-surface .reward-slider-heading input{border:1px solid #aacbf5;border-radius:8px;width:110px;min-width:0;min-height:40px;padding:6px 9px;font-size:17px}.rewards-surface .reward-slider input[type=range]{accent-color:#1673e9;width:100%;height:32px;min-height:32px;box-shadow:none;cursor:pointer;background:0 0;border:0;padding:0;display:block}.rewards-surface .slider-scale{color:#7c8da3;justify-content:space-between;align-items:center;gap:6px;font-size:10px;display:flex}.rewards-surface .publish-more{border:0!important;margin:0!important;padding:0!important}.rewards-surface .publish-more summary{color:#526f91;cursor:pointer;align-items:center;gap:8px;min-height:44px;font-size:12px;list-style:none;display:flex}.rewards-surface .publish-more summary small{color:#8796aa;margin-left:auto;font-weight:400}.rewards-surface .publish-more[open] .form-grid{margin-top:12px}.rewards-surface .publish-actions{align-items:center;gap:10px;border-top:0!important;margin:0!important;padding-top:0!important}.rewards-surface .publish-actions>.hint{flex:1;font-size:11px}.rewards-surface .publish-actions .btn{min-height:44px}.rewards-surface .reward-publish button:focus-visible,.rewards-surface .reward-slider button:focus-visible,.rewards-surface .reward-slider input:focus-visible{outline-offset:3px;outline:2px solid #1673e9}@container (width<=560px){.rewards-surface .publish-switches{grid-template-columns:1fr;gap:12px}.rewards-surface .reward-publish{gap:16px}.rewards-surface .publish-numbers{grid-template-columns:1fr;gap:16px}.rewards-surface .publish-title{font-size:19px}.rewards-surface .publish-actions{flex-wrap:wrap}.rewards-surface .publish-actions>.hint{flex-basis:100%}.rewards-surface .publish-recipients header{flex-wrap:wrap;gap:4px}}.rewards-surface .reward-refresh{flex:none;align-items:center;gap:12px;padding:0 30px 12px;display:flex}.rewards-surface .reward-refresh small{color:#61758c}.rewards-surface .points-progress{background:#f2f7ff;border:1px solid #d5e5fb;border-radius:16px;flex:none;align-items:center;gap:18px;margin:0 30px 15px;padding:14px 18px;display:flex}.rewards-surface .points-score{flex-direction:column;gap:5px;min-width:125px;display:flex}.rewards-surface .points-score>strong{color:#1673e9;font-size:25px}.rewards-surface .points-score small{color:#61758c;font-size:13px;font-weight:500}.rewards-surface .points-rule{flex:1;min-width:0}.rewards-surface .points-rule>div{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.rewards-surface .points-rule progress{accent-color:#1673e9;width:100%;height:6px;margin:8px 0;display:block}.rewards-surface .points-rule small{color:#61758c;font-size:11px;line-height:1.6}.rewards-surface .target-list{gap:12px;margin:18px 0;display:grid}.rewards-surface .target-row{background:#fff;border:1px solid #dae6f5;border-radius:14px;grid-template-columns:minmax(150px,1fr) minmax(100px,.65fr) auto;align-items:center;gap:16px;padding:18px;display:grid}.rewards-surface .target-row>div:not(.target-actions){flex-direction:column;align-items:flex-start;gap:7px;display:flex}.rewards-surface .target-row small{color:#61758c}.rewards-surface .target-actions{flex-wrap:wrap;gap:8px;display:flex}.rewards-surface .task-card>.badge{align-self:flex-start;margin:0 0 8px}.rewards-surface .filters{flex-wrap:wrap}.rewards-surface .detail-footer{flex-wrap:wrap;gap:10px}.rewards-surface .footer-right{flex-wrap:wrap}.rewards-surface .tabs{flex:none;overflow-x:auto}.rewards-surface .task-card .task-meta{flex-wrap:wrap;gap:5px}.rewards-surface .target-row strong{overflow-wrap:anywhere}@container (width<=720px){.rewards-surface .points-progress{flex-wrap:wrap;gap:10px;margin:0 14px 12px;padding:12px}.rewards-surface .points-rule{flex-basis:100%}.rewards-surface .points-score{flex-direction:row;align-items:baseline;gap:12px}.rewards-surface .points-score>strong{font-size:21px}.rewards-surface .reward-refresh{flex-wrap:wrap;padding:0 14px 10px}.rewards-surface .target-row{grid-template-columns:1fr 1fr}.rewards-surface .target-actions{grid-column:1/-1}.rewards-surface .detail-footer .footer-right{justify-content:flex-start}.rewards-surface .target-row{padding:14px}}@container (width<=540px){.rewards-surface .home-market>.section-title{flex-direction:column;align-items:stretch}.rewards-surface .home-market h2{white-space:nowrap}.rewards-surface .home-market-actions{align-self:flex-start}}.panel{background:var(--surface);border:1px solid var(--border);border-radius:22px;min-width:0;box-shadow:0 8px 28px #33638a08}.r2-heading{justify-content:space-between;align-items:center;gap:16px;padding:22px 26px;display:flex}.r2-heading p{color:var(--text-secondary);margin-top:6px;font-size:13px}.r2-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.r2-tabs{border-bottom:1px solid var(--border);gap:22px;padding:0 26px;display:flex;overflow-x:auto}.r2-tabs button{white-space:nowrap;color:var(--text-secondary);background:0 0;border:0;padding:13px 1px;font-size:13px;position:relative}.r2-tabs button.selected{color:var(--accent);font-weight:650}.r2-tabs button.selected:after{content:"";background:var(--accent);border-radius:3px;height:3px;position:absolute;bottom:0;left:0;right:0}.r2-hint{color:var(--text-secondary);font-size:12px;line-height:1.9}.r2-footer{border-top:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:10px;padding:18px 26px;display:flex}.r2-footer>span{color:var(--text-secondary);flex:1;font-size:12px}.two-fields{grid-template-columns:1fr 1fr;gap:12px;display:grid}.source-meta{overflow-wrap:anywhere;flex-direction:column;gap:5px;margin:14px 0;font-size:12px;display:flex}.source-meta span{color:var(--text-secondary)}.welcome-page{isolation:isolate;color:#fff;background:#376f9c;min-height:100vh;position:relative;overflow:hidden}.welcome-landscape{z-index:-1;background:linear-gradient(#194e7344,#1b5f8333),url(/demo/scene-3.jpg) 50%/cover;position:absolute;inset:0}.welcome-top{justify-content:space-between;align-items:center;max-width:1320px;margin:auto;padding:35px 40px;display:flex}.welcome-brand{align-items:center;gap:11px;font-size:27px;font-weight:750;display:flex}.welcome-top nav{align-items:center;gap:32px;display:flex}.welcome-top nav>button{color:#fff;background:0 0;border:0;font-size:14px}.welcome-top nav>.button{background:#ffffff21;border:1px solid #fff8;border-radius:999px;padding:9px 25px}.welcome-center{text-align:center;max-width:1100px;margin:105px auto 70px;padding:0 28px}.welcome-kicker{letter-spacing:4px;margin-bottom:16px;font-size:25px}.welcome-center h1{letter-spacing:1px;text-shadow:0 2px 20px #244c5b30;font-size:42px;font-weight:650}.welcome-center>p:not(.welcome-kicker){letter-spacing:2px;margin-top:18px;font-size:17px}.welcome-center .intent-box{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#ffffffb5;border:1px solid #fff;max-width:850px;margin:48px auto 38px;padding:11px 12px 11px 25px;box-shadow:0 0 0 5px #ffffff40,0 8px 25px #153e4e30}.welcome-center .intent-box input{color:#253d50;font-size:17px}.welcome-tools{grid-template-columns:repeat(6,1fr);gap:18px;max-width:960px;margin:auto;display:grid}.welcome-tools>button{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);color:#fff;background:#d5ecff3d;border:1px solid #ffffff6b;border-radius:22px;flex-direction:column;justify-content:center;align-items:center;gap:16px;min-height:130px;display:flex;box-shadow:inset 0 1px #ffffff60,0 10px 25px #16435b18}.welcome-tools>button:hover{background:#d5ecff66;transform:translateY(-3px)}.welcome-tools strong{font-size:14px;font-weight:550}.welcome-enter{color:#fff;background:0 0;border:1px solid #ffffff85;border-radius:999px;justify-content:center;align-items:center;gap:9px;margin:60px auto 20px;padding:10px 22px;display:flex}.welcome-note{color:#fffd;font-size:12px}.welcome-page .modal{color:var(--text-primary)}.assistant-page{background:linear-gradient(150deg,var(--surface),var(--surface-muted));flex-direction:column;max-width:1120px;height:calc(100vh - 100px);margin:0 auto;display:flex}.assistant-mark{width:37px;height:37px;color:var(--accent);background:var(--accent-soft);border-radius:13px;place-items:center;display:grid}.assistant-mark.large{border-radius:18px;width:55px;height:55px;box-shadow:inset 0 1px #fff,0 8px 20px #246eaa12}.assistant-scroll{flex:1;padding:20px 50px 28px;overflow:auto}.assistant-greeting{align-items:flex-start;gap:20px;padding:22px 0 28px;display:flex}.assistant-greeting h2{padding:3px 0 12px;font-size:21px}.assistant-greeting p{color:var(--text-secondary);font-size:15px;line-height:2}.assistant-suggestions{grid-template-columns:1fr 1fr;gap:14px;margin-left:75px;display:grid}.assistant-suggestions button{border:1px solid var(--border);background:var(--surface);text-align:left;border-radius:13px;align-items:center;gap:13px;padding:19px 17px;font-size:14px;display:flex}.assistant-suggestions button>svg:first-child{color:var(--accent)}.assistant-suggestions button:nth-child(3n)>svg:first-child{color:#19a682}.assistant-suggestions button:nth-child(4n)>svg:first-child{color:#9764e6}.assistant-suggestions button>svg:last-child{color:var(--text-secondary);margin-left:auto}.assistant-suggestions button:hover{background:var(--accent-soft)}.assistant-plan{margin-top:26px}.user-message{background:var(--accent-soft);border:1px solid var(--border);white-space:pre-wrap;border-radius:18px 18px 3px;max-width:85%;margin:0 0 23px auto;padding:16px 20px}.plan-step{border:1px solid var(--border);background:var(--surface);border-radius:14px;align-items:center;gap:12px;margin:12px 0;padding:14px;display:flex}.step-number{background:var(--accent-soft);width:29px;height:29px;color:var(--accent);border-radius:50%;place-items:center;display:grid}.plan-step>div{flex:1;min-width:0}.plan-step input{border:0;width:100%;margin-bottom:6px;padding:4px 6px;font-weight:600}.plan-step textarea{resize:vertical;width:100%;font-size:13px}.plan-step small{color:var(--text-secondary);font-size:12px}.assistant-composer{background:var(--surface);border:1px solid var(--border);border-radius:21px;margin:0 24px 22px;padding:18px 24px 20px;box-shadow:0 4px 20px #2c72951a}.assistant-composer>textarea{resize:vertical;outline-offset:0;background:0 0;border:0;width:100%;min-height:72px;padding:5px;font-size:15px}.composer-actions{align-items:center;gap:9px;display:flex}.composer-actions>span:nth-child(2){color:var(--text-secondary);flex:1;font-size:12px}.attachments{flex-wrap:wrap;gap:8px;display:flex}.attachments>span{background:var(--accent-soft);border-radius:7px;align-items:center;gap:5px;padding:5px 8px;font-size:12px;display:flex}.attachments button{background:0 0;border:0}.clarification p{margin-bottom:12px}.projects-page{min-height:calc(100vh - 100px);padding-bottom:24px}.projects-page>.error-notice{margin:16px}.project-list{grid-template-columns:repeat(3,1fr);gap:20px;padding:20px 26px;display:grid}.project-list>button{border:1px solid var(--border);background:linear-gradient(140deg,var(--accent-soft),var(--surface));text-align:left;border-radius:18px;flex-direction:column;align-items:flex-start;gap:12px;min-height:220px;padding:25px;display:flex}.project-list>button>svg{color:var(--accent)}.project-list strong{font-size:18px}.project-list p,.project-list small{color:var(--text-secondary)}.project-list>button>svg:last-child{align-self:flex-end}.project-overview{grid-template-columns:1.4fr 1fr;gap:20px;padding:24px 26px;display:grid}.project-cover{background:var(--surface-muted);border:1px solid var(--border);border-radius:16px;place-items:center;min-height:320px;display:grid;position:relative;overflow:hidden}.project-cover>img,.project-cover>video{object-fit:contain;width:100%;max-height:380px;display:block}.cover-change{position:absolute;bottom:12px;right:12px}.project-brief{background:var(--surface-muted);border-radius:16px;padding:18px 22px}.project-brief h3{margin-bottom:14px}.project-brief label{color:var(--text-secondary);flex-direction:column;gap:6px;margin-bottom:12px;font-size:12px;display:flex}.project-brief input,.project-brief textarea{width:100%;font-size:14px}.project-brief small{color:var(--text-secondary);font-size:12px}.project-start{padding:24px 26px}.project-start h3{margin-bottom:18px}.project-start>div{grid-template-columns:repeat(5,1fr);gap:14px;display:grid}.project-start .button{background:var(--surface-muted);flex-direction:column;min-height:98px;font-size:14px}.project-start p{color:var(--text-secondary);margin-bottom:20px}.asset-toolbar{align-items:center;gap:10px;padding:22px 26px;display:flex}.asset-toolbar>p{color:var(--text-secondary);flex:1;font-size:12px}.asset-grid{grid-template-columns:repeat(3,1fr);gap:18px;padding:0 26px;display:grid}.asset-card{border:1px solid var(--border);border-radius:14px;overflow:hidden}.asset-card>img,.asset-card>video{object-fit:contain;background:#17202a;width:100%;height:180px}.asset-card>div:last-child{padding:15px}.asset-card h3{overflow-wrap:anywhere;margin-bottom:6px}.asset-card small{color:var(--text-secondary);font-size:12px}.asset-card .r2-actions{margin-top:12px}.project-text-preview{white-space:pre-wrap;background:var(--surface-muted);max-height:180px;padding:18px;font-size:13px;overflow:auto}.analyze-page{min-height:calc(100vh - 100px)}.analyze-page>.error-notice{margin:12px 24px}.analysis-columns{grid-template-columns:minmax(0,1.2fr) minmax(320px,1fr);gap:26px;padding:24px 26px 12px;display:grid}.analysis-player{background:var(--surface-muted);border:1px solid var(--border);aspect-ratio:16/9;border-radius:14px;place-items:center;display:grid;overflow:hidden}.analysis-player video{object-fit:contain;background:#10151c;width:100%;height:100%}.analysis-source>.r2-actions{margin-top:16px}.analysis-results{min-width:0}.shot-list{max-height:400px;padding-right:5px;overflow:auto}.shot-row{border:1px solid var(--border);background:var(--surface-muted);border-radius:11px;margin-bottom:10px;padding:11px 12px}.shot-row.selected{border-color:var(--accent);background:var(--accent-soft)}.shot-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.shot-heading button{color:var(--accent);background:0 0;border:0;padding:2px;font-size:12px}.shot-heading small{color:var(--text-secondary);font-size:12px}.shot-times{gap:12px;margin:8px 0;display:flex}.shot-times label{color:var(--text-secondary);align-items:center;gap:6px;font-size:12px;display:flex}.shot-times input{width:85px;padding:4px 7px;font-size:12px}.shot-row textarea{width:100%;padding:8px;font-size:13px}.keyframe-section{padding:20px 26px 25px}.keyframe-strip{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;display:grid}.keyframe-strip button{background:var(--surface-muted);text-align:left;border:2px solid #0000;border-radius:11px;padding:0;overflow:hidden}.keyframe-strip button.selected{border-color:var(--accent)}.keyframe-strip img{aspect-ratio:16/9;object-fit:contain;background:#131821;width:100%;display:block}.keyframe-strip span{padding:7px 10px;font-size:12px;display:block}.titles-page{min-height:calc(100vh - 100px)}.titles-page>.error-notice{margin:0 24px 12px}.titles-columns{grid-template-columns:minmax(0,1fr) 350px;gap:23px;padding:5px 24px 22px;display:grid}.titles-main{min-width:0}.titles-preview{aspect-ratio:16/9;background:var(--surface-muted);border:1px solid var(--border);border-radius:15px;place-items:center;display:grid;position:relative;overflow:hidden}.titles-preview canvas{object-fit:contain;cursor:crosshair;background:#10151c;width:100%;height:100%;display:block;position:absolute;inset:0}.render-source{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute;top:0;left:0}.titles-playbar{align-items:center;gap:10px;margin-top:12px;display:flex}.titles-playbar>span{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px}.titles-playbar>input{min-width:40px;accent-color:var(--accent);flex:1;padding:0}.titles-properties{background:var(--surface-muted);border:1px solid var(--border);border-radius:14px;min-width:0;max-height:700px;overflow:auto}.titles-properties .r2-tabs{gap:14px;padding:0 15px}.titles-properties .r2-tabs button{font-size:12px}.title-template-grid{grid-template-columns:1fr 1fr;gap:11px;padding:16px;display:grid}.title-template{aspect-ratio:1.7;border:1px solid var(--border);color:#fff;background:linear-gradient(130deg,#426f9a,#8096a3);border-radius:9px;padding:8px;position:relative;overflow:hidden}.title-template strong{white-space:pre-line;text-shadow:1px 2px #30466c,-1px -1px #30466c;margin-bottom:17px;font-size:16px;font-weight:800;line-height:1.3;display:block}.title-template>span{color:#4b5e72;background:#ffffffdf;padding:3px;font-size:12px;position:absolute;bottom:0;left:0;right:0}.template-1{background:#fff3e5}.template-1 strong{color:#ff9237;text-shadow:1px 1px #fff,-1px -1px #fff}.template-2{background:#355477}.template-2 strong{color:#ffe078;font-size:27px}.template-3{background:#364150}.template-4{background:#6796a9}.template-5{background:#607b63}.layer-properties{border:0;border-top:1px solid var(--border);min-width:0;margin:0;padding:14px 17px}.layer-properties legend{padding:0 8px;font-size:13px;font-weight:600}.layer-properties label{color:var(--text-secondary);flex-direction:column;gap:5px;margin-bottom:10px;font-size:12px;display:flex}.layer-properties input,.layer-properties textarea{width:100%;padding:7px 9px;font-size:13px}.layer-properties input[type=color]{height:36px;padding:4px}.layer-properties p,.motion-options p,.subtitle-styles p{color:var(--text-secondary);margin:5px 0 12px;font-size:12px;line-height:1.8}.property-empty{min-height:170px;color:var(--text-secondary);justify-content:center;align-items:center;gap:13px;font-size:13px;display:flex}.motion-options,.subtitle-styles{flex-wrap:wrap;gap:10px;padding:18px;display:flex}.motion-options p,.subtitle-styles p{width:100%}.motion-options [aria-pressed=true]{color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}.layer-timeline{border:1px solid var(--border);border-radius:14px;margin-top:20px;padding:16px}.layer-timeline .section-heading{margin-bottom:13px}.timeline-row{background:var(--surface-muted);border:1px solid #0000;border-radius:7px;align-items:center;gap:12px;width:100%;min-height:39px;margin-top:7px;padding:6px 10px;display:flex}.timeline-row.selected{border-color:var(--accent)}.timeline-row>span{text-overflow:ellipsis;white-space:nowrap;text-align:left;width:105px;font-size:12px;overflow:hidden}.timeline-row>div{background:var(--surface);border-radius:4px;flex:1;height:25px;position:relative;overflow:hidden}.timeline-row i{color:#1c5594;white-space:nowrap;background:#b7d5fb;border-radius:4px;height:100%;font-size:11px;font-style:normal;line-height:25px;position:absolute;top:0}.timeline-empty{color:var(--text-secondary);text-align:center;padding:25px 5px;font-size:13px}.titles-export{border-top:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:10px;padding:18px 24px;display:flex}.titles-export>div{flex:1;min-width:260px}.titles-export strong{font-size:13px;font-weight:550}.titles-export small{color:var(--text-secondary);margin-top:5px;font-size:12px;display:block}.project-context-bar{background:var(--accent-soft);border:1px solid var(--border);border-radius:10px;align-items:center;gap:12px;margin-bottom:10px;padding:7px 15px;font-size:12px;display:flex}.project-context-bar>span{flex:1}.panel .button.primary:hover{background:linear-gradient(var(--accent-top),var(--accent-bottom))}@media (width<=1200px){.titles-columns{grid-template-columns:minmax(0,1fr) 300px;gap:15px;padding:5px 16px 20px}.assistant-scroll{padding:15px 25px}.assistant-suggestions{margin-left:0}.analysis-columns{grid-template-columns:minmax(0,1.1fr) minmax(280px,1fr);gap:18px;padding:20px}.project-overview{grid-template-columns:1.1fr 1fr}.plan-step{flex-wrap:wrap}.plan-step>.button{margin-left:42px}.composer-actions>.save-indicator{display:none}.welcome-center h1{font-size:36px}.asset-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=960px){.titles-columns,.analysis-columns,.project-overview{grid-template-columns:1fr}.titles-properties{max-height:none}.title-template-grid{grid-template-columns:repeat(3,1fr)}.titles-properties .layer-properties{display:block}.project-list{grid-template-columns:repeat(2,1fr)}.project-start>div{grid-template-columns:repeat(3,1fr)}.r2-heading{flex-wrap:wrap;padding:18px}.r2-heading .heading-inline{flex-wrap:wrap}.assistant-suggestions{gap:8px}.assistant-composer{margin:0 14px 15px;padding:13px}.composer-actions>span:nth-child(2){display:none}.composer-actions>.button:first-of-type{margin-left:auto}.welcome-center{margin-top:70px}.welcome-tools{gap:10px}.welcome-tools>button{min-height:110px}.welcome-top{padding:25px}.welcome-top nav{gap:18px}.keyframe-strip{grid-template-columns:repeat(3,1fr)}.shot-list{max-height:350px}.titles-preview{max-height:480px}.panel .empty-state{padding:25px 15px}.asset-toolbar{flex-wrap:wrap}}@media (width<=650px){.welcome-center h1{font-size:29px}.welcome-kicker{font-size:20px}.welcome-tools{grid-template-columns:repeat(3,1fr)}.welcome-center{margin-top:45px}.welcome-enter{margin-top:30px}.assistant-suggestions{grid-template-columns:1fr}.assistant-greeting{gap:12px}.assistant-greeting h2{font-size:18px}.assistant-scroll{padding:10px 18px}.project-list,.asset-grid{grid-template-columns:1fr}.r2-tabs{gap:18px;padding:0 18px}.titles-playbar{flex-wrap:wrap}.titles-playbar>input{flex-basis:100%}.project-start>div{grid-template-columns:repeat(2,1fr)}}[data-reduce-transparency=true] .welcome-tools>button,[data-reduce-transparency=true] .welcome-top .button{-webkit-backdrop-filter:none;backdrop-filter:none;background:#427ea8}[data-reduce-transparency=true] .welcome-center .intent-box{-webkit-backdrop-filter:none;backdrop-filter:none;background:#f4faff}[data-theme=dark] .title-template>span{color:#e5effc;background:#17283be8}[data-theme=dark] .timeline-row i{color:#e4efff;background:#244e7b}.real-generation-entry{color:var(--accent);border-color:#8bbdee}.writer-workspace>.real-generation-entry{width:fit-content;margin:8px 24px}.real-task{background:var(--surface-muted);border-radius:12px;margin:15px 0;padding:16px}.real-task p{margin:8px 0;font-size:13px}.real-task small{color:var(--text-secondary);margin-top:12px;display:block}.real-history{margin:18px 0;font-size:12px}.real-history .button{margin:5px}.real-history summary{cursor:pointer;color:var(--text-secondary)}.analysis-source{min-width:0}.analysis-player{aspect-ratio:auto;flex-direction:column;justify-content:center;min-height:280px;display:flex}.analysis-player.has-media{min-height:0;aspect-ratio:var(--media-ratio);width:min(100%,calc(62vh * var(--media-ratio)));background:#10151c;max-height:62vh;margin-inline:auto;position:relative}.analysis-player.has-media video{object-fit:contain;width:100%;min-width:0;height:100%;min-height:0;display:block;position:absolute;inset:0}.analysis-player .empty-state{width:100%;padding:28px 16px}.local-project-art{height:110px;color:var(--accent);background:linear-gradient(145deg,var(--accent-soft),var(--surface-muted));place-items:center;display:grid}.analysis-history{padding:12px 26px;font-size:12px}.analysis-history select{margin-left:12px}.analysis-cloud-actions{flex-wrap:wrap;gap:8px;margin-top:20px;display:flex}.analysis-cloud-actions p{color:var(--text-secondary);margin:0;font-size:12px;line-height:1.7}.analysis-job-status{background:var(--surface-muted);border-radius:12px;padding:20px}.transcript-list{max-height:440px;overflow:auto}.transcript-list article{margin-bottom:12px}.transcript-list button{color:var(--accent);background:0 0;border:0;padding:5px 0}.transcript-list textarea{width:100%;padding:10px}.separated-track{background:var(--surface-muted);border-radius:12px;gap:12px;margin-bottom:12px;padding:16px;display:grid}.separated-track audio{width:100%;min-width:0}.analysis-summary{white-space:pre-wrap;line-height:1.8}.analysis-scope{color:var(--text-secondary);font-size:12px}.project-sync-status{color:var(--text-secondary);justify-content:flex-end;align-items:center;gap:12px;padding:12px 24px 0;font-size:12px;display:flex}.project-list-item{background:var(--surface-muted);border:1px solid var(--border);border-radius:16px;min-width:0;padding:14px}.project-list-item>button:first-child{text-align:left;background:0 0;border:0;gap:10px;width:100%;padding:4px;display:grid}.project-list-item>.button{margin-top:12px}.project-management,.project-undo,.library-reuse{flex-wrap:wrap;align-items:center;gap:10px;margin:16px 26px;display:flex}.asset-review{border-top:1px solid var(--border);gap:10px;margin-top:16px;padding-top:14px;display:grid}.asset-review label{justify-content:space-between;align-items:center;gap:8px;display:flex}.asset-review textarea{resize:vertical;width:100%;padding:10px}.review-comment{background:var(--surface-muted);overflow-wrap:anywhere;border-radius:10px;padding:10px}.review-comment p{white-space:pre-wrap;margin:0 0 8px}.review-comment time{color:var(--text-secondary);font-size:11px}.asset-reuse{margin-top:10px;font-size:12px}.asset-reuse summary{color:var(--accent);cursor:pointer;padding:6px 0}.asset-reuse .r2-actions{margin-top:8px}.writer-personal-reuse{margin:12px 24px}.project-brief select{width:100%}.analysis-deliverables{gap:10px;padding:16px 26px 0;display:flex}.analysis-deliverables button{background:var(--surface-muted);border:1px solid var(--border);color:var(--text);border-radius:12px;flex:1;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.analysis-deliverables span{color:var(--text-secondary);font-size:12px}.analysis-creation{border:1px solid var(--border);background:var(--surface-muted);border-radius:16px;gap:12px;margin:12px 26px 24px;padding:20px;display:grid}.analysis-creation h3{margin:0}.analysis-creation p{color:var(--text-secondary);margin:8px 0 0;font-size:12px}.analysis-creation textarea{resize:vertical;border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);font:inherit;border-radius:10px;padding:12px}.analysis-creation .button{justify-self:end}.analysis-summary{white-space:pre-wrap;font-size:14px;line-height:1.8}@media (width<=680px){.analysis-deliverables{flex-direction:column;padding-inline:14px}.analysis-creation{margin-inline:14px}.analysis-creation .button{justify-self:stretch}}.analyze-page{--analysis-reading:18px}.as-view-tools{align-items:center;gap:10px;margin-left:auto;display:flex}.as-view-tools select{padding:7px;font-size:12px}.as-view-bar{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding-right:24px;display:flex}.as-view-bar .r2-tabs{border:0;flex-wrap:wrap;gap:18px;min-width:0}.analyze-page .analysis-overview{border-bottom:1px solid var(--border);grid-template-columns:320px minmax(0,1fr);gap:26px;padding:22px 26px;display:grid}.analysis-overview[hidden]{display:none}.analysis-overview .analysis-player.has-media{max-height:260px;width:min(100%,calc(260px * var(--media-ratio)))}.analysis-overview .source-meta>strong{font-size:12px;line-height:1.7}.analysis-overview .source-meta{margin-top:10px}.analysis-source-actions{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:10px;padding:16px 26px;display:flex}.analysis-source-actions .analysis-cloud-actions{margin-top:0;display:contents}.analysis-source-actions .analysis-cloud-actions p{width:100%;margin-top:4px}.as-timeline{min-width:0;padding-top:4px}.as-timeline .section-heading{margin-bottom:17px}.as-timeline h3{font-size:16px}.as-timeline .section-heading>span{font-size:12px}.as-timeline>p{color:var(--text-secondary);margin:14px 0 0 70px;font-size:12px;line-height:1.8}.as-ruler{color:var(--text-secondary);justify-content:space-between;margin-bottom:9px;margin-left:70px;font-size:11px;display:flex}.as-track{align-items:center;gap:10px;margin-bottom:10px;display:flex}.as-track>label{width:60px;color:var(--text-secondary);flex-shrink:0;align-items:center;gap:5px;font-size:12px;display:flex}.as-track>div{background:var(--surface-muted);border-radius:7px;flex:1;height:32px;position:relative;overflow:hidden}.as-track button{text-overflow:ellipsis;white-space:nowrap;text-align:left;border:1px solid var(--surface);background:var(--accent-soft);height:32px;color:var(--text-primary);border-radius:6px;max-width:100%;padding:5px 8px;font-size:11px;display:block;position:absolute;top:0;overflow:hidden}.as-track button.as-dialogue-track{color:#2a645d;background:#e5f3ef}.as-track button.as-sound-track{color:#665283;background:#f0ecf9}.as-track-empty{color:var(--text-secondary);padding:0 10px;font-size:11px;line-height:32px}.as-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:22px 26px 18px;display:flex}.as-heading>div{align-items:center;gap:14px;display:flex}.as-heading h3{margin:0;font-size:19px}.as-heading span{color:var(--text-secondary);font-size:12px}.as-structure{margin:0 26px 20px;container-type:inline-size}.as-table{border:1px solid var(--border);--as-columns:140px minmax(150px,1.05fr) minmax(145px,.95fr) minmax(125px,.7fr) minmax(175px,1.25fr);border-radius:12px;overflow:hidden}.as-table-head,.as-row{grid-template-columns:var(--as-columns);display:grid}.as-table-head{background:var(--surface-muted);color:var(--text-secondary);font-size:12px;font-weight:600}.as-table-head>span{padding:13px}.as-row{border-top:1px solid var(--border)}.as-row.selected{background:var(--surface-muted)}.as-row>div{border-right:1px solid var(--border);min-width:0;padding:18px 14px}.as-row>div:last-child{border-right:0}.as-shot{flex-direction:column;align-items:flex-start;gap:9px;display:flex}.as-thumb{aspect-ratio:16/9;background:var(--surface-muted);width:100%;color:var(--accent);border:0;border-radius:8px;place-items:center;padding:0;display:grid;position:relative;overflow:hidden}.as-thumb img{object-fit:cover;width:100%;height:100%}.as-thumb>span{color:#fff;background:#12243dbb;border-radius:4px;padding:2px 5px;font-size:11px;position:absolute;bottom:5px;left:5px}.as-seek{color:var(--accent);text-align:left;background:0 0;border:0;padding:3px 0;font-size:11px}.as-times{grid-template-columns:1fr 1fr;gap:6px;width:100%;display:grid}.as-times label{color:var(--text-secondary);min-width:0;font-size:11px}.as-times input{width:100%;margin-top:4px;padding:5px;font-size:11px;display:block}.as-shot>.button{padding:5px 0;font-size:11px}.as-cell>small{display:none}.as-cell textarea{field-sizing:content;width:100%;min-height:140px;font-size:var(--analysis-reading);resize:vertical;color:var(--text-primary);overflow-wrap:anywhere;background:0 0;border:1px solid #0000;border-radius:4px;padding:0;line-height:1.85;display:block}.as-cell textarea:focus{background:var(--surface);border-color:var(--border)}.as-cell textarea::placeholder{font-size:15px;line-height:1.8}.as-cell>.button{margin-top:10px;padding:5px 0}.as-cue{margin-bottom:18px}.as-cue:last-child{margin-bottom:0}.as-cue>span{color:var(--text-secondary);margin-bottom:8px;font-size:11px;line-height:1.8;display:block}.as-cue>button{text-align:left;color:var(--text-primary);font-size:var(--analysis-reading);white-space:pre-wrap;overflow-wrap:anywhere;background:0 0;border:0;padding:0;line-height:1.85;display:block}.as-cue em{color:#3b7b70;margin:7px 0;font-size:11px;font-style:normal;line-height:1.8;display:block}.as-sound-copy{text-align:left;line-height:1.85;font-size:calc(var(--analysis-reading) - 2px);white-space:pre-wrap;color:var(--text-secondary);background:0 0;border:0;padding:0;display:block}.as-shared{background:var(--accent-soft);color:var(--text-secondary);border-radius:5px;margin-top:14px;padding:4px 7px;font-size:11px;display:inline-block}.as-muted{color:var(--text-secondary);font-size:14px;line-height:1.8}.as-dialogue-view{--as-columns:140px minmax(180px,.8fr) minmax(240px,1.3fr)}.as-dialogue-view .as-prompt,.as-dialogue-view .as-sound{display:none}.as-prompt-view{--as-columns:140px minmax(180px,.8fr) minmax(240px,1.3fr)}.as-prompt-view .as-sound,.as-prompt-view .as-dialogue{display:none}.analysis-support{padding:0 26px 20px}.analysis-support .analysis-summary{font-size:16px}.analysis-support>details>summary{cursor:pointer;color:var(--text-secondary);padding:12px 0;font-size:13px}.analyze-page .keyframe-section{margin:0 26px 20px;padding:0}.keyframe-section>summary{cursor:pointer;color:var(--text-secondary);padding:12px 0;font-size:13px}.analyze-page .keyframe-strip{margin-top:12px}.analyze-page .analysis-history{padding-top:0}.as-editor.modal{width:min(1240px,100vw - 36px);max-width:none;max-height:calc(100dvh - 36px);padding:0;overflow:auto}.as-editor .modal-heading{border-bottom:1px solid var(--border);background:var(--surface);z-index:1;margin:0;padding:20px 24px;position:sticky;top:0}.as-editor-body{grid-template-columns:260px minmax(0,1fr);gap:26px;padding:24px;display:grid}.as-editor-frame{aspect-ratio:16/9;border:1px solid var(--border);background:var(--surface-muted);border-radius:10px;place-items:center;width:100%;padding:0;display:grid;overflow:hidden}.as-editor-frame img{object-fit:contain;width:100%;height:100%}.as-editor-nav{justify-content:space-between;margin:12px 0;display:flex}.as-editor aside p{color:var(--text-secondary);font-size:12px;line-height:1.8}.as-editor-tabs{flex-wrap:wrap;gap:8px;margin-bottom:18px;display:flex}.as-editor textarea{resize:vertical;width:100%;min-height:300px;padding:18px;font-size:18px;line-height:1.95}.as-editor-footer{border-top:1px solid var(--border);color:var(--text-secondary);justify-content:space-between;align-items:center;gap:16px;padding:16px 24px;font-size:12px;display:flex}.as-dialogue-editor{margin-bottom:20px}.as-dialogue-editor>div{flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:12px;display:flex}.as-dialogue-editor label{align-items:center;gap:8px;font-size:12px;display:flex}.as-dialogue-editor textarea{min-height:200px}.as-editor-times input{max-width:100px}@container (width<=960px){.as-table,.as-dialogue-view,.as-prompt-view{--as-columns:135px minmax(0,1fr)}.as-table-head{display:none}.as-shot{background:var(--surface-muted);grid-row:span 4}.as-dialogue-view .as-shot,.as-prompt-view .as-shot{grid-row:span 2}.as-row>.as-cell{border-right:0;border-bottom:1px solid var(--border);padding:14px 18px}.as-cell>small{color:var(--text-secondary);margin-bottom:9px;font-size:12px;display:block}.as-cell textarea{min-height:80px}.as-row:first-child{border-top:0}.as-cue>button{width:100%}}@container (width<=480px){.as-table,.as-dialogue-view,.as-prompt-view{--as-columns:1fr}.as-shot{grid-template-columns:115px 1fr;gap:7px 12px;display:grid;border-right:0!important;grid-row:auto!important}.as-thumb{grid-row:span 3}.as-row{border-top:4px solid var(--border)}.as-times,.as-shot>.button{grid-column:2}.as-row>.as-cell{padding:16px}}@media (width<=1050px){.analyze-page .analysis-overview{grid-template-columns:230px minmax(0,1fr);gap:20px;padding:20px}.as-timeline .section-heading>span{display:none}.as-timeline>p{margin-left:0}.as-view-bar{padding-bottom:12px}.as-editor-body{grid-template-columns:1fr}.as-editor aside{grid-template-columns:200px 1fr;gap:15px;display:grid}.as-editor-nav{align-self:start;margin:0}.as-editor aside p{display:none}}@media (width<=700px){.analyze-page .analysis-overview{grid-template-columns:1fr;padding:16px}.analysis-source{width:100%;max-width:320px;margin:auto}.analysis-source-actions{padding:16px}.as-view-bar{padding-right:16px}.as-view-tools{padding-left:16px}.as-heading{padding:18px 16px}.as-heading h3{font-size:17px}.as-structure{margin:0 12px 18px}.analysis-support{padding-inline:16px}.analyze-page .keyframe-section{margin-inline:16px}.as-editor .modal-heading{padding:16px}.as-editor .modal-heading h2{font-size:16px}.as-editor-body{padding:16px}.as-editor aside{display:block}.as-editor-frame{max-height:180px}.as-editor-nav{margin-top:12px}.as-editor textarea{padding:14px}.as-editor-footer{padding:14px 16px}.as-editor-tabs{gap:6px}}.as-structure textarea,.as-editor textarea{font-family:inherit}.as-times input{appearance:textfield}.as-times input::-webkit-inner-spin-button{appearance:none;margin:0}.modal.analysis-prompt-dialog{width:min(1360px,100vw - 40px);max-width:none;max-height:calc(100dvh - 40px);padding:0;overflow:auto}.analysis-prompt-dialog .modal-heading{z-index:2;background:var(--surface);border-bottom:1px solid var(--border);margin:0;padding:22px 26px;position:sticky;top:0}.analysis-prompt-dialog .modal-heading h2{font-size:23px}.ap-steps{background:var(--surface-muted);border-bottom:1px solid var(--border);color:var(--text-secondary);align-items:center;gap:17px;padding:14px 26px;font-size:13px;display:flex}.ap-steps>span{align-items:center;gap:8px;display:flex}.ap-steps b{width:23px;height:23px;color:var(--accent);background:var(--accent-soft);border-radius:50%;place-items:center;display:grid}.ap-body{grid-template-columns:420px minmax(0,1fr);display:grid}.ap-inputs{border-right:1px solid var(--border);min-width:0;padding:24px}.analysis-prompt-dialog h3{margin:0 0 16px;font-size:16px}.ap-field{margin-top:14px;display:block}.ap-field>span{color:var(--text-secondary);margin-bottom:9px;font-size:13px;display:block}.ap-field textarea{resize:vertical;background:var(--surface);width:100%;min-height:160px;color:var(--text-primary);padding:14px;font-size:17px;line-height:1.85;display:block}.ap-field textarea::placeholder{font-size:14px}.ap-options{align-items:center;gap:14px;margin:16px 0;display:flex}.ap-options>label{flex-shrink:0;align-items:center;gap:8px;font-size:13px;display:flex}.ap-options>span,.ap-help{color:var(--text-secondary);font-size:12px;line-height:1.8}.ap-help{margin:10px 0}.ap-generate{width:100%;min-height:44px!important;font-size:14px!important}.ap-generate>svg:last-child{margin-left:auto}.ap-source-heading{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:10px;margin-top:22px;padding-top:18px;display:flex}.ap-source-heading h3{align-items:center;gap:6px;margin:0;font-size:14px;display:flex}.ap-source-heading h3>svg{color:var(--accent)}.ap-stats{color:var(--text-secondary);gap:18px;margin:10px 0;font-size:12px;display:flex}.ap-hint{background:var(--accent-soft);white-space:pre-wrap;border-radius:8px;padding:10px 12px;font-size:12px;line-height:1.8}.ap-original{border-top:1px solid var(--border);margin-top:16px;font-size:13px}.ap-original summary{cursor:pointer;padding:13px 0}.ap-original>div{border-left:2px solid #85afa7;margin:10px 0 18px;padding-left:12px}.ap-original small{color:var(--text-secondary);font-size:12px}.ap-original p{white-space:pre-wrap;margin:5px 0;font-size:17px;line-height:1.85}.ap-original p.ap-help{font-size:12px}.ap-result{background:var(--surface);flex-direction:column;min-width:0;padding:24px 26px;display:flex}.ap-result-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px;display:flex}.ap-result-heading h3{margin-bottom:8px;font-size:18px}.ap-result-heading p{color:var(--text-secondary);margin:0;font-size:12px}.ap-result-heading nav{flex-shrink:0;gap:8px;display:flex}.ap-version-picker{color:var(--text-secondary);align-items:center;gap:12px;margin:0 0 14px;font-size:12px;display:flex}.ap-version-picker select{flex:1;min-width:0;max-width:100%}.ap-output{resize:vertical;background:var(--surface);width:100%;min-height:540px;color:var(--text-primary);flex:1;padding:20px 24px;scroll-margin-top:100px;font-size:18px;line-height:1.9;display:block}.ap-empty{border:1px dashed var(--border);background:var(--surface-muted);text-align:center;border-radius:14px;flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:540px;padding:25px;display:flex}.ap-empty>svg{color:var(--accent);margin-bottom:25px}.ap-empty h3{font-size:19px}.ap-empty p{color:var(--text-secondary);font-size:14px;line-height:1.9}.ap-result-actions{color:var(--text-secondary);justify-content:space-between;align-items:center;gap:14px;margin-top:16px;font-size:12px;display:flex}.ap-result-actions>div{flex-shrink:0;gap:8px;display:flex}.ap-footer{border-top:1px solid var(--border);color:var(--text-secondary);align-items:center;gap:8px;padding:15px 26px;font-size:12px;display:flex}.ap-footer>svg{color:#3b8270}.ap-footer>.button{margin-left:auto}@media (width<=1050px){.ap-body{grid-template-columns:340px minmax(0,1fr)}.ap-inputs,.ap-result{padding:20px}.ap-result-heading,.ap-result-actions{flex-wrap:wrap}.ap-output{padding:16px}.ap-options{align-items:flex-start}.ap-result-actions>div{margin-left:auto}}@media (width<=760px){.modal.analysis-prompt-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.analysis-prompt-dialog .modal-heading{padding:18px}.analysis-prompt-dialog .modal-heading h2{font-size:20px}.ap-steps{flex-wrap:wrap;gap:9px;padding:12px 18px;font-size:11px}.ap-steps b{width:20px;height:20px}.ap-body{grid-template-columns:1fr}.ap-inputs{border-right:0;border-bottom:1px solid var(--border);padding:20px 18px}.ap-result{padding:22px 18px}.ap-output{min-height:490px}.ap-empty{min-height:300px}.ap-footer{flex-wrap:wrap;padding:14px 18px}.ap-footer>span{max-width:calc(100% - 28px)}.ap-result-actions{gap:10px}}.analysis-prompt-dialog textarea{font-family:inherit}.app-window .audio-page .generator-layout{grid-template-columns:minmax(340px,42%) minmax(0,1fr)}.audio-page .generator-settings-scroll{flex-direction:column;gap:16px;display:flex}.audio-page .generator-panel-heading,.audio-page .generator-field{margin-bottom:0}.audio-model-row,.audio-voice-row{flex-shrink:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;display:grid}.audio-model-row{grid-template-columns:minmax(0,1fr) 104px}.audio-page .audio-prompt-field{flex-direction:column;flex:1;min-height:320px;display:flex}.audio-page .audio-prompt-field textarea{flex:1;min-height:280px;max-height:none;padding:14px;font-size:15px;line-height:1.85}.audio-page .generator-output{overflow:hidden}.audio-preview{border:1px solid var(--border);background:var(--surface-muted);text-align:left;border-radius:16px;flex:none;grid-template-columns:48px minmax(0,1fr);align-items:start;gap:10px 14px;min-width:0;padding:18px;display:grid}.audio-emblem{width:48px;height:48px;color:var(--accent);background:var(--surface);border-radius:14px;grid-row:1/span 2;place-items:center;display:grid}.audio-emblem svg{width:30px;height:30px}.audio-preview h3{overflow-wrap:anywhere;grid-column:2;margin:0;font-size:16px;font-weight:600;line-height:24px}.audio-preview p{color:var(--text-secondary);overflow-wrap:anywhere;grid-column:2;min-width:0;margin:0;font-size:13px;line-height:1.8}.audio-preview .audio-script{white-space:pre-wrap;scrollbar-width:thin;max-height:48px;overflow:auto}.audio-preview audio{grid-column:1/-1;width:100%;min-width:0;height:40px;margin:2px 0 0}.audio-preview small{text-align:right;color:var(--text-secondary);grid-column:1/-1;font-size:12px}.audio-page .candidate-section{flex-direction:column;flex:1;min-height:180px;margin-top:18px;display:flex;overflow:hidden}.audio-page .candidate-heading{flex-shrink:0}.audio-candidates{scrollbar-width:thin;overscroll-behavior:contain;flex-direction:column;flex:1;gap:8px;min-height:0;padding:2px;display:flex;overflow:auto}.audio-candidates>button{border:1px solid var(--border);background:var(--surface);color:var(--text-primary);text-align:left;cursor:pointer;border-radius:12px;flex-shrink:0;align-items:center;gap:12px;padding:10px 12px;display:flex}.audio-candidates>button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft)}.audio-candidates>button>svg,.audio-candidates>button>.badge{flex-shrink:0}.audio-candidates>button>span:first-of-type{flex:1;min-width:0}.audio-candidates strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;display:block;overflow:hidden}.audio-candidates small{-webkit-line-clamp:2;overflow-wrap:anywhere;color:var(--text-secondary);-webkit-box-orient:vertical;margin-top:5px;font-size:12px;line-height:1.7;display:-webkit-box;overflow:hidden}.audio-page .generator-state-line{margin:8px 0}.audio-page .generator-settings-footer>p{line-height:1.8}.asset-card audio{width:100%}@media (width<=959px){.app-window .audio-page .generator-layout{flex-direction:column;min-height:0;display:flex}.audio-page .generator-settings,.audio-page .generator-output{flex:1;min-height:0}.audio-page .generator-settings-scroll{overflow:auto}.audio-page .audio-prompt-field{flex:none;min-height:0}.audio-page .audio-prompt-field textarea{height:38vh;min-height:300px}.audio-page .generator-output{overflow:auto}.audio-page .candidate-section{flex:1 0 260px;min-height:200px}.audio-preview{gap:8px 10px;padding:14px}}@media (width<=480px){.audio-voice-row{grid-template-columns:minmax(0,1fr);gap:12px}}.voiceprint-modal{max-width:650px}.voiceprint-list{gap:12px;max-height:250px;display:grid;overflow:auto}.voiceprint-list article{border:1px solid var(--border);border-radius:12px;padding:12px}.voiceprint-list article>div:first-child{justify-content:space-between;gap:12px;display:flex}.voiceprint-list span,.voiceprint-list p{color:var(--text-secondary);overflow-wrap:anywhere;font-size:12px}.voiceprint-sample{gap:8px;margin:12px 0;display:grid}.voiceprint-sample audio{width:100%}.voiceprint-options{flex-wrap:wrap;gap:16px;margin:16px 0;display:flex}.voiceprint-options label{align-items:center;gap:8px;display:flex}.generator-field>.button{margin-top:8px}.voiceprint-options label{white-space:nowrap}.voiceprint-modal h3{margin:20px 0 12px}.voiceprint-options input[type=checkbox]{width:16px}.voiceprint-options select{min-width:90px}.voiceprint-list{max-height:min(46vh,440px)}.voiceprint-list article>div:first-child strong{overflow-wrap:anywhere;min-width:0}.voiceprint-list article>div:first-child span{flex-shrink:0}.voiceprint-row-actions{flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;display:flex}.voiceprint-row-actions .button{padding:7px 10px;font-size:12px}.voiceprint-row-actions .voiceprint-delete{color:var(--danger,#b42318)}.voiceprint-remark{white-space:pre-wrap;margin:6px 0}.voiceprint-edit{margin-top:10px}.voiceprint-edit textarea{resize:vertical;width:100%;min-height:66px}.voiceprint-edit .voiceprint-row-actions{justify-content:flex-end}.voiceprint-edit small{color:var(--text-secondary);margin-right:auto}.voiceprint-hint,.voiceprint-notice{color:var(--text-secondary);margin:10px 0;font-size:12px;line-height:1.6}.voiceprint-notice{color:var(--primary)}.voiceprint-undo{background:var(--surface-subtle);border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:6px 10px;font-size:12px;display:flex}.voiceprint-undo span{overflow-wrap:anywhere;min-width:0}.dubbing-text-action{color:var(--accent);font:inherit;cursor:pointer;text-align:left;background:0 0;border:0;padding:3px 0}.dubbing-text-action:hover{text-decoration:underline}.dubbing-text-action:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:3px}.dubbing-correction-entry{flex-wrap:wrap;align-items:center;gap:12px;font-size:11px;display:flex}.dubbing-correction-entry small{font-variant-numeric:tabular-nums}.dubbing-correction{min-width:0;font-size:12px}.dubbing-correction header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.dubbing-correction header>div{min-width:0}.dubbing-correction h2{flex-wrap:wrap;margin-bottom:5px;font-size:14px}.dubbing-correction h2 small{color:var(--text-secondary);font-size:11px;font-weight:400}.dubbing-correction header p{color:var(--text-secondary);margin:0;font-size:11px;line-height:1.7}.dubbing-correction header>button{flex-shrink:0;font-size:11px}.dubbing-correction-list{gap:6px;display:grid}.dubbing-correction-row{border:1px solid var(--border);border-left:3px solid var(--speaker-color);background:var(--surface);border-radius:9px;grid-template-columns:28px minmax(0,1fr) 125px;align-items:center;gap:8px;padding:10px 9px;display:grid}.dubbing-correction-row[data-current=true]{background:var(--accent-soft)}.dubbing-correction-play{width:28px;height:32px;color:var(--accent);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.dubbing-correction-play:hover{background:var(--surface)}.dubbing-correction-play:disabled{opacity:.4;cursor:default}.dubbing-correction-copy{min-width:0;color:var(--text-primary);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:minmax(0,1fr) 14px;gap:3px 6px;padding:0;display:grid}.dubbing-correction-copy small{color:var(--text-secondary);font-variant-numeric:tabular-nums;grid-column:1/-1;font-size:10px}.dubbing-correction-copy span{white-space:nowrap;text-overflow:ellipsis;font-size:12px;line-height:1.7;overflow:hidden}.dubbing-correction-copy svg{opacity:0;color:var(--text-secondary);align-self:center}.dubbing-correction-copy:is(:hover,:focus-visible) svg{opacity:1}.dubbing-correction-row select{border:1px solid var(--border);background:var(--surface);width:100%;min-width:0;color:var(--speaker-color);border-radius:7px;padding:7px 5px;font-size:11px}.dubbing-correction-override{color:var(--text-secondary);flex-wrap:wrap;grid-column:2/-1;align-items:center;gap:8px;font-size:10px;display:flex}.dubbing-correction footer{color:var(--text-secondary);justify-content:space-between;align-items:center;gap:8px;margin-top:12px;font-size:10px;line-height:1.6;display:flex}.dubbing-correction nav{flex-shrink:0;align-items:center;gap:8px;display:flex}.dubbing-correction nav button{border:1px solid var(--border);background:var(--surface);width:28px;height:28px;color:var(--accent);border-radius:7px;place-items:center;display:grid}.dubbing-correction nav button:disabled{opacity:.35}.dubbing-line-tools.is-guided{opacity:1;flex-wrap:wrap;align-items:center}.dubbing-line-tools.is-guided small{color:var(--text-secondary);margin-right:auto;font-size:10px}.dubbing-line-tools.is-guided button:first-of-type{width:auto;color:var(--accent);gap:4px;padding:4px 6px;font-size:11px;display:flex}@media (width<=750px){.dubbing-correction-row{grid-template-columns:24px minmax(0,1fr) 94px;gap:5px;padding:8px 6px}.dubbing-correction-row select{min-height:34px}.dubbing-correction-copy span{font-size:11px}.dubbing-correction-copy small{font-size:9px}.dubbing-correction header{flex-wrap:wrap;gap:4px}.dubbing-correction-copy svg{opacity:1}.dubbing-correction footer{flex-wrap:wrap}.dubbing-correction-entry{gap:4px 10px}}.dubbing-recognition-status{border:1px solid var(--border);background:var(--surface);z-index:3;border-radius:12px;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:10px 15px;display:flex;position:relative}.dubbing-recognition-status>div{gap:4px;min-width:0;display:grid}.dubbing-recognition-status strong{font-size:12px}.dubbing-recognition-status span,.dubbing-recognition-status small{color:var(--text-secondary);font-size:11px;line-height:1.5}.dubbing-recognition-status>details{flex-shrink:0;font-size:11px}.dubbing-recognition-status summary{cursor:pointer;color:var(--accent)}.dubbing-recognition-status details>div{border:1px solid var(--border);background:var(--surface);border-radius:12px;width:290px;padding:14px;position:absolute;top:100%;right:0;box-shadow:0 8px 20px #21456915}.dubbing-recognition-status label{gap:6px;margin-bottom:10px;font-size:11px;display:grid}.dubbing-recognition-status input,.dubbing-recognition-status select{border:1px solid var(--border);background:var(--surface);border-radius:7px;width:100%;min-width:0;padding:8px;font-size:12px}.dubbing-voice-map{border-top:1px solid var(--border);margin-top:16px;padding-top:12px}.dubbing-voice-map h3{margin:0 0 10px;font-size:12px}.dubbing-voice-map h3 small{color:var(--text-secondary);margin-left:8px;font-size:10px;font-weight:400}.dubbing-voice-map>label{grid-template-columns:75px minmax(0,1fr);align-items:center;gap:8px;margin:8px 0;font-size:11px;display:grid}.dubbing-voice-map select{border:1px solid var(--border);background:var(--surface);border-radius:7px;width:100%;min-width:0;padding:7px;font-size:11px}.dubbing-line-tools{opacity:0;justify-content:flex-end;gap:4px;display:flex}.dubbing-line:hover .dubbing-line-tools,.dubbing-line:focus-within .dubbing-line-tools{opacity:1}.dubbing-line-tools button{color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;width:28px;height:28px;display:grid}.dubbing-line-tools button:hover{background:var(--accent-soft);color:var(--accent)}.dubbing-line-tools button:disabled{opacity:.3}.sound-workspace{height:100dvh;min-height:0;overflow:hidden}.sound-workspace>.workspace{flex-direction:column;height:100%;min-height:0;display:flex}.sound-workspace>.app-sidebar,.sound-workspace>.task-workspace{height:100%;min-height:0}.sound-workspace .topbar{flex-shrink:0}.sound-workspace .page-content{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.sound-workspace .page-content>.audio-page{flex:1;height:auto;min-height:0}.sound-navigation{flex-shrink:0;gap:6px;margin:0 0 10px;display:flex}.sound-navigation button{border:1px solid var(--border);background:var(--surface);color:var(--text-secondary);white-space:nowrap;border-radius:11px;align-items:center;gap:8px;padding:9px 13px;display:flex}.sound-navigation button[aria-current=page]{background:var(--accent-soft);color:var(--accent);border-color:#91bfff}.dubbing-page{flex-direction:column;flex:1;gap:10px;min-width:0;min-height:0;display:flex}.dubbing-heading{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;min-height:42px;display:flex}.dubbing-heading .sound-navigation{margin:0}.dubbing-heading p{color:var(--text-secondary);flex:1;font-size:12px}.dubbing-heading .save-indicator{white-space:nowrap;flex-shrink:0}.dubbing-layout{flex:1;grid-template-columns:minmax(290px,1fr) minmax(310px,1.12fr);gap:16px;min-width:0;min-height:0;display:grid;overflow:hidden}.dubbing-left,.dubbing-preview{flex-direction:column;min-width:0;min-height:0;padding:0;display:flex;overflow:hidden}.dubbing-editor-tabs{border-bottom:1px solid var(--border);flex-shrink:0;gap:20px;padding:0 20px;display:flex}.dubbing-editor-tabs button{color:var(--text-secondary);background:0 0;border:0;border-bottom:2px solid #0000;padding:14px 0;font-size:13px;font-weight:600}.dubbing-editor-tabs button[aria-selected=true]{color:var(--accent);border-color:var(--accent)}.dubbing-editor-tabs span{margin-left:5px;font-size:11px;font-weight:400}.dubbing-scroll{scrollbar-width:thin;overscroll-behavior:contain;flex:1;min-height:0;padding:18px 20px;overflow:auto}.dubbing-scroll[hidden]{display:none}.dubbing-settings h2,.dubbing-script h2{align-items:center;gap:8px;margin:0 0 12px;font-size:14px;display:flex}.dubbing-settings h2:not(:first-child){margin-top:22px}.dubbing-settings h2 span,.dubbing-script h2 span{background:var(--accent-soft);color:var(--accent);border-radius:8px;padding:5px 7px;font-size:11px}.dubbing-upload{background:var(--surface);width:100%;color:var(--text-primary);overflow-wrap:anywhere;border:1px dashed #aac9ef;border-radius:12px;flex-direction:column;align-items:center;gap:7px;padding:15px 12px;display:flex}.dubbing-upload svg{color:var(--accent)}.dubbing-upload small{color:var(--text-secondary);font-size:11px}.dubbing-note{color:var(--text-secondary);margin:10px 0;font-size:11px;line-height:1.65}.dubbing-mode{flex-wrap:wrap;gap:5px;margin:12px 0;display:flex}.dubbing-mode button{border:1px solid var(--border);background:var(--surface);color:var(--text-secondary);border-radius:10px;align-items:center;gap:6px;padding:8px 10px;font-size:12px;display:flex}.dubbing-mode button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft);border-color:#9fc8ff}.dubbing-mode button:disabled{opacity:.45}.dubbing-settings .field{margin:14px 0}.dubbing-settings .field input,.dubbing-settings .field select{font-size:12px}.dubbing-settings audio,.dubbing-step audio{width:100%;height:36px}.dubbing-slider{grid-template-columns:1fr auto;gap:5px;margin:13px 0;font-size:12px;display:grid}.dubbing-slider input{width:100%;accent-color:var(--accent);grid-column:1/-1}.dubbing-slider b{color:var(--text-secondary);font-size:11px}.dubbing-submit{border-top:1px solid var(--border);background:var(--surface);flex-shrink:0;padding:12px 20px 8px}.dubbing-submit>.button{width:100%}.dubbing-submit .dubbing-note{margin:8px 0 0;font-size:10px;line-height:1.55}.dubbing-preview-heading{flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;padding:16px 18px 10px;display:flex}.dubbing-preview-heading h2{margin:0;font-size:14px}.dubbing-preview-heading .dubbing-mode{margin:0}.dubbing-preview-scroll{scrollbar-width:thin;overscroll-behavior:contain;flex:1;min-height:0;padding:0 18px 14px;overflow:auto}.dubbing-player{color:#bdd4ed;background:#101921;border-radius:12px;justify-content:center;align-items:center;height:clamp(210px,42vh,500px);display:flex;overflow:hidden}.dubbing-player video{object-fit:contain;width:100%;height:100%;display:block}.dubbing-player .empty-state{color:#bdd4ed;padding:24px 18px}.dubbing-player h3{color:#e7f1ff}.dubbing-progress{background:var(--accent-soft);border-radius:12px;margin-top:14px;padding:14px;font-size:12px;line-height:1.65}.dubbing-progress>span{color:var(--text-secondary);font-size:11px;display:block}.dubbing-progress details{margin-top:10px}.dubbing-progress summary{cursor:pointer}.dubbing-step{border-top:1px solid var(--border);gap:6px;padding:10px 0;display:grid}.dubbing-step small{overflow-wrap:anywhere}.dubbing-preview-footer{border-top:1px solid var(--border);flex-shrink:0;padding:10px 18px 8px}.dubbing-downloads{flex-wrap:wrap;gap:6px;display:flex}.dubbing-downloads .button{padding:8px 10px;font-size:11px}.dubbing-preview-footer .field{margin:10px 0 0;font-size:11px}.dubbing-preview-footer select{padding:7px 10px;font-size:11px}.dubbing-preview-footer .dubbing-note{margin:7px 0 0;font-size:10px}.dubbing-script-heading p{color:var(--text-secondary);margin:6px 0 10px;font-size:12px;line-height:1.6}.dubbing-script-heading small{color:var(--text-secondary);font-size:11px;font-weight:400}.dubbing-script-heading>div:last-child{flex-wrap:wrap;gap:5px;display:flex}.dubbing-script-heading .button{padding:8px 9px;font-size:11px}.dubbing-line{border-top:1px solid var(--border);grid-template-columns:22px minmax(0,1fr) 30px;align-items:start;gap:8px;margin-top:12px;padding:14px 0;display:grid}.dubbing-line input,.dubbing-line select,.dubbing-times input{width:100%;min-width:0;padding:8px;font-size:11px}.dubbing-line textarea{resize:vertical;grid-area:2/2;width:100%;min-width:0;font-size:14px;line-height:1.7}.dubbing-line>.dubbing-times{grid-column:2}.dubbing-line>div:nth-last-child(2){grid-area:3/2;gap:7px;display:grid}.dubbing-line>.button{grid-area:1/3;margin-top:19px;padding:7px}.dubbing-line-index{color:var(--accent);background:0 0;border:0;align-items:center;gap:3px;padding:25px 0 0;font-size:11px;display:flex}.dubbing-times{gap:8px;display:flex}.dubbing-times label{color:var(--text-secondary);flex:1;min-width:0;font-size:10px}.dubbing-times input{margin-top:4px}.dubbing-script-empty{color:var(--text-secondary);padding:24px 3px;font-size:12px;line-height:1.8}.dubbing-mobile-tabs{display:none}@media (width<=1150px){.dubbing-heading>p{display:none}.dubbing-layout{grid-template-columns:minmax(270px,1fr) minmax(280px,1fr)}.dubbing-scroll{padding:16px}.dubbing-submit{padding:10px 16px}.dubbing-preview-heading,.dubbing-preview-footer,.dubbing-preview-scroll{padding-left:14px;padding-right:14px}}@media (width<=750px){.dubbing-heading{gap:6px;min-height:38px}.dubbing-heading>.save-indicator{display:none}.sound-navigation{gap:5px}.sound-navigation button{gap:5px;padding:8px 9px;font-size:11px}.dubbing-mobile-tabs{flex-shrink:0;gap:8px;display:flex}.dubbing-mobile-tabs button{border:1px solid var(--border);background:var(--surface);color:var(--text-secondary);border-radius:9px;flex:1;padding:7px;font-size:12px}.dubbing-mobile-tabs button[aria-selected=true]{background:var(--accent-soft);color:var(--accent);border-color:#9fc8ff}.dubbing-layout{gap:0;display:flex}.dubbing-left,.dubbing-preview{width:100%;height:100%;display:none}.dubbing-left.mobile-active,.dubbing-preview.mobile-active{display:flex}.dubbing-player{height:clamp(160px,33dvh,300px)}.dubbing-editor-tabs{padding:0 16px}.dubbing-editor-tabs button{padding:10px 0}.dubbing-submit .dubbing-note{font-size:10px}.dubbing-preview-heading h2{font-size:12px}.dubbing-scroll{padding:14px}.dubbing-preview-footer .dubbing-note{display:none}.dubbing-page{gap:8px}}.tone-editor{gap:8px;min-width:0;margin-top:6px;display:grid}.tone-tags{flex-wrap:wrap;gap:5px;display:flex}.tone-tags button,.tone-strength button{border:1px solid var(--border);background:var(--surface);color:var(--text-secondary);border-radius:20px;padding:4px 8px;font-size:11px;line-height:1.5}.tone-tags button[aria-pressed=true],.tone-strength button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft);border-color:var(--accent)}.tone-strength{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.tone-strength>span{color:var(--text-secondary);margin-right:3px;font-size:10px}.tone-editor textarea{resize:vertical;grid-area:auto;width:100%;min-height:76px;font-size:12px;line-height:1.65}.tone-editor>small{color:var(--text-secondary);font-size:10px}.dubbing-audition{border-top:1px dashed var(--border);gap:8px;min-width:0;margin-top:4px;padding-top:10px;display:grid}.dubbing-audition-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.dubbing-audition .button{justify-self:start;padding:7px 9px;font-size:11px}.dubbing-audition small,.dubbing-audition label,.dubbing-audition p{color:var(--text-secondary);font-size:10px;line-height:1.6}.dubbing-audition p{white-space:pre-wrap;max-height:70px;overflow:auto}.dubbing-audition label{gap:5px;display:grid}.dubbing-audition audio{width:100%;height:36px}.dubbing-line .tone-editor textarea{font-size:12px}.dubbing-script .dubbing-line{margin-top:8px;padding-top:8px}.dubbing-script-heading h2{margin-bottom:6px}.dubbing-script-heading p{margin:4px 0 8px}.dubbing-script .dubbing-line>textarea{min-height:64px}.dubbing-timeline{flex-direction:column;flex:0 0 184px;gap:7px;min-width:0;min-height:0;padding:10px 14px;display:flex;overflow:hidden}.dubbing-timeline-toolbar{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:8px;display:flex}.dubbing-timeline-toolbar>strong{white-space:nowrap;font-size:12px}.dubbing-timeline-toolbar small{color:var(--text-secondary);margin-left:4px;font-size:10px;font-weight:400}.dubbing-timeline-toolbar .button{gap:4px;min-height:30px;padding:5px 7px;font-size:11px}.dubbing-line-nav{align-items:center;gap:5px;display:flex}.dubbing-line-nav>span{text-align:center;font-variant-numeric:tabular-nums;min-width:46px;font-size:11px}.dubbing-script-search{border:1px solid var(--border);min-width:110px;color:var(--text-secondary);border-radius:8px;flex:1;align-items:center;gap:5px;padding:0 7px;display:flex}.dubbing-script-search input{background:0 0;border:0;width:100%;min-width:0;padding:7px 0;font-size:11px}.dubbing-script-search button{color:var(--text-secondary);background:0 0;border:0;padding:3px}.dubbing-timeline-toolbar form{align-items:center;gap:3px;display:flex}.dubbing-timeline-toolbar form input{width:53px;padding:6px;font-size:11px}.dubbing-timeline-toolbar form button{color:var(--accent);background:0 0;border:0;padding:6px 3px;font-size:11px}.dubbing-timeline-toolbar>select{width:64px;padding:6px;font-size:11px}.dubbing-timeline-toolbar button:disabled{opacity:.4}.dubbing-timeline-overview{background:var(--accent-soft);cursor:pointer;border-radius:4px;flex-shrink:0;height:13px;position:relative;overflow:hidden}.dubbing-timeline-overview i{background:#92bdf1;height:5px;position:absolute;top:4px}.dubbing-timeline-overview>span{border:1px solid var(--accent);background:var(--accent-soft);pointer-events:none;border-radius:3px;position:absolute;top:0;bottom:0}.dubbing-timeline-track{scrollbar-width:thin;overscroll-behavior:contain;flex:1;min-height:0;overflow:auto}.dubbing-timeline-canvas{min-height:78px;position:relative}.dubbing-timeline-ruler{border-bottom:1px solid var(--border);cursor:crosshair;height:24px;position:absolute;inset:0 0 auto;overflow:hidden}.dubbing-timeline-ruler span{border-left:1px solid var(--border);color:var(--text-secondary);white-space:nowrap;font-variant-numeric:tabular-nums;padding-left:4px;font-size:10px;position:absolute;top:2px}.dubbing-timeline-block{background:var(--accent-soft);height:35px;color:var(--text-primary);text-align:left;white-space:nowrap;border:1px solid #b8d4fa;border-radius:6px;align-items:center;gap:6px;padding:4px 7px;font-size:11px;display:flex;position:absolute;overflow:hidden}.dubbing-timeline-block b{color:var(--accent);font-size:10px}.dubbing-timeline-block span{text-overflow:ellipsis;overflow:hidden}.dubbing-timeline-block[aria-current=true]{border:2px solid var(--accent);background:var(--accent);color:#fff}.dubbing-timeline-playhead{pointer-events:none;border-left:1px solid #ec704c;position:absolute;inset:0 auto}.dubbing-timeline-hint{color:var(--text-secondary);flex-shrink:0;justify-content:space-between;gap:8px;font-size:10px;display:flex}.dubbing-timeline-list{scrollbar-width:thin;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:3px 12px;min-height:0;display:grid;overflow:auto}.dubbing-timeline-list>button{text-align:left;min-width:0;min-height:34px;color:var(--text-primary);background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;padding:8px;font-size:11px;display:flex}.dubbing-timeline-list>button:hover{background:var(--accent-soft)}.dubbing-timeline-list b{color:var(--accent);font-variant-numeric:tabular-nums;min-width:20px}.dubbing-timeline-list span{white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.dubbing-timeline-list small{color:var(--text-secondary);font-size:10px}.dubbing-timeline-list p{color:var(--text-secondary);grid-column:1/-1;padding:10px;font-size:12px}.dubbing-preview-scroll{container-type:size}.dubbing-player{height:min(42vh,100cqh);min-height:140px}@media (width<=1150px){.dubbing-timeline{flex-basis:204px}.dubbing-timeline-toolbar{gap:5px}.dubbing-timeline-toolbar>strong{margin-right:auto}.dubbing-timeline-toolbar .dubbing-script-search{flex-basis:130px}.dubbing-timeline-toolbar>.button span{display:none}}@media (width<=750px){.dubbing-timeline{flex-basis:184px;gap:5px;padding:9px}.dubbing-timeline-toolbar>strong{font-size:11px}.dubbing-timeline-toolbar .dubbing-script-search{flex-basis:80px;order:3}.dubbing-timeline-toolbar form{order:4}.dubbing-timeline-toolbar>select{order:5}.dubbing-timeline-hint{font-size:9px}.dubbing-timeline-hint>span:first-child{white-space:nowrap;text-overflow:ellipsis;max-width:65%;overflow:hidden}.dubbing-timeline-list{grid-template-columns:minmax(0,1fr)}.dubbing-timeline-toolbar .button{min-height:28px;padding:4px}.dubbing-timeline-toolbar form input{width:45px}.dubbing-timeline-toolbar>select{width:55px}.dubbing-timeline-toolbar small{display:none}}@media (height<=850px) and (width>=751px){.dubbing-timeline{flex-basis:148px}.dubbing-timeline-hint{display:none}.dubbing-script-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:5px;display:flex}.dubbing-script-heading p,.dubbing-script-heading h2>span{display:none}.dubbing-script-heading h2{margin:0;font-size:12px}.dubbing-script-heading .button{padding:6px 7px}.dubbing-scroll{padding-top:12px}}.dubbing-speaker-editor{border-bottom:1px solid var(--border);gap:6px;padding-bottom:8px;display:grid}.dubbing-speaker-select{align-items:end;gap:6px;display:flex}.dubbing-speaker-select label{color:var(--text-secondary);flex:1;gap:4px;font-size:11px;display:grid}.dubbing-speaker-select .button{height:33px;padding:7px}.dubbing-speaker-details{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.dubbing-speaker-details>i,.dubbing-timeline-roles i{background:var(--speaker-color);border-radius:50%;flex-shrink:0;width:8px;height:8px;display:inline-block}.dubbing-speaker-details>input{flex:1;width:90px;min-width:70px;padding:6px;font-size:11px}.dubbing-speaker-details [role=group]{gap:4px;display:flex}.dubbing-speaker-details [role=group] button{background:var(--speaker-color);border:2px solid #0000;border-radius:50%;width:18px;height:18px;padding:0}.dubbing-speaker-details [role=group] button[aria-pressed=true]{outline:2px solid var(--text-secondary);outline-offset:2px;border-color:var(--surface)}.dubbing-speaker-editor>small{color:var(--text-secondary);font-size:10px;line-height:1.5}.dubbing-timeline{flex-basis:218px}.dubbing-timeline-roles{flex-shrink:0;align-items:center;gap:8px;min-width:0;height:28px;display:flex}.dubbing-timeline-roles>.button{white-space:nowrap;gap:4px;padding:5px 9px;font-size:11px}.dubbing-timeline-roles>div{scrollbar-width:thin;flex:1;align-items:center;gap:10px;min-width:0;display:flex;overflow:auto}.dubbing-timeline-roles span{white-space:nowrap;color:var(--text-secondary);align-items:center;gap:4px;font-size:10px;display:flex}.dubbing-timeline-roles small{color:var(--text-secondary);white-space:nowrap;font-size:10px}.dubbing-timeline-roles button:disabled{opacity:.45}.dubbing-timeline-block{border-color:var(--speaker-color);background:var(--speaker-bg);color:var(--speaker-color)}.dubbing-timeline-block b{color:var(--speaker-color)}.dubbing-timeline-block[aria-current=true]{border-color:var(--speaker-color);background:var(--speaker-color);box-shadow:0 0 0 1px var(--surface),0 0 0 2px var(--speaker-color);color:#fff}.dubbing-timeline-block[aria-current=true] b{color:#fff}.dubbing-timeline-overview i{background:var(--speaker-color)}.dubbing-timeline-list em{color:var(--speaker-color);font-size:10px;font-style:normal}.dubbing-timeline-list b{color:var(--speaker-color)}@media (height<=850px) and (width>=751px){.dubbing-timeline{flex-basis:182px}}@media (width<=750px){.dubbing-timeline{flex-basis:220px}.dubbing-timeline-roles{gap:5px}.dubbing-timeline-roles>.button{padding:4px 6px;font-size:10px}.dubbing-timeline-roles>div{gap:7px}}@media (width>=751px){.dubbing-layout{grid-template-columns:minmax(300px,1.65fr) minmax(255px,.8fr)}.dubbing-player{height:min(23vh,220px);min-height:130px}.dubbing-upload{text-align:left;flex-flow:wrap;justify-content:flex-start;gap:7px;padding:10px}.dubbing-upload small{flex-basis:100%}.dubbing-preview-heading{padding:12px 14px 8px}.dubbing-preview-scroll{padding:0 14px 12px}}@media (width<=750px){.dubbing-recognition-status{align-items:flex-start;padding:8px 10px}.dubbing-recognition-status span{font-size:10px}.dubbing-recognition-status details>div{width:min(290px,90vw)}.dubbing-line-tools{opacity:1}.dubbing-line-tools button{width:34px;height:34px}}.music-page .generator-layout{grid-template-columns:minmax(300px,.9fr) minmax(0,1.1fr)}.music-mode{background:var(--surface-muted);border-radius:11px;margin:18px 0;padding:4px;display:flex}.music-mode button{color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:1;padding:9px}.music-mode button[aria-pressed=true]{background:var(--surface);color:var(--accent);box-shadow:0 2px 8px #285c9820}.music-instrumental{align-items:center;gap:9px;margin:18px 0;font-size:13px;display:flex}.music-instrumental input{width:auto}.music-track-list{gap:12px;width:100%;display:grid}.music-track{gap:7px;min-width:0;display:grid}.music-track strong{overflow-wrap:anywhere;font-size:12px;font-weight:550}.music-track audio{width:100%;height:38px}.music-track button{color:var(--accent);cursor:pointer;background:0 0;border:0;justify-self:end;align-items:center;gap:5px;font-size:12px;display:flex}.music-track-list .inline-error{font-size:12px}.task-preview-content.music{max-height:65vh;padding:25px;display:block;overflow:auto}.music-page .generator-field textarea{min-height:160px}.music-page .audio-preview{min-height:300px}@media (width<=760px){.music-page .generator-layout{grid-template-columns:1fr}}.task-workspace .queue-library{border:0;border-top:1px solid var(--border);color:var(--accent);cursor:pointer;background:0 0;flex-shrink:0;justify-content:center;align-items:center;gap:8px;padding:13px 8px;font-size:12px;display:flex}.music-player{border:1px solid var(--border);background:var(--surface-muted);border-radius:16px;flex:none;margin-top:14px;padding:18px}.music-player-heading{align-items:center;gap:12px;min-width:0;display:flex}.music-player-icon{background:var(--surface);width:48px;height:48px;color:var(--accent);border-radius:14px;flex-shrink:0;place-items:center;display:grid}.music-player-heading>div{min-width:0}.music-player h3{overflow-wrap:anywhere;margin:0;font-size:17px;line-height:1.5}.music-player-heading p{color:var(--text-secondary);margin:5px 0 0;font-size:12px}.music-player audio{width:100%;height:40px;margin-top:14px;display:block}.music-player-empty{color:var(--text-secondary);margin:18px 0 0;font-size:13px;line-height:1.7}.music-lyrics{color:var(--text-secondary);margin-top:12px;font-size:12px}.music-lyrics summary{cursor:pointer;width:fit-content}.music-lyrics p{white-space:pre-wrap;max-height:150px;margin-bottom:0;line-height:1.8;overflow:auto}.music-library{flex-direction:column;flex:1;min-height:180px;margin-top:20px;display:flex}.music-library-heading{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.music-library-heading h3{align-items:center;gap:9px;margin:0;font-size:14px;display:flex}.music-library-heading h3 span{color:var(--text-secondary);background:var(--surface-muted);border-radius:7px;padding:2px 7px;font-size:12px;font-weight:400}.music-search{border:1px solid var(--border);color:var(--text-secondary);background:var(--surface);border-radius:10px;flex-shrink:0;align-items:center;gap:9px;padding:0 12px;display:flex}.music-search input{width:100%;min-width:0;font:inherit;color:var(--text-primary);background:0 0;border:0;outline:0;padding:10px 0;font-size:12px}.music-search:focus-within{outline:2px solid var(--accent);outline-offset:2px}.music-library-list{scrollbar-width:thin;flex-direction:column;flex:1;gap:7px;min-height:130px;margin-top:12px;padding:3px;display:flex;overflow:auto}.music-library-row{border:1px solid var(--border);background:var(--surface);border-radius:11px;flex-shrink:0;align-items:center;gap:4px;min-width:0;padding:4px;display:flex}.music-library-row.is-selected{border-color:var(--accent);background:var(--accent-soft)}.music-row-select{text-align:left;min-width:0;color:var(--text-primary);cursor:pointer;background:0 0;border:0;border-radius:7px;flex:1;align-items:center;gap:11px;padding:10px 8px;display:flex}.music-row-icon{color:var(--accent);flex-shrink:0;place-items:center;width:30px;display:grid}.music-row-copy{flex:1;min-width:0;display:block}.music-row-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:550;display:block;overflow:hidden}.music-row-copy small{color:var(--text-secondary);margin-top:5px;font-size:11px;line-height:1.5;display:block}.music-duration{color:var(--text-secondary);font-variant-numeric:tabular-nums;font-size:11px}.music-row-download{color:var(--accent);flex-shrink:0}.music-list-empty{min-height:160px;color:var(--text-secondary);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;font-size:13px;display:flex}.music-page .generator-state-line:empty{display:none}.music-page .generator-output-actions{flex-shrink:0;margin-top:12px}@media (width<=959px){.music-page .generator-output{min-height:600px}.music-library-list{max-height:440px}.music-player{padding:14px}.music-row-select{gap:6px;padding:9px 4px}.music-row-icon{width:24px}.music-duration{display:none}}.music-page .generator-preview-header{margin-bottom:0}.music-library-row .music-row-select{padding-top:8px;padding-bottom:8px}.music-library{margin-top:16px}@media (width<=480px){.music-prompt-result-actions{flex-direction:column;gap:6px}}.music-prompt-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.music-prompt-heading label{margin:0}.music-text-action{color:var(--accent);cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;padding:5px 0;font-size:12px;display:inline-flex}.music-text-action:disabled{color:var(--text-secondary);opacity:.65;cursor:default}.music-text-action:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}.music-prompt-editor>textarea{margin-top:7px}.music-prompt-hint,.music-prompt-error{color:var(--text-secondary);margin:7px 0 0;font-size:12px;line-height:1.65}.music-prompt-error{color:var(--text-primary)}.music-prompt-result{border-left:2px solid var(--accent);min-width:0;margin-top:10px;padding:8px 0 8px 12px}.music-prompt-result strong{font-size:12px;font-weight:550}.music-page .music-prompt-result textarea{min-height:105px;margin-top:5px;font-size:13px;line-height:1.7}.music-page #music-style{min-height:110px}.music-prompt-result-actions{justify-content:space-between;align-items:flex-start;gap:10px;margin-top:6px;display:flex}.music-prompt-result-actions details{min-width:0;color:var(--text-secondary);flex:1;padding-top:5px;font-size:12px}.music-prompt-result-actions summary{cursor:pointer}.music-prompt-result-actions p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.music-prompt-result-actions>button{flex-shrink:0}.music-prompt-undo{margin-top:6px}.music-reference{border:1px solid var(--border);background:var(--surface-muted);border-radius:12px;margin:14px 0;font-size:13px}.music-reference>summary{cursor:pointer;align-items:center;gap:8px;padding:13px;list-style:none;display:flex}.music-reference>summary:after{content:"＋";color:var(--accent);margin-left:auto}.music-reference[open]>summary:after{content:"−"}.music-reference>summary small{color:var(--text-secondary);font-weight:400}.music-reference-body{padding:0 13px 13px}.music-reference-body>p:first-child{margin-top:0}.music-reference-file{align-items:center;gap:10px;min-width:0;margin:9px 0;display:flex}.music-reference-file>span{text-overflow:ellipsis;white-space:nowrap;color:var(--text-secondary);flex:1;font-size:12px;overflow:hidden}.music-reference audio{width:100%;height:36px;display:block}.music-reference-range{flex-wrap:wrap;align-items:flex-end;gap:10px;margin-top:10px;display:flex}.music-reference-range label{min-width:75px;color:var(--text-secondary);flex:1;font-size:11px}.music-reference-range input{width:100%;margin-top:4px;padding:7px;display:block}.music-reference-analysis{color:var(--text-secondary);margin-top:9px;font-size:12px}.music-reference-analysis summary{cursor:pointer}.music-reference-analysis p{white-space:pre-wrap;line-height:1.8}.music-page .music-reference textarea{width:100%;min-height:115px;font-size:13px;line-height:1.7}.music-reference-body .music-prompt-result{padding-left:10px}.library-page{min-height:calc(100vh - 95px);padding-bottom:24px}.storage-overview{border:1px solid var(--border);background:var(--surface-muted);border-radius:15px;justify-content:space-between;align-items:center;gap:20px;margin:0 24px 22px;padding:18px 22px;display:flex}.storage-overview>div{color:var(--accent);align-items:center;gap:15px;display:flex}.storage-overview span{color:var(--text-secondary);font-size:12px}.storage-overview strong{color:var(--text-primary);margin-top:4px;font-size:26px;display:block}.storage-overview p{color:var(--text-secondary);font-size:12px;line-height:1.7}.library-categories{flex-wrap:wrap;gap:8px;padding:18px 24px 0;display:flex}.library-categories button{border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--text-secondary);font:inherit;cursor:pointer;border-radius:9px;align-items:center;gap:8px;padding:8px 12px;font-size:13px;display:flex}.library-categories button span{opacity:.8;text-align:center;min-width:18px;font-size:11px}.library-categories button[aria-pressed=true]{background:var(--accent);color:#fff;border-color:var(--accent)}.library-toolbar,.library-batch{align-items:center;gap:10px;padding:15px 24px 0;display:flex}.library-toolbar input{flex:1;min-width:0}.library-toolbar select{width:132px}.library-results{color:var(--text-secondary);margin:10px 24px 0;font-size:12px}.library-batch{flex-wrap:wrap;padding-top:12px;padding-bottom:16px}.library-batch label{align-items:center;gap:8px;margin-right:auto;font-size:13px;display:flex}.library-batch input,.library-select input{width:auto}.library-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:0 24px;display:grid}.library-card{border:1px solid var(--border);background:var(--surface);border-radius:15px;min-width:0;padding:13px}.library-select{color:var(--text-secondary);align-items:center;gap:7px;margin-bottom:10px;font-size:12px;display:flex}.library-select small{margin-left:auto;font-size:11px}.library-art{aspect-ratio:16/9;background:var(--surface-muted);width:100%;height:auto;color:var(--accent);cursor:pointer;border:0;border-radius:9px;padding:0;display:block;overflow:hidden}.library-art:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.library-thumbnail{background:var(--surface-muted);place-items:center;width:100%;height:100%;display:grid;position:relative}.library-thumbnail img,.library-thumbnail video{object-fit:contain;background:var(--surface-muted);width:100%;height:100%;display:block;position:absolute;inset:0}.library-thumbnail-fallback{color:var(--text-secondary);flex-direction:column;align-items:center;gap:10px;font-size:12px;display:flex}.library-thumbnail-fallback svg{color:var(--accent)}.library-play{color:#0068e8;background:#fff;border-radius:50%;place-items:center;width:34px;height:34px;display:grid;position:absolute;bottom:12px;right:12px;box-shadow:0 2px 10px #0b244426}.library-card h3{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;height:42px;margin:10px 0 5px;font-size:13px;line-height:1.6;display:-webkit-box;overflow:hidden}.library-card p{color:var(--text-secondary);margin:4px 0;font-size:11px;line-height:1.6}.library-card p.library-created{color:var(--text-primary)}.library-card-actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.library-card .button{padding:6px 10px;font-size:12px}.library-confirm{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.library-preview{max-height:65vh;margin:20px 0;overflow:auto}.library-preview>img{object-fit:contain;max-width:100%;max-height:60vh;margin:auto;display:block}.library-preview audio{width:100%}.library-preview .video-preview{max-height:60vh}.library-preview video{object-fit:contain;max-height:60vh}.library-description{color:var(--text-secondary);margin:12px 0 20px;font-size:13px}.library-description summary{cursor:pointer}.library-description p{white-space:pre-wrap;overflow-wrap:anywhere;max-height:160px;line-height:1.7;overflow:auto}@media (width<=1200px){.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.storage-overview{flex-direction:column;align-items:flex-start;gap:4px}}@media (width<=620px){.library-grid{grid-template-columns:1fr}.library-grid,.library-toolbar,.library-batch,.library-categories{padding-left:16px;padding-right:16px}.storage-overview{margin:0 16px 15px}.library-results{margin-left:16px;margin-right:16px}.library-categories{gap:6px}.library-categories button{padding:7px 9px}}.library-page{padding-bottom:24px;container:library/inline-size}.library-page>.r2-heading{padding-bottom:10px}.library-page .storage-overview{background:0 0;border:0;border-radius:0;margin:0 20px 12px;padding:0;display:block}.storage-overview summary{cursor:pointer;min-height:30px;color:var(--text-secondary);align-items:center;gap:8px;font-size:12px;list-style:none;display:flex}.storage-overview summary::-webkit-details-marker{display:none}.storage-overview summary strong{margin:0 6px 0 0;font-size:13px;display:inline}.storage-overview summary svg:first-child{color:var(--accent)}.storage-overview[open] summary svg:last-child{transform:rotate(180deg)}.storage-overview p{margin:6px 0 0}.library-page .r2-tabs{padding:0 20px 10px}.library-categories{gap:5px;padding:8px 20px 0}.library-categories button{border-color:#0000;min-height:34px;padding:6px 9px}.library-toolbar{padding:12px 20px 0}.library-toolbar input,.library-toolbar select{min-height:36px}.library-results{margin:8px 20px 0}.library-batch{padding:9px 20px 12px}.library-batch .button{min-height:32px;padding:5px 9px;font-size:12px}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1px;grid-auto-flow:dense;align-items:start;gap:0 12px;padding:0 20px;display:grid}.library-card{background:0 0;border:0;border-radius:0;width:100%;padding:0;position:relative}.library-card-content{display:flow-root}.library-cover{position:relative}.library-art{aspect-ratio:4/3;border-radius:10px}.library-select{z-index:1;background:var(--surface);color:var(--text-primary);cursor:pointer;border-radius:6px;gap:5px;margin:0;padding:4px 6px;position:absolute;top:8px;left:8px;box-shadow:0 1px 5px #152c4a12}.library-select input{width:15px;height:15px;min-height:0;accent-color:var(--accent);margin:0}.library-select span{font-size:10px}.library-card:has(.library-select input:checked) .library-art{outline:2px solid var(--accent);outline-offset:2px}.library-card h3{height:36px;margin:7px 0 3px;font-size:12px;font-weight:550;line-height:18px}.library-play{width:30px;height:30px;bottom:8px;right:8px}.library-play svg{width:15px;height:15px}.library-retention{background:var(--surface);color:var(--text-secondary);border-radius:5px;padding:3px 5px;font-size:10px;position:absolute;bottom:7px;left:7px}.library-card-actions{flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:3px;margin:0}.library-card-actions>.button,.library-more>summary{min-height:30px;color:var(--text-secondary);box-shadow:none;background:0 0;border:0;border-radius:6px;padding:4px 5px;font-size:12px}.library-card-actions>.button:hover,.library-more>summary:hover{background:var(--accent-soft);color:var(--accent)}.library-more>summary{cursor:pointer;align-items:center;gap:3px;list-style:none;display:flex}.library-more>summary::-webkit-details-marker{display:none}.library-more-content{z-index:8;border:1px solid var(--border);background:var(--surface);border-radius:12px;width:min(260px,100vw - 92px);padding:14px;position:absolute;top:100%;right:0;box-shadow:0 8px 26px #183c651f}.library-more-content>strong{font-size:12px}.library-more-content p{overflow-wrap:anywhere;margin:6px 0}.library-more-reuse{flex-wrap:wrap;gap:6px;margin:8px 0;display:flex}.library-more-content .button{min-height:32px;padding:5px 8px;font-size:12px}.library-more>summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@container library (width>=480px){.library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@container library (width>=640px){.library-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@container library (width>=800px){.library-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (width<=620px){.library-grid{gap:0 10px;padding:0 12px}.library-toolbar,.library-batch,.library-categories{padding-left:12px;padding-right:12px}.library-toolbar{flex-wrap:wrap}.library-toolbar input{flex-basis:100%}.library-toolbar select{width:100%}.library-batch{gap:5px}.library-batch label{width:100%}.library-page .storage-overview{margin-inline:12px}.library-select{padding:3px;top:5px;left:5px}.library-select span{display:none}.library-art{aspect-ratio:1}.library-card-actions>.button,.library-more>summary{min-height:36px}}@media (pointer:coarse){.library-card-actions>.button,.library-more>summary,.library-categories button{min-height:44px}.library-select{justify-content:center;min-width:32px;min-height:32px}}@media (width<=620px){.library-card-actions:has(.library-more[open]){flex-wrap:wrap}.library-more[open]{width:100%}.library-more-content{width:auto;margin-top:4px;padding:10px;position:static}}.library-art{aspect-ratio:auto}.library-thumbnail{height:auto;min-height:0}.library-thumbnail-fallback{justify-content:center;position:absolute;inset:0}.library-play{color:#fff;background:#10243bcc;inset:50% auto auto 50%;transform:translate(-50%,-50%)}.library-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}.library-thumbnail{aspect-ratio:4/3;height:120px}.library-thumbnail-fallback svg{width:24px;height:24px}.library-thumbnail-fallback>span{font-size:11px}@media (width<=620px){.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-thumbnail{height:100px}}.gallery-page{min-height:calc(100vh - 104px);padding:16px;container:gallery/inline-size}.gallery-toolbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding-bottom:4px;display:flex}.gallery-toolbar .r2-tabs{border:0;gap:4px;margin:0}.gallery-toolbar .r2-tabs button{white-space:nowrap;min-height:36px;padding:8px 10px;font-size:13px}.gallery-tools{flex-shrink:0;align-items:center;gap:6px;display:flex}.gallery-tools>.button{height:32px;min-height:32px;padding:6px 9px;font-size:12px}.gallery-tools .button svg{flex-shrink:0}.gallery-filters{align-items:center;gap:8px;margin:8px 0 12px;display:flex}.gallery-filters nav{flex-shrink:0;gap:2px;display:flex}.gallery-filters nav button{color:var(--text-secondary);background:0 0;border:0;border-radius:8px;min-height:34px;padding:7px 10px;font-size:13px}.gallery-filters nav button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent);font-weight:600}.gallery-filters input{flex:1;min-width:100px}.gallery-filters select{width:auto;max-width:132px}.gallery-filters input,.gallery-filters select{height:36px;min-height:36px;padding:6px 10px;font-size:13px}.gallery-policy{color:var(--text-secondary);font-size:12px;position:relative}.gallery-policy summary{cursor:pointer;border-radius:8px;place-items:center;width:32px;height:32px;list-style:none;display:grid}.gallery-policy summary::-webkit-details-marker{display:none}.gallery-policy summary:hover,.gallery-policy[open] summary{background:var(--accent-soft);color:var(--accent)}.gallery-policy summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.gallery-policy p{z-index:5;background:var(--surface);border:1px solid var(--border);border-radius:10px;width:min(310px,100vw - 100px);margin:8px 0 0;padding:12px 14px;line-height:1.7;position:absolute;top:100%;right:0;box-shadow:0 8px 24px #10243b18}.gallery-grid{grid-template-columns:repeat(auto-fill,minmax(min(120px,100%),1fr));grid-auto-rows:1px;grid-auto-flow:dense;align-items:start;gap:0 12px;display:grid}.gallery-card{min-width:0}.gallery-card-content{border:1px solid var(--border);background:var(--surface);border-radius:12px;overflow:hidden}.gallery-cover{background:var(--surface-muted);border:0;width:100%;padding:0;display:block;position:relative;overflow:hidden}.gallery-cover img{width:100%;height:auto;display:block}.gallery-kind{color:#fff;background:#10243bdd;border-radius:6px;padding:4px 8px;font-size:11px;position:absolute;top:10px;left:10px}.gallery-play{color:#fff;filter:drop-shadow(0 1px 4px #000);place-content:center;display:grid;position:absolute;inset:0}.gallery-play svg{box-sizing:content-box;background:#10243bbb;border-radius:50%;padding:12px}.gallery-cover-empty{height:100%;min-height:150px;color:var(--text-secondary);flex-direction:column;justify-content:center;align-items:center;gap:10px;font-size:12px;display:flex}.gallery-card-body{padding:0 10px}.gallery-card h3{min-width:0;margin:0;font-size:12px;line-height:18px}.gallery-card h3 button{text-align:left;white-space:nowrap;text-overflow:ellipsis;width:100%;height:36px;color:var(--text-primary);font:inherit;background:0 0;border:0;padding:0;display:block;overflow:hidden}.gallery-card h3 button:focus-visible{outline-offset:-2px}.gallery-more{text-align:center;color:var(--text-secondary);padding:16px;font-size:13px}.modal.gallery-detail-modal{width:min(1120px,100vw - 40px);max-width:none}.gallery-detail{grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr);gap:24px;display:grid}.gallery-detail-media{background:#101820;border-radius:12px;justify-content:center;align-items:center;min-width:0;min-height:220px;display:flex;overflow:hidden}.gallery-detail-media>img{object-fit:contain;max-width:100%;max-height:70vh;display:block}.gallery-detail-media .video-preview{width:100%}.gallery-detail-media video{object-fit:contain;width:100%;max-height:70vh}.gallery-detail-copy{min-width:0}.gallery-detail-author{color:var(--text-secondary);margin:0 0 12px;font-size:13px}.gallery-retention{color:var(--success);margin-bottom:16px;font-size:13px}.gallery-retention small{color:var(--text-secondary);margin-top:4px;font-size:11px;display:block}.gallery-detail-actions{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.gallery-detail-copy h3{margin:20px 0 8px;font-size:14px}.gallery-prompt{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface-muted);border-radius:10px;max-height:280px;margin:0;padding:14px;font-family:inherit;font-size:14px;line-height:1.8;overflow:auto}.gallery-model,.gallery-hint{color:var(--text-secondary);overflow-wrap:anywhere;font-size:12px;line-height:1.7}.gallery-owner{border-top:1px solid var(--border);gap:8px;margin-top:20px;padding-top:16px;display:flex}.gallery-delete-confirm{border:1px solid var(--border);background:var(--surface-muted);border-radius:12px;margin-top:16px;padding:16px}.gallery-delete-confirm p{font-size:13px;line-height:1.8}.gallery-delete-confirm button+button{margin-left:8px}.share-work-form{gap:14px;display:grid}.share-work-form label{gap:7px;font-size:13px;display:grid}.share-work-form textarea{resize:vertical;line-height:1.7}.share-work-form p{color:var(--text-secondary);margin:0;font-size:12px;line-height:1.7}.share-work-form .share-download{align-items:center;display:flex}.share-download input{width:16px;height:16px}.gallery-page button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.gallery-page button:disabled{opacity:.55}@media (width<=700px){.gallery-page{padding:12px}.gallery-filters{flex-wrap:wrap}.gallery-filters nav{width:100%}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:10px}.gallery-detail{grid-template-columns:minmax(0,1fr)}.modal.gallery-detail-modal{width:calc(100vw - 24px)}.gallery-detail-media>img,.gallery-detail-media video{max-height:45vh}.gallery-detail-actions button{min-height:40px}}@container gallery (width<=600px){.gallery-toolbar{flex-wrap:wrap;gap:4px}.gallery-toolbar .r2-tabs{flex:1;gap:0;min-width:0;display:flex}.gallery-toolbar .r2-tabs button{flex:1;padding:8px 5px;font-size:12px}.gallery-tools>.button span{display:none}.gallery-tools>.button{width:32px;padding:6px}.gallery-policy p{right:-76px}}@media (width<=700px){.modal.gallery-detail-modal{padding:16px}}@media (pointer:coarse){.gallery-card h3 button,.gallery-filters button,.gallery-detail-actions .button,.gallery-toolbar button,.gallery-policy summary{min-width:44px;min-height:44px}.gallery-filters input,.gallery-filters select{min-height:44px}}@container gallery (width>=912px){.gallery-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}.gallery-music-cover{box-sizing:border-box;background:linear-gradient(140deg,var(--accent-soft),var(--surface));min-height:200px;color:var(--accent);flex-direction:column;justify-content:center;align-items:center;gap:20px;padding:42px 12px 20px;display:flex}.gallery-music-cover>span:last-child{color:var(--text-secondary);font-size:11px}.gallery-music-bars{opacity:.4;justify-content:center;align-items:center;gap:4px;width:100%;height:54px;display:flex}.gallery-music-bars i{background:currentColor;border-radius:4px;width:4px;max-width:5%}.gallery-detail-media.is-music{background:var(--surface-muted);box-sizing:border-box;max-height:70vh;padding:20px;display:block;overflow:auto}.gallery-music-list{width:100%;min-width:0}.gallery-music-heading{color:var(--accent);align-items:center;gap:13px;padding:7px 0 18px;display:flex}.gallery-music-heading>div{gap:6px;min-width:0;display:grid}.gallery-music-heading strong{color:var(--text-primary);overflow-wrap:anywhere;font-size:18px}.gallery-music-heading span{color:var(--text-secondary);font-size:12px}.gallery-music-list article{border:1px solid var(--border);background:var(--surface);border-radius:12px;min-width:0;margin-bottom:12px;padding:15px}.gallery-music-list article>div{justify-content:space-between;align-items:start;gap:10px;font-size:13px;display:flex}.gallery-music-list article strong{overflow-wrap:anywhere;min-width:0}.gallery-music-list small{color:var(--text-secondary);white-space:nowrap;flex-shrink:0}.gallery-music-list audio{width:100%;min-width:0;margin:12px 0;display:block}.gallery-music-list details{color:var(--text-secondary);margin-bottom:12px;font-size:12px}.gallery-music-list summary{cursor:pointer}.gallery-music-list details p{white-space:pre-wrap;overflow-wrap:anywhere;max-height:200px;line-height:1.8;overflow:auto}.gallery-music-list .button{font-size:12px}.gallery-music-heading>svg{flex-shrink:0}@media (width<=700px){.gallery-detail-media.is-music{max-height:none;padding:12px}.gallery-music-cover{min-height:180px}.gallery-music-list article{padding:11px}}.writer-layout{grid-template-columns:192px minmax(0,1fr);align-items:stretch;gap:16px;min-height:calc(100dvh - 138px);display:grid}.writer-types{border:1px solid var(--border,#d9e6f3);background:#ffffffd1;border-radius:20px;flex-direction:column;min-width:0;min-height:660px;padding:20px 12px 16px;display:flex}.writer-types-heading{color:var(--text-secondary,#52647b);justify-content:space-between;align-items:center;padding:0 9px 18px;font-size:13px;font-weight:650;display:flex}.writer-type-list{flex-direction:column;gap:7px;display:flex}.writer-type{text-align:left;width:100%;min-height:44px;color:var(--text-secondary,#52647b);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;align-items:center;gap:10px;padding:10px 12px;font-size:13px;display:flex}.writer-type svg{flex-shrink:0}.writer-type:hover{background:var(--surface-muted,#f4f8fd)}.writer-type.selected{color:var(--accent,#0068e8);background:var(--accent-soft,#e9f2ff);border-color:#bfd8fa;font-weight:650;box-shadow:0 2px 8px #2274d50f}.writer-type-dot{background:currentColor;border-radius:50%;width:5px;height:5px;margin-left:auto}.writer-type-tip{color:var(--text-secondary,#52647b);margin:auto 9px 0;padding-top:70px}.writer-type-tip svg{color:#6792c1;margin-bottom:10px}.writer-type-tip strong{font-size:12px;font-weight:550;display:block}.writer-type-tip p{margin:7px 0 0;font-size:12px;line-height:1.8}.writer-workspace{background:var(--surface,#fff);border:1px solid var(--border,#d9e6f3);border-radius:20px;min-width:0;padding:24px 26px 15px}.writer-workspace-heading{justify-content:space-between;align-items:flex-start;margin-bottom:24px;display:flex}.writer-workspace-heading h2{letter-spacing:-.35px;margin:0 0 4px;font-size:19px;font-weight:650;line-height:28px}.writer-workspace-heading p{color:var(--text-secondary,#52647b);margin:0;font-size:12px}.writer-label{justify-content:space-between;align-items:center;margin-bottom:9px;font-size:13px;font-weight:550;display:flex}.writer-inline-link{color:var(--accent,#0068e8);font:inherit;cursor:pointer;background:0 0;border:0;font-size:12px}.writer-topic{border:1px solid var(--border,#d9e6f3);width:100%;height:44px;color:var(--text-primary,#18263b);background:var(--surface-muted,#f4f8fd);font:inherit;border-radius:10px;padding:0 14px;font-size:13px}.writer-topic::placeholder{color:#7b8da2}.writer-more{margin:12px 0 17px}.writer-more summary{cursor:pointer;color:var(--text-secondary,#52647b);justify-content:space-between;align-items:center;min-height:26px;font-size:12px;list-style:none;display:flex}.writer-more summary::-webkit-details-marker{display:none}.writer-more summary small{color:#8492a6;margin-left:12px;font-size:12px}.writer-more[open] summary svg{transform:rotate(180deg)}.writer-more-fields{background:var(--surface-muted,#f4f8fd);border-radius:12px;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px;padding:15px;display:grid}.writer-more-fields label{color:var(--text-secondary,#52647b);flex-direction:column;gap:6px;font-size:12px;display:flex}.writer-more-fields input,.writer-more-fields textarea{width:100%;font:inherit;color:var(--text-primary,#18263b);border:1px solid var(--border,#d9e6f3);background:var(--surface,#fff);resize:vertical;border-radius:8px;padding:9px 10px}.writer-more-fields .writer-notes{grid-column:1/-1}.writer-document{border:1px solid var(--border,#d9e6f3);background:var(--surface,#fff);border-radius:13px;overflow:hidden}.writer-document-toolbar{border-bottom:1px solid var(--border,#d9e6f3);background:var(--surface-muted,#f4f8fd);justify-content:space-between;align-items:center;gap:10px;min-height:44px;padding:7px 14px;display:flex}.writer-mode-switch{align-items:center;gap:4px;display:flex}.writer-mode-switch button{color:var(--text-secondary,#52647b);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:6px;padding:6px 9px;font-size:12px;display:flex}.writer-mode-switch button.active{color:var(--accent,#0068e8);background:var(--surface,#fff);box-shadow:0 1px 4px #152c4a0d}.writer-document-tools{align-items:center;gap:12px;display:flex}.writer-document-tools .save-indicator{font-size:12px}.writer-icon-action{width:27px;height:27px;color:var(--text-secondary,#52647b);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;display:grid}.writer-icon-action:disabled{opacity:.35;cursor:default}.writer-candidates{flex-wrap:wrap;gap:7px;padding:13px 18px 3px;display:flex}.writer-candidates button{border:1px solid var(--border,#d9e6f3);color:var(--text-secondary,#52647b);background:var(--surface,#fff);font:inherit;cursor:pointer;border-radius:7px;align-items:center;gap:5px;padding:6px 9px;font-size:12px;display:flex}.writer-candidates button.active{background:var(--accent-soft,#e9f2ff);color:var(--accent,#0068e8);border-color:#bfd8fa}.writer-candidate-number{opacity:.75;font-size:12px}.writer-edited-dot{background:#af791b;border-radius:50%;width:4px;height:4px}.writer-paper-title{justify-content:space-between;align-items:center;gap:10px;padding:19px 25px 9px;display:flex}.writer-paper-title h3{margin:0;font-size:17px;font-weight:650;line-height:1.6}.writer-paper-title button{color:var(--text-secondary,#52647b);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:none;font-size:12px}.writer-editor{resize:vertical;background:var(--surface,#fff);width:100%;height:380px;min-height:350px;color:var(--text-primary,#18263b);font:inherit;outline-offset:-4px;border:0;padding:12px 26px 20px;font-size:15px;line-height:1.95;display:block}.writer-editor::placeholder{color:#8a9aaf}.writer-document-footer{border-top:1px solid var(--border,#d9e6f3);color:var(--text-secondary,#52647b);justify-content:space-between;align-items:center;gap:12px;padding:11px 20px;font-size:12px;display:flex}.writer-duration{margin-left:20px}.writer-original{background:var(--surface-muted,#f4f8fd);border-radius:9px;max-height:200px;margin:6px 24px;padding:12px 15px;overflow:auto}.writer-original>span{color:var(--text-secondary,#52647b);font-size:12px}.writer-original pre{white-space:pre-wrap;font:inherit;font-size:13px;line-height:1.8}.writer-storyboard-note{color:var(--text-secondary,#52647b);margin:0;padding:0 25px 10px;font-size:12px;line-height:1.8}.writer-errors{gap:8px;margin-top:12px;display:grid}.writer-actions{flex-wrap:wrap;justify-content:space-between;gap:12px 8px;margin-top:16px;display:flex}.writer-local-actions,.writer-save-actions{flex-wrap:wrap;gap:7px;display:flex}.writer-actions .button{white-space:nowrap;gap:5px;min-height:36px;padding:8px 10px;font-size:12px}.writer-actions .primary{padding-inline:14px}.writer-demo-note{color:var(--text-secondary,#52647b);align-items:flex-start;gap:6px;margin-top:15px;font-size:12px;line-height:1.6;display:flex}.writer-demo-note svg{flex-shrink:0;margin-top:2px}@media (width<=1280px){.writer-layout{grid-template-columns:180px minmax(0,1fr);gap:12px}.writer-workspace{padding:20px}.writer-actions{gap:10px}.writer-editor{height:345px}}@media (width<=960px){.writer-layout{grid-template-columns:1fr}.writer-types{min-height:auto;padding:12px}.writer-types-heading{padding:2px 5px 10px}.writer-type-list{flex-direction:row;gap:5px;overflow-x:auto}.writer-type{flex-shrink:0;width:auto;min-height:38px;padding:8px 10px}.writer-type-tip,.writer-type-dot{display:none}.writer-workspace{padding:20px}.writer-workspace-heading{margin-bottom:18px}}@media (width<=600px){.writer-workspace{padding:16px 12px}.writer-more summary small{display:none}.writer-more-fields{grid-template-columns:1fr}.writer-document-tools .save-indicator{max-width:110px}.writer-editor{padding-inline:16px;font-size:14px}.writer-paper-title{padding-inline:16px}.writer-duration{margin-left:8px}.writer-document-footer{padding-inline:12px;font-size:12px}.writer-actions .button{font-size:12px}.writer-paper-title h3{font-size:15px}}html[data-theme=dark] .writer-types,html[data-reduced-transparency=true] .writer-types{background:var(--surface)}.writer-generate-row{align-items:center;gap:12px;display:flex}.writer-generate-row .writer-topic{flex:1;min-width:0}.writer-generate-row .real-generation{margin:0}.writer-editor:focus{outline:2px solid var(--accent);outline-offset:-2px;border-radius:0}.writer-actions{flex-wrap:wrap;align-items:flex-start}@media (width<=650px){.writer-generate-row{flex-wrap:wrap}.writer-generate-row .writer-topic{flex-basis:100%}}textarea.writer-topic{resize:vertical;height:66px;min-height:44px;max-height:180px;padding:9px 14px;line-height:1.65}.prompt-workshop{height:100%;min-height:0;color:var(--text-primary);flex-direction:column;gap:18px;display:flex}.pw-top{justify-content:space-between;align-items:center;gap:20px;padding:5px 3px;display:flex}.pw-kicker{color:var(--accent);letter-spacing:.08em;font-size:12px;font-weight:600}.pw-top h2{letter-spacing:-.03em;margin:6px 0 8px;font-size:24px;line-height:1.3}.pw-top p{color:var(--text-secondary);margin:0;font-size:13px;line-height:1.7}.pw-top-actions{flex-shrink:0;gap:8px;display:flex}.pw-layout{flex:1;grid-template-columns:minmax(310px,.95fr) minmax(340px,1.15fr);gap:18px;min-height:0;display:grid}.pw-input,.pw-result{background:var(--surface);border:1px solid var(--border);scrollbar-width:thin;border-radius:20px;min-width:0;padding:24px;overflow:auto}.pw-result{background:color-mix(in srgb,var(--surface) 90%,transparent);flex-direction:column;display:flex}.pw-section-title{align-items:center;gap:10px;margin:0 0 17px;display:flex}.pw-section-title>span:first-child{width:27px;height:27px;color:var(--accent);background:var(--accent-soft);border-radius:9px;place-items:center;font-size:11px;display:grid}.pw-section-title h3{margin:0;font-size:15px;font-weight:650}.pw-section-title .badge{margin-left:auto}.pw-label{flex-direction:column;gap:9px;margin-bottom:13px;font-size:13px;font-weight:600;display:flex}.prompt-workshop select,.prompt-workshop input,.prompt-workshop textarea{font:inherit;color:var(--text-primary);border:1px solid var(--border);background:var(--surface);border-radius:10px;min-width:0}.prompt-workshop input,.prompt-workshop select{min-height:40px;padding:9px 11px}.prompt-workshop textarea{resize:vertical;box-sizing:border-box;width:100%;padding:13px;font-size:14px;line-height:1.85}.prompt-workshop :is(select,input,textarea):focus-visible{outline:2px solid var(--accent);outline-offset:2px}.pw-skill-summary{background:var(--accent-soft);border:1px solid var(--border);border-radius:12px;gap:10px;margin-bottom:24px;padding:14px;display:flex}.pw-skill-summary>svg{color:var(--accent);flex-shrink:0;margin-top:3px}.pw-skill-summary strong{font-size:13px}.pw-skill-summary p{color:var(--text-secondary);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:7px 0;font-size:12px;line-height:1.7;display:-webkit-box;overflow:hidden}.pw-skill-summary button{min-height:28px;font-size:12px}.pw-file-actions{flex-wrap:wrap;gap:8px;display:flex}.pw-file-actions .button{font-size:12px}.pw-hint{color:var(--text-secondary);margin:10px 0 16px;font-weight:400;line-height:1.75;font-size:12px!important}.pw-parameters{grid-template-columns:1.2fr .8fr 1fr;gap:10px;margin:20px 0;display:grid}.pw-parameters label{flex-direction:column;gap:8px;font-size:12px;display:flex}.pw-generate{border-top:1px solid var(--border);padding-top:16px}.pw-generate>.real-generation-entry{width:100%;min-height:44px;margin-bottom:0}.pw-draft{justify-content:space-between;align-items:center;gap:8px;display:flex}.pw-draft .save-indicator{font-size:11px}.pw-example{color:var(--text-secondary);margin-top:15px;font-size:12px}.pw-example summary{cursor:pointer}.pw-example p{line-height:1.7}.pw-materials{flex-direction:column;gap:10px;display:flex}.pw-materials article{border:1px solid var(--border);border-radius:12px;gap:10px;min-width:0;padding:10px;display:flex}.pw-materials img{object-fit:contain;background:var(--surface-muted);border-radius:7px;width:70px;height:90px}.pw-materials article>div{flex:1;gap:5px;min-width:0;display:grid}.pw-materials strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.pw-materials select,.pw-materials input{min-height:32px;padding:5px 8px;font-size:12px}.pw-materials .icon-button{flex-shrink:0;align-self:flex-start}.pw-result-empty{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:280px;padding:40px 10px;display:flex}.pw-result-empty>div:first-child{width:82px;height:82px;color:var(--accent);background:var(--accent-soft);border:1px solid var(--border);border-radius:25px;place-items:center;display:grid}.pw-result-empty h3{margin:25px 0 12px;font-size:20px;font-weight:600}.pw-result-empty p{color:var(--text-secondary);font-size:13px;line-height:1.85}.pw-output-map{color:var(--text-secondary);flex-wrap:wrap;justify-content:center;gap:14px;margin-top:22px;font-size:12px;display:flex}.pw-output-map span{align-items:center;gap:5px;display:flex}.pw-output-map svg{color:var(--accent)}.pw-result-meta{color:var(--text-secondary);align-items:center;gap:8px;margin-bottom:12px;font-size:12px;display:flex}.pw-result-meta select{flex:1;max-width:calc(100% - 80px)}.pw-result-editor{flex:1;min-height:330px;resize:none!important;background:var(--surface)!important}.pw-result-actions{flex-wrap:wrap;gap:8px;margin:14px 0;display:flex}.pw-result-actions .button{font-size:12px}.pw-transfer{border-top:1px solid var(--border);padding-top:18px}.pw-transfer strong{font-size:14px}.pw-transfer p{color:var(--text-secondary);margin:7px 0 14px;font-size:12px;line-height:1.8}.pw-transfer>div:last-child{flex-wrap:wrap;gap:8px;display:flex}.pw-transfer .button{min-height:40px;font-size:12px}.pw-library{border-radius:20px;flex:1;min-height:0;padding:24px;overflow:auto}.pw-library-tools{gap:12px;margin-bottom:20px;display:flex}.pw-search{flex:1;align-items:center;gap:8px;display:flex}.pw-search input{width:100%}.pw-skill-grid{grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:16px;display:grid}.pw-skill-card{border:1px solid var(--border);background:var(--surface);border-radius:15px;flex-direction:column;min-width:0;padding:21px;display:flex}.pw-skill-card>div{justify-content:space-between;align-items:center;display:flex}.pw-skill-card small{color:var(--text-secondary)}.pw-skill-card h3{margin:16px 0 8px;font-size:16px;line-height:1.5}.pw-skill-card p{color:var(--text-secondary);flex:1;font-size:13px;line-height:1.8}.pw-skill-card footer{flex-wrap:wrap;gap:7px;margin-top:12px;display:flex}.pw-skill-card .button{font-size:12px}.pw-empty{text-align:center;color:var(--text-secondary);padding:40px}.modal.pw-detail{width:min(850px,100vw - 32px);max-width:calc(100vw - 32px)}.pw-detail details{border:1px solid var(--border);border-radius:10px;margin:10px 0;padding:12px}.pw-detail summary{cursor:pointer;font-size:13px}.pw-detail pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:55vh;font-family:inherit;font-size:13px;line-height:1.8;overflow:auto}.pw-mobile-tabs{display:none}.prompt-workspace .app-sidebar nav{scrollbar-width:thin;min-height:0;overflow:auto}.prompt-workshop{gap:12px}.pw-top{gap:12px;padding:0 3px}.pw-top>p{color:var(--text-secondary);margin:0;font-size:13px}.pw-parameters[hidden],.pw-parameters label[hidden]{display:none}.pw-parameters:not(.pw-target-video){grid-template-columns:repeat(2,minmax(0,1fr))}.pw-label>textarea{min-height:168px}.pw-result-meta label{flex:1;gap:6px;min-width:0;display:grid}.pw-result-meta select{width:100%;max-width:100%;font-size:12px}.pw-result-meta>span{flex-shrink:0;align-self:flex-end;padding-bottom:12px}.pw-result-source{color:var(--text-secondary);gap:4px;margin:0 0 12px;font-size:12px;line-height:1.6;display:grid}.pw-result-source strong{color:var(--text-primary)}.pw-result-source span{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.pw-run-status{border:1px solid var(--border);background:var(--accent-soft);border-radius:12px;margin-bottom:14px;padding:12px 14px;font-size:12px;line-height:1.6}.pw-run-status>div{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.pw-run-status strong{font-size:13px}.pw-run-status>div>span{color:var(--text-secondary);margin-left:auto}.pw-run-status p{overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:6px 0 0;display:-webkit-box;overflow:hidden}.pw-run-status.has-issues p{display:block}.pw-run-status .button{margin-top:8px;font-size:12px}.pw-run-status svg{color:var(--accent);flex-shrink:0}.pw-transfer>.button{width:100%}.pw-transfer .pw-other-targets{color:var(--text-secondary);margin-top:10px;font-size:12px}.pw-other-targets summary{cursor:pointer;min-height:28px;line-height:28px}.pw-other-targets>div{flex-wrap:wrap;gap:8px;padding-top:6px;display:flex}.pw-library-tools{flex-wrap:wrap}.pw-search{min-width:min(220px,100%)}.pw-spinner{animation:1s linear infinite pw-spin}@keyframes pw-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.pw-spinner{animation:none}}@media (width<=1100px){.pw-layout{grid-template-columns:minmax(280px,1fr) minmax(300px,1fr);gap:12px}.pw-input,.pw-result{padding:18px}.pw-top{align-items:flex-start}.pw-top h2{font-size:20px}.pw-top-actions{flex-direction:column}.pw-parameters{gap:6px}}@media (width<=800px){.prompt-workshop{height:auto;min-height:700px}.pw-top{flex-direction:column;gap:12px}.pw-top-actions{flex-flow:wrap}.pw-layout{flex:auto;display:block}.pw-input,.pw-result{display:none;overflow:visible}.pw-input.mobile-active{display:block}.pw-result.mobile-active{min-height:650px;display:flex}.pw-result-editor{min-height:420px}.pw-mobile-tabs{background:var(--surface);border:1px solid var(--border);border-radius:12px;gap:4px;padding:4px;display:flex}.pw-mobile-tabs button{min-height:42px;color:var(--text-secondary);font:inherit;background:0 0;border:0;border-radius:8px;flex:1;font-size:13px}.pw-mobile-tabs [aria-selected=true]{background:var(--accent-soft);color:var(--accent)}.pw-input,.pw-result,.pw-library{padding:16px}.pw-top h2{font-size:21px}.pw-parameters{grid-template-columns:1fr 1fr}.pw-parameters>label:first-child{grid-column:1/-1}.pw-library-tools{flex-wrap:wrap}.pw-library-tools>select{width:100%}.pw-output-map{gap:10px}}@media (width>=801px){.pw-input{flex-direction:column;padding-bottom:16px;display:flex;overflow:hidden}.pw-input-scroll{scrollbar-width:thin;flex:1;min-height:0;padding-right:3px;overflow:auto}.pw-input .pw-generate{flex-shrink:0;margin-top:12px}.pw-input .pw-example{flex-shrink:0}.pw-generate .pw-hint{margin-bottom:9px}}.pw-label :is(textarea,input,select){font-weight:400}.pw-purpose{background:var(--surface);border:1px solid var(--border);border-radius:14px;flex-shrink:0;gap:6px;width:fit-content;max-width:100%;padding:5px;display:flex}.pw-purpose button{text-align:left;min-height:48px;color:var(--text-secondary);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:10px;padding:8px 18px;font-size:14px}.pw-purpose button span{margin-top:4px;font-size:11px;font-weight:400;display:block}.pw-purpose [aria-selected=true]{background:var(--accent-soft);color:var(--accent);font-weight:650}.pw-count{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:13px;font-size:12px;display:flex}.pw-count>div{gap:4px;display:flex}.pw-count button{border:1px solid var(--border);background:var(--surface);color:var(--text-secondary);cursor:pointer;min-height:34px;font:inherit;border-radius:8px;padding:5px 10px}.pw-count button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.pw-count label{align-items:center;gap:6px;display:flex}.pw-count input{width:64px;min-height:34px;padding:5px 7px;font-size:12px}.pw-writing-options{grid-template-columns:1fr 1fr;gap:10px;display:grid}.pw-writing-parameters details{margin:4px 0 15px;font-size:12px}.pw-writing-parameters summary{cursor:pointer;margin-bottom:8px}.pw-writing .writer-workspace{background:0 0;border:0;border-radius:0;flex-direction:column;flex:1;padding:0;display:flex}.pw-writing .writer-brief:empty{display:none}.pw-writing .writer-document{flex-direction:column;flex:1;min-height:320px;display:flex}.pw-writing .writer-editor{resize:vertical;border:0;border-radius:0;flex:1;min-height:260px;padding:16px}.pw-writing .writer-candidates{scrollbar-width:thin;flex-wrap:nowrap;flex-shrink:0;max-height:85px;padding:10px;overflow:auto}.pw-writing .writer-candidates button{white-space:nowrap;flex-shrink:0}.pw-writing .writer-paper-title{padding:12px 16px 5px}.pw-writing .writer-paper-title h3{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14px;display:-webkit-box;overflow:hidden}.pw-writing .writer-personal-reuse{margin-top:12px}.pw-writing .writer-document-footer{flex-wrap:wrap;padding:10px}.pw-writing .writer-original{margin:6px 12px}.pw-writing .writer-duration{margin-left:8px}.prompt-workshop button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (width<=800px){.pw-purpose{width:100%}.pw-purpose button{flex:1;padding-inline:12px}.pw-writing .pw-result.mobile-active{min-height:650px}.pw-writing .writer-editor{min-height:350px}.pw-count{gap:8px}}@media (pointer:coarse){.pw-count button,.pw-count input{min-height:44px}}.pw-purpose button{min-height:42px;padding-block:8px}.pw-purpose button span{display:none}.pw-skill-summary{margin-bottom:18px;padding:11px}.pw-skill-summary p{-webkit-line-clamp:2;margin:4px 0}.pw-section-title{margin-bottom:13px}.pw-purpose{flex-wrap:wrap}.pw-purpose select{background:0 0;border-color:#0000;max-width:130px;min-height:42px;font-size:12px}.pw-purpose button{white-space:nowrap}.pw-parameters{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr) minmax(0,1fr)}.pw-parameters label{min-width:0}.pw-parameters :is(input,select){box-sizing:border-box;width:100%}@media (width<=800px){.pw-parameters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}.modal.pw-history-modal{box-sizing:border-box;flex-direction:column;width:min(980px,100vw - 32px);max-width:calc(100vw - 32px);height:min(820px,100dvh - 40px);max-height:calc(100dvh - 40px);padding:24px;overflow:hidden}.pw-history-modal[open]{display:flex}.pw-history-tabs{border-bottom:1px solid var(--border);flex-shrink:0;gap:4px;margin-bottom:18px;display:flex}.pw-history-tabs button{min-height:44px;font:inherit;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;align-items:center;gap:7px;padding:8px 16px;font-size:14px;display:flex}.pw-history-tabs [aria-selected=true]{color:var(--accent);border-bottom-color:var(--accent);font-weight:650}.pw-history-tools{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:8px;display:flex}.pw-history-tools>label{border:1px solid var(--border);background:var(--surface);min-width:min(240px,100%);color:var(--text-secondary);border-radius:11px;flex:1;align-items:center;gap:8px;padding:0 12px;display:flex}.pw-history-tools input{width:100%;min-width:0;font:inherit;color:var(--text-primary);background:0 0;flex:1;padding:11px 0;font-size:13px;border:0!important}.pw-history-tools select{border:1px solid var(--border);background:var(--surface);min-height:40px;color:var(--text-primary);font:inherit;border-radius:10px;padding:8px;font-size:12px}.pw-history-tools .button{min-height:40px;font-size:12px}.pw-history-selection{color:var(--text-secondary);flex-wrap:wrap;flex-shrink:0;align-items:center;gap:10px;padding:13px 0;font-size:12px;display:flex}.pw-history-selection label{align-items:center;gap:6px;display:flex}.pw-history-modal input[type=checkbox]{width:16px;height:16px;min-height:0;accent-color:var(--accent);cursor:pointer}.pw-history-selection .text-button{font-size:12px}.pw-history-list{scrollbar-width:thin;flex:1;min-height:0;padding-right:3px;overflow:auto}.pw-history-row{border:1px solid var(--border);background:var(--surface);border-radius:12px;align-items:flex-start;gap:12px;margin-bottom:9px;padding:15px;display:flex}.pw-history-row.is-current{border-color:var(--accent);background:var(--accent-soft)}.pw-history-row>input{flex-shrink:0;margin:5px 0 0}.pw-history-copy{flex:1;min-width:0}.pw-history-copy h3{white-space:nowrap;text-overflow:ellipsis;margin:0 0 7px;font-size:14px;font-weight:600;line-height:1.55;overflow:hidden}.pw-history-info{color:var(--text-secondary);flex-wrap:wrap;align-items:center;gap:6px 12px;font-size:11px;display:flex}.pw-history-info>span:first-child{text-overflow:ellipsis;white-space:nowrap;max-width:300px;overflow:hidden}.pw-history-info strong{color:var(--accent);align-items:center;gap:3px;display:flex}.pw-history-copy p{color:var(--text-secondary);overflow-wrap:anywhere;-webkit-line-clamp:2;white-space:pre-line;-webkit-box-orient:vertical;margin:7px 0 0;font-size:12px;line-height:1.7;display:-webkit-box;overflow:hidden}.pw-history-row-actions{flex-shrink:0;align-items:center;gap:5px;display:flex}.pw-history-row-actions .button{font-size:12px}.pw-history-row-actions .icon-button{color:var(--text-secondary)}.pw-history-row-actions .icon-button:hover{color:#bd3548;background:#fff0f2}.pw-history-empty{text-align:center;height:100%;min-height:200px;color:var(--text-secondary);flex-direction:column;justify-content:center;align-items:center;display:flex}.pw-history-empty svg{color:var(--accent)}.pw-history-empty h3{margin:15px 0 5px;font-size:17px}.pw-history-empty p{font-size:13px}.pw-history-footer{border-top:1px solid var(--border);flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding-top:14px;display:flex}.pw-history-bulk{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.pw-history-footer .button,.pw-history-footer .text-button{font-size:12px}.pw-history-footer nav{align-items:center;gap:12px;font-size:12px;display:flex}.pw-history-scope{color:var(--text-secondary);flex-shrink:0;margin:12px 0 0;font-size:11px;line-height:1.6}.pw-history-confirm{background:var(--surface);border:1px solid #efb5be;border-radius:11px;flex-shrink:0;margin:8px 0;padding:12px}.pw-history-confirm p{margin:0 0 8px;font-size:13px;line-height:1.7}.pw-history-confirm .button{margin-right:8px;font-size:12px}.pw-history-entry{align-items:center;gap:7px;min-width:0;margin-right:auto;display:flex}.pw-result-meta .pw-history-entry .button{font-size:12px}.pw-result-meta>.pw-history-current{text-overflow:ellipsis;white-space:nowrap;align-self:center;max-width:40%;padding:0;overflow:hidden}.pw-history-modal button:focus-visible,.pw-history-modal input:focus-visible,.pw-history-modal select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (width<=600px){.modal.pw-history-modal{width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);padding:16px}.pw-history-tabs button{padding-inline:10px;font-size:13px}.pw-history-tools>label{flex-basis:100%}.pw-history-row{flex-wrap:wrap;gap:8px;padding:11px}.pw-history-copy{flex-basis:calc(100% - 32px)}.pw-history-row-actions{justify-content:space-between;width:calc(100% - 24px);margin-left:24px}.pw-history-footer{gap:8px}.pw-history-footer nav{margin-left:auto}.pw-history-scope{font-size:10px}.pw-history-info>span:first-child{max-width:200px}.pw-result-meta{flex-wrap:wrap}.pw-result-meta>.pw-history-current{max-width:100%}.pw-history-selection{gap:7px}.pw-history-confirm{max-height:30vh;overflow:auto}}.pw-flow-nav{color:var(--text-secondary);flex-wrap:wrap;align-items:center;gap:10px;min-width:0;font-size:12px;display:flex}.pw-flow-nav button{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;padding:7px 0}.pw-flow-nav [aria-current=step]{color:var(--accent);font-weight:650}.pw-top-actions .button{min-height:36px;font-size:12px}.pw-intent-start{flex:1;min-height:0;padding:clamp(20px,6vh,70px) clamp(4px,4vw,64px);overflow:auto}.pw-intent-heading{margin-bottom:32px}.pw-intent-heading h2{letter-spacing:-.04em;margin:10px 0 14px;font-size:32px;line-height:1.3}.pw-intent-heading p{color:var(--text-secondary);max-width:560px;margin:0;font-size:14px;line-height:1.8}.pw-intent-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:1000px;display:grid}.pw-intent-card{text-align:left;border:1px solid var(--border);background:var(--surface);min-width:0;min-height:280px;color:var(--text-primary);font:inherit;cursor:pointer;border-radius:22px;flex-direction:column;align-items:flex-start;gap:17px;padding:28px;transition:border-color .15s,transform .15s;display:flex;box-shadow:0 8px 26px #17518808}.pw-intent-card:hover{border-color:var(--accent);transform:translateY(-2px)}.pw-intent-icon{width:66px;height:66px;color:var(--accent);background:var(--accent-soft);border-radius:18px;place-items:center;margin-bottom:5px;display:grid}.pw-intent-title{justify-content:space-between;align-items:center;width:100%;font-size:24px;font-weight:650;display:flex}.pw-intent-title svg{color:var(--accent)}.pw-intent-card>span:not([class]){color:var(--text-secondary);font-size:13px;line-height:1.6}.pw-intent-card small{color:var(--text-secondary);border-top:1px solid var(--border);width:100%;margin-top:auto;padding-top:14px;font-size:12px;line-height:1.8}.pw-intent-secondary{flex-wrap:wrap;gap:10px;margin-top:24px;display:flex}.pw-intent-secondary .button{font-size:13px}.pw-discover{background:var(--surface);border-radius:20px;flex-direction:column;flex:1;min-height:0;padding:24px;display:flex;overflow:hidden}.pw-discover-heading{flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;display:flex}.pw-discover-heading h2{letter-spacing:-.02em;margin:7px 0;font-size:22px;line-height:1.4}.pw-discover-heading p{color:var(--text-secondary);margin:0;font-size:13px;line-height:1.7}.pw-discover-heading>.button{flex-shrink:0;font-size:12px}.pw-browser-toolbar{flex-shrink:0;align-items:center;gap:12px;margin:22px 0 14px;display:flex}.pw-browser-search{border:1px solid var(--border);background:var(--surface-muted);border-radius:12px;flex:1;align-items:center;gap:9px;min-width:0;padding:0 13px;display:flex}.pw-browser-search svg{color:var(--text-secondary);flex-shrink:0}.pw-browser-search input{background:0 0;border:0;width:100%;min-height:46px;padding-inline:0;font-size:14px}.pw-browser-search>button{font:inherit;color:var(--accent);white-space:nowrap;cursor:pointer;background:0 0;border:0;font-size:12px}.pw-scope-chips{gap:4px;display:flex}.pw-scope-chips button{font:inherit;min-height:38px;color:var(--text-secondary);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;padding:7px 13px;font-size:12px}.pw-scope-chips [aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.pw-browser-meta{color:var(--text-secondary);flex-shrink:0;justify-content:space-between;gap:12px;margin-bottom:15px;font-size:12px;display:flex}.pw-browser-meta .text-button{font-size:12px}.pw-browser-scroll{scrollbar-width:thin;flex:1;min-height:0;padding:1px 4px 10px 1px;overflow:auto}.pw-method-grid{grid-template-columns:repeat(auto-fill,minmax(min(245px,100%),1fr));gap:14px;display:grid}.pw-method-card{border:1px solid var(--border);background:var(--surface);border-radius:14px;flex-direction:column;min-width:0;min-height:213px;padding:17px;display:flex}.pw-method-card.is-selected{border-color:var(--accent);background:color-mix(in srgb,var(--surface) 92%,var(--accent))}.pw-method-top{color:var(--text-secondary);flex-wrap:wrap;align-items:center;gap:8px;font-size:11px;display:flex}.pw-method-top strong{color:var(--accent);margin-left:auto;font-size:10px}.pw-method-icon{background:var(--accent-soft);width:35px;height:35px;color:var(--accent);border-radius:9px;place-items:center;display:grid}.pw-method-card h3{overflow-wrap:anywhere;margin:13px 0 7px;font-size:15px;font-weight:650;line-height:1.5}.pw-method-card>p{color:var(--text-secondary);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0 0 16px;font-size:12px;line-height:1.8;display:-webkit-box;overflow:hidden}.pw-method-card footer{justify-content:space-between;align-items:center;gap:6px;margin-top:auto;display:flex}.pw-method-card .button{min-height:34px;padding-inline:10px;font-size:12px}.pw-method-card .text-button{font-size:12px}.pw-pagination{border-top:1px solid var(--border);color:var(--text-secondary);flex-shrink:0;justify-content:flex-end;align-items:center;gap:10px;margin-top:8px;padding-top:13px;font-size:12px;display:flex}.pw-pagination>span:first-child{margin-right:auto}.pw-pagination .button{min-height:32px;padding:5px 8px}.pw-browser-empty{text-align:center;color:var(--text-secondary);padding:60px 14px}.pw-browser-empty>svg{color:var(--accent)}.pw-browser-empty h3{color:var(--text-primary);font-size:17px}.pw-browser-empty p{font-size:13px}.pw-selected-method{background:var(--accent-soft);border:1px solid var(--border);border-radius:12px;margin-bottom:22px;padding:12px 13px}.pw-selected-method>div{align-items:center;gap:9px;min-width:0;display:flex}.pw-selected-method>div>svg{color:var(--accent);flex-shrink:0}.pw-selected-method>div>span{flex:1;gap:4px;min-width:0;display:grid}.pw-selected-method small{color:var(--text-secondary);font-size:10px}.pw-selected-method strong{overflow-wrap:anywhere;font-size:13px;line-height:1.5}.pw-selected-method .button{flex-shrink:0;min-height:30px;padding:6px 9px;font-size:11px}.pw-selected-method p{color:var(--text-secondary);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:10px 0 5px;font-size:12px;line-height:1.7;display:-webkit-box;overflow:hidden}.pw-selected-method .text-button{padding:6px 0;font-size:11px}@media (width<=1100px){.pw-discover{padding:18px}.pw-discover-heading{flex-direction:column;align-items:flex-start}.pw-discover-heading h2{font-size:20px}.pw-intent-start{padding:24px 8px}.pw-intent-card{min-height:260px;padding:22px}.pw-flow-nav{gap:6px}.pw-intent-heading h2{font-size:28px}}@media (width<=800px){.pw-flow-purpose.prompt-workshop,.pw-flow-choose.prompt-workshop{height:auto;min-height:0}.pw-intent-start{padding:15px 0;overflow:visible}.pw-intent-cards{grid-template-columns:1fr;gap:13px}.pw-intent-card{gap:12px;min-height:210px}.pw-intent-icon{border-radius:13px;width:48px;height:48px}.pw-intent-title{font-size:22px}.pw-intent-heading{margin-bottom:20px}.pw-intent-heading h2{font-size:26px}.pw-browser-toolbar{flex-direction:column;align-items:stretch;gap:8px;margin-top:16px}.pw-browser-scroll{overflow:visible}.pw-discover{flex:auto;padding:16px;overflow:visible}.pw-method-grid{grid-template-columns:1fr}.pw-method-card{min-height:190px}.pw-scope-chips{align-self:flex-start}.pw-top .pw-top-actions{flex-direction:row}.pw-flow-nav{font-size:11px}.pw-discover-heading h2{font-size:19px}.pw-browser-meta{font-size:11px}.pw-intent-heading p{font-size:13px}}@media (prefers-reduced-motion:reduce){.pw-intent-card{transition:none}.pw-intent-card:hover{transform:none}}.users-page{flex-direction:column;gap:22px;height:100%;min-height:0;padding:28px;display:flex}.users-heading{justify-content:space-between;align-items:center;gap:20px;display:flex}.users-heading h2{align-items:center;gap:10px;margin:0;font-size:20px;display:flex}.users-heading h2 span{background:var(--accent-soft);color:var(--accent);border-radius:8px;padding:4px 9px;font-size:13px}.users-heading p{color:var(--text-secondary);margin:8px 0 0;font-size:13px}.users-heading-actions,.users-toolbar,.users-row-actions,.users-pagination,.users-pagination>div,.users-form-actions{align-items:center;gap:10px;display:flex}.users-toolbar select{border:1px solid var(--border);background:var(--surface);color:var(--text-primary);font:inherit;border-radius:10px;padding:11px 13px;font-size:13px}.users-search{border:1px solid var(--border);background:var(--surface);max-width:400px;color:var(--text-secondary);border-radius:10px;flex:1;align-items:center;gap:10px;padding:0 13px;display:flex}.users-search input{color:var(--text-primary);font:inherit;background:0 0;border:0;outline:0;width:100%;min-width:0;padding:12px 0;font-size:13px}.users-search:focus-within{outline:2px solid var(--accent);outline-offset:2px}.users-table-wrap{border:1px solid var(--border);border-radius:14px;flex:1;min-height:200px;overflow:auto}.users-table{border-collapse:collapse;text-align:left;white-space:nowrap;width:100%;font-size:13px}.users-table th{background:var(--surface-muted);color:var(--text-secondary);z-index:1;padding:14px 18px;font-size:12px;font-weight:500;position:sticky;top:0}.users-table td{border-top:1px solid var(--border);padding:16px 18px}.users-table td:first-child{white-space:normal;overflow-wrap:anywhere;min-width:110px;max-width:240px}.users-table strong{font-weight:550}.users-table small{color:var(--text-secondary);margin-top:5px;font-size:11px;display:block}.users-table tbody tr:hover{background:var(--surface-muted)}.user-role{color:var(--text-secondary);font-size:12px}.user-role.is-admin{color:var(--accent)}.user-status{align-items:center;gap:7px;font-size:12px;display:flex}.user-status i{background:var(--success);border-radius:50%;width:6px;height:6px}.user-status.is-disabled{color:var(--text-secondary)}.user-status.is-disabled i{background:var(--text-secondary)}.users-row-actions .button{min-height:32px;padding:7px 10px;font-size:12px}.users-self{color:var(--text-secondary);font-size:12px}.users-pagination{color:var(--text-secondary);flex-wrap:wrap;justify-content:space-between;font-size:12px}.users-pagination .button{min-height:34px;padding:7px}.users-empty{text-align:center;color:var(--text-secondary);padding:60px 20px;font-size:14px}.users-form-modal{width:min(460px,100vw - 32px)}.users-form-modal .account-form{border:0;padding:0}.users-form-actions{justify-content:flex-end;margin-top:10px}.users-form-modal p{color:var(--text-secondary);margin:0;font-size:13px;line-height:1.7}@media (width<=760px){.users-page{gap:18px;height:auto;min-height:calc(100dvh - 140px);padding:18px}.users-heading{flex-wrap:wrap;align-items:flex-start}.users-heading-actions{justify-content:flex-end;width:100%}.users-toolbar{flex-wrap:wrap}.users-search{flex-basis:100%;max-width:none}.users-toolbar select{flex:1}.users-table-wrap{max-height:65vh}.users-table td,.users-table th{padding:13px 12px}.users-row-actions{gap:5px}}@media (width>=1180px){.users-workspace .brand>span:last-child{display:flex}.users-workspace .sidebar-section-label,.users-workspace .nav-item>span,.users-workspace .user-card>span:nth-child(2){display:block}.users-workspace .nav-item{justify-content:flex-start}.users-workspace .app-sidebar{padding:22px 12px 12px}.users-workspace .user-card{justify-content:flex-start}}.users-row-actions select{border:1px solid var(--border);background:var(--surface);color:var(--text-primary);font:inherit;border-radius:8px;min-height:32px;padding:6px 8px;font-size:12px}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg-app:#eef6ff;--bg-sky:#dbedff;--surface:#fff;--surface-muted:#f4f8fd;--glass-fill:#f8fcffcc;--glass-edge:#ffffffe6;--text-primary:#18263b;--text-secondary:#52647b;--accent:#0068e8;--on-accent:#fff;--accent-soft:#e9f2ff;--accent-top:#1471eb;--accent-bottom:#0062de;--border:#d9e6f3;--control-border:#74869e;--danger:#b42335;--warning:#825300;--success:#176a49;--radius-sm:8px;--radius-input:12px;--radius-card:16px;--radius-panel:20px;--radius-window:24px;--radius-pill:999px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-6:24px;--space-8:32px;--sidebar-width:184px;--form-width:304px;--inspector-width:320px;--topbar-height:56px;--blur:22px;--shadow-glass:0 12px 40px #1d598e1a, inset 0 1px 0 #ffffffe6;--shadow-card:0 3px 14px #2448760a;--duration-fast:.14s;--duration-panel:.2s;--font-ui:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg-app:#0e1726;--bg-sky:#162940;--surface:#182638;--surface-muted:#213247;--glass-fill:#172639e0;--glass-edge:#cee2ff29;--text-primary:#f3f7fc;--text-secondary:#c0cde0;--accent:#78b8ff;--on-accent:#102844;--accent-soft:#203c5d;--accent-top:#8cc3ff;--accent-bottom:#78b8ff;--border:#3a4d65;--control-border:#7890ab;--danger:#ffadb8;--warning:#f6cf86;--success:#8bdec1;--shadow-glass:0 12px 40px #0000003d,inset 0 1px 0 #e6f4ff1a}*{box-sizing:border-box}body{font-family:var(--font-ui);color:var(--text-primary);background:var(--bg-app)}.glass{background:var(--glass-fill);border:1px solid var(--glass-edge);border-radius:var(--radius-panel);box-shadow:var(--shadow-glass);-webkit-backdrop-filter:blur(var(--blur)) saturate(1.12);backdrop-filter:blur(var(--blur)) saturate(1.12)}.surface{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card)}.action-primary{color:var(--on-accent);background:linear-gradient(180deg,var(--accent-top),var(--accent-bottom));border-radius:var(--radius-input);min-height:40px;font:600 14px/1.4 var(--font-ui);cursor:pointer;transition:box-shadow var(--duration-fast),transform var(--duration-fast);border:1px solid #0000;padding:0 18px}.action-primary:hover:not(:disabled){box-shadow:0 4px 14px #0068e838}.action-primary:active:not(:disabled){transform:translateY(1px)}.action-primary:disabled{background:var(--surface-muted);color:var(--text-secondary);border-color:var(--border);cursor:not-allowed}:where(button,a,input,textarea,select,[tabindex]):focus-visible{outline:3px solid var(--accent);outline-offset:3px}.form-control{border:1px solid var(--control-border);border-radius:var(--radius-input);min-height:40px;color:var(--text-primary);background:var(--surface);font:14px/1.6 var(--font-ui);padding:10px 12px}.long-editor{font:16px/1.75 var(--font-ui);background:var(--surface);color:var(--text-primary)}.numeric{font-variant-numeric:tabular-nums}.generator-layout{grid-template-columns:minmax(280px,var(--form-width)) minmax(0,1fr);gap:16px;display:grid}.composer-layout{grid-template-columns:minmax(0,1fr) minmax(280px,var(--inspector-width));gap:16px;display:grid}.media-preview{isolation:isolate;background:#111820}.media-preview :where(video,img,canvas){filter:none;-webkit-backdrop-filter:none;backdrop-filter:none;object-fit:contain;max-width:100%}:root[data-reduce-transparency=true] .glass{background:var(--surface);-webkit-backdrop-filter:none;border-color:var(--border)}:root[data-reduce-motion=true] :where(.action-primary,.ui-motion){transition:none;animation:none;transform:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.glass{background:var(--surface);border-color:var(--border)}}@media (prefers-reduced-transparency:reduce){:root:not([data-reduce-transparency=false]) .glass{background:var(--surface);-webkit-backdrop-filter:none}}@media (prefers-reduced-motion:reduce){:root:not([data-reduce-motion=false]) :where(.action-primary,.ui-motion){transition:none;animation:none;transform:none}}@media (width<=1180px){:root{--sidebar-width:72px;--form-width:280px;--inspector-width:280px}}@media (width<=960px){.generator-layout,.composer-layout{grid-template-columns:minmax(0,1fr)}}html,body,#root{min-height:100%;margin:0}body{background-color:#0000;background-image:radial-gradient(at 75% 5%,#e6f6ff 0,#0000 60%),linear-gradient(135deg,#cce4f8,#edf6ff 48%,#dcecf8);background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:auto,auto;background-attachment:fixed;background-origin:padding-box,padding-box;background-clip:border-box,border-box;font-size:14px;line-height:1.55}button,input,textarea,select{font:inherit}button{cursor:pointer;color:var(--text-primary);transition:background .14s,box-shadow .14s,transform .14s}button:disabled{cursor:not-allowed}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h2{font-size:17px;font-weight:650}h3{font-size:15px}input,textarea,select{color:var(--text-primary);background:var(--surface);border:1px solid var(--border);border-radius:12px;max-width:100%;padding:10px 12px}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#7c8da3}select{cursor:pointer}input[type=checkbox]{width:18px;height:18px;accent-color:var(--accent)}svg{flex-shrink:0}button:active:not(:disabled){transform:translateY(1px)}:where(button,a,input,textarea,select,summary):focus-visible{outline:3px solid var(--accent);outline-offset:3px}.app-window{grid-template-columns:184px minmax(0,1fr);gap:16px;max-width:1920px;min-height:100vh;margin:0 auto;padding:16px;display:grid}.app-sidebar{background:#f7fcff94;border-radius:22px;flex-direction:column;height:calc(100vh - 32px);padding:22px 12px 12px;display:flex;position:sticky;top:16px;box-shadow:inset 0 1px #fff,0 12px 35px #6b9ec114}.brand{letter-spacing:-.6px;align-items:center;gap:9px;padding:4px 10px 26px;font-size:22px;font-weight:750;display:flex}.brand>span:last-child{flex-direction:column;display:flex}.brand small{letter-spacing:1.2px;color:var(--text-secondary);margin-top:1px;font-size:12px;font-weight:450}.brand-symbol{background:var(--accent);color:#fff;border-radius:11px;place-items:center;width:32px;height:32px;display:grid;box-shadow:0 3px 8px #096cdd38}.sidebar-section-label{letter-spacing:1px;color:var(--text-secondary);padding:0 13px 10px;font-size:12px}.nav-item{text-align:left;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:11px;align-items:center;gap:11px;width:100%;min-height:44px;margin-bottom:5px;padding:9px 12px;font-size:13px;display:flex}.nav-item.active{color:#0563db;background:#ffffffe0;border-color:#d4e7fc;font-weight:600;box-shadow:0 2px 8px #366b9910}.nav-item:hover:not(:disabled){background:var(--accent-soft)}.nav-item:disabled{color:#75869a;opacity:.85}.nav-later{border:1px solid #c9d9e9;border-radius:4px;margin-left:auto;padding:0 3px;font-size:12px}.sidebar-bottom{margin-top:auto}.local-note{color:var(--text-secondary);padding:20px 12px;font-size:12px}.local-note .tiny-dot{background:#438b76;margin-right:5px}.local-note small{margin-top:5px;font-size:12px;display:block}.user-card{border:0;border-top:1px solid var(--border);text-align:left;background:0 0;align-items:center;gap:10px;width:100%;margin-top:7px;padding:13px 10px 4px;font-size:12px;display:flex}.user-card>span:nth-child(2){flex:1}.user-card small{color:var(--text-secondary);margin-top:2px;font-size:12px;display:block}.avatar,.top-avatar{color:#527d9a;background:#daeaf5;border:2px solid #fff;border-radius:50%;place-items:center;display:grid}.avatar{width:33px;height:33px}.top-avatar{width:31px;height:31px;margin-left:5px}.workspace{min-width:0}.topbar{justify-content:space-between;align-items:center;gap:16px;height:56px;padding:0 12px 0 8px;display:flex}.page-title{align-items:center;gap:8px;min-width:0;display:flex}.page-title h1{white-space:nowrap;font-size:19px;font-weight:650}.personal-work{color:var(--text-secondary);border-left:1px solid #adc7de;margin-left:6px;padding-left:13px;font-size:12px}.top-actions{align-items:center;gap:9px;display:flex}.demo-banner{color:#426782;white-space:nowrap;background:#f3faffbd;border:1px solid #ffffffa6;border-radius:20px;align-items:center;gap:6px;margin-right:9px;padding:5px 11px;font-size:12px;display:flex}.tiny-dot{background:#518abb;border-radius:50%;flex-shrink:0;width:5px;height:5px;display:inline-block}.icon-button{width:34px;height:34px;color:var(--text-secondary);background:#f4faff7a;border:1px solid #ffffff75;border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.icon-button:hover{background:var(--surface);color:var(--accent)}.page-content{min-width:0;min-height:calc(100vh - 88px)}.home-content{background:linear-gradient(160deg,#ffffffd9,#f7fbffdf);border:1px solid #ffffffd6;border-radius:24px;box-shadow:0 8px 28px #33638a08}.tool-content{height:calc(100vh - 88px);padding-top:5px}.home-page{max-width:1450px;margin:auto;padding:0 32px 22px}.home-hero{text-align:center;padding:52px 15px 38px}.eyebrow{letter-spacing:1.6px;color:#6d8ca6;align-items:center;gap:7px;margin-bottom:14px;font-size:12px;display:inline-flex}.home-hero h1{letter-spacing:1px;font-size:34px;font-weight:650;line-height:1.4}.home-hero h1 span{color:#2f6eaa}.home-hero>p{color:var(--text-secondary);margin-top:10px;font-size:14px}.intent-box{background:var(--surface);color:#6d8aa5;border:1px solid #c9dff4;border-radius:999px;align-items:center;gap:13px;max-width:800px;margin:28px auto 18px;padding:7px 8px 7px 19px;display:flex;box-shadow:0 0 0 5px #e3f0fc9c,0 8px 18px #4677a00a}.intent-box input{background:0 0;border:0;outline:none;width:100%;padding:7px 0;font-size:14px}.intent-box:focus-within{outline-offset:3px;outline:2px solid #86b8ee}.send-button{color:#fff;background:linear-gradient(#50b3ff,#0669e9);border:1px solid #2487f5;border-radius:50%;flex-shrink:0;place-items:center;width:39px;height:39px;display:grid;box-shadow:inset 0 2px 3px #ffffff80,0 3px 8px #1a6de84a}.suggestions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.suggestions button{color:#58738d;background:#ffffffa8;border:1px solid #dce8f3;border-radius:9px;align-items:center;gap:10px;padding:7px 12px;font-size:12px;display:flex}.suggestions button:hover{background:var(--accent-soft);color:var(--accent)}.section-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:17px;display:flex}.section-heading>span{color:#7489a0;font-size:12px}.tool-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;display:grid}.tool-card{text-align:left;border:1px solid var(--card-edge);background:linear-gradient(160deg,var(--card-fill),var(--surface));border-radius:16px;flex-direction:column;align-items:flex-start;min-height:164px;padding:19px 14px 17px;display:flex;position:relative;box-shadow:inset 0 1px #fffa}.tool-card:hover:not(:disabled){border-color:var(--icon-color);transform:translateY(-3px);box-shadow:0 9px 18px #37688712}.tool-card:disabled{opacity:.82}.tool-card strong{margin-top:14px;font-size:14px;font-weight:650}.tool-description{color:#6b7c90;white-space:nowrap;margin-top:5px;font-size:12px}.tool-icon{width:43px;height:42px;color:var(--icon-color);background:var(--icon-bg);box-shadow:inset 0 1px 0 #ffffffc9,0 4px 10px var(--icon-shadow);border-radius:12px;place-items:center;display:grid}.upcoming{color:#718399;font-size:12px;position:absolute;top:11px;right:8px}.peach{--card-fill:#fbece6;--card-edge:#efdbd4;--icon-color:#3685f2;--icon-bg:#dbeafd;--icon-shadow:#5393e523}.blue{--card-fill:#e1edff;--card-edge:#d4e3fc;--icon-color:#3479ed;--icon-bg:#cddffe;--icon-shadow:#4589fa20}.mint{--card-fill:#dbf6ef;--card-edge:#cfebe2;--icon-color:#169d81;--icon-bg:#b8ebdb;--icon-shadow:#18a17a20}.violet{--card-fill:#eee6ff;--card-edge:#e3d7fc;--icon-color:#9058e8;--icon-bg:#dfc9ff;--icon-shadow:#8d59df20}.cyan{--card-fill:#e0f2ff;--card-edge:#cee7fc;--icon-color:#2c94d9;--icon-bg:#c8e6ff;--icon-shadow:#329de620}.lavender{--card-fill:#eeeaff;--card-edge:#e1dbf9;--icon-color:#9865df;--icon-bg:#e1d2ff;--icon-shadow:#8d59df20}.recent-projects{margin-top:35px}.heading-inline{align-items:center;gap:10px;display:flex}.text-button{color:var(--text-secondary);background:0 0;border:0;align-items:center;gap:7px;padding:4px;font-size:12px;display:inline-flex}.text-button:hover{color:var(--accent)}.project-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.project-card{text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:15px;padding:0;overflow:hidden;box-shadow:0 3px 8px #366b9906}.project-card:hover{border-color:#a9ccee;box-shadow:0 6px 16px #45739c15}.project-card>img{object-fit:cover;width:100%;height:110px;display:block}.project-content{padding:12px}.project-kicker{color:var(--text-secondary);font-size:12px}.project-content strong{white-space:normal;margin:3px 0 12px;font-size:13px;font-weight:600;display:block}.project-content>div{justify-content:space-between;align-items:center;gap:6px;display:flex}.project-content>div>span:last-child{color:#73849a;align-items:center;gap:4px;font-size:12px;display:flex}.projects-empty{color:#6f90ab;background:#f6faffb5;border:1px dashed #c8dbeb;border-radius:16px;align-items:center;gap:19px;min-height:159px;padding:24px;display:flex}.projects-empty h3{color:var(--text-primary);margin-bottom:6px;font-weight:500}.projects-empty p{color:var(--text-secondary);font-size:12px}.projects-empty .button{white-space:nowrap;margin-left:auto}.draft-section{margin-top:29px}.draft-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.draft-card{border:1px solid var(--border);text-align:left;min-width:0;color:var(--text-secondary);background:#ffffffa8;border-radius:12px;align-items:center;gap:12px;padding:14px;display:flex}.draft-card>span{flex:1;min-width:0;display:block}.draft-card strong{color:var(--text-primary);font-size:12px;font-weight:550}.draft-card small{text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:12px;display:block;overflow:hidden}.home-footer{letter-spacing:.6px;color:#8399ad;justify-content:center;align-items:center;gap:8px;margin-top:30px;font-size:12px;display:flex}.button{border:1px solid var(--border);background:var(--surface);border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:38px;padding:8px 14px;font-size:12px;font-weight:500;line-height:1.5;display:inline-flex}.button:hover:not(:disabled){background:var(--accent-soft);border-color:#b2d2f4}.button.primary{color:var(--on-accent);background:linear-gradient(180deg,var(--accent-top),var(--accent-bottom));border-color:#0000;border-radius:999px;box-shadow:inset 0 1px #fff4,0 4px 9px #0069df24}.button.primary:hover:not(:disabled){box-shadow:0 4px 15px #086fe23b}.button.ghost{color:var(--text-secondary);background:0 0;border-color:#0000}.button:disabled{opacity:.45;box-shadow:none}.badge{background:var(--surface-muted);color:var(--text-secondary);white-space:nowrap;border-radius:6px;align-items:center;gap:4px;padding:2px 7px;font-size:12px;line-height:1.5;display:inline-flex}.badge.demo{color:#47789c;background:#eaf3fe}.badge.success{color:#27775c;background:#e6f5ed}.error-notice{color:var(--danger);background:#fff1f0;border:1px solid #e5b7b9;border-radius:10px;align-items:center;gap:8px;padding:10px 12px;font-size:12px;display:flex}.error-notice>span{flex:1}.inline-error{color:var(--danger)!important;font-size:12px!important}.empty-state{text-align:center;color:var(--text-secondary);flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:35px 22px;display:flex}.empty-state h3{color:var(--text-primary);font-weight:550}.empty-state p{max-width:310px;font-size:12px;line-height:1.8}.empty-icon{background:var(--accent-soft);color:#7ca7d2;border-radius:18px;place-items:center;width:60px;height:60px;margin-bottom:5px;display:grid}.save-indicator{color:var(--text-secondary);align-items:center;gap:4px;font-size:12px;display:inline-flex}.field{flex-direction:column;gap:8px;display:flex}.field label{font-size:12px;font-weight:550}.field input,.field textarea,.field select{width:100%;font-size:12px}.modal{border:1px solid var(--border);background:var(--surface);width:min(520px,100vw - 32px);color:var(--text-primary);border-radius:22px;padding:26px;box-shadow:0 30px 100px #18395833}.modal::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#18375438}.modal-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;display:flex}.modal-heading h2{font-size:20px}.modal-description{color:var(--text-secondary);margin-bottom:18px;font-size:13px;line-height:1.9}.choice-list{flex-direction:column;gap:10px;margin-top:16px;display:flex}.choice-list .button{justify-content:flex-start;padding:15px}.choice-list .button>:last-child{margin-left:auto}.choice-list small{color:var(--text-secondary);font-size:12px;display:block}.intent-summary{background:var(--surface-muted);white-space:pre-wrap;border-radius:12px;max-height:180px;padding:14px;font-size:13px;overflow:auto}.search-field{border:1px solid var(--border);border-radius:12px;align-items:center;gap:10px;padding:0 12px;display:flex}.search-field input{border:0;outline:none;width:100%;padding-left:0}.search-field:focus-within{outline:2px solid var(--accent)}kbd{background:var(--surface-muted);border:1px solid var(--border);color:var(--text-secondary);white-space:nowrap;border-radius:5px;padding:3px 6px;font-family:inherit;font-size:12px}.settings-section{margin-bottom:23px}.settings-section h3{margin-bottom:14px}.setting-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:12px 0;font-size:13px;display:flex}.setting-row select{min-width:100px}.diagnostics summary{cursor:pointer;color:var(--text-secondary);font-size:12px}.diagnostics .modal-description{margin-top:12px}.diagnostics .button{margin-bottom:8px;margin-right:8px}.help-shortcuts{margin-bottom:20px}.help-shortcuts>span{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:10px 0;font-size:12px;display:flex}.toast{background:var(--surface);max-width:calc(100vw - 32px);color:var(--text-primary);border:1px solid var(--border);z-index:100;border-radius:14px;align-items:center;gap:10px;padding:13px 22px;font-size:13px;display:flex;position:fixed;bottom:26px;left:50%;transform:translate(-50%);box-shadow:0 10px 30px #27446826}:root[data-theme=dark] body{background:radial-gradient(at 75% 5%,#183149,#0000 65%),#0e1726}:root[data-theme=dark] .app-sidebar{box-shadow:none;background:#192c42bd;border-color:#32465e}:root[data-theme=dark] .nav-item.active{color:#98c7ff;background:#25405e;border-color:#405c79}:root[data-theme=dark] .nav-item:disabled{color:#8ca0b9}:root[data-theme=dark] .home-content{background:#17293c;border-color:#30485e}:root[data-theme=dark] .demo-banner,:root[data-theme=dark] .icon-button{color:#b8d2e5;background:#253c52;border-color:#3c5265}:root[data-theme=dark] .tool-card{background:var(--surface-muted);border-color:#3a4d65}:root[data-theme=dark] .tool-description,:root[data-theme=dark] .upcoming{color:#bdc9d9}:root[data-theme=dark] .suggestions button,:root[data-theme=dark] .draft-card,:root[data-theme=dark] .projects-empty{color:#c0cde0;background:#213247;border-color:#3a4d65}:root[data-theme=dark] .intent-box{border-color:#496982;box-shadow:0 0 0 5px #25435e}:root[data-theme=dark] .badge.demo{color:#b6d6f0;background:#26415c}:root[data-theme=dark] .badge.success{color:#9bd9bd;background:#214438}:root[data-theme=dark] .error-notice{background:#43282e;border-color:#86505e}:root[data-theme=dark] .brand-symbol{color:#102844;background:#88bfff}:root[data-reduce-transparency=true] .app-sidebar{background:var(--surface);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--border)}:root[data-reduce-transparency=true] .home-content{background:var(--surface)}:root[data-reduce-transparency=true] .modal::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}:root[data-reduce-motion=true] *{scroll-behavior:auto!important;transition:none!important;animation:none!important}@media (width<=1280px){.home-page{padding-left:24px;padding-right:24px}.home-hero{padding-top:34px;padding-bottom:28px}.tool-card{min-height:153px;padding:16px 11px}.tool-description{font-size:12px}.home-hero h1{font-size:30px}.recent-projects{margin-top:27px}.project-card>img{height:92px}.home-footer{margin-top:23px}.demo-banner{margin-right:0}.personal-work{display:none}}@media (width<=1179px){.app-window{grid-template-columns:72px minmax(0,1fr);gap:12px}.app-sidebar{padding:20px 8px 10px}.brand{padding:4px 10px 28px}.brand>span:last-child,.sidebar-section-label,.nav-item>span,.local-note,.user-card>span:nth-child(2),.user-card>svg{display:none}.nav-item{justify-content:center;padding:10px}.user-card{justify-content:center;padding:15px 0}.tool-grid{gap:9px}.top-actions{gap:5px}.home-page{padding-left:22px;padding-right:22px}.tool-card{min-height:150px}.topbar{padding-right:3px}.draft-card{gap:8px;padding:10px}}@media (width<=959px){.app-window{grid-template-columns:62px minmax(0,1fr);gap:10px;padding:10px}.app-sidebar{height:calc(100vh - 20px);padding:18px 4px 10px;top:10px}.brand{padding:4px 10px 25px}.topbar{flex-wrap:wrap;gap:8px;height:auto;min-height:56px;padding-bottom:8px}.page-title h1{font-size:17px}.top-actions{margin-left:auto}.demo-banner{padding:4px 7px;font-size:12px}.home-hero{padding:30px 0}.home-hero h1{font-size:28px}.home-page{padding:0 20px 20px}.tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tool-card{min-height:140px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.draft-grid{grid-template-columns:1fr}.project-card>img{height:115px}.projects-empty{flex-wrap:wrap}.projects-empty .button{margin-left:0}.section-heading>span,.top-avatar,.help-button{display:none}.home-footer{text-align:center;line-height:1.8}.page-content{min-height:calc(100vh - 86px)}}@media (width<=650px){.app-window{grid-template-columns:48px minmax(0,1fr);gap:6px;padding:6px}.app-sidebar{border-radius:16px;height:calc(100vh - 12px);top:6px}.brand{padding:4px 2px 23px}.brand-symbol{width:32px;height:32px}.nav-item{min-height:40px;padding:8px 0}.user-card{padding:12px 0}.avatar{width:28px;height:28px}.home-page{padding:0 12px 20px}.home-hero h1{font-size:23px}.home-hero>p{font-size:12px}.home-hero{padding:26px 0}.eyebrow{font-size:12px}.intent-box{gap:8px;padding-left:10px}.intent-box>svg{display:none}.intent-box input{font-size:12px}.suggestions{gap:6px}.suggestions button{padding:6px 7px;font-size:12px}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tool-card{min-height:140px;padding:13px 12px}.project-grid{grid-template-columns:1fr}.topbar{padding-left:3px}.top-actions{margin-left:0}.demo-banner{font-size:12px}.page-title h1{font-size:16px}.section-heading h2{font-size:15px}.projects-empty{padding:18px}.projects-empty h3{font-size:14px}.recent-projects{margin-top:24px}.toast{width:max-content;font-size:12px}.home-content{border-radius:18px}.modal{padding:20px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.button.primary:hover:not(:disabled){background:linear-gradient(180deg,var(--accent-top),var(--accent-bottom))}.app-sidebar{scrollbar-width:thin;overflow:hidden auto}.app-sidebar>*{flex-shrink:0}.nav-item,.tool-description{white-space:normal}.user-card>span:nth-child(2){min-width:0}.user-card small{line-height:1.5}.generator-page .generator-mode-note{flex-wrap:wrap}.nav-later{display:none}.muse-pool-modal{box-sizing:border-box;background:var(--surface);width:min(980px,100vw - 48px);max-width:none;max-height:calc(100dvh - 48px);padding:24px}.muse-pool-intro,.muse-pool-toolbar,.muse-pool-controls{justify-content:space-between;align-items:center;gap:16px;display:flex}.muse-pool-intro{color:var(--text-secondary);margin:10px 0 24px;font-size:12px}.muse-pool-dot{white-space:nowrap;color:#157e69}.muse-pool-dot:before{content:"●";margin-right:5px;font-size:10px}.muse-pool-dot.offline{color:#9a651d}.muse-pool-toolbar{border-bottom:1px solid var(--border);margin-bottom:18px}.muse-pool-tabs{gap:16px;display:flex}.muse-pool-tabs button{color:var(--text-secondary);background:0 0;border:0;border-bottom:2px solid #0000;padding:12px 2px;font-size:13px}.muse-pool-tabs button.active{color:var(--accent);border-bottom-color:var(--accent);font-weight:600}.muse-pool-controls{flex-wrap:wrap;margin-bottom:18px}.muse-pool-controls label{white-space:nowrap;align-items:center;gap:8px;display:flex}.muse-pool-controls select{min-width:65px;padding:5px 8px}.muse-pool-controls>small{flex:1;min-width:180px}.muse-pool-modal small{color:var(--text-secondary);font-size:11px}.muse-pool-columns,.muse-pool-account{grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) minmax(160px,1fr) 68px;align-items:center;gap:16px;display:grid}.muse-pool-columns{color:var(--text-secondary);padding:8px 12px;font-size:11px}.muse-pool-account{border-top:1px solid var(--border);padding:18px 12px;font-size:12px}.muse-pool-account>div{flex-direction:column;gap:5px;min-width:0;display:flex}.muse-pool-account strong{overflow-wrap:anywhere;font-size:13px}.muse-pool-state{color:#28745f;white-space:nowrap;background:#e7f3ee;border-radius:5px;align-self:flex-start;padding:2px 6px;font-size:11px;display:inline-flex}.muse-pool-state.warning{color:#99621c;background:#fff2df}.muse-pool-state.muted{background:var(--accent-soft);color:var(--text-secondary)}.muse-pool-account progress{width:100%;max-width:150px;height:4px;accent-color:var(--accent);border:0}.muse-pool-actions{align-self:start;position:relative}.muse-pool-actions summary{cursor:pointer;color:var(--text-secondary);border-radius:6px;justify-content:space-between;align-items:center;gap:4px;padding:5px;list-style:none;display:flex}.muse-pool-actions summary::-webkit-details-marker{display:none}.muse-pool-actions summary:hover{color:var(--accent);background:var(--accent-soft)}.muse-pool-actions>div{z-index:3;border:1px solid var(--border);background:var(--surface);border-radius:10px;min-width:155px;padding:5px;position:absolute;top:30px;right:0;box-shadow:0 6px 20px #1f45651a}.muse-pool-actions button{text-align:left;background:0 0;border:0;border-radius:6px;width:100%;padding:8px;font-size:12px;display:block}.muse-pool-actions button:hover{background:var(--accent-soft)}.muse-pool-actions button:disabled{opacity:.45}.muse-pool-rename{grid-column:1/-1;gap:8px;display:flex}.muse-pool-rename input{flex:1;min-width:0;padding:7px}.muse-pool-connect{align-items:end;gap:12px;margin:12px 0 20px;display:flex}.muse-pool-connect label{flex:1;gap:6px;font-size:12px;display:grid}.muse-pool-connect-note{border:1px solid var(--border);background:var(--accent-soft);border-radius:12px;margin-bottom:20px;padding:14px;font-size:12px;line-height:1.8}.muse-pool-connect-note a{color:var(--accent)}.muse-pool-connect-note small{margin-top:7px;display:block}.muse-pool-tasks article{border-bottom:1px solid var(--border);align-items:start;gap:14px;padding:14px 2px;display:flex}.muse-pool-tasks article>div{gap:5px;min-width:0;display:grid}.muse-pool-tasks strong{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:13px;font-weight:500;display:-webkit-box;overflow:hidden}.muse-pool-tasks>small{margin-top:12px;display:block}.muse-pool-footnote{border-top:1px solid var(--border);color:var(--text-secondary);margin-top:26px;padding-top:14px;font-size:11px}.muse-pool-empty{text-align:center;color:var(--text-secondary);padding:38px 12px;font-size:13px}.muse-settings>.button+.button{margin-left:8px}@media (width<=700px){.muse-pool-modal{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:18px}.muse-pool-intro{align-items:flex-start;gap:8px}.muse-pool-columns{display:none}.muse-pool-account{grid-template-columns:minmax(0,1fr) 80px;gap:10px;padding:15px 0}.muse-pool-account>div:nth-child(2),.muse-pool-account>div:nth-child(3){grid-column:1}.muse-pool-actions{grid-area:1/2;justify-self:end}.muse-pool-controls{gap:12px}.muse-pool-controls>small{flex-basis:100%;order:3}.muse-pool-connect{flex-wrap:wrap}.muse-pool-connect label{min-width:100%}.muse-pool-toolbar{gap:6px}.muse-pool-tabs{gap:12px}}.task-workspace{border:1px solid var(--glass-edge);background:color-mix(in srgb,var(--surface) 82%,transparent);border-radius:20px;flex-direction:column;height:calc(100vh - 32px);min-height:0;padding:16px 12px;display:flex;position:sticky;top:16px;overflow:hidden}.task-workspace>header{justify-content:space-between;align-items:center;gap:8px;padding:0 3px 15px;display:flex}.task-workspace h2{flex:1;margin:0;font-size:15px}.task-workspace>nav{gap:4px;padding-bottom:14px;display:flex}.task-workspace>nav button{color:var(--text-secondary);white-space:nowrap;background:0 0;border:0;border-radius:8px;padding:7px 9px;font-size:12px}.task-workspace>nav button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent)}.task-workspace-list{scrollbar-width:thin;flex-direction:column;gap:10px;min-height:0;padding:1px;display:flex;overflow:auto}.queue-card{border:1px solid var(--border);background:var(--surface);border-radius:13px;flex-shrink:0;padding:11px}.queue-card-heading{align-items:center;gap:6px;font-size:12px;display:flex}.queue-card-heading>span{color:var(--accent);align-items:center;gap:4px;margin-left:auto;display:flex}.queue-card-heading .done{color:var(--success)}.queue-card p{color:var(--text-secondary);-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin:9px 0;font-size:12px;line-height:1.7;display:-webkit-box;overflow:hidden}.queue-card footer{justify-content:space-between;align-items:center;gap:4px;margin-top:9px;display:flex}.queue-card time{color:var(--text-secondary);font-size:11px}.queue-card footer button{color:var(--accent);background:0 0;border:0;align-items:center;padding:3px 0;font-size:12px;display:flex}.queue-media{background:var(--surface-muted);border:0;border-radius:8px;width:100%;height:106px;padding:0;display:block;position:relative;overflow:hidden}.queue-media img,.queue-media video{object-fit:cover;width:100%;height:100%}.queue-media>span{color:#fff;background:#152c45bb;justify-content:center;align-items:center;gap:5px;padding:5px;font-size:12px;display:flex;position:absolute;inset:auto 0 0}.queue-card audio{width:100%;height:36px}.queue-error{color:var(--danger,#ad3c37);overflow-wrap:anywhere;font-size:12px;line-height:1.6}.queue-empty{color:var(--text-secondary);justify-items:center;gap:14px;padding:60px 0;font-size:13px;display:grid}.task-floating-notice{z-index:110;border:1px solid var(--border);background:var(--surface);border-radius:14px;align-items:center;gap:10px;max-width:calc(100vw - 40px);padding:11px 14px;font-size:13px;display:flex;position:fixed;top:22px;left:50%;transform:translate(-50%);box-shadow:0 10px 35px #29475c29}.task-floating-notice>svg{color:var(--accent);flex-shrink:0}.task-floating-notice>button:not(.icon-button){color:var(--accent);white-space:nowrap;background:0 0;border:0}.task-floating-notice>span{min-width:0}.task-mobile-toggle,.task-drawer-close,.task-drawer-shade,.generator-preview-header>div>span{display:none}.app-window .generator-layout{grid-template-columns:280px minmax(0,1fr)}.writer-layout{min-width:0}@media (width>=1180px) and (width<=1399px){.app-window:has(>.task-workspace){grid-template-columns:72px minmax(0,1fr) 220px;gap:12px}.app-sidebar{padding:20px 8px 10px}.brand>span:last-child,.sidebar-section-label,.nav-item>span,.user-card>span:nth-child(2),.user-card>svg{display:none}.brand{padding:4px 10px 28px}.nav-item{justify-content:center;padding:10px}.user-card{justify-content:center}.app-window .generator-layout{grid-template-columns:260px minmax(0,1fr)}}@media (width<=1179px){.app-window:has(>.task-workspace){grid-template-columns:72px minmax(0,1fr)}.task-workspace{display:none}.task-mobile-toggle{z-index:85;display:flex;position:fixed;bottom:18px;right:18px;box-shadow:0 5px 22px #26476625}.task-mobile-toggle span{background:var(--accent);color:#fff;border-radius:20px;padding:1px 6px}.task-workspace.is-expanded{z-index:125;width:300px;max-width:calc(100vw - 24px);height:auto;display:flex;position:fixed;top:12px;bottom:12px;right:12px;box-shadow:0 8px 35px #24466130}.task-drawer-close{display:flex}.task-drawer-shade{z-index:120;background:#12304d24;border:0;display:block;position:fixed;inset:0}.task-floating-notice{width:max-content;max-width:calc(100vw - 30px)}}@media (width<=959px){.app-window:has(>.task-workspace){grid-template-columns:62px minmax(0,1fr)}.app-window .generator-layout{display:block}}@media (width<=650px){.app-window:has(>.task-workspace){grid-template-columns:48px minmax(0,1fr)}}@media (width>=1400px){.app-window.video-workspace:has(>.task-workspace){grid-template-columns:184px minmax(0,1fr) 340px}.app-window.video-workspace .generator-layout{grid-template-columns:minmax(0,1.28fr) minmax(0,1fr)}}@media (width>=1180px) and (width<=1399px){.app-window.video-workspace:has(>.task-workspace){grid-template-columns:72px minmax(0,1fr) 300px}.app-window.video-workspace .generator-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}}@media (width>=960px) and (width<=1179px){.app-window.video-workspace .generator-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}}.queue-card-heading{gap:5px}.queue-delete{color:var(--text-secondary);background:0 0;border:0;border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;width:26px;height:28px;margin-right:-5px;padding:0;display:inline-flex}.queue-delete:hover{background:var(--accent-soft);color:var(--danger)}.queue-video{aspect-ratio:16/10;object-fit:contain;background:#101820;border-radius:8px;width:100%;display:block}.queue-card footer .queue-actions{align-items:center;gap:9px;display:flex}.queue-card footer button{gap:3px;min-height:28px}.queue-card button:disabled{opacity:.5;cursor:wait}.queue-undo{border:1px solid var(--border);background:var(--accent-soft);border-radius:10px;align-items:center;gap:9px;margin-bottom:10px;padding:6px 9px;font-size:12px;display:flex}.queue-undo>span{flex:1}.queue-undo>button:not(.icon-button){color:var(--accent);background:0 0;border:0;padding:5px 0}.queue-undo>.icon-button{width:24px;height:24px}.task-preview-modal{width:min(960px,100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto}.task-preview-content{background:#101820;border-radius:14px;justify-content:center;align-items:center;min-width:0;min-height:140px;display:flex;overflow:hidden}.task-preview-content>img,.task-preview-content>video{object-fit:contain;width:100%;max-height:calc(100dvh - 230px);display:block}.task-preview-content.audio{background:var(--surface-muted);min-height:300px;color:var(--accent);flex-direction:column;gap:24px;padding:40px 28px}.task-preview-content.audio p{color:var(--text-primary);white-space:pre-wrap;max-width:640px;max-height:180px;font-size:15px;line-height:1.8;overflow:auto}.task-preview-content.audio audio{width:min(100%,640px)}.task-preview-content.write{background:var(--surface-muted);align-items:flex-start;padding:24px}.task-preview-content pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;font:inherit;line-height:1.8}.task-preview-actions{justify-content:space-between;gap:12px;margin-top:20px;display:flex}.task-preview-modal .error-notice{margin-top:12px}@media (width<=650px){.task-preview-modal{padding:16px}.task-preview-content.audio{padding:24px 14px}.queue-delete{width:36px;height:36px}.queue-card footer button{min-height:36px}}.queue-select-toggle{color:var(--accent);white-space:nowrap;background:0 0;border:0;border-radius:7px;padding:5px 3px;font-size:12px}.queue-select-toggle[aria-pressed=true]{background:var(--accent-soft);padding-inline:6px}.task-workspace>header{gap:4px}.task-workspace>header>.icon-button{flex-shrink:0;width:28px;height:28px}.queue-batch-bar{border:1px solid var(--border);background:var(--surface);border-radius:10px;flex-shrink:0;margin-bottom:10px;padding:9px;font-size:12px}.queue-batch-bar>div{justify-content:space-between;align-items:center;gap:5px;display:flex}.queue-batch-bar>div+div{margin-top:9px}.queue-batch-bar label{cursor:pointer;align-items:center;gap:6px;display:flex}.queue-batch-bar span{color:var(--text-secondary)}.queue-batch-bar button{background:var(--accent-soft);color:var(--accent);overflow-wrap:anywhere;border:0;border-radius:6px;flex:1;justify-content:center;align-items:center;gap:3px;min-width:0;min-height:32px;padding:4px;font-size:12px;display:flex}.queue-batch-bar button+button{color:var(--danger)}.task-workspace input[type=checkbox]{width:16px;height:16px;accent-color:var(--accent);cursor:pointer;flex-shrink:0;margin:0}.queue-card.is-selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.queue-batch-status{color:var(--text-secondary);align-items:center;gap:5px;padding:0 3px 9px;font-size:12px;display:flex}.task-workspace button:disabled,.task-workspace input:disabled{opacity:.45;cursor:default}.queue-card-heading>strong,.queue-card-heading>svg{flex-shrink:0}.queue-card-heading>span{white-space:nowrap}@media (width<=650px){.queue-batch-bar button{min-height:36px;font-size:12px}}.queue-query-notice{color:var(--text-secondary);overflow-wrap:anywhere;font-size:12px;line-height:1.6}.queue-prompt-block{margin-top:12px}.queue-prompt-block>div{justify-content:space-between;align-items:center;gap:6px;display:flex}.queue-prompt-block strong{color:var(--text-secondary);font-size:11px;font-weight:600}.queue-prompt-block button{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:3px 0;font-size:12px}.queue-prompt-block p{margin:5px 0 7px}.queue-prompt-block.submitted{border-top:1px solid var(--border);padding-top:10px}.queue-prompt-block.submitted strong{color:var(--text-primary)}.queue-prompt-open{align-items:center;gap:5px;min-height:28px;display:flex}.task-prompts-modal{flex-direction:column;width:min(960px,100vw - 32px);max-height:calc(100dvh - 32px);display:flex;overflow:hidden}.task-prompts-modal:not([open]){display:none}.prompt-record-tabs{flex-shrink:0;gap:8px;display:flex}.prompt-record-tabs button{border:1px solid var(--border);background:var(--surface);color:var(--text-secondary);font:inherit;border-radius:9px;padding:9px 14px;font-size:14px}.prompt-record-tabs button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}.prompt-record-description{color:var(--text-secondary);margin:15px 0 7px;font-size:14px;line-height:1.7}.prompt-record-time{color:var(--text-secondary);margin-bottom:10px;font-size:12px}.task-prompts-modal pre{white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid var(--border);background:var(--surface);min-height:100px;max-height:60dvh;color:var(--text-primary);border-radius:12px;margin:10px 0;padding:18px;font-family:inherit;font-size:17px;line-height:1.85;overflow:auto}.task-prompts-modal footer{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;margin-top:8px;font-size:13px;display:flex}.task-prompts-modal .modal-heading{flex-shrink:0}@media (width<=650px){.task-prompts-modal{padding:16px}.task-prompts-modal pre{padding:13px;font-size:16px}.queue-prompt-open{min-height:36px}}.queue-failure-detail{border:1px solid var(--border);background:var(--surface);overflow-wrap:anywhere;border-radius:10px;margin:10px 0;padding:11px;font-size:13px;line-height:1.7}.queue-failure-detail>strong{color:var(--danger);display:block}.queue-failure-detail>p{white-space:pre-wrap;-webkit-line-clamp:unset;color:var(--text-primary);margin:6px 0;font-size:13px;line-height:1.7;display:block}.queue-failure-detail>small{color:var(--text-secondary);margin-top:6px;font-size:11px;display:block}.queue-failure-detail>button{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:7px 0;font-size:12px}.app-window:has(>.task-workspace){grid-template-columns:184px minmax(0,1fr) 320px}.task-workspace{padding:14px 12px 0}.task-workspace>header{flex-shrink:0;padding:0 2px 12px}.queue-search-tools{flex-shrink:0;gap:6px;margin-bottom:10px;display:flex}.queue-search{border:1px solid var(--border);background:var(--surface);min-width:0;color:var(--text-secondary);border-radius:9px;flex:1;align-items:center;gap:6px;padding:0 8px;display:flex}.queue-search:focus-within{outline:2px solid var(--accent);outline-offset:1px}.queue-search svg{flex-shrink:0}.queue-search input{width:100%;min-width:0;height:34px;color:var(--text-primary);font:inherit;background:0 0;border:0;outline:0;padding:0;font-size:12px}.queue-search-tools select{border:1px solid var(--border);background:var(--surface);width:88px;min-width:0;color:var(--text-primary);font:inherit;border-radius:9px;padding:0 5px;font-size:12px}.task-workspace>nav{flex-shrink:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;padding-bottom:0;display:grid}.task-workspace>nav button{cursor:pointer;justify-content:center;align-items:center;gap:4px;min-height:32px;padding:7px 2px;display:flex}.task-workspace>nav button>span{font-variant-numeric:tabular-nums;opacity:.8;font-size:11px}.queue-result-count{min-height:30px;color:var(--text-secondary);flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;font-size:11px;display:flex}.queue-result-count button{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:4px 0}.task-workspace-list{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;gap:8px;padding:1px 2px 10px}.queue-card{border-radius:12px;min-width:0;padding:9px}.queue-card-heading{gap:5px;min-height:20px}.queue-card-heading>strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.queue-card-heading>span{min-width:0;max-width:145px;font-size:11px}.queue-delete{width:24px;height:24px;margin:0}.queue-card-summary{grid-template-columns:72px minmax(0,1fr);align-items:center;gap:9px;margin-top:6px;display:grid}.queue-card-copy{min-width:0}.queue-card .queue-card-copy>p{color:var(--text-primary);-webkit-line-clamp:2;margin:0 0 4px;font-size:13px;line-height:18px}.queue-card time{font-variant-numeric:tabular-nums;font-size:11px;line-height:16px;display:block}.queue-thumb,.queue-card-summary>.queue-video{aspect-ratio:auto;border-radius:7px;width:72px;height:56px;overflow:hidden}.queue-thumb{border:1px solid var(--border);background:var(--accent-soft);color:var(--accent);cursor:pointer;justify-content:center;align-items:center;padding:0;display:flex;position:relative}.queue-thumb.placeholder{cursor:default;color:var(--text-secondary);background:var(--surface-muted)}.queue-thumb>img{object-fit:contain;background:#101820;width:100%;height:100%}.queue-thumb>span{color:#fff;background:#12304dcc;border-radius:50%;place-items:center;width:18px;height:18px;display:grid;position:absolute;bottom:3px;right:3px}.queue-card-summary .video-preview-launch{aspect-ratio:auto;height:56px;min-height:0}.queue-card-summary .video-play-button{width:26px;height:26px}.queue-card-summary .video-play-button svg{width:14px;height:14px}.queue-card-summary .video-cover-placeholder{width:24px;height:24px;transform:none}.queue-card-summary:has(video){grid-template-columns:minmax(0,1fr)}.queue-card-summary>.queue-video:has(video){aspect-ratio:16/10;width:100%;height:auto}.queue-card-summary .video-preview-error{background:#101820;font-size:10px;line-height:12px;bottom:0}.queue-card>footer{min-height:28px;margin-top:5px}.queue-card footer button{cursor:pointer;border-radius:6px;min-height:28px;padding:3px 4px}.queue-card footer button:hover{background:var(--accent-soft)}.queue-card footer .queue-actions{gap:6px}.queue-card footer .queue-detail-toggle{color:var(--text-secondary)}.queue-detail-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.queue-card>.queue-error,.queue-card>.queue-query-notice{-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:7px;font-size:12px;line-height:18px;display:-webkit-box;overflow:hidden}.queue-detail-body{border-top:1px solid var(--border);min-width:0;margin-top:8px;padding-top:10px}.queue-detail-body[hidden]{display:none}.queue-detail-body>strong{color:var(--text-secondary);font-size:12px}.queue-detail-body>pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;max-height:260px;margin:8px 0;font-size:13px;line-height:1.8;overflow:auto}.queue-detail-body>p{-webkit-line-clamp:unset;white-space:pre-wrap;display:block}.queue-detail-body>.queue-error{color:var(--danger)}.queue-task-id{overflow-wrap:anywhere;color:var(--text-secondary);-webkit-user-select:all;user-select:all;margin-top:9px;font-size:11px;line-height:1.6;display:block}.queue-card.has-details{border-color:var(--accent)}.task-workspace button:focus-visible,.task-workspace select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.task-workspace.is-expanded{z-index:125;background:var(--surface);width:min(560px,100vw - 32px);max-width:calc(100vw - 32px);height:auto;display:flex;position:fixed;top:16px;bottom:16px;right:16px;box-shadow:0 12px 48px #24466130}.task-drawer-shade{z-index:120;background:#12304d24;border:0;display:block;position:fixed;inset:0}.task-workspace.is-expanded .queue-card-summary{grid-template-columns:96px minmax(0,1fr)}.task-workspace.is-expanded .queue-thumb,.task-workspace.is-expanded .queue-card-summary>.queue-video{width:96px;height:60px}.task-workspace.is-expanded .video-preview-launch{height:60px}.task-workspace.is-expanded .queue-card-summary:has(video){grid-template-columns:minmax(0,1fr)}.task-workspace.is-expanded .queue-card-summary>.queue-video:has(video){width:100%;height:auto}.task-workspace.is-expanded .queue-card-copy>p{font-size:14px;line-height:20px}@media (width>=1400px){.app-window.video-workspace:has(>.task-workspace){grid-template-columns:184px minmax(0,1fr) 340px}}@media (width>=1180px) and (width<=1399px){.app-window:has(>.task-workspace){grid-template-columns:72px minmax(0,1fr) 300px}}@media (width<=1179px){.app-window:has(>.task-workspace){grid-template-columns:72px minmax(0,1fr)}.queue-expand{display:none}.task-workspace.is-expanded{width:min(420px,100vw - 24px);max-width:calc(100vw - 24px);top:12px;bottom:12px;right:12px}}@media (width<=959px){.app-window:has(>.task-workspace){grid-template-columns:62px minmax(0,1fr)}}@media (width<=650px){.app-window:has(>.task-workspace){grid-template-columns:48px minmax(0,1fr)}.task-workspace.is-expanded .queue-card-summary{grid-template-columns:72px minmax(0,1fr)}.task-workspace.is-expanded .queue-thumb,.task-workspace.is-expanded .queue-card-summary>.queue-video{width:72px}.queue-card footer button{min-height:36px}.queue-delete{width:32px;height:32px}}@media (pointer:coarse){.task-workspace>header>.icon-button,.queue-delete{width:44px;height:44px}.queue-card footer button,.queue-batch-bar button,.task-workspace>nav button{min-height:44px}}.task-workspace{container:task-panel/inline-size}@media (width>=1800px){.app-window:has(>.task-workspace){grid-template-columns:184px minmax(0,1fr) clamp(580px,30vw,760px);max-width:none}.app-window.video-workspace:has(>.task-workspace){grid-template-columns:184px minmax(0,1fr) clamp(580px,30vw,760px);max-width:none}}@media (width>=1180px){.task-workspace.is-expanded{width:min(760px,100vw - 32px)}}@container task-panel (width>=540px){.task-workspace-list{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;align-items:start;display:grid}.queue-card.has-details,.queue-empty{grid-column:1/-1}.task-workspace.is-expanded .queue-card-summary{grid-template-columns:72px minmax(0,1fr)}.task-workspace.is-expanded .queue-thumb,.task-workspace.is-expanded .queue-card-summary>.queue-video{width:72px;height:56px}.task-workspace.is-expanded .queue-card-summary:has(video){grid-template-columns:1fr}.task-workspace.is-expanded .queue-card-summary>.queue-video:has(video){width:100%;height:auto}}.queue-batch-part{color:var(--text-secondary);margin-top:3px;font-size:11px}.account-entry{background:radial-gradient(at 22% 0,#cde9ff 0,#0000 50%),linear-gradient(140deg,#edf7ff,#f8fcff);place-items:center;min-height:100dvh;padding:24px;display:grid}.account-auth-card{width:min(430px,100%);padding:36px;box-shadow:0 20px 80px #4079ad16}.account-brand{align-items:center;gap:13px;margin-bottom:30px;font-size:23px;font-weight:700;display:flex}.account-brand small{color:var(--text-secondary);margin-top:4px;font-size:12px;font-weight:400;display:block}.account-auth-card h1{margin:0 0 24px;font-size:24px}.account-auth-card form,.account-form{flex-direction:column;gap:14px;display:flex}.account-auth-card label,.account-form label{color:var(--text-secondary);flex-direction:column;gap:8px;font-size:13px;display:flex}.account-auth-card input,.account-form input,.account-reset input{border:1px solid var(--border);background:var(--surface);width:100%;min-width:0;color:var(--text-primary);font:inherit;border-radius:10px;padding:11px 13px}.account-auth-card input:focus,.account-form input:focus,.account-reset input:focus{outline:2px solid var(--accent);outline-offset:2px}.account-auth-card form>.button{margin-top:8px}.account-setup-note{color:var(--text-secondary);margin:-10px 0 22px;font-size:13px;line-height:1.7}.account-switch{margin-top:23px;font-size:13px}.account-balance{white-space:nowrap;border:1px solid var(--glass-edge);background:var(--surface);color:var(--text-primary);border-radius:18px;align-items:center;gap:7px;padding:8px 13px;font-size:13px;display:flex}.account-balance>span{color:var(--text-secondary);font-size:12px}.account-balance>strong{color:var(--accent);font-weight:650}.account-balance .balance-stale{color:var(--danger);font-size:11px}.account-modal{width:min(620px,100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto}.account-tabs{gap:8px;margin:0 0 20px;display:flex}.account-tabs>button{color:var(--text-secondary);background:0 0;border:0;border-radius:10px;align-items:center;gap:5px;padding:9px 12px;font-size:13px;display:flex}.account-tabs>button[aria-pressed=true]{color:var(--accent);background:var(--accent-soft)}.account-wallet{background:var(--accent-soft);border:1px solid var(--border);border-radius:16px;justify-content:space-between;align-items:flex-start;margin-bottom:20px;padding:22px;display:flex}.account-wallet>div{flex-direction:column;gap:8px;min-width:0;display:flex}.account-wallet span{color:var(--text-secondary);overflow-wrap:anywhere;font-size:13px}.account-wallet strong{color:var(--accent);letter-spacing:-1px;font-size:34px}.account-form{border-top:1px solid var(--border);padding:19px 0}.account-form h3{align-items:center;gap:7px;margin:0 0 2px;font-size:15px;display:flex}.account-form>.button{align-self:flex-start;min-width:120px}.account-binding{color:var(--success);align-items:center;gap:6px;font-size:12px;display:flex}.account-identity{color:var(--text-secondary);align-items:center;gap:10px;font-size:13px;display:flex}.account-identity strong{color:var(--text-primary)}.account-identity span:last-child{margin-left:auto}.account-password{border-top:1px solid var(--border);padding:16px 0;font-size:13px}.account-password summary{cursor:pointer}.account-password .account-form{border:0;padding-bottom:0}.account-message{color:var(--success);padding:8px 0;font-size:13px}.account-logout{margin-top:14px}.account-user-list{flex-direction:column;gap:10px;margin-bottom:20px;display:flex}.account-user-list article{border:1px solid var(--border);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:13px;display:flex}.account-user-list article>div:first-child{flex-direction:column;gap:5px;min-width:0;display:flex}.account-user-list article>div+div{gap:6px;display:flex}.account-user-list strong{overflow-wrap:anywhere;font-size:14px}.account-user-list span{color:var(--text-secondary);font-size:12px}.account-user-list .button{min-height:32px;padding:7px 11px;font-size:12px}.account-reset{gap:8px;width:100%;display:flex}.account-reset .button{flex-shrink:0}.account-modal .error-notice{margin-block:10px}.user-card>span:nth-child(2){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media (width<=650px){.account-auth-card{padding:24px}.account-balance{gap:4px;padding:7px 9px}.account-balance>span:first-child{display:none}.account-modal{padding:20px}.top-actions .account-balance~.icon-button,.top-actions .account-balance~.top-avatar{display:none}.account-user-list article>div+div{margin-left:auto}}
