/*! tailwindcss v4.3.3 | 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)))){*,::backdrop,:after,:before{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial}}}@layer theme{:host,:root{--font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",Arial,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;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{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}:host,html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",Arial,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;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{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:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,optgroup,select,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,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-second-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,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.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,)}.rounded{border-radius:.25rem}}:root{--bg:#f5f5f2;--surface:#fff;--surface-subtle:#f8f8f6;--surface-strong:#efefec;--ink:#20201e;--muted:#66645f;--line:#deddd8;--line-strong:#c9c7c0;--brand:#e96b00;--brand-hover:#c95800;--brand-soft:#fff1e5;--sidebar:#20201e;--sidebar-hover:#343431;--danger:#b4233f;--danger-soft:#fff0f2;--success:#16785c;--warning:#8a5700;--shadow:0 10px 30px #3d302412;--shadow-hover:0 16px 40px #3d30241c;--sidebar-width:264px}*{box-sizing:border-box}.visually-hidden{clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;width:1px!important;height:1px!important;position:absolute!important;overflow:hidden!important}html{scroll-behavior:smooth}body,html{background:var(--bg);min-height:100%}body{color:var(--ink);margin:0;font-family:PingFang SC,Microsoft YaHei,Noto Sans CJK SC,Arial,sans-serif}body>.fui-FluentProvider{background:var(--bg);min-height:100dvh;color:var(--ink)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}:focus-visible{outline-offset:2px;outline:3px solid #e96b0047}.shell{min-height:100dvh;display:flex}.sidebar{z-index:10;width:var(--sidebar-width);color:#f7f7f4;background:var(--sidebar);flex-direction:column;padding:28px 18px 20px;display:flex;position:fixed;inset:0 auto 0 0;overflow-y:auto}.brand{align-items:center;min-height:48px;padding:2px 10px 30px;display:flex}.brand-logo{object-fit:contain;width:190px;height:auto;display:block}.brand-logo-compact{width:148px}.sidebar .brand-logo{width:180px}.app-nav{gap:6px;display:grid}.app-nav a{color:#c8c7c2;border-radius:10px;align-items:center;gap:12px;min-height:44px;padding:0 13px;font-size:14px;font-weight:650;transition:color .16s,background-color .16s,transform .16s;display:flex;position:relative}.app-nav a svg{width:21px;height:21px}.app-nav a:hover{color:#fff;background:var(--sidebar-hover);transform:translate(2px)}.app-nav a:active{transform:scale(.98)}.app-nav a.is-active{color:#fff;background:#3a3936}.app-nav a.is-active:before{background:var(--brand);content:"";border-radius:3px;width:3px;position:absolute;inset:10px auto 10px 0}.sidebar-footer{border-top:1px solid #41413d;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;margin-top:auto;padding:18px 4px 0;display:grid}.avatar{color:#2b1605;background:#ff9b42;border-radius:50%;place-items:center;width:34px;height:34px;font-size:13px;font-weight:800;display:grid}.email{color:#d3d2cc;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.logout-label{display:none}.sidebar-footer .button-ghost{color:#d3d2cc;min-width:34px;padding:0}.sidebar-footer .button-ghost:hover{color:#fff;background:var(--sidebar-hover)}.main-content{width:calc(100% - var(--sidebar-width));max-width:1660px;margin-left:var(--sidebar-width);padding:44px clamp(28px,4vw,68px) 56px}.page-head{justify-content:space-between;align-items:flex-start;gap:24px;min-height:48px;margin-bottom:30px;display:flex}.page-head h1{letter-spacing:-1.2px;margin:0;font-size:clamp(28px,3vw,38px);font-weight:760;line-height:1.18}.page-head p{color:var(--muted);margin:8px 0 0;font-size:13px}.title-meta,.title-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.title-meta{color:var(--muted);margin-top:8px;font-size:13px}.title-row h1{max-width:min(820px,72vw)}.muted{color:var(--muted);font-size:13px}.text-link{color:var(--brand-hover);font-size:13px;font-weight:700}.text-link:hover{text-underline-offset:3px;text-decoration:underline}.card{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:16px;flex-direction:column;padding:22px;display:flex}.card-header{justify-content:space-between;align-items:center;gap:14px;min-height:28px;margin-bottom:18px;display:flex}.card h2,.card-header h2{letter-spacing:-.2px;margin:0;font-size:17px;font-weight:740}.card h3{margin:0}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px;display:grid}.metric{justify-content:space-between;min-height:126px;padding:20px;transition:box-shadow .18s,transform .18s}.metric:hover{box-shadow:var(--shadow-hover);transform:translateY(-2px)}.metric small{color:var(--muted);font-size:12px;font-weight:650;display:block}.metric strong{letter-spacing:-1px;margin-top:16px;font-size:clamp(26px,3vw,34px);font-weight:780;display:block}.metric .accent{color:var(--brand-hover)}.recent-batches{width:100%}.table-scroll{overflow-x:auto}.batch-table{border-collapse:collapse;width:100%;min-width:650px}.batch-table th{color:var(--muted);text-align:left;padding:0 10px 12px;font-size:12px;font-weight:650}.batch-table td{border-top:1px solid var(--line);padding:15px 10px;font-size:14px}.batch-table td strong{display:block}.batch-table td small{color:var(--muted);margin-top:3px;display:block}.batch-table tbody tr{transition:background-color .16s}.batch-table tbody tr:hover{background:var(--surface-subtle)}.table-link:hover{color:var(--brand-hover)}.table-empty{height:112px;color:var(--muted);text-align:center}.history-filter-card{margin-bottom:18px;padding-block:18px}.history-filters{grid-template-columns:minmax(220px,1fr) minmax(150px,220px) auto auto;align-items:end;gap:12px;display:grid}.history-filters label{color:#4f4e49;gap:7px;font-size:12px;font-weight:720;display:grid}.history-filters input,.history-filters select{border:1px solid var(--line-strong);width:100%;height:42px;color:var(--ink);background:var(--surface);border-radius:10px;padding:0 12px}.history-filters input:focus,.history-filters select:focus{border-color:var(--brand);outline:3px solid #e96b0024}.history-records{padding:0;overflow:hidden}.history-records>.card-header{border-bottom:1px solid var(--line);margin:0;padding:20px 22px}.history-result-count{color:var(--muted);font-size:12px;font-weight:700}.history-list{display:grid}.history-record{border-bottom:1px solid var(--line);grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:16px;padding:16px 22px;transition:background-color .16s;display:grid}.history-record:last-child{border-bottom:0}.history-record:hover{background:var(--surface-subtle)}.history-preview{border:1px solid var(--line);background:var(--surface-strong);border-radius:9px;width:76px;height:94px;display:block;overflow:hidden}.history-preview img{object-fit:cover;width:100%;height:100%;display:block}.history-placeholder{color:#8b8881;text-align:center;place-items:center;padding:8px;font-size:10px;line-height:1.35;display:grid}.history-copy{min-width:0}.history-title-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.history-title-row>a{text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:760;overflow:hidden}.history-title-row>a:hover{color:var(--brand-hover)}.history-copy>p{color:var(--muted);margin:7px 0 10px;font-size:12px}.history-facts{flex-wrap:wrap;gap:7px;display:flex}.history-facts span{color:#55534e;background:var(--surface-strong);border-radius:999px;padding:4px 8px;font-size:11px;font-weight:680}.history-facts .success{color:var(--success);background:#eaf7f2}.history-facts .failure{color:var(--danger);background:var(--danger-soft)}.history-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.history-actions .button{min-height:36px;padding-inline:11px;font-size:12px}.history-actions .download-control{display:block}.history-actions .download-error{margin-top:6px}.history-empty{min-height:300px;color:var(--muted);text-align:center;place-content:center;place-items:center;gap:9px;padding:32px;display:grid}.history-empty strong{color:var(--ink);font-size:18px}.history-empty p{margin:0 0 6px;font-size:13px}.history-pagination{justify-content:center;align-items:center;gap:14px;margin-top:20px;display:flex}.history-pagination>span:not(.button){color:var(--muted);font-size:12px;font-weight:700}.history-pagination .is-disabled{color:#a3a099;background:var(--surface-strong);pointer-events:none;opacity:.7}.status{white-space:nowrap;width:max-content;min-height:24px;padding:2px 9px;font-size:12px;line-height:1}.status,.version-label{border-radius:999px;align-items:center;font-weight:700;display:inline-flex}.version-label{color:var(--muted);background:var(--surface-strong);padding:4px 9px;font-size:11px}.button{white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:0 15px;font-size:14px;font-weight:720;line-height:1;transition:background-color .16s,border-color .16s,color .16s,transform .16s,opacity .16s;display:inline-flex}.button:not(:disabled):hover{transform:translateY(-1px)}.button:not(:disabled):active{transform:scale(.98)}.button-primary{border-color:var(--brand);color:#fff;background:var(--brand)}.button-primary:hover{border-color:var(--brand-hover);color:#fff;background:var(--brand-hover)}.button-secondary{border-color:var(--line-strong);color:#34332f;background:var(--surface)}.button-secondary:hover{color:var(--ink);background:var(--surface-subtle);border-color:#aaa79f}.button-danger{color:var(--danger);background:var(--danger-soft);border-color:#f3c5ce}.button-danger:hover{color:#90182f;background:#ffe7eb;border-color:#e7a8b4}.button-ghost{background:0 0;border-color:#0000}.full-width{width:100%}.actions{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.new-batch-grid{grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);align-items:start;gap:22px;display:grid}.import-card textarea{resize:vertical;border:1px solid var(--line-strong);width:100%;min-height:360px;color:var(--ink);background:#fff;border-radius:10px;margin:14px 0 12px;padding:14px;line-height:1.65}.import-card textarea::placeholder,input::placeholder{color:#77756f;opacity:1}.import-card textarea:focus,input:focus,select:focus{border-color:var(--brand);outline:3px solid #e96b0024}.direct-batch-grid{grid-template-columns:minmax(0,1.12fr) minmax(340px,.88fr)}.direct-input-card{gap:15px}.direct-input-card textarea{resize:vertical;border:1px solid var(--line-strong);width:100%;color:var(--ink);background:#fff;border-radius:10px;padding:14px;line-height:1.65}.direct-input-card textarea.direct-prompt{min-height:330px;margin:0}.direct-input-card textarea.style-prompt{min-height:92px;margin:0}.data-search-panel{background:linear-gradient(145deg,#fffaf5,#fff3e8);border:1px solid #edc39e;border-radius:13px;gap:11px;padding:14px;display:grid}.data-search-head,.data-search-head>div,.data-search-result-title,.data-search-result-title>div{justify-content:space-between;align-items:center;gap:9px;display:flex}.data-search-head>div,.data-search-result-title>div{justify-content:flex-start}.data-search-head svg,.data-search-result-title svg{color:var(--brand-hover)}.data-search-applied{color:var(--success);background:#e8f7f0;border-radius:999px;align-items:center;gap:4px;padding:4px 8px;font-size:11px;font-weight:750;display:inline-flex}.data-search-applied svg{color:var(--success)}.data-search-control{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.data-search-control input{width:100%;height:44px;color:var(--ink);background:#fff;border:1px solid #d9b08b;border-radius:10px;padding:0 12px}.data-search-control .button{min-width:124px}.data-search-progress{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.data-search-progress span{color:#8b8881;text-align:center;background:#ffffffb8;border-radius:8px;justify-content:center;align-items:center;gap:4px;min-height:34px;padding:5px 7px;font-size:10px;font-weight:720;display:flex}.data-search-progress span.complete{color:var(--success)}.data-search-progress span.active{color:var(--brand-hover);box-shadow:inset 0 0 0 1px #efa569}.data-search-error{color:var(--danger);background:var(--danger-soft);border-radius:9px;padding:9px 10px;font-size:12px;line-height:1.5}.data-search-result{background:#ffffffdb;border:1px solid #c9864d47;border-radius:10px;gap:9px;padding:11px;display:grid}.data-search-result-title strong{font-size:14px}.data-search-result-title>span{color:var(--muted);white-space:nowrap;font-size:11px;font-weight:720}.data-search-result>p{color:var(--muted);margin:0;font-size:12px;line-height:1.55}.data-search-table-wrap{border:1px solid var(--line);background:#fff;border-radius:8px;max-height:260px;overflow:auto}.data-search-table-wrap table{border-collapse:collapse;width:100%;min-width:420px}.data-search-table-wrap td,.data-search-table-wrap th{border-bottom:1px solid var(--line);text-align:left;white-space:nowrap;padding:8px 10px;font-size:11px}.data-search-table-wrap th{z-index:1;color:#55534e;background:#f5f3ef;font-weight:780;position:sticky;top:0}.data-search-table-wrap tbody tr:last-child td{border-bottom:0}.data-search-sources{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.data-search-sources>span{color:var(--muted);font-size:10px;font-weight:760}.data-search-sources a{color:#7d3b08;background:#fff0e1;border-radius:999px;align-items:center;gap:3px;padding:4px 7px;font-size:10px;font-weight:720;display:inline-flex}.data-search-sources a:hover{color:var(--brand-hover);text-underline-offset:2px;text-decoration:underline}.data-search-sources svg{width:14px;height:14px}.direct-field-grid{grid-template-columns:minmax(0,1fr) 132px;gap:12px;display:grid}.style-preset-fieldset{border:0;min-width:0;margin:0;padding:0}.style-preset-fieldset legend{color:#4f4e49;margin-bottom:8px;font-size:13px;font-weight:720}.style-preset-control{grid-template-columns:minmax(190px,.76fr) minmax(0,1.24fr);align-items:stretch;gap:10px;display:grid}.style-preset-select{border:1px solid var(--line-strong);width:100%;min-height:44px;color:var(--ink);background:#fff;border-radius:10px;padding:0 36px 0 12px;font-weight:680}.style-preset-preview{border:1px solid var(--line);background:var(--surface-subtle);isolation:isolate;border-radius:11px;align-content:center;gap:4px;min-height:108px;padding:14px 84px 14px 15px;display:grid;position:relative;overflow:hidden}.style-preset-preview:after{z-index:-1;content:"";opacity:.86;border-radius:36% 64% 58% 42%;width:118px;height:118px;position:absolute;bottom:-42px;right:-24px;transform:rotate(18deg)}.style-preset-preview.family-M:after{background:linear-gradient(145deg,#77d7cf,#2672ca)}.style-preset-preview.family-S:after{background:linear-gradient(145deg,#ffd16b,#ef7920)}.style-preset-preview.family-X:after{background:linear-gradient(145deg,#e94939,#8d1325)}.style-preset-preview span{color:var(--brand-hover);letter-spacing:.25px;font-size:11px;font-weight:820}.style-preset-preview strong{font-size:17px;line-height:1.25}.style-preset-preview p{color:var(--muted);margin:0;font-size:11px;line-height:1.45}.ratio-fieldset{border:0;min-width:0;margin:0;padding:0}.ratio-fieldset legend,.reference-field-head>span{color:#4f4e49;margin-bottom:8px;font-size:13px;font-weight:720}.ratio-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.ratio-option{border:1px solid var(--line);min-height:82px;color:var(--muted);background:var(--surface);cursor:pointer;border-radius:10px;align-content:center;place-items:center;gap:3px;padding:8px 4px;transition:border-color .16s,background-color .16s,transform .16s;display:grid;position:relative}.ratio-option:hover{border-color:#e4a26a;transform:translateY(-1px)}.ratio-option:has(input:checked){border-color:var(--brand);color:var(--brand-hover);background:var(--brand-soft);box-shadow:inset 0 0 0 1px var(--brand)}.ratio-option:has(input:focus-visible){outline-offset:2px;outline:3px solid #e96b0047}.ratio-option input{opacity:0;pointer-events:none;position:absolute}.ratio-option strong{font-size:12px;line-height:1}.ratio-option small{font-size:9px;line-height:1.2}.ratio-shape{background:#ffffffad;border:1.5px solid;border-radius:3px;height:25px;display:block}.ratio-3-4{width:19px}.ratio-1-1{width:25px}.ratio-4-3{width:33px}.ratio-9-16{width:14px}.ratio-16-9{width:44px;height:25px}.reference-field{gap:8px;display:grid}.reference-field-head{justify-content:space-between;align-items:center;gap:12px;min-height:32px;display:flex}.reference-field-head>span{margin:0}.reference-remove.button{min-height:30px;color:var(--danger);padding:0 7px;font-size:12px}.reference-upload.button{align-self:start}.reference-preview{border:1px solid var(--line);background:var(--surface-subtle);border-radius:11px;grid-template-columns:104px minmax(0,1fr);align-items:center;gap:12px;padding:8px;display:grid;overflow:hidden}.reference-preview img{background:var(--surface-strong);object-fit:cover;border-radius:7px;width:104px;height:76px;display:block}.reference-preview div{min-width:0}.reference-preview span,.reference-preview strong{display:block}.reference-preview strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.reference-preview span{color:var(--muted);margin-top:5px;font-size:11px}.direct-summary-card{min-height:100%}.direct-model-mark{color:#fff;background:linear-gradient(135deg,#242321,#6d3100);border-radius:12px;align-items:center;gap:13px;padding:16px;display:flex}.direct-model-mark>svg{color:#ff9b42;width:30px;height:30px}.direct-model-mark span,.direct-model-mark strong{display:block}.direct-model-mark strong{font-size:20px}.direct-model-mark span{color:#d7d5cf;margin-top:3px;font-size:12px}.direct-cost-summary{margin-top:18px}.direct-prompt-preview{border:1px solid var(--line);background:var(--surface-subtle);border-radius:12px;gap:6px;margin-top:10px;padding:15px;display:grid}.direct-prompt-preview span{color:var(--muted);font-size:11px;font-weight:750}.direct-prompt-preview p{white-space:pre-wrap;max-height:150px;margin:0 0 8px;font-size:13px;line-height:1.6;overflow:auto}.direct-prompt-preview p:last-child{margin-bottom:0}.direct-actions{margin-top:auto;padding-top:18px}.direct-actions .button{flex:1}.direct-input-detail{gap:7px;display:grid}.direct-input-detail>span{color:var(--muted);font-size:12px;font-weight:750}.direct-input-detail>p{background:var(--surface-subtle);white-space:pre-wrap;border-radius:10px;max-height:260px;margin:0 0 10px;padding:12px;font-size:13px;line-height:1.65;overflow:auto}.input-tabs{border-bottom:1px solid var(--line);gap:8px;display:flex}.input-tabs button{min-height:38px;color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;padding:0 8px;font-weight:700}.input-tabs button:hover{color:var(--ink)}.input-tabs button.active{border-bottom-color:var(--brand);color:var(--brand-hover)}.file-picked{min-height:360px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex}.file-picked svg{width:34px;height:34px;color:var(--brand)}.file-picked strong{color:var(--ink);display:block}.file-picked p{margin:5px 0 0}.file-picked button{color:var(--danger);background:0 0;border:0;font-weight:650}.natural-input-help{justify-content:flex-end;min-height:30px;margin-bottom:4px;display:flex}.example-fill-button{color:#a54600;background:var(--brand-soft);border:1px solid #f1bd8f;border-radius:999px;flex:none;min-height:30px;padding:0 11px;font-size:12px;font-weight:750;transition:transform .16s,background-color .16s}.example-fill-button:hover{background:#ffe5ce;transform:translateY(-1px)}.example-fill-button:active{transform:scale(.98)}.example-source-note{color:var(--muted);margin:0 0 15px;font-size:11px;line-height:1.55}.field-label{color:#4f4e49;gap:7px;font-size:13px;font-weight:720;display:grid}.auth-form input,.field-label input{border:1px solid var(--line-strong);width:100%;height:44px;color:var(--ink);background:#fff;border-radius:10px;padding:0 12px}.summary{color:var(--muted);margin:15px 0 10px;font-size:13px}.preview-list{gap:8px;max-height:260px;margin-bottom:18px;padding-right:3px;display:grid;overflow:auto}.natural-preview-list{max-height:490px}.preview-list article{border:1px solid var(--line);background:var(--surface-subtle);border-radius:10px;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px;display:flex}.preview-copy{flex:1;gap:6px;min-width:0;display:grid}.preview-copy>strong{line-height:1.4}.preview-copy p,.preview-copy small{color:var(--muted);margin:0;font-size:12px;line-height:1.45}.preview-facts{flex-wrap:wrap;gap:5px;display:flex}.preview-facts span,.preview-list article>span{color:var(--muted);font-size:11px}.preview-facts span{color:#4f4e49;background:#eae9e5;border-radius:999px;padding:3px 7px}.empty-state{min-height:390px;color:var(--muted);text-align:center;place-content:center;gap:10px;display:grid}.empty-state svg{color:#a3a099;width:34px;height:34px;margin:auto}.empty-state p{margin:0}.admin-error,.error-box,.form-error{color:var(--danger);background:var(--danger-soft);border-radius:10px;font-size:13px}.error-box{margin-bottom:13px;padding:10px 12px}.error-box p{margin:4px 0}.detail-grid{grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:20px;margin-bottom:20px;display:grid}.progress-wrap{margin:8px 0 4px}.progress-counts,.progress-meta{color:var(--muted);justify-content:space-between;gap:12px;font-size:13px;display:flex}.progress-meta strong{color:var(--ink)}.progress-track{background:#efede8;border:1px solid #dedbd5;border-radius:999px;place-items:center;height:34px;margin:10px 0;display:grid;position:relative;overflow:hidden}.progress-bar{border-radius:inherit;background:linear-gradient(90deg,#f58a24,var(--brand));transform-origin:0;width:100%;height:100%;transition:transform .28s;position:absolute;inset:0}.progress-stage-label{z-index:1;color:#292722;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px #ffffffb8;max-width:calc(100% - 28px);font-size:12px;font-weight:760;position:relative;overflow:hidden}.progress-stage-preparing_map .progress-bar{background:linear-gradient(90deg,#6da8e8,#2f72ba)}.progress-stage-generating .progress-bar{background:linear-gradient(90deg,#f5a24c,var(--brand))}.progress-stage-completed .progress-bar,.progress-stage-saving .progress-bar{background:linear-gradient(90deg,#65bda0,#27896b)}.success{color:var(--success)}.failure{color:var(--danger)}.input-detail p,.summary-list p{border-bottom:1px solid var(--line);justify-content:space-between;gap:15px;margin:0;padding:10px 0;font-size:14px;display:flex}.input-detail p:last-child,.summary-list p:last-child{border-bottom:0}.input-detail span,.summary-list span{color:var(--muted)}.items-card{margin-top:20px}.item-list{gap:10px;display:grid}.item-row{border:1px solid var(--line);background:var(--surface);border-radius:12px;grid-template-columns:64px minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:12px;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid}.item-row:hover{border-color:#c5c2ba;transform:translateY(-1px);box-shadow:0 8px 22px #3d302412}.item-copy{min-width:0}.item-copy strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.item-row p{color:var(--muted);margin:4px 0 0;font-size:12px}.item-preview{display:block}.poster-thumb{border:1px solid var(--line);object-fit:cover;border-radius:8px;width:64px;height:86px;display:block}.poster-placeholder{color:#99968f;background:var(--surface-strong);border-radius:8px;place-items:center;width:64px;height:86px;font-size:11px;display:grid}.item-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.item-actions .button{min-height:36px;padding:0 11px;font-size:13px}.download-control{justify-items:end;gap:6px;display:grid}.download-error{max-width:280px;color:var(--danger);text-align:right;margin:0;font-size:12px;line-height:1.4}.detail-poster{background:var(--surface-strong);object-fit:contain;border-radius:10px;width:100%;height:auto;max-height:720px}.auth-layout{background:var(--surface);grid-template-columns:minmax(0,1.08fr) minmax(440px,.92fr);min-height:100dvh;display:grid}.auth-hero{color:#fff;background:#232321;flex-direction:column;justify-content:space-between;min-height:100dvh;padding:clamp(38px,5vw,76px);display:flex;position:relative;overflow:hidden}.auth-hero:after{content:"";opacity:.94;background:#e96b00;border-radius:50%;width:520px;height:520px;position:absolute;bottom:-26%;right:-12%}.auth-hero .brand-logo{z-index:1;width:min(220px,45%);position:relative}.auth-hero h1{z-index:1;letter-spacing:-3.8px;max-width:650px;margin:0 0 clamp(60px,11vh,120px);font-size:clamp(44px,5.6vw,78px);font-weight:760;line-height:1.07;position:relative}.auth-panel{background:var(--surface);place-items:center;padding:34px;display:grid}.auth-mobile-logo{display:none}.auth-form{gap:15px;width:min(100%,390px);display:grid}.auth-form h1{letter-spacing:-1.3px;margin:0 0 10px;font-size:34px}.auth-form label{color:#4b4a45;gap:7px;font-size:13px;font-weight:720;display:grid}.form-error{margin:0;padding:10px 12px}.switch-link{color:var(--muted);text-align:center;margin:4px 0 0;font-size:13px}.switch-link a{color:var(--brand-hover);margin-left:5px;font-weight:750}.admin-anchor-nav{flex-wrap:wrap;gap:8px;margin:-10px 0 24px;display:flex}.admin-anchor-nav a{border:1px solid var(--line);color:#4f4e49;background:var(--surface);border-radius:999px;align-items:center;min-height:36px;padding:0 13px;font-size:13px;font-weight:720;transition:border-color .16s,color .16s,transform .16s;display:inline-flex}.admin-anchor-nav a:hover{color:var(--brand-hover);border-color:#e4a26a;transform:translateY(-1px)}.admin-section{margin-top:28px;scroll-margin-top:24px}.admin-section-head{justify-content:space-between;align-items:center;gap:18px;margin-bottom:15px;display:flex}.admin-section-head h2{letter-spacing:-.5px;margin:0;font-size:22px}.admin-search{color:var(--muted);align-items:center;gap:8px;display:flex}.admin-filter{border:1px solid var(--line-strong);width:min(100%,340px);height:40px;color:var(--ink);background:var(--surface);border-radius:10px;padding:0 12px}.admin-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.account-card{min-height:224px}.account-card .account-value{margin:14px 0;font-size:28px;font-weight:780}.account-card .account-value span{color:var(--muted);font-size:17px}.account-meta{color:var(--muted);justify-content:space-between;gap:10px;font-size:12px;display:flex}.key-last4{color:var(--muted);font-family:SFMono-Regular,Consolas,monospace}.probe-state{border-top:1px solid var(--line);gap:7px;margin-top:auto;padding-top:13px;display:grid}.probe-state>div{justify-content:space-between;align-items:center;gap:10px;display:flex}.probe-state strong{font-variant-numeric:tabular-nums;font-size:12px}.probe-state p{color:var(--muted);margin:0;font-size:11px;line-height:1.45}.workspace-list{gap:16px;display:grid}.workspace-card{padding:0;overflow:hidden}.workspace-head{border-bottom:1px solid var(--line);background:var(--surface-subtle);justify-content:space-between;align-items:flex-start;gap:18px;padding:20px 22px;display:flex}.workspace-head h3{margin:0 0 6px}.workspace-head p{color:var(--muted);margin:0;font-size:12px}.workspace-badges{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.workspace-badges>.status:not(.fui-Badge){background:var(--surface-strong)}.workspace-settings{border-bottom:1px solid var(--line);grid-template-columns:minmax(170px,1.2fr) minmax(140px,.65fr) auto;align-items:end;gap:10px;padding:16px 22px;display:grid}.admin-field{color:#55544f;gap:6px;font-size:11px;font-weight:750;display:grid}.admin-field input,.admin-field select,.member-form select{border:1px solid var(--line-strong);height:38px;color:var(--ink);background:var(--surface);border-radius:9px;padding:0 9px}.admin-field input:disabled,.admin-field select:disabled,.member-form select:disabled{color:#8a8881;background:var(--surface-strong)}.member-table-wrap{overflow-x:auto}.member-table{border-collapse:collapse;width:100%;min-width:780px}.member-table th{color:var(--muted);background:var(--surface);text-align:left;padding:12px 14px;font-size:11px;font-weight:750}.member-table td{border-top:1px solid var(--line);vertical-align:middle;padding:12px 14px;font-size:13px}.member-identity strong{display:block}.member-identity small{color:var(--muted)}.member-form{align-items:center;gap:7px;display:flex}.member-form select{min-width:94px}.member-form .button{min-height:36px}.admin-error{margin:0 0 14px;padding:9px 11px}.admin-empty{color:var(--muted);text-align:center;place-items:center;gap:8px;padding:32px;display:grid}.admin-empty p{margin:0}.queue-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px;display:grid}.queue-card{gap:10px}.queue-counts{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;display:grid}.queue-counts span{color:var(--muted);background:var(--surface-subtle);text-align:center;border-radius:9px;padding:9px 5px;font-size:10px}.queue-counts strong{color:var(--ink);margin-bottom:2px;font-size:18px;display:block}.monitor-degraded{color:var(--warning);background:#fff4d9;border-radius:10px;margin:0 0 14px;padding:10px 12px;font-size:13px}.template-grid{grid-template-columns:repeat(2,minmax(0,520px));gap:20px;display:grid}.template-card{width:100%}.template-preview{color:#fff;background:linear-gradient(145deg,#232321,#8c3f00);border-radius:12px;align-content:space-between;gap:10px;min-height:300px;padding:28px;display:grid}.template-preview h3{max-width:320px;font-size:29px;line-height:1.2}.template-preview div{color:#2a2926;background:#fff;border-radius:10px;padding:11px 12px;font-weight:720}.template-preview div span{float:right;color:var(--brand-hover)}.mobile-nav{display:none}.spin{animation:spin .85s linear infinite}@media (prefers-reduced-motion:no-preference){.main-content>*{animation:surface-enter .42s cubic-bezier(.16,1,.3,1) both}.main-content>:nth-child(2){animation-delay:55ms}.main-content>:nth-child(3){animation-delay:90ms}.auth-hero .brand-logo{animation:surface-enter .48s cubic-bezier(.16,1,.3,1) both}.auth-hero h1{animation:surface-enter .54s cubic-bezier(.16,1,.3,1) 70ms both}.auth-form{animation:surface-enter .48s cubic-bezier(.16,1,.3,1) 90ms both}}@keyframes surface-enter{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:after,:before{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (max-width:1120px){:root{--sidebar-width:224px}.sidebar{padding-inline:14px}.sidebar .brand-logo{width:165px}.main-content{padding:36px 28px 48px}.detail-grid,.new-batch-grid{grid-template-columns:1fr}.admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.queue-grid{grid-template-columns:1fr}.template-grid{grid-template-columns:minmax(0,560px)}}@media (max-width:860px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-settings{grid-template-columns:minmax(160px,1fr) minmax(120px,.8fr) auto}.auth-layout{grid-template-columns:.9fr minmax(400px,1.1fr)}.auth-hero h1{font-size:48px}.history-filters{grid-template-columns:minmax(220px,1fr) minmax(140px,.65fr) auto}.history-filters>.button-secondary{grid-column:1/-1;justify-self:start}.history-record{grid-template-columns:68px minmax(0,1fr)}.history-preview{width:68px;height:88px}.history-actions{grid-column:1/-1;justify-content:flex-start;padding-left:84px}}@media (max-width:700px){.sidebar{display:none}.main-content{width:100%;max-width:none;margin:0;padding:24px 16px 92px}.mobile-nav{z-index:20;min-height:68px;padding:5px 8px max(5px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fffffffa;grid-auto-columns:1fr;grid-auto-flow:column;align-items:center;display:grid;position:fixed;inset:auto 0 0;box-shadow:0 -8px 24px #3d30240f}.mobile-nav a{color:#77756f;place-items:center;gap:2px;min-width:0;padding:5px 2px;font-size:10px;font-weight:700;transition:color .16s,transform .16s;display:grid;position:relative}.mobile-nav a svg{width:21px;height:21px}.mobile-nav a.is-active{color:var(--brand-hover)}.mobile-nav a.is-active:after{background:var(--brand);content:"";border-radius:3px;width:24px;height:3px;position:absolute;top:-6px}.mobile-nav a:active{transform:scale(.96)}.page-head{flex-direction:column;align-items:stretch;min-height:42px;margin-bottom:22px}.page-head h1{font-size:28px}.page-head>.actions,.page-head>.button{align-self:flex-start}.title-row h1{max-width:100%}.metrics{gap:10px}.metric{min-height:108px;padding:15px}.metric strong{margin-top:12px;font-size:25px}.card{border-radius:14px;padding:16px}.card-header{margin-bottom:14px}.admin-grid,.detail-grid,.new-batch-grid,.queue-grid,.template-grid{grid-template-columns:1fr}.ratio-options{grid-template-columns:repeat(3,minmax(0,1fr))}.file-picked,.import-card textarea{min-height:300px}.natural-input-help{justify-content:flex-start}.data-search-control,.direct-field-grid{grid-template-columns:1fr}.data-search-control .button{width:100%}.style-preset-control{grid-template-columns:1fr}.preview-list article{flex-direction:column}.item-row{grid-template-columns:64px minmax(0,1fr);align-items:start}.item-preview,.item-row>.poster-placeholder{grid-area:1/1/3}.item-copy{grid-column:2;align-self:center}.item-row>.status{grid-column:2;justify-self:start}.item-actions{grid-column:1/-1;justify-content:stretch;width:100%}.item-actions .button{flex:1}.download-control{justify-items:stretch;width:100%}.download-error{text-align:left;max-width:none}.admin-section-head{flex-direction:column;align-items:stretch}.admin-filter{width:100%}.workspace-head{flex-direction:column;padding:16px}.workspace-badges{justify-content:flex-start}.workspace-settings{grid-template-columns:1fr;padding:14px 16px}.member-table td,.member-table th{padding:10px}.member-form{flex-direction:column;align-items:stretch}.member-form select{width:100%}.queue-counts{grid-template-columns:repeat(2,1fr)}.history-filters{grid-template-columns:1fr}.history-filters>.button,.history-filters>.button-secondary{grid-column:auto;justify-self:stretch;width:100%}.history-record{grid-template-columns:58px minmax(0,1fr);gap:12px;padding:14px 16px}.history-preview{width:58px;height:76px}.history-title-row>a{max-width:100%;font-size:14px}.history-copy>p{line-height:1.5}.history-actions{padding-left:70px}.history-actions .button,.history-actions .download-control{flex:1}.history-actions .download-control .button{width:100%}.history-pagination{justify-content:space-between;gap:8px}.auth-layout{grid-template-columns:1fr}.auth-hero{display:none}.auth-panel{flex-direction:column;justify-content:center;gap:54px;min-height:100dvh;padding:28px 22px;display:flex}.auth-mobile-logo{width:min(180px,55vw);display:block}.auth-form{width:100%;max-width:390px}}@media (max-width:430px){.metrics{grid-template-columns:1fr 1fr}.metric strong{font-size:22px}.actions{flex-direction:column;align-items:stretch}.actions>.button,.actions>.download-control{width:100%}}@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}