/* ==========================================================================
 * TOOROCOLLAB: SITE LAYER STYLES
 * Header, mobile menu, footer, campaigns, services page, admin campaign tools,
 * and site-wide responsive fixes (320px → 1920px+).
 * Uses the existing design tokens from main.css (--accent, --surface, --border…).
 * ========================================================================== */

/* ---------- Global responsive safety net ---------- */
html, body { max-width: 100%; overflow-x: clip; }
@supports not (overflow: clip) { body { overflow-x: hidden; } }
body { -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; }
img, video, svg, iframe { max-width: 100%; }
img { height: auto; }
table { max-width: 100%; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--accent); color: var(--on-accent); padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 10px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); outline-offset: 2px; }
.wrap { width: 100%; max-width: min(var(--maxw, 1240px), 1280px); padding-left: clamp(16px, 4vw, 28px); padding-right: clamp(16px, 4vw, 28px); }
.sx-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 28px); }
h1 { overflow-wrap: anywhere; }
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-align: center; }
.btn-sm { min-height: 38px; }
.btn[disabled], .btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
@media (pointer: coarse) { .btn-sm { min-height: 44px; } }
input, select, textarea { font-size: 16px; max-width: 100%; } /* 16px stops iOS zoom on focus */
@media (min-width: 900px) { input, select, textarea { font-size: inherit; } }
.sx-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.sx-skel { border-radius: 16px; background: linear-gradient(90deg, var(--skeleton) 25%, var(--skeleton-hi) 37%, var(--skeleton) 63%); background-size: 400% 100%; animation: sxSk 1.4s ease infinite; }
@keyframes sxSk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
body.sx-lock { overflow: hidden; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease var(--d, 0ms), transform .55s ease var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto !important; } }

/* ---------- Header ---------- */
header.site-header.sx-header { position: sticky; top: 0; z-index: 120; border-bottom: 1px solid transparent; transition: box-shadow .25s, background .25s, border-color .25s; -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); }
header.site-header.sx-header.scrolled { box-shadow:var(--shadow-md); border-bottom-color: var(--border-soft); }
.sx-header .header-row { height: 72px; gap: clamp(10px, 2vw, 24px); }
.sx-header .brand-lockup { flex-shrink: 0; display: flex; flex-direction: column; line-height: 1.05; }
.sx-header nav.main-nav { gap: clamp(14px, 2.2vw, 30px); flex: 1; justify-content: center; min-width: 0; }
.sx-header nav.main-nav a { font-weight: 600; font-size: 14.5px; white-space: nowrap; padding: 8px 2px; }
.sx-header nav.main-nav a.active { color: var(--accent); }
.sx-header nav.main-nav a.active::after { bottom: -14px; border-radius: 2px; }
.sx-header .header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.sx-login { font-weight: 600; font-size: 14.5px; color: var(--text); padding: 10px 8px; min-height: 44px; display: inline-flex; align-items: center; }
.sx-login:hover { color: var(--accent); }
.sx-user { position: relative; }
.sx-avatar { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--border); background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; padding: 0; }
.sx-avatar { padding: 0; overflow: hidden; }
.sx-avatar .tc-av { --av: 38px !important; }
.sx-avatar:hover, .sx-user.open .sx-avatar { border-color: var(--accent); }
.sx-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-modal); padding: 6px; display: none; z-index: 130; }
.sx-user.open .sx-menu { display: block; animation: sxPop .15s ease; }
@keyframes sxPop { from { opacity: 0; transform: translateY(-4px); } }
.sx-menu-head { padding: 10px 12px 8px; border-bottom: 1px solid var(--border-soft); margin-bottom: 4px; }
.sx-menu-head b { display: block; font-size: 14px; }
.sx-menu-head small { color: var(--text-faint); font-size: 12px; word-break: break-all; }
.sx-menu a, .sx-menu button { display: flex; width: 100%; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 10px; font-size: 14px; color: var(--text); background: none; border: 0; text-align: left; min-height: 44px; }
.sx-menu a:hover, .sx-menu button:hover { background: var(--surface-2); }
.join-menu { z-index: 130; }
@media (max-width: 1100px) {
  .sx-header nav.main-nav { display: none; }
  .sx-header .hamburger { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; }
  .sx-header .sx-dash { display: none; }
}
@media (max-width: 560px) {
  .sx-header .header-row { height: 64px; }
  .sx-header .brand-lockup .parent { display: none; }
  .sx-header .brand-lockup .name { font-size: 17px; }
  .sx-header .join-wrap, .sx-header .sx-login { display: none; }
}

