:root{--bg:#f3f2ed;--paper:#fff;--ink:#242b2c;--muted:#717874;--line:#e1e3da;--accent:#bb352d;--green:#154840;--shadow:0 6px 24px #25362906;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{outline-offset:4px}button{cursor:pointer}button{transition:background .15s,border-color .15s,color .15s}button:disabled{opacity:.35;cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #236e83}a{color:inherit;text-decoration:none}input[type=checkbox]{accent-color:var(--green);width:14px;height:14px}input[type=range]{accent-color:var(--green);width:100%;height:18px;cursor:pointer}input[type=number]{width:75px;text-align:right;background:#fafaf7;border:1px solid var(--line);border-radius:5px;padding:5px 7px;font-size:12px;font-variant-numeric:tabular-nums}select{border:1px solid var(--line);background:#fff;border-radius:5px;padding:7px 8px;font-size:11px;color:var(--ink)}
.topbar{height:82px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 4.2%;background:#f9f9f5}.brand{display:flex;align-items:center;gap:12px;font-size:17px;font-weight:650;letter-spacing:-.5px}.monogram{height:38px;width:36px;border-radius:6px;background:var(--accent);color:white;font-family:Georgia,serif;font-size:32px;font-style:italic;text-align:center;line-height:39px}.brand small{display:block;font-size:8px;font-weight:550;letter-spacing:2px;margin-top:5px;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:14px}.save-status{font-size:11px;color:var(--muted);margin-right:15px}.save-status:before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:#59826a;margin-right:7px}.quiet,.icon-button{border:0;background:transparent;color:#575f5b;font-size:12px;padding:7px 8px;border-radius:5px}.quiet:hover,.icon-button:hover{background:#e9ece5;color:var(--ink)}.small{font-size:11px}.icon-button{font-size:21px;padding:2px 9px}.eyebrow{font-size:9px;font-weight:650;letter-spacing:1.6px;margin:0 0 10px;color:var(--muted)}main{max-width:1660px;margin:auto;padding:38px 4.2% 0}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}h1{font:400 35px/1.15 Georgia,"Times New Roman",serif;letter-spacing:-1.1px;margin:0}.intro-copy{color:var(--muted);font-size:12px;margin:12px 0 0}.intro-note{display:flex;gap:15px;color:var(--muted);font-size:11px;line-height:1.65}.tiny-rule{width:25px;height:1px;background:#a4aba1;margin-top:8px}.workshop{display:grid;grid-template-columns:minmax(0,1fr) 325px;gap:24px;align-items:start}.workspace{min-width:0}.canvas-toolbar{height:56px;background:var(--paper);border:1px solid var(--line);border-bottom:0;border-radius:9px 9px 0 0;display:flex;justify-content:space-between;align-items:center;padding:0 16px}.edition-tabs{display:flex;gap:5px}.edition-tabs button{border:1px solid transparent;border-radius:5px;background:transparent;font-size:12px;color:#68716b;padding:7px 13px}.edition-tabs button[aria-selected=true]{border-color:#d6ddd2;background:#f1f5ee;color:var(--ink)}.dot{width:7px;height:7px;display:inline-block;border-radius:50%;margin-right:8px}.dot.green{background:#154840}.dot.blue{background:#006dbf}.tools{display:flex;align-items:center;gap:6px}.divider{height:18px;border-left:1px solid var(--line);margin:0 7px}.guide-label{display:flex;align-items:center;gap:4px;color:#5a635d;font-size:11px}.stage-shell{background:#fafbf8;border:1px solid var(--line);position:relative;padding:17px}.stage-caption,.stage-bottom{display:flex;justify-content:space-between;align-items:center;color:#92998f;font-size:9px;letter-spacing:.8px}.stage-caption>span:first-child{display:flex;align-items:center;gap:6px}.live-dot{width:4px;height:4px;background:#869d83;border-radius:100%}.stage{position:relative;margin:15px 0;min-height:350px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #e7e9e2;border-radius:3px;touch-action:none;outline-offset:-3px}.stage.paper,.swatch.paper{background:#fff}.stage.dark,.swatch.dark{background:#242b2c}.stage.checker,.swatch.checker{background-color:white;background-image:linear-gradient(45deg,#ecede8 25%,transparent 25%),linear-gradient(-45deg,#ecede8 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ecede8 75%),linear-gradient(-45deg,transparent 75%,#ecede8 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.stage svg{width:100%;height:100%;position:absolute;inset:0;padding:25px;overflow:visible}.stage [data-part]{cursor:grab}.stage.dragging [data-part]{cursor:grabbing}.selection{fill:none;stroke:#bd6d35;stroke-width:1;vector-effect:non-scaling-stroke;stroke-dasharray:5 4;pointer-events:none}.selection-dot{fill:#bd6d35;pointer-events:none}.stage-bottom{font-size:10px;letter-spacing:0;min-height:22px}.swatches{display:flex;gap:7px}.swatch{width:17px;height:17px;border:1px solid #c7cec1;border-radius:50%;padding:0}.swatch.active{outline:1px solid #687561;outline-offset:2px}.canvas-footer{display:flex;justify-content:space-between;gap:10px;padding:13px 17px;font-size:9px;color:var(--muted);border:1px solid var(--line);border-top:0;background:#fff;border-radius:0 0 9px 9px}.canvas-footer b{font:9px ui-monospace,monospace;color:#566b58;border:1px solid #d9dfd3;padding:2px 4px;border-radius:3px;margin-right:7px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:27px 0 13px}.section-heading .eyebrow{font-size:8px;margin-bottom:5px}h2{font-size:14px;font-weight:600;letter-spacing:-.25px;margin:0}.reference-card{background:#e9ece3;border:1px solid #dce1d5;border-radius:7px;display:grid;grid-template-columns:1fr 190px;gap:30px;align-items:center;padding:25px 23px}.reference-card img{width:100%;max-height:126px;object-fit:contain;object-position:left}.reference-copy{color:#6d7768;font-size:10px;line-height:1.7}.reference-copy p{margin:9px 0}.reference-copy a{color:#43604a;text-decoration:underline;text-underline-offset:3px}.tag{font:8px ui-monospace,monospace;letter-spacing:1px;color:#6c7b61}.inspector{background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden;box-shadow:var(--shadow)}.inspector-header{padding:19px 18px 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.inspector-header .eyebrow{font-size:8px;margin-bottom:7px}.inspector-scroll{max-height:675px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d7ddd1 transparent}.layer-list{display:grid;gap:5px;padding:13px}.layer{display:flex;align-items:center;gap:10px;width:100%;padding:9px 11px;text-align:left;border:1px solid transparent;background:#fff;border-radius:5px;font-size:11px;color:var(--ink)}.layer:hover{background:#f7f8f4}.layer.active{background:#eff3eb;border-color:#d8e0d1}.layer small{display:block;font-size:9px;margin-top:3px;color:#92998c}.layer-swatch{height:30px;width:30px;display:grid;place-content:center;border:1px solid #e5e8de;border-radius:4px;font-family:Georgia,serif;background:white;font-size:22px;font-weight:bold}.layer-swatch.red{color:#d5241d;font-style:italic;font-size:19px}.layer-swatch.serif{color:var(--green)}.layer-arrow{margin-left:auto;font-size:13px;color:#89977d}.control-section{padding:16px 19px;border-top:1px solid var(--line)}h3{font-size:11px;font-weight:600;margin:0 0 15px}.control-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.control-heading h3{margin:0}.slider-control{margin:0 0 12px}.slider-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:3px;font-size:10px;color:#687165}.slider-top label{cursor:pointer}.number-wrap{display:flex;align-items:center;gap:4px;font-size:9px;color:#939b8c}.number-wrap input{width:62px}.hint{font-size:9px;line-height:1.6;color:#8b9484;margin:10px 0 0}.select-row,.color-row{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#677160;gap:10px;margin-bottom:14px}.color-fields{display:flex;align-items:center;gap:5px}.color-fields input[type=color]{padding:0;border:0;width:24px;height:25px;cursor:pointer;background:none}.color-fields input[type=text]{width:73px;font:10px ui-monospace,monospace;padding:6px;border:1px solid var(--line);border-radius:4px;color:#697661}details{border-top:1px dashed var(--line);padding-top:13px}summary{font-size:10px;color:#64705b;cursor:pointer}summary span{font-size:7px;letter-spacing:1px;float:right;color:#9aa392;margin-top:2px}details[open] .hint{margin-bottom:16px}.check-row{font-size:10px;display:flex;align-items:center;gap:7px;color:#67715f;margin-top:10px}.control-section .hint+.select-row{margin-top:15px;margin-bottom:0}.secondary{padding:9px 10px;border:1px solid #d9dfd2;border-radius:5px;background:white;color:#5c6953;font-size:10px}.secondary:hover{background:#f2f5ee;border-color:#aebba3}.full{width:100%}.export-panel{padding:16px 17px 11px;background:#f8faf5;border-top:1px solid var(--line)}.primary{width:100%;background:#254938;color:#fff;border:1px solid #254938;border-radius:5px;padding:12px 15px;text-align:left;display:flex;align-items:center;justify-content:space-between;font-size:11px}.primary:hover{background:#183b2a}.primary span{font-size:17px}.export-secondary{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}.export-panel p{font-size:8px;color:#94a087;text-align:center;margin:10px 0 0}.page-footer{border-top:1px solid var(--line);padding:21px 0;margin-top:32px;display:flex;justify-content:space-between;color:#8d9485;font-size:10px}.page-footer a{color:#64745b}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,15px);background:#253c2f;color:white;padding:12px 20px;border-radius:7px;font-size:12px;box-shadow:0 8px 35px #18352c22;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:10}#toast.visible{opacity:1;transform:translate(-50%,0)}[hidden]{display:none!important}
@media(min-width:1450px){.stage{min-height:440px}.inspector-scroll{max-height:750px}}
@media(max-width:1050px){.workshop{grid-template-columns:minmax(0,1fr) 295px;gap:15px}main{padding:25px 25px 0}.topbar{padding:0 25px}.reference-card{grid-template-columns:1fr;gap:10px;padding:20px}.reference-copy{max-width:360px}.tools{gap:0}.canvas-toolbar{padding:0 9px}.guide-label{font-size:10px}.canvas-footer>span:last-child{display:none}.intro-note{display:none}.stage{min-height:320px}.stage svg{padding:15px}.stage-bottom>span{font-size:8px}}
@media(max-width:760px){.topbar{height:68px;padding:0 18px}.brand{font-size:14px}.brand small{font-size:6px}.monogram{width:30px;height:33px;line-height:34px;font-size:27px}.save-status{display:none}.top-actions{gap:0}.top-actions .quiet{font-size:10px;padding:6px}main{padding:27px 16px 0}h1{font-size:29px}.intro{margin-bottom:23px}.workshop{grid-template-columns:1fr}.inspector-scroll{max-height:none}.inspector{margin-top:8px}.stage{min-height:260px}.reference-card{grid-template-columns:1fr 160px;gap:15px}.reference-copy{font-size:9px}.reference-card img{max-height:90px}.page-footer{font-size:8px;gap:20px}.tools .small{display:none}.canvas-footer{font-size:8px}.canvas-toolbar{height:52px}.stage-shell{padding:12px}.layer-list{grid-template-columns:repeat(3,1fr);gap:4px;padding:10px}.layer{gap:6px;padding:8px 5px;font-size:9px}.layer small,.layer-arrow{display:none}.layer-swatch{width:24px;height:24px;font-size:17px}.control-section{padding:18px}.intro-copy{font-size:11px}.stage svg{padding:13px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.preset-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.preset-card{display:block;text-align:left;border:1px solid var(--line);border-radius:7px;background:#fff;padding:15px;min-width:0;color:var(--ink)}.preset-card:hover{border-color:#82977a;background:#fafcf8}.preset-card-top{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:600;gap:8px}.preset-card-top small{font-size:7px;letter-spacing:.8px;color:#4e7051;background:#ecf3e7;padding:4px 5px;border-radius:3px}.preset-preview{display:block;position:relative;width:100%;min-width:0;height:120px;margin:10px 0}.preset-preview svg{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%}.preset-description{display:block;color:var(--muted);font-size:10px;line-height:1.5}.preset-note{font-size:10px;color:var(--muted)}
@media(max-width:760px){.preset-card{padding:10px}.preset-preview{height:78px;margin:10px 0}.preset-card-top{font-size:10px;flex-wrap:wrap;gap:4px}.preset-description{font-size:9px}.preset-note{font-size:8px}}
.exploration-section{margin-top:36px}.exploration-section .section-heading{gap:16px;flex-wrap:wrap}.exploration-section label{font-size:12px}.batch-editor{margin:18px 0;padding:16px;border:1px solid #dce1d9;border-radius:8px;background:white}.batch-editor textarea{width:100%;box-sizing:border-box;font:12px/1.6 monospace;border:1px solid #dce1d9;padding:12px;border-radius:6px;resize:vertical}.batch-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}#batch-status{font-size:12px}#exploration-grid .preset-preview{height:150px}@media(max-width:600px){#exploration-grid{grid-template-columns:1fr}#exploration-grid .preset-preview{height:130px}}
[data-layer="noun"][hidden]{display:none}
html{scrollbar-gutter:stable}
main{max-width:none;padding:30px clamp(16px,2.5vw,56px) 0}
.topbar{padding-inline:clamp(16px,2.5vw,56px)}
.exploration-section{margin-top:48px}
.gallery-controls{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.gallery-controls label{display:flex;align-items:center;gap:8px;white-space:nowrap}
#exploration-grid{--gallery-columns:3;grid-template-columns:repeat(auto-fit,minmax(min(100%,max(560px,calc((100% - (var(--gallery-columns) - 1)*22px)/var(--gallery-columns)))),1fr));gap:22px}
#exploration-grid .preset-card{padding:22px;border-radius:12px}
#exploration-grid .preset-card-top{font-size:13px}
#exploration-grid .preset-preview{height:auto;aspect-ratio:3.25/1;margin:16px 0 4px;min-height:140px}
#exploration-grid .preset-preview svg{display:block}
@media(max-width:760px){
  .topbar{height:auto;min-height:68px;flex-wrap:wrap;gap:12px;padding-block:12px}
  .top-actions{flex-wrap:wrap}.gallery-controls{gap:12px}.gallery-controls label{font-size:11px}
  #exploration-grid{gap:16px}#exploration-grid .preset-card{padding:16px}
  #exploration-grid .preset-preview{min-height:110px}
}

.edition-switch{position:relative;cursor:pointer}
.edition-switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.edition-switch-track{position:relative;display:grid;grid-template-columns:1fr 1fr;width:150px;padding:4px;border:1px solid var(--line);border-radius:24px;background:#e8ede7;isolation:isolate}
.edition-switch-track::before{content:"";position:absolute;left:4px;top:4px;bottom:4px;width:calc(50% - 4px);border-radius:20px;background:#154840;transition:transform .18s ease,background .18s ease;z-index:-1}
.edition-switch-track span{text-align:center;padding:7px 8px;font-size:12px;color:#59675f;transition:color .18s ease}
.edition-switch input:not(:checked)+.edition-switch-track span:first-child,.edition-switch input:checked+.edition-switch-track span:last-child{color:white}
.edition-switch input:checked+.edition-switch-track::before{transform:translateX(100%);background:#006dbf}
.edition-switch input:focus-visible+.edition-switch-track{outline:2px solid var(--ink);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.edition-switch-track::before,.edition-switch-track span{transition:none}}

.gallery-layout-control{display:flex;align-items:center;gap:8px;font-size:12px}
.column-buttons{display:flex;padding:3px;border:1px solid var(--line);border-radius:7px;background:#e8ede7}
.column-buttons button{min-width:36px;padding:7px 10px;border:0;border-radius:4px;background:transparent;color:#59675f;font-size:12px;cursor:pointer}
.column-buttons button[aria-pressed=true]{background:#254938;color:white}
.column-buttons button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}

.based-on{padding:12px 16px;margin-bottom:12px;background:#e8eee5;border:1px solid #bbcbb4;border-radius:8px;font-size:13px;font-weight:600;color:#254938}
#exploration-grid .selected-candidate{border-color:#254938;box-shadow:0 0 0 2px #254938;background:#f1f6ee}
#exploration-grid .selected-candidate .preset-card-top::after{content:"EDITING";font-size:10px;letter-spacing:.08em;color:#254938;margin-left:12px}

.preset-card-top{overflow-wrap:anywhere;min-width:0}
.gallery-controls{min-width:0;max-width:100%}
.gallery-controls select{min-width:0;max-width:100%}
@media(max-width:480px){
  .preset-grid{grid-template-columns:minmax(0,1fr)}
  .reference-card{grid-template-columns:minmax(0,1fr)}
  .gallery-controls label{flex-wrap:wrap;white-space:normal}
  .canvas-toolbar{height:auto;min-height:52px;flex-wrap:wrap;gap:8px;padding-block:8px}
  .stage-bottom{gap:8px;flex-wrap:wrap}
  .layer-list{grid-template-columns:minmax(0,1fr)}
  .select-row{flex-wrap:wrap}.select-row select{max-width:100%}
}
