:root {
  --bg: #15191b; --panel: #1c2225; --panel2: #282f33; --text: #edf0ee; --muted: #adb2b0;
  --accent: #2457e8; --accent2: #a7d2ff; --accent-hover: #1846c6; --ok: #3ddc84; --warn: #ffcc4d; --err: #ff5c5c; --border: #363d40;
  --radius: 12px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

.topbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; border-bottom: 1px solid var(--border); background: var(--panel); position: sticky; top: 0; z-index: 10; }
.brand { font-weight: 700; font-size: 20px; color: var(--text); letter-spacing: .3px; }
.brand span { color: var(--accent2); }
.topbar nav a { margin-left: 18px; color: var(--muted); }
.container { max-width: 1200px; margin: 0 auto; padding: 24px; }
.footer { text-align: center; color: var(--muted); padding: 32px 16px; font-size: 13px; border-top: 1px solid var(--border); margin-top: 48px; }

h1 { font-size: 26px; margin: 0 0 6px; }
h2 { font-size: 20px; margin: 24px 0 12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spread { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.card + .card { margin-top: 16px; }
.narrow { max-width: 520px; margin: 0 auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel2); color: var(--text); cursor: pointer; font: inherit; font-weight: 600; transition: .15s; }
.btn:hover { border-color: var(--accent); text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-hover); }
.btn.ghost { background: transparent; }
.btn.sm { padding: 6px 12px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.block { width: 100%; }

input, select { width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font: inherit; }
input:focus { outline: none; border-color: var(--accent); }
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field { margin-bottom: 14px; }
.error { color: var(--err); font-size: 14px; min-height: 20px; }

.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--panel2); color: var(--muted); }
.badge.paid { background: rgba(61,220,132,.15); color: var(--ok); }
.badge.created { background: rgba(255,204,77,.15); color: var(--warn); }
.badge.canceled { background: rgba(255,92,92,.15); color: var(--err); }