/* Mobile slide-in menu */
.sx-scrim { position: fixed; inset: 0; background:var(--overlay); z-index: 140; animation: sxFade .2s ease; }
@keyframes sxFade { from { opacity: 0; } }
.mobile-drawer.sx-drawer { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: min(380px, 88vw); height: 100%; padding: 14px 20px 24px; background: var(--bg, var(--surface)); border-left: 1px solid var(--border); box-shadow:var(--shadow-md); z-index: 150; transform: translateX(105%); transition: transform .28s cubic-bezier(.2,.8,.2,1); visibility: hidden; overflow-y: auto; }
.mobile-drawer.sx-drawer.open { transform: none; visibility: visible; }
.sx-drawer-top { display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin-bottom: 8px; }
.sx-close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); font-size: 18px; color: var(--text); }
.sx-mnav a { display: flex; align-items: center; min-height: 54px; padding: 0 6px; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--border-soft); color: var(--text); }
.sx-mnav a.active { color: var(--accent); }
.sx-drawer .m-actions { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 1101px) { .mobile-drawer.sx-drawer, .sx-scrim { display: none !important; } }

/* Footer */
.sx-footer .foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.sx-footer .foot-col a { display: block; padding: 5px 0; min-height: 32px; }
.sx-footer .foot-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: center; }
.sx-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.sx-legal a { font-size: 12.5px; opacity: .8; }
@media (max-width: 900px) { .sx-footer .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sx-footer .foot-grid { grid-template-columns: 1fr 1fr; } .sx-footer .foot-col:first-child, .sx-footer .foot-col:last-child { grid-column: 1 / -1; } .sx-footer { padding: 48px 0 90px !important; } }

/* Floating WhatsApp button never covers content on phones */
@media (max-width: 640px) { .wa-float { bottom: 14px; right: 14px; } }
@media (max-width: 640px) { #tcnTheme { width: 42px; height: 42px; left: 12px; bottom: 14px; } }

/* ---------- Campaigns ---------- */
.cp-hero { padding: clamp(40px, 7vw, 80px) 0 20px; background: radial-gradient(1200px 400px at 50% -20%, var(--accent-soft), transparent 70%); }
.cp-hero h1 { font-size: clamp(28px, 5vw, 48px); line-height: 1.1; margin: 10px 0 12px; max-width: 760px; }
.cp-hero p { color: var(--text-dim); font-size: clamp(15px, 2vw, 18px); max-width: 680px; margin: 0; }
.cp-page { padding-bottom: 80px; }
.cp-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--border); margin: 18px 0 16px; overflow-x: auto; scrollbar-width: none; }
.cp-tabs::-webkit-scrollbar { display: none; }
.cp-tabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 16px; font-weight: 700; font-size: 15px; color: var(--text-dim); min-height: 48px; white-space: nowrap; }
.cp-tabs button.on { color: var(--accent); border-bottom-color: var(--accent); }
.cp-tabs .n { display: inline-block; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--surface-2); font-size: 12px; margin-left: 4px; }
.cp-tabs .n:empty { display: none; }
.cp-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.cp-filters input, .cp-filters select { min-height: 44px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; }
.cp-search { flex: 1 1 260px; display: block; }
.cp-search input { width: 100%; }
.cp-pay-f { display: flex; align-items: center; gap: 6px; }
.cp-pay-f input { width: 110px; }
@media (max-width: 600px) { .cp-filters > * { flex: 1 1 100%; } .cp-filters > select { flex: 1 1 calc(50% - 5px); min-width: 0; } .cp-pay-f input { flex: 1; width: auto; } .cp-cover { aspect-ratio: 16 / 6; } }
.cp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.cp-grid.cp-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1024px) { .cp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cp-grid, .cp-grid.cp-grid-2 { grid-template-columns: 1fr; } }
.cp-skel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.cp-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; min-width: 0; }
.cp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.cp-card.closed { opacity: .72; filter: saturate(.6); }
.cp-card.closed:hover { opacity: .9; }
.cp-cover { position: relative; aspect-ratio: 16 / 7; background: var(--accent-grad-soft); }
.cp-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-cover-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; opacity: .65; }
.cp-cover-ph .cp-ic { width: 38px; height: 38px; }
.cp-badge { position: static; display: inline-block; font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: 999px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); letter-spacing: .02em; }
.cp-cover .cp-badge { position: absolute; left: 12px; top: 12px; }
.cp-dmeta .cp-badge, .tcn-actions .cp-badge, .ac-row .cp-badge { box-shadow: none; }
.cp-badge.active { background: var(--fill-success); color: var(--on-solid); }
.cp-badge.upcoming { background: var(--fill-info); color: var(--on-solid); }
.cp-badge.closed { background: var(--fill-neutral); color: var(--on-solid); }
.cp-badge.draft { background: var(--fill-warning); color: var(--on-solid); }
.cp-mine { position: absolute; right: 12px; top: 12px; }
.cp-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 0; }
.cp-brand { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--text-dim); min-width: 0; }
.cp-brand > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-plat { margin-left: auto; display: inline-flex; gap: 4px; flex-shrink: 0; }
.cp-logo { width: 32px; height: 32px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border-soft); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; font-weight: 800; color: var(--accent); flex-shrink: 0; }
.cp-logo img { width: 100%; height: 100%; object-fit: cover; }
.cp-logo.lg { width: 64px; height: 64px; border-radius: 16px; font-size: 24px; }
.cp-ic { display: inline-flex; width: 20px; height: 20px; }
.cp-ic svg { width: 100%; height: 100%; }
.cp-card h3 { margin: 0; font-size: 18px; line-height: 1.3; }
.cp-card h3 a { color: var(--text); }
.cp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cp-tags span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.cp-deliv { margin: 0; font-size: 13.5px; color: var(--text-dim); }
.cp-dates { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--text-dim); }
.cp-dates b.active, .cp-dmeta b.active { color: var(--accent); }
.cp-dates b.upcoming, .cp-dmeta b.upcoming { color:var(--info-text); }
.cp-dates b.closed { color: var(--text-faint); }
.cp-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; padding-top: 12px; border-top: 1px solid var(--border-soft); flex-wrap: wrap; }
.cp-pay { display: flex; flex-direction: column; min-width: 0; }
.cp-pay small { font-size: 11.5px; color: var(--text-faint); }
.cp-pay b { font-size: 18px; }
.cp-link { color: var(--accent); font-weight: 700; }
.cp-pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.cp-pill.ok { background: var(--success-soft); color: var(--success-text); }
.cp-pill.info { background: var(--info-soft); color: var(--info-text); }
.cp-pill.warn { background: var(--warning-soft); color:var(--warning-text); }
.cp-pill.bad { background: var(--danger-soft); color: var(--danger-text); }
.cp-empty { text-align: center; padding: clamp(36px, 6vw, 70px) 20px; border: 1px dashed var(--border); border-radius: 20px; background: var(--surface); }
.cp-empty .ic { font-size: 40px; }
.cp-empty h3 { margin: 10px 0 6px; }
.cp-empty p { color: var(--text-dim); margin: 0 auto 16px; max-width: 460px; }
.cp-empty .sx-actions { justify-content: center; }
.cp-empty.sm { padding: 26px 16px; }
.cp-mini .cp-cover { aspect-ratio: 16 / 6; }

