:root { --studio-blue: #163d62; --studio-cyan: #d9f3f1; --studio-ink: #15212b; --studio-panel: #f4f7f8; --studio-line: #bdcbd2; }
.studio-body { color: var(--studio-ink); background: #fff; }
.current-studio-index{display:grid;place-items:center;min-height:100vh;max-width:76rem;margin:auto}.current-layer-list{display:grid;grid-template-columns:repeat(2,minmax(15rem,22rem));gap:1rem}.current-layer-list a{display:grid;place-items:center;min-height:8rem;padding:1rem;border:1px solid var(--studio-line);color:inherit;background:#fff;text-align:center;text-decoration:none}.current-layer-list a:hover{border-color:var(--studio-blue)}@media(max-width:640px){.current-layer-list{grid-template-columns:1fr}}
.app-detail-shell{min-height:100vh;background:#e7eaec}.app-detail-controls{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.65rem 1rem;border-bottom:1px solid #b8c0c5;background:#fff}.app-detail-controls>a{color:#173f33;font-weight:800}.app-detail-stage{height:calc(100vh - 58px);overflow:auto;padding:1rem}.app-detail-frame{display:block;width:100%;height:max(48rem,calc(100vh - 90px));margin:auto;border:1px solid #7b8f99;background:#fff}.app-detail-frame[data-preview-device="tablet"]{width:min(768px,100%)}.app-detail-frame[data-preview-device="mobile"]{width:min(390px,100%);height:calc(100dvh - 6.5rem);min-height:32rem}
.studio-header { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; padding: 1rem max(1rem, calc((100vw - 76rem) / 2)); color: white; background: #102a43; }
.studio-brand { display: block; color: white; font-size: 1.25rem; font-weight: 900; text-decoration: none; }
.studio-brand span { display: block; color: #bde8e5; font-size: .8rem; letter-spacing: .04em; }
.private-label, .preview-id, .sample-warning { font-size: .75rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.private-label { display: inline-block; margin-top: .5rem; padding: .25rem .55rem; border: 1px solid #f3cc74; color: #fff1be; }
.studio-header nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .3rem; }
.studio-header nav a { min-height: 2.8rem; padding: .65rem .75rem; border-radius: .5rem; color: white; font-weight: 750; text-decoration: none; }
.studio-header nav a:hover { background: rgba(255,255,255,.12); }
.studio-hero, .studio-page-hero, .studio-section, .studio-layout, .backend-contract, .request-redirect, .workflow, .storefront-cover { padding: clamp(2rem, 5vw, 4rem) max(1rem, calc((100vw - 76rem) / 2)); }
.studio-hero, .studio-page-hero { background: linear-gradient(135deg, var(--studio-cyan), #eef5cb); }
.studio-page-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; }
.studio-hero h1, .studio-page-hero h1, .storefront-cover h1 { max-width: 18ch; margin: .4rem 0; font-size: clamp(2.3rem, 5vw, 4.6rem); }
.studio-hero > p, .studio-page-hero > div > p { max-width: 52rem; font-size: 1.12rem; }
.preview-id { margin: 0 0 .4rem; color: #345260; }
.studio-subtitle { margin: .2rem 0; color: var(--studio-blue); font-size: clamp(1.25rem, 3vw, 2rem) !important; font-weight: 850; }
.status { display: inline-block; padding: .3rem .55rem; border: 1px solid #66808d; border-radius: 99rem; color: #263f4a; background: #edf3f5; font-size: .75rem; font-weight: 850; }
.status-implemented, .status-connected-to-real-data { border-color: #276c4c; color: #154b34; background: #dff4e8; }
.status-prototype { border-color: #77651a; color: #564600; background: #fff3b8; }
.status-planned, .status-deferred { background: #eeeaf8; }
.status-blocked { border-color: #9d3030; color: #711c1c; background: #ffe8e8; }
.studio-grid, .listing-preview-grid, .gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.studio-card, .listing-preview, .result-card, .filter-panel, .store-summary, .preview-form { padding: 1.2rem; border: 1px solid var(--studio-line); border-radius: .9rem; background: white; box-shadow: 0 .2rem .8rem rgba(20,40,52,.07); }
a.studio-card { color: inherit; text-decoration: none; }
.studio-card h3 { margin-bottom: .3rem; }
.studio-note { background: var(--studio-panel); }
.studio-toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; padding: 1.2rem max(1rem, calc((100vw - 76rem) / 2)); border-block: 1px solid var(--studio-line); background: white; }
.studio-toolbar label, .studio-toolbar fieldset { min-width: min(100%, 13rem); margin: 0; }
.studio-toolbar label, .preview-form label, .filter-panel label { display: grid; gap: .3rem; font-weight: 750; }
.studio-toolbar input, .studio-toolbar select, .preview-form input, .preview-form select, .preview-form textarea { width: 100%; min-height: 3rem; padding: .65rem; border: 1px solid #647781; border-radius: .45rem; font: inherit; font-size: 1rem; }
.studio-toolbar button, .studio-card button, .listing-preview button, .result-card button, .filter-panel button, .preview-form button, .studio-section button { min-height: 3rem; padding: .65rem .85rem; border: 1px solid var(--studio-blue); border-radius: .5rem; color: white; background: var(--studio-blue); font: inherit; font-weight: 800; }
button:disabled { border-color: #89969c; color: #4e5a60; background: #e5eaec; cursor: not-allowed; }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
.sample-warning { color: #7a3e00; }
.result-list { display: grid; gap: 1rem; }
.result-card { display: grid; grid-template-columns: minmax(8rem, .35fr) 1fr; gap: 1.2rem; }
.image-placeholder, .map-placeholder, .profile-placeholder, .video-placeholder { display: grid; place-items: center; min-height: 11rem; padding: 1rem; border: 2px dashed #78909a; border-radius: .7rem; color: #38535f; background: repeating-linear-gradient(135deg,#edf4f5,#edf4f5 12px,#e4edef 12px,#e4edef 24px); text-align: center; }
.map-placeholder { min-height: 17rem; }
.profile-placeholder { min-height: 18rem; }
.video-placeholder { min-height: 20rem; color: white; background: #182b3a; }
.badge-row, .card-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: .8rem; }
.badge-row span { padding: .35rem .55rem; border-radius: .4rem; background: #e6f0d0; font-size: .82rem; font-weight: 750; }
.card-actions { align-items: center; }
.card-price { color: #174f3b; font-size: 1.4rem; font-weight: 900; }
dl { display: grid; grid-template-columns: minmax(7rem,.4fr) 1fr; gap: .4rem 1rem; }
dt { font-weight: 800; }
dd { margin: 0; }
.backend-contract, .request-redirect { border-block: 1px solid #d3b65f; background: #fff6d5; }
.backend-contract h2, .request-redirect h2 { margin-top: 0; }
.studio-layout { display: grid; grid-template-columns: minmax(15rem,.35fr) 1fr; gap: 1.5rem; align-items: start; }
.studio-layout > .studio-section { padding: 0; }
.filter-panel, .store-summary { position: sticky; top: 1rem; }
.filter-panel label { grid-template-columns: auto 1fr; align-items: center; min-height: 2.75rem; margin-block: .35rem; cursor: not-allowed; }
.filter-panel input[type="checkbox"] { inline-size: 1.35rem; block-size: 1.35rem; }
.category-list { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
.category-list button { color: var(--studio-blue); background: white; }
.storefront-cover { color: white; background: linear-gradient(135deg,#173d61,#286d68); }
.storefront-cover .preview-id { color: #d4f2ef; }
.gallery-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.gallery-grid .image-placeholder { min-height: 8rem; }
.video-tour { margin: 1rem 0; padding: clamp(1.2rem,3vw,2rem); border-radius: 1rem; background: #e7eef4; }
.workflow { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.workflow article { padding: 1rem; border: 1px solid var(--studio-line); border-radius: .8rem; }
.workflow article > span { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; color: white; background: var(--studio-blue); font-weight: 900; }
.preview-form { display: grid; gap: 1rem; }
.preview-form fieldset { border: 1px solid var(--studio-line); }
.listing-create-hero { padding: clamp(2rem, 5vw, 4rem) max(1rem, calc((100vw - 64rem) / 2)); background: linear-gradient(135deg,#d9f3f1,#f7f2d6); }
.listing-create-hero h1 { max-width: 20ch; margin: .45rem 0; font-size: clamp(2.4rem,5vw,4.25rem); }
.listing-create-hero > div > p:last-child { max-width: 42rem; font-size: 1.1rem; }
.listing-progress { display: grid; grid-template-columns: repeat(4,1fr); max-width: 36rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.listing-progress li { position: relative; display: grid; gap: .4rem; color: #49616c; font-size: .75rem; font-weight: 800; text-align: center; }
.listing-progress li::before { content: ""; position: absolute; z-index: 0; top: 1rem; left: 0; right: 0; height: 2px; background: #9ab3b6; }
.listing-progress li:first-child::before { left: 50%; }
.listing-progress li:last-child::before { right: 50%; }
.listing-progress span { z-index: 1; display: grid; place-items: center; width: 2rem; height: 2rem; margin: auto; border-radius: 50%; color: white; background: var(--studio-blue); }
.listing-create-shell { max-width: 70rem; margin-inline: auto; }
.listing-create-form { padding: 0; border: 0; box-shadow: none; }
.preview-only-note { display: flex; gap: .75rem 1.25rem; align-items: center; padding: 1rem 1.2rem; border: 1px solid #d3b65f; border-radius: .7rem; background: #fff6d5; }
.preview-only-note strong { white-space: nowrap; }
.listing-section { display: grid; gap: 1.25rem; margin: 0; padding: clamp(1.2rem,3vw,2rem) !important; border-radius: .9rem; background: white; box-shadow: 0 .2rem .8rem rgba(20,40,52,.07); }
.listing-section legend { padding: 0 .6rem; color: var(--studio-blue); font-size: 1.35rem; font-weight: 900; }
.listing-section legend span { display: inline-block; margin-right: .45rem; color: #55707c; font-size: .76rem; letter-spacing: .08em; }
.choice-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
.condition-cards { grid-template-columns: repeat(3,minmax(0,1fr)); }
.preview-form .choice-card { display: block; position: relative; cursor: pointer; }
.choice-card input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; }
.choice-card > span { display: grid; gap: .25rem; min-height: 5rem; padding: 1rem 1rem 1rem 2.8rem; border: 1px solid #82949c; border-radius: .65rem; }
.choice-card > span::before { content: ""; position: absolute; left: 1rem; top: 1.15rem; width: 1rem; height: 1rem; border: 2px solid #647781; border-radius: 50%; background: white; }
.choice-card input:checked + span { border: 2px solid var(--studio-blue); padding: calc(1rem - 1px) calc(1rem - 1px) calc(1rem - 1px) calc(2.8rem - 1px); background: #edf6f5; }
.choice-card input:checked + span::before { border: .32rem solid var(--studio-blue); }
.choice-card input:focus-visible + span { outline: .2rem solid #c07a00; outline-offset: .15rem; }
.choice-card small { color: #49616c; font-weight: 500; }
.group-only { display: grid; grid-template-columns: minmax(12rem,.7fr) 1.3fr; gap: 1rem; }
.required-mark { color: #813727; font-size: .75rem; font-weight: 850; text-transform: uppercase; }
.field-intro { margin: 0; }
.photo-requirement { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border-radius: .55rem; background: #edf3f5; }
.photo-dropzone { display: grid; place-items: center; gap: .25rem; min-height: 9rem !important; border: 2px dashed #57727e !important; color: var(--studio-blue) !important; background: #f8fbfb !important; }
.photo-dropzone small { font-weight: 500; }
.photo-icon { font-size: 2rem; line-height: 1; }
.photo-slots { display: grid; grid-template-columns: repeat(6,1fr); gap: .55rem; }
.photo-slots span { display: grid; place-items: center; min-height: 4rem; border: 1px dashed #7b919a; border-radius: .45rem; color: #49616c; background: #f4f7f8; font-size: .8rem; font-weight: 800; }
.photo-slots .more-photos { border-style: solid; background: #e5eff0; }
.price-fields, .location-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.price-fields > label:only-child { max-width: 24rem; }
.money-input { display: grid; grid-template-columns: 2.5rem 1fr; align-items: center; border: 1px solid #647781; border-radius: .45rem; overflow: hidden; }
.money-input > span { text-align: center; font-size: 1.2rem; }
.preview-form .money-input input { border: 0; border-left: 1px solid var(--studio-line); border-radius: 0; }
.required-emphasis { display: inline-block; padding: .18rem .4rem; border-radius: .3rem; color: #711c1c; background: #ffe8e8; }
.auction-note { margin: 0; padding: 1rem; border-left: .3rem solid #d3a632; background: #fff6d5; }
.location-section > small { color: #49616c; }
.listing-submit-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem; border-top: 1px solid var(--studio-line); }
.listing-submit-row > div { display: grid; gap: .2rem; }
.auth-preview-page { min-height: 70vh; padding: clamp(1.4rem,4vw,2.5rem) 1rem; background: linear-gradient(135deg,#edf8f4,#faf7e8); }
.auth-preview-wrap { width: min(100%, 40rem); margin-inline: auto; }
.auth-preview-wrap-narrow { width: min(100%, 31rem); }
.auth-preview-wrap-wide { width: min(100%, 50rem); }
.auth-wordmark { display: inline-block; margin: 0 0 .75rem; color: #205d48; font-size: .9rem; font-weight: 850; text-decoration: none; }
.auth-wordmark:hover { text-decoration: underline; }
.auth-preview-card { gap: .85rem; padding: clamp(1.1rem,3vw,1.6rem); }
.auth-preview-card h1 { margin: 0; color: #173e31; font-size: clamp(1.55rem,3vw,2rem); line-height: 1.15; }
.auth-preview-note { display: flex; flex-wrap: wrap; gap: .25rem .6rem; padding: .65rem .75rem; border: 1px solid #d3b65f; border-radius: .55rem; background: #fff8dc; font-size: .84rem; }
.auth-field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
.auth-field-grid small { color: #49616c; font-weight: 500; }
.auth-trust-step { display: grid; gap: .5rem; padding-top: .25rem; }
.auth-trust-step p { margin: 0; font-size: .88rem; }
.auth-trust-actions { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.auth-choice-button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.6rem; padding: .5rem .85rem; border: 1px solid var(--studio-blue); border-radius: .55rem; color: var(--studio-blue); background: white; font-weight: 850; text-decoration: none; }
.auth-choice-button:hover { background: #eaf4f2; }
.trust-status { display: inline-flex; align-items: center; min-height: 2.2rem; padding: .35rem .65rem; border: 1px solid #9b6a54; border-radius: 99rem; color: #71412f; background: #fff0e8; font-size: .8rem; font-weight: 850; }
.trust-status.is-agreed { border-color: #387158; color: #20563f; background: #def3e7; }
.auth-primary-action { width: 100%; min-height: 2.8rem !important; }
.auth-switch-link { margin: .1rem 0 0; color: #49616c; font-size: .86rem; text-align: center; }
.auth-switch-link a, .forgot-password-link { color: var(--studio-blue); font-weight: 800; }
.forgot-password-link { justify-self: end; font-size: .85rem; }
.trust-terms-page { padding-top: clamp(.8rem,2vw,1.25rem); padding-bottom: clamp(1rem,2.5vw,1.5rem); }
.trust-terms-page .auth-wordmark { margin-bottom: .35rem; }
.trust-terms-card { display: grid; gap: .65rem; padding: clamp(1rem,2.2vw,1.3rem); }
.trust-terms-card > h1 { max-width: none; font-size: clamp(1.3rem,2vw,1.55rem); line-height: 1.1; white-space: nowrap; }
.trust-terms-list { display: grid; gap: .5rem; margin: 0; padding-left: 1.5rem; font-size: .9rem; }
.trust-terms-list li { padding-left: .2rem; }
.trust-terms-list h2 { margin: 0 0 .12rem; color: #234f40; font-size: .98rem; line-height: 1.2; }
.trust-terms-list p { margin: .1rem 0; line-height: 1.35; }
.trust-agreement { display: flex !important; grid-template-columns: none !important; gap: .7rem !important; align-items: start; padding: .8rem; border: 1px solid #477061; border-radius: .6rem; background: #edf6f2; }
.trust-agreement input { width: 1.15rem !important; min-height: 1.15rem !important; flex: 0 0 auto; margin: .15rem 0 0; }
[hidden] { display: none !important; }
.studio-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 2rem max(1rem, calc((100vw - 76rem) / 2)); color: white; background: #102a43; }
.studio-footer a { color: white; }
.page-preview-workbench { background: #e8eef1; }
.page-preview-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: end; }
.page-preview-heading h2 { margin-bottom: .35rem; }
.page-preview-heading p { max-width: 50rem; margin-block: 0; }
.device-toggle { display: flex; flex-wrap: wrap; gap: .45rem; }
.studio-section .device-toggle-button { min-height: 2.75rem; color: var(--studio-blue); background: white; }
.studio-section .device-toggle-button:hover { background: #e5f1f4; }
.studio-section .device-toggle-button.is-active { color: white; background: var(--studio-blue); }
.studio-section .device-toggle-button:focus-visible { outline: .2rem solid #c07a00; outline-offset: .15rem; }
.page-preview-size { margin-block: 1rem .65rem; color: #345260; font-weight: 850; }
.page-preview-stage { width: 100%; overflow-x: auto; padding: clamp(.6rem, 2vw, 1.2rem); border: 1px solid var(--studio-line); border-radius: .9rem; background: #cbd6db; }
.page-preview-frame { display: block; width: 100%; max-width: 100%; height: max(42rem, 75vh); margin-inline: auto; border: 1px solid #7b8f99; border-radius: .45rem; background: white; box-shadow: 0 .35rem 1rem rgba(20, 40, 52, .18); transition: width 180ms ease; }
.page-preview-frame[data-preview-device="tablet"] { width: min(768px, 100%); }
.page-preview-frame[data-preview-device="mobile"] { width: min(390px, 100%); }

.regular-storefront { min-height: 100vh; padding: clamp(.8rem, 2.5vw, 1.5rem); background: linear-gradient(135deg,#edf8f4,#faf7e8); }
.storefront-minimal-heading, .storefront-card { width: min(100%, 58rem); margin-inline: auto; }
.storefront-minimal-heading { margin-bottom: .7rem; }
.storefront-minimal-heading a { color: var(--forest); font-weight: 900; text-decoration: none; }
.storefront-minimal-heading h1 { max-width: none; margin-top: .2rem; font-size: clamp(1.55rem,3vw,2.2rem); }
.storefront-card { margin-bottom: .8rem; padding: clamp(.85rem,2vw,1.25rem); border: 1px solid var(--border); border-radius: 1rem; background: #fff; box-shadow: 0 .3rem 1.1rem rgba(15,57,43,.08); }
.storefront-card h2, .storefront-card h3, .storefront-card p { margin-top: 0; }
.storefront-card h2 { margin-bottom: .2rem; font-size: clamp(1.3rem,2.2vw,1.7rem); }
.storefront-toggle { display: flex; width: 100%; justify-content: space-between; gap: .75rem; padding: .7rem; border: 0; border-radius: .65rem; color: var(--forest-dark); background: #edf6d2; font-weight: 850; text-align: left; cursor: pointer; }
.storefront-toggle span { color: var(--muted); font-size: .85rem; font-weight: 600; }
.compact-form, .listing-editor { display: grid; gap: .55rem; margin-top: .75rem; }
.compact-form label, .listing-editor label { font-weight: 750; }
.compact-form input, .compact-form textarea, .listing-editor input, .listing-editor textarea { width: 100%; padding: .55rem .65rem; border: 1px solid #66736b; border-radius: .55rem; }
.compact-button { min-height: 2.65rem; padding: .55rem .8rem; font-size: .9rem; }
.card-heading { display: flex; justify-content: space-between; gap: 1rem; }
.card-heading p { color: var(--muted); font-size: .9rem; }
.inline-upload { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.storefront-gallery { display: grid; grid-template-columns: repeat(auto-fill,minmax(9rem,1fr)); gap: .65rem; }
.storefront-gallery figure { margin: 0; padding: .4rem; border: 1px solid var(--border); border-radius: .7rem; }
.gallery-open { width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-open img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: .45rem; }
.storefront-gallery figcaption { margin-top: .3rem; color: var(--muted); font-size: .75rem; }
.storefront-lightbox { width: min(94vw, 80rem); border: 0; border-radius: .8rem; background: #111; }
.storefront-lightbox::backdrop { background: rgba(0,0,0,.8); }
.storefront-lightbox img { display: block; max-width: 100%; max-height: 84vh; margin: auto; }
.storefront-lightbox button { float: right; margin-bottom: .5rem; }
.video-slot-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
.video-slot { padding: .75rem; border: 1px solid var(--border); border-radius: .75rem; background: var(--surface); }
.video-slot mux-player { width: 100%; aspect-ratio: 16/9; }
.video-slot input[type=file] { max-width: 100%; }
.video-slot progress { width: 100%; }
.structured-list { display: grid; gap: .45rem; margin-top: .85rem; }
.structured-list article { border: 1px solid var(--border); border-radius: .65rem; overflow: hidden; }
.listing-title { width: 100%; padding: .65rem .75rem; border: 0; color: var(--forest-dark); background: #edf6d2; font-weight: 850; text-align: left; cursor: pointer; }
.listing-detail { padding: .75rem; }
.listing-price { font-size: 1.1rem; font-weight: 900; }
.text-action { padding: .35rem 0; border: 0; color: #7a1d1d; background: transparent; font-weight: 750; text-decoration: underline; cursor: pointer; }
.storefront-message { width: min(100%,58rem); margin: 0 auto .7rem; padding: .65rem .8rem; border-left: .3rem solid var(--forest); background: #edf6d2; }
.storefront-message.error { border-color: #a72828; background: #fff0f0; }
@media (max-width: 38rem) { .video-slot-grid { grid-template-columns: 1fr; } .storefront-toggle { display: grid; } }

@media (max-width: 52rem) {
  .studio-header, .studio-page-hero, .studio-layout { grid-template-columns: 1fr; }
  .studio-header nav { justify-content: flex-start; }
  .studio-grid, .listing-preview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .filter-panel, .store-summary { position: static; }
  .trust-terms-card > h1 { white-space: normal; }
}
@media (max-width: 38rem) {
  .studio-grid, .listing-preview-grid, .gallery-grid, .workflow, .result-card { grid-template-columns: 1fr; }
  .studio-header nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; }
  .studio-header nav a { min-height: 3rem; text-align: center; }
  .studio-toolbar { display: grid; grid-template-columns: 1fr; }
  .studio-toolbar label, .studio-toolbar fieldset, .studio-toolbar button { width: 100%; }
  .studio-footer { display: grid; }
  .device-toggle, .device-toggle-button { width: 100%; }
  dl { grid-template-columns: 1fr; }
  dd { margin-bottom: .6rem; }
  .choice-cards, .condition-cards, .group-only, .price-fields, .location-fields, .auth-field-grid { grid-template-columns: 1fr; }
  .photo-slots { grid-template-columns: repeat(3,1fr); }
  .photo-requirement, .preview-only-note, .listing-submit-row { align-items: stretch; flex-direction: column; }
  .listing-submit-row button { width: 100%; }
}
@media (max-width: 22rem) {
  .studio-header nav { grid-template-columns: 1fr; }
  .studio-hero, .studio-page-hero, .studio-section, .studio-layout, .backend-contract, .request-redirect, .workflow, .storefront-cover { padding-inline: .85rem; }
}

/* 2026 professional seller operations workbench. */
.regular-storefront { padding: 0 0 4rem; color: #18231f; background: #f3f5f2; }
.seller-workbench-header { display: flex; justify-content: space-between; align-items: center; gap: 2rem; width: 100%; padding: 1.25rem clamp(1rem,3vw,3rem); border-bottom: 1px solid #c9d0cb; background: #fff; }
.seller-workbench-header h1 { max-width: none; margin: .15rem 0; font-size: clamp(1.8rem,3vw,2.5rem); letter-spacing: -.035em; }
.seller-workbench-header p { margin: 0; color: #56635d; }
.seller-workbench-header nav { display: flex; flex-wrap: wrap; gap: .45rem; }
.seller-workbench-header nav a { padding: .65rem .85rem; border: 1px solid #aab5af; border-radius: .45rem; color: #173f33; background: #fff; font-weight: 750; text-decoration: none; }
.seller-workbench-header nav a:hover, .seller-workbench-header nav .seller-view-active { border-color: #173f33; color: #fff; background: #173f33; }
.workbench-kicker { margin: 0; color: #567167; font-size: .72rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.seller-task-strip, .storefront-card, .storefront-message { width: calc(100% - clamp(2rem,6vw,6rem)); max-width: none; margin-inline: auto; }
.seller-task-strip { display: grid; grid-template-columns: minmax(12rem,.35fr) 1fr; gap: 2rem; margin-block: 1.25rem; padding: 1.25rem; border: 1px solid #ccd3cf; border-radius: .6rem; background: #fff; }
.seller-task-strip h2 { margin: .2rem 0; font-size: 1.45rem; }
.seller-task-strip ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; margin: 0; padding: 0; list-style: none; }
.seller-task-strip li { display: grid; grid-template-columns: auto 1fr; gap: .05rem .65rem; padding: .8rem; border-left: 3px solid #b47a22; background: #f8f6ef; }
.seller-task-strip li strong { grid-row: span 2; font-size: 1.7rem; line-height: 1; }
.seller-task-strip li span { color: #55625c; font-size: .82rem; }
.seller-task-strip li a { font-size: .82rem; font-weight: 800; }
.storefront-card { margin-bottom: 1rem; border-radius: .6rem; box-shadow: none; }
.seller-inventory-card { padding: 0; overflow: hidden; }
.inventory-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: start; padding: 1.25rem; }
.inventory-heading h2 { margin: .2rem 0; font-size: 1.65rem; }
.inventory-heading p { margin: 0; color: #5b6761; }
.add-listing-panel { position: relative; }
.add-listing-panel summary { padding: .65rem .9rem; border-radius: .4rem; color: #fff; background: #173f33; font-weight: 800; cursor: pointer; }
.add-listing-panel[open] { width: min(34rem,100%); }
.add-listing-panel[open] .listing-editor { position: absolute; z-index: 4; right: 0; width: min(34rem,90vw); padding: 1rem; border: 1px solid #aab5af; background: #fff; box-shadow: 0 1rem 2rem rgba(20,35,29,.18); }
.inventory-search { display: grid; grid-template-columns: auto minmax(18rem,34rem); align-items: center; gap: .7rem; padding: 0 1.25rem 1rem; }
.inventory-search label { font-weight: 800; }
.inventory-search > div { display: flex; gap: .4rem; }
.inventory-search input { flex: 1; min-width: 0; padding: .58rem .7rem; border: 1px solid #8d9992; border-radius: .35rem; }
.inventory-search button, .bulk-toolbar button { padding: .55rem .8rem; border: 1px solid #173f33; border-radius: .35rem; color: #fff; background: #173f33; font-weight: 800; }
.inventory-tabs { display: flex; gap: 0; padding-inline: 1.25rem; border-bottom: 1px solid #ccd3cf; }
.inventory-tabs a { padding: .7rem 1rem; color: #33433c; font-weight: 750; text-decoration: none; }
.inventory-tabs a[aria-current=page] { border-bottom: 3px solid #173f33; color: #173f33; }
.inventory-tabs span { margin-left: .3rem; padding: .12rem .42rem; border-radius: 99rem; background: #e5eae7; font-size: .75rem; }
.bulk-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: .65rem; padding: .8rem 1.25rem; background: #eef1ef; }
.bulk-toolbar > strong { align-self: center; min-width: 6rem; }
.bulk-toolbar label { display: grid; gap: .2rem; color: #4b5a53; font-size: .72rem; font-weight: 800; }
.bulk-toolbar select, .bulk-toolbar input { min-height: 2.35rem; padding: .35rem .5rem; border: 1px solid #8d9992; border-radius: .3rem; background: #fff; }
.bulk-toolbar button:disabled { opacity: .45; }
.inventory-table-wrap { overflow-x: auto; }
.inventory-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.inventory-table th { padding: .65rem .75rem; color: #526159; background: #fafbfa; font-size: .72rem; letter-spacing: .04em; text-align: left; text-transform: uppercase; }
.inventory-table td { padding: .75rem; border-top: 1px solid #d8ded9; vertical-align: top; }
.inventory-table td strong, .inventory-table td small { display: block; }
.inventory-table td small { max-width: 42rem; margin-top: .18rem; color: #68736d; }
.inventory-table tbody tr:hover:not(.inventory-edit-row) { background: #f7f9f7; }
.status-chip { display: inline-block; padding: .2rem .48rem; border-radius: 99rem; font-size: .72rem; font-weight: 850; }
.status-active { color: #12543e; background: #dff3e9; }.status-sold { color: #535a57; background: #e8ebea; }.status-inactive { color: #7a4d0e; background: #faedcf; }
.row-actions summary { color: #174f3b; font-weight: 800; cursor: pointer; }.row-actions div { display: grid; gap: .3rem; min-width: 8rem; padding-top: .4rem; }.row-actions button { padding: 0; border: 0; color: #174f3b; background: none; font: inherit; text-align: left; text-decoration: underline; cursor: pointer; }
.inventory-edit-row td { background: #f5f7f5; }.inventory-edit-row .compact-form { grid-template-columns: 1fr 2fr .6fr 1fr auto; align-items: end; }.inventory-edit-row textarea { min-height: 2.7rem; height: 2.7rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
@media(max-width:60rem){.seller-workbench-header{align-items:flex-start;flex-direction:column}.seller-task-strip{grid-template-columns:1fr}.seller-task-strip ul{grid-template-columns:1fr}.inventory-edit-row .compact-form{grid-template-columns:1fr 1fr}.inventory-search{grid-template-columns:1fr}.inventory-table{min-width:52rem}}
.auth-primary-action,.listing-submit-row button,.inventory-search button,.bulk-toolbar button,.compact-form button,.card-actions button:not(:disabled){width:max-content!important;min-width:0!important;max-width:100%;padding:.62rem .95rem;border-color:#3f765d!important;color:#fff;background:#4f8f72!important}
