/* Catalogue layout; the three rails and motion controls are owned by swipe.js. */
.swipe-page { --sw-ink:var(--ui-text,#f4faf9); --sw-muted:var(--ui-muted,#a2b6bb); --sw-line:var(--ui-line,#2a4048); --sw-soft:var(--ui-surface,#14212b); color:var(--sw-ink); min-width:0; width:100%; max-width:1680px; margin:auto; }
.swipe-page *, .sw-detail *, .sw-admin * { box-sizing:border-box; letter-spacing:0; }
.swipe-page [hidden] { display:none !important; }
.sw-icon { width:18px; height:18px; display:inline-block; flex:0 0 18px; background:currentColor; mask:var(--sw-icon) center/contain no-repeat; vertical-align:middle; }
.sw-heading { display:flex; justify-content:space-between; align-items:center; gap:28px; padding:12px 0 30px; }
.sw-heading > div { min-width:0; }
.sw-heading > button { flex-shrink:0; }
.sw-eyebrow { display:block; color:var(--ui-accent,#4fffe2); font-size:10px; font-weight:650; line-height:1.5; }
.sw-heading h1 { font-size:34px; font-weight:600; line-height:1.2; margin:12px 0; overflow-wrap:anywhere; }
.sw-heading p { font-size:13px; line-height:1.6; color:var(--sw-muted); margin:0; }
.sw-heading { position:relative; isolation:isolate; }
.sw-heading::after { content:''; position:absolute; z-index:-1; top:-24px; right:-28px; bottom:0; width:480px; pointer-events:none; opacity:.25; background:url('landing/studio-flow-20261023.webp') right center / 820px auto no-repeat; mask-image:linear-gradient(90deg,transparent,#000 70%); }
body[data-theme="light"] .sw-heading::after { opacity:.055; }
.sw-heading-tools { display:flex; flex:0 1 auto; align-items:center; gap:24px; }
.sw-heading-tools > button { font-size:0; width:44px; height:44px; padding:11px; }
.sw-heading-tools > button .sw-icon { width:20px; height:20px; }
.sw-heading-tools .sw-edition { border-left:1px solid var(--sw-line); padding-left:24px; }
.sw-heading-tools .sw-edition strong { font-size:19px; }
.sw-heading .sw-eyebrow { display:flex; align-items:center; gap:8px; }
.sw-heading .sw-eyebrow::before { content:''; width:15px; height:10px; border:solid currentColor; border-width:1px 0; opacity:.7; }
.sw-browser { display:block; min-width:0; }
.sw-filter-rail { position:static; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:12px 24px; min-width:0; padding:14px 0; border-block:1px solid var(--sw-line); }
.sw-results { min-width:0; }
.sw-primary,.sw-secondary,.sw-icon-button,.sw-tabs button { display:inline-flex; justify-content:center; align-items:center; gap:9px; min-height:40px; padding:10px 16px; border:1px solid var(--ui-line,#2a4048); border-radius:6px; font-size:13px; line-height:1.3; font-weight:550; cursor:pointer; text-decoration:none; transition:background .18s,border-color .18s; }
.sw-primary { color:#0d1722; background:#4fffe2; border-color:#4fffe2; }
.sw-primary:hover { background:#a1ffed; border-color:#a1ffed; }
.sw-secondary { background:transparent; color:var(--ui-text,#f4faf9); }
.sw-secondary:hover,.sw-icon-button:hover { border-color:var(--ui-accent,#4fffe2); }
.sw-icon-button { width:40px; min-width:40px; height:40px; min-height:40px; padding:9px; background:transparent; color:var(--ui-muted,#a2b6bb); flex-shrink:0; }
.sw-icon-button[aria-pressed=true] { background:var(--ui-soft,#1b2d36); color:var(--ui-accent,#4fffe2); border-color:var(--ui-accent,#4fffe2); }
.sw-tabs { display:flex; min-width:0; gap:6px; padding:3px; overflow-x:auto; scrollbar-width:thin; }
.sw-tabs button { --category:var(--ui-accent); position:relative; flex:1 0 auto; flex-direction:column; gap:9px; white-space:nowrap; background:transparent; border-color:transparent; color:var(--sw-muted); padding:10px 12px 13px; font-size:11px; border-radius:6px; }
.sw-tabs button[data-model="renda-extra"] { --category:#b18536; }
.sw-tabs button[data-model="saude"] { --category:#428ab2; }
.sw-tabs button[data-model="emagrecimento"] { --category:#628d40; }
.sw-tabs button[data-model="relacionamento"] { --category:#b16a80; }
body[data-theme="dark"] .sw-tabs button[data-model="renda-extra"] { --category:#ffd285; }
body[data-theme="dark"] .sw-tabs button[data-model="saude"] { --category:#9bd3ff; }
body[data-theme="dark"] .sw-tabs button[data-model="emagrecimento"] { --category:#b5e49b; }
body[data-theme="dark"] .sw-tabs button[data-model="relacionamento"] { --category:#f6a6b5; }
.sw-tabs button .sw-icon { width:24px; height:24px; flex-basis:24px; color:var(--category); }
.sw-tabs button::after { content:''; position:absolute; bottom:0; left:12px; right:12px; height:2px; background:var(--category); transform:scaleX(0); transition:transform .2s; }
.sw-tabs button:hover { color:var(--sw-ink); background:var(--sw-soft); }
.sw-tabs button[aria-pressed=true] { background:var(--ui-soft); color:var(--sw-ink); border-color:var(--sw-line); }
.sw-tabs button[aria-pressed=true]::after { transform:scaleX(1); }
.sw-market-filters { display:flex; flex-wrap:wrap; align-items:center; gap:12px; padding-left:20px; min-width:0; border-left:1px solid var(--sw-line); }
.sw-market-filters > label { display:flex; align-items:center; gap:8px; min-width:0; }
.sw-market-filters > label > .sw-icon { color:var(--ui-accent,#4fffe2); }
.sw-market-filters label > span { display:grid; min-width:0; gap:3px; }
.sw-market-filters label > span > span { color:var(--sw-muted); font-size:10px; }
.sw-market-filters select { width:156px; max-width:100%; min-width:0; min-height:36px; border:1px solid var(--sw-line); border-radius:5px; background:var(--sw-soft); color:var(--sw-ink); font-family:inherit; font-size:12px; font-weight:500; line-height:1.4; padding:5px 24px 5px 9px; cursor:pointer; }
.sw-market-filters select:disabled { opacity:.55; cursor:wait; }
.sw-market-filters select:focus-visible { outline:2px solid var(--ui-accent,#4fffe2); outline-offset:3px; }
.sw-market-filters .sw-icon-button { margin:0; align-self:end; }
.sw-toolbar { display:flex; align-items:center; gap:12px; margin:18px 0 8px; }
.sw-edition { display:flex; gap:11px; align-items:center; min-width:170px; }
.sw-edition strong { display:block; font-size:14px; font-weight:600; }
.sw-edition span:not(.sw-live-mark) { display:block; color:var(--sw-muted); font-size:11px; margin-top:4px; }
.sw-live-mark { display:block; width:4px; height:29px; border-radius:2px; background:var(--ui-accent,#4fffe2); }
.sw-tools { display:flex; width:100%; gap:8px; align-items:center; min-width:0; }
.sw-download { min-height:40px; padding:8px 12px; font-size:12px; white-space:nowrap; flex-shrink:0; }
.sw-download:disabled { opacity:.45; cursor:default; border-color:var(--sw-line); }
.sw-export-status { margin:0 0 14px; font-size:12px; line-height:1.6; color:var(--sw-muted); }
.sw-export-status:empty { display:none; }
.sw-search { display:flex; flex:1; align-items:center; gap:9px; min-width:0; padding:0 14px; border:1px solid var(--sw-line); border-radius:6px; height:42px; color:var(--sw-muted); background:var(--sw-soft); }
.sw-search input { min-width:0; width:100%; border:0; background:none; color:var(--sw-ink); font:inherit; font-size:13px; padding:0; outline-offset:5px; }
.sw-search input::placeholder { color:var(--sw-muted); opacity:1; }
.sw-tools select { min-width:0; color:var(--sw-ink); background:var(--sw-soft); border:1px solid var(--sw-line); border-radius:6px; font:inherit; font-size:12px; min-height:40px; max-width:165px; padding:7px 10px; }
.sw-gallery { display:grid; gap:4px; min-height:300px; overflow:hidden; }
.sw-rail { width:100%; min-width:0; padding:10px 0; overflow-x:auto; scrollbar-width:none; border-radius:8px; }
.sw-rail::-webkit-scrollbar { display:none; }
.sw-track { width:max-content; min-width:100%; display:flex; align-items:stretch; gap:16px; padding-inline:3px; }
.sw-rail.can-travel > .sw-track { animation:swipe-drift var(--swipe-duration,70s) linear infinite alternate-reverse; }
.sw-rail:nth-child(2) > .sw-track { animation-direction:alternate; }
@keyframes swipe-drift { from { transform:translate3d(0,0,0); } to { transform:translate3d(var(--swipe-travel,0px),0,0); } }
.sw-rail:hover > .sw-track,.motion-paused .sw-track,.motion-suspended .sw-track,.detail-open .sw-track,.rail-offscreen > .sw-track { animation-play-state:paused !important; }
.keyboard-browsing .sw-track { animation:none !important; }
.keyboard-browsing .sw-rail { scrollbar-width:thin; }
.sw-card { --sw-media-height:210px; position:relative; display:flex; flex:0 0 310px; width:310px; min-width:0; min-height:330px; overflow:hidden; border:1px solid var(--sw-line,#ffffff20); border-radius:8px; background:var(--sw-soft,#14212b); isolation:isolate; transition:transform .2s,border-color .18s; }
.sw-card-open { position:relative; display:flex; flex-direction:column; flex:1; min-width:0; width:100%; border:0; border-radius:inherit; background:none; padding:0; font:inherit; text-align:left; color:var(--sw-ink,#fff); cursor:pointer; }
.sw-card-open:focus-visible { outline:3px solid #4fffe2; outline-offset:-4px; }
.sw-card-media { position:relative; display:block; width:100%; flex:0 0 var(--sw-media-height); height:var(--sw-media-height); overflow:hidden; background:#0d1722; }
.sw-card-media img,.sw-detail-media > img { width:100%; height:100%; object-fit:contain; display:block; position:absolute; inset:0; }
.sw-card-media::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,#0002,transparent 35%); pointer-events:none; }
.sw-card::after { content:''; position:absolute; z-index:2; pointer-events:none; inset:0; border-radius:inherit; box-shadow:inset 0 1px #e2fff326; opacity:.4; transition:opacity .3s; }
.sw-card:hover::after { opacity:1; }
.sw-card-copy { background:linear-gradient(125deg,color-mix(in srgb,var(--sw-category,#4fffe2) 5%,transparent),transparent 65%); }
.sw-card-media img[data-fallback] { object-fit:contain; padding:18px; }
.sw-media-type { position:absolute; right:10px; bottom:10px; z-index:1; display:flex; align-items:center; gap:5px; padding:5px 7px; border-radius:4px; color:#fff; background:#0d1722de; font-size:10px; }
.sw-media-type .sw-icon { width:13px; height:13px; flex-basis:13px; }
.sw-featured-label { display:inline-flex; align-items:center; gap:5px; position:absolute; bottom:10px; left:10px; padding:6px 8px; border-radius:4px; background:#ffe3a7; color:#30230d; font-size:10px; font-weight:700; z-index:1; }
.sw-featured-label .sw-icon { width:13px; height:13px; flex-basis:13px; }
.sw-archive .sw-heading h1 { display:flex; align-items:center; gap:12px; }
.sw-archive .sw-heading h1 .sw-icon { color:#e1b969; width:27px; height:27px; flex-basis:27px; }
.sw-archive .sw-live-mark { background:#e1b969; }
.sw-load-more { display:flex; margin:24px auto 0; }
.sw-load-more:disabled { opacity:.5; cursor:wait; }
.sw-detail .sw-selection-date { font-size:11px; margin-top:-10px; }
.sw-detail-market { display:flex; flex-wrap:wrap; gap:9px 18px; margin:-8px 0 18px; font-size:12px; color:var(--ui-muted); }
.sw-detail-market > span { display:flex; align-items:center; gap:7px; }
.sw-detail-market .sw-icon { width:15px; height:15px; flex-basis:15px; color:var(--ui-accent); }
.sw-media-fallback { display:grid; position:absolute; inset:0; place-items:center; font-size:48px; font-weight:600; color:#93bcb6; background:#19342f; }
.sw-demo-art { display:block; position:absolute; inset:0; background-image:url('/swipe/editorial-demo.webp'); background-size:300% 200%; background-repeat:no-repeat; }
.sw-art-0 { background-position:0 0; } .sw-art-1 { background-position:50% 0; } .sw-art-2 { background-position:100% 0; }
.sw-art-3 { background-position:0 100%; } .sw-art-4 { background-position:50% 100%; } .sw-art-5 { background-position:100% 100%; }
.sw-card-top { position:absolute; left:10px; right:10px; top:10px; display:flex; justify-content:space-between; align-items:center; gap:8px; font-size:10px; color:#fff; pointer-events:none; }
.sw-card-top > span { background:#0d1722d9; border:1px solid #ffffff26; border-radius:4px; padding:4px 7px; }
.sw-card-top .sw-score { display:inline-flex; align-items:center; gap:4px; color:#92ffe9; font-size:12px; font-weight:650; }
.sw-score .sw-icon { width:12px; height:12px; flex-basis:12px; }
.sw-score small { font-size:9px; color:#d8e6e4; font-weight:400; }
.sw-card-copy { position:static; display:grid; flex:1; width:100%; min-width:0; grid-template-rows:auto 1fr auto; gap:8px; padding:14px 16px; color:var(--sw-ink,#f4faf9); text-align:left; }
.sw-card-copy > small { display:flex; align-items:center; gap:6px; color:var(--sw-muted,#b5cac8); font-size:10px; font-weight:500; line-height:1.5; overflow-wrap:anywhere; }
.sw-card-copy > small::before { content:''; width:4px; height:10px; border-radius:1px; background:var(--sw-category,#4fffe2); flex-shrink:0; }
.sw-card[data-category=renda-extra] { --sw-category:#ffd285; }
.sw-card[data-category=saude] { --sw-category:#9bd3ff; }
.sw-card[data-category=emagrecimento] { --sw-category:#b5e49b; }
.sw-card[data-category=relacionamento] { --sw-category:#f6a6b5; }
.sw-card-copy strong { min-width:0; font-size:17px; font-weight:600; line-height:1.4; overflow-wrap:anywhere; }
.sw-card-copy > span { display:flex; justify-content:space-between; align-items:center; font-size:11px; line-height:1.5; color:var(--sw-muted,#a2b6bb); gap:8px; min-width:0; }
.sw-card-copy > span > span { min-width:0; overflow-wrap:anywhere; }
.sw-card-copy .sw-icon { width:15px; height:15px; flex-basis:15px; transition:transform .2s; }
.sw-card:hover .sw-card-copy .sw-icon { transform:translateX(3px); }
.sw-card:hover { border-color:var(--ui-accent,#4fffe2); }
.sw-card-media > :is(img,.sw-demo-art) { transition:transform .35s cubic-bezier(.2,.7,.3,1); }
@media(hover:hover) and (pointer:fine) {
  .sw-card:hover { transform:translateY(-4px) scale(1.018); z-index:3; }
  .sw-card:hover .sw-card-media > :is(img,.sw-demo-art) { transform:scale(1.035); }
  .sw-card:hover .sw-card-top .sw-score { color:#0d1722; background:#8cffe9; }
  .sw-card:hover .sw-score small { color:#244840; }
}
.sw-card:focus-within { z-index:3; border-color:var(--ui-accent,#4fffe2); }
.sw-detail[open] { animation:swipe-arrive .2s ease-out both; }
@keyframes swipe-arrive { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
.sw-gallery-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; color:var(--sw-muted); font-size:11px; padding:16px 0 25px; }
.sw-gallery-footer button { display:inline-flex; align-items:center; gap:6px; padding:0; background:none; border:0; font-size:11px; color:var(--sw-muted); cursor:pointer; }
.sw-gallery-footer button:hover { color:var(--ui-accent); }
.sw-gallery-footer .sw-icon { width:13px; height:13px; flex-basis:13px; }
.sw-next { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:28px 0; border-top:1px solid var(--sw-line); }
.sw-next h2 { margin:8px 0; font-size:22px; font-weight:550; }
.sw-next p { color:var(--sw-muted); font-size:13px; margin:0; }
.sw-empty { min-height:360px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:40px 24px; border:1px dashed var(--sw-line); border-radius:8px; }
.sw-empty > .sw-icon { width:32px; height:32px; flex-basis:32px; color:var(--ui-accent); margin-bottom:12px; }
.sw-empty h2 { font-size:22px; margin:8px 0; }
.sw-empty p { color:var(--sw-muted); font-size:14px; max-width:500px; line-height:1.6; }
.sw-loading { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.sw-loading span { position:relative; overflow:hidden; height:310px; background:var(--sw-soft); border:1px solid var(--sw-line); border-radius:8px; }
.sw-loading span::after { content:''; position:absolute; inset:0; background:linear-gradient(100deg,transparent 25%,color-mix(in srgb,var(--ui-accent,#4fffe2) 10%,transparent) 50%,transparent 75%); animation:swipe-load 1.8s ease-in-out infinite; }
.sw-loading span:nth-child(2)::after { animation-delay:.15s; }
.sw-loading span:nth-child(3)::after { animation-delay:.3s; }
@keyframes swipe-load { from { transform:translateX(-100%); } to { transform:translateX(100%); } }
.motion-idle .sw-loading span::after { animation-play-state:paused; }
.sw-static-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr)); gap:16px; padding:10px 3px; }
.sw-static-grid .sw-card { width:100%; }
.sw-detail { width:min(1000px,calc(100% - 40px)); max-height:calc(100dvh - 40px); padding:0; border:1px solid var(--ui-line); border-radius:8px; background:var(--ui-surface); color:var(--ui-text); overflow:auto; }
.sw-detail[open] { display:grid; grid-template-columns:.95fr 1fr; }
.sw-detail::backdrop { background:#060d16c9; }
.sw-detail-media { position:relative; min-height:500px; background:#18352f; overflow:hidden; }
.sw-detail-media > img { object-fit:contain; }
.sw-detail-media > span:not(.sw-demo-art):last-child { position:absolute; bottom:20px; left:20px; z-index:1; padding:7px 10px; color:#fff; background:#0d1722e0; font-size:11px; border-radius:4px; }
.sw-detail-body { position:relative; padding:38px 30px 25px; }
.sw-close { position:absolute; top:10px; right:10px; }
.sw-detail h2 { font-size:28px; line-height:1.25; margin:18px 0 22px; padding-right:15px; }
.sw-detail h3 { font-size:14px; margin:24px 0 10px; }
.sw-detail p { font-size:13px; line-height:1.75; color:var(--ui-muted); white-space:pre-line; }
.sw-facts { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; border-block:1px solid var(--ui-line); padding:16px 0; }
.sw-facts span { font-size:10px; color:var(--ui-muted); }
.sw-facts strong { display:block; color:var(--ui-text); font-size:14px; margin-bottom:5px; overflow-wrap:anywhere; }
.sw-facts span:first-child strong { color:var(--ui-accent); }
.sw-detail details { margin:18px 0; font-size:12px; }
.sw-detail summary { cursor:pointer; }
.sw-detail details small { color:var(--ui-muted); font-size:11px; line-height:1.6; }
.sw-detail-links { display:flex; flex-wrap:wrap; gap:16px; padding:16px 0; border-block:1px solid var(--ui-line); }
.sw-detail-links a { display:flex; align-items:center; gap:6px; color:var(--ui-accent); font-size:12px; text-decoration:none; }
.sw-detail-links .sw-missing-link { color:var(--ui-muted); font-size:11px; }
.sw-detail-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.sw-detail-actions button { flex:1; }
.sw-detail-actions button:disabled { opacity:.6; cursor:default; }
.sw-detail .sw-detail-status { font-size:11px; min-height:20px; margin-bottom:0; }
.sw-admin { min-width:0; width:100%; max-width:1150px; margin:auto; color:var(--ui-text); }
.sw-admin [hidden] { display:none !important; }
.sw-admin-header { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:0 0 25px; border-bottom:1px solid var(--ui-line); }
.sw-admin-header h2 { font-size:28px; margin:8px 0; }
.sw-admin-header p,.sw-admin p { font-size:13px; color:var(--ui-muted); line-height:1.6; }
.sw-admin-layout { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr); gap:35px; margin-top:24px; }
.sw-admin form { display:grid; gap:16px; }
.sw-admin label { display:grid; gap:7px; font-size:12px; }
.sw-admin :is(input,select,textarea) { width:100%; min-width:0; background:var(--ui-surface); color:var(--ui-text); border:1px solid var(--ui-line); border-radius:6px; padding:10px 12px; font:inherit; }
.sw-admin textarea { resize:vertical; min-height:240px; font:12px/1.6 ui-monospace,monospace; }
.sw-admin .sw-check { display:flex; align-items:flex-start; gap:10px; line-height:1.6; }
.sw-check input { width:17px; height:17px; accent-color:#007567; flex-shrink:0; }
.sw-admin-actions { display:flex; gap:10px; flex-wrap:wrap; }
.sw-admin h3 { font-size:16px; margin:0 0 16px; }
.sw-batch-list { display:grid; gap:0; }
.sw-batch-list button { display:grid; gap:5px; text-align:left; padding:15px 4px; background:none; color:var(--ui-text); border:0; border-bottom:1px solid var(--ui-line); cursor:pointer; }
.sw-batch-list button:hover { color:var(--ui-accent); }
.sw-batch-list small { font-size:11px; color:var(--ui-muted); }
.sw-batch-list strong { font-size:13px; }
.app-shell.offers-hidden :is(.sw-gallery,.sw-detail-media,.sw-detail-body) { filter:blur(14px); }
.app-shell.offers-hidden .sw-track { animation-play-state:paused !important; }
.app-shell .nav-item > .nav-icon.sw-icon { width:22px; height:22px; flex:0 0 22px; }
@media(max-width:1100px) {
  .sw-filter-rail { grid-template-columns:minmax(0,1fr); }
  .sw-market-filters { padding-left:0; border-left:0; }
  .sw-heading-tools { gap:12px; }
  .sw-heading-tools .sw-edition { padding-left:18px; }
  .sw-heading h1 { font-size:29px; }
  .sw-tools { flex:1 1 100%; }
  .sw-search { flex:1 1 180px; }
  .sw-search input { width:100%; }
  .sw-tabs { flex-basis:100%; }
}
@media(max-width:760px) {
  .sw-heading::after { display:none; }
  .sw-heading { display:grid; grid-template-columns:minmax(0,1fr); gap:18px; padding:0 0 16px; }
  .sw-heading h1 { font-size:22px; margin:0; }
  .sw-heading .sw-eyebrow,.sw-heading p { display:none; }
  .sw-heading-tools { justify-content:space-between; }
  .sw-heading-tools .sw-edition { border-left:0; padding-left:0; }
  .sw-heading-tools .sw-edition strong { font-size:14px; }
  .sw-heading > button { padding:10px; font-size:0; min-width:44px; min-height:44px; }
  .sw-heading > button .sw-icon { font-size:16px; }
  .sw-tabs { flex-basis:100%; gap:4px; }
  .sw-tabs button { flex-direction:row; padding:10px 12px; min-height:44px; font-size:12px; }
  .sw-tabs button .sw-icon { width:18px; height:18px; flex-basis:18px; }
  .sw-market-filters { width:100%; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; }
  .sw-market-filters > label { gap:6px; }
  .sw-market-filters > label > .sw-icon { display:none; }
  .sw-market-filters label > span { width:100%; }
  .sw-market-filters select { width:100%; min-height:44px; padding-right:15px; }
  .sw-market-filters .sw-icon-button { grid-column:2; justify-self:end; }
  .sw-toolbar { display:grid; grid-template-columns:minmax(0,1fr) repeat(3,44px); justify-content:stretch; gap:8px; margin:16px 0 8px; }
  .sw-edition { min-width:0; }
  .sw-tools { display:contents; }
  .sw-search { grid-column:1/-1; grid-row:1; height:44px; }
  .sw-search input { width:100%; }
  .sw-tools select { grid-column:1; grid-row:2; width:100%; max-width:none; min-height:44px; }
  .sw-tools [data-pause] { grid-column:2; grid-row:2; }
  .sw-tools [data-grid] { grid-column:3; grid-row:2; }
  .sw-icon-button { width:44px; height:44px; min-width:44px; min-height:44px; }
  .sw-download { grid-column:4; grid-row:2; width:44px; height:44px; padding:10px; font-size:0; }
  .sw-card { flex-basis:min(300px,calc(100vw - 98px)); width:min(300px,calc(100vw - 98px)); }
  .sw-track { gap:12px; }
  .sw-card-copy strong { font-size:15px; }
  .sw-gallery-footer { flex-wrap:wrap; align-items:flex-start; font-size:11px; }
  .sw-gallery-footer > span { line-height:1.6; }
  .sw-gallery-footer button { font-size:10px; white-space:nowrap; }
  .sw-next { flex-direction:column; align-items:flex-start; gap:18px; padding:24px 0; }
  .sw-next h2 { font-size:21px; }
  .sw-next .sw-primary { width:100%; }
  .sw-loading { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sw-detail { width:calc(100% - 24px); max-height:calc(100dvh - 24px); }
  .sw-detail[open] { grid-template-columns:1fr; }
  .sw-detail-media { min-height:0; height:240px; }
  .sw-detail-body { padding:30px 20px 20px; }
  .sw-detail h2 { font-size:24px; }
  .sw-detail-actions { flex-direction:column; }
  .sw-admin-layout { grid-template-columns:1fr; }
  .sw-admin-header { align-items:flex-start; }
  .sw-admin-header h2 { font-size:23px; }
}
@media(max-width:480px) {
  .sw-loading { grid-template-columns:minmax(0,1fr); }
  .sw-card-copy { padding:12px; }
  .sw-detail h2 { overflow-wrap:anywhere; }
}
@media(prefers-reduced-motion:reduce) { .sw-track,.sw-loading span::after,.swipe-page .sw-heading,.swipe-page .sw-gallery,.sw-detail[open] { animation:none !important; } .swipe-page *, .sw-card, .sw-card-media > :is(img,.sw-demo-art) { transition:none !important; } .sw-card:hover,.sw-card:hover .sw-card-media > :is(img,.sw-demo-art) { transform:none; } }
.sw-admin-budget{padding:20px 0;margin:0 0 24px;border-block:1px solid var(--border,#29403e)}
.sw-admin-budget p{font-size:13px;line-height:1.6;color:var(--muted,#a9b7b7);max-width:900px}
