/* ==========================================================================
   Wear Human — artist studio + admin console
   ========================================================================== */

body.console { background: var(--paper); }
.console-shell { display: grid; grid-template-columns: 256px minmax(0, 1fr); min-height: 100dvh; }

/* Sidebar */
.side {
  position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; gap: 28px;
  padding: 22px 16px 18px; background: var(--paper-2); border-right: 1px solid var(--line); overflow-y: auto;
}
.side .brand { padding: 4px 10px; }
.side__role { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 0; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.side__role strong { display: block; font-weight: 500; font-size: 14px; line-height: 1.2; }
.side__role span { font-size: 12px; color: var(--muted); }
.side nav { display: grid; gap: 2px; }
.side nav .label { padding: 14px 12px 6px; }
.side nav a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 0; font-size: 14.5px; color: var(--ink-2); transition: background-color .3s var(--ease), color .3s var(--ease); }
.side nav a:hover { background: rgba(255,255,255,.06); color: var(--ink); }
.side nav a.is-active { background: var(--ink); color: var(--paper); }
.side nav a .count { margin-left: auto; min-width: 20px; text-align: center; font-family: var(--mono); font-size: 11px; font-weight: 600; line-height: 18px; padding: 0 6px; border-radius: 0; background: var(--ink); color: var(--paper); }
.side nav a.is-active .count { background: var(--paper); color: var(--ink); }
.page-title h1 { font-family: var(--grotesk) !important; font-weight: 300; text-transform: uppercase; letter-spacing: -.03em !important; }
.page-title h1 em { font-family: var(--grotesk); text-transform: none; }
.stat__value { font-family: var(--grotesk) !important; font-weight: 300; }
.panel__head h2 { font-family: var(--grotesk) !important; font-weight: 400; text-transform: uppercase; font-size: 18px !important; letter-spacing: -.01em; }
.auth__card h1 { font-family: var(--grotesk); font-weight: 300; text-transform: uppercase; letter-spacing: -.03em; }
.side__foot { margin-top: auto; display: grid; gap: 4px; }
.side__foot a, .side__foot button { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 0; font-size: 14px; color: var(--muted); width: 100%; text-align: left; }
.side__foot a:hover, .side__foot button:hover { background: rgba(255,255,255,.06); color: var(--ink); }

.console-top { display: none; }
@media (max-width: 960px) {
  .console-shell { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 auto 0 0; width: 280px; z-index: 70; transform: translateX(-105%); transition: transform .5s var(--ease-spring); box-shadow: 20px 0 60px -30px rgba(0,0,0,.3); }
  .side-open .side { transform: none; }
  .side-scrim { position: fixed; inset: 0; z-index: 65; background: rgba(255,255,255,.3); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
  .side-open .side-scrim { opacity: 1; pointer-events: auto; }
  .console-top { display: flex; position: sticky; top: 0; z-index: 50; align-items: center; justify-content: space-between; height: 60px; padding: 0 16px; background: rgba(0,0,0,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .console-top button { width: 40px; height: 40px; border-radius: 0; box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; }
}

/* Main */
.console-main { padding: clamp(24px, 3.5vw, 48px) clamp(16px, 3.5vw, 56px) 96px; min-width: 0; }
.page-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.page-title h1 { font-family: var(--grotesk); font-weight: 400; font-size: clamp(38px, 4.4vw, 60px); line-height: .98; letter-spacing: -.025em; }
.page-title h1 em { font-style: normal; }
.page-title .crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.page-title .crumbs a:hover { color: var(--ink); }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* Panels */
.panel { padding: 5px; border-radius: 0; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); }
.panel > .panel__core { border-radius: 0; background: var(--card); box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 1px 2px rgba(255,255,255,.03); padding: clamp(18px, 2.2vw, 28px); }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.panel__head h2 { font-family: var(--grotesk); font-weight: 400; font-size: 26px; line-height: 1.1; }
.panel__head p { font-size: 13.5px; color: var(--muted); }
.panel--flush > .panel__core { padding: 0; overflow: hidden; }
.panel--flush .panel__head { padding: 20px 24px 0; }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 2vw, 24px); }
.cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 24px); align-items: start; }
.cols--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1100px) { .cols, .cols--even { grid-template-columns: minmax(0, 1fr); } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: clamp(16px, 2vw, 24px); }
.stat { padding: 20px 20px 18px; border-radius: 0; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 10px; align-content: space-between; min-height: 132px; position: relative; transition: transform .5s var(--ease-spring), box-shadow .4s var(--ease); }
a.stat:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-2), 0 12px 30px -18px rgba(255,255,255,.25); }
.stat__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.stat__value { font-family: var(--grotesk); font-size: clamp(32px, 2.6vw, 44px); line-height: .95; letter-spacing: -.02em; overflow-wrap: anywhere; }
.stat__hint { font-size: 12.5px; color: var(--muted); }
.stat--dark { background: var(--ink); color: var(--paper); box-shadow: none; }
.stat--dark .stat__label, .stat--dark .stat__hint { color: rgba(0,0,0,.6); }
.stat--alert .stat__label::after { content: ''; width: 7px; height: 7px; border-radius: 0; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

/* Tables */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background-color .25s var(--ease); }
.table tbody tr:hover { background: rgba(255,255,255,.02); }
.table .num { font-family: var(--mono); text-align: right; white-space: nowrap; font-size: 13.5px; }
.table th.num { text-align: right; }
.table .row-link { font-weight: 500; }
.table .row-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.table .sub { display: block; font-size: 12.5px; color: var(--muted); }
.thumb { width: 52px; aspect-ratio: 4 / 5; border-radius: 0; background: var(--paper-2); position: relative; overflow: hidden; flex: none; }
.thumb .tee { position: absolute; inset: 5%; width: auto; height: auto; }
.thumb .tee--photo { inset: 0; }
.thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.cell-product { display: flex; align-items: center; gap: 14px; min-width: 220px; }