/* Галерея */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 20px; }
.tile { position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: .15s; }
.tile:hover { border-color: var(--accent); transform: translateY(-2px); }
.tile.selected { border-color: var(--ok); box-shadow: 0 0 0 2px var(--ok); }
.tile img { width: 100%; aspect-ratio: 1; object-fit: cover; -webkit-user-drag: none; user-select: none; pointer-events: none; }
.tile .bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; font-size: 14px; }
.tile .check { position: absolute; top: 10px; left: 10px; width: 26px; height: 26px; border-radius: 50%; background: rgba(0,0,0,.55); border: 2px solid #fff; display: grid; place-items: center; font-size: 15px; color: #fff; }
.tile.selected .check { background: var(--ok); border-color: var(--ok); color: #000; }
.tile .zoom { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 8px; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; font-size: 14px; }

.cartbar { position: fixed; left: 0; right: 0; bottom: 0; background: var(--panel); border-top: 1px solid var(--border); padding: 12px 24px; display: flex; justify-content: center; z-index: 20; }
.cartbar .inner { width: 100%; max-width: 1200px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cartbar[hidden] { display: none; }
body.has-cart .container { padding-bottom: 90px; }

.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; z-index: 50; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; pointer-events: none; }
.lightbox .lb-close, .lightbox .lb-nav { position: absolute; color: #fff; background: rgba(255,255,255,.1); border: none; font-size: 22px; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-nav { top: 50%; transform: translateY(-50%); }
.lightbox .lb-prev { left: 16px; } .lightbox .lb-next { right: 16px; }
.lightbox .lb-bottom { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; justify-content: center; gap: 12px; }

/* Списки */
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.thumbs .thumb { position: relative; }
.thumbs .thumb .rm { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--err); color: #fff; border: none; cursor: pointer; font-size: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }
.total { font-size: 22px; font-weight: 700; }
.code-input { font-size: 24px; letter-spacing: 8px; text-align: center; }

.toast { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%); background: #222; color: #fff; padding: 12px 18px; border-radius: 10px; border: 1px solid var(--border); z-index: 100; max-width: 90vw; }
.toast.err { border-color: var(--err); }
.toast[hidden] { display: none; }

.admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.admin-grid .tile img { aspect-ratio: 1; }
.admin-grid .tile.inactive { opacity: .45; }
.progress { height: 8px; background: var(--panel2); border-radius: 4px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--accent); width: 0; transition: width .2s; }
.copy { font-family: ui-monospace, monospace; background: var(--bg); padding: 6px 10px; border-radius: 8px; border: 1px dashed var(--border); }
.hero { text-align: center; padding: 60px 16px; }
.hero h1 { font-size: 36px; }
.spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid var(--muted); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.linkbtn { background: none; border: none; color: var(--muted); font: inherit; cursor: pointer; margin-left: 18px; padding: 0; }
.linkbtn:hover { color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 16px 0; }
.stat { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.stat strong { font-size: 20px; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 14px; border: 1px solid; font-size: 14px; }
.alert.warn { background: rgba(255,204,77,.1); border-color: rgba(255,204,77,.4); }
.alert.err { background: rgba(255,92,92,.1); border-color: rgba(255,92,92,.4); }
.alert.ok { background: rgba(61,220,132,.1); border-color: rgba(61,220,132,.4); }
.ok { color: var(--ok); } .err-text { color: var(--err); }
.offer-text { line-height: 1.65; } .offer-text h2 { font-size: 16px; }
.tile .kind { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,.6); color: #fff; padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.tile .ph { aspect-ratio: 1; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 13px; padding: 10px; }
.tile.failed { border-color: var(--err); }
.tile .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(0,0,0,.55); border: 2px solid #fff; display: grid; place-items: center; color: #fff; font-size: 22px; pointer-events: none; }
.lightbox video { max-width: 92vw; max-height: 84vh; background: #000; }
.banner { background: var(--panel2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; margin: 12px 0; font-size: 14px; }
@media (max-width: 600px) { .container { padding: 16px; } .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .topbar { padding: 12px 16px; } }

.shop-page { --bg: #f7f8fa; --panel: #fff; --panel2: #eef1f6; --text: #182032; --muted: #647084; --accent: #2457e8; --accent2: #1846c6; --accent-hover: #1846c6; --accent-soft: #edf2ff; --accent-soft-hover: #e0e8ff; --accent-border: #cbd7fa; --surface-tint: #f9fafd; --shadow-rgb: 23, 41, 74; --ok: #16754b; --err: #bd303e; --border: #dfe4ed; --radius: 16px; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font-size: 16px; -webkit-font-smoothing: antialiased; }
.shop-page [hidden] { display: none !important; }
.shop-page :focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.shop-page a, .shop-page button { -webkit-tap-highlight-color: transparent; }
.shop-page button { touch-action: manipulation; }
.shop-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.shop-icon { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.shop-skip { position: fixed; top: -100px; left: 16px; z-index: 200; background: white; padding: 12px; border-radius: 8px; }
.shop-skip:focus { top: 12px; }
.shop-header { background: #fff; border-bottom: 1px solid #e8ebf0; }
.shop-header-inner { max-width: 1328px; padding: 20px 32px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.shop-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: 24px; font-weight: 800; letter-spacing: -1px; white-space: nowrap; }
.shop-brand:hover { text-decoration: none; }
.shop-brand-light { font-weight: 500; color: #17377f; }
.shop-brand-dot { color: #4289ed; }
.shop-brand-mark { display: grid; place-items: center; background: var(--accent); color: #fff; width: 36px; height: 36px; border-radius: 11px; }
.brand-emblem { object-fit: contain; flex: 0 0 auto; }
.brand, .shop-footer-brand, .workspace-footer-brand { display: inline-flex; align-items: center; gap: 8px; }
.shop-brand > .brand-emblem { width: 44px; height: 44px; }
@media (max-width: 760px) { .shop-brand > .brand-emblem { width: 36px; height: 36px; } }
.shop-header-caption { margin-right: auto; margin-left: 30px; color: var(--muted); font-size: 13px; }
.shop-orders-link { display: inline-flex; align-items: center; justify-content: center; gap: 9px; color: var(--text); font-size: 14px; font-weight: 600; min-height: 44px; }
.shop-container { flex: 1; width: 100%; max-width: 1328px; padding: 42px 32px 64px; }
.shop-page h1 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.15; font-weight: 750; letter-spacing: -1.5px; overflow-wrap: anywhere; }
.shop-page h2 { font-size: 20px; letter-spacing: -.4px; }
.shop-eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 11px; font-weight: 750; letter-spacing: 2px; }
.shop-event-heading { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.shop-event-heading > div:first-child { min-width: 0; }
.shop-event-meta { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; margin-top: 18px; flex-wrap: wrap; }
.shop-author-avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e8edfb; color: #3f5e9e; font-size: 12px; font-weight: 700; }
.shop-meta-dot { color: #adb5c4; padding: 0 3px; }
.shop-how { display: flex; align-items: center; gap: 18px; font-size: 12px; color: var(--muted); flex-shrink: 0; }
.shop-how span { display: flex; align-items: center; gap: 6px; }
.shop-how b { display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid var(--border); border-radius: 50%; font-size: 10px; color: #566278; font-weight: 600; }
.shop-how span:first-child b { background: #e7edfe; color: var(--accent); border-color: #d5dffa; }
.shop-gallery-note { margin-top: 28px; padding: 15px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.shop-gallery-note span { display: flex; align-items: center; gap: 8px; }
.shop-gallery-note .shop-icon { width: 16px; height: 16px; }
.shop-notice { display: flex; align-items: flex-start; gap: 12px; background: #eef2ff; border: 1px solid #dce4ff; color: #354873; padding: 16px 20px; margin: 24px 0; border-radius: 12px; font-size: 14px; }
.shop-gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 24px 0; }
.shop-filters { display: flex; gap: 4px; padding: 4px; border: 1px solid #e5e9f0; border-radius: 12px; background: #edf0f5; max-width: 100%; }
.shop-filter { border: 0; background: transparent; color: #596577; padding: 10px 17px; min-height: 44px; border-radius: 8px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.shop-filter.is-active { background: #fff; color: var(--text); box-shadow: 0 1px 4px #17294a12; }
.shop-filter span { font-size: 11px; color: #5b6e92; padding: 1px 6px; background: #e9eef8; border-radius: 5px; }
.shop-text-button { color: var(--muted); background: transparent; border: 0; min-height: 44px; padding: 8px 0 8px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.shop-text-button:hover { color: var(--accent); }
.shop-media-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.shop-media-card { min-width: 0; border: 1px solid #e6eaf0; border-radius: 14px; background: #fff; cursor: default; transition: border-color .15s, box-shadow .15s; }
.shop-media-card:hover { transform: none; border-color: #c4cfe4; }
.shop-media-card.selected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.shop-media-open { display: block; width: 100%; padding: 0; border: 0; position: relative; overflow: hidden; background: #e9edf3; color: #fff; cursor: zoom-in; }
.shop-media-card .shop-media-open img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.shop-media-number { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 600; letter-spacing: .6px; background: #0e172e9e; color: white; border-radius: 6px; padding: 4px 7px; }
.shop-preview-label { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); opacity: 0; background: #10182ad9; color: white; font-size: 12px; padding: 7px 12px; border-radius: 20px; transition: opacity .15s; }
.shop-media-open:focus-visible .shop-preview-label { opacity: 1; }
.shop-video-badge { position: absolute; bottom: 12px; left: 12px; background: #0e172ed9; color: #fff; display: flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 6px; font-size: 11px; }
.shop-video-badge .shop-icon { width: 13px; height: 13px; }
.shop-video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #ffffffa0; border-radius: 50%; background: #10182a7a; }
.shop-media-caption { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; gap: 6px; }
.shop-media-caption > div { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.shop-media-type { font-size: 11px; color: var(--muted); }
.shop-media-caption strong { font-size: 15px; letter-spacing: -.3px; }
.shop-add { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; color: var(--accent); background: #eef2fe; border: 1px solid #e3e9fb; border-radius: 11px; cursor: pointer; }
.shop-add:hover { background: #e0e8ff; }
.shop-add .selected-icon { display: none; }
.shop-media-card.selected .shop-add { background: var(--accent); border-color: var(--accent); color: white; }
.shop-media-card.selected .shop-add .add-icon { display: none; }
.shop-media-card.selected .shop-add .selected-icon { display: block; }
.shop-gallery-end { text-align: center; margin: 40px 0 0; color: var(--muted); font-size: 13px; }
.shop-empty { text-align: center; border: 1px dashed var(--border); border-radius: 16px; padding: 54px 24px; color: var(--muted); }
.shop-empty > .shop-icon { width: 36px; height: 36px; color: #8293b4; }
.shop-empty h2 { color: var(--text); }
.shop-empty p { font-size: 14px; margin-bottom: 24px; }
.shop-page .btn { min-height: 48px; padding: 12px 20px; border-radius: 11px; font-size: 14px; font-weight: 650; }
.shop-page .btn.primary { background: var(--accent); color: white; box-shadow: 0 3px 8px #2457e81a; }
.shop-page .btn.primary:hover { background: var(--accent-hover); }
.shop-page .btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.shop-page input, .shop-page select { min-height: 48px; font-size: 16px; background: #fff; }
.shop-cartbar { left: 24px; right: 24px; bottom: 20px; max-width: 730px; margin: auto; background: #fff; border: 1px solid #dfe5f0; border-radius: 18px; padding: 14px 18px; box-shadow: 0 8px 40px #1b315424; }
.shop-cartbar .inner { gap: 20px; }
.shop-cart-summary { display: flex; align-items: center; gap: 14px; }
.shop-cart-summary > .shop-icon { color: var(--accent); width: 24px; height: 24px; }
.shop-cart-summary > div { display: flex; flex-direction: column; }
.shop-cart-summary span { font-size: 12px; color: var(--muted); }
.shop-cart-total { font-size: 21px; letter-spacing: -.6px; font-variant-numeric: tabular-nums; }
.shop-page.has-cart { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
.shop-page.has-cart .container { padding-bottom: 48px; }
.shop-footer { width: calc(100% - 64px); max-width: 1264px; margin: auto; padding: 28px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.shop-footer > div { display: flex; align-items: center; gap: 20px; }
.shop-footer-brand { font-weight: 750; letter-spacing: -.5px; color: var(--accent); font-size: 18px; }
.shop-footer nav { display: flex; gap: 22px; }
.shop-footer nav a { color: var(--muted); }
.shop-page.viewer-open { overflow: hidden; }
.shop-viewer { color: white; width: 100%; height: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 88px 74px 110px; border: 0; background: #0e121cf7; position: fixed; inset: 0; }
.shop-viewer[open] { display: flex; align-items: center; justify-content: center; }
.shop-viewer::backdrop { background: #0e121c; }
.shop-viewer-stage { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.shop-viewer .shop-viewer-stage img, .shop-viewer .shop-viewer-stage video { object-fit: contain; width: auto; height: auto; max-width: 100%; max-height: 100%; }
.shop-viewer-button { display: grid; place-items: center; border: 1px solid #ffffff30; background: #ffffff0d; color: white; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.shop-viewer-button:hover { background: #ffffff25; }
.shop-viewer-top { position: absolute; top: max(18px, env(safe-area-inset-top)); left: 28px; right: 28px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: #d5dbea; }
.shop-viewer-prev, .shop-viewer-next { position: absolute; top: 50%; transform: translateY(-50%); }
.shop-viewer-prev { left: 16px; }
.shop-viewer-next { right: 16px; }
.shop-viewer-bottom { position: absolute; bottom: max(24px, env(safe-area-inset-bottom)); left: 28px; right: 28px; display: flex; align-items: center; justify-content: center; gap: 32px; }
.shop-viewer-bottom > div { display: flex; flex-direction: column; gap: 3px; }
.shop-viewer-bottom strong { font-size: 22px; }
.shop-viewer-bottom span { color: #afb9cc; font-size: 12px; }
.shop-back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.shop-back-link .shop-icon { width: 17px; height: 17px; }
.shop-checkout-heading { margin-bottom: 36px; }
.shop-checkout-heading > p:last-child { color: var(--muted); margin: 14px 0 0; }
.shop-checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.shop-section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.shop-section-title h2 { margin: 0; }
.shop-count-pill { border-radius: 8px; background: #e9edf5; color: #5c6e8d; padding: 4px 10px; font-size: 13px; }
.shop-checkout-item { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 10px 18px; align-items: center; border-bottom: 1px solid var(--border); padding: 20px 0; }
.shop-checkout-item:first-child { padding-top: 0; }
.shop-checkout-item img { grid-row: 1 / 3; width: 80px; height: 100px; object-fit: cover; border-radius: 10px; }
.shop-checkout-item-info { display: flex; flex-direction: column; gap: 5px; align-self: end; }
.shop-checkout-item-info strong { font-size: 15px; }
.shop-checkout-item-info span { font-size: 12px; color: var(--muted); }
.shop-line-price { font-size: 16px; white-space: nowrap; align-self: end; }
.shop-remove { background: transparent; border: 0; justify-self: start; align-self: start; padding: 8px 0; min-height: 44px; font: inherit; font-size: 12px; color: var(--muted); cursor: pointer; }
.shop-remove:hover { color: var(--err); }
.shop-order-benefits { display: flex; flex-wrap: wrap; gap: 12px 24px; color: var(--muted); font-size: 12px; margin-top: 28px; }
.shop-order-benefits span { display: flex; align-items: center; gap: 7px; }
.shop-order-benefits .shop-icon { width: 16px; height: 16px; }
.shop-payment-panel { position: sticky; top: 24px; background: white; padding: 28px; border: 1px solid #e1e6ee; border-radius: 18px; box-shadow: 0 4px 20px #1a315105; }
.shop-payment-panel .shop-section-title > .shop-icon { color: #8390a6; }
.shop-seller { display: flex; flex-direction: column; gap: 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); margin-bottom: 4px; }
.shop-seller strong { text-transform: none; letter-spacing: normal; color: var(--text); font-weight: 600; font-size: 14px; overflow-wrap: anywhere; }
.shop-order-total { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.shop-order-total strong { font-size: 30px; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.shop-payment-panel label { color: var(--text); font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.shop-field-hint { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 10px 0 12px; }
.shop-payment-panel .error:empty { display: none; }
.shop-payment-panel .error { margin-bottom: 14px; }
.shop-payment-security { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 10px; color: var(--muted); margin-top: 14px; }
.shop-payment-security .shop-icon { width: 14px; height: 14px; }
.shop-after-payment { display: flex; gap: 12px; border-top: 1px solid var(--border); padding-top: 22px; margin-top: 24px; color: var(--muted); }
.shop-after-payment .shop-icon { color: var(--accent); margin-top: 2px; }
.shop-after-payment p { font-size: 12px; line-height: 1.7; margin: 0; }
.shop-payment-deadline { font-size: 11px; color: var(--muted); margin: 18px 0 0; }
.shop-home { padding: 54px 0; max-width: 850px; }
.shop-home h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1.07; letter-spacing: -2.5px; }
.shop-home h1 span { color: var(--accent); }
.shop-home-description { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 560px; margin: 28px 0; }
.shop-home-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.shop-home-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--border); padding-top: 32px; margin-top: 54px; }
.shop-home-steps b { display: block; color: var(--accent); font-size: 12px; margin-bottom: 12px; }
.shop-home-steps h2 { font-size: 17px; margin: 0 0 8px; }
.shop-home-steps p { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0; }
@media (hover: hover) { .shop-media-open:hover .shop-preview-label { opacity: 1; } }
@media (max-width: 1100px) { .shop-how { display: none; } .shop-media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } .shop-checkout-layout { gap: 28px; grid-template-columns: minmax(0, 1fr) 340px; } }
@media (max-width: 760px) {
  .shop-header-inner { padding: 12px 16px; gap: 12px; }
  .shop-header-caption { display: none; }
  .shop-brand { font-size: 21px; gap: 8px; }
  .shop-brand-mark { width: 32px; height: 32px; border-radius: 9px; }
  .shop-orders-link { font-size: 12px; gap: 6px; }
  .shop-orders-link .shop-icon { width: 17px; height: 17px; }
  .shop-container { padding: 28px 16px 40px; }
  .shop-page h1 { letter-spacing: -1px; }
  .shop-eyebrow { font-size: 10px; margin-bottom: 10px; }
  .shop-event-meta { font-size: 12px; margin-top: 14px; }
  .shop-gallery-note { margin-top: 22px; padding: 12px 0; align-items: flex-start; flex-direction: column; gap: 8px; font-size: 11px; }
  .shop-gallery-toolbar { flex-wrap: wrap; gap: 4px; margin: 18px 0 16px; }
  .shop-filters { flex: 1; }
  .shop-filter { padding: 9px 10px; flex: 1; font-size: 12px; gap: 5px; }
  .shop-text-button { font-size: 12px; }
  .shop-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .shop-media-card { border-radius: 12px; }
  .shop-media-caption { padding: 9px 8px; }
  .shop-media-caption strong { font-size: 13px; }
  .shop-media-type { font-size: 10px; }
  .shop-media-number { top: 8px; left: 8px; font-size: 10px; padding: 3px 6px; }
  .shop-add { border-radius: 9px; }
  .shop-video-play { width: 44px; height: 44px; }
  .shop-gallery-end { margin-top: 28px; font-size: 12px; }
  .shop-cartbar { left: 0; right: 0; bottom: 0; border-radius: 16px 16px 0 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .shop-cart-summary > .shop-icon { display: none; }
  .shop-cart-total { font-size: 20px; }
  .shop-cart-summary span { font-size: 11px; }
  .shop-footer { width: calc(100% - 32px); flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px 0; }
  .shop-footer > div { flex-wrap: wrap; gap: 6px 16px; }
  .shop-footer nav { gap: 28px; }
  .shop-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .shop-viewer { padding: 82px 8px 120px; }
  .shop-viewer-top { left: 16px; right: 16px; }
  .shop-viewer-prev, .shop-viewer-next { top: auto; bottom: max(104px, calc(env(safe-area-inset-bottom) + 88px)); transform: none; background: #111827b3; }
  .shop-viewer-prev { left: 16px; }
  .shop-viewer-next { right: 16px; }
  .shop-viewer-bottom { left: 16px; right: 16px; bottom: max(20px, env(safe-area-inset-bottom)); gap: 16px; justify-content: space-between; }
  .shop-viewer-bottom span { font-size: 10px; max-width: 150px; }
  .shop-viewer-bottom strong { font-size: 20px; }
  .shop-viewer-bottom .btn { padding: 10px 16px; }
  .shop-checkout-heading { margin-bottom: 28px; }
  .shop-back-link { margin-bottom: 16px; }
  .shop-checkout-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .shop-payment-panel { position: static; padding: 22px; }
  .shop-section-title { margin-bottom: 20px; }
  .shop-section-title h2 { font-size: 18px; }
  .shop-checkout-item { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 4px 12px; }
  .shop-checkout-item img { width: 64px; height: 86px; }
  .shop-checkout-item-info strong, .shop-line-price { font-size: 13px; }
  .shop-checkout-item-info span { font-size: 10px; }
  .shop-home { padding: 24px 0; }
  .shop-home h1 { letter-spacing: -1.5px; }
  .shop-home-description { font-size: 16px; }
  .shop-home-steps { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
}
@media (max-width: 380px) {
  .shop-filters { width: 100%; flex: auto; }
  .shop-filter { padding: 8px 6px; font-size: 11px; }
  .shop-filter span { font-size: 10px; }
  .shop-media-caption strong { font-size: 12px; }
  .shop-checkout-item { grid-template-columns: 56px minmax(0, 1fr); }
  .shop-checkout-item img { width: 56px; grid-row: 1 / 4; }
  .shop-checkout-item-info, .shop-line-price, .shop-remove { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { .shop-page *, .shop-page *::before, .shop-page *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

.workspace-page .shop-header { position: relative; z-index: 30; }
.workspace-page .shop-header-inner { max-width: none; padding: 18px 32px; }
.workspace-account { display: flex; align-items: center; gap: 20px; font-size: 13px; }
.workspace-account-name { max-width: 220px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; color: var(--muted); }
.workspace-account form { margin: 0; }
.workspace-logout { border: 1px solid var(--border); border-radius: 9px; background: white; padding: 10px 15px; min-height: 44px; font: inherit; color: var(--text); cursor: pointer; }
.workspace-nav { position: absolute; top: 81px; bottom: 0; left: 0; width: 216px; min-height: calc(100vh - 81px); padding: 32px 18px; background: #fff; border-right: 1px solid #e5e9f1; display: flex; flex-direction: column; gap: 8px; }
.workspace-page { position: relative; }
.workspace-nav-caption { font-size: 9px; letter-spacing: 1.3px; color: #738198; padding: 0 12px; margin: 0 0 16px; }
.workspace-nav > a { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 10px; font-size: 14px; font-weight: 550; color: #637188; min-height: 48px; }
.workspace-nav > a:hover { background: #f4f6fa; text-decoration: none; }
.workspace-nav > a.is-active { color: var(--accent); background: #edf2ff; }
.workspace-nav-note { padding: 28px 12px; margin-top: 44px; color: #8591a5; font-size: 12px; line-height: 1.9; }
.workspace-nav-note strong { color: #62738e; font-weight: 500; }
.workspace-page .workspace-container { margin-left: 216px; width: calc(100% - 216px); max-width: none; padding: 36px clamp(24px, 4vw, 64px) 64px; }
.workspace-container > h1 { margin-bottom: 24px; }
.workspace-page h1 { font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -1px; }
.workspace-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.workspace-heading > div { min-width: 0; }
.workspace-heading .muted { font-size: 14px; margin: 12px 0 0; }
.workspace-heading > .btn { flex-shrink: 0; }
.workspace-page .alert { font-size: 13px; line-height: 1.7; padding: 13px 16px; border-radius: 11px; }
.workspace-page .alert.warn { background: #fff9e9; border-color: #eedda8; color: #745e24; }
.workspace-page .alert.err { background: #fff0f0; border-color: #f4caca; color: #913d42; }
.workspace-page .stats { gap: 16px; margin: 28px 0 36px; }
.workspace-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.workspace-page .stat { padding: 22px; border-color: #e2e7ef; gap: 10px; min-width: 0; box-shadow: 0 2px 8px #1a315103; }
.workspace-page .stat strong { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.8px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.workspace-page .stat .small { font-size: 12px; }
.workspace-stat-note { font-size: 11px; color: #778499; }
.workspace-section-heading { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; }
.workspace-section-heading h2 { margin: 0; }
.workspace-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.workspace-empty { grid-column: 1 / -1; text-align: center; padding: 44px 24px; border: 1px dashed #cfd8e7; border-radius: 18px; background: #ffffffb8; }
.workspace-empty-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 24px; color: var(--accent); background: #eaf0ff; border-radius: 20px; }
.workspace-empty-icon .shop-icon { width: 28px; height: 28px; }
.workspace-empty h2 { font-size: 24px; margin: 0 0 12px; }
.workspace-empty > p:not(.shop-eyebrow) { font-size: 14px; color: var(--muted); line-height: 1.8; margin: 0 0 24px; }
.workspace-empty-hint { display: block; color: #7a879b; font-size: 11px; margin-top: 18px; }
.workspace-event-card { min-width: 0; background: #fff; border: 1px solid #e2e7ef; border-radius: 16px; padding: 22px; }
.workspace-event-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.workspace-event-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #edf2ff; color: var(--accent); }
.workspace-event-card h3 { font-size: 19px; line-height: 1.4; margin: 20px 0; overflow-wrap: anywhere; }
.workspace-event-card h3 a { color: var(--text); }
.workspace-event-details { display: flex; gap: 28px; margin: 0 0 18px; }
.workspace-event-details dt { font-size: 11px; color: var(--muted); }
.workspace-event-details dd { font-size: 16px; font-weight: 600; margin: 4px 0 0; }
.workspace-event-date { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--muted); margin: 0; }
.workspace-event-date .shop-icon { width: 15px; height: 15px; }
.workspace-event-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border-top: 1px solid #eef0f5; margin-top: 20px; padding-top: 16px; }
.workspace-event-actions .btn { padding: 10px 12px; font-size: 12px; }
.workspace-page .badge { font-size: 11px; padding: 5px 9px; }
.workspace-page .badge.paid { background: #e9f7ef; color: #187447; }
.workspace-page .badge.created { background: #fff5dc; color: #806017; }
.workspace-page .badge.canceled { background: #ffeded; color: #a53641; }
.workspace-footer { display: flex; align-items: center; justify-content: space-between; margin: auto 32px 0 248px; padding: 24px 0; border-top: 1px solid var(--border); color: #748196; font-size: 11px; gap: 16px; }
.workspace-footer a { display: flex; align-items: center; gap: 8px; min-height: 44px; white-space: nowrap; }
.workspace-page .card { padding: 26px; border-color: #e2e7ef; margin-top: 22px; }
.workspace-page .card h2 { margin-bottom: 18px; }
.workspace-page .row > .field { flex: 1 1 220px !important; min-width: 0; }
.workspace-page label { font-size: 13px; color: #56647c; }
.workspace-page input:disabled { background: #f1f4f8; }
.workspace-page input[type=file] { padding: 18px; border: 1px dashed #b7c6e2; background: #f8faff; min-width: 0; }
.workspace-page input[type=file]::file-selector-button { border: 1px solid #d5e0f3; background: #fff; padding: 8px 12px; border-radius: 7px; color: #2457e8; margin-right: 12px; cursor: pointer; }
.workspace-page .admin-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.workspace-page .admin-grid .bar { flex-wrap: wrap; gap: 8px; }
.workspace-page .admin-grid .btn.sm { min-width: 44px; min-height: 44px; padding: 8px; }
.workspace-page .copy { overflow-wrap: anywhere; white-space: normal; line-height: 2; }
.workspace-table-scroll { overflow-x: auto; border: 1px solid #e2e7ef; border-radius: 14px; background: #fff; margin-top: 24px; }
.workspace-page table { font-size: 13px; }
.workspace-page th { font-size: 10px; letter-spacing: .6px; background: #f9fafd; color: #7c899e; white-space: nowrap; }
.workspace-page th, .workspace-page td { padding: 16px; }
.workspace-page tbody tr:last-child td { border-bottom: 0; }
.workspace-page td { overflow-wrap: anywhere; }
.workspace-dialog { width: min(540px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 28px; border: 1px solid #e0e7f2; border-radius: 20px; color: var(--text); background: #fff; box-shadow: 0 24px 100px #14213d38; }
.workspace-dialog::backdrop { background: #14213d80; }
.workspace-dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 12px; }
.workspace-dialog-heading h2 { margin: 0; font-size: 26px; }
.workspace-close { width: 44px; height: 44px; display: grid; place-items: center; flex-shrink: 0; border: 1px solid #e0e7f2; border-radius: 12px; background: #fff; color: #5a6983; cursor: pointer; }
.workspace-dialog .field { margin-top: 20px; }
.workspace-field-hint { margin: 7px 0 12px; font-size: 11px; color: var(--muted); line-height: 1.6; }
.workspace-modal-open { overflow: hidden; }
.auth-page .auth-container { padding-top: 52px; padding-bottom: 60px; }
.auth-page .narrow { max-width: 460px; }
.auth-page .narrow > h1 { font-size: 32px; margin-bottom: 16px; }
.auth-page .narrow > .muted { font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
.auth-page .card { margin-top: 24px; padding: 28px; border-color: #e0e7f2; box-shadow: 0 8px 28px #14213d06; }
.auth-page label { color: #51617a; font-size: 13px; }
.auth-page .field { margin-bottom: 20px; }
.auth-page input[type=checkbox], .workspace-page input[type=checkbox] { width: 20px !important; height: 20px; min-height: 20px; flex: 0 0 20px; accent-color: var(--accent); }
.auth-page label.row { flex-wrap: nowrap; }
.auth-page label.row > span { flex: 1; min-width: 0; }
@media (min-width: 1700px) { .workspace-container > *, .workspace-footer { max-width: 1320px; } }
@media (max-width: 1100px) { .workspace-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .workspace-heading { align-items: flex-start; flex-direction: column; } }
@media (max-width: 760px) {
  .workspace-page { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .workspace-page .shop-header-inner { padding: 12px 16px; }
  .workspace-account-name { display: none; }
  .workspace-account { gap: 8px; }
  .workspace-logout { font-size: 12px; padding: 8px 12px; }
  .workspace-nav { position: fixed; top: auto; bottom: 0; left: 0; right: 0; width: 100%; min-height: 0; z-index: 25; flex-direction: row; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); border: 1px solid #e0e7f2; border-bottom: 0; border-radius: 16px 16px 0 0; gap: 4px; box-shadow: 0 -6px 25px #16264608; }
  .workspace-nav > a { flex: 1; flex-direction: column; justify-content: center; font-size: 10px; min-width: 0; gap: 5px; padding: 8px 4px; }
  .workspace-nav > a .shop-icon { width: 19px; height: 19px; }
  .workspace-nav-caption, .workspace-nav-note { display: none; }
  .workspace-page .workspace-container { margin-left: 0; width: 100%; padding: 26px 16px 36px; }
  .workspace-heading { gap: 20px; margin-bottom: 24px; }
  .workspace-heading > .btn { width: 100%; }
  .workspace-heading .muted { font-size: 13px; line-height: 1.7; }
  .workspace-page .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 22px 0 28px; }
  .workspace-page .stat { padding: 16px 12px; gap: 8px; }
  .workspace-page .stat strong { font-size: 22px; }
  .workspace-page .stat .small { font-size: 11px; }
  .workspace-stat-note { font-size: 10px; }
  .workspace-page .alert { font-size: 12px; }
  .workspace-events { grid-template-columns: minmax(0, 1fr); }
  .workspace-empty { padding: 30px 16px; }
  .workspace-empty h2 { font-size: 21px; }
  .workspace-empty > p:not(.shop-eyebrow) { font-size: 13px; }
  .workspace-footer { margin: auto 16px 0; flex-wrap: wrap; gap: 4px; padding: 20px 0; }
  .workspace-page .card { padding: 20px 16px; }
  .workspace-page .row > .field { flex: 1 1 100% !important; }
  .workspace-page form.row > .btn { width: 100%; }
  .workspace-page input[type=file] { flex-basis: 100% !important; width: 100%; padding: 12px; font-size: 12px; }
  .workspace-dialog { padding: 22px 18px; }
  .workspace-dialog-heading h2 { font-size: 23px; }
  .workspace-table-scroll { border: 0; overflow: visible; background: transparent; }
  .workspace-data-table { display: block; }
  .workspace-data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .workspace-data-table tbody { display: grid; gap: 12px; }
  .workspace-data-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; padding: 18px; border: 1px solid #e0e7f2; border-radius: 14px; background: #fff; }
  .workspace-data-table td { display: block; border: 0; padding: 0; font-size: 12px; min-width: 0; }
  .workspace-data-table td[data-label]::before { content: attr(data-label); display: block; color: var(--muted); font-size: 10px; margin-bottom: 4px; }
  .workspace-data-table .workspace-wide-cell, .workspace-data-table td:last-child { grid-column: 1 / -1; }
  .workspace-data-table .btn { font-size: 12px; padding: 10px; }
  .auth-page .auth-container { padding-top: 30px; }
  .auth-page .card { padding: 24px 20px; }
}

.shop-header, .shop-filters, .shop-media-card, .shop-payment-panel, .shop-cartbar,
.workspace-nav, .workspace-page .stat, .workspace-page .card, .workspace-event-card,
.workspace-dialog, .workspace-close, .workspace-table-scroll, .workspace-data-table tr, .auth-page .card { border-color: var(--border); }
.shop-author-avatar, .shop-how span:first-child b, .shop-add, .shop-filter span, .shop-count-pill,
.workspace-empty-icon, .workspace-event-icon, .workspace-nav > a.is-active { background: var(--accent-soft); color: var(--accent); }
.shop-how span:first-child b, .shop-add, .workspace-page input[type=file], .workspace-page input[type=file]::file-selector-button { border-color: var(--accent-border); }
.shop-add:hover { background: var(--accent-soft-hover); }
.shop-media-card:hover { border-color: var(--accent-border); }
.shop-media-card.selected { border-color: var(--accent); }
.shop-filters, .shop-media-open, .workspace-page input:disabled { background: var(--panel2); }
.workspace-page input[type=file], .workspace-page th, .workspace-nav > a:hover { background: var(--surface-tint); }
.workspace-nav > a.is-active:hover { background: var(--accent-soft-hover); }
.workspace-page input[type=file]::file-selector-button { color: var(--accent); }
.shop-meta-dot, .shop-how b, .shop-filter, .shop-empty > .shop-icon,
.shop-payment-panel .shop-section-title > .shop-icon, .workspace-nav-caption, .workspace-nav > a,
.workspace-nav-note, .workspace-nav-note strong, .workspace-stat-note, .workspace-empty-hint,
.workspace-footer, .workspace-page label, .workspace-page th, .workspace-close, .auth-page label { color: var(--muted); }
.shop-filter.is-active { color: var(--text); box-shadow: 0 1px 4px rgba(var(--shadow-rgb), .07); }
.workspace-nav > a.is-active { color: var(--accent); }
.shop-notice { background: var(--accent-soft); border-color: var(--accent-border); color: #17377f; }
.workspace-empty { border-color: var(--accent-border); }
.workspace-event-actions { border-top-color: var(--border); }
.shop-page .btn.primary { box-shadow: 0 3px 8px rgba(var(--shadow-rgb), .1); }
.shop-cartbar { box-shadow: 0 8px 40px rgba(var(--shadow-rgb), .14); }
.shop-payment-panel, .workspace-page .stat { box-shadow: 0 4px 16px rgba(var(--shadow-rgb), .03); }
.workspace-dialog { box-shadow: 0 24px 100px rgba(var(--shadow-rgb), .22); }
.auth-page .card { box-shadow: 0 8px 28px rgba(var(--shadow-rgb), .04); }
.workspace-nav { box-shadow: 0 -6px 25px rgba(var(--shadow-rgb), .03); }
.shop-media-number { background: #252b2eaa; }
.shop-preview-label, .shop-video-badge { background: #252b2edd; }
.shop-video-play { background: #252b2e80; }
.shop-viewer { background: #15191bf7; }
.shop-viewer::backdrop { background: #15191b; }
.shop-viewer-top { color: #e3e2df; }
.shop-viewer-bottom span { color: #b9b8b5; }
.shop-viewer-prev, .shop-viewer-next { background: #252b2eb3; }
.workspace-dialog::backdrop { background: #252b2e80; }
.shop-page .badge.paid { background: #e9f7ef; color: #187447; }
.shop-page .badge.created { background: #fff5dc; color: #806017; }
.shop-page .badge.canceled { background: #ffeded; color: #a53641; }

/* Ссылка для клиентов: копировать / поделиться */
.share-box .share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.share-box .share-url { flex: 1 1 320px; min-width: 0; font-family: ui-monospace, monospace; font-size: 13px; background: #f8faff; border: 1px solid #d5e0f3; cursor: text; }
.share-box .share-row .btn { flex: 0 0 auto; }
.share-targets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.share-targets[hidden] { display: none; }
.share-target { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--accent-border); background: var(--accent-soft); color: #17377f; font-size: 13px; font-weight: 600; text-decoration: none; }
.share-target:hover { border-color: var(--accent); text-decoration: none; }
.share-popover { flex-basis: 100%; margin-top: 4px; }
@media (max-width: 760px) {
  .share-box .share-row .btn { flex: 1 1 calc(50% - 5px); }
  .share-box .share-url { flex-basis: 100%; }
}

/* Публичные правовые страницы: контакты, условия, конфиденциальность, оферта */
.legal-page { max-width: 760px; margin: 0 auto; padding-top: 8px; }
.legal-page h1 { font-size: clamp(26px, 3vw, 34px); }
.legal-page > .muted { margin-bottom: 20px; line-height: 1.7; }
.legal-page .card { margin-top: 18px; padding: 26px; }
.legal-page .card + .card { margin-top: 20px; }
.legal-page .offer-text p { margin: 0 0 12px; }
.legal-page .offer-text p:last-child { margin-bottom: 0; }

/* Реквизиты продавца в галерее и на оплате */
.shop-seller-note { max-width: 760px; margin: 32px auto 0; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; line-height: 1.8; }
.shop-seller-legal { display: block; color: var(--muted); font-size: 12px; font-weight: 400; text-transform: none; letter-spacing: normal; margin-top: 4px; line-height: 1.6; }
.shop-legal-consent { font-size: 11px; color: var(--muted); line-height: 1.7; margin: 14px 0 0; text-align: center; }
.shop-footer nav { flex-wrap: wrap; row-gap: 8px; }