/* Detail */
.cp-dhero { position: relative; padding: clamp(28px, 6vw, 60px) 0 26px; background: radial-gradient(1000px 360px at 20% -20%, var(--accent-soft), transparent 70%); overflow: hidden; }
.cp-dcover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .14; filter: blur(2px); pointer-events: none; }
.cp-dhero .sx-wrap { position: relative; }
.cp-back { display: inline-flex; min-height: 40px; align-items: center; color: var(--text-dim); font-weight: 600; margin-bottom: 10px; }
.cp-dhead { display: flex; gap: 16px; align-items: flex-start; }
.cp-dhead h1 { font-size: clamp(26px, 4.5vw, 44px); line-height: 1.12; margin: 4px 0 10px; }
.cp-dbrand { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--text-dim); }
.cp-dmeta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 14px; color: var(--text-dim); }
.cp-dhero.closed .cp-dhead { opacity: .8; }
.cp-dgrid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; padding-top: 20px; padding-bottom: 90px; align-items: start; }
@media (max-width: 960px) { .cp-dgrid { grid-template-columns: 1fr; } .cp-side { order: -1; } .cp-dhead { flex-direction: column; } }
.cp-box { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: clamp(16px, 2.5vw, 24px); margin-bottom: 16px; }
.cp-box h2 { font-size: 19px; margin: 0 0 12px; }
.cp-brief { line-height: 1.7; overflow-wrap: anywhere; }
.cp-brief a { color: var(--accent); text-decoration: underline; }
.cp-brief img { border-radius: 12px; }
.cp-dl { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.cp-dl li { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; }
.cp-req { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.cp-req > div { background: var(--surface-2); border-radius: 12px; padding: 12px; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; }
.cp-req span { grid-row: span 2; font-size: 20px; }
.cp-req small { color: var(--text-faint); font-size: 12px; }
.cp-sticky { position: sticky; top: 90px; }
@media (max-width: 960px) { .cp-sticky { position: static; } }
.cp-big { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--border-soft); display: flex; flex-direction: column; }
.cp-big small { color: var(--text-faint); }
.cp-big b { font-size: 30px; line-height: 1.2; }
.cp-facts { display: grid; gap: 10px; margin-bottom: 16px; }
.cp-facts small { display: block; color: var(--text-faint); font-size: 12px; }
#cpApplyBox { display: flex; flex-direction: column; gap: 10px; }
.cp-note { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.cp-hint { font-size: 13px; color: var(--text-dim); margin: 0; text-align: center; }
.cp-applied { background: var(--success-soft); color: var(--success-text); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.cp-applied b { font-size: 18px; }
.cp-applied span { color: var(--text); font-size: 14px; }
.cp-why { background: var(--warning-soft); border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.cp-why ul { margin: 6px 0 0; padding-left: 18px; }
.cp-why li { margin: 4px 0; }
.cp-headrow { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }

/* Tables → cards on phones */
.cp-tablebox { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border-soft); border-radius: 14px; margin-top: 12px; }
.cp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cp-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-faint); background: var(--surface-2); padding: 10px 12px; white-space: nowrap; }
.cp-table td { padding: 12px; border-top: 1px solid var(--border-soft); vertical-align: top; }
.cp-table tr.on td { background: var(--accent-soft); }
.cp-who { display: flex; gap: 10px; align-items: center; color: inherit; min-width: 0; }
.cp-who img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.cp-who span { display: flex; flex-direction: column; min-width: 0; }
.cp-who small { color: var(--text-faint); font-size: 12px; }
@media (max-width: 720px) {
  .cp-tablebox { border: 0; overflow: visible; }
  .cp-table thead { display: none; }
  .cp-table, .cp-table tbody, .cp-table tr, .cp-table td { display: block; width: 100%; }
  .cp-table tr { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 6px 4px; margin-bottom: 10px; }
  .cp-table td { border: 0; padding: 7px 12px; display: grid; grid-template-columns: 110px 1fr; gap: 8px; }
  .cp-table td::before { content: attr(data-l); font-size: 12px; font-weight: 700; color: var(--text-faint); text-transform: uppercase; letter-spacing: .03em; }
  .cp-table td:not([data-l]) { grid-template-columns: 1fr; }
  .cp-table td:not([data-l])::before { content: none; }
}
.cp-bcard .cp-bhead { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.cp-bcard .cp-bhead .cp-badge { position: static; }

/* Forms (campaign editor / request) */
.cp-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.cp-form .full, .cp-form h4 { grid-column: 1 / -1; }
.cp-form h4 { margin: 10px 0 0; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); border-top: 1px solid var(--border-soft); padding-top: 14px; }
.cp-form h4:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 640px) { .cp-form { grid-template-columns: 1fr; } }
.cp-f label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.cp-f input, .cp-f select, .cp-f textarea { width: 100%; min-height: 44px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); font: inherit; }
.cp-f textarea { min-height: 90px; resize: vertical; }
.cp-f .help { font-size: 12px; color: var(--text-faint); margin-top: 4px; }
.cp-f .err { font-size: 12.5px; color: var(--danger-text); margin-top: 4px; min-height: 0; }
.cp-f.bad input, .cp-f.bad select, .cp-f.bad textarea { border-color: var(--danger); }
.cp-money { display: flex; gap: 6px; }
.cp-money select { width: 90px; flex-shrink: 0; }
.cp-up { border: 2px dashed var(--border); border-radius: 12px; min-height: 110px; display: flex; align-items: center; justify-content: center; cursor: pointer; overflow: hidden; color: var(--text-faint); font-size: 13px; text-align: center; padding: 6px; }
.cp-up.sm { min-height: 80px; }
.cp-up img { max-height: 140px; width: auto; border-radius: 8px; }
.cp-chips { display: flex; flex-wrap: wrap; gap: 6px; max-height: 170px; overflow: auto; padding: 4px; border: 1px solid var(--border-soft); border-radius: 12px; }
.cp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--surface-2); font-size: 13px; cursor: pointer; min-height: 36px; }
.cp-chip input { width: 16px; height: 16px; min-height: 0; accent-color: var(--accent); }
.cp-deliv-ed { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.cp-dq { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border-radius: 12px; padding: 8px 10px; font-size: 14px; min-height: 48px; }
.cp-dq input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); }
.cp-dq input[type=number] { width: 62px; margin-left: auto; min-height: 36px; padding: 4px 6px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.cp-rte { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.cp-rte .bar { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; background: var(--surface-2); border-bottom: 1px solid var(--border-soft); }
.cp-rte .bar button { min-height: 34px; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 13px; }
.cp-rte .ed { min-height: 160px; max-height: 360px; overflow: auto; padding: 12px; outline: none; line-height: 1.6; background: var(--surface); }
.cp-sticky-bar { position: sticky; bottom: -1px; background: var(--surface); padding: 12px 0 2px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--border-soft); }

/* Admin campaigns */
.ac-list { display: grid; gap: 10px; }
.ac-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; }
.ac-row .cp-badge { position: static; box-shadow: none; }
.ac-main b { font-size: 15.5px; }
.ac-btns { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.ac-more { position: relative; }
.ac-more summary { list-style: none; }
.ac-more summary::-webkit-details-marker { display: none; }
.ac-more > div { position: absolute; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-modal); padding: 6px; min-width: 190px; z-index: 20; }
.ac-more a, .ac-more button { display: flex; width: 100%; padding: 10px 12px; border-radius: 8px; background: none; border: 0; text-align: left; color: var(--text); font-size: 14px; min-height: 40px; align-items: center; }
.ac-more a:hover, .ac-more button:hover { background: var(--surface-2); }
.ac-more .bad { color: var(--danger-text); }
@media (max-width: 760px) { .ac-row { grid-template-columns: 1fr; } .ac-btns { justify-content: flex-start; } .ac-more > div { right: auto; left: 0; } }
.as-list { max-height: 46vh; overflow: auto; border: 1px solid var(--border-soft); border-radius: 12px; }
.as-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px 12px; border-bottom: 1px solid var(--border-soft); cursor: pointer; min-height: 48px; }
.as-row input { width: 18px; height: 18px; accent-color: var(--accent); }
.ap-bulk { position: sticky; top: 0; z-index: 5; background: var(--bg, var(--surface)); padding: 6px 0; }

