/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.start{inset-inline-start:var(--spacing)}.hidden{display:none}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--app-bg:#f4f7fb;--surface:#fff;--surface-muted:#eef3f8;--surface-blue:#edf4ff;--ink:#152033;--muted:#647187;--line:#dbe3ed;--line-strong:#c7d2df;--blue:#2367e8;--blue-dark:#174eb6;--teal:#0a9d8c;--coral:#e85959;--amber:#b87517;--shadow:0 12px 32px #172b4c1f;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px)}*{box-sizing:border-box}html{background:var(--app-bg);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;-webkit-text-size-adjust:100%;overscroll-behavior-y:none;min-height:100%}body{background:var(--app-bg);min-height:100%;color:var(--ink);letter-spacing:0;-webkit-font-smoothing:antialiased;margin:0;font-family:Microsoft YaHei,PingFang SC,Noto Sans CJK SC,system-ui,-apple-system,sans-serif}button,input,textarea,select{color:inherit;font:inherit;letter-spacing:0}button{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,textarea:focus-visible{outline-offset:1px;outline:3px solid #2367e833}img{max-width:100%;display:block}.mobile-app{background:var(--app-bg);width:100%;max-width:620px;min-height:100dvh;margin:0 auto;position:relative;overflow-x:hidden;box-shadow:0 0 0 1px #15203308}.screen{min-height:100dvh;padding:calc(18px + var(--safe-top)) 16px calc(92px + var(--safe-bottom))}.create-home{padding-top:calc(14px + var(--safe-top))}.app-topbar,.standard-header,.composer-header,.editor-header{justify-content:space-between;align-items:center;min-height:58px;display:flex}.brand-block{align-items:center;gap:11px;min-width:0;display:flex}.brand-block img,.profile-logo{object-fit:cover;border-radius:8px;flex:none;width:42px;height:42px;box-shadow:0 5px 14px #202d4129}.brand-block div,.standard-header>div,.composer-header>div{gap:2px;min-width:0;display:grid}.brand-block strong,.composer-header strong{font-size:21px;line-height:1.2}.brand-block span,.standard-header span,.composer-header span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.version-button,.text-button,.danger-text{border:1px solid var(--line);background:var(--surface);min-height:36px;color:var(--blue);border-radius:8px;padding:0 10px;font-weight:700}.text-button{background:0 0;border:0}.danger-text{min-height:30px;color:var(--coral);background:0 0;border:0;font-size:13px}.segmented{border:1px solid var(--line);background:var(--surface-muted);border-radius:8px;grid-auto-columns:1fr;grid-auto-flow:column;display:grid;overflow:hidden}.segmented button{border:0;border-right:1px solid var(--line);min-height:42px;color:var(--muted);background:0 0;padding:7px 10px;font-weight:700}.segmented button:last-child{border-right:0}.segmented button.active{background:var(--surface);color:var(--blue);box-shadow:inset 0 -2px 0 var(--blue)}.workspace-switch{margin:14px 0 22px}.workspace-switch button{min-height:54px;font-size:16px}.section-heading{justify-content:space-between;align-items:flex-end;gap:12px;margin:18px 0 10px;display:flex}.section-heading>div{gap:3px;min-width:0;display:grid}.section-heading h2{margin:0;font-size:20px;line-height:1.25}.section-heading span{color:var(--muted);font-size:12px}.resume-banner,.free-entry,.settings-summary,.wide-command{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:8px;align-items:center;width:100%;display:flex}.resume-banner{min-height:74px;color:var(--teal);background:#eefaf7;border-color:#9edbd2;justify-content:space-between;padding:14px 16px}.resume-banner span,.free-entry span,.settings-summary span{flex:1;gap:3px;min-width:0;display:grid}.resume-banner strong,.free-entry strong,.settings-summary strong{color:var(--ink);font-size:16px}.resume-banner small,.free-entry small,.settings-summary small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.workflow-list{gap:10px;display:grid}.workflow-item{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:8px;grid-template-columns:52px minmax(0,1fr) auto 20px;align-items:center;gap:12px;min-height:84px;padding:13px 14px;display:grid}.workflow-item strong{min-width:0;font-size:16px}.step-number{background:var(--surface-blue);width:48px;height:56px;color:var(--blue);border-radius:8px;place-items:center;font-size:22px;font-weight:800;display:grid}.step-number.subtle{color:var(--teal);background:#eef7f5;font-size:17px}.recommend-badge,.soft-badge{background:var(--surface-blue);color:var(--blue);white-space:nowrap;border-radius:6px;padding:5px 7px;font-size:11px;font-weight:800}.soft-badge{color:var(--teal);background:#edf8f6}.wide-command{justify-content:center;gap:9px;min-height:50px;margin-top:12px;font-weight:800}.free-entry{gap:14px;min-height:92px;padding:15px}.free-entry-art{background:var(--surface-blue);width:56px;height:56px;color:var(--blue);border-radius:8px;flex:none;place-items:center;display:grid}.composer-screen{padding:0 0 calc(160px + var(--safe-bottom));background:var(--app-bg)}.composer-header{z-index:20;padding:calc(8px + var(--safe-top)) 12px 8px;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff5;position:sticky;top:0}.back-button{margin-right:8px}.composer-header>div{margin-right:auto}.icon-button{border:1px solid var(--line);background:var(--surface);border-radius:8px;flex:none;place-items:center;width:40px;height:40px;display:inline-grid}.progress-steps{border-bottom:1px solid var(--line);background:var(--surface);grid-template-columns:auto 1fr auto 1fr auto;align-items:center;padding:16px 18px;display:grid}.progress-steps span{color:var(--muted);white-space:nowrap;justify-items:center;gap:5px;font-size:11px;display:grid}.progress-steps b{border:1px solid var(--line-strong);background:var(--surface);border-radius:50%;place-items:center;width:26px;height:26px;display:grid}.progress-steps span.active{color:var(--blue);font-weight:800}.progress-steps span.active b{border-color:var(--blue);background:var(--blue);color:#fff}.progress-steps i{background:var(--line);height:1px;margin:0 8px 18px}.composer-section,.composer-results{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--surface);margin-top:10px;padding:1px 14px 16px}.reference-strip,.result-strip{scroll-snap-type:x proximity;scrollbar-width:none;gap:9px;min-height:182px;padding:2px 1px 8px;display:flex;overflow-x:auto}.reference-strip::-webkit-scrollbar{display:none}.result-strip::-webkit-scrollbar{display:none}.add-reference,.reference-card{scroll-snap-align:start;background:#f8fbff;border:1px dashed #a9bed8;border-radius:8px;flex:none;width:116px;min-width:116px;height:168px;position:relative;overflow:hidden}.add-reference{color:var(--blue);place-content:center;justify-items:center;gap:6px;display:grid}.add-reference strong{font-size:14px}.add-reference span{max-width:96px;color:var(--muted);text-align:center;font-size:10px;line-height:1.4}.image-button,.work-image{background:#e9eef4;border:0;width:100%;height:100%;padding:0;overflow:hidden}.image-button img,.work-image img{object-fit:contain;width:100%;height:100%}.role-badge{color:#fff;text-overflow:ellipsis;white-space:nowrap;background:#152033c7;border-radius:5px;padding:5px 6px;font-size:10px;font-weight:700;position:absolute;bottom:5px;left:5px;right:5px;overflow:hidden}.remove-image,.edit-image{z-index:3;color:#fff;background:#152033c7;border:0;border-radius:50%;place-items:center;width:28px;height:28px;display:grid;position:absolute;top:5px}.remove-image{background:#e85959eb;right:5px}.edit-image{left:5px}.image-loading{background:linear-gradient(90deg,#e6ebf1 25%,#f4f7fa 50%,#e6ebf1 75%) 0 0/200% 100%;width:100%;height:100%;animation:1.2s infinite skeleton;display:block}@keyframes skeleton{0%{background-position:200% 0}to{background-position:-200% 0}}.role-summary{border-left:3px solid var(--blue);background:var(--surface-blue);color:#42536c;align-items:flex-start;gap:8px;padding:10px 11px;font-size:12px;line-height:1.55;display:flex}.role-summary svg{color:var(--blue);flex:none;margin-top:1px}.prompt-section textarea{resize:vertical;border:1px solid var(--line);background:#fbfcfe;border-radius:8px;width:100%;min-height:126px;padding:13px;font-size:15px;line-height:1.65}.reverse-toggle{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:8px;justify-content:space-between;align-items:center;width:100%;min-height:58px;margin-top:10px;padding:10px 12px;display:flex}.reverse-toggle span{grid-template-columns:auto 1fr;align-items:center;gap:2px 8px;font-weight:800;display:grid}.reverse-toggle small{color:var(--muted);grid-column:2;font-size:11px;font-weight:400}.reverse-toggle i{background:var(--surface-muted);color:var(--muted);border-radius:6px;padding:4px 7px;font-size:12px;font-style:normal}.reverse-toggle.active{background:#f2fbf9;border-color:#9edbd2}.reverse-toggle.active i{color:var(--teal);background:#dff5f0}.settings-summary{gap:12px;min-height:72px;margin:10px 14px;padding:12px 14px}.settings-summary>svg:first-child{color:var(--blue)}.composer-results{padding-bottom:14px}.result-strip{min-height:220px}.empty-results,.screen-empty{min-height:170px;color:var(--muted);text-align:center;place-content:center;justify-items:center;gap:8px;display:grid}.empty-results strong,.screen-empty strong{color:var(--ink)}.screen-empty span{max-width:260px;font-size:13px;line-height:1.5}.composer-bottom-space{height:20px}.sticky-generate{z-index:24;right:max(12px,50vw - 298px);bottom:calc(68px + var(--safe-bottom));box-shadow:var(--shadow);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff0;border:1px solid #dbe3ede6;border-radius:8px;padding:8px;position:fixed;left:max(12px,50vw - 298px)}.primary-button,.secondary-button{border:1px solid var(--blue);background:var(--blue);color:#fff;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:0 18px;font-weight:800;display:inline-flex}.primary-button:disabled,.secondary-button:disabled{cursor:wait;opacity:.58}.secondary-button{border-color:var(--line-strong);background:var(--surface);color:var(--ink)}.generate-button{width:100%}.bottom-nav{z-index:30;padding:7px 8px calc(7px + var(--safe-bottom));border-top:1px solid var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff7;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:max(0px,50vw - 310px);right:max(0px,50vw - 310px)}.bottom-nav button{color:#6b778b;background:0 0;border:0;place-content:center;justify-items:center;gap:3px;min-height:52px;font-size:11px;display:grid}.bottom-nav button.active{color:var(--blue);font-weight:800}.standard-header{margin-bottom:14px}.standard-header h1{margin:0;font-size:25px}.task-list{gap:9px;display:grid}.task-item{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:34px minmax(0,1fr) auto;align-items:start;gap:9px;padding:13px;display:grid}.task-item.running,.task-item.preparing,.task-item.submitting{background:#f5f8ff;border-color:#9cbbf6}.task-item.failed{background:#fff7f7;border-color:#f1b5b5}.task-icon{width:32px;height:32px;color:var(--blue);place-items:center;display:grid}.task-copy{gap:5px;display:grid}.task-copy>span,.task-copy small{color:var(--muted);font-size:12px}.task-copy em{color:var(--coral);font-size:12px;font-style:normal;line-height:1.4}.task-copy small{align-items:center;gap:5px;display:inline-flex}.task-progress{background:#dfe7f0;border-radius:5px;width:100%;height:5px;overflow:hidden}.task-progress i{background:var(--blue);height:100%;transition:width .24s;display:block}.cancel-button{min-height:34px;color:var(--coral);background:#fff5f5;border:1px solid #f1b5b5;border-radius:7px;padding:0 9px;font-size:12px;font-weight:800}.spinner{border:2px solid #cbd9ef;border-top-color:var(--blue);border-radius:50%;width:22px;height:22px;animation:.75s linear infinite spin;display:block}.spinner.small{width:16px;height:16px}@keyframes spin{to{transform:rotate(360deg)}}.works-toolbar{grid-template-columns:1fr 42px;gap:8px;margin-bottom:11px;display:grid}.works-toolbar label{border:1px solid var(--line);background:var(--surface);min-height:42px;color:var(--muted);border-radius:8px;align-items:center;gap:8px;padding:0 11px;display:flex}.works-toolbar input{background:0 0;border:0;outline:0;width:100%;min-width:0}.works-toolbar>button{border:1px solid var(--line);background:var(--surface);border-radius:8px;place-items:center;display:grid}.batch-bar{background:#fff8f8;border:1px solid #f1b5b5;border-radius:8px;justify-content:space-between;align-items:center;margin-bottom:10px;padding:9px 11px;display:flex}.batch-bar button{color:var(--coral);background:0 0;border:0;align-items:center;gap:5px;font-weight:800;display:inline-flex}.works-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.work-card{border:1px solid var(--line);background:var(--surface);border-radius:8px;min-width:0;position:relative;overflow:hidden}.work-card.selected{border-color:var(--blue);box-shadow:inset 0 0 0 2px #2367e81f}.work-image{aspect-ratio:3/4;height:auto;display:block}.work-meta{gap:3px;padding:8px;display:grid}.work-meta strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.work-meta span{color:var(--muted);font-size:11px}.work-meta b{color:var(--amber);font-size:10px;line-height:1.35}.work-card.compact{width:142px;min-width:142px;height:214px}.work-card.compact .work-image{height:166px}.work-card.compact .work-meta{padding:6px}.text-work{min-height:190px;color:var(--blue);text-align:left;align-content:start;gap:7px;padding:12px;display:grid}.text-work p{color:var(--ink);-webkit-line-clamp:6;-webkit-box-orient:vertical;margin:0;font-size:12px;line-height:1.6;display:-webkit-box;overflow:hidden}.text-work span{color:var(--muted);font-size:10px}.selection-mark{background:var(--blue);color:#fff;border-radius:50%;place-items:center;width:24px;height:24px;display:grid;position:absolute;top:6px;right:6px}.profile-screen{align-content:start;gap:12px;display:grid}.profile-section{border:1px solid var(--line);background:var(--surface);border-radius:8px;padding:14px}.profile-section .section-heading{margin-top:0}.field{gap:6px;margin-bottom:12px;display:grid}.field>span,.setting-block>span{color:var(--muted);font-size:12px;font-weight:700}.field input,.password-field{border:1px solid var(--line);background:#fbfcfe;border-radius:8px;width:100%;min-height:46px;padding:0 11px}.password-field{align-items:center;gap:8px;display:flex}.password-field input{background:0 0;border:0;outline:0;min-width:0;padding:0}.balance-panel{background:#f2fbf9;border:1px solid #a9dcd5;border-radius:8px;justify-content:space-between;align-items:center;padding:11px;display:flex}.balance-panel>div{align-items:center;gap:9px;display:flex}.balance-panel span{gap:2px;display:grid}.balance-panel small{color:var(--muted);font-size:11px}.balance-panel button{background:var(--surface);min-height:34px;color:var(--teal);border:1px solid #a9dcd5;border-radius:7px;align-items:center;gap:6px;padding:0 9px;font-weight:800;display:inline-flex}.profile-row{border:0;border-bottom:1px solid var(--line);text-align:left;background:0 0;grid-template-columns:28px minmax(0,1fr) 18px;align-items:center;gap:8px;width:100%;min-height:62px;padding:10px 0;display:grid}.profile-row:last-child{border-bottom:0}.profile-row>span{gap:3px;display:grid}.profile-row small{color:var(--muted);font-size:11px}.data-stats{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.data-stats span{border-right:1px solid var(--line);min-width:0;color:var(--muted);text-align:center;gap:3px;padding:10px 5px;font-size:10px;display:grid}.data-stats span:last-child{border-right:0}.data-stats b{color:var(--ink);font-size:18px}.sheet-backdrop{z-index:80;background:#0f192980;align-items:end;animation:.16s ease-out fade-in;display:grid;position:fixed;inset:0}@keyframes fade-in{0%{opacity:0}}.bottom-sheet{border:1px solid var(--line);background:var(--surface);border-bottom:0;border-radius:12px 12px 0 0;width:min(100%,620px);max-height:min(86dvh,760px);margin:0 auto;animation:.2s ease-out sheet-up;overflow:hidden;box-shadow:0 -14px 38px #14233c33}@keyframes sheet-up{0%{opacity:0;transform:translateY(28px)}}.sheet-handle{background:#cbd4e0;border-radius:4px;width:40px;height:4px;margin:8px auto 2px}.bottom-sheet>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:60px;padding:8px 14px;display:flex}.bottom-sheet header>div{gap:2px;display:grid}.bottom-sheet h2{margin:0;font-size:19px}.bottom-sheet p{color:var(--muted);margin:0;font-size:11px}.sheet-content{max-height:calc(86dvh - 76px);padding:14px 14px calc(18px + var(--safe-bottom));overflow-y:auto}.action-grid{gap:9px;display:grid}.action-grid button{border:1px solid var(--line);background:var(--surface);min-height:72px;color:var(--blue);text-align:left;border-radius:8px;grid-template-columns:44px 1fr;align-items:center;gap:10px;padding:11px;display:grid}.action-grid span{color:var(--ink);gap:3px;display:grid}.action-grid small{color:var(--muted);font-size:11px}.settings-stack,.editor-panel{gap:15px;display:grid}.setting-block{gap:8px;display:grid}.choice-grid{gap:6px;display:grid}.choice-grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}.choice-grid button{border:1px solid var(--line);background:var(--surface);min-height:42px;color:var(--muted);border-radius:7px;font-size:12px;font-weight:700}.choice-grid button.active{border-color:var(--blue);background:var(--surface-blue);color:var(--blue)}.sheet-primary{width:100%;margin-top:18px}.confirm-summary{gap:14px;display:grid}.confirm-images{gap:7px;display:flex;overflow-x:auto}.confirm-images figure{border:1px solid var(--line);background:var(--surface-muted);border-radius:7px;width:72px;min-width:72px;height:96px;margin:0;position:relative;overflow:hidden}.confirm-images img{object-fit:contain;width:100%;height:100%}.confirm-images b{background:var(--blue);color:#fff;border-radius:50%;place-items:center;width:20px;height:20px;font-size:10px;display:grid;position:absolute;bottom:4px;right:4px}.confirm-summary dl{border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:0;margin:0;display:grid}.confirm-summary dl div{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:10px 0;display:flex}.confirm-summary dl div:last-child{border-bottom:0}.confirm-summary dt{color:var(--muted)}.confirm-summary dd{text-align:right;margin:0;font-weight:700}.prompt-preview{border-left:3px solid var(--blue);background:var(--surface-blue);padding:11px}.prompt-preview p{color:#43516a;-webkit-line-clamp:5;-webkit-box-orient:vertical;margin:6px 0 0;font-size:12px;line-height:1.6;display:-webkit-box;overflow:hidden}.role-options,.action-list{gap:7px;display:grid}.role-options button,.action-list button{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:8px;align-items:center;gap:10px;min-height:52px;padding:0 12px;display:flex}.role-options button{justify-content:space-between}.role-options button.active{border-color:var(--blue);background:var(--surface-blue);color:var(--blue);font-weight:800}.action-list button span{flex:1}.action-list button.danger{color:var(--coral)}.material-groups{gap:7px;padding-bottom:9px;display:flex;overflow-x:auto}.material-groups button{border:1px solid var(--line);background:var(--surface);min-height:36px;color:var(--muted);border-radius:7px;flex:none;align-items:center;gap:5px;padding:0 10px;display:inline-flex}.material-groups button.active{border-color:var(--blue);background:var(--surface-blue);color:var(--blue)}.material-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.material-add,.material-item{aspect-ratio:3/4;background:#f8fbff;border:1px dashed #a9bed8;border-radius:8px;overflow:hidden}.material-add{color:var(--blue);place-content:center;justify-items:center;gap:5px;display:grid}.material-item{padding:0;position:relative}.material-item img{object-fit:contain;width:100%;height:100%}.material-item span{color:#fff;text-overflow:ellipsis;white-space:nowrap;background:#152033b8;padding:4px;font-size:9px;position:absolute;bottom:3px;left:3px;right:3px;overflow:hidden}.viewer-shell,.editor-shell{z-index:100;color:#fff;background:#0f1724;grid-template-rows:auto 1fr auto;display:grid;position:fixed;inset:0}.viewer-shell header{padding:calc(8px + var(--safe-top)) 12px 8px;border-bottom:1px solid #ffffff1f;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:9px;display:grid}.viewer-shell header strong{text-align:center;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.viewer-shell .icon-button{color:#fff;background:#ffffff14;border-color:#ffffff29}.viewer-stage{touch-action:pan-x pan-y;place-items:center;display:grid;overflow:auto}.viewer-stage img{object-fit:contain;transform-origin:50%;max-width:100%;max-height:100%;transition:transform .14s}.viewer-shell footer{padding:10px 14px calc(10px + var(--safe-bottom));background:#080e18eb;grid-template-columns:44px 1fr 44px;align-items:center;gap:8px;display:grid}.viewer-shell footer button{color:#fff;background:#ffffff14;border:1px solid #ffffff26;border-radius:8px;width:42px;height:42px;font-size:22px}.editor-shell{background:#111a28;grid-template-rows:auto minmax(180px,1fr) auto auto}.editor-header{padding:calc(8px + var(--safe-top)) 12px 8px;border-bottom:1px solid #ffffff1f}.editor-header>div{justify-items:center;gap:2px;min-width:0;display:grid}.editor-header span{color:#aeb9c9;text-overflow:ellipsis;white-space:nowrap;max-width:240px;font-size:11px;overflow:hidden}.editor-header .icon-button{color:#fff;background:#ffffff14;border-color:#ffffff29}.editor-preview{place-items:center;min-height:0;padding:10px;display:grid;overflow:hidden}.editor-preview canvas{object-fit:contain;max-width:100%;max-height:100%;box-shadow:0 8px 28px #00000059}.editor-controls{border-top:1px solid var(--line);background:var(--surface);max-height:42dvh;color:var(--ink);padding:10px 12px;overflow-y:auto}.editor-controls>.segmented{margin-bottom:12px}.tool-row{grid-auto-columns:1fr;grid-auto-flow:column;gap:7px;display:grid}.tool-button,.color-control{border:1px solid var(--line);background:var(--surface);min-height:58px;color:var(--muted);border-radius:8px;place-content:center;justify-items:center;gap:4px;font-size:11px;display:grid}.tool-button.selected{border-color:var(--blue);background:var(--surface-blue);color:var(--blue)}.color-control input{background:0 0;border:0;width:28px;height:24px;padding:0}.editor-slider{gap:6px;display:grid}.editor-slider span{color:var(--muted);justify-content:space-between;font-size:12px;display:flex}.editor-slider b{color:var(--ink)}.editor-slider input{width:100%;accent-color:var(--blue)}.watermark-toggle{border:1px solid var(--line);background:var(--surface);border-radius:8px;justify-content:space-between;align-items:center;min-height:54px;padding:0 12px;display:flex}.watermark-toggle span{align-items:center;gap:8px;display:inline-flex}.watermark-toggle.active{border-color:var(--blue);background:var(--surface-blue);color:var(--blue)}.editor-actions{padding:10px 12px calc(10px + var(--safe-bottom));border-top:1px solid var(--line);background:var(--surface);grid-template-columns:1fr 1fr;gap:8px;display:grid}.toast{z-index:140;right:50%;bottom:calc(82px + var(--safe-bottom));max-width:min(88vw,430px);min-height:42px;box-shadow:var(--shadow);color:#18796f;background:#f1fbf9;border:1px solid #a9dcd5;border-radius:8px;align-items:center;gap:8px;padding:9px 13px;font-size:13px;font-weight:700;animation:.18s ease-out toast-in;display:inline-flex;position:fixed;transform:translate(50%)}@keyframes toast-in{0%{opacity:0;transform:translate(50%,12px)}}.boot-screen{background:var(--app-bg);place-content:center;justify-items:center;gap:12px;width:100%;min-height:100dvh;display:grid}.boot-screen img{width:62px;height:62px;box-shadow:var(--shadow);border-radius:10px}@media (width<=380px){.screen{padding-left:12px;padding-right:12px}.workflow-item{grid-template-columns:46px minmax(0,1fr) 18px;gap:9px;padding:11px}.workflow-item .recommend-badge,.workflow-item .soft-badge{display:none}.step-number{width:44px;height:52px}.choice-grid.five{grid-template-columns:repeat(3,minmax(0,1fr))}.composer-header .text-button{max-width:72px;padding:0 5px;font-size:12px}}@media (width>=621px){body{padding:12px 0}.mobile-app{border-radius:10px;min-height:calc(100dvh - 24px);box-shadow:0 18px 52px #1a2a4624}.bottom-nav{border:1px solid var(--line);border-radius:0 0 10px 10px;bottom:12px}.sticky-generate{bottom:calc(80px + var(--safe-bottom))}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
