.lighting-palette-control{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;margin:12px 0;padding:12px}.lighting-palette-control>.check-field{gap:8px;margin:0}.lighting-palette-settings{gap:10px;margin-top:12px;display:grid}.lighting-palette-settings>div>span{color:var(--muted);margin-bottom:5px;font-size:12px;display:block}.lighting-palette-settings .hint{margin:0;font-size:12px;line-height:1.65}.lighting-palette-control .field-pair{margin:0}.lighting-palette-control [role=status]{color:var(--muted);margin:8px 0 0;font-size:12px}.palette-mode-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.palette-mode-cards>label{cursor:pointer;border:1px solid var(--line);background:var(--surface);border-radius:8px;align-items:center;gap:12px;padding:16px;display:flex}.palette-mode-cards>label.selected{border-color:var(--gold);background:var(--accent-soft)}.palette-mode-cards input{accent-color:var(--gold);flex-shrink:0;margin:0}.palette-mode-cards strong{font-size:16px;font-weight:500;display:block}.palette-mode-cards small{color:var(--muted);margin-top:6px;font-size:11px;display:block}.palette-mode-cards em{color:var(--gold);border:1px solid var(--accent-border);vertical-align:middle;border-radius:3px;padding:1px 4px;font-size:10px;font-style:normal}.lighting-palette-control .palette-mode-description{margin:10px 0 0;font-size:12px}.lighting-palette-settings{grid-template-columns:repeat(2,minmax(0,1fr))}.lighting-palette-settings>.field-pair,.lighting-palette-settings>.hint{grid-column:1/-1}@media (width<=480px){.palette-mode-cards>label{gap:8px;padding:12px}.palette-mode-cards strong{font-size:14px}.lighting-palette-settings{grid-template-columns:1fr}}.night-glow-control{border:1px solid var(--accent-border);background:var(--surface-soft);border-radius:10px;margin:12px 0;padding:14px}.night-glow-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.night-glow-heading h3{color:var(--text-secondary);margin:0;font-size:13px;font-weight:500}.night-glow-heading h3 span{color:var(--gold)}.night-glow-enable{color:var(--text-secondary);cursor:pointer;align-items:center;gap:7px;font-size:12px;display:flex}.night-glow-enable input,.night-glow-choice input{flex-shrink:0;margin:0}.night-glow-control>.hint{font-size:11px;line-height:1.8}.night-glow-samples{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px;display:grid}.night-glow-choice{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:7px;flex-direction:column;align-items:center;gap:5px;min-width:0;padding:9px 7px;display:flex}.night-glow-choice.selected{border-color:var(--gold);background:var(--accent-soft)}.night-glow-choice.inactive{cursor:default}.night-glow-swatch{border:1px solid var(--swatch-border);border-radius:4px;justify-content:center;align-items:center;width:100%;height:46px;display:flex}.night-glow-swatch.unavailable{background:var(--surface-soft);color:var(--muted);border-style:dashed;font-size:10px}.night-glow-choice-title{white-space:nowrap;justify-content:center;align-items:center;gap:5px;font-size:11px;line-height:1.6;display:flex}.night-glow-choice small{color:var(--muted);white-space:nowrap;font-size:10px;line-height:1.5}.night-glow-control .night-glow-sample-note{margin-top:9px}@media (width<=480px){.night-glow-samples{grid-template-columns:repeat(2,minmax(0,1fr))}.night-glow-heading{gap:10px}.night-glow-control{padding:12px}}.observation-guide{max-width:1240px;margin:auto;padding:48px 38px 64px}.observation-guide-heading{justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px;display:flex}.observation-guide-heading h1{letter-spacing:3px;margin:12px 0;font-family:Noto Serif SC,Songti SC,SimSun,serif;font-size:34px;font-weight:500}.observation-guide-heading p{color:var(--muted);font-size:14px;line-height:1.9}.observation-guide-heading>a{flex-shrink:0}.observation-guide-overview{border:1px solid var(--accent-border);background:var(--accent-soft);color:var(--gold);border-radius:10px;flex-wrap:wrap;gap:12px 28px;padding:18px 22px;font-size:12px;line-height:1.8;display:flex}.observation-guide-image-hint{color:var(--muted);margin:16px 0 24px;font-size:12px}.observation-guide-steps{gap:24px;margin:0;padding:0;list-style:none;display:grid}.observation-guide-step{border:1px solid var(--line);background:var(--surface);border-radius:12px;grid-template-columns:minmax(240px,.8fr) minmax(0,1.6fr);align-items:start;gap:28px;padding:28px;display:grid}.observation-guide-number{background:var(--accent-soft);width:38px;height:38px;color:var(--gold);font-variant-numeric:tabular-nums;border-radius:50%;place-items:center;font-size:14px;display:inline-grid}.observation-guide-copy h2{margin:16px 0 12px;font-size:20px;font-weight:500;line-height:1.6}.observation-guide-copy p{color:var(--text-secondary);font-size:14px;line-height:1.95}.observation-guide-copy .observation-guide-note{border-left:2px solid var(--gold);background:var(--accent-soft);color:var(--gold);border-radius:0 6px 6px 0;margin-top:18px;padding:12px 14px;font-size:13px}.observation-guide-step figure{min-width:0;margin:0}.observation-guide-images{gap:20px;min-width:0;display:grid}.observation-guide-image-button{border:1px solid var(--line);background:var(--surface-soft);cursor:zoom-in;border-radius:8px;justify-content:center;align-items:center;width:100%;padding:8px;display:flex}.observation-guide-image-button:hover{border-color:var(--gold)}.observation-guide-step img{object-fit:contain;border-radius:4px;width:auto;max-width:100%;height:auto;max-height:640px;display:block}.observation-guide-step figcaption{text-align:center;color:var(--muted);margin-top:10px;font-size:12px;line-height:1.8}.observation-guide-footer{color:var(--muted);justify-content:space-between;align-items:center;gap:20px;padding-top:32px;font-size:13px;line-height:1.8;display:flex}.observation-guide-footer>a{flex-shrink:0}.observation-guide-thanks{border:1px solid var(--accent-border);background:var(--accent-soft);color:var(--text-secondary);border-radius:10px;margin-top:28px;padding:18px 22px;font-size:14px;line-height:1.9}.observation-guide-thanks a{color:var(--gold);text-underline-offset:4px;text-decoration:underline}.observation-guide-thanks a:hover{color:var(--gold-hover)}.observation-screenshot-dialog{border:1px solid var(--line-strong);background:var(--surface);width:min(1200px,100vw - 32px);max-width:none;max-height:calc(100dvh - 32px);color:var(--text);box-shadow:0 30px 100px var(--shadow-modal);border-radius:12px;margin:auto;padding:20px;position:fixed;inset:0;overflow:hidden}.observation-screenshot-dialog::backdrop{background:#000000b3}.observation-screenshot-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.observation-screenshot-heading h2{margin:0;font-size:18px;font-weight:500;line-height:1.5}.observation-screenshot-heading>button{flex-shrink:0;padding:8px 12px;font-size:22px;line-height:1}.observation-screenshot-view{justify-content:center;align-items:center;min-width:0;margin-top:16px;display:flex}.observation-screenshot-view img{object-fit:contain;border-radius:4px;width:auto;max-width:100%;height:auto;max-height:calc(100dvh - 200px);display:block}.observation-screenshot-caption{color:var(--muted);text-align:center;margin-top:12px;font-size:12px;line-height:1.8}@media (width<=760px){.observation-screenshot-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:12px}.observation-screenshot-heading h2{font-size:15px}.observation-guide{padding:28px 18px 40px}.observation-guide-heading{flex-direction:column;align-items:flex-start;gap:16px}.observation-guide-heading h1{letter-spacing:1px;font-size:27px}.observation-guide-overview{gap:8px 20px;padding:14px 16px}.observation-guide-step{grid-template-columns:1fr;gap:20px;padding:18px}.observation-guide-copy h2{margin-top:12px;font-size:19px}.observation-guide-step img{max-height:none}.observation-guide-footer{flex-direction:column;align-items:flex-start}}.night-glow-brushes{border-top:1px solid var(--accent-border);margin-top:18px;padding-top:16px}.night-glow-brushes-heading{color:var(--gold);align-items:center;gap:8px;font-size:12px;display:flex}.night-glow-brushes-heading strong{font-weight:500}.night-glow-brushes-heading span{border:1px solid var(--accent-border);color:var(--muted);border-radius:4px;padding:1px 5px;font-size:10px}.brush-palette .night-glow-brushes-note{color:var(--muted);margin:8px 0 12px;font-size:10px;line-height:1.8}.editor-error-boundary{background:var(--surface-soft);min-height:100vh;color:var(--text);place-items:center;padding:24px;display:grid}.editor-error-boundary>section{border:1px solid var(--line);background:var(--surface);border-radius:14px;width:min(100%,760px);padding:28px}.editor-error-boundary h1{margin:0 0 18px;font-size:24px}.editor-error-boundary p{overflow-wrap:anywhere;line-height:1.7}.editor-error-actions{flex-wrap:wrap;gap:12px;margin:20px 0;display:flex}.editor-error-boundary details{margin-top:24px}.editor-error-boundary summary{cursor:pointer}.editor-error-boundary textarea{box-sizing:border-box;resize:vertical;background:var(--surface-soft);width:100%;height:240px;color:inherit;border:1px solid var(--line);border-radius:6px;margin-top:12px;padding:12px;font:12px/1.6 monospace;display:block}@font-face{font-family:local-sans;src:local(Microsoft YaHei UI);font-display:swap}dialog.crop-dialog{width:850px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:24px;position:fixed;inset:0;overflow:auto}dialog.crop-dialog::backdrop{background:var(--backdrop);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.crop-dialog .modal-heading h2{margin:0;font-size:21px}.crop-dialog form>p{color:var(--text-secondary);font-size:12px;line-height:1.8}.crop-layout{grid-template-columns:minmax(0,1fr) 240px;align-items:center;gap:24px;margin-top:18px;display:grid}.crop-preview{border:1px solid var(--line);background:repeating-conic-gradient(var(--checker-base) 0% 25%,var(--checker-tile) 0% 50%) 0 0/16px 16px;border-radius:8px;min-width:0;overflow:hidden}.crop-preview svg{touch-action:none;-webkit-user-select:none;user-select:none;width:100%;height:360px;max-height:48dvh;display:block}.crop-selection{cursor:move}.crop-handle-nw,.crop-handle-se{cursor:nwse-resize}.crop-handle-ne,.crop-handle-sw{cursor:nesw-resize}.crop-handle-n,.crop-handle-s{cursor:ns-resize}.crop-handle-w,.crop-handle-e{cursor:ew-resize}.crop-fields .field-pair{row-gap:18px}.crop-fields .hint{margin:0 0 16px}.crop-shortcuts{gap:8px;margin-top:16px;display:flex}.crop-shortcuts button{flex:1;font-size:12px}.crop-summary{color:var(--text-secondary);margin:18px 0 0;font-size:12px;line-height:2}.crop-summary strong{color:var(--text);font-size:17px}.crop-fields .blank-canvas-error{color:var(--danger);font-size:12px;line-height:1.8}@media (width<=620px){dialog.crop-dialog{padding:18px}.crop-layout{grid-template-columns:1fr;gap:16px}.crop-preview svg{height:240px;max-height:32dvh}.crop-fields .hint{margin-bottom:10px}.crop-summary{margin-top:10px}}.vision-comparison{border:1px solid var(--line);background:var(--surface);border-radius:10px;margin:18px 0;padding:18px}.vision-comparison summary{cursor:pointer;color:var(--text-secondary);font-size:13px}.vision-comparison summary span{float:right;color:var(--muted);font-size:11px}.vision-compare-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:16px 0;display:grid}.vision-comparison figure{min-width:0;margin:0}.vision-comparison figcaption{color:var(--text-secondary);margin-bottom:10px;font-size:12px}.vision-comparison small{color:var(--muted);margin-top:8px;font-size:11px;display:block}.vision-compare-grid canvas{width:100%;height:auto;image-rendering:pixelated;background:var(--checker-base);display:block}.vision-original{margin-top:16px!important}.vision-original img{max-width:100%;max-height:640px;margin:auto;display:block}.vision-comparison .text-button{margin-top:6px}@media (width<=620px){.vision-compare-grid{gap:10px}.vision-comparison{padding:12px}.vision-comparison figcaption{font-size:11px}}.visual-conversion{border:1px solid var(--accent-border);background:var(--surface-soft);border-radius:12px;margin:16px 0;padding:16px}.visual-conversion-title{justify-content:space-between;align-items:center;gap:8px;display:flex}.visual-conversion-title span{color:var(--muted);font-size:11px}.visual-conversion p{color:var(--text-secondary);margin:10px 0;font-size:12px;line-height:1.7}.visual-conversion label{justify-content:space-between;font-size:12px;display:flex}.visual-conversion output{font-variant-numeric:tabular-nums}.visual-conversion input{width:100%;accent-color:var(--gold);margin:10px 0 3px}.visual-strength-hints{color:var(--muted);justify-content:space-between;font-size:10px;display:flex}.visual-conversion button{width:100%;margin:12px 0 8px}.visual-conversion small{color:var(--muted);font-size:11px;display:block}.visual-conversion details{color:var(--muted);margin-top:10px;font-size:11px}.visual-conversion summary{cursor:pointer}:root{font-synthesis:none;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--page:#f7f1e8;--surface:#fffdf9;--surface-soft:#f6efe6;--surface-hover:#eee2d3;--text:#40352b;--text-secondary:#665747;--muted:#796b5b;--line:#e1d5c4;--line-strong:#cbbca7;--gold:#91552f;--gold-hover:#7b4526;--on-accent:#fffaf3;--accent-soft:#f1e1c9;--accent-border:#c9a57b;--canvas:#f5f2ec;--checker-base:#f5f3ef;--checker-tile:#e5e2dc;--success:#547259;--danger:#a33f31;--danger-soft:#fbe9e3;--danger-border:#d8a095;color:var(--text);background:var(--page);--status-dot:#739475;--active-border:#c9a57b66;--shadow-faint:#67462908;--shadow-soft:#6746290d;--shadow-medium:#6746291a;--shadow-canvas:#43352624;--shadow-modal:#43352633;--canvas-grid:#93795814;--sample-grid:#75644b20;--loading-bg:#fffaf2ed;--spinner-track:#c9bda9;--backdrop:#372c2066;--swatch-border:#59463340;font-family:local-sans,PingFang SC,system-ui,sans-serif;font-weight:400}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--page:#211e1a;--surface:#2a2520;--surface-soft:#24201c;--surface-hover:#393026;--text:#f0e7db;--text-secondary:#d0bfaa;--muted:#b5a48f;--line:#453c31;--line-strong:#645443;--gold:#e0b87e;--gold-hover:#efd0a4;--on-accent:#302419;--accent-soft:#423525;--accent-border:#90734d;--canvas:#1b1b1a;--checker-base:#262626;--checker-tile:#333332;--success:#b1c5a2;--danger:#f2ac94;--danger-soft:#49302d;--danger-border:#8c554a;--status-dot:#94ba9e;--active-border:#90734d80;--shadow-faint:#0000000d;--shadow-soft:#0002;--shadow-medium:#0004;--shadow-canvas:#0006;--shadow-modal:#0008;--canvas-grid:#ddd1bf08;--sample-grid:#25334230;--loading-bg:#211e1af0;--spinner-track:#645443;--backdrop:#100e0bcc;--swatch-border:#ffffff40}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);color:inherit;background:0 0;border-radius:6px;justify-content:center;align-items:center;gap:7px;padding:9px 13px;transition:background .15s,border-color .15s;display:inline-flex}button:hover:not(:disabled){background:var(--surface-hover);border-color:var(--gold-hover)}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--gold);outline-offset:3px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}input[type=checkbox]{accent-color:var(--gold);width:14px;height:14px}input[type=range]{accent-color:var(--gold);width:100%}input[type=number],select{background:var(--surface-soft);width:100%;min-width:0;color:var(--text);border:1px solid var(--line-strong);border-radius:5px;height:40px;padding:10px 11px}select{cursor:pointer}.hidden-input{display:none}.site-header{border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:center;height:82px;padding:0 38px;display:flex}.brand{align-items:center;gap:12px;display:flex}.brand-mark{width:41px;height:41px;color:var(--gold);border:1px solid var(--accent-border);border-radius:8px;place-items:center;display:grid;transform:rotate(-4deg)}.brand-mark svg{width:27px;height:27px}.brand strong{letter-spacing:3px;font-family:Noto Serif SC,Songti SC,SimSun,serif;font-size:20px}.brand small{color:var(--muted);letter-spacing:2px;margin-top:4px;font-size:10px;display:block}.header-nav{align-items:center;gap:13px;font-size:12px;display:flex}.header-nav>button{border-color:#0000}.header-nav>.quiet{border-color:var(--line)}.badge{border:1px solid var(--line-strong);color:var(--muted);border-radius:4px;padding:0 4px;font-size:10px}.privacy{color:var(--success);align-items:center;gap:7px;margin-right:16px;font-size:11px;display:flex}.privacy i{background:var(--status-dot);border-radius:50%;width:5px;height:5px}.app-layout{grid-template-columns:307px minmax(0,1fr);gap:32px;max-width:1720px;margin:auto;padding:28px 38px 20px;display:grid}.settings-panel{background:var(--surface);border:1px solid var(--line);box-shadow:0 8px 28px var(--shadow-faint);border-radius:10px;align-self:start;padding:23px 21px}.eyebrow{color:var(--gold);letter-spacing:2px;font-size:10px;font-weight:500}.intro h1{letter-spacing:2px;margin:12px 0 9px;font-family:Noto Serif SC,Songti SC,SimSun,serif;font-size:27px;font-weight:500;line-height:1.55}.intro p{color:var(--muted);font-size:11px}.upload-zone{border:1px dashed var(--accent-border);background:var(--surface-soft);flex-direction:column;gap:11px;width:100%;margin-top:22px;padding:19px 9px}.upload-zone.dragging{border-color:var(--gold);background:var(--accent-soft)}.upload-icon{color:var(--gold)}.upload-zone strong{text-overflow:ellipsis;white-space:nowrap;max-width:220px;font-size:12px;font-weight:500;display:block;overflow:hidden}.upload-zone small{color:var(--muted);margin-top:6px;font-size:10px;display:block}.upload-zone.has-image{text-align:left;flex-direction:row;padding:11px}.upload-zone.has-image strong{max-width:158px}.upload-zone img{object-fit:cover;border-radius:3px;width:44px;height:44px}.control-section{margin-top:1px;padding:22px 0 0}.section-heading{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.section-heading h2{letter-spacing:.5px;font-size:12px;font-weight:500}.section-heading>span{color:var(--muted);font-family:monospace;font-size:10px}.segmented{background:var(--surface-soft);border:1px solid var(--line);border-radius:6px;gap:3px;padding:3px;display:flex}.segmented button{white-space:nowrap;color:var(--muted);border:0;flex:1;padding:8px 10px;font-size:11px}.segmented button.active{background:var(--accent-soft);color:var(--gold);box-shadow:inset 0 0 0 1px var(--active-border)}.hint{color:var(--muted);margin-top:8px;font-size:10px;line-height:1.8}.subtle{color:var(--muted)}.field-pair{grid-template-columns:1fr 1fr;gap:12px;margin-top:16px;display:grid}.field-pair label,.full-field{color:var(--text-secondary);font-size:11px}.field-pair label>span{color:var(--muted);float:right;font-size:10px}.field-pair input,.field-pair select,.full-field select{margin-top:7px;font-size:12px}.full-field{margin-top:15px;display:block}.preset-row{align-items:center;gap:5px;margin-top:10px;font-size:10px;display:flex}.preset-row>span{color:var(--muted);margin-right:auto}.preset-row button{color:var(--text-secondary);border-color:#0000;padding:4px 7px;font-size:10px}.preset-row button.chosen{border-color:var(--accent-border);color:var(--gold);background:var(--accent-soft)}.advanced{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:21px;padding:15px 0;font-size:11px}.advanced summary{cursor:pointer;color:var(--text-secondary);justify-content:space-between;list-style:none;display:flex}.advanced summary::-webkit-details-marker{display:none}.advanced[open] summary span{transform:rotate(45deg)}.advanced-content{padding-top:12px}.range-field{margin-bottom:12px;display:block}.range-field>span{color:var(--text-secondary);justify-content:space-between;font-size:11px;display:flex}.range-field output{color:var(--gold)}.check-field{color:var(--text-secondary);flex-wrap:wrap;align-items:center;gap:5px;margin:14px 0;display:flex}.check-field small{color:var(--muted);font-size:9px}.text-button{color:var(--gold);border:0;margin-top:10px;padding:6px 0;font-size:10px}.convert-action{text-align:center;margin-top:20px}.primary{background:var(--gold);border-color:var(--gold);color:var(--on-accent);font-weight:600}.primary:hover:not(:disabled){background:var(--gold-hover);border-color:var(--gold-hover)}.convert-action>.primary{width:100%;height:43px;font-size:12px}.convert-action>small{color:var(--muted);margin-top:10px;font-size:9px;display:block}.workspace{min-width:0}.workspace-heading{justify-content:space-between;align-items:center;gap:10px;padding:4px 0 22px;display:flex}.workspace-heading h2{letter-spacing:1px;margin-top:7px;font-size:20px;font-weight:400}.version-pill{color:var(--muted);border:1px solid var(--line);white-space:nowrap;border-radius:20px;padding:6px 8px;font-size:9px}.preview-card{border:1px solid var(--line-strong);background:var(--surface);box-shadow:0 14px 40px var(--shadow-soft);border-radius:10px;overflow:hidden}.preview-toolbar{background:var(--surface-soft);border-bottom:1px solid var(--line-strong);justify-content:space-between;align-items:center;gap:8px;padding:11px 15px;display:flex}.preview-toolbar .segmented{background:0 0;border:0;padding:0}.preview-toolbar .segmented button{padding:7px 16px;font-size:11px}.preview-toolbar .segmented button.active{background:var(--accent-soft);box-shadow:none;color:var(--text)}.preview-controls{align-items:center;gap:3px;font-size:10px;display:flex}.preview-controls label{color:var(--text-secondary);white-space:nowrap;align-items:center;gap:4px;margin-right:12px;display:flex}.preview-controls button{color:var(--text-secondary);border-color:#0000;padding:4px 7px;font-size:12px}.preview-controls .zoom-reset{min-width:43px;font-size:10px}.canvas-stage{background-color:var(--canvas);background-image:linear-gradient(var(--canvas-grid) 1px,transparent 1px),linear-gradient(90deg,var(--canvas-grid) 1px,transparent 1px);background-size:20px 20px;flex-direction:column;justify-content:flex-start;align-items:center;min-height:478px;padding:26px;display:flex;position:relative;overflow:visible}.pattern-canvas{height:auto;image-rendering:pixelated;box-shadow:0 6px 35px var(--shadow-canvas);background-color:var(--checker-base);background-image:conic-gradient(var(--checker-tile) 25%,transparent 0 50%,var(--checker-tile) 0 75%,transparent 0);background-size:16px 16px;flex-shrink:0;margin:auto;display:block}.pattern-canvas.editing{cursor:crosshair;touch-action:none}.original-image{object-fit:contain;max-width:100%;max-height:700px;margin:auto;display:block}.empty-stage{justify-content:center;min-height:493px}.empty-state{text-align:center}.sample-art{border:7px solid var(--surface);width:270px;height:190px;box-shadow:0 18px 35px var(--shadow-medium);border-radius:4px;margin:0 auto 24px;position:relative;transform:rotate(-3deg)}.sample-art img{object-fit:contain;filter:saturate(.9);width:100%;height:100%;display:block}.sample-art:after{content:"";background-image:linear-gradient(var(--sample-grid) 1px,transparent 1px),linear-gradient(90deg,var(--sample-grid) 1px,transparent 1px);background-size:7px 7px;position:absolute;inset:0}.sample-art span{z-index:1;background:var(--surface);border:1px solid var(--accent-border);color:var(--gold);box-shadow:0 5px 10px var(--shadow-medium);padding:7px 12px;font-size:9px;position:absolute;bottom:12px;right:-34px;transform:rotate(3deg)}.empty-state h3{letter-spacing:1px;font-size:17px;font-weight:400}.empty-state p{color:var(--muted);margin:12px 0 17px;font-size:11px;line-height:1.8}.sample-button{color:var(--gold);border-color:var(--accent-border);background:var(--accent-soft);padding:10px 19px;font-size:11px}.empty-state>small{color:var(--muted);margin-top:12px;font-size:10px;display:block}.loading-overlay{background:var(--loading-bg);z-index:3;flex-direction:column;justify-content:center;align-items:center;gap:16px;min-height:300px;display:flex;position:absolute;inset:0}.loading-overlay strong{font-size:15px;font-weight:400}.loading-overlay>span{color:var(--muted);font-size:11px}.loading-overlay progress{width:200px;height:5px;accent-color:var(--gold)}.spinner{border:2px solid var(--spinner-track);border-top-color:var(--gold);border-radius:50%;width:28px;height:28px;animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.editor-bar{border-top:1px solid var(--line-strong);background:var(--surface-soft);justify-content:space-between;align-items:center;gap:10px;min-height:52px;padding:9px 13px;display:flex}.edit-tools{gap:3px;min-width:0;display:flex}.edit-tools>button{color:var(--text-secondary);white-space:nowrap;border-color:#0000;padding:6px 9px;font-size:10px}.edit-tools>button.active{color:var(--gold);background:var(--accent-soft)}.edit-tools svg{width:14px;height:14px}.edit-tools select{width:120px;height:28px;margin-left:5px;padding:3px;font-size:10px}.editor-bar>span{color:var(--muted);white-space:nowrap;font-size:9px}.result-stats{grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px;display:grid}.result-stats>div{background:var(--surface);border:1px solid var(--line);border-radius:7px;min-height:92px;padding:15px 17px;position:relative}.result-stats span{color:var(--muted);font-size:10px;display:block}.result-stats span small{color:var(--muted);font-size:9px}.result-stats strong{letter-spacing:.5px;white-space:nowrap;margin-top:8px;font-size:22px;font-weight:500;display:block}.result-stats strong small{color:var(--muted);letter-spacing:0;margin-left:8px;font-size:10px;font-weight:400}.budget-track{background:var(--line);height:2px;margin-top:9px;position:absolute;bottom:8px;left:17px;right:17px}.budget-track i{background:var(--gold);height:100%;display:block}.over strong{color:var(--danger)}.over .budget-track i{background:var(--danger)}.result-details{justify-content:space-between;align-items:center;gap:15px;margin:15px 0 4px;display:flex}.palette-strip{border-radius:3px;gap:2px;max-width:70%;height:13px;display:flex;overflow:hidden}.palette-strip>span{width:14px;min-width:9px}.result-details>span{color:var(--muted);font-size:9px}.status-line{color:var(--success);min-height:34px;padding:13px 0 5px;font-size:11px;line-height:1.7}.result-note{color:var(--gold);font-size:10px;line-height:1.8}.export-bar{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;margin-top:15px;padding:20px 0 10px;display:flex}.export-bar h3{font-size:12px;font-weight:500}.export-bar p{color:var(--muted);margin-top:7px;font-size:10px}.export-actions{align-items:center;gap:8px;display:flex}.export-actions button{white-space:nowrap;padding:10px 12px;font-size:10px}.export-actions button.primary{padding:11px 17px;font-size:12px}.render-note{color:var(--muted);align-items:flex-start;gap:5px;margin-top:8px;font-size:9px;line-height:1.9;display:flex}.render-note svg{flex-shrink:0;width:13px;height:13px;margin-top:2px}.render-note button{color:var(--gold);white-space:nowrap;border:0;padding:0;font-size:9px}.site-footer{border-top:1px solid var(--line);max-width:1644px;color:var(--muted);justify-content:space-between;margin:0 auto;padding:20px 38px;font-size:9px;display:flex}.dot{color:var(--muted);padding:0 8px}.message{border-radius:6px;justify-content:space-between;align-items:center;margin-bottom:12px;padding:10px 14px;font-size:12px;line-height:1.8;display:flex}.message.error{background:var(--danger-soft);border:1px solid var(--danger-border);color:var(--danger)}.message button{border:0;padding:4px}.stage-note{color:var(--muted);margin-top:12px;font-size:10px}.modal-backdrop{background:var(--backdrop);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:20;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.modal{border:1px solid var(--line-strong);background:var(--surface-soft);width:820px;max-width:100%;max-height:90dvh;color:var(--text);box-shadow:0 30px 100px var(--shadow-modal);border-radius:12px;margin:0;padding:26px;position:relative;overflow:auto}.modal-heading{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.modal-heading h2{margin-top:8px;font-size:23px;font-weight:400}.modal-heading button{padding:7px}.modal>p{color:var(--text-secondary);font-size:11px;line-height:1.8}.family-tabs{flex-wrap:wrap;gap:6px;margin:20px 0;display:flex}.family-tabs button{padding:7px 14px;font-size:11px}.family-tabs .active{color:var(--gold);background:var(--accent-soft);border-color:var(--accent-border)}.catalog-grid{grid-template-columns:repeat(4,1fr);gap:10px;max-height:470px;padding:2px 6px 2px 2px;display:grid;overflow:auto}.catalog-color{border:1px solid var(--line-strong);cursor:pointer;background:var(--surface-soft);border-radius:6px;align-items:center;gap:9px;padding:10px 9px 25px;display:flex;position:relative}.catalog-swatch{width:34px;height:34px;box-shadow:inset 0 0 0 1px var(--swatch-border);border-radius:3px;flex-shrink:0;display:block}.catalog-color strong{font-size:12px;font-weight:500}.catalog-color span>small{color:var(--muted);margin-top:4px;font-size:8px;display:block}.catalog-color>input{flex-shrink:0;margin-left:auto}.catalog-color .catalog-ids{color:var(--muted);font-size:8px;position:absolute;bottom:7px;left:9px}.catalog-color.transparent{border-color:var(--accent-border)}.help-content{color:var(--text-secondary);font-size:12px;line-height:1.9}.help-content ol{margin:0;padding-left:23px}.help-content li{padding:0 0 14px 8px}.help-content li strong{color:var(--gold);font-weight:500}.help-content h3{color:var(--text);margin-top:20px;font-size:14px}.help-content>p{margin:7px 0 15px}.help-callout{background:var(--accent-soft);border:1px solid var(--accent-border);color:var(--text-secondary);border-radius:7px;margin-top:10px;padding:15px 18px}.help-callout strong{color:var(--gold);font-size:12px}.help-callout p{margin-top:6px;font-size:11px}@media (width>=1500px){.app-layout{grid-template-columns:325px minmax(0,1fr);gap:36px}.canvas-stage{min-height:550px}.settings-panel{padding:25px}.result-stats strong{font-size:26px}}@media (width<=1200px){.site-header{padding:0 22px}.app-layout{grid-template-columns:280px minmax(0,1fr);gap:22px;padding:22px}.settings-panel{padding:19px 17px}.version-pill{display:none}.export-bar{flex-direction:column;align-items:flex-start;gap:14px}.result-stats{gap:8px}.result-stats>div{padding:12px 10px}.result-stats strong{font-size:18px}.result-stats strong small{margin-left:4px;font-size:9px}.privacy{display:none}.canvas-stage{min-height:430px;padding:19px}.editor-bar>span{display:none}.workspace-heading h2{font-size:19px}}@media (width<=820px){.site-header{height:70px;padding:0 18px}.header-nav{gap:0}.header-nav button{padding:8px;font-size:10px}.header-nav button svg{display:none}.brand strong{letter-spacing:1px;font-size:17px}.brand small{font-size:8px}.brand-mark{width:34px;height:34px}.brand-mark svg{width:23px;height:23px}.app-layout{grid-template-columns:240px minmax(0,1fr);gap:14px;padding:18px 14px}.settings-panel{padding:18px 13px}.intro h1{font-size:23px}.field-pair{gap:8px}.preview-toolbar{flex-wrap:wrap}.preview-controls{margin-left:auto}.result-stats{grid-template-columns:repeat(2,1fr)}.export-actions{flex-wrap:wrap}.canvas-stage{min-height:370px;padding:15px}.empty-stage{min-height:430px}.sample-art{width:190px;height:150px}.sample-art span{font-size:8px;right:-9px}.empty-state p{font-size:10px}.workspace-heading h2{font-size:15px}.result-details{flex-direction:column;align-items:flex-start;gap:9px}.palette-strip{max-width:100%}.render-note{display:block}.render-note svg{display:none}.catalog-grid{grid-template-columns:repeat(3,1fr)}.site-footer{gap:15px;padding:18px;line-height:1.8}}@media (width<=620px){.app-layout{flex-direction:column;gap:24px;padding:15px;display:flex}.settings-panel{width:100%;padding:20px}.intro h1{font-size:25px;line-height:1.45}.intro h1 br{display:none}.intro p{margin-top:8px}.upload-zone{flex-direction:row;margin-top:18px;padding:15px}.upload-zone.has-image strong{max-width:220px}.control-section{padding-top:19px}.field-pair{gap:14px}.convert-action{margin-top:18px}.workspace-heading h2{font-size:19px}.workspace-heading{padding-bottom:17px}.preview-toolbar{flex-wrap:nowrap;padding:10px}.preview-toolbar .segmented button{padding:7px 10px;font-size:10px}.preview-controls label{margin-right:0;font-size:9px}.preview-controls button{padding:3px 4px}.canvas-stage{min-height:365px;padding:20px}.empty-stage{min-height:430px}.sample-art{width:240px;height:177px}.result-stats{grid-template-columns:repeat(2,1fr)}.result-stats>div{padding:15px}.result-stats strong{font-size:24px}.export-bar{gap:17px}.export-actions{grid-template-columns:repeat(3,1fr);width:100%;display:grid}.export-actions .primary{grid-column:1/-1;height:44px}.site-footer{flex-direction:column;gap:5px;padding:20px}.header-nav>button{font-size:9px}.header-nav>.quiet{border:0}.header-nav .badge{display:none}.brand{gap:8px}.modal-backdrop{padding:12px}.modal{padding:20px 15px}.catalog-grid{grid-template-columns:repeat(2,1fr);gap:7px}.family-tabs{gap:5px}.family-tabs button{padding:6px 10px}.catalog-color{padding-bottom:28px}.modal-heading h2{font-size:21px}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.editor-bar{flex-wrap:wrap;gap:10px}.edit-tools{flex-wrap:wrap}.edit-tools kbd{color:var(--text-secondary);border:1px solid var(--line-strong);border-radius:3px;padding:1px 4px;font:9px system-ui}.pattern-canvas.picking{cursor:crosshair}.pattern-canvas:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.brush-palette{border-top:1px solid var(--line);background:var(--surface);padding:16px 20px 18px}.brush-palette-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;font-size:11px;display:flex}.brush-palette-heading strong{color:var(--text);font-weight:500}.brush-palette-heading strong span{color:var(--muted);margin-left:6px}.current-brush{color:var(--text-secondary);align-items:center;gap:7px;display:flex}.current-brush i{border:1px solid var(--swatch-border);border-radius:3px;width:16px;height:16px;display:inline-block}.brush-colors{grid-template-columns:repeat(auto-fill,minmax(28px,1fr));gap:7px;display:grid}.brush-colors button{aspect-ratio:1;border:1px solid var(--swatch-border);border-radius:4px;width:100%;min-width:0;padding:0}.brush-colors button:hover:not(:disabled){border:2px solid var(--gold-hover);transform:scale(1.08)}.brush-colors button[aria-pressed=true]{outline:2px solid var(--gold);outline-offset:2px;box-shadow:inset 0 0 0 2px var(--surface)}.brush-palette p{color:var(--muted);margin-top:12px;font-size:10px;line-height:1.8}.palette-strip{flex-wrap:wrap;gap:3px;overflow:visible}.palette-strip button{border:1px solid var(--swatch-border);border-radius:2px;flex:0 0 14px;width:14px;height:14px;padding:0;display:block}.palette-strip button:hover:not(:disabled){outline:1px solid var(--gold)}.canvas-stage.compare-stage{align-items:flex-start;min-height:0}.compare-pair{flex-shrink:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin:auto;display:grid}.compare-pair figure{min-width:0;margin:0}.compare-pair figcaption{color:var(--text-secondary);margin-bottom:12px;font-size:11px}.compare-pair img,.compare-pair .pattern-canvas{height:auto;margin:0;display:block;width:100%!important;max-width:100%!important}.compare-pair img{background-color:var(--checker-base);background-image:conic-gradient(var(--checker-tile) 25%,transparent 0 50%,var(--checker-tile) 0 75%,transparent 0);background-size:16px 16px}.compare-stage .stage-note{line-height:1.8}.preview-toolbar{flex-wrap:wrap}.preview-controls{margin-left:auto}@media (width<=820px){.compare-pair{grid-template-columns:1fr}.compare-pair figure{width:100%;max-width:680px;margin:auto}.preview-toolbar{flex-wrap:wrap}}.split-settings{border:1px solid var(--line-strong);background:var(--surface);border-radius:8px;margin-top:20px;padding:18px}.split-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.split-heading h3{color:var(--gold);font-size:13px;font-weight:500}.split-heading p{color:var(--muted);margin-top:7px;font-size:10px;line-height:1.8}.split-heading .segmented{flex-shrink:0}.split-fields{grid-template-columns:180px 1fr;align-items:start;gap:18px;margin-top:17px;display:grid}.split-fields label{color:var(--text-secondary);font-size:11px}.split-fields select{margin-top:7px;font-size:12px}.split-summary{color:var(--text-secondary);flex-direction:column;gap:5px;padding:1px 0 0 8px;font-size:11px;line-height:1.5;display:flex}.split-summary strong{color:var(--gold);font-size:18px;font-weight:500}.split-summary small{color:var(--muted);font-size:9px}.export-actions{flex-wrap:wrap;justify-content:flex-end}.export-actions .primary{min-width:137px}@media (width<=1200px){.split-fields{grid-template-columns:1fr 1fr;gap:12px}.split-summary{grid-column:1/-1;padding:0}.split-heading{flex-direction:column;align-items:flex-start;gap:12px}}@media (width<=620px){.split-settings{padding:16px}.split-heading,.split-heading .segmented{width:100%}.export-actions{justify-content:stretch}.export-actions .primary{grid-column:1/-1}.split-fields{gap:12px}}.palette-strip{height:auto;min-height:14px}.result-details{align-items:flex-start}.import-batches{flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px;display:flex}.import-batches>span{color:var(--text-secondary);margin-right:4px;font-size:11px}.import-batches button{padding:7px 10px;font-size:11px}.import-batches button[aria-pressed=true]{border-color:var(--accent-border);background:var(--accent-soft);color:var(--gold)}.large-import-note{border-left:2px solid var(--accent-border);color:var(--gold);margin-top:14px;padding:12px;font-size:11px;line-height:1.8}.source-picking{cursor:crosshair;touch-action:none;-webkit-user-select:none;user-select:none}.current-brush{flex-wrap:wrap}.source-sample{color:var(--muted);align-items:center;gap:7px;display:inline-flex}.editor-hint{color:var(--gold);padding:0 20px 13px;font-size:11px;line-height:1.8}.background-actions{border-top:1px solid var(--line);background:var(--surface-soft);align-items:center;gap:15px;padding:13px 20px;display:flex}.background-actions button{color:var(--gold);border-color:var(--accent-border);flex-shrink:0;font-size:11px}.background-actions>span{color:var(--muted);font-size:10px;line-height:1.8}.transparent-swatch{border:1px solid var(--swatch-border);background-color:var(--checker-base);background-image:conic-gradient(var(--checker-tile) 25%,transparent 0 50%,var(--checker-tile) 0 75%,transparent 0);background-size:8px 8px;border-radius:3px;flex-shrink:0;width:18px;height:18px;display:inline-block}.transparent-choice{margin-bottom:15px;font-size:11px}.transparent-choice small{color:var(--muted);font-size:10px}.transparent-choice[aria-pressed=true]{border-color:var(--gold);background:var(--accent-soft);color:var(--gold)}@media (width<=820px){.background-actions{flex-direction:column;align-items:flex-start;gap:8px}}@media (width<=620px){.editor-hint{padding:0 14px 13px}.background-actions{padding:13px 14px}.brush-palette{padding:16px 14px}.edit-tools button{padding:7px 9px}}.merge-savings{color:var(--gold);margin-top:6px;font-weight:500;display:block}.split-summary.over strong,.split-summary .split-budget-error{color:var(--danger)}.split-summary small{font-size:11px}@media (width<=620px){.split-fields{grid-template-columns:1fr}}.header-nav>.theme-toggle{border-color:var(--accent-border);background:var(--accent-soft);color:var(--gold);white-space:nowrap;min-width:78px}.header-nav>.theme-toggle:hover{background:var(--surface-hover)}.segmented button:hover:not(:disabled):not(.active){color:var(--text-secondary)}@media (width<=820px){.header-nav .theme-toggle svg{width:15px;height:15px;display:block}.header-nav>.theme-toggle{min-width:66px;margin-left:5px;padding:7px 9px}}@media (width<=620px){.site-header{flex-wrap:wrap;gap:12px;height:auto;min-height:70px;padding:14px 15px}.header-nav{flex:1;justify-content:flex-end}.header-nav>.theme-toggle{font-size:10px}}@media (width<=420px){.header-nav{flex:0 0 100%;justify-content:space-between}.header-nav>.theme-toggle{margin-left:0}}.app-layout.refining{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:24px}.workspace-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.workspace-actions>button{white-space:nowrap;padding:8px 11px;font-size:11px}.mode-toggle[aria-pressed=true]{color:var(--gold);border-color:var(--accent-border);background:var(--accent-soft)}.editor-entry{border-top:1px solid var(--line-strong);background:var(--surface-soft);justify-content:space-between;align-items:center;gap:16px;padding:15px 18px;display:flex}.editor-entry>span,.editor-entry p{color:var(--muted);font-size:11px;line-height:1.8}.editor-entry>button{color:var(--gold);border-color:var(--accent-border);background:var(--accent-soft);flex-shrink:0;font-size:11px}.refinement-panel{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent;border:1px solid var(--line-strong);background:var(--surface);min-width:0;max-height:calc(100dvh - 140px);box-shadow:0 12px 36px var(--shadow-medium);border-radius:12px;align-self:start;padding:16px;position:sticky;top:20px;overflow:auto}.refinement-heading{justify-content:space-between;align-items:center;gap:8px;padding-bottom:14px;display:flex}.refinement-heading h2{letter-spacing:.5px;white-space:nowrap;font-size:16px;font-weight:500}.refinement-heading-actions{flex-shrink:0;align-items:center;gap:5px;display:flex}.refinement-heading-actions>button{min-height:30px;color:var(--muted);white-space:nowrap;gap:4px;padding:5px 7px;font-size:10px}.refinement-heading-actions>.history-toggle[aria-expanded=true]{color:var(--gold);border-color:var(--accent-border);background:var(--accent-soft)}.history-toggle-chevron{line-height:1;transition:transform .15s;display:inline-block}.history-toggle[aria-expanded=true] .history-toggle-chevron{transform:rotate(180deg)}.refinement-panel .edit-tools{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.refinement-panel .editor-bar{background:0 0;border:0;padding:0;display:block}.refinement-panel .edit-tools>button{border-color:var(--line);gap:5px;min-height:36px;padding:7px 4px;font-size:11px}.refinement-panel .edit-tools>button.active,.refinement-panel .edit-tools>button[aria-pressed=true]{border-color:var(--accent-border);background:var(--accent-soft);color:var(--gold)}.refinement-panel .edit-tools>button:last-child{grid-column:1/-1;min-height:32px;margin-top:2px}.text-tool{color:var(--text-secondary);padding:0 0 16px;font-size:11px}.text-groups-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.text-groups-heading button{padding:6px 8px;font-size:11px}.text-groups-heading span{color:var(--muted);font-weight:400}.text-group-list{flex-direction:column;gap:5px;max-height:160px;margin-bottom:10px;display:flex;overflow:auto}.text-group-list button{justify-content:flex-start;gap:8px;min-width:0;padding:7px 9px;font-size:11px}.text-group-row{flex-shrink:0;min-width:0;position:relative}.text-group-list .text-group-select{width:100%;padding-right:39px}.text-group-list button[aria-pressed=true]{border-color:var(--gold);background:var(--accent-soft);color:var(--gold)}.text-group-order-hint{margin-bottom:8px}.text-group-list button[data-reorder-handle=true]{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.text-group-grip{color:var(--muted);font-size:15px;line-height:1}.text-group-list button.text-group-dragging,.editor-layer-row.dragging{opacity:.45;cursor:grabbing}.text-group-list button.text-group-drop-before,.editor-layer-row.drop-before{box-shadow:inset 0 2px 0 var(--gold)}.text-group-list button.text-group-drop-after,.editor-layer-row.drop-after{box-shadow:inset 0 -2px 0 var(--gold)}.text-group-list strong{text-overflow:ellipsis;white-space:nowrap;text-align:left;flex:1;min-width:0;font-weight:500;overflow:hidden}.text-group-list small{color:var(--muted);white-space:nowrap;font-size:9px}.text-group-current{color:var(--muted);margin:8px 0 10px;font-size:10px}.text-group-list .text-group-delete{width:28px;height:28px;color:var(--muted);background:0 0;border:0;justify-content:center;padding:0;font-size:20px;line-height:1;position:absolute;top:50%;right:5px;transform:translateY(-50%)}.text-group-list .text-group-delete:hover:not(:disabled){color:var(--danger);background:var(--danger-soft)}.pattern-canvas.text-positioning{cursor:default}.pattern-canvas.text-grabbable{cursor:grab}.pattern-canvas.text-dragging{cursor:grabbing}.pattern-canvas.text-resizing{cursor:nwse-resize}.text-content-label{display:block}.text-tool textarea{resize:vertical;border:1px solid var(--line-strong);background:var(--surface-soft);width:100%;min-height:78px;color:var(--text);font:inherit;border-radius:5px;margin-top:7px;padding:10px 11px;line-height:1.7;display:block}.text-tool textarea:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.text-tool .field-pair{margin-top:12px}.budget-field{min-width:0;font-size:11px;position:relative}.preset-row{flex-wrap:wrap}.budget-max{height:14px;color:var(--gold);border-radius:3px;padding:0 3px;font-size:9px;line-height:1;position:absolute;top:0;right:0}.text-tool-actions{gap:8px;margin-top:12px;display:flex}.text-tool-actions>button{flex:1;min-height:36px;font-size:11px}.text-tool-error{color:var(--danger);margin-top:8px;font-size:11px;line-height:1.7}.refinement-panel .edit-tools kbd{margin-left:3px}.refinement-panel .editor-hint{padding:11px 0 14px;font-size:10px;line-height:1.8}.brush-size-control{border:1px solid var(--line);background:var(--surface-soft);border-radius:6px;margin-top:12px;padding:10px}.brush-size-control label{color:var(--text-secondary);justify-content:space-between;align-items:center;font-size:11px;display:flex}.brush-size-control output{color:var(--gold);font-variant-numeric:tabular-nums}.brush-size-control input{width:100%;margin:10px 0;display:block}.brush-size-presets{gap:4px;display:flex}.brush-size-presets button{flex:1;min-width:0;padding:4px 0;font-size:10px}.brush-size-presets button[aria-pressed=true]{color:var(--gold);background:var(--accent-soft);border-color:var(--accent-border)}.result-stats .home-limit-excess{color:var(--danger);margin-top:8px;margin-bottom:8px;font-size:10px;line-height:1.6}.home-limit-warning{border:1px solid var(--danger-border);background:var(--danger-soft);color:var(--danger);border-radius:6px;margin:12px 0;padding:10px 12px;font-size:11px;line-height:1.8}.refinement-actions>.home-limit-warning{grid-column:1/-1;margin:0}.status-line.home-limit-status{color:var(--danger)}.refinement-panel .background-actions{flex-direction:column;align-items:stretch;gap:8px;margin:0 -16px;padding:14px 16px}.refinement-panel .background-actions>button{width:100%;min-height:37px}.refinement-panel .background-actions>span{font-size:10px;line-height:1.7}.refinement-panel .brush-palette{margin:0 -16px;padding:15px 16px}.refinement-panel .brush-palette-heading{align-items:flex-start;gap:8px;margin-bottom:12px}.refinement-panel .current-brush{gap:5px;max-width:100%;font-size:10px;line-height:1.6}.refinement-panel .current-brush i{flex-shrink:0;width:14px;height:14px}.refinement-panel .transparent-choice{justify-content:flex-start;gap:6px;width:100%;margin-bottom:10px;padding:8px;font-size:10px}.refinement-panel .transparent-choice small{font-size:9px}.refinement-panel .brush-colors button{flex-shrink:0;min-height:0}.refinement-panel .brush-palette p{margin-top:12px;font-size:10px;line-height:1.7}.edit-history{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;margin-bottom:14px;padding:12px 10px}.edit-history[hidden]{display:none}.history-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.history-heading h3{font-size:12px;font-weight:500}.history-heading>span{color:var(--muted);font-size:10px}.history-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:10px;display:grid}.history-controls>button{min-width:0;min-height:32px;color:var(--text-secondary);padding:6px 8px;font-size:10px}.history-controls svg{flex-shrink:0;width:13px;height:13px}.edit-history ol{margin:0;padding:0;list-style:none}.edit-history li{margin:0;padding:2px 0;font-size:11px;line-height:1.5}.history-record{width:100%;min-height:44px;color:var(--text-secondary);text-align:left;border:1px solid #0000;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;font-size:11px;line-height:1.5;display:flex}.history-record-label{overflow-wrap:anywhere;flex:1;min-width:0}.history-record small{color:var(--muted);margin-top:2px;font-size:9px;display:block}.history-record:hover:not(:disabled){background:var(--surface-hover);border-color:var(--line-strong)}.history-record:focus-visible{outline-offset:-3px}.history-future .history-record{color:var(--muted);background:var(--surface-soft)}.history-current .history-record,.history-record[aria-current=step]{color:var(--gold);background:var(--accent-soft);border-color:var(--accent-border);box-shadow:inset 3px 0 0 var(--gold)}.history-current .history-record:hover:not(:disabled),.history-record[aria-current=step]:hover:not(:disabled){background:var(--accent-soft);border-color:var(--gold)}.history-position{border:1px solid var(--accent-border);color:var(--gold);white-space:nowrap;border-radius:4px;flex-shrink:0;align-self:center;padding:2px 5px;font-size:9px;line-height:1.5}.edit-history>p{color:var(--muted);padding:2px 0 8px;font-size:10px;line-height:1.8}.edit-history>.history-hint{margin-bottom:7px;padding:0}.editor-save-state{color:var(--success);align-items:flex-start;gap:7px;padding:12px 0;font-size:10px;line-height:1.7;display:flex}.editor-save-state:before{content:"";background:currentColor;border-radius:50%;flex-shrink:0;width:5px;height:5px;margin-top:6px}.editor-save-state.unsaved{color:var(--gold)}.refinement-actions{z-index:1;border-top:1px solid var(--line);background:var(--surface);box-shadow:0 -6px 15px var(--shadow-faint);grid-template-columns:1fr 1fr;gap:8px;margin:0 -16px -16px;padding:12px 16px 16px;display:grid;position:sticky;bottom:-16px}.refinement-actions>button{gap:5px;min-width:0;min-height:38px;padding:8px 5px;font-size:11px}dialog.unsaved-dialog{width:480px;max-width:calc(100vw - 32px);box-shadow:0 24px 80px var(--shadow-modal);margin:auto;padding:24px;position:fixed;inset:0}dialog.unsaved-dialog::backdrop{background:var(--backdrop);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.text-delete-dialog>p{overflow-wrap:anywhere;white-space:pre-wrap;max-height:40vh;overflow:auto}.text-delete-dialog .text-delete-confirm{background:var(--danger);border-color:var(--danger)}.text-delete-dialog .text-delete-confirm:hover:not(:disabled){background:var(--danger);border-color:var(--danger);filter:brightness(.9)}dialog.blank-canvas-dialog{width:440px;max-width:calc(100vw - 32px);margin:auto;padding:24px;position:fixed;inset:0}dialog.blank-canvas-dialog::backdrop{background:var(--backdrop);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.blank-canvas-dialog .modal-heading h2{margin:0;font-size:21px}.blank-canvas-dialog form>p{color:var(--text-secondary);font-size:12px;line-height:1.8}.blank-canvas-dialog form>.blank-canvas-error{color:var(--danger);margin-top:12px}.blank-canvas-actions{justify-content:flex-end;gap:9px;margin-top:24px;display:flex}.blank-canvas-actions>button{font-size:12px}.project-cache-bar{color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;margin:0 0 12px;font-size:11px;line-height:1.7;display:flex}.project-cache-bar>span{flex:1;min-width:160px}.project-cache-bar.has-error>span{color:var(--danger)}.unsaved-dialog h2{margin-bottom:12px;font-size:19px;font-weight:500;line-height:1.5}.unsaved-dialog>p{color:var(--text-secondary);font-size:12px;line-height:1.9}.unsaved-actions{flex-wrap:wrap;justify-content:flex-end;gap:9px;margin-top:23px;display:flex}.unsaved-actions>button{padding:9px 12px;font-size:11px}@media (width<=1100px){.app-layout.refining{grid-template-columns:minmax(0,1fr) 280px;gap:18px}.refining .workspace-heading{flex-wrap:wrap;align-items:flex-start}.refining .workspace-actions{margin-left:auto}}@media (width<=900px){.app-layout.refining{flex-direction:column;align-items:stretch;gap:20px;display:flex}.refining .workspace{display:contents}.refining .workspace>*{order:4;min-width:0}.refining .workspace>.workspace-heading{order:0}.refining .workspace>.message{order:1}.refining .workspace>.preview-card{order:2}.refinement-panel{overscroll-behavior:auto;order:3;width:100%;max-height:none;position:static;overflow:visible}.refinement-actions{position:static}.refinement-panel .edit-tools{grid-template-columns:repeat(3,minmax(0,1fr))}.refinement-panel .edit-tools>button{min-height:40px}.history-controls>button{min-height:38px}}@media (width<=620px){.workspace-heading{flex-wrap:wrap;align-items:flex-start}.workspace-actions{gap:6px;margin-left:auto}.workspace-actions>button{padding:7px 9px;font-size:10px}.editor-entry{flex-wrap:wrap;align-items:flex-start;gap:12px;padding:14px}.editor-entry>button{min-height:38px;margin-left:auto}dialog.unsaved-dialog{padding:22px 18px}.unsaved-actions{grid-template-columns:1fr 1fr;display:grid}.unsaved-actions>button:last-child{grid-column:1/-1}}.favorite-colors{border-top:1px solid var(--line);padding:15px 0}.favorite-colors-heading{align-items:center;gap:8px;margin-bottom:12px;display:flex}.favorite-colors-heading h3{font-size:12px;font-weight:500}.favorite-colors-heading>span{color:var(--muted);font-variant-numeric:tabular-nums;margin-right:auto;font-size:10px}.favorite-colors-heading>button{min-height:28px;color:var(--text-secondary);margin-left:auto;padding:4px 8px;font-size:10px}.favorite-colors-heading>button.active{border-color:var(--accent-border);background:var(--accent-soft);color:var(--gold)}.favorite-color-slots{grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;padding:3px 0;display:grid}.favorite-color-slot{background:0 0;border:0;border-radius:6px;flex-direction:column;gap:6px;min-width:0;padding:0;display:flex;position:relative}.favorite-color-slot:hover:not(:disabled){background:0 0;border:0}.favorite-color-slot .favorite-color-swatch,.favorite-color-slot.empty>span{aspect-ratio:1;border:1px solid var(--swatch-border);width:100%;height:auto;box-shadow:0 2px 5px var(--shadow-faint);border-radius:6px;flex-shrink:0;place-items:center;display:grid;position:relative}.favorite-color-slot.empty>span{border:1px dashed var(--line-strong);background:var(--surface-soft);color:var(--muted);font-size:18px;font-weight:300;line-height:1}.favorite-color-slot>small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:9px;line-height:1;display:block}.favorite-color-slot:hover:not(:disabled) .favorite-color-swatch,.favorite-color-slot.empty:hover:not(:disabled)>span{border-color:var(--gold-hover)}.favorite-color-slot[aria-pressed=true] .favorite-color-swatch,.favorite-color-slot.selected .favorite-color-swatch,.favorite-color-slot.selected.empty>span{outline:2px solid var(--gold);outline-offset:2px;box-shadow:inset 0 0 0 2px var(--surface)}.favorite-color-slot[aria-pressed=true]>small,.favorite-color-slot.selected>small{color:var(--gold);font-weight:600}.favorite-color-slot.unavailable .favorite-color-swatch:after{content:"";background:var(--text);height:2px;box-shadow:0 0 0 1px var(--surface);border-radius:2px;position:absolute;inset:calc(50% - 1px) 1px auto;transform:rotate(-45deg)}.favorite-colors .favorite-colors-hint,.refinement-panel .favorite-colors .favorite-colors-hint{color:var(--muted);margin-top:10px;font-size:10px;line-height:1.7}.favorite-color-editor{border:1px solid var(--line);background:var(--surface-soft);border-radius:7px;margin-top:11px;padding:10px}.favorite-colors .favorite-color-editor>p,.refinement-panel .favorite-colors .favorite-color-editor>p{color:var(--text-secondary);overflow-wrap:anywhere;margin:0;font-size:10px;line-height:1.7}.favorite-color-actions{gap:6px;margin-top:8px;display:flex}.favorite-color-actions>button{flex:1;min-width:0;min-height:30px;padding:6px 5px;font-size:10px}.favorite-color-actions>button:first-child{border-color:var(--accent-border);background:var(--accent-soft);color:var(--gold)}.favorite-colors .favorite-colors-status,.refinement-panel .favorite-colors .favorite-colors-status{color:var(--success);overflow-wrap:anywhere;margin-top:9px;font-size:10px;line-height:1.7}@media (width<=900px){.favorite-color-slots{gap:8px;max-width:440px}.favorite-color-slot .favorite-color-swatch,.favorite-color-slot.empty>span{border-radius:8px}.favorite-color-actions>button{min-height:36px}}@media (width<=420px){.favorite-color-slots{gap:6px}.favorite-color-slot .favorite-color-swatch,.favorite-color-slot.empty>span{border-radius:6px}}.palette-order-controls{align-items:center;gap:8px;min-width:0;margin:2px 0 12px;display:flex}.palette-order-controls>span{color:var(--muted);flex-shrink:0;font-size:10px}.palette-order-controls .segmented{flex:1;gap:2px;min-width:0;padding:3px}.palette-order-controls .segmented button{min-width:0;min-height:29px;padding:6px 4px;font-size:10px}.brush-color-groups{min-width:0;margin:-4px;padding:4px}.brush-color-family{min-width:0}.brush-color-family+.brush-color-family{margin-top:13px}.brush-color-family-heading{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;font-size:10px;line-height:1.4;display:flex}.brush-color-family-heading strong{color:var(--text-secondary);font-weight:400}.brush-color-family-heading>span{font-variant-numeric:tabular-nums;font-size:9px}.brush-color-groups .brush-colors{grid-template-columns:repeat(8,minmax(0,1fr));gap:6px}.palette-layer-option{color:var(--text-secondary);cursor:pointer;align-items:center;gap:6px;margin-bottom:14px;font-size:11px;display:flex}.palette-layer-option input{margin:0}.palette-layer{min-width:0}.palette-layer+.palette-layer{border-top:1px solid var(--line);margin-top:12px;padding-top:12px}.palette-layer-toggle{border:1px solid var(--line);background:var(--surface-soft);width:100%;min-width:0;min-height:38px;color:var(--text-secondary);text-align:left;border-radius:6px;justify-content:flex-start;align-items:center;gap:8px;padding:8px 10px;display:flex}.palette-layer-toggle[aria-expanded=true]{border-color:var(--accent-border);background:var(--accent-soft);color:var(--gold)}.palette-layer-toggle:hover:not(:disabled){border-color:var(--gold-hover)}.palette-layer-title{flex:1;min-width:0;font-size:11px;font-weight:500;line-height:1.5}.palette-layer-count{font-variant-numeric:tabular-nums;color:var(--muted);flex-shrink:0;font-size:10px;line-height:1.5}.palette-layer-chevron{text-align:center;flex-shrink:0;width:12px;font-size:15px;line-height:1;transition:transform .15s;display:inline-block}.palette-layer-toggle[aria-expanded=true] .palette-layer-chevron{transform:rotate(180deg)}.palette-layer-content{min-width:0;padding-top:12px}.palette-layer-content[hidden]{display:none}.local-zoom-frame{flex-shrink:0;width:100%;min-width:0;margin:auto}.local-zoom-frame.is-zoomed,.canvas-stage.standalone-stage{overflow:hidden}.preview-controls .fullscreen-toggle{border-color:var(--line-strong);white-space:nowrap;margin-right:8px}.preview-controls .fullscreen-toggle[aria-pressed=true]{color:var(--gold);background:var(--accent-soft)}.app-layout.refining.editor-fullscreen{z-index:10;background:var(--page);grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) 300px;align-items:stretch;gap:12px;width:100%;max-width:none;height:100dvh;margin:0;padding:12px;display:grid;position:fixed;inset:0;overflow:hidden}.editor-fullscreen .workspace{flex-direction:column;min-height:0;display:flex;overflow:hidden}.editor-fullscreen .workspace>:not(.preview-card):not(.message){display:none}.editor-fullscreen .workspace>.message{flex-shrink:0;max-height:20vh;overflow:auto}.editor-fullscreen .preview-card{flex-direction:column;flex:1;width:100%;min-height:0;display:flex}.editor-fullscreen .preview-toolbar,.editor-fullscreen .preview-shortcuts{flex-shrink:0}.editor-fullscreen .canvas-stage{flex:1;justify-content:center;min-height:0;overflow:hidden}.editor-fullscreen .canvas-stage>.stage-note{display:none}.editor-fullscreen .compare-pair{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) minmax(0,1fr);height:100%;min-height:0}.editor-fullscreen .compare-pair figure{flex-direction:column;max-width:none;height:100%;min-height:0;display:flex}.editor-fullscreen .compare-pair figcaption{flex-shrink:0}.editor-fullscreen .refinement-panel{order:initial;overscroll-behavior:contain;align-self:stretch;width:auto;height:100%;min-height:0;max-height:none;position:relative;top:auto;overflow:auto}.editor-fullscreen .refinement-actions{position:sticky}@media (width<=700px){.app-layout.refining.editor-fullscreen{grid-template-rows:minmax(0,1fr) minmax(0,36dvh);grid-template-columns:minmax(0,1fr);gap:6px;padding:6px}.editor-fullscreen .preview-toolbar{flex-wrap:wrap}.editor-fullscreen .canvas-stage,.editor-fullscreen .refinement-panel{padding:12px}.editor-fullscreen .refinement-actions{margin-bottom:-12px;bottom:-12px}}.local-zoom-content{transform-origin:0 0;width:100%;position:relative}.brush-preview{pointer-events:none;z-index:2;position:absolute;overflow:hidden}:root{--picker-cursor:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%3e%3cg%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cpath%20d='M3%2029%205%2023%2017%2011%2021%2015%209%2027Z%20M15%209%2023%2017%20M19%2011%2025%205Q28%202%2030%205Q32%207%2029%2010L23%2016'%20fill='none'%20stroke='%23fff'%20stroke-width='3.5'/%3e%3cpath%20d='M3%2029%205%2023%2017%2011%2021%2015%209%2027Z'%20fill='%23fff'%20stroke='%2329231c'%20stroke-width='1.3'/%3e%3cpath%20d='M19%2011%2025%205Q28%202%2030%205Q32%207%2029%2010L23%2016'%20fill='%2329231c'%20stroke='%2329231c'%20stroke-width='1.3'/%3e%3cpath%20d='M15%209%2023%2017%20M7%2023%2016%2014'%20fill='none'%20stroke='%2329231c'%20stroke-width='1.3'/%3e%3c/g%3e%3c/svg%3e") 3 29,crosshair}.pattern-canvas.picking,.source-picking,.local-zoom-frame.temporary-picking .pattern-canvas.editing,.local-zoom-frame.temporary-picking img{cursor:var(--picker-cursor)}.selection-overlay{touch-action:none;cursor:crosshair;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;inset:0}.selection-panel{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px;font-size:11px}.selection-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.selection-heading>div{gap:5px;display:flex}.selection-heading button{padding:5px 8px;font-size:10px}.selection-panel p{color:var(--text-secondary);margin-top:10px;font-size:10px;line-height:1.8}.selection-colors{gap:5px;max-height:230px;margin-top:12px;padding:2px;display:grid;overflow:auto}.selection-colors button{justify-content:flex-start;min-width:0;padding:7px;font-size:11px}.selection-colors button[aria-pressed=true]{border-color:var(--gold);background:var(--accent-soft)}.selection-colors i{border:1px solid var(--line-strong);border-radius:3px;flex:none;width:22px;height:22px}.selection-colors span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.selection-colors small{white-space:nowrap;color:var(--muted);margin-left:auto;font-size:10px}.selection-apply{width:100%;margin-top:10px;font-size:11px}.local-zoom-content>img{width:100%;height:auto;max-height:none;margin:0;display:block}.local-zoom-frame.pan-ready,.local-zoom-frame.pan-ready *{cursor:grab}.local-zoom-frame.is-panning,.local-zoom-frame.is-panning *{cursor:grabbing;-webkit-user-select:none;user-select:none}.preview-shortcuts{border-bottom:1px solid var(--line);background:var(--surface-soft);color:var(--text-secondary);flex-wrap:wrap;align-items:center;gap:6px 18px;padding:8px 15px;font-size:10px;line-height:1.6;display:flex}.preview-shortcuts>span{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.preview-shortcuts>button{font:inherit;color:inherit;white-space:nowrap;border:0;border-radius:0;gap:4px;padding:0}.preview-shortcuts>button:hover:not(:disabled){color:var(--gold);background:0 0}.preview-shortcuts kbd{font:inherit;border:1px solid var(--line-strong);color:var(--gold);background:var(--surface);border-radius:3px;padding:0 4px;font-size:10px}dialog.png-preview-dialog{width:1120px;max-width:calc(100vw - 32px);height:min(900px,90dvh);max-height:90dvh;margin:auto;padding:22px;position:fixed;inset:0;overflow:hidden}dialog.png-preview-dialog[open]{flex-direction:column;gap:14px;display:flex}dialog.png-preview-dialog::backdrop{background:var(--backdrop);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.png-preview-dialog .modal-heading{flex-shrink:0;margin:0}.png-preview-dialog .modal-heading h2{margin:0;font-size:21px}.png-preview-toolbar{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;display:flex}.png-preview-toolbar p{color:var(--text-secondary);font-size:12px;line-height:1.7}.png-preview-toolbar .segmented{flex-shrink:0}.png-preview-image{background:var(--surface);border:1px solid var(--line);border-radius:7px;flex:1;justify-content:center;align-items:center;min-height:0;padding:12px;display:flex;overflow:auto}.png-preview-image>img{object-fit:contain;width:auto;max-width:100%;height:auto;max-height:100%;display:block}.png-preview-image.detail{display:block}.png-preview-image.detail>img{max-width:none;max-height:none}.png-preview-image>p{color:var(--muted);font-size:13px}.png-preview-actions{flex-shrink:0;align-items:center;gap:10px;display:flex}.png-preview-actions>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--muted);margin-right:auto;font-size:12px;overflow:hidden}.png-preview-actions>button{flex-shrink:0;font-size:12px}.png-preview-error{color:var(--danger);align-items:center;gap:12px;font-size:12px;display:flex}@media (width<=620px){dialog.png-preview-dialog{gap:12px;padding:15px}.png-preview-toolbar{flex-direction:column;align-items:flex-start}.png-preview-actions{flex-wrap:wrap;justify-content:flex-end}.png-preview-actions>span{width:100%}}dialog.blueprint-export-dialog{overscroll-behavior:contain;width:min(680px,100vw - 32px);max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:24px;position:fixed;inset:0;overflow:auto}.blueprint-export-dialog::backdrop{background:#0000008c}.export-choice-intro,.map-placement-intro{color:var(--text-secondary);margin:12px 0 18px;font-size:13px;line-height:1.7}.blueprint-export-choices{grid-template-columns:1fr 1fr;gap:14px;display:grid}.blueprint-export-dialog>.hint+.blueprint-export-choices{margin-top:14px}.blueprint-export-choice{text-align:left;white-space:normal;background:var(--surface-soft);flex-direction:column;align-items:flex-start;gap:12px;padding:22px;line-height:1.7}.blueprint-export-choice strong{color:var(--text);font-size:18px}.blueprint-export-choice span{color:var(--text-secondary);font-size:13px}.blueprint-export-choice small{color:var(--muted);font-size:11px}dialog.map-placement-dialog{scrollbar-gutter:stable;width:min(1040px,100vw - 32px);margin:0 auto;top:16px;bottom:auto}.map-placement-layout{grid-template-columns:minmax(0,1fr) 230px;align-items:start;gap:24px;display:grid}.map-placement-canvas{background:var(--surface-soft);border:1px solid var(--line);border-radius:8px;min-width:0;padding:10px}.map-placement-canvas svg{touch-action:none;-webkit-user-select:none;user-select:none;width:100%;max-height:65dvh;display:block;overflow:visible}.map-placement-canvas>p{text-align:center;color:var(--muted);margin-top:8px;font-size:11px;line-height:1.6}.map-observation-caption{display:block}.map-land{fill:var(--surface);stroke:var(--line-strong);stroke-width:.7px}.map-grid{color:var(--line-strong)}.map-centre{stroke:var(--gold);stroke-width:.35px;stroke-dasharray:2 2;opacity:.65;fill:none}.map-dimension{fill:var(--text-secondary);font-size:4px}.map-artwork{cursor:grab}.map-artwork:active{cursor:grabbing}.map-artwork-outline{fill:none;stroke:var(--gold);stroke-width:.8px;pointer-events:none}.map-artwork.invalid .map-artwork-outline{stroke:var(--danger)}.map-artwork-centre{fill:var(--surface);stroke:var(--gold);stroke-width:.6px;pointer-events:none}.map-rotation-line{stroke:var(--gold);stroke-width:.6px;pointer-events:none}.map-rotation-handle{fill:var(--gold);stroke:var(--surface);stroke-width:.8px;cursor:crosshair}.map-wall-footprint{fill:var(--gold)}.map-front-direction{pointer-events:none;color:var(--text)}.map-front-direction path{fill:none;stroke:currentColor;stroke-width:1.1px;stroke-linecap:round;stroke-linejoin:round}.map-front-direction text{fill:currentColor;paint-order:stroke;stroke:var(--surface-soft);stroke-width:1.5px;stroke-linejoin:round;font-size:6px;font-weight:700}.map-light-direction{pointer-events:none;color:var(--gold)}.map-light-direction circle,.map-light-direction path{fill:none;stroke:currentColor;stroke-width:1.1px;stroke-linecap:round;stroke-linejoin:round}.map-light-direction text{fill:var(--text);font-size:6px;font-weight:600}.map-artwork [role=button]:focus-visible{filter:drop-shadow(0 0 1px var(--gold));outline:none}.map-placement-controls{flex-direction:column;gap:12px;display:flex}.map-placement-controls label{color:var(--text-secondary);flex-direction:column;gap:5px;font-size:12px;display:flex}.map-orientation-controls{color:var(--text-secondary);flex-direction:column;grid-column:1/-1;gap:6px;font-size:12px;display:flex}.map-orientation-controls .segmented{width:100%}.map-orientation-controls .segmented button{flex:1;padding:8px 5px}.map-orientation-controls small{color:var(--muted);font-size:11px;line-height:1.6}.site-footer{align-items:center;gap:16px}.variant-balance-control{border-top:1px solid var(--line);margin-top:16px;padding-top:14px}.variant-balance-control .check-field{margin:0;font-size:12px}.variant-balance-details{margin-top:12px;font-size:11px}.variant-balance-details summary{cursor:pointer;color:var(--gold);flex-wrap:wrap;justify-content:space-between;gap:6px 16px;line-height:1.8;display:flex}.variant-balance-details summary>span{color:var(--muted);font-variant-numeric:tabular-nums}.variant-balance-table{border:1px solid var(--line);border-radius:6px;max-height:260px;margin-top:10px;overflow:auto}.variant-balance-table table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.variant-balance-table caption{text-align:left;color:var(--muted);padding:10px;font-size:10px}.variant-balance-table th,.variant-balance-table td{border-top:1px solid var(--line);text-align:right;padding:8px 12px;font-weight:400}.variant-balance-table th:first-child{text-align:left}.variant-balance-table thead th{color:var(--muted);background:var(--surface-soft)}.variant-balance-table tbody th i{border:1px solid var(--swatch-border);vertical-align:-1px;border-radius:2px;width:11px;height:11px;margin-right:7px;display:inline-block}.site-footer-meta{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px 20px;display:flex}.site-page-views{border:1px solid var(--accent-border);background:var(--surface);min-width:152px;box-shadow:0 3px 12px var(--shadow-faint);white-space:nowrap;border-radius:12px;flex-shrink:0;align-items:center;gap:11px;padding:10px 16px 10px 11px;display:inline-flex}.page-views-icon{background:var(--accent-soft);width:34px;height:34px;color:var(--gold);border-radius:9px;flex-shrink:0;place-items:center;display:grid}.page-views-copy{flex-direction:column;gap:3px;display:flex}.page-views-label{letter-spacing:1px;color:var(--text-secondary);font-size:10px;line-height:1.4}.page-views-total{align-items:baseline;gap:7px;line-height:1.2;display:flex}.page-views-total strong{letter-spacing:.3px;color:var(--gold);font-variant-numeric:tabular-nums;font-size:20px;font-weight:600}.page-views-total small{color:var(--muted);letter-spacing:0;font-size:9px;font-weight:400}@media (width<=700px){.site-footer{align-items:flex-start;gap:14px}.site-footer-meta{justify-content:flex-start;gap:12px 16px;width:100%}.site-page-views{min-width:145px}}.map-height-summary{color:var(--text-secondary);grid-column:1/-1;font-size:12px;line-height:1.7}.map-artwork-summary{color:var(--text-secondary);align-items:center;gap:10px;font-size:12px;line-height:1.7;display:flex}.map-artwork-summary img{object-fit:contain;width:64px;height:64px;image-rendering:pixelated;background:var(--surface-soft);border:1px solid var(--line);border-radius:4px}.map-turn-actions{gap:8px;display:flex}.map-turn-actions button{flex:1}.map-placement-error{color:var(--danger);margin-top:12px;font-size:13px;line-height:1.7}.blueprint-export-actions{justify-content:space-between;gap:12px;margin-top:20px;display:flex}.observation-controls{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;margin-top:8px;padding:16px}.observation-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.observation-heading>span{color:var(--muted);font-size:11px}.observation-collapse{opacity:0;grid-template-rows:0fr;transition:grid-template-rows .22s,opacity .22s;display:grid}.observation-collapse.is-expanded{opacity:1;grid-template-rows:1fr}.observation-collapse-inner{min-height:0;overflow:hidden}.observation-shooting{color:var(--text-secondary);margin-top:12px;font-size:11px;line-height:1.8}.observation-check{align-items:center;gap:8px;font-size:12px;flex-direction:row!important;display:flex!important}.observation-check input{flex:none}.observation-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:18px;display:grid}.observation-field-group{flex-direction:column;gap:10px;min-width:0;display:flex}.observation-field-group>strong{color:var(--text);font-size:12px}.observation-field-group label{color:var(--text-secondary);flex-direction:column;gap:5px;font-size:11px;display:flex}.observation-field-group input,.observation-field-group select,.observation-field-group button{font-size:12px}.observation-field-group button{align-self:flex-start}.observation-height-adjust{grid-template-columns:minmax(0,1fr) 145px;align-items:start;gap:14px;display:grid}.observation-height-range input{min-height:20px;margin:9px 0 0}.observation-height-range>span{color:var(--muted);justify-content:space-between;display:flex}.observation-height-range small{font-size:10px}.observation-height-presets{flex-wrap:wrap;gap:5px;display:flex}.observation-height-presets button{padding:5px 8px;font-size:11px}.observation-height-presets button[aria-pressed=true]{color:var(--gold);border-color:var(--gold)}.observation-pair{grid-template-columns:1fr 1fr;gap:10px;display:grid}.observation-fields .hint{margin-top:0}.observation-color-result{align-items:center;gap:9px;font-size:12px;display:flex}.observation-color-result>i{border:1px solid var(--line-strong);border-radius:5px;flex:none;width:30px;height:30px}.observation-color-result small{color:var(--muted);margin-top:4px;font-size:10px;line-height:1.6;display:block}.observation-comparison{grid-template-columns:1fr 1fr;gap:8px;display:grid}.observation-comparison figure{min-width:0;margin:0}.observation-comparison svg{border:1px solid var(--line);background:var(--surface);width:100%;display:block}.observation-comparison figcaption{text-align:center;color:var(--muted);margin-top:5px;font-size:10px}.observation-markers{color:var(--gold);border:1px solid var(--line);border-radius:6px;padding:10px 12px;font-size:12px;line-height:1.7}.observation-markers ol{margin:8px 0 0;padding-left:20px}.map-observation-footprint{stroke:var(--gold);stroke-width:.8px;stroke-dasharray:1.5 1;fill-opacity:.75;pointer-events:none}.map-observation [role=button]{cursor:move;outline:none}.map-observation [role=button] circle{fill:var(--surface);fill-opacity:.8;stroke:var(--gold);stroke-width:.8px}.map-observation [role=button] path{fill:none;stroke:var(--gold);stroke-width:1px;pointer-events:none}.map-observation [role=button]:focus circle{stroke-width:1.5px;stroke:var(--text)}.map-observation text{fill:var(--text);paint-order:stroke;stroke:var(--surface);stroke-width:1.1px;pointer-events:none;font-size:4px}@media (width<=760px){.observation-fields{grid-template-columns:1fr}.observation-field-group+.observation-field-group{border-top:1px solid var(--line);padding-top:14px}}@media (width<=700px){.blueprint-export-choices,.map-placement-layout{grid-template-columns:1fr}.map-placement-controls{grid-template-columns:1fr 1fr;display:grid}.map-artwork-summary,.map-placement-controls>.hint{grid-column:1/-1}.map-placement-canvas svg{max-height:52dvh}.blueprint-export-actions{flex-wrap:wrap}dialog.blueprint-export-dialog{padding:16px}}.site-sections{align-self:center;align-items:center;gap:12px;margin-left:clamp(24px,4vw,80px);margin-right:auto;display:flex}.site-sections a{border:1px solid var(--line);background:var(--surface-soft);min-height:44px;color:var(--text-secondary);letter-spacing:1px;white-space:nowrap;border-radius:12px;justify-content:center;align-items:center;gap:9px;padding:0 15px;font-size:13px;transition:background-color .2s,border-color .2s,color .2s,box-shadow .2s,transform .2s;display:inline-flex}.site-sections .section-icon{color:var(--gold);flex-shrink:0}.site-sections .section-arrow{opacity:.5;flex-shrink:0;transition:transform .2s,opacity .2s}.site-sections a[aria-current=page]{color:var(--gold);border-color:var(--accent-border);background:var(--accent-soft);box-shadow:inset 0 1px 0 var(--surface)}.site-sections a[aria-current=page] .section-arrow{opacity:1}@media (hover:hover){.site-sections a:hover{color:var(--gold);border-color:var(--accent-border);background:var(--accent-soft);box-shadow:0 4px 12px var(--shadow-soft);transform:translateY(-1px)}.site-sections a:hover .section-arrow{opacity:1;transform:translate(2px)}}.site-sections a:active{box-shadow:inset 0 1px 3px var(--shadow-medium);transform:translateY(0)scale(.97)}.site-sections a:focus-visible{outline:2px solid var(--gold);outline-offset:4px}@media (prefers-reduced-motion:reduce){.site-sections a,.site-sections .section-arrow{transition:none}.site-sections a:hover,.site-sections a:active,.site-sections a:hover .section-arrow{transform:none}}.gallery-return{color:var(--gold);border:1px solid var(--accent-border);border-radius:6px;align-items:center;gap:12px;padding:9px 13px;font-size:12px;display:inline-flex}.gallery-return:hover{background:var(--accent-soft)}html{scrollbar-gutter:stable}.gallery-page{max-width:1720px;min-height:calc(100vh - 210px);margin:auto;padding:52px 38px 70px}.gallery-intro{justify-content:space-between;align-items:center;gap:24px;margin-bottom:34px;display:flex}.gallery-intro h1{letter-spacing:6px;margin:12px 0;font-family:Noto Serif SC,Songti SC,SimSun,serif;font-size:36px;font-weight:500}.gallery-intro p{color:var(--muted);font-size:13px;line-height:1.9}.gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:24px;display:grid}.gallery-artwork{background:var(--surface);border:1px solid var(--line);min-width:0;box-shadow:0 6px 20px var(--shadow-soft);border-radius:12px;flex-direction:column;padding:12px;display:flex}.gallery-picture{aspect-ratio:1;background:var(--surface-soft);border:1px solid var(--line);border-radius:7px;justify-content:center;align-items:center;width:100%;min-width:0;padding:8px;display:flex;position:relative;overflow:hidden}.gallery-picture img{object-fit:contain;width:100%;height:100%;image-rendering:pixelated;display:block}.gallery-picture-action{color:#fff;background:#131e30d9;border:1px solid #fff5;border-radius:6px;place-items:center;width:28px;height:28px;font-size:14px;display:grid;position:absolute;bottom:10px;right:10px}.gallery-palette-tag{border:1px solid var(--line);background:var(--surface);color:var(--text-secondary);box-shadow:0 2px 6px var(--shadow-soft);pointer-events:none;border-radius:20px;padding:4px 9px;font-size:11px;line-height:1.5;position:absolute;top:10px;left:10px}.gallery-palette-tag.is-lighting{color:var(--gold);border-color:var(--accent-border)}.gallery-artwork-copy{padding:16px 4px 6px}.gallery-artwork-copy h2{letter-spacing:2px;overflow-wrap:anywhere;margin:0 0 7px;font-family:Noto Serif SC,Songti SC,SimSun,serif;font-size:21px;font-weight:500}.gallery-credit{justify-content:space-between;align-items:center;gap:8px;min-height:24px;display:flex}.gallery-artist{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--muted);font-size:11px;line-height:1.7;overflow:hidden}.gallery-upright-tag{white-space:nowrap;border:1px solid color-mix(in srgb,var(--success) 30%,transparent);background:color-mix(in srgb,var(--success) 8%,var(--surface));color:var(--success);border-radius:20px;flex-shrink:0;align-items:center;padding:3px 9px;font-size:10px;line-height:1.6;display:inline-flex}.gallery-facts{border-top:1px solid var(--line);grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:16px 10px;margin:16px 0 0;padding-top:16px;display:grid}.gallery-facts dt{color:var(--muted);margin-bottom:7px;font-size:10px}.gallery-facts dd{font-variant-numeric:tabular-nums;margin:0;font-size:15px;line-height:1.6}.gallery-facts small{color:var(--muted);margin-left:4px;font-size:10px}@media (width<=960px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}@media (width<=540px){.gallery-grid{grid-template-columns:1fr}}@media (width<=1200px){.site-header{flex-wrap:wrap;gap:12px;height:auto;min-height:82px;padding-top:14px;padding-bottom:14px}.site-sections{align-self:auto;height:44px;margin-left:12px}.site-sections a{height:100%}.header-nav{flex-wrap:wrap}}@media (width<=760px){.gallery-page{padding:30px 18px 45px}.gallery-intro{gap:14px;margin-bottom:24px}.gallery-intro h1{font-size:29px}.gallery-intro>.gallery-return{display:none}.site-sections{margin-left:0}.site-sections a{padding:0 13px;font-size:13px}}.shortcut-dialog{width:560px;margin:auto}.shortcut-dialog::backdrop{background:var(--backdrop);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.shortcut-table{border-collapse:collapse;width:100%;margin-top:16px;font-size:12px}.shortcut-table th,.shortcut-table td{text-align:left;border-bottom:1px solid var(--line);padding:10px 8px;line-height:1.7}.shortcut-table th{color:var(--muted);font-weight:500}.shortcut-table kbd{color:var(--gold);font-family:inherit}.shortcut-dialog-actions{justify-content:flex-end;margin-top:18px;display:flex}.update-dialog{overscroll-behavior:contain;width:min(540px,100vw - 32px);max-height:calc(100dvh - 32px);margin:auto;position:fixed;inset:0}.update-dialog::backdrop{background:var(--backdrop);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.update-list{margin:12px 0 0;padding-left:24px}.update-list li{padding-left:6px}.update-list li+li{border-top:1px solid var(--line);margin-top:20px;padding-top:18px}.update-list li::marker{color:var(--gold);font-weight:600}.update-list h3{margin:0 0 8px;font-size:15px}.update-list p{color:var(--text-secondary);margin:0;font-size:13px;line-height:1.9}.update-dialog-actions{justify-content:space-between;align-items:center;gap:16px;margin-top:24px;display:flex}.update-author{color:var(--muted);font-size:12px}.site-footer-brand{flex-direction:column;gap:6px;display:flex}.announcement-entry{color:var(--gold);border:0;padding:4px 0;font-size:11px}.update-history{border-top:1px solid var(--line);margin-top:24px;padding-top:18px}.update-history>h3{color:var(--muted);margin-bottom:10px;font-size:12px;font-weight:500}.update-history details+details{margin-top:12px}.update-history summary{cursor:pointer;color:var(--text-secondary);font-size:12px;line-height:1.8}.update-history summary span{color:var(--gold);margin-right:8px}.update-history .update-author{text-align:right;margin-top:12px}.wallpaper-palette{margin-top:12px}.wallpaper-palette .family-tabs{flex-wrap:wrap;gap:5px;margin-bottom:12px}.wallpaper-grid{grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px;padding:3px;display:grid}.wallpaper-grid button{border:1px solid var(--line,#d6d0c6);text-align:center;border-radius:10px;flex-direction:column;align-items:center;gap:5px;padding:8px;display:flex}.wallpaper-grid button.active{outline:2px solid var(--accent,#ad874d);outline-offset:0}.wallpaper-grid img{aspect-ratio:1;object-fit:cover;border-radius:4px;width:100%}.wallpaper-grid strong{font-size:12px;line-height:1.5}.wallpaper-grid small{opacity:.65;font-size:11px}.category-usage{flex-wrap:wrap;gap:8px 24px;padding:10px 0;font-size:13px;display:flex}.category-usage .over{color:#b74632}.wallpaper-scale{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:12px 0;padding:12px 0}.wallpaper-scale-heading{color:var(--text-secondary);justify-content:space-between;align-items:center;margin-bottom:8px;font-size:12px;display:flex}.wallpaper-scale-heading strong{font-weight:500}.wallpaper-scale-heading span{color:var(--muted);font-size:11px}.wallpaper-scale-options{flex-wrap:wrap;gap:4px;display:flex}.wallpaper-scale-options button{font-variant-numeric:tabular-nums;border-radius:5px;min-width:38px;min-height:28px;padding:4px 7px;font-size:11px;line-height:18px}.wallpaper-scale-options button[aria-pressed=true]{color:var(--gold);background:var(--accent-soft);border-color:var(--accent-border);font-weight:500}.wallpaper-scale-detail{color:var(--text-secondary);font-variant-numeric:tabular-nums;margin-top:8px;font-size:11px;line-height:1.6}.wallpaper-scale-hint{color:var(--muted);margin-top:3px;font-size:10px;line-height:1.6}.editor-layers-panel{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:14px 0;padding:14px 0}.editor-layers-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.editor-layers-heading strong{font-size:13px}.editor-layers-heading small,.editor-layers-heading>span{color:var(--text-secondary);font-size:10px;font-weight:400}.editor-layers-enable{border:1px solid var(--line);background:var(--surface-soft);text-align:left;border-radius:10px;justify-content:flex-start;gap:12px;width:100%;padding:13px 14px;transition:background .18s,border-color .18s,box-shadow .18s,transform .18s;display:flex}.editor-layers-enable:hover:not(:disabled){background:var(--accent-soft);border-color:var(--accent-border);box-shadow:0 3px 10px var(--shadow-soft)}.editor-layers-enable:active:not(:disabled){box-shadow:none;transform:translateY(1px)}.editor-layers-illustration{border:1px solid var(--accent-border);background:var(--surface);width:44px;height:44px;color:var(--gold);border-radius:10px;flex:0 0 44px;place-items:center;display:grid}.editor-layers-illustration path{transition:transform .2s}.editor-layers-front{fill:var(--accent-soft)}.editor-layers-enable:is(:hover,:focus-visible):not(:disabled) .editor-layers-front{transform:translateY(-2px)}.editor-layers-enable:is(:hover,:focus-visible):not(:disabled) .editor-layers-back{transform:translateY(2px)}.editor-layers-intro-copy{flex:1;gap:5px;min-width:0;display:grid}.editor-layers-intro-copy strong{font-size:13px;font-weight:600;line-height:1.4}.editor-layers-intro-copy>span{color:var(--text-secondary);font-size:11px;line-height:1.6}.editor-layers-enable-action{color:var(--gold);white-space:nowrap;flex-shrink:0;align-items:center;gap:5px;font-size:11px;display:inline-flex}.editor-layers-enable-action svg{transition:transform .18s}.editor-layers-enable:is(:hover,:focus-visible):not(:disabled) .editor-layers-enable-action svg{transform:translate(2px)}.editor-layers-intro-hint{color:var(--muted);margin:8px 2px 0;font-size:10px;line-height:1.7}.editor-layers-controls{animation:.2s ease-out editor-layers-reveal}@keyframes editor-layers-reveal{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.editor-layers-enable,.editor-layers-illustration path,.editor-layers-enable-action svg{transition:none}.editor-layers-controls{animation:none}.editor-layers-enable:active:not(:disabled){transform:none}}.editor-layer-actions{flex-wrap:wrap;gap:6px;margin-bottom:10px;display:flex}.editor-layer-actions button{padding:6px 9px;font-size:11px}.editor-layer-list{gap:5px;max-height:300px;display:grid;overflow:auto}.editor-layer-row{border:1px solid var(--line);background:var(--surface-soft);border-radius:6px;align-items:center;gap:4px;padding:5px;display:flex}.editor-layer-row.selected{border-color:var(--accent-border);background:var(--accent-soft)}.editor-layer-row .editor-layer-drag{color:var(--text-secondary);background:0 0;border:0;flex:0 0 16px;justify-content:center;align-items:center;padding:2px;display:flex}.editor-layer-row button[data-reorder-handle=true]{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.editor-layer-row.dragging button[data-reorder-handle=true]{cursor:grabbing}.list-drag-preview{z-index:10000;opacity:.85;filter:drop-shadow(0 4px 8px #0002);max-height:none;margin:0;padding:0;position:fixed;top:0;left:0;overflow:visible;pointer-events:none!important}.list-drag-preview *{pointer-events:none!important}.editor-layer-row .editor-layer-delete{color:var(--text-secondary);background:0 0;border:0;flex-shrink:0;padding:4px;font-size:18px;line-height:1}.editor-layer-row>button{min-height:30px;padding:5px;font-size:10px}.editor-layer-row .editor-layer-select{text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:8px;min-width:0;display:flex}.editor-layer-row .editor-layer-icon{flex:0 0 30px;justify-content:center;align-items:center;width:30px;height:30px;padding:6px;display:inline-flex}.editor-layer-icon svg{flex-shrink:0}.editor-layer-select small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.editor-layer-select>span:last-child{min-width:0}.editor-layer-select strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.editor-layer-select small{color:var(--text-secondary);margin-top:3px;font-size:10px;display:block}.editor-layer-swatch{border:1px solid var(--line);border-radius:4px;flex-shrink:0;width:22px;height:22px}.editor-layer-settings{gap:8px;margin:12px 0;display:grid}.editor-layer-settings label{color:var(--text-secondary);gap:4px;font-size:11px;display:grid}.editor-layer-settings input{box-sizing:border-box;width:100%;min-width:0}.editor-layer-settings>button{justify-self:start;font-size:11px}.editor-layer-saving{color:var(--text-secondary);margin:8px 0;font-size:11px}.editor-layer-settings input[type=text],.editor-layer-settings input:not([type]){border:1px solid var(--line);background:var(--surface-soft);min-height:36px;color:var(--text-primary);border-radius:6px;padding:8px 10px}