/* Modals fit small screens */
.tcn-modal { padding: 12px !important; align-items: flex-start !important; overflow-y: auto; }
.tcn-modal .box { width: 100% !important; max-width: min(620px, 100%) !important; max-height: none; margin: 4vh auto !important; }
.tcn-modal .box.wide { max-width: min(920px, 100%) !important; }
@media (max-width: 600px) { .tcn-modal .box { padding: 20px 16px !important; border-radius: 16px !important; margin: 8px auto !important; } }

/* Creator YouTube status */
.tp-yt { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.tp-yt img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.tp-yt-err { background: var(--warning-soft); border-radius: 12px; padding: 12px; }

/* ---------- Services page ---------- */
.sv-hero { padding: clamp(48px, 8vw, 100px) 0 clamp(36px, 5vw, 60px); background: radial-gradient(1100px 420px at 50% -10%, var(--accent-soft), transparent 70%); }
.sv-hero-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.sv-hero h1 { font-size: clamp(32px, 5.2vw, 58px); line-height: 1.06; letter-spacing: -.02em; margin: 12px 0 16px; }
.sv-hero p { font-size: clamp(16px, 1.8vw, 19px); color: var(--text-dim); max-width: 620px; margin: 0 0 24px; }
.sv-stats { display: grid; gap: 14px; }
.sv-stats > div { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 20px 22px; display: flex; align-items: baseline; gap: 14px; box-shadow: var(--shadow-card, none); }
.sv-stats b { font-size: clamp(30px, 4vw, 42px); line-height: 1; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 110px; }
.sv-stats span { color: var(--text-dim); font-weight: 600; }
@media (max-width: 900px) { .sv-hero-in { grid-template-columns: 1fr; } .sv-stats { grid-template-columns: repeat(3, 1fr); } .sv-stats > div { flex-direction: column; gap: 4px; padding: 16px; } .sv-stats b { min-width: 0; } }
@media (max-width: 520px) { .sv-stats { grid-template-columns: 1fr; } .sv-stats > div { flex-direction: row; } .sv-hero .btn-lg { width: 100%; } }
.sv-logos { padding: 26px 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.sv-logos p { text-align: center; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); margin: 0 0 14px; }
.sv-logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(18px, 4vw, 48px); }
.sv-logo-row img { height: 34px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: .2s; }
.sv-logo-row img:hover { filter: none; opacity: 1; }
.sv-sec { padding: clamp(50px, 8vw, 96px) 0; }
.sv-alt { background: var(--surface-2); }
.sv-head { text-align: center; max-width: 720px; margin: 0 auto clamp(26px, 4vw, 44px); }
.sv-head.row { display: flex; justify-content: space-between; align-items: flex-end; text-align: left; max-width: none; gap: 14px; flex-wrap: wrap; }
.sv-head h2, .sv-detail h2, .sv-how h2 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.15; margin: 8px 0 10px; }
.sv-head p { color: var(--text-dim); margin: 0; }
.sv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
@media (max-width: 1024px) { .sv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sv-grid { grid-template-columns: 1fr; } }
.sv-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 24px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.sv-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); box-shadow: var(--shadow-card-hover); }
.sv-ic { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 26px; background: var(--accent-soft); margin-bottom: 14px; }
.sv-card h3 { margin: 0 0 8px; font-size: 18px; }
.sv-card p { color: var(--text-dim); margin: 0 0 12px; font-size: 14.5px; line-height: 1.6; }
.sv-toggle { background: none; border: 0; padding: 8px 0; color: var(--accent); font-weight: 700; min-height: 40px; }
.sv-more { padding-top: 6px; }
.sv-for { font-size: 14px; }
.sv-check { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.sv-check li { position: relative; padding-left: 28px; line-height: 1.5; }
.sv-check li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.sv-check.out li::before { content: '↗'; }
.sv-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(20px, 3vw, 36px) 0; }
.sv-detail.flip .sv-detail-media { order: 2; }
.sv-detail h4 { margin: 18px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); }
.sv-detail p { color: var(--text-dim); line-height: 1.7; }
.sv-detail-media img { width: 100%; border-radius: 24px; aspect-ratio: 4 / 3; object-fit: cover; }
.sv-detail-art { aspect-ratio: 4 / 3; border-radius: 24px; background: var(--accent-grad-soft); display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); }
.sv-detail-art span { font-size: clamp(64px, 10vw, 110px); filter: drop-shadow(0 18px 30px var(--border)); }
@media (max-width: 860px) { .sv-detail { grid-template-columns: 1fr; } .sv-detail.flip .sv-detail-media { order: 0; } .sv-detail-media { max-width: 520px; } }
.sv-how { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); }
@media (max-width: 860px) { .sv-how { grid-template-columns: 1fr; } }
.sv-steps { list-style: none; padding: 0; margin: 20px 0 22px; display: grid; gap: 14px; }
.sv-steps li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px; }
.sv-steps li > b { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: var(--accent-grad); color: var(--on-accent); display: flex; align-items: center; justify-content: center; }
.sv-steps h3 { margin: 0 0 4px; font-size: 16px; }
.sv-steps p { margin: 0; color: var(--text-dim); font-size: 14px; }
.sv-why { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .sv-why { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .sv-why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .sv-why { grid-template-columns: 1fr; } }
.sv-why > div { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 20px; }
.sv-why span { font-size: 28px; }
.sv-why h3 { font-size: 16px; margin: 10px 0 6px; }
.sv-why p { margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.55; }
.sv-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1024px) { .sv-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sv-cases { grid-template-columns: 1fr; } }
.sv-case { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 22px; color: inherit; transition: transform .2s, box-shadow .2s; }
.sv-case:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.sv-case img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
.sv-case h3 { margin: 0; font-size: 18px; }
.sv-case p { margin: 0; color: var(--text-dim); font-size: 14.5px; }
.sv-case .tcn-pill { align-self: flex-start; }
.sv-res { display: flex; gap: 16px; flex-wrap: wrap; padding: 10px 0; }
.sv-res b { display: block; font-size: 22px; color: var(--accent); }
.sv-res span { font-size: 12.5px; color: var(--text-dim); }
.sv-slider { overflow: hidden; max-width: 820px; margin: 0 auto; }
.sv-track { display: flex; transition: transform .5s ease; }
.sv-quote { flex: 0 0 100%; margin: 0; text-align: center; padding: 10px clamp(8px, 4vw, 40px); }
.sv-quote img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; }
.sv-quote blockquote { margin: 0 0 16px; font-size: clamp(17px, 2.2vw, 22px); line-height: 1.55; }
.sv-quote figcaption b { display: block; }
.sv-quote small { color: var(--text-dim); }
.sv-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.sv-dots button { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 0; background: var(--border); position: relative; }
.sv-dots button::after { content: ''; position: absolute; inset: -14px; } /* bigger tap area */
.sv-dots button.on { background: var(--accent); width: 26px; border-radius: 999px; }
.sv-pk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; max-width: 1080px; margin: 0 auto; }
@media (max-width: 900px) { .sv-pk { grid-template-columns: 1fr; max-width: 520px; } }
.sv-pkg { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 26px; }
.sv-pkg.feat { border: 2px solid var(--accent); box-shadow:var(--shadow-md); }
.sv-pop { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent-grad); color: var(--on-accent); font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.sv-pkg h3 { margin: 0 0 6px; font-size: 20px; }
.sv-pkg p { color: var(--text-dim); margin: 0 0 14px; }
.sv-price { font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.sv-price.q { font-size: 18px; color: var(--accent); }
.sv-pkg .sv-check { flex: 1; }
.sv-faq-wrap { max-width: 860px; }
.sv-faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; }
.sv-faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; list-style: none; position: relative; min-height: 52px; display: flex; align-items: center; }
.sv-faq summary::-webkit-details-marker { display: none; }
.sv-faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--accent); transition: transform .2s; }
.sv-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.sv-faq p { margin: 0; padding: 0 18px 18px; color: var(--text-dim); line-height: 1.65; }
.sv-final { text-align: center; margin: clamp(40px, 6vw, 70px) 0 clamp(60px, 8vw, 100px); padding: clamp(36px, 6vw, 64px) 20px; border-radius: 28px; background: var(--promo-grad); color: var(--on-image); }
.sv-final h2 { color: var(--on-image); font-size: clamp(26px, 4vw, 42px); margin: 0 0 10px; }
.sv-final p { color: var(--on-image-dim); margin: 0 auto 22px; max-width: 560px; }
.sv-final .sx-actions { justify-content: center; }
.sv-final .btn-ghost { background: var(--on-image-glass); color: var(--on-image); border-color: var(--on-image-line); }

