.customize-page{--custom-ink:#20382e;--custom-line:#d5dfd6;color:#20382e}
.customize-page .customize-heading{padding-block:32px 24px}
.customize-heading h1{font-size:clamp(2.2rem,4vw,3.7rem);line-height:1.08;margin:0 0 12px}
.customize-heading p{margin:0;max-width:65ch;line-height:1.55}
.customize-tabs{display:flex;gap:28px;border-bottom:1px solid var(--custom-line);margin-bottom:28px}
.customize-tabs button{padding:14px 0;background:none;border:0;border-bottom:3px solid transparent;color:#56625a;font:inherit;font-weight:550;cursor:pointer}
.customize-tabs button[aria-selected=true]{border-bottom-color:#285644;color:#20382e}
.customize-workspace{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr);gap:44px;align-items:start}
.customize-stage{background:#f0f3ef;position:relative;min-width:0}
.customize-stage canvas{display:block;width:100%;height:auto;aspect-ratio:4/5;touch-action:pan-y}
.customize-stage canvas.is-editable{touch-action:none;cursor:crosshair}
.customize-stage .stage-empty{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:10px;text-align:center;padding:24px;pointer-events:none;color:#69756d}
.stage-empty strong{font-family:var(--font-display,serif);font-size:1.75rem;font-weight:450}
.customize-page [hidden]{display:none!important}
.customize-tools{min-width:0}
.customize-tools h2,.customize-form h2{font-family:inherit;font-size:1.25rem;font-weight:550;line-height:1.3;margin:0 0 18px}
.customize-page .field{display:block;margin-bottom:18px}
.customize-page label>span:first-child{display:block;font-size:.875rem;font-weight:550;margin-bottom:7px}
.customize-page input:not([type=range]):not([type=checkbox]),.customize-page select,.customize-page textarea{width:100%;min-height:44px;border:1px solid #b8c6bb;border-radius:3px;background:#fff;color:#20382e;padding:10px 12px;font:inherit;font-size:.9375rem}
.customize-page input[type=file]{padding:12px!important;background:#f3f6f2!important}
.customize-page input[type=range]{width:100%;accent-color:#285644;min-height:30px}
.customize-page input:focus-visible,.customize-page textarea:focus-visible,.customize-page select:focus-visible,.customize-page button:focus-visible,.customize-page a:focus-visible{outline:3px solid #628d70;outline-offset:3px}
.customize-page .customize-hint{font-size:.8125rem;color:#657268;line-height:1.5;margin:7px 0 16px}
.customize-tools .customize-controls{border-top:1px solid var(--custom-line);padding-top:20px;margin-top:20px}
.customize-page .control-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
.customize-page label>.control-label{display:flex;justify-content:space-between;gap:8px;font-size:.8125rem}
.customize-page .control-label output{font-variant-numeric:tabular-nums;font-weight:400}
.customize-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:20px}
.customize-page .btn{min-height:44px;border-radius:4px;font-size:.875rem;box-shadow:none;transform:none;cursor:pointer}
.customize-page .btn-primary{background:#285644;color:#fff;border:1px solid #285644}
.customize-page .btn-secondary{background:#fff;color:#285644;border:1px solid #a6b9a9}
.customize-page button:disabled{opacity:.48;cursor:not-allowed}
.customize-page .customize-status{font-size:.875rem;line-height:1.5;min-height:1.5em;margin:14px 0;color:#395947}
.customize-page .customize-status:empty{display:none}
.customize-page .customize-status[data-error=true]{color:#a02b25}
.customize-page .customize-notes{list-style:none;padding:0;margin:16px 0}
.customize-notes li{margin:0 0 12px;display:grid;grid-template-columns:24px minmax(0,1fr) 32px;gap:8px;align-items:start}
.customize-notes .note-number{padding-top:10px;font-size:.875rem;font-weight:650}
.customize-notes button{min-height:42px;background:none;border:0;color:#77504b;font-size:1.35rem;cursor:pointer}
.customize-page .customize-form{border-top:1px solid var(--custom-line);padding-block:28px 48px;margin-top:36px;max-width:900px}
.customize-form .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}
.customize-form textarea{min-height:88px;resize:vertical}
.customize-form .form-wide{grid-column:1/-1}
.customize-page .customize-summary{padding:12px 16px;background:#eef3ec;font-size:.875rem;line-height:1.6;margin-bottom:24px}
.customize-page .customize-result{padding:18px;background:#eef3ec;line-height:1.6;margin-top:18px}
.customize-result p{margin:0 0 10px}
.customize-page .customize-review{width:min(900px,calc(100% - 32px));max-height:90vh;max-height:90svh;overflow:auto;padding:26px;border:1px solid #c4d2c6;border-radius:5px;background:#fff;color:#20382e}
.customize-review::backdrop{background:rgba(20,35,27,.55)}
.customize-review h2{font:550 1.4rem/1.3 var(--font-body,Arial,sans-serif);margin:0 0 8px}
.customize-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start;margin-top:20px}
.customize-review-grid>img{display:block;max-width:100%;width:100%;height:auto;background:#f0f3ef}
.customize-review-summary{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px 14px;margin:0;font-size:.875rem;line-height:1.5}
.customize-review-summary dt{font-weight:550;color:#52665a}
.customize-review-summary dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.customize-result h3{font-family:inherit;font-size:1.25rem;margin:0 0 10px}
.customize-result .customize-review-summary{margin-top:18px}
.customize-page [data-placement-buttons]{gap:8px;margin:0 0 18px}
.customize-page [data-placement][aria-pressed=true]{background:#e4eee3;border-color:#285644}
@media(max-width:600px){.customize-review-grid{grid-template-columns:1fr}.customize-review-grid>img{max-height:340px;width:100%;object-fit:contain}.customize-page .customize-review{padding:20px}.customize-review-summary{grid-template-columns:80px minmax(0,1fr)}.customize-review .customize-actions{gap:8px}}
.customize-entry{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
@media(max-width:900px){.customize-workspace{grid-template-columns:minmax(0,1.15fr) minmax(270px,1fr);gap:24px}}
@media(max-width:700px){.customize-workspace{display:flex;flex-direction:column-reverse;gap:20px}.customize-tools,.customize-preview{width:100%}.customize-stage{max-height:none}.customize-tabs{gap:24px;margin-bottom:22px}.customize-tabs button{font-size:.9375rem}.customize-form .form-grid{grid-template-columns:1fr}.customize-form .form-wide{grid-column:auto}.customize-page .customize-form{margin-top:24px;padding-bottom:28px}.customize-heading p{font-size:.9375rem}}