/* Tabs */
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 0; background: rgba(255,255,255,.045); box-shadow: inset 0 0 0 1px var(--line); overflow-x: auto; scrollbar-width: none; max-width: 100%; margin-bottom: 18px; width: max-content; }
.tabs a { padding: 7px 14px; border-radius: 0; font-size: 13.5px; color: var(--ink-2); white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.tabs a:hover { background: rgba(255,255,255,.06); }
.tabs a.is-active { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(255,255,255,.08); }
.tabs a .n { font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* Lists */
.list { display: grid; }
.list__item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.list__item:last-child { border-bottom: 0; }
.list__item .grow { flex: 1; min-width: 0; }
.list__item strong { font-weight: 500; display: block; }
.list__item .sub { font-size: 13px; color: var(--muted); }

/* Key/value */
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 10px 20px; font-size: 14.5px; margin: 0; }
.kv dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.kv dd { margin: 0; word-break: break-word; }

/* Commission box */
.commission { display: grid; gap: 0; border-radius: 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.commission__row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; font-size: 14px; border-bottom: 1px solid var(--line); }
.commission__row span:last-child { font-family: var(--mono); }
.commission__row--artist { background: var(--ink); color: var(--paper); border: 0; font-weight: 500; }
.commission__row--artist span:last-child { font-family: var(--grotesk); font-size: 26px; font-weight: 400; line-height: 1; }
.commission__error { padding: 12px 16px; font-size: 13.5px; background: var(--bad-bg); color: var(--bad); }
.commission__note { margin: 0; padding: 10px 16px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.commission__row .muted, .commission__row .muted span { font-family: inherit; }

/* Review media */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.media-tile { display: grid; gap: 8px; }
.media-tile__img { aspect-ratio: 4 / 5; border-radius: 0; background: var(--paper-2); position: relative; overflow: hidden; display: grid; place-items: center; }
.media-tile__img img { width: 100%; height: 100%; object-fit: contain; }
.media-tile__img .tee { position: absolute; inset: 6%; width: auto; height: auto; }
.media-tile__img.is-checker { background-color: #141414; background-image: linear-gradient(45deg, #1C1C1C 25%, transparent 25%), linear-gradient(-45deg, #1C1C1C 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #1C1C1C 75%), linear-gradient(-45deg, transparent 75%, #1C1C1C 75%); background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0; }
.media-tile__meta { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--muted); }

/* Timeline log */
.log { display: grid; gap: 0; }
.log__item { display: grid; grid-template-columns: 14px 1fr; gap: 14px; padding-bottom: 18px; position: relative; }
.log__item::before { content: ''; width: 9px; height: 9px; border-radius: 0; background: var(--ink); margin-top: 6px; }
.log__item::after { content: ''; position: absolute; left: 4px; top: 20px; bottom: 0; width: 1px; background: var(--line-2); }
.log__item:last-child::after { display: none; }
.log__item p { font-size: 14px; }
.log__item .sub { font-size: 12.5px; color: var(--muted); }
.log__comment { margin-top: 6px; padding: 10px 12px; border-radius: 0; background: var(--paper); font-size: 14px; }

/* Onboarding checklist */
.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.steps__item { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.steps__item:first-child { border-top: 0; padding-top: 0; }
.steps__item .grow { display: grid; gap: 2px; min-width: 0; }
.steps__item strong { font-size: 14.5px; font-weight: 600; }
.steps__item .sub { font-size: 12.5px; color: var(--muted); }
.steps__mark { flex: none; display: grid; place-items: center; width: 26px; height: 26px; font-size: 12px; font-family: var(--mono, monospace); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); }
.steps__item.is-current .steps__mark { background: var(--ink); color: var(--paper); box-shadow: none; }
.steps__item.is-done .steps__mark { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.steps__item.is-done strong { color: var(--muted); text-decoration: line-through; }
.steps__item.is-upcoming { opacity: .6; }
@media (max-width: 640px) { .steps__item { flex-wrap: wrap; } .steps__item .btn-plain { margin-left: 40px; } }

/* Callouts */
.callout { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 0; font-size: 14.5px; line-height: 1.5; }
.callout--warn { background: var(--warn-bg); color: var(--warn); }
.callout--bad { background: var(--bad-bg); color: var(--bad); }
.callout--ok { background: var(--ok-bg); color: var(--ok); }
.callout--info { background: var(--info-bg); color: var(--info); }
.callout--ink { background: var(--ink); color: var(--paper); }
.callout strong { font-weight: 600; }
.callout .grow { flex: 1; }

.secret { font-family: var(--mono); font-size: 18px; letter-spacing: .02em; padding: 12px 16px; border-radius: 0; background: rgba(0,0,0,.12); display: inline-block; user-select: all; }

.action-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.btn-plain { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 0; font-size: 14px; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .3s var(--ease); background: transparent; }
.btn-plain:hover { background: var(--card); }
.btn-plain--danger { color: var(--bad); box-shadow: inset 0 0 0 1px var(--bad); }
.btn-plain--danger:hover { background: var(--bad-bg); }
.btn-plain--solid { background: var(--ink); color: var(--paper); box-shadow: none; }
.btn-plain--solid:hover { background: #000; }

.search { display: flex; gap: 8px; align-items: center; }
.search .input { min-height: 40px; padding: 8px 14px; font-size: 14px; border-radius: 0; width: 240px; }
.filter-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.filter-row .tabs { margin-bottom: 0; }

.tag-picker { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-picker input { position: absolute; opacity: 0; pointer-events: none; }
.tag-picker label { padding: 7px 13px; border-radius: 0; font-size: 13px; box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; transition: all .25s var(--ease); user-select: none; }
.tag-picker label:hover { background: var(--card); }
.tag-picker input:checked + label { background: var(--ink); color: var(--paper); box-shadow: none; }
.tag-picker input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }

.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatches input { position: absolute; opacity: 0; pointer-events: none; }
.swatches label { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 0; font-size: 13.5px; box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; }
.swatches label i { width: 24px; height: 24px; border-radius: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.swatches input:checked + label { box-shadow: inset 0 0 0 2px var(--ink); background: var(--card); }

.preview-sticky { position: sticky; top: 24px; display: grid; gap: 14px; }
.preview-stage { aspect-ratio: 4 / 5; border-radius: 0; background: var(--paper-2); position: relative; overflow: hidden; }
.preview-stage .tee { position: absolute; inset: 7%; width: auto; height: auto; }
.preview-stage .tee--photo { inset: 0; }

.download { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s var(--ease); }
.download:hover { background: var(--paper-3); }
.download .ic { width: 44px; height: 44px; border-radius: 0; display: grid; place-items: center; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); flex: none; }
.download strong { font-weight: 500; display: block; }
.download .sub { font-size: 13px; color: var(--muted); }
.download .i:last-child { margin-left: auto; }

/* Auth */
.auth { min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth__art { position: relative; background: var(--night); color: #FFFFFF; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.auth__art .tee { position: absolute; width: 70%; left: 15%; top: 18%; height: auto; opacity: .95; }
.auth__art blockquote { position: relative; font-weight: 300; letter-spacing: -.02em; font-family: var(--grotesk); font-size: clamp(30px, 3vw, 44px); line-height: 1.05; max-width: 14em; }
.auth__art blockquote em { color: #FFFFFF; }
.auth__form { display: grid; place-items: center; padding: 40px 20px; }
.auth__card { width: min(420px, 100%); display: grid; gap: 26px; }
.auth__card h1 { font-family: var(--grotesk); font-weight: 400; font-size: 52px; line-height: .95; letter-spacing: -.025em; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth__art { display: none; } }

@media (max-width: 640px) {
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dd { margin-bottom: 10px; }
  .search .input { width: 100%; }
  .table td, .table th { padding: 12px 10px; }
}

/* Collections */
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.pick { position: relative; display: grid; gap: 8px; padding: 8px; border: 1px solid var(--line); cursor: pointer; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.pick input { position: absolute; top: 12px; left: 12px; z-index: 2; width: 18px; height: 18px; accent-color: var(--accent); }
.pick:has(input:checked) { border-color: var(--ink); background: var(--paper-3); }
.pick__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.pick__img .tee:not(.tee--photo) { position: absolute; inset: 6%; width: auto; height: auto; }
.pick__img .tee--photo { position: absolute; inset: 0; }
.pick__meta { display: grid; gap: 6px; font-size: 13px; }
.pick__meta strong { font-weight: 500; }
.coll-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.coll-admin { display: grid; gap: 10px; padding: 10px; border: 1px solid var(--line); background: var(--paper-2); transition: border-color .3s var(--ease); }
.coll-admin:hover { border-color: var(--line-3); }
.coll-admin__img { position: relative; aspect-ratio: 5 / 4; overflow: hidden; }
.coll-admin__img .tee:not(.tee--photo) { position: absolute; inset: 8% 22%; width: auto; height: auto; }
.coll-admin__img .tee--photo { position: absolute; inset: 0; }
.coll-admin__meta strong { display: block; font-weight: 500; }
.coll-admin__meta .sub { font-size: 12.5px; color: var(--muted); }
.coll-admin .badge { justify-self: start; }

.side .brand .logo--long, .console-top .logo--long { height: 15px; }
.auth__art .brand .logo--long { height: 20px; }
.auth__icon { position: relative; height: 40px; color: var(--accent); }
.auth__art blockquote em { font-style: normal; font-weight: 200; }

.back-files { border-top: 1px solid var(--line); padding-top: 14px; }
.back-files summary { cursor: pointer; list-style: none; }
.back-files summary::before { content: '+ '; }
.back-files[open] summary::before { content: '− '; }

/* Artwork placement editor */
.pz { display: grid; gap: 14px; }
.pz__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.pz__tabs { display: inline-flex; box-shadow: inset 0 0 0 1px var(--line-2); }
.pz__tabs button { padding: 8px 16px; font-family: var(--grotesk); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.pz__tabs button.is-on { background: var(--ink); color: var(--paper); }
.pz__stage { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; overflow: hidden; justify-self: center; }
.pz__tee { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; user-select: none; }
.pz.is-dark .pz__art { mix-blend-mode: normal; }
.pz__art { position: absolute; object-fit: fill; pointer-events: none; mix-blend-mode: multiply; transition: left .35s var(--ease), top .35s var(--ease), width .35s var(--ease), height .35s var(--ease); }
/* Bounding box: visible only while hovering the tee or adjusting */
.pz__box { position: absolute; border: 1.5px dashed #D2451E; opacity: 0; transition: opacity .3s var(--ease); pointer-events: none; z-index: 2; }
.pz__box span { position: absolute; left: 0; top: -20px; font-family: var(--grotesk); font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #111; }
.pz__stage:hover .pz__box, .pz.is-adjusting .pz__box { opacity: 1; }
.pz__empty { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; font-size: 13px; color: #111; background: rgba(255,255,255,.7); padding: 8px 12px; }
.pz__controls { display: grid; grid-template-columns: 1fr auto; gap: 18px 24px; align-items: end; }
.pz__controls input[type=range] { width: 100%; accent-color: var(--ink); }
.pz__align { display: grid; grid-template-columns: repeat(3, 34px); gap: 4px; }
.pz__align button { width: 34px; height: 34px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); }
.pz__align button i { width: 8px; height: 8px; background: var(--muted); }
.pz__align button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.pz__align button.is-on { background: var(--ink); }
.pz__align button.is-on i { background: var(--paper); }
.pz__buttons { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 640px) { .pz__controls { grid-template-columns: 1fr; } }
.table tr.is-clickable { cursor: pointer; }
.table tr.is-clickable:hover td { background: var(--paper-3); }

/* Human-made policy + originality undertaking */
.human-made { display: grid; gap: 18px; max-width: 46em; }
.human-made__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.human-made__list li { position: relative; padding-left: 22px; color: var(--ink-2); line-height: 1.55; }
.human-made__list li::before { content: '✳'; position: absolute; left: 0; top: 0; color: var(--ink); font-size: 12px; }
.human-made__list strong { color: var(--ink); font-weight: 500; }
.human-made--compact { gap: 12px; }
.human-made--compact .human-made__list li { font-size: 14px; }
.originality { display: grid; gap: 12px; }
.originality__choice { display: flex; gap: 20px; flex-wrap: wrap; }
.originality__confirm { align-items: flex-start; font-size: 13.5px; line-height: 1.5; }
.originality__confirm input { margin-top: 3px; flex: none; }
.pz__quality { margin: 10px 0 0; padding: 8px 12px; font-size: 13px; border: 1px solid var(--line-2); }
.pz__quality::before { content: '●'; margin-right: 8px; }
.pz__quality.is-good::before, .pz__quality.is-ok::before { color: #4caf50; }
/* In the editor a print-quality problem is a warning (yellow); it becomes a red error only when submitting. */
.pz__quality.is-bad { border-color: var(--warn); color: var(--warn); background: var(--warn-bg); }
.pz__quality.is-bad::before { color: var(--warn); }

/* Tee colour + print method (product forms) */
.garment-options { display: grid; gap: 18px; padding: 16px 0 4px; border-top: 1px solid var(--line); }
.method-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.method-picker__opt { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line-2); cursor: pointer; font-size: 14px; line-height: 1.35; }
.method-picker__opt input { margin-top: 2px; accent-color: var(--accent); flex: none; }
.method-picker__opt .muted { display: block; font-size: 12.5px; }
.method-picker__opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
@media (max-width: 560px) { .method-picker { grid-template-columns: 1fr; } }
.tip { position: relative; display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; text-transform: none; letter-spacing: 0; font-family: var(--sans, inherit); font-size: 12px; color: var(--ink-2); cursor: help; border-bottom: 1px dotted currentColor; }
.tip__body { position: absolute; z-index: 30; left: 0; top: calc(100% + 8px); width: min(340px, 80vw); padding: 14px 16px; background: var(--ink); color: var(--paper); font-size: 13px; line-height: 1.5; box-shadow: 0 12px 32px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .2s, transform .2s, visibility .2s; }
.tip__body strong { font-weight: 600; }
.tip:hover .tip__body, .tip:focus .tip__body, .tip:focus-within .tip__body { opacity: 1; visibility: visible; transform: none; }
.originality__confirm, .originality__confirm span, .originality__choice label { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 13.5px; color: var(--ink); line-height: 1.5; }

/* Placement editor: direct manipulation */
.pz__sel { position: absolute; z-index: 3; cursor: move; touch-action: none; outline: 1.5px solid rgba(210, 69, 30, .0); transition: outline-color .2s; }
.pz__stage:hover .pz__sel, .pz.is-dragging .pz__sel, .pz.is-adjusting .pz__sel { outline-color: #D2451E; }
.pz__sel i { position: absolute; width: 14px; height: 14px; background: #fff; border: 1.5px solid #D2451E; opacity: 0; transition: opacity .2s; }
.pz__stage:hover .pz__sel i, .pz.is-dragging .pz__sel i, .pz.is-adjusting .pz__sel i { opacity: 1; }
.pz__sel i[data-h="nw"] { left: -7px; top: -7px; cursor: nwse-resize; }
.pz__sel i[data-h="ne"] { right: -7px; top: -7px; cursor: nesw-resize; }
.pz__sel i[data-h="sw"] { left: -7px; bottom: -7px; cursor: nesw-resize; }
.pz__sel i[data-h="se"] { right: -7px; bottom: -7px; cursor: nwse-resize; }
@media (hover: none) { .pz__sel { outline-color: #D2451E; } .pz__sel i { opacity: 1; width: 20px; height: 20px; } .pz__sel i[data-h="nw"], .pz__sel i[data-h="sw"] { left: -10px; } .pz__sel i[data-h="ne"], .pz__sel i[data-h="se"] { right: -10px; } .pz__sel i[data-h="nw"], .pz__sel i[data-h="ne"] { top: -10px; } .pz__sel i[data-h="sw"], .pz__sel i[data-h="se"] { bottom: -10px; } }
.pz.is-dragging .pz__box { opacity: 1; }
.pz__stage.is-empty { cursor: pointer; }
.pz__stage.is-empty .pz__box { opacity: 1; }
.pz__stage.is-empty:hover .pz__empty { background: #fff; }
.pz__stage.is-drop { outline: 2px dashed #D2451E; outline-offset: -8px; }
.pz__empty { pointer-events: none; text-align: center; max-width: 70%; }
.danger-zone { box-shadow: inset 0 0 0 1px #e5484d; margin-top: 12px; }
.danger-zone .panel__head h2 { color: #e5484d; }
.danger-zone [data-delete-btn]:disabled { opacity: .4; cursor: not-allowed; }

/* Artist share link (studio home) */
.share__core { display: grid; gap: 20px; }
.share__text { display: grid; gap: 10px; min-width: 0; }
.share__text h2 { margin: 0; }
.share__row { display: flex; flex-wrap: wrap; gap: 8px; }
.share__url { flex: 1 1 260px; min-width: 0; font-family: var(--mono); font-size: 13px; }
.share__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); margin: 0; box-shadow: inset 0 0 0 1px var(--line); }
.share__stats div { background: var(--card); padding: 14px 16px; display: grid; gap: 6px; }
.share__stats dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.share__stats dd { margin: 0; font-family: var(--grotesk); font-weight: 300; font-size: 32px; line-height: 1; }
@media (min-width: 900px) { .share__core { grid-template-columns: minmax(0, 1fr) 280px; align-items: end; } }

/* Custom print order: size × quantity grid */
.custom-qty { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.custom-qty .field { gap: 4px; }
.custom-qty .input { height: 40px; text-align: center; }

/* Orders: bulk selection bar */
.bulk-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); background: var(--paper-2); font-size: 14px; }

/* Product templates: colour rows with tee photos */
.colour-rows { display: grid; gap: 12px; }
.colour-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 18px; padding: 14px; box-shadow: inset 0 0 0 1px var(--line); align-items: start; }
.colour-row__fields { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .7fr); gap: 10px; }
.colour-row__hex { display: flex; gap: 6px; }
.colour-row__hex input[type="color"] { width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-2); background: none; cursor: pointer; }
.colour-row__photos { display: flex; gap: 10px; }
.colour-photo { display: grid; gap: 4px; justify-items: center; cursor: pointer; }
.colour-photo input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.colour-photo__img { width: 84px; height: 84px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; }
.colour-photo__img img { width: 100%; height: 100%; object-fit: contain; }
.colour-photo:hover .colour-photo__img { box-shadow: inset 0 0 0 1px var(--ink); }
.colour-row__remove { grid-column: 1 / -1; }
@media (max-width: 700px) { .colour-row { grid-template-columns: 1fr; } .colour-row__fields { grid-template-columns: 1fr 1fr; } }

/* Product templates: print box editor */
.box-editor { display: grid; gap: 18px; }
@media (min-width: 900px) { .box-editor { grid-template-columns: 320px minmax(0, 1fr); align-items: start; } }
.box-editor__stage { position: relative; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.box-editor__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.box-editor__box { position: absolute; border: 1.5px dashed #e5484d; pointer-events: none; }
.box-editor__box--dtf { border-color: #3e9bff; }
.box-editor__box i { position: absolute; left: 2px; top: 1px; font: 9px/1 var(--mono); font-style: normal; color: #e5484d; }
.box-editor__box--dtf i { color: #3e9bff; left: auto; right: 2px; }
.box-editor__method { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.box-editor__nums { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.box-editor__nums label { display: grid; gap: 4px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.box-editor__nums .input { height: 38px; padding: 0 8px; }

/* Small on/off pill (Product templates → Artists) */
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); background: none; border: 0; cursor: pointer; padding: 4px 0; }
.toggle span { width: 30px; height: 17px; border-radius: 9px; background: var(--line-2); position: relative; transition: background .2s; }
.toggle span::after { content: ''; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); transition: transform .2s; }
.toggle.is-on { color: var(--ink); }
.toggle.is-on span { background: var(--ink); }
.toggle.is-on span::after { transform: translateX(13px); }
.toggle:disabled { opacity: .4; cursor: not-allowed; }

/* Colour variations: ticked colours show a check; preview chips are smaller */
.swatches--multi input:checked + label::after { content: '✓'; margin-left: 2px; font-size: 12px; }
.swatches--multi input:focus-visible + label, .swatches--preview input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
.swatches--preview label { padding: 4px 12px 4px 4px; font-size: 12.5px; }
.swatches--preview label i { width: 18px; height: 18px; }

/* ── 3D studio (artist): launcher, sleeve label, full-screen studio ───── */
.studio-launch { display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px 18px; text-align: left; cursor: pointer; color: #f4f4f2; border: 0;
  background: radial-gradient(ellipse at 18% 0%, rgba(255,232,196,.16), transparent 60%), linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 22px 22px, #0b0b0b;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: box-shadow .25s, transform .25s var(--ease); }
.studio-launch:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.studio-launch:active { transform: scale(.995); }
.studio-launch__art { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: rgba(255,236,205,.1); box-shadow: 0 0 30px rgba(255,226,180,.25); }
.studio-launch strong { display: block; font-size: 15px; font-weight: 500; }
.studio-launch .grow span { display: block; font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,.6); margin-top: 3px; }
.studio-launch__go { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; flex: none; background: #f4f4f2; color: #0b0b0b; font-size: 13px; }
.studio-launch__go svg { width: 14px; height: 14px; }
@media (max-width: 640px) { .studio-launch { flex-wrap: wrap; } .studio-launch__go { width: 100%; justify-content: center; } }

.sleeve-label__row { display: flex; gap: 16px; align-items: flex-start; }
.sleeve-label__preview { width: 120px; height: 120px; flex: none; box-shadow: inset 0 0 0 1px var(--line); }
.sleeve-label__opts { display: grid; gap: 6px; flex: 1; }
@media (max-width: 520px) { .sleeve-label__row { flex-direction: column; } }

html.s3d-open, html.s3d-open body { overflow: hidden; }
/* Full-screen studio: the stage (70%) on the left, every setting in one panel (30%) on the right */
.s3d { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-columns: minmax(0, 7fr) minmax(320px, 3fr); background: #0a0a0b; color: #f4f4f2; opacity: 0; transition: opacity .35s ease; font-size: 13px; }
.s3d[hidden] { display: none; }
.s3d.is-open { opacity: 1; }
.s3d__stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #060607; }
.s3d.is-light .s3d__stage { background: #bdbdbb; }
.s3d__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.s3d.is-dragging .s3d__canvas { cursor: grabbing; }
.s3d.is-drop .s3d__canvas { outline: 2px dashed rgba(255,255,255,.5); outline-offset: -14px; }
.s3d__brand { position: absolute; top: 20px; left: 22px; display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); pointer-events: none; z-index: 2; }
.s3d.is-light .s3d__brand { color: rgba(0,0,0,.65); }
.s3d__logo { font-weight: 600; letter-spacing: .02em; text-transform: none; font-size: 14px; }
.s3d__sep { width: 1px; height: 14px; background: currentColor; opacity: .35; }

/* view cube */
.s3d__cube-wrap { position: absolute; top: 18px; right: 22px; width: 86px; height: 86px; perspective: 360px; z-index: 3; opacity: 0; transition: opacity .6s .3s; }
.s3d.is-ready .s3d__cube-wrap { opacity: 1; }
.s3d__cube { position: absolute; inset: 15px; transform-style: preserve-3d; }
.s3d__face { position: absolute; inset: 0; display: grid; place-items: center; padding: 0; border: 0; cursor: pointer; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase;
  color: #f4f4f2; background: rgba(28,28,30,.92); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); backface-visibility: hidden; transition: background .2s, color .2s; }
.s3d__face:hover { background: #f4f4f2; color: #0a0a0a; }
.s3d__face--front { transform: translateZ(28px); }
.s3d__face--back { transform: rotateY(180deg) translateZ(28px); }
.s3d__face--px { transform: rotateY(90deg) translateZ(28px); }
.s3d__face--nx { transform: rotateY(-90deg) translateZ(28px); }
.s3d__face--top { transform: rotateX(90deg) translateZ(28px); }
.s3d__face--bottom { transform: rotateX(-90deg) translateZ(28px); cursor: default; }
.s3d.is-light .s3d__face { background: rgba(250,250,248,.92); color: #111; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.s3d.is-light .s3d__face:hover { background: #111; color: #fff; }

.s3d__views { position: absolute; left: 50%; bottom: 24px; transform: translate(-50%, 16px); display: flex; gap: 1px; background: rgba(255,255,255,.14); opacity: 0; transition: opacity .6s .2s, transform .6s .2s cubic-bezier(.2,.8,.2,1); z-index: 2; }
.s3d__views button { padding: 10px 20px; background: rgba(10,10,10,.85); color: #f4f4f2; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; border: 0; cursor: pointer; }
.s3d__views button.is-on { background: #f4f4f2; color: #0a0a0a; }
.s3d.is-ready .s3d__views { opacity: 1; transform: translate(-50%, 0); }
.s3d__hint { position: absolute; left: 50%; bottom: 72px; transform: translateX(-50%); margin: 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); white-space: nowrap; opacity: 0; transition: opacity .8s .5s; pointer-events: none; z-index: 2; }
.s3d.is-ready .s3d__hint { opacity: 1; }
.s3d.is-light .s3d__hint { color: rgba(0,0,0,.5); }
.s3d__loading { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; gap: 12px; justify-items: center; width: min(320px, 80%); text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); transition: opacity .5s; z-index: 4; }
.s3d__loading i { display: block; width: 100%; height: 1px; background: rgba(255,255,255,.15); }
.s3d__loading b { display: block; height: 100%; width: 0; background: #f4f4f2; transition: width .2s; }
.s3d.is-loaded .s3d__loading { opacity: 0; pointer-events: none; }
.s3d.is-failed .s3d__loading { opacity: 1; text-transform: none; letter-spacing: 0; font-size: 13px; }
.s3d.is-leaving { opacity: .25; }

/* settings panel */
.s3d__side { display: flex; flex-direction: column; min-height: 0; background: #0e0e0f; box-shadow: inset 1px 0 0 rgba(255,255,255,.08); transform: translateX(24px); opacity: 0; transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.s3d.is-ready .s3d__side, .s3d.is-failed .s3d__side { transform: none; opacity: 1; }
.s3d__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; box-shadow: inset 0 -1px 0 rgba(255,255,255,.08); }
.s3d__head strong { display: block; font-weight: 500; font-size: 14px; margin-top: 3px; }
.s3d__actions { display: flex; gap: 8px; flex: none; }
.s3d__btn { padding: 10px 14px; font-size: 13px; color: #f4f4f2; background: none; border: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); cursor: pointer; }
.s3d__btn:hover { box-shadow: inset 0 0 0 1px #fff; }
.s3d__btn--ink { background: #f4f4f2; color: #0a0a0a; box-shadow: none; font-weight: 500; }
.s3d__btn--ink:hover { background: #fff; box-shadow: none; }
.s3d.is-saving .s3d__btn--ink { opacity: .7; pointer-events: none; }
.s3d__scroll { flex: 1; overflow-y: auto; padding: 20px; display: grid; align-content: start; gap: 24px; scrollbar-width: thin; }
.s3d__group { display: grid; gap: 10px; }
.s3d__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); display: flex; justify-content: space-between; gap: 8px; }
.s3d__label span { color: rgba(255,255,255,.4); letter-spacing: .06em; text-transform: none; }
.s3d__label b { font-weight: 400; color: rgba(255,255,255,.75); }
.s3d__seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1px; background: rgba(255,255,255,.1); }
.s3d__seg button { display: grid; gap: 2px; padding: 9px 10px; background: #0b0b0c; color: #f4f4f2; border: 0; cursor: pointer; text-align: left; font-size: 13px; }
.s3d__seg button small { font-size: 10.5px; color: rgba(255,255,255,.5); }
.s3d__seg button.is-on { background: #f4f4f2; color: #0a0a0a; }
.s3d__seg button.is-on small { color: rgba(0,0,0,.55); }
.s3d__seg--3 button { text-align: center; font-size: 12px; place-items: center; }
.s3d__uploads { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s3d__upload { display: grid; gap: 2px; padding: 11px 12px; text-align: left; cursor: pointer; background: none; border: 0; color: #f4f4f2; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); min-width: 0; }
.s3d__upload:hover { box-shadow: inset 0 0 0 1px #fff; }
.s3d__upload strong { font-weight: 500; font-size: 13px; text-transform: capitalize; }
.s3d__upload small { font-size: 11px; color: rgba(255,255,255,.5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s3d__link { justify-self: start; background: none; border: 0; padding: 0; color: rgba(255,255,255,.6); font-size: 12px; text-decoration: underline; cursor: pointer; }
.s3d__place { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.s3d__align { display: grid; grid-template-columns: repeat(3, 30px); gap: 4px; }
.s3d__align button { width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 0; background: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); cursor: pointer; }
.s3d__align button i { width: 8px; height: 8px; background: rgba(255,255,255,.4); }
.s3d__align button:hover { box-shadow: inset 0 0 0 1px #fff; }
.s3d__align button.is-on { background: #f4f4f2; }
.s3d__align button.is-on i { background: #0a0a0a; }
.s3d__size { display: grid; gap: 10px; }
.s3d__row { display: flex; gap: 6px; flex-wrap: wrap; }
.s3d__chip { padding: 7px 10px; font-size: 12px; background: none; color: #f4f4f2; border: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); cursor: pointer; }
.s3d__chip:hover { box-shadow: inset 0 0 0 1px #fff; }
.s3d input[type="range"] { width: 100%; accent-color: #f4f4f2; }
.s3d__colours { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.s3d__colour { display: grid; grid-template-columns: 1fr auto; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); min-width: 0; }
.s3d__colour.is-on { box-shadow: inset 0 0 0 1px #f4f4f2; }
.s3d__swatch { display: flex; align-items: center; gap: 9px; padding: 8px 10px; background: none; border: 0; color: #f4f4f2; cursor: pointer; text-align: left; font-size: 12.5px; min-width: 0; }
.s3d__swatch span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s3d__swatch i { width: 18px; height: 18px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.s3d__tick { width: 34px; border: 0; background: none; color: rgba(255,255,255,.25); cursor: pointer; font-size: 13px; box-shadow: inset 1px 0 0 rgba(255,255,255,.1); }
.s3d__colour.is-offered .s3d__tick { color: #0a0a0a; background: #f4f4f2; }
.s3d__quality { margin: 0; font-size: 12px; line-height: 1.5; color: #7bd88f; }
.s3d__quality.is-bad { color: #f5c451; }
.s3d__note { margin: 0; font-size: 11.5px; line-height: 1.5; color: rgba(255,255,255,.5); }
@media (max-width: 900px) {
  .s3d { grid-template-columns: 1fr; grid-template-rows: 56% 44%; }
  .s3d__side { transform: translateY(20px); }
  .s3d__head { padding: 12px 16px; }
  .s3d__scroll { padding: 16px; }
  .s3d__hint, .s3d__brand { display: none; }
  .s3d__views { bottom: 14px; }
  .s3d__cube-wrap { top: 10px; right: 10px; transform: scale(.85); transform-origin: top right; }
}

/* Mockups in the product form's side panel: front and back (and other colours), scroll / swipe */
.mock-strip { display: grid; gap: 10px; }
.mock-strip__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.mock-strip__track::-webkit-scrollbar { display: none; }
.mock-strip__slide { position: relative; margin: 0; scroll-snap-align: start; }
.mock-strip__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mock-strip__slide figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; background: rgba(10,10,10,.75); color: #f4f4f2; }
.mock-strip__dots { display: flex; justify-content: center; gap: 6px; }
.mock-strip__dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: var(--line); cursor: pointer; }
.mock-strip__dots button.is-on { background: var(--ink); }

/* Artwork upload boxes show the artwork on a checkerboard (transparent PNGs stay visible) */
.file-drop__preview { max-height: 200px; padding: 8px; background: repeating-conic-gradient(rgba(255,255,255,.07) 0 25%, transparent 0 50%) 0 0 / 16px 16px; }

/* Invoices */
.invoice-filters { margin-bottom: 16px; }
.invoice-filters .panel__core { display: grid; gap: 14px; }
.invoice-filters__presets { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 7px 12px; font-size: 12.5px; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); text-decoration: none; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip.is-on { background: var(--ink); color: var(--paper); box-shadow: none; }
.invoice-filters__row { display: grid; grid-template-columns: minmax(200px, 2fr) repeat(2, minmax(130px, 1fr)) repeat(2, minmax(120px, 1fr)) auto; gap: 12px; align-items: end; }
@media (max-width: 1100px) { .invoice-filters__row { grid-template-columns: 1fr 1fr; } .invoice-filters__row .field:first-child { grid-column: 1 / -1; } }
.row-actions { display: inline-flex; gap: 6px; justify-content: flex-end; white-space: nowrap; }
.row-actions svg { vertical-align: -2px; }
.table tr.is-muted td { opacity: .55; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--line); }
.invoice-frame { display: block; width: 100%; height: min(1100px, 82vh); border: 0; background: #fff; }
.invoice-table .row-link { white-space: nowrap; }
.s3d__text { width: 100%; padding: 10px 12px; font: inherit; font-size: 13px; text-align: center; color: #f4f4f2; background: #0b0b0c; border: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); resize: vertical; }
.s3d__text:focus { outline: none; box-shadow: inset 0 0 0 1px #fff; }
.s3d__colour.is-single { grid-template-columns: 1fr; }

/* Admin → Artists on the site */
.lineup-mode { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 14px 20px 6px; }
.lineup__order { display: flex; align-items: center; gap: 4px; }
.lineup__order .input { width: 58px; padding: 8px; }
.lineup__order .btn-plain { padding: 6px 8px; }
.lineup td { vertical-align: middle; }
.lineup-preview { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; }

/* Admin → Marketing */
.mk { display: grid; grid-template-columns: 250px minmax(0, 1fr) 340px; gap: clamp(14px, 1.6vw, 20px); align-items: start; }
.mk__templates { padding: 14px; display: grid; gap: 4px; align-content: start; }
.mk__group { margin: 10px 4px 4px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mk__group:first-child { margin-top: 2px; }
.mk__tpl { display: grid; gap: 3px; text-align: left; padding: 10px 12px; background: none; border: 0; color: var(--ink); cursor: pointer; box-shadow: inset 0 0 0 1px transparent; }
.mk__tpl strong { font-weight: 500; font-size: 13.5px; }
.mk__tpl span { font-size: 12px; line-height: 1.45; color: var(--muted); }
.mk__tpl:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.mk__tpl.is-on { background: var(--ink); color: var(--paper); }
.mk__tpl.is-on span { color: rgba(0,0,0,.6); }
.mk__stage { min-width: 0; }
@media (min-width: 1281px) { .mk__templates, .mk__stage { position: sticky; top: 16px; } .mk__templates { max-height: calc(100vh - 32px); overflow-y: auto; } }
.mk__stage .panel__core { display: grid; gap: 0; }
.mk__canvas-wrap { position: relative; width: min(100%, calc((100vh - 230px) * var(--mk-ar, .8))); margin: 18px auto 0; background: #111; box-shadow: 0 0 0 1px var(--line); }
.mk__canvas { display: block; width: 100%; height: 100%; }
.mk__loading { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 24px; text-align: center; font-size: 13px; color: var(--muted); }
.mk__transport { display: flex; align-items: center; gap: 12px; padding: 14px 18px; }
.mk__transport input[type=range] { flex: 1; accent-color: var(--ink); }
.mk__slides { display: flex; gap: 8px; padding: 0 18px 18px; overflow-x: auto; }
.mk__thumb { flex: none; height: 92px; padding: 0; border: 0; background: none; cursor: pointer; box-shadow: 0 0 0 1px var(--line); opacity: .7; }
.mk__thumb canvas { display: block; width: 100%; height: 100%; }
.mk__thumb.is-on, .mk__thumb:hover { box-shadow: 0 0 0 2px var(--ink); opacity: 1; }
.mk__side { display: grid; gap: clamp(14px, 1.6vw, 20px); }
.mk__seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mk__seg button { display: grid; gap: 2px; padding: 9px 10px; text-align: left; font-size: 13px; color: var(--ink); background: none; border: 0; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-2); }
.mk__seg button small { font-size: 11px; color: var(--muted); }
.mk__seg button i { display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; box-shadow: inset 0 0 0 1px var(--line-2); }
.mk__seg button.is-on { box-shadow: inset 0 0 0 1px var(--ink); background: var(--paper-3); }
.mk__works { display: grid; gap: 6px; max-height: 190px; overflow-y: auto; }
.mk__exports { display: grid; gap: 8px; }
.mk__exports > * { width: 100%; justify-content: center; }
.mk__caption { min-height: 180px; font-size: 13px; line-height: 1.55; }
@media (max-width: 1280px) { .mk { grid-template-columns: 220px minmax(0, 1fr); } .mk__side { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
@media (max-width: 900px) { .mk { grid-template-columns: 1fr; } .mk__templates { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } .mk__group { grid-column: 1 / -1; } }

/* Studio → Samples → New: plain-tee switch and preview */
.plain-switch { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
.plain-switch input { position: absolute; opacity: 0; pointer-events: none; }
.plain-switch strong { display: block; font-size: 15px; }
.plain-switch .grow > span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.plain-switch__track { flex: none; width: 42px; height: 24px; border-radius: 12px; background: var(--line-2); position: relative; transition: background .2s; }
.plain-switch__track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); transition: transform .2s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.plain-switch input:checked + .plain-switch__track { background: var(--ink); }
.plain-switch input:checked + .plain-switch__track::after { transform: translateX(18px); }
.plain-switch input:focus-visible + .plain-switch__track { outline: 2px solid var(--ink); outline-offset: 2px; }
.plain-switch:has(input:checked) { border-color: var(--ink); }
.sample-builder.is-plain .garment-options .field:has(.method-picker) { display: none; }
.sample-plain-preview { margin: 0; position: relative; display: grid; place-items: center; max-width: 360px; }
.sample-plain-preview img { width: 100%; height: 100%; object-fit: contain; }
.sample-plain-preview figcaption { position: absolute; left: 12px; bottom: 10px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #111; }
.sample-plain-preview[hidden] { display: none; }
.sample-thumb { width: 52px; height: 52px; flex: none; display: grid; place-items: center; overflow: hidden; }
.sample-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Admin → Home page */
.home-picks { max-height: 460px; overflow-y: auto; box-shadow: inset 0 0 0 1px var(--line); }
.home-picks thead th { position: sticky; top: 0; background: var(--paper-2); z-index: 1; }
.home-mode { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 16px 0 0; display: grid; gap: 12px; min-width: 0; }
.home-mode legend { padding: 0 0 4px; }