/* ---------- Home ---------- */
.sx-home-camps { min-width: 0; }
.two-col > * { min-width: 0; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr !important; } .two-col .glass-panel { order: 0 !important; } .stat-band { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .stat-band .num { font-size: 26px !important; } .stat-band .lbl { font-size: 11.5px; } .hero-actions .btn { flex: 1 1 100%; } }

/* ---------- Portal / admin responsive fixes ---------- */
.tp-page, .portal-content, .tcn-wrap { min-width: 0; }
.tcn-tablebox { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ax-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.ax-tabs .btn { white-space: nowrap; flex-shrink: 0; }
.tcn-toolbar { display: flex; flex-wrap: wrap; gap: 8px; }
.tcn-toolbar > * { min-width: 0; }
@media (max-width: 640px) {
  .tcn-toolbar > .tcn-input, .tcn-toolbar > select, .tcn-toolbar > input { flex: 1 1 100%; max-width: none !important; }
  .tcn-actions { flex-wrap: wrap; }
  .tcn-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .portal-content { padding: 16px !important; }
}
.sv-detail-copy .btn { margin-top: 12px; }
.sv-detail-copy p:last-of-type { margin-bottom: 4px; }

/* Sections that set "padding: X 0" inline must still keep side gutters */
section.wrap[style*="padding"], div.wrap[style*="padding"] { padding-left: clamp(16px, 4vw, 28px) !important; padding-right: clamp(16px, 4vw, 28px) !important; }
@media (max-width: 760px) {
  .net-stage { height: 300px !important; }

  .hero { padding-bottom: 20px !important; }
}
@media (max-width: 420px) { .net-stage { display: none; } }

/* Auth pages: tabs + labels wrap on the smallest phones */
.tcn-authtabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tcn-authtabs a { flex: 1 1 auto; text-align: center; white-space: normal; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.field label { overflow-wrap: anywhere; }
@media (max-width: 380px) { .page-pad .card, .wrap.page-pad > .card { padding: 22px 14px !important; } }
.ac-more:not([open]) > div { display: none; }
.ax-list .row { flex-wrap: wrap; row-gap: 6px; }
.ax-list .row .t { min-width: 0; flex: 1 1 160px; }
.ax-list .row .t b, .ax-list .row .t span { overflow-wrap: anywhere; }

/* ======================= Update 3 ======================= */
/* Services: every card in a row is the same size; button sits at the bottom */
.sv-grid { align-items: stretch; }
.sv-card { display: flex; flex-direction: column; height: 100%; padding: 26px 24px 22px; }
.sv-card h3 { min-height: 2.6em; display: flex; align-items: flex-end; }
.sv-card p { flex: 1; }
.sv-card-foot { margin-top: auto; padding-top: 6px; }
.sv-card .sv-toggle { color: var(--accent); font-weight: 700; padding: 8px 14px; }
@media (max-width: 640px) { .sv-card h3 { min-height: 0; } }
.sv-hero { position: relative; overflow: hidden; }
.sv-hero.has-img { background: var(--image-base); color: var(--on-image); }
.sv-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.sv-hero.has-img::after { content: ''; position: absolute; inset: 0; background: var(--image-scrim-side); }
.sv-hero.has-img .sv-hero-in { position: relative; z-index: 1; }
.sv-hero.has-img h1, .sv-hero.has-img p { color: var(--on-image); }
.sv-hero.has-img p { opacity: .9; }
.sv-hero.has-img .tcn-eyebrow { background: var(--on-image-glass); color: var(--on-image-accent); }
.sv-hero.has-img .btn-ghost { background: var(--on-image-glass); color: var(--on-image); border-color: var(--on-image-line); }
.sv-hero.has-img .sv-stats > div { background: var(--on-image-glass); border-color: var(--on-image-line); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sv-hero.has-img .sv-stats span { color: var(--on-image-dim); }
.sv-hero.has-img .sv-stats b { background: none; -webkit-text-fill-color: var(--on-image-accent); color: var(--on-image-accent); }
.sv-detail-media img { box-shadow:var(--shadow-md); background: var(--surface-2); }

/* Campaigns page: banner photo + extras */
.cp-hero.has-img { position: relative; overflow: hidden; background: var(--image-base); color: var(--on-image); padding-bottom: clamp(36px, 6vw, 70px); }
.cp-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.cp-hero.has-img::after { content: ''; position: absolute; inset: 0; background: var(--image-scrim-side); }
.cp-hero.has-img .cp-hero-in { position: relative; z-index: 1; }
.cp-hero.has-img h1, .cp-hero.has-img p { color: var(--on-image); }
.cp-hero.has-img p { opacity: .9; }
.cp-hero.has-img .tcn-eyebrow { background: var(--on-image-glass); color: var(--on-image-accent); }
.cp-hero.has-img .btn-ghost { background: var(--on-image-glass); color: var(--on-image); border-color: var(--on-image-line); }
.cp-sticky-start { display: none; }
@media (max-width: 760px) {
  .cp-sticky-start { display: flex; position: fixed; left: 14px; right: 76px; bottom: 14px; z-index: 90; box-shadow:var(--shadow-md); }
  .cp-page { padding-bottom: 110px; }
}
.cp-hots { position: absolute; right: 12px; bottom: 10px; display: flex; gap: 6px; }
.cp-hot { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.cp-hot.feat { background: var(--fill-gold); color: var(--on-gold); }
.cp-hot.trend { background: var(--fill-danger); color: var(--on-solid); }
.cp-dmeta .cp-hot { box-shadow: none; }
.cp-badge.pending { background: var(--fill-info); color: var(--on-solid); }
.cp-badge.rejected { background:var(--yt); color: var(--on-solid); }
.cp-badge.example { background: var(--chip-on-image); color: var(--on-solid); font-weight: 700; }
.cp-badge.done { background: var(--fill-success); color: var(--on-solid); }
.cp-card.example { cursor: default; border-style: dashed; }
.cp-card.example:hover { transform: none; }
.cp-card.closed-work { color: inherit; text-decoration: none; }
.cp-res { display: flex; gap: 16px; flex-wrap: wrap; }
.cp-res b { display: block; font-size: 20px; color: var(--accent); }
.cp-res span { font-size: 12.5px; color: var(--text-dim); }
.cp-sec { margin-top: clamp(44px, 7vw, 80px); }
.cp-sec-head { margin-bottom: 18px; max-width: 760px; }
.cp-sec-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; max-width: none; }
.cp-sec-head h2 { font-size: clamp(24px, 3.4vw, 34px); margin: 0 0 6px; }
.cp-sec-head p { margin: 0; color: var(--text-dim); }
.cp-trust { background: var(--surface-2); border-radius: 24px; padding: clamp(22px, 4vw, 44px); }
.cp-how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .cp-how { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cp-how { grid-template-columns: 1fr; } }
.cp-how > div { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.cp-how b { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-grad); color: var(--on-accent); display: inline-flex; align-items: center; justify-content: center; }
.cp-how h3 { font-size: 16px; margin: 10px 0 4px; }
.cp-how p { margin: 0; color: var(--text-dim); font-size: 14px; }
.cp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.cp-stats > div { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px 8px; }
.cp-stats b { display: block; font-size: clamp(24px, 3.6vw, 34px); color: var(--accent); }
.cp-stats span { font-size: 13px; color: var(--text-dim); }
@media (max-width: 480px) { .cp-stats { grid-template-columns: 1fr; } }
.cp-safe { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; font-weight: 600; font-size: 14px; }
.cp-chg { margin-top: 10px; font-size: 14px; }
.cp-chg summary { cursor: pointer; color: var(--text-dim); min-height: 32px; }

/* Create Campaign wizard */
.cw-progress { margin: 10px 0 14px; }
.cw-bar { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.cw-bar i { display: block; height: 100%; background: var(--accent-grad); transition: width .3s; }
.cw-steps { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.cw-steps button { width: 100%; background: none; border: 0; padding: 4px 2px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--text-faint); font-size: 12px; min-height: 44px; }
.cw-steps button[disabled] { cursor: default; }
.cw-steps b { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--border); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; background: var(--surface); }
.cw-steps li.on b { border-color: var(--accent); color: var(--accent); }
.cw-steps li.on span { color: var(--text); font-weight: 700; }
.cw-steps li.done b { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
@media (max-width: 640px) { .cw-steps span { display: none; } .cw-steps li.on span { display: block; position: absolute; left: 0; right: 0; text-align: center; margin-top: 52px; } .cw-steps { position: relative; padding-bottom: 18px; } }
.cw-card-body h2 { margin: 0 0 6px; font-size: 21px; }
.cw-card-body .cp-form { margin-top: 14px; }
.cp-f .req { color: var(--danger-text); }
.cw-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.cw-cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cw-cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .cw-cards.three, .cw-cards.two { grid-template-columns: 1fr; } }
.cw-card, .cp-f label.cw-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 2px solid var(--border); border-radius: 14px; cursor: pointer; background: var(--surface); min-height: 56px; }
.cw-card input { position: absolute; opacity: 0; pointer-events: none; }
.cw-card.on, .cw-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.cw-card:focus-within { outline: 3px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.cw-card .ic { font-size: 22px; display: inline-flex; gap: 4px; }
.cw-card .ic .cp-ic { width: 22px; height: 22px; }
.cw-card small { color: var(--text-dim); font-size: 12.5px; }
.cw-nav { display: flex; gap: 10px; align-items: center; margin-top: 14px; flex-wrap: wrap; position: sticky; bottom: 0; padding: 10px 0; background: var(--bg, var(--surface)); z-index: 5; }
@media (max-width: 480px) { .cw-nav .btn { flex: 1 1 auto; } .cw-nav > span { display: none; } }
.cw-review { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.cw-review > div { background: var(--surface-2); border-radius: 14px; padding: 14px; }
.cw-review h4 { margin: 0 0 8px; display: flex; justify-content: space-between; align-items: center; font-size: 14.5px; }
.cw-review h4 .tcn-link { background: none; border: 0; font-size: 13px; cursor: pointer; }
.cw-rv { display: grid; grid-template-columns: 120px 1fr; gap: 8px; padding: 4px 0; font-size: 14px; }
.cw-rv span { color: var(--text-faint); }
.cw-rv b { font-weight: 600; overflow-wrap: anywhere; }
.cw-creators { display: grid; gap: 8px; }
.cw-cr { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.cw-cr.on { border-color: var(--accent); background: var(--accent-soft); }
.cw-cr .cp-who img, .cw-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.cw-av { display: inline-flex; align-items: center; justify-content: center; background: var(--surface-2); font-weight: 800; color: var(--accent); }
.cw-st { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--text-dim); }
.cw-pr { font-size: 13px; }
@media (max-width: 760px) { .cw-cr { grid-template-columns: 1fr auto; } .cw-st, .cw-pr { grid-column: 1 / -1; } .cw-cr > .btn { grid-row: 1; grid-column: 2; } }
.cp-f label.cw-card b { display: block; font-size: 14.5px; }
.cp-f label.cw-card small { display: block; font-weight: 400; color: var(--text-dim); font-size: 12.5px; line-height: 1.4; }
.ax-f .tcn-check { display: flex; align-items: flex-start; gap: 8px; font-weight: 500; font-size: 13px; }
.ax-f .tcn-check input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; padding: 0; flex: 0 0 18px; margin-top: 2px; }
