/* Retail workspaces extend the existing Opium components and tokens. */
.retail-rack{overflow:hidden}.rack-revision{display:inline-block;margin-left:7px;padding:1px 6px;border:1px solid var(--ods-border);border-radius:4px;font-family:var(--ods-font-mono);font-size:10px;color:var(--ods-text-muted)}.rack-closed{display:flex;align-items:center;gap:15px;padding:26px 22px;background:var(--ods-neutral-25)}.rack-closed-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--ods-border);border-radius:8px;background:var(--ods-white);color:var(--ods-violet)}.rack-closed-icon svg{width:22px;height:22px}.rack-closed strong{font-size:12px;font-weight:600}.rack-closed p{font-size:12px;color:var(--ods-text-muted);margin:6px 0 0;line-height:1.6}.rack-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding:14px 18px;border-bottom:1px solid var(--ods-border)}.rack-draft-state{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.rack-draft-state>span:last-child{font-size:11px;line-height:1.6;color:var(--ods-text-muted)}.rack-error{padding:13px 18px;font-size:12px;line-height:1.6;background:var(--ods-orange-100);color:var(--ods-orange-700);border-bottom:1px solid var(--ods-border)}.rack-scroll{overflow:auto;background:var(--ods-neutral-25);padding:24px 20px 5px;max-height:820px}.rack-row{display:flex;align-items:stretch;min-width:fit-content;position:relative;padding-bottom:22px}.rack-row-title{position:sticky;left:-20px;z-index:1;flex:0 0 54px;padding:16px 9px 15px 0;background:var(--ods-neutral-25);align-self:stretch;display:flex;flex-direction:column;gap:6px;color:var(--ods-text-muted)}.rack-row-title span{font-size:8px;letter-spacing:.08em;font-family:var(--ods-font-mono)}.rack-row-title strong{font-size:19px;font-family:var(--ods-font-mono);font-weight:400;color:var(--ods-neutral-500)}.rack-row-slots{flex:1;display:grid;gap:9px;padding:8px 10px 16px;background:linear-gradient(to bottom,transparent 0,transparent calc(100% - 13px),var(--ods-neutral-200) calc(100% - 13px),var(--ods-neutral-100) calc(100% - 6px),var(--ods-neutral-300) calc(100% - 6px));border-radius:4px;min-width:0}.rack-slot{display:flex;flex-direction:column;position:relative;border:1px solid var(--ods-border);border-radius:6px;background:var(--ods-white);min-height:214px;min-width:0;outline-offset:2px;transition:border-color .12s,box-shadow .12s}.rack-slot.is-selected{border-color:var(--ods-violet);box-shadow:0 0 0 2px var(--ods-violet-border)}.rack-slot.is-drop-target{border-color:var(--ods-violet);outline:2px solid var(--ods-violet);background:var(--ods-violet-surface)}.rack-slot.is-empty{background:#ffffff80;border-style:dashed}.rack-coordinate{position:absolute;top:8px;right:8px;font-size:9px;line-height:1.4;font-family:var(--ods-font-mono);color:var(--ods-neutral-500)}.rack-product{padding:14px 12px 10px;min-height:116px;display:flex;flex-direction:column;gap:6px;position:relative}.rack-product-marker{color:var(--ods-violet);display:block;height:19px}.rack-product-marker svg{width:18px;height:18px}.rack-product>strong{font-size:12px;line-height:1.5;overflow-wrap:anywhere;padding-right:2px}.rack-product>span:not(.rack-product-marker){font-size:10px;color:var(--ods-text-muted);line-height:1.4;min-height:14px}.rack-product>b{font-size:17px;line-height:1.3;font-weight:600;color:var(--ods-text);font-variant-numeric:tabular-nums}.rack-price-edit{position:absolute;right:9px;bottom:9px;padding:3px 0;background:transparent;border:0;font-family:var(--ods-font-sans);font-size:10px;color:var(--ods-violet);text-decoration:underline;text-underline-offset:3px;cursor:pointer}.rack-tag{margin:auto 7px 7px;padding:5px;background:var(--ods-neutral-75);border:1px solid var(--ods-neutral-300);border-radius:5px;display:flex;flex-direction:column;align-items:stretch;gap:5px;min-width:0;text-align:left;color:var(--ods-text);cursor:pointer}.rack-tag[draggable=true]{cursor:grab}.rack-tag[draggable=true]:active{cursor:grabbing}.rack-tag.is-dragging{opacity:.4}.rack-tag-screen{background:white;display:flex;align-items:center;justify-content:center;height:66px;border:1px solid var(--ods-neutral-200);overflow:hidden}.rack-tag-screen img{max-height:100%;max-width:100%;object-fit:contain;image-rendering:pixelated}.rack-no-screen{font-size:9px;padding:8px;text-align:center;color:var(--ods-text-muted);line-height:1.5}.rack-tag-id{display:flex;justify-content:space-between;gap:5px;font-size:9px;line-height:1.5;font-family:var(--ods-font-mono)}.rack-tag-id small{font-size:8px;color:var(--ods-text-muted)}.rack-add{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;background:transparent;border:0;min-height:212px;flex:1;color:var(--ods-text-muted);font-family:var(--ods-font-sans);font-size:11px;padding:20px;cursor:pointer}.rack-add>span:first-child{display:grid;place-items:center;border:1px solid var(--ods-neutral-300);background:#fff;border-radius:6px;width:30px;height:30px;font-size:21px;font-weight:300;line-height:1}.rack-add:hover{color:var(--ods-violet);background:var(--ods-violet-surface)}.rack-add:disabled{cursor:default}.rack-selection{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 18px;min-height:64px;border-top:1px solid var(--ods-border);background:var(--ods-white)}.rack-selection>span{font-size:12px;color:var(--ods-text-muted);line-height:1.6}.rack-selection-info{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:11px;color:var(--ods-text-muted)}.rack-selection-info strong{color:var(--ods-text);font-size:12px}.rack-selection-info .mono{font-size:10px}.rack-selection-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.rack-arrows{display:flex;gap:4px;margin-right:4px}.rack-arrow{min-width:32px!important;width:32px;padding:0!important;font-size:17px!important;line-height:1}.rack-preview-note{margin:0;padding:0 18px 14px;font-size:10px;line-height:1.6;color:var(--ods-text-muted)}.retail-intro{font-size:13px;line-height:1.7;margin:0 0 18px;color:var(--ods-text-muted)}.retail-summary{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--ods-border);border-radius:6px;background:var(--ods-neutral-25);padding:13px 15px;margin-bottom:18px;font-size:12px}.retail-summary strong{font-size:20px}.retail-styles-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.retail-style-card{display:flex;flex-direction:column}.retail-style-card footer{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid var(--ods-border);padding:12px 14px;flex-wrap:wrap;margin-top:auto}.retail-style-card footer .badge{font-size:9px}.retail-style-description{padding:16px}.retail-style-description h2{font-size:14px;line-height:1.5;margin:0 0 6px;font-weight:600}.retail-style-description p{font-size:12px;line-height:1.65;color:var(--ods-text-muted);margin:0}.style-schematic{position:relative;background:white;aspect-ratio:2.05;margin:22px 19px 4px;border:1px solid var(--ods-neutral-300);border-radius:3px;padding:12px;box-shadow:0 0 0 6px var(--ods-neutral-75);overflow:hidden;display:flex;flex-direction:column}.style-name-lines{display:flex;flex-direction:column;gap:4px;width:74%;margin-top:3px}.style-name-lines i{display:block;height:5px;background:var(--ods-neutral-700);max-width:100%}.style-name-lines i:last-child{width:65%;height:4px;background:var(--ods-neutral-500)}.style-price-shape{display:block;margin-top:auto;width:51%;height:23px;background:var(--ods-neutral-900);clip-path:polygon(0 0,31% 0,31% 65%,37% 65%,37% 0,66% 0,66% 65%,72% 65%,72% 0,100% 0,100% 100%,0 100%)}.style-schematic-footer{margin-top:8px;padding-top:4px;border-top:1px solid var(--ods-neutral-300);display:flex;justify-content:space-between;align-items:center;gap:5px}.style-schematic-footer i{width:26%;height:3px;background:var(--ods-neutral-400)}.style-schematic-footer img{width:41%;height:auto;max-height:12px}.style-banner{margin:-12px -12px 7px;padding:4px 9px;background:#111;color:white;font-size:8px;line-height:1.3;letter-spacing:.06em;font-weight:600}.style-bakery-mark{font-size:15px;line-height:13px;margin-top:-2px;margin-bottom:6px;display:flex;gap:5px;align-items:center}.style-bakery-mark span{font-size:7px;letter-spacing:.12em;font-weight:600}.style-minimal .style-name-lines i{height:3px}.style-minimal .style-name-lines i:last-child{display:none}.style-minimal .style-schematic-footer{border:0}.retail-style-help{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:24px;padding:23px 24px}.retail-style-help h2{font-size:14px;margin:0 0 8px;font-weight:600;line-height:1.5}.retail-style-help p{font-size:12px;color:var(--ods-text-muted);line-height:1.7;margin:0;max-width:480px}.screen-mode-examples{display:flex;gap:23px;flex:0 0 auto}.screen-mode-examples>div{display:flex;flex-direction:column;align-items:center;gap:9px;font-size:10px;color:var(--ods-text-muted)}.screen-mode-icon{display:flex;width:45px;height:28px;gap:2px;border:1px solid currentColor;border-radius:3px;padding:3px;color:var(--ods-violet);box-sizing:border-box;flex:0 0 auto}.screen-mode-icon i{display:block;background:currentColor;opacity:.32;flex:1;border-radius:1px}.screen-mode-icon.mode-split-horizontal{flex-direction:column}.retail-screen-dialog{width:min(1040px,calc(100vw - 28px))!important;max-width:1040px!important}.screen-studio{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,1fr);gap:25px;align-items:start}.screen-studio-preview{position:sticky;top:0}.screen-preview-heading{display:flex;justify-content:space-between;gap:10px;font-size:10px;font-family:var(--ods-font-mono);color:var(--ods-text-muted);line-height:1.6;margin:0 0 11px}.screen-preview-stage{min-height:250px;display:flex;justify-content:center;align-items:center;padding:28px;background:var(--ods-neutral-75);border:1px solid var(--ods-border);border-radius:7px}.screen-preview-stage img{width:auto;height:auto;max-width:100%;max-height:340px;border:1px solid var(--ods-neutral-300);background:white;box-shadow:0 5px 18px #28293d14;image-rendering:pixelated}.screen-preview-stage>span{font-size:12px;line-height:1.7;color:var(--ods-text-muted);text-align:center;max-width:240px}.screen-preview-caption{font-size:11px;line-height:1.7;color:var(--ods-text-muted);margin:11px 0}.screen-preview-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.screen-workflow{margin-top:22px;display:flex;flex-direction:column;gap:10px;border-top:1px solid var(--ods-border);padding-top:17px;font-size:11px;color:var(--ods-text-muted)}.screen-studio-settings{min-width:0}.screen-field-label{margin-bottom:9px!important}.screen-mode-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:20px}.screen-mode-button{display:flex;flex-direction:column;align-items:center;gap:10px;background:var(--ods-white);border:1px solid var(--ods-border);border-radius:6px;padding:12px 6px;color:var(--ods-text-muted);font-family:var(--ods-font-sans);cursor:pointer;min-width:0}.screen-mode-button strong{font-size:10px;line-height:1.5;font-weight:500}.screen-mode-button .screen-mode-icon{color:var(--ods-neutral-600)}.screen-mode-button.is-selected{background:var(--ods-violet-surface);border-color:var(--ods-violet);color:var(--ods-violet)}.screen-mode-button.is-selected .screen-mode-icon{color:var(--ods-violet)}.screen-slot-fields{border:1px solid var(--ods-border);border-radius:6px;padding:15px;margin-top:12px;background:var(--ods-neutral-25)}.screen-slot-heading{display:flex;align-items:center;gap:8px;margin-bottom:15px}.screen-slot-heading>span{width:21px;height:21px;display:grid;place-items:center;border-radius:5px;border:1px solid var(--ods-violet-border);background:var(--ods-violet-surface);color:var(--ods-violet);font-family:var(--ods-font-mono);font-size:10px}.screen-slot-heading h3{margin:0;font-size:12px;font-weight:600}.screen-slot-fields label:last-child{margin-bottom:0}.screen-product-meta{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap;margin:-5px 0 15px}.screen-product-meta strong{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}.screen-product-meta span{font-size:10px;color:var(--ods-text-muted);line-height:1.7}.screen-product-search-state{font-size:10px;line-height:1.7;color:var(--ods-text-muted);margin-bottom:0}.screen-publication{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,1fr);gap:25px}.screen-publication-image{display:flex;align-items:center;justify-content:center;align-self:start;background:var(--ods-neutral-75);border:1px solid var(--ods-border);border-radius:7px;padding:24px;min-height:200px}.screen-publication-image img{max-width:100%;max-height:300px;background:white;image-rendering:pixelated;border:1px solid var(--ods-neutral-300)}.screen-publication-product{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:0 0 15px;margin-bottom:15px;border-bottom:1px solid var(--ods-border)}.screen-publication-product>span{font-size:10px;color:var(--ods-text-muted);grid-column:1/-1}.screen-publication-product>strong{font-size:13px;line-height:1.5}.screen-publication-product>b{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}.screen-publication-product>small{font-size:10px;color:var(--ods-text-muted)}.retail-scope-prompt{margin-top:18px}
.rack-slot:focus-visible,.rack-tag:focus-visible,.screen-mode-button:focus-visible,.rack-price-edit:focus-visible{outline:2px solid var(--ods-violet);outline-offset:3px}
@media(max-width:1280px){.retail-styles-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.style-schematic{max-height:150px}.retail-style-help{align-items:flex-start;flex-direction:column}.screen-mode-examples{width:100%;justify-content:space-around}}
@media(max-width:760px){.rack-toolbar{padding:12px 14px;gap:11px}.rack-toolbar>.heading-actions{width:100%;flex-wrap:wrap}.rack-toolbar>.heading-actions>.button{flex:1;white-space:nowrap;min-height:38px}.rack-draft-state{gap:7px}.rack-draft-state>span:last-child{width:100%;font-size:11px}.rack-scroll{padding:16px 12px 3px;max-height:680px}.rack-row-title{left:-12px;flex-basis:39px;padding-right:5px}.rack-row-title span{font-size:7px}.rack-row-title strong{font-size:17px}.rack-row-slots{gap:8px;padding-left:8px;padding-right:8px}.rack-selection{padding:14px;gap:12px}.rack-selection-info{width:100%;gap:8px}.rack-selection-actions{width:100%;gap:8px}.rack-selection-actions>.button{flex:1;min-width:110px;min-height:38px}.rack-arrows{width:100%;justify-content:center;gap:10px;margin-bottom:5px}.rack-arrow{width:44px!important;min-width:44px!important;height:40px;min-height:40px!important}.rack-preview-note{padding:0 14px 14px;font-size:10px}.rack-closed{padding:20px 16px}.rack-closed-icon{flex:0 0 38px}.retail-styles-grid{gap:11px}.retail-style-description{padding:13px}.retail-style-description h2{font-size:13px}.retail-style-description p{font-size:11px}.retail-style-card footer{padding:11px;gap:8px}.retail-style-card footer>.button{width:100%;min-height:38px}.style-schematic{margin:16px 13px 3px;padding:9px;aspect-ratio:1.7}.style-name-lines{gap:3px}.style-name-lines i{height:4px}.style-price-shape{height:19px}.style-banner{margin:-9px -9px 5px;font-size:7px;padding:3px 7px}.style-bakery-mark{font-size:12px;margin-bottom:4px}.style-bakery-mark span{font-size:6px}.style-schematic-footer{margin-top:6px}.style-schematic-footer img{width:45%}.retail-style-help{padding:19px 17px;margin-top:18px;gap:20px}.screen-mode-examples{gap:10px}.screen-mode-examples>div{font-size:9px;text-align:center;line-height:1.5}.retail-screen-dialog{width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important}.screen-studio{grid-template-columns:1fr;gap:22px}.screen-studio-preview{position:static}.screen-preview-stage{min-height:170px;padding:20px}.screen-preview-stage img{max-height:220px}.screen-preview-heading{font-size:9px}.screen-workflow{display:none}.screen-mode-button{min-height:84px;padding:13px 7px}.screen-mode-button strong{font-size:10px}.screen-slot-fields{padding:14px}.screen-publication{grid-template-columns:1fr;gap:22px}.screen-publication-image{min-height:150px;padding:20px}.screen-publication-image img{max-height:210px}.retail-screen-dialog .modal-footer{gap:8px}.retail-screen-dialog .modal-footer .button{flex:1;min-width:120px}.retail-screen-dialog .modal-footer [data-action=close-dialog]{flex:0 1 auto;min-width:auto}}
@media(prefers-reduced-motion:reduce){.rack-slot{transition:none}}
.rack-price-edit{position:static;align-self:flex-start}
