:root{font-family:ui-sans-serif,system-ui,sans-serif;color:#183e34;background:#f5f4ed;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;justify-content:space-between;padding:24px 5%;border-bottom:1px solid #d5dcd1;font-size:12px;letter-spacing:.08em}header a{font-size:24px;letter-spacing:-1px;color:inherit;text-decoration:none}.tag{background:#e3ebdf;padding:8px 12px;border-radius:30px}main{max-width:1150px;margin:0 auto;padding:28px 32px}h1{font-size:32px;line-height:1.1;letter-spacing:-.5px;margin:8px 0 12px}h2{font-size:22px;margin:0}.intro{margin-bottom:24px}.intro>p:last-child{color:#617166}.eyebrow,.section-title>span{font-size:11px;letter-spacing:.12em;font-weight:650}.workspace{display:grid;grid-template-columns:1fr 1fr;gap:40px;background:white;border:1px solid #dce2d6;border-radius:22px;padding:30px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px}.section-title>span{color:#788679}label{display:block;font-size:12px;font-weight:650;margin-bottom:16px}input,select,button,.file-button{font:inherit;border:1px solid #ced8ce;border-radius:9px;padding:12px;color:inherit;background:#fafbf8}input,select{width:100%;margin-top:7px}input:focus,select:focus,button:focus-visible{outline:3px solid #d8a36d;outline-offset:2px}button,.file-button{cursor:pointer;font-size:12px;font-weight:650;text-align:center}.file-button{position:relative;margin:0}.file-button input{position:absolute;inset:0;opacity:0;cursor:pointer;margin:0}.pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}.colors input{height:46px;padding:4px}.primary{margin-top:18px;width:100%;background:#204e3e;color:white;border:none;padding:16px}.primary:hover{background:#326852}button:disabled{opacity:.5;cursor:wait}.subtle,#status{font-size:12px;line-height:1.6;color:#66766a}#flight{margin-top:-7px}.preview-panel{border-radius:14px;background:#eef1e7;padding:24px;display:flex;flex-direction:column;justify-content:space-between}figure{margin:0;text-align:center}.disc-art{width:min(100%,280px);aspect-ratio:1;border-radius:50%;padding:15px;margin:22px auto;box-shadow:0 20px 30px -20px #2b423e88;display:grid;place-items:center}.disc-art img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}figure h3{font-size:22px;margin:16px 0 8px}figure p{font-size:12px;color:#66766a;line-height:1.5}figure small{font-size:10px;color:#7c897e;overflow-wrap:anywhere}.shelf-section{margin:44px 0}#count{font-size:14px;background:#e1e9dc;padding:4px 9px;border-radius:20px}#shelf{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}#shelf figure{padding:20px;border:1px solid #d5dfd3;border-radius:16px;background:#fff}#shelf .disc-art{width:180px;max-width:100%;margin:8px auto}#shelf h3{font-size:19px}.empty{grid-column:1/-1;border:1px dashed #bacbb8;padding:35px;text-align:center;color:#7a887a;border-radius:14px}details{border-top:1px solid #d4ddce;padding:20px 0}summary{cursor:pointer;font-size:13px}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#173a30;color:#d0efcb;padding:18px;border-radius:10px;font-size:11px}@media(max-width:700px){header>span:not(.tag){display:none}main{padding:26px 18px}.workspace{grid-template-columns:1fr;padding:20px;gap:20px}.preview-panel{grid-row:1}.disc-art{width:200px}#shelf{grid-template-columns:repeat(2,1fr)}.section-title>span{font-size:9px}}@media(max-width:400px){#shelf{grid-template-columns:1fr}}
:root .check{display:flex;align-items:center;gap:9px;font-weight:500}.check input{width:auto;margin:0}.plastic-note{margin-top:-8px}.plastic-note a{color:inherit}.seed-review{background:#e9eee3;border:1px solid #d5dfd3;border-radius:16px;padding:24px;margin:28px 0}.flight-edit{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}input:read-only{background:#e4e9df;color:#50634e}.seed-review button{min-height:44px}[hidden]{display:none!important}
.add-photo{display:block;width:100%;margin:14px 0 4px;background:#204e3e;color:#fff;border-color:#204e3e;padding:14px}.add-photo:has(input:disabled){opacity:.45;cursor:default}.photo-art,.shelf-experience #shelf .disc-art.photo-art,.shelf-inspector #shelf-held-art .disc-art.photo-art{padding:0;background:transparent}.photo-art img{object-fit:cover}
.experimental-preview .disc-art{padding:var(--exp-rim,10px);box-shadow:0 20px 30px -20px #2b423e88,0 0 var(--exp-glow-blur,0) var(--exp-glow-spread,0) var(--exp-glow-color,transparent)}.experimental-preview .disc-art:not(.photo-art) img{transform:translate(var(--exp-x,0),var(--exp-y,0))}.experimental-preview .photo-art{padding:0;box-shadow:0 20px 30px -20px #2b423e88,0 0 var(--exp-glow-blur,0) var(--exp-glow-spread,0) var(--exp-glow-color,transparent)}
.photo-mode .depiction-switcher{grid-template-columns:1fr}
#photo-crop{width:min(480px,calc(100vw - 20px));max-height:calc(100dvh - 20px);overflow:hidden;color:#183e34;background:#fffef8;border:1px solid #ced8ce;border-radius:18px;padding:0;box-shadow:0 24px 70px #10291f55}#photo-crop::backdrop{background:#12271fb3}.crop-shell{height:min(760px,calc(100dvh - 22px));display:grid;grid-template-rows:auto auto minmax(150px,1fr) auto auto auto;gap:10px;padding:18px}.crop-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.crop-heading .eyebrow{margin:0 0 4px;color:#788679}.crop-heading h2{font-size:27px}.crop-heading button{flex:0 0 auto}.crop-shell>#photo-crop-help{margin:0}.crop-stage{width:100%;max-height:100%;aspect-ratio:1;margin:0 auto;position:relative;background:#dfe5db;overflow:hidden;border-radius:14px;box-shadow:0 12px 30px -18px #173a30;touch-action:none;cursor:grab;user-select:none}.crop-stage::before,.crop-stage::after{content:'';position:absolute;inset:0;pointer-events:none}.crop-stage::before{z-index:2;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #173a3099}.crop-stage::after{z-index:1;background:radial-gradient(circle at center,transparent 0 49.5%,rgba(18,39,31,.68) 50% 100%)}.crop-stage:active{cursor:grabbing}.crop-stage canvas{position:relative;z-index:0;width:100%;height:100%;display:block}.crop-stage span{position:absolute;z-index:3;left:50%;bottom:12px;translate:-50% 0;padding:5px 9px;border-radius:20px;background:#173a30cc;color:#fff;font-size:10px;font-weight:650;pointer-events:none;white-space:nowrap}.crop-quick{display:grid;grid-template-columns:1fr auto;gap:10px}.crop-quick>button,.crop-zoom button{min-height:44px}.crop-zoom{display:grid;grid-template-columns:44px 66px 44px;align-items:center;border:1px solid #ced8ce;border-radius:9px;overflow:hidden}.crop-zoom button{border:0;border-radius:0;padding:8px}.crop-zoom output{text-align:center;font-size:12px;font-weight:700}.crop-fine{padding:8px 0;border-block:1px solid #e1e6dd}.crop-fine summary{font-weight:650}.crop-fine .pair{padding-top:10px}.crop-fine label{margin-bottom:0}.crop-fine input{padding:0}.crop-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.crop-actions button{width:100%;margin:0;min-height:46px}.crop-actions .primary{margin:0}
.mold-combobox{position:relative;margin-bottom:16px}.mold-combobox input{margin-top:7px}.mold-combobox [role=listbox]{position:absolute;z-index:5;top:calc(100% + 4px);left:0;right:0;max-height:260px;overflow:auto;background:#fff;border:1px solid #bfcdbf;border-radius:9px;box-shadow:0 12px 28px -16px #173a30;padding:5px}.mold-combobox [role=option]{padding:10px;border-radius:6px;font-size:12px;cursor:pointer}.mold-combobox [role=option]:hover,.mold-combobox [role=option][aria-selected=true]{background:#e3ebdf}.label-toggle{margin:7px 0 12px}.label-toggle input{accent-color:#204e3e}#paint-label-controls label{margin-bottom:0}
#shelf-editor{background:#eef1e7;padding:20px;border-radius:14px;margin:18px 0}#shelf-editor fieldset{border:0;padding:0;min-width:0}#shelf-editor h3{overflow-wrap:anywhere}#shelf-editor small{display:block;margin-top:6px}#shelf details button{margin:4px}#shelf-status{font-size:13px;line-height:1.5}@media(max-width:600px){#shelf-editor .flight-edit{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ExploreShelf: context / workspace / inspector. No upload or model changes. */
.shelf-experience{width:min(1560px,calc(100vw - 64px));max-width:none;position:relative;left:50%;transform:translateX(-50%);padding:32px 0 44px;scroll-margin-top:20px;border-top:1px solid #cdd6c9}
.shelf-experience .section-title{align-items:flex-end;margin-bottom:30px}.shelf-experience h2{font-size:36px;letter-spacing:-1.3px}.shelf-kicker{font-size:10px;font-weight:750;letter-spacing:.15em;text-transform:uppercase;line-height:1.5;margin:0 0 12px;color:#677865}.shelf-intro{color:#647562;font-size:14px;margin:8px 0 0}.shelf-jump{font-size:13px;font-weight:650;color:#254c38;text-decoration:none;border-bottom:1px solid #a0b49b;padding:10px 0}.shelf-jump:focus-visible{outline:3px solid #d8a36d;outline-offset:3px}
.shelf-workspace{display:grid;grid-template-columns:minmax(165px,.68fr) minmax(0,2.6fr) minmax(280px,1.05fr);gap:26px;align-items:start}.shelf-context,.shelf-inspector{position:sticky;top:24px;min-width:0}.shelf-context{padding-top:10px}.shelf-context label{font-size:13px;margin:0}.shelf-context input{font-size:13px;padding:13px 10px;background:#fffef9}.shelf-note{color:#687564;font-size:12px;line-height:1.6;margin:10px 0}.shelf-search-state{display:flex;align-items:center;justify-content:space-between;min-height:44px;gap:8px;font-size:12px;font-weight:650;border-bottom:1px solid #d8dfd0;padding-bottom:10px}.shelf-experience button{min-height:44px}.shelf-search-state button{padding:8px 10px;border:0;background:transparent;text-decoration:underline}.shelf-bookmark{border-left:3px solid #718961;margin-top:25px;padding:0 0 0 13px}.shelf-bookmark strong{font-size:16px;overflow-wrap:anywhere}.shelf-bookmark button{font-size:11px;padding:9px 12px;background:transparent}.shelf-context-foot{margin-top:36px}.shelf-context-foot>p:not(.shelf-kicker):not(.shelf-note){font-family:Georgia,serif;font-size:22px;line-height:1.65;margin:0 0 25px;color:#62765d}.shelf-main{min-width:0}.shelf-main-heading{display:flex;gap:10px;justify-content:space-between;font-size:11px;margin:9px 0 16px;color:#72816c}.shelf-main-heading>span:first-child{font-weight:700;color:#38503b}
.shelf-experience #shelf{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 16px}.shelf-disc{min-width:0;position:relative;border-bottom:2px solid #c9d1be;padding-bottom:11px;border-radius:4px 4px 0 0;transition:transform 180ms ease,background 180ms ease,box-shadow 180ms ease}.shelf-disc::after{content:'';height:5px;position:absolute;left:0;right:0;bottom:-6px;background:linear-gradient(#dce0d299,transparent)}.shelf-experience .shelf-pick{display:block;width:100%;padding:14px 10px 9px;min-width:0;background:transparent;border:1px solid transparent;border-radius:13px;white-space:normal}.shelf-experience #shelf .disc-art{width:100%;max-width:214px;margin:4px auto 20px;padding:10px;box-shadow:0 22px 22px -20px #243d3099;transition:transform 180ms ease}.shelf-experience #shelf h3{font-size:17px;line-height:1.25;margin:0 0 7px;font-weight:700;letter-spacing:-.3px;overflow-wrap:anywhere}.shelf-experience .shelf-mold{font-size:11px;font-weight:500;line-height:1.5;margin:0;color:#60745a;overflow-wrap:anywhere}.shelf-experience .shelf-spec{font-size:11px;font-weight:450;line-height:1.4;margin:5px 0 8px;color:#72806b}.shelf-pick-label{display:inline-block;border-radius:20px;padding:5px 10px;font-size:10px;font-weight:700;color:#556e49;line-height:1.2;background:#e7eadf}.shelf-disc.is-selected{background:#e8edde;transform:translateY(-3px);border-color:#5d7a48;box-shadow:0 13px 20px -20px #334529}.shelf-disc.is-selected .shelf-pick-label{background:#2f543b;color:#fff}.shelf-disc.is-selected .disc-art{transform:translateY(-3px)}.shelf-pick:focus-visible{outline:3px solid #c18e53;outline-offset:2px}.shelf-card-flight{display:grid;grid-template-columns:repeat(4,1fr);padding:7px 6px 0;text-align:center;color:#52674c}.shelf-card-flight strong{display:block;font-size:13px;font-weight:600}.shelf-card-flight small{display:block;font-size:8px;font-weight:450;margin-top:3px;text-transform:uppercase;letter-spacing:.045em}.shelf-empty{grid-column:1/-1;min-height:420px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:38px;border:1px dashed #bdc9b5;background:#efefe4;border-radius:16px}.shelf-empty h3{font-size:27px!important;font-family:Georgia,serif;font-weight:400!important}.shelf-empty p{font-size:14px;color:#718066;max-width:275px;line-height:1.7}.shelf-empty button{margin-top:15px;background:#fffef8}
.shelf-inspector{background:#fffef8;border:1px solid #d9dfd0;border-radius:17px;padding:20px;box-shadow:0 8px 25px -22px #203d25}.shelf-inspector #shelf-rest{padding:1px 1px 22px}.shelf-rest-mark{font-family:Georgia,serif;font-size:66px;line-height:1.2;font-weight:400;color:#b2bfa6;margin:40px 0 20px}.shelf-inspector #shelf-rest h3{font-family:Georgia,serif;font-size:28px;letter-spacing:-.5px;font-weight:400;margin:0 0 15px}.shelf-inspector #shelf-rest>p:last-child{font-size:13px;line-height:1.75;color:#687762;max-width:225px}.shelf-inspector #shelf-editor{background:transparent;padding:0;margin:0}.shelf-inspector-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.shelf-inspector-heading .shelf-kicker{margin:0}.shelf-inspector-heading button{font-size:11px;padding:9px 10px;background:transparent}.shelf-inspector #shelf-held-art .disc-art{width:112px;padding:7px;margin:18px auto 17px}.shelf-inspector #shelf-selection{font-size:25px;line-height:1.2;letter-spacing:-.7px;margin:0 0 6px}.shelf-inspector #shelf-selection:focus-visible{outline:2px solid #c18e53;outline-offset:4px}.shelf-inspector #shelf-selected-description{margin:0 0 20px}.shelf-inspector fieldset{margin:0}.shelf-inspector legend{font-size:14px;font-weight:700;padding:0}.shelf-inspector .flight-edit{display:block}.shelf-flight-head,.shelf-flight-row{display:grid;grid-template-columns:1fr 65px 43px;gap:10px;align-items:center}.shelf-flight-head{font-size:9px;font-weight:650;color:#75816c;margin:16px 0 4px}.shelf-flight-head>span:not(:first-child){text-align:center}.shelf-flight-row{border-bottom:1px solid #edf0e6;padding:6px 0;min-height:53px}.shelf-flight-row label{margin:0;font-size:12px}.shelf-flight-row .check input{height:18px;width:18px;accent-color:#31543d}.shelf-flight-row>input{width:100%;margin:0;padding:10px 6px;text-align:center;font-size:13px;min-height:40px}.shelf-flight-row>input:disabled{color:#64755d;background:#f0f1e8;opacity:1;border-color:transparent}.shelf-inspector .shelf-flight-row>small{font-size:13px;text-align:center;margin:0!important;color:#718067}.shelf-resolved-wrap{padding:14px 0;margin-top:10px}.shelf-resolved-wrap .shelf-kicker{font-size:9px}.shelf-inspector #shelf-resolved{display:grid;grid-template-columns:repeat(4,1fr);margin:10px 0;text-align:center;gap:6px}.shelf-inspector #shelf-resolved strong{font-size:22px;line-height:1.3;font-weight:650}.shelf-inspector #shelf-resolved small{margin:3px 0 0;font-size:9px;text-transform:uppercase;letter-spacing:.04em;color:#708165}.shelf-inspector #shelf-draft-state{font-size:11px;color:#5e7156}.shelf-edit-actions{display:grid;gap:8px}.shelf-edit-actions button{width:100%;font-size:12px}.shelf-edit-actions #shelf-preview{background:#f1f3e9}.shelf-edit-actions #shelf-keep{background:#2f543b;color:#fff;border-color:#2f543b}.shelf-experience button:disabled{cursor:default}.shelf-selection-note{font-size:12px;line-height:1.5;padding:10px;background:#f6edcc;border-left:2px solid #bd934b}.shelf-evidence{margin-top:20px;padding:14px 0 0}.shelf-evidence summary{font-size:11px;color:#6d7b62}.shelf-evidence p{font-family:ui-monospace,monospace;font-size:10px;overflow-wrap:anywhere;line-height:1.6}.shelf-evidence button{font-size:11px;margin:4px 3px 0 0;padding:8px 10px}.shelf-inspector #shelf-status{border-left:3px solid #718961;padding:11px 12px;background:#eaf0e3;margin:18px 0 0;font-size:12px;line-height:1.65;overflow-wrap:anywhere}.shelf-inspector #shelf-status.is-error{border-color:#b56044;background:#faeadf;color:#82432e}.shelf-inspector #shelf-reopen{margin-top:12px;width:100%}
@media(hover:hover){.shelf-pick:hover .disc-art{transform:translateY(-4px)}.shelf-pick:hover{background:#eaeedf77}.shelf-jump:hover{color:#628351}}
@media(min-width:1001px) and (max-width:1350px){.shelf-workspace{grid-template-columns:170px minmax(0,1fr) 280px;gap:20px}.shelf-experience #shelf{grid-template-columns:repeat(2,minmax(0,1fr))}.shelf-main-heading>span:last-child{max-width:145px;text-align:right}.shelf-inspector{padding:17px}}
@media(max-width:1000px){.shelf-experience{width:100%;left:auto;transform:none}.shelf-workspace{grid-template-columns:minmax(0,1fr) 285px;gap:24px}.shelf-context{grid-column:1/-1;position:static;display:grid;grid-template-columns:1fr auto;column-gap:22px;align-items:center}.shelf-context>.shelf-kicker,.shelf-context-foot,.shelf-context label,.shelf-context #shelf-search-help{display:none}.shelf-context #shelf-query{margin:0}.shelf-search-state{border:0;padding:0;min-width:95px}.shelf-bookmark{grid-column:1/-1;margin:12px 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:8px 15px}.shelf-bookmark .shelf-kicker,.shelf-bookmark p{margin:0}.shelf-bookmark .shelf-kicker{font-size:9px}.shelf-bookmark strong{font-size:13px}.shelf-bookmark button{min-height:36px!important}.shelf-experience #shelf{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.shelf-inspector{position:static;grid-column:2;grid-row:2}.shelf-main{grid-column:1;grid-row:2}.shelf-main-heading>span:last-child{display:none}}
@media(max-width:720px){.shelf-experience .section-title{align-items:center}.shelf-experience h2{font-size:30px}.shelf-intro{font-size:12px}.shelf-workspace{display:flex;flex-direction:column;gap:22px}.shelf-context,.shelf-main,.shelf-inspector{width:100%}.shelf-context{order:0}.shelf-main{order:2}.shelf-inspector{order:3}.has-selection .shelf-inspector{order:1}.shelf-experience:not(.has-selection) .shelf-inspector:has(#shelf-status[hidden]){display:none}.shelf-inspector #shelf-held-art{float:right;margin-left:12px}.shelf-inspector #shelf-held-art .disc-art{width:86px;margin:16px 0}.shelf-inspector fieldset{clear:both}.shelf-flight-head,.shelf-flight-row{grid-template-columns:1fr 85px 55px}.shelf-inspector{padding:20px}.shelf-edit-actions{grid-template-columns:1fr 1fr}.shelf-experience #shelf .disc-art{padding:9px;margin:4px auto 18px}.shelf-experience #shelf h3{font-size:16px}.shelf-jump{font-size:11px;white-space:nowrap}.shelf-experience .shelf-pick{padding:10px 5px 8px}.shelf-empty{min-height:300px}.shelf-card-flight small{font-size:8px}.shelf-experience{padding-top:24px}.shelf-bookmark .shelf-note{flex-basis:100%}.shelf-main-heading{margin-top:0}}
@media(prefers-reduced-motion:reduce){.shelf-disc,.shelf-experience #shelf .disc-art{transition:none}.shelf-disc.is-selected,.shelf-disc.is-selected .disc-art,.shelf-pick:hover .disc-art{transform:none}}
.shelf-inspector #shelf-status:not([hidden])+.shelf-edit-actions,.shelf-inspector #shelf-reopen+.shelf-edit-actions{margin-top:12px}
.crop-shell{grid-template-rows:auto auto minmax(0,1fr) auto auto auto}.crop-stage{width:100%;max-width:100%;height:100%;max-height:100%;margin:0 auto;aspect-ratio:1;justify-self:center;align-self:center}.crop-stage::before,.crop-stage::after{display:none}
.crop-quick{display:grid;grid-template-columns:auto minmax(96px,1fr);align-items:center;gap:6px}.crop-quick>button{min-height:44px}.crop-quick>output{text-align:center;font-size:12px;font-weight:700}.crop-zoom{grid-column:1/-1;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));border:1px solid #ced8ce;border-radius:9px;overflow:hidden}.crop-zoom button{border:0;border-radius:0;padding:8px 3px;min-height:44px;font-size:clamp(9px,2.7vw,11px);white-space:nowrap}@media(max-width:360px){.crop-zoom{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* Debug controls belong to disposable Experience pages. */
.sandbox-case { border:1px solid #638c7e; border-radius:14px; padding:20px; margin:20px 0; background:#e9f0e8; color:#193f34; }
.sandbox-case h2 { margin:0 0 8px; }
.sandbox-case p { max-width:80ch; }
.sandbox-case li { margin:10px 0; }
.sandbox-case button { margin:4px; }
.sandbox-case textarea { width:100%; font:inherit; color:inherit; background:#fafbf8; border:1px solid #ced8ce; border-radius:9px; padding:12px; }

/* On narrow screens, introduce the decision before showing its result. */
@media(max-width:700px){
  #composer{display:contents}
  .workspace>#composer>.section-title{grid-column:1;order:1}
  .workspace>#composer>.mold-step{grid-column:1;order:2}
  .workspace>.preview-panel{grid-column:1;grid-row:auto;order:3}
  .workspace>#composer>.form-details{grid-column:1;order:4}
  #photo-crop{width:calc(100vw - 14px);max-height:calc(100dvh - 14px)}.crop-shell{height:calc(100dvh - 16px);padding:14px;gap:8px}.crop-heading h2{font-size:24px}.crop-stage{width:100%}.crop-fine .pair{grid-template-columns:1fr 1fr}
}
.crop-stage{width:100%;max-width:100%;height:100%;max-height:100%;margin:0 auto;aspect-ratio:1;justify-self:center;align-self:center}.crop-stage::before,.crop-stage::after{display:none}

/* PxCube integration: photo-first UploadDiscToShelf. */
.painting-only,.depiction-switcher,#paint-help{display:none!important}
.photo-primary-note{margin:8px 0 18px;padding-left:11px;border-left:3px solid #d8a36d}
.photo-placeholder{min-height:320px;display:grid;place-items:center;text-align:center;padding:34px;border:1px dashed #aebdaf;border-radius:50%;aspect-ratio:1;max-width:320px;margin:20px auto;background:#f8f8f2;color:#5f7064}
.photo-placeholder strong{display:block;font-size:18px;margin-bottom:8px;color:#234b3b}
.photo-only-preview{width:min(320px,90%);aspect-ratio:1;margin:20px auto;display:grid;place-items:center}.photo-only-preview .photo-art{width:100%;height:100%;object-fit:contain;border-radius:50%;padding:0}
.photo-finish{display:none!important}
.experimental-preview .photo-art{box-shadow:0 20px 30px -20px #2b423e88,0 var(--exp-glow-y,0) var(--exp-glow-blur,0) var(--exp-glow-spread,0) var(--exp-glow-color,transparent)}
.save-actions{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:10px;margin-top:18px}.save-actions button{margin:0;width:100%}
.todays-bag-item[aria-pressed="true"]{border-color:#638052;background:#eef3e3}.todays-bag-expanded{overflow:auto!important}.todays-bag{grid-column:1/-1;position:relative;border-bottom:1px solid #dde4da;margin:-10px 0 2px;padding:0 0 8px;z-index:6}.todays-bag-bar{min-height:38px;display:flex;align-items:center;gap:10px}.todays-bag-toggle{min-width:0;flex:1;border:0;background:transparent;padding:5px 2px;display:flex;align-items:center;gap:9px;text-align:left}.todays-bag-label{font-size:11px;letter-spacing:.11em;text-transform:uppercase;color:#53685d;font-weight:750;white-space:nowrap}.todays-bag-mini{display:flex;align-items:center;min-width:0}.todays-bag-mini img{width:25px;height:25px;border-radius:50%;object-fit:cover;border:2px solid #fff;margin-left:-6px;box-shadow:0 0 0 1px #d0d9cf}.todays-bag-mini img:first-child{margin-left:0}.todays-bag-count{font-size:11px;color:#788679}.todays-bag-chevron{font-size:15px;transition:transform .16s ease}.todays-bag-create{padding:7px 10px;border-radius:7px;background:#eef1e7;white-space:nowrap}.todays-bag-expanded{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;max-height:0;opacity:0;overflow:hidden;transform:translateY(-4px);pointer-events:none;transition:max-height .18s ease,opacity .14s ease,transform .18s ease,padding .18s ease}.todays-bag:hover .todays-bag-expanded,.todays-bag:focus-within .todays-bag-expanded,.todays-bag[data-open="true"] .todays-bag-expanded{max-height:120px;opacity:1;transform:none;pointer-events:auto;padding:7px 0 2px}.todays-bag:hover .todays-bag-chevron,.todays-bag:focus-within .todays-bag-chevron,.todays-bag[data-open="true"] .todays-bag-chevron{transform:rotate(180deg)}.todays-bag-item{min-width:0;display:flex;align-items:center;gap:7px;padding:7px;border:1px solid #e0e6dc;border-radius:9px;background:#fafbf8}.todays-bag-item img{width:38px;height:38px;flex:0 0 auto;border-radius:50%;object-fit:cover}.todays-bag-item span{min-width:0;font-size:10px;line-height:1.25;color:#66766a}.todays-bag-item strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#244b3c;font-size:11px}.todays-bag-empty{grid-column:1/-1;font-size:11px;color:#839087;padding:5px 2px}.todays-bag.has-items .todays-bag-count::after{content:" discs"}
@media(max-width:700px){.photo-placeholder{min-height:220px;max-width:240px;padding:24px}.save-actions{grid-template-columns:1fr}.todays-bag-expanded{grid-template-columns:1fr 1fr}.todays-bag:hover .todays-bag-expanded{max-height:0;opacity:0;padding:0}.todays-bag[data-open="true"] .todays-bag-expanded,.todays-bag:focus-within .todays-bag-expanded{max-height:240px;opacity:1;padding:7px 0 2px}.todays-bag-create{font-size:10px}.todays-bag-label{font-size:10px}}

/* Tournament export path: the retained shelf stays available to PxC, while
   Today’s Bag keeps the live photo-to-card decision in one place. */
.todays-bag-export{margin:54px auto 0;max-width:1180px;padding:34px;border:1px solid #d4ded1;border-radius:20px;background:#f8f9f2;box-shadow:0 14px 34px -30px #183326}.todays-bag-export[hidden]{display:none}.bag-export-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,.9fr);gap:28px;margin-top:22px}.bag-export-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(176px,1fr));gap:10px}.bag-export-disc{display:flex;align-items:center;gap:10px;text-align:left;background:#fffef9;border:1px solid #d6dfd3;min-height:72px;padding:9px}.bag-export-disc[aria-pressed="true"]{border-color:#31543d;background:#e9f1e4;box-shadow:inset 0 0 0 1px #31543d}.bag-export-disc img{width:48px;height:48px;border-radius:50%;object-fit:cover;background:#e6ebe1}.bag-export-disc span{min-width:0}.bag-export-disc strong,.bag-export-disc small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bag-export-disc strong{font-size:13px;color:#254b3c}.bag-export-disc small{font-size:10px;color:#6a796a;margin-top:3px}.bag-export-controls{display:grid;align-content:start;gap:12px;padding:18px;border:1px solid #dce4d8;border-radius:14px;background:#fffef9}.bag-export-controls label{margin:0}.card-preview{display:grid;place-items:center;min-height:270px;max-height:440px;padding:12px;border:1px dashed #b9c8b8;border-radius:12px;background:repeating-conic-gradient(#f3f5ef 0 25%,#e7ece4 0 50%) 50%/20px 20px}.card-preview img{display:block;max-width:100%;max-height:410px;object-fit:contain}.card-export-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.card-export-actions button{margin:0}.bag-export-controls code{font-size:.9em}@media(max-width:760px){.todays-bag-export{margin-top:28px;padding:21px}.bag-export-grid{grid-template-columns:1fr}.bag-export-list{grid-template-columns:1fr 1fr}.card-preview{min-height:220px}.card-export-actions{grid-template-columns:1fr}}
.card-preview:has(.card-preview-item){display:block;overflow-y:auto;max-height:620px}.card-preview-item{margin:0 0 18px;padding:8px;background:#fffef9;border:1px solid #d6dfd3;border-radius:9px}.card-preview-item:last-child{margin-bottom:0}.card-preview-item img{margin:auto;max-height:450px}.card-preview-item figcaption{font-size:12px;color:#395747;margin-top:7px;text-align:center}
/* The production creator is photo-first; painter/debug controls remain in the
   authored DOM only where their retained IDs support older model paths. */
.experimental,#receipts-panel{display:none!important}
.card-export-actions a.primary:not([hidden]){display:block;margin:0;border-radius:9px;font:inherit;font-size:12px;font-weight:650;text-align:center;text-decoration:none;cursor:pointer}

/* Fixed-aperture crop control: only its visible lower-right handle resizes. */
.crop-resize-handle{position:absolute;z-index:5;left:calc(50% + var(--crop-handle-x,0%));top:calc(50% + var(--crop-handle-y,0%));width:44px;height:44px;min-width:44px;min-height:44px;margin:0;translate:-50% -50%;border:2px solid #fff;border-radius:50%;padding:0;background:#204e3e;color:#fff;box-shadow:0 2px 9px #10291f66;touch-action:none;font-size:20px;line-height:1}.crop-resize-handle span{position:static;display:block;translate:0;background:transparent;padding:0;font-size:20px;pointer-events:none}.crop-gesture-state{position:absolute;z-index:4;left:50%;top:12px;translate:-50% 0;min-width:92px;padding:5px 9px;border-radius:20px;background:#173a30cc;color:#fff;text-align:center;font-size:10px;font-weight:650;line-height:1.2;pointer-events:none;white-space:nowrap}.crop-stage[data-mode=pan]{cursor:grabbing}.crop-stage[data-mode=pan] .crop-resize-handle{background:#168a87}.crop-stage[data-mode=resize]{cursor:default}.crop-stage[data-mode=resize] .crop-resize-handle{background:#d88938}.crop-resize-handle:focus-visible{outline:3px solid #d8a36d;outline-offset:3px}

/* The crop modal is a direct-manipulation surface, not selectable prose. */
#photo-crop,#photo-crop *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}#photo-crop input:not([type=hidden]),#photo-crop textarea,#photo-crop [contenteditable=true]{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}

@media(max-width:420px){
  .crop-quick{grid-template-columns:1fr}
  .crop-zoom{grid-template-columns:repeat(4,minmax(0,1fr))}
  .crop-zoom button{font-size:13px}
}

/* Circle candidates remain compact: pick, refine locally, then fall back. */
.circle-candidate-picker{padding:8px 0;border-block:1px solid #e1e6dd}.circle-candidate-heading{margin:0 0 7px;font-size:12px;font-weight:700}.circle-candidates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.circle-candidate{min-width:0;min-height:44px;padding:4px;border:2px solid #ced8ce;border-radius:9px;background:#fafbf8;color:#183e34}.circle-candidate[aria-pressed=true]{border-color:#168a87;background:#e8f4f1}.circle-candidate canvas{display:block;width:100%;aspect-ratio:1;border-radius:5px;background:#dfe5db;pointer-events:none}.circle-candidate span{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;padding:4px 1px 0;font-size:10px;line-height:1.1;white-space:nowrap}.circle-candidate-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.circle-candidate-actions button{min-height:44px;padding:8px}.crop-manual{padding:8px 0;border-bottom:1px solid #e1e6dd}.crop-manual summary{font-size:12px;font-weight:650}.crop-manual[open] summary{margin-bottom:9px}.crop-manual .crop-quick{grid-template-columns:auto minmax(96px,1fr)}.crop-manual #crop-reset{width:100%;min-height:44px;margin-top:8px}.crop-actions-single{grid-template-columns:1fr}.crop-stage[data-manual=false]{cursor:default}.crop-resize-handle:disabled{cursor:default;opacity:.55}@media(max-width:420px){.circle-candidate-heading{font-size:11px}.circle-candidate span{font-size:9px}.crop-manual .crop-quick{grid-template-columns:1fr}}
.crop-stage[data-candidate=true] .crop-resize-handle,.crop-stage[data-candidate=true] .crop-gesture-state{display:none}

.output-queue{margin-top:22px;padding-top:16px;border-top:1px solid #dce4d8}.output-queue h3{margin:0 0 8px;font-size:15px;color:#244b3c}#output-approval{overflow-wrap:anywhere}.output-queue ol{display:grid;gap:8px;margin:0;padding-left:22px}.output-queue-item{display:flex;align-items:center;gap:8px;justify-content:space-between;font-size:12px;color:#365448}.output-queue-remove{min-height:34px;padding:5px 9px;font-size:11px}.creator-review-details{max-width:1180px;margin:28px auto 70px;padding:20px;border:1px solid #d4ded1;border-radius:14px;background:#f8f9f2}.creator-review-details summary{font-weight:750;color:#244b3c;cursor:pointer}.creator-review-detail{padding:12px 0;border-top:1px solid #dce4d8}.creator-review-detail h4{margin:0 0 6px}.creator-review-detail p{margin:0;font-size:13px;line-height:1.5}.creator-review-detail details{margin-top:8px}.creator-review-page{max-width:920px;margin:48px auto;padding:0 20px}.creator-review-page h1{margin-top:0}.creator-review-group{margin:28px 0;padding-top:8px;border-top:1px solid #dce4d8}.creator-review-group article{padding:15px 0;border-bottom:1px solid #e4e9e1}.creator-review-group h2,.creator-review-group h3{color:#244b3c}.creator-review-group p{line-height:1.55}.creator-review-group dl{display:grid;grid-template-columns:140px 1fr;gap:8px 14px;margin:12px 0}.creator-review-group dt{font-weight:700}.creator-review-group dd{margin:0}@media(max-width:700px){.creator-review-group dl{grid-template-columns:1fr}.creator-review-group dt{margin-top:8px}}


.clear-local-data-button{min-height:44px;padding:10px 14px;white-space:nowrap}#clear-local-data{width:min(480px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;padding:0;border:0;border-radius:14px;background:#fff;color:#183e34;box-shadow:0 20px 55px #173a3044}#clear-local-data::backdrop{background:#173a3070}.clear-local-data-dialog{padding:24px}.clear-local-data-dialog p{line-height:1.55;color:#526258}.clear-local-data-dialog #clear-local-data-error{color:#9d3020;min-height:1.5em}.clear-local-data-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:22px}.clear-local-data-actions button{min-height:44px}.clear-local-data-actions .primary{width:auto;margin:0;padding:12px 16px}@media(max-width:700px){header{flex-wrap:wrap;gap:10px}.clear-local-data-button{margin-left:auto}}@media(max-width:360px){.clear-local-data-actions{justify-content:stretch}.clear-local-data-actions button{flex:1 1 100%}}
#placement-canvas{display:block;width:auto;height:auto;max-width:100%;max-height:410px;touch-action:none;cursor:grab}.placement-hint{margin:5px 0 0;text-align:center;font-size:11px;color:#53695c}.canvas-background-controls{padding:10px 0;border-block:1px solid #e1e6dd}
/* Batch review holds immutable candidate cards until a creator explicitly approves them. */
.saved-setup{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px;border:1px solid #dce4d8;border-radius:8px}.saved-setup strong{font-size:12px;color:#31543d;margin-right:auto}.saved-setup button{width:auto;margin:0;padding:7px 9px;font-size:11px}#batch-review{width:min(980px,calc(100vw - 28px));max-height:calc(100vh - 28px);border:0;border-radius:14px;padding:0;background:#fffef9;color:#183e34;box-shadow:0 20px 55px #173a3044}#batch-review::backdrop{background:#173a3070}.batch-review-dialog{padding:20px}.batch-review-dialog header,.batch-review-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.batch-review-dialog h2{margin:0}.batch-review-dialog header button,.batch-review-dialog footer button{width:auto;margin:0}.batch-review-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;max-height:65vh;overflow:auto;margin:16px 0}.batch-review-item{border:1px solid #d6dfd3;border-radius:9px;padding:8px;background:#fff}.batch-review-item[data-state="approved"]{background:#eef5e9;border-color:#638052}.batch-review-item[data-state="needs-adjustment"]{background:#fff5ed;border-color:#b46b36}.batch-review-item img{width:100%;height:210px;object-fit:contain;background:repeating-conic-gradient(#f3f5ef 0 25%,#e7ece4 0 50%) 50%/18px 18px}.batch-review-item strong,.batch-review-item small{display:block}.batch-review-item small{margin-top:6px;color:#53685d}.batch-review-item p{font-size:11px;min-height:28px;color:#66766a}.batch-review-item button{width:100%;margin:0;padding:8px 10px}.bag-export-disc input{flex:0 0 auto;accent-color:#31543d}
.bag-export-choice{display:flex;align-items:center;gap:6px}.bag-export-choice>input{width:18px;height:18px;accent-color:#31543d}.bag-export-choice .bag-export-disc{flex:1}
.mold-catalog-error{grid-column:1/-1}
.review-background-toggle{display:flex;align-items:center;gap:7px;font-size:11px;color:#53685d}.review-background-toggle input{appearance:none;width:34px;height:20px;margin:0;border:1px solid #9ba99c;border-radius:999px;background:#dfe5de;position:relative;cursor:pointer}.review-background-toggle input::after{content:"";position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#fff;transition:transform .15s ease}.review-background-toggle input:checked{background:#31543d;border-color:#31543d}.review-background-toggle input:checked::after{transform:translateX(14px)}.review-background-toggle input:focus-visible{outline:2px solid #168a87;outline-offset:2px}.batch-review-thumb{height:210px;background:repeating-conic-gradient(#f3f5ef 0 25%,#e7ece4 0 50%) 50%/18px 18px;background-size:cover;background-position:center;display:grid;place-items:center}.batch-review-thumb img{width:100%;height:100%;object-fit:contain;background:transparent}.batch-review-item>img{display:none}
/* A hidden review switch must remain absent until an uploaded test image exists. */
.review-background-toggle[hidden]{display:none}
.batch-review-thumb{padding:0;display:flex;align-items:center;justify-content:center;min-width:0;overflow:hidden}.batch-review-item{min-width:0}.batch-review-frame{display:block;flex:none;max-width:100%;max-height:100%;background-size:cover;background-position:center}.batch-review-frame[data-orientation="vertical"]{width:min(100%,118.125px);height:210px;aspect-ratio:9/16}.batch-review-frame[data-orientation="horizontal"]{width:100%;max-width:373.333px;height:auto;aspect-ratio:16/9}.batch-review-frame img{display:block;width:100%;height:100%;object-fit:fill;background:transparent}
/* Five selected cards remain visible together in the desktop approval pass. */
.batch-review-list{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.batch-review-dialog header{flex-wrap:wrap}.batch-review-dialog header>div{min-width:0}.review-background-toggle{margin-left:auto}@media(max-width:560px){.review-background-toggle{order:3;margin-left:0}.batch-review-list{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}}

/* Give the desktop creator a real portrait stage while keeping the controls close. */
main:has(#todays-bag){max-width:1580px}.todays-bag-export{max-width:1500px}.bag-export-grid{grid-template-columns:minmax(280px,.7fr) minmax(0,1.3fr)}.bag-export-controls{min-width:0}.card-preview{max-height:none;min-height:340px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:18px}#placement-canvas{max-height:min(64vh,680px);max-width:100%}
.card-preview[data-orientation="vertical"]{width:min(100%,400px);justify-self:center}.card-preview[data-orientation="horizontal"]{width:100%;min-height:0}.card-preview[data-orientation="horizontal"] #placement-canvas{width:100%;height:auto;max-height:none}.canvas-frame-label{align-self:stretch;margin:0;text-align:left;color:#486254;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.canvas-preview-header{align-self:stretch;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.canvas-preview-header button{min-height:44px}.canvas-preview-header .canvas-frame-label{flex:1 1 170px}
.scene-framing-controls{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:8px;padding:12px;border:1px solid #ced8ce;border-radius:12px;background:#f4f7f1}.scene-framing-controls label{margin:0}.scene-framing-controls input{margin-top:8px}.scene-framing-controls button{min-height:44px}.scene-framing-controls #scene-adjust[aria-pressed="true"]{background:#204e3e;border-color:#204e3e;color:white}#placement-canvas[data-scene-adjusting="true"]{cursor:move}@media(max-width:700px){.scene-framing-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1100px){.bag-export-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.bag-export-controls>.saved-setup,.bag-export-controls>.card-preview,.bag-export-controls>#card-export-status,.bag-export-controls>.card-export-actions{grid-column:1/-1}.bag-export-controls>.canvas-background-controls{align-self:start}.bag-export-controls>.card-preview{grid-row:4}}
@media(max-width:1099px){.bag-export-grid{grid-template-columns:minmax(0,1fr)}.bag-export-controls{grid-template-columns:1fr}.card-preview{min-height:260px}#placement-canvas{max-height:min(58vh,540px)}}

/* A single card is inspected at useful size; batches retain the compact grid. */
#batch-review{width:min(1180px,calc(100vw - 28px))}.batch-review-list.single-card{grid-template-columns:minmax(0,1fr);max-height:calc(100vh - 230px)}.batch-review-list.single-card .batch-review-item{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,.4fr);gap:20px;align-items:center}.batch-review-list.single-card .batch-review-thumb{height:min(58vh,620px)}.batch-review-list.single-card .batch-review-frame[data-orientation="vertical"]{width:min(100%,calc(min(58vh,620px) * .5625));height:min(58vh,620px);aspect-ratio:9/16}.batch-review-list.single-card .batch-review-frame[data-orientation="horizontal"]{width:100%;max-width:100%;height:auto;aspect-ratio:16/9}.batch-review-list.single-card .batch-review-copy button{margin-top:12px}
@media(max-width:700px){.batch-review-list.single-card .batch-review-item{display:block}.batch-review-list.single-card .batch-review-thumb{height:min(52vh,430px)}.batch-review-list.single-card .batch-review-frame[data-orientation="vertical"]{width:min(100%,calc(min(52vh,430px) * .5625));height:min(52vh,430px)}.batch-review-list.single-card .batch-review-copy{padding-top:12px}.batch-review-list.single-card{max-height:calc(100vh - 220px)}}
.card-style-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 12px;margin:0;padding:14px;border:1px solid #dce4d8;border-radius:10px;min-width:0}.card-style-controls legend{padding:0 6px;font-size:12px;font-weight:700}.card-style-controls label{margin:0}.card-style-controls input[type=color]{height:46px;padding:4px}.card-style-controls .subtle{grid-column:1/-1;margin:5px 0 0}@media(max-width:700px){.card-style-controls{grid-template-columns:1fr}.card-style-controls .subtle{grid-column:auto}}

.sample-discs{margin:12px 0 18px}.sample-discs>p{margin:0 0 8px;font-size:12px}.sample-disc-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.sample-disc{display:flex;align-items:center;gap:8px;min-width:0;width:100%;padding:6px;text-align:left;background:#f5f7f1;border:1px solid #d6dfd2;border-radius:8px;font-size:11px;line-height:1.2}.sample-disc:hover{border-color:#51735b;background:#edf3e8}.sample-disc img{width:42px;height:42px;flex:none;object-fit:cover;border-radius:5px}.sample-disc span{min-width:0}.sample-disc:disabled{opacity:.6;cursor:wait}@media(max-width:700px){.sample-disc-list{grid-template-columns:1fr 1fr}.sample-disc:last-child{grid-column:1/-1}}

/* Brand version shares the existing header; double-click reveals release notes. */
.release-notes-content section+section{border-top:1px solid #dce3d9;margin-top:18px;padding-top:12px}.release-notes-content h3{font-size:14px;margin:12px 0 6px}
.feature-version-details{font-size:13px;margin-top:12px}.feature-version-details summary{cursor:pointer;font-weight:700}.feature-version-stage{margin:12px 0 0 10px}.feature-version-stage summary{font-weight:600}.feature-version-stage ul{margin:8px 0 10px;padding-left:19px}.feature-version-stage li{margin:4px 0}.feature-version-stage small{color:#66766a}
.discstudio-version{display:inline-flex;flex:0 0 auto;margin-right:8px;align-items:center;gap:8px;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font-size:24px;letter-spacing:-1px;white-space:nowrap;text-align:left}.discstudio-version strong{display:inline-flex;align-items:baseline;gap:6px}.discstudio-version [data-semantic-version]{font-size:11px;font-weight:600;letter-spacing:0}.discstudio-version img{flex:none}#discstudio-release-notes{width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:0;border:1px solid #ced8ce;border-radius:14px;background:#fffef8;color:#183e34}#discstudio-release-notes::backdrop{background:#173a3070}.release-notes-content{padding:22px}.release-notes-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.release-notes-heading h2{font-size:20px}.release-notes-heading button{flex:none}.release-notes-content p{font-size:12px;color:#66766a}.release-notes-content li{font-size:13px;line-height:1.6;margin:9px 0}

.bag-export-choice{display:grid;grid-template-columns:18px minmax(0,1fr);min-width:0}.bag-export-choice .bag-export-disc{min-width:0;width:100%}.bag-refit-photo{grid-column:2;font-size:12px;padding:7px 10px;text-align:left}

/* Photo fit review keeps its visual reference and decision in reach. */
#photo-crop .crop-shell{height:min(760px,calc(100dvh - 22px));display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:8px;padding:14px;overflow:hidden}
#photo-crop .crop-preview{display:grid;grid-template-rows:auto auto;align-content:start;justify-items:center;gap:5px;min-height:0}
#photo-crop .crop-editor{min-height:0;overflow-y:auto;overscroll-behavior:contain;display:grid;align-content:start;gap:9px;scrollbar-gutter:stable}
#photo-crop .crop-help{margin:0;min-height:1.5em}
#photo-crop .crop-stage{position:relative;justify-self:center;align-self:start;margin:0 auto;background:#dfe5db;isolation:isolate;box-shadow:0 3px 12px #173a3033}
#photo-crop .circle-candidate-picker{padding:8px 0;border-block:1px solid #e1e6dd}
#photo-crop .circle-candidate-picker>summary{font-size:12px;font-weight:700;cursor:pointer;min-height:32px}
#photo-crop .circle-candidate-picker:not([open]) .circle-candidates,#photo-crop .circle-candidate-picker:not([open]) .circle-candidate-actions{display:none}
#photo-crop .crop-rotation{margin:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px}
#photo-crop .crop-rotation output{font-variant-numeric:tabular-nums}
#photo-crop .crop-rotation input{grid-column:1/-1;margin:0;padding:0}
#photo-crop .crop-ellipse-tools{display:grid;gap:6px;min-width:0}
#photo-crop .crop-ellipse-tools p{margin:0;min-width:0;line-height:1.35}
#photo-crop .crop-ellipse-tools button{justify-self:start;min-height:44px;white-space:nowrap}
#photo-crop #crop-ellipse-fit[data-fit-active="true"]{min-height:36px;padding:7px 10px;background:transparent;border-color:#d4ddd2;color:#52675c;font-size:11px}
#photo-crop .crop-circle-recovery{justify-self:start;min-height:38px;padding:8px 11px;background:transparent;border-color:#d4ddd2;color:#52675c}
#photo-crop #crop-ellipse-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:0;min-width:0;margin:0;padding:8px 10px;border:1px solid #ced8ce;border-radius:9px}
#photo-crop #crop-ellipse-controls[hidden]{display:none}
#photo-crop .crop-fine{padding:4px 0 0;border:0}
#photo-crop .crop-fine summary{min-height:42px;display:flex;align-items:center;font-weight:700}
#photo-crop .crop-fine>p{margin:2px 0 8px}
#photo-crop .crop-ellipse-ranges{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}
#photo-crop .crop-ellipse-ranges label{min-width:0;margin:0;font-size:12px}
#photo-crop .crop-ellipse-ranges output{font-variant-numeric:tabular-nums}
#photo-crop .crop-ellipse-ranges input{margin:5px 0 0;padding:0}
#photo-crop .crop-ellipse-ranges .crop-ellipse-tilt{grid-column:1/-1}
#photo-crop .crop-actions{position:relative;z-index:5;padding-top:8px;border-top:1px solid #e1e6dd;background:#fffef8}
#photo-crop .crop-actions .primary{min-height:52px}
@media(max-width:700px){
  #photo-crop{width:calc(100vw - 14px);max-height:calc(100dvh - 14px)}
  #photo-crop .crop-shell{height:calc(100dvh - 16px);padding:12px;gap:7px}
  #photo-crop .crop-preview{gap:4px}
  #photo-crop .crop-editor{gap:8px}
  #photo-crop .crop-heading h2{font-size:23px}
  #photo-crop .crop-stage{max-width:100%;max-height:100%;aspect-ratio:1}
  #photo-crop .crop-ellipse-tools p{font-size:11px}
  #photo-crop .crop-ellipse-ranges{gap:9px 12px}
  #photo-crop .crop-actions{padding-top:7px}
  #photo-crop .crop-actions .primary{margin:0;width:100%;min-height:50px}
}
@media(max-width:390px){#photo-crop .crop-shell{padding:10px}}

/* Passive refinement projection; original editor and its gestures remain visible. */
#photo-crop{width:min(1060px,calc(100vw - 20px));overflow-y:auto}
#photo-crop .crop-shell{height:auto;min-height:0;overflow:visible;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);grid-template-rows:auto auto auto auto}
#photo-crop .crop-heading{grid-column:1/-1}
#photo-crop .refinement-preview{grid-column:1;grid-row:2/4;min-width:0;margin:0;align-self:start}
#photo-crop .refinement-preview h3,#photo-crop .crop-comparison-title{font-size:12px;line-height:1.5;margin:0 0 7px;font-weight:700}
#photo-crop .refinement-preview canvas{display:block;width:100%;height:auto;aspect-ratio:1;border-radius:14px;background:#dfe5db;pointer-events:none}
#photo-crop .refinement-preview p{margin:8px 0 0;line-height:1.4}
#photo-crop .crop-preview{grid-column:2;grid-row:2;display:block}
#photo-crop .crop-editor{grid-column:2;grid-row:3;overflow:visible;scrollbar-gutter:auto}
#photo-crop .crop-actions{grid-column:1/-1;grid-row:4}
@media(max-width:700px){
  #photo-crop .crop-shell{height:auto;display:flex;flex-direction:column;padding:12px}
  #photo-crop .refinement-preview{width:100%}
  #photo-crop .refinement-preview canvas{max-height:none}
  #photo-crop .crop-preview{width:100%;margin-top:10px}
  #photo-crop .crop-editor{flex:none;overflow:visible}
  #photo-crop .crop-actions{flex:none}
}

/* Eight actual boundary buttons; dots remain small while targets are generous. */
.refinement-stage{position:relative;isolation:isolate}
.refinement-handles{position:absolute;inset:0;pointer-events:none}
#photo-crop .refinement-dot{position:absolute;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;translate:-50% -50%;border:0;border-radius:50%;background:transparent;pointer-events:auto;touch-action:none;cursor:grab;box-shadow:none}
#photo-crop .refinement-dot::after{content:'';position:absolute;left:50%;top:50%;translate:-50% -50%;width:6px;height:6px;border:1.5px solid #173a30;border-radius:50%;background:#fff;box-sizing:border-box}
#photo-crop .refinement-dot:focus-visible{outline:2px solid #173a30;outline-offset:-3px;background:#fff9;box-shadow:0 0 0 2px #fff}
#photo-crop .refinement-dot[data-dragging=true]{cursor:grabbing;background:#ffffff30}
#photo-crop .refinement-dot:disabled{cursor:default}
.refinement-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.refinement-actions button{min-height:44px;font-size:11px}

.refinement-loupe{position:absolute!important;width:min(128px,34%)!important;height:auto!important;aspect-ratio:1;border:2px solid #fff;box-shadow:0 0 0 1px #173a30;border-radius:10px!important;pointer-events:none;z-index:2}
.refinement-loupe[hidden]{display:none!important}
.refinement-handles{z-index:3}

.refinement-result:empty{display:none}

#photo-crop .refinement-dot::after{width:8px;height:8px;background:#8c9690}
#photo-crop .refinement-dot[data-movement=direct]::after{background:#e48a28}
#photo-crop .refinement-dot[data-movement=indirect]::after{background:#3885c7}
.refinement-dot-legend{margin-top:9px;font-size:11px;line-height:1.5}
.refinement-dot-legend h4{font-size:11px;margin:0 0 4px}
#photo-crop .refinement-dot-legend p{margin:0}
.dot-key{display:inline-block;width:8px;height:8px;vertical-align:middle;margin:0 3px 0 7px;border:1px solid #173a30;border-radius:50%;background:#8c9690}
.dot-key:first-child{margin-left:0}.dot-key.direct{background:#e48a28}.dot-key.indirect{background:#3885c7}
.refinement-dot-readout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 10px;margin:5px 0 0;padding:0;list-style:none;font-size:10px}
@media(max-width:300px){.refinement-dot-readout{grid-template-columns:minmax(0,1fr)}}

/* Simple default refinement, with preserved comparison/precision controls. */
#photo-crop .crop-comparison{grid-column:2;grid-row:2/4;min-width:0;align-self:start}
#photo-crop .crop-comparison>summary{min-height:44px;display:list-item;padding:10px 0;font-size:12px;font-weight:650;cursor:pointer}
#photo-crop .crop-comparison .crop-preview{margin-top:8px}
#photo-crop .refinement-dot-legend[hidden]{display:none}
.refinement-announcement{position:absolute!important;width:1px;height:1px;padding:0!important;margin:-1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:700px){#photo-crop .crop-comparison{width:100%}}

.plastic-field{grid-column:1/-1}.plastic-field input{width:100%}
