:root {
  color-scheme: dark;
  --bg: #050b19;
  --bg-soft: #081226;
  --surface: #0c172c;
  --surface-2: #111e36;
  --surface-3: #162540;
  --line: rgba(154, 185, 226, 0.13);
  --line-strong: rgba(154, 185, 226, 0.24);
  --text: #f5f8ff;
  --muted: #8fa1bb;
  --muted-2: #657792;
  --cyan: #18d9ff;
  --cyan-deep: #0c8fff;
  --violet: #8f68ff;
  --magenta: #db66f8;
  --green: #3de0a0;
  --amber: #ffb857;
  --red: #ff6d7b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius: 20px;
  --radius-sm: 13px;
  --sidebar: 252px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; min-height: 100dvh; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; z-index: 10000; top: 10px; left: 10px; padding: 10px 14px; border-radius: 10px; color: #00101a; background: var(--cyan); transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* Startup */
.startup { position: fixed; inset: 0; z-index: 9999; display: grid; place-content: center; justify-items: center; gap: 15px; background: radial-gradient(circle at 50% 42%, #10224e 0, #071126 32%, #030713 72%); transition: opacity .35s ease, visibility .35s ease; }
.startup.is-leaving { opacity: 0; visibility: hidden; }
.startup-mark { width: 88px; height: 88px; padding: 4px; border: 1px solid rgba(76, 225, 255, .35); border-radius: 26px; background: rgba(13, 26, 59, .72); box-shadow: 0 0 55px rgba(22, 213, 255, .2); }
.startup-mark img { width: 100%; height: 100%; border-radius: 22px; object-fit: cover; }
.startup-name { font-size: 24px; font-weight: 750; letter-spacing: -.7px; }
.startup-name span { color: var(--cyan); }
.startup p { margin: 0; color: var(--muted); font-size: 13px; }
.loading-line { width: 156px; height: 3px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.08); }
.loading-line span { display: block; width: 45%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--violet)); animation: loading 1.05s ease-in-out infinite alternate; }
@keyframes loading { from { transform: translateX(-80%); } to { transform: translateX(205%); } }

/* Authentication */
.auth-view { min-height: 100vh; overflow-x: hidden; overflow-y: auto; position: relative; background: #050a18; }
.auth-view::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to right, black, transparent 73%); }
.auth-ambient { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.auth-ambient-one { width: 680px; height: 680px; left: -250px; top: -230px; background: radial-gradient(circle, rgba(0, 184, 255, .22), transparent 66%); }
.auth-ambient-two { width: 640px; height: 640px; right: -300px; bottom: -270px; background: radial-gradient(circle, rgba(139, 92, 246, .19), transparent 67%); }
.auth-shell { min-height: 100vh; max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); position: relative; z-index: 1; }
.auth-story { min-height: 100vh; padding: 46px clamp(42px, 7vw, 104px); display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); position: relative; }
.auth-story::after { content: ""; position: absolute; width: 320px; height: 320px; right: 8%; top: 26%; pointer-events: none; border: 1px solid rgba(50, 211, 255, .1); border-radius: 50%; box-shadow: 0 0 0 42px rgba(70, 152, 255, .025), 0 0 0 88px rgba(145, 94, 255, .018); }
.auth-brand, .sidebar-brand { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 720; letter-spacing: -.5px; }
.auth-brand img { width: 52px; height: 52px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 188, 255, .18); }
.auth-brand b, .sidebar-brand b { color: var(--cyan); font-weight: inherit; }
.auth-copy { position: relative; z-index: 1; max-width: 690px; margin-block: auto; padding: 90px 0; }
.eyebrow, .panel-kicker { display: inline-flex; align-items: center; gap: 8px; color: #6cdfff; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.auth-copy h1 { max-width: 720px; margin: 22px 0 20px; font-size: clamp(44px, 5.2vw, 76px); line-height: 1.03; letter-spacing: -.055em; }
.auth-copy h1 em { color: transparent; font-style: normal; background: linear-gradient(98deg, #2be3ff, #7aa8ff 50%, #be75ff); background-clip: text; -webkit-background-clip: text; }
.auth-copy > p { max-width: 570px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.auth-proof { display: flex; align-items: center; gap: 15px; color: var(--muted); }
.auth-proof > div:last-child { display: flex; flex-direction: column; }
.auth-proof strong { color: var(--text); font-size: 13px; }
.auth-proof small { font-size: 12px; }
.proof-avatars { display: flex; padding-left: 8px; }
.proof-avatars span { display: grid; place-items: center; width: 34px; height: 34px; margin-left: -8px; border: 2px solid var(--bg); border-radius: 50%; background: linear-gradient(145deg, #1478c9, #764fd2); color: white; font-size: 9px; font-weight: 800; }
.proof-avatars span:nth-child(2) { background: linear-gradient(145deg, #13a690, #1470a8); }
.proof-avatars span:nth-child(3) { background: linear-gradient(145deg, #bd5d94, #724bc0); }
.auth-card-wrap { display: grid; place-content: center; justify-items: center; padding: 44px clamp(28px, 6vw, 94px); }
.auth-card { width: min(100%, 470px); padding: clamp(28px, 4vw, 46px); border: 1px solid var(--line-strong); border-radius: 28px; background: linear-gradient(145deg, rgba(17, 31, 57, .95), rgba(8, 18, 38, .9)); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.04); backdrop-filter: blur(18px); }
.auth-card-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 23px; border: 1px solid rgba(24,217,255,.27); border-radius: 15px; color: var(--cyan); background: rgba(24,217,255,.08); }
.auth-card h2 { margin: 10px 0 8px; font-size: 31px; letter-spacing: -.035em; }
.auth-card > p { margin: 0 0 28px; color: var(--muted); }
.auth-security { margin: 18px 0 0; color: var(--muted-2); text-align: center; font-size: 11px; }
.auth-card-wrap > .form-message { width: min(100%, 470px); margin: 13px auto 0; }
.auth-chooser { width: min(100%, 470px); margin: 0 auto 13px; padding: 5px; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; border: 1px solid var(--line); border-radius: 14px; background: rgba(5,13,29,.75); }
.auth-chooser button { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 10px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 780; transition: .18s ease; }
.auth-chooser button svg { width: 16px; height: 16px; }
.auth-chooser button:hover { color: var(--text); background: rgba(255,255,255,.035); }
.auth-chooser button.is-active { color: #dffbff; border-color: rgba(24,217,255,.2); background: linear-gradient(135deg, rgba(24,217,255,.12), rgba(143,104,255,.1)); }
.auth-card-client { padding-block: clamp(27px, 3.3vw, 38px); }
.auth-switch-copy { margin: 20px 0 0 !important; color: var(--muted); text-align: center; font-size: 11px; }
.auth-switch-copy button { padding: 4px; border: 0; color: var(--cyan); background: transparent; font-weight: 800; }
.portal-password-note { margin: 0; padding: 12px 13px; display: flex; align-items: flex-start; gap: 10px; border: 1px solid rgba(61,224,160,.2); border-radius: 12px; color: #a9b9cf; background: rgba(61,224,160,.055); font-size: 10px; line-height: 1.55; }
.portal-password-note svg { width: 17px; height: 17px; flex: none; margin-top: 1px; color: var(--green); }
.portal-password-note span { display: block; }
.portal-password-note strong { display: block; margin-bottom: 1px; color: #dfffee; font-size: 10px; }
.form-stack { display: grid; gap: 17px; }
label { display: grid; gap: 7px; color: #c6d2e3; font-size: 12px; font-weight: 650; }
label small { color: var(--muted-2); font-weight: 500; }
.form-stack .field-error { color: #ffabb3; font-weight: 650; line-height: 1.45; }
.form-stack .field-error[hidden] { display: none; }
input, textarea, select { width: 100%; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--text); background: rgba(4, 12, 27, .75); transition: border-color .2s, box-shadow .2s, background .2s; }
input, select { height: 47px; padding: 0 14px; }
textarea { min-height: 88px; padding: 13px 14px; resize: vertical; }
select { appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 17px) 20px, calc(100% - 12px) 20px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
input::placeholder, textarea::placeholder { color: #52647f; }
input:focus, textarea:focus, select:focus { outline: none; border-color: rgba(24, 217, 255, .72); background-color: rgba(8, 20, 42, .95); box-shadow: 0 0 0 3px rgba(24, 217, 255, .09); }
input[aria-invalid="true"] { border-color: rgba(255,109,123,.75); background-color: rgba(54,14,27,.42); box-shadow: 0 0 0 3px rgba(255,109,123,.08); }
.password-field { display: grid; position: relative; }
.password-field input { padding-right: 55px; }
.peek-password { position: absolute; right: 8px; top: 7px; height: 34px; border: 0; color: var(--cyan); background: transparent; font-size: 11px; font-weight: 750; }
.form-message, .dialog-error { padding: 11px 13px; border: 1px solid rgba(255,109,123,.25); border-radius: 11px; color: #ffabb3; background: rgba(255,109,123,.08); font-size: 12px; }

/* Shared controls */
.button { min-height: 43px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 12px; font-size: 13px; font-weight: 750; white-space: nowrap; transition: transform .18s, border-color .18s, background .18s, box-shadow .18s; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button svg { width: 17px; height: 17px; }
.button-primary { color: #00131c; background: linear-gradient(135deg, #20e1ff, #45b9ff); box-shadow: 0 10px 30px rgba(17, 196, 244, .18); }
.button-primary:hover { box-shadow: 0 12px 34px rgba(17, 196, 244, .28); }
.button-secondary { border-color: var(--line-strong); color: #dce8f8; background: rgba(17, 31, 56, .82); }
.button-secondary:hover, .button-ghost:hover { border-color: rgba(24,217,255,.34); background: rgba(26, 45, 75, .9); }
.button-ghost { border-color: transparent; color: var(--muted); background: transparent; }
.button-light { color: #111a2b; background: white; }
.button-wide { width: 100%; min-height: 49px; margin-top: 4px; }
.button[disabled], button[disabled] { opacity: .55; cursor: wait; transform: none; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: rgba(12, 25, 46, .72); }
.icon-button:hover { color: var(--text); border-color: var(--line-strong); }
.text-button { display: inline-flex; align-items: center; gap: 7px; padding: 6px; border: 0; color: var(--cyan); background: transparent; font-size: 12px; font-weight: 750; }
.text-button svg { width: 15px; height: 15px; }
.pwa-install-button { min-height: 39px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(24,217,255,.24); border-radius: 11px; color: #dffbff; background: linear-gradient(135deg, rgba(24,217,255,.12), rgba(143,104,255,.11)); font-size: 11px; font-weight: 780; white-space: nowrap; transition: transform .18s, border-color .18s, background .18s; }
.pwa-install-button:hover { border-color: rgba(24,217,255,.46); background: linear-gradient(135deg, rgba(24,217,255,.2), rgba(143,104,255,.17)); transform: translateY(-1px); }
.pwa-install-button svg { width: 16px; height: 16px; color: var(--cyan); }
.auth-install-button { width: min(100%, 470px); margin: 13px auto 0; justify-self: center; }
.topbar-install-button { min-height: 38px; }
.avatar { display: grid; flex: 0 0 auto; place-items: center; width: 37px; height: 37px; border: 1px solid rgba(24, 217, 255, .27); border-radius: 12px; color: #d9faff; background: linear-gradient(145deg, rgba(20, 163, 204, .33), rgba(120, 76, 214, .38)); font-size: 11px; font-weight: 850; }

/* Client portal */
.client-view { min-height: 100vh; background: radial-gradient(circle at 7% 0, rgba(24,217,255,.1), transparent 26%), radial-gradient(circle at 95% 14%, rgba(143,104,255,.12), transparent 28%), var(--bg); }
.client-header { position: sticky; z-index: 40; top: 0; min-height: 74px; padding: 10px max(22px, calc((100vw - 1320px) / 2)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; border-bottom: 1px solid var(--line); background: rgba(5,11,25,.88); backdrop-filter: blur(18px); }
.client-brand { width: fit-content; display: flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-size: 17px; font-weight: 760; letter-spacing: -.035em; }
.client-brand img { width: 42px; height: 42px; border-radius: 13px; box-shadow: 0 9px 26px rgba(24,217,255,.15); }
.client-brand b { display: block; color: var(--cyan); font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.client-nav { display: flex; align-items: center; gap: 5px; padding: 4px; border: 1px solid var(--line); border-radius: 13px; background: rgba(10,23,43,.68); }
.client-nav a { padding: 9px 14px; border-radius: 9px; color: var(--muted); text-decoration: none; font-size: 11px; font-weight: 730; transition: .18s ease; }
.client-nav a:hover { color: var(--text); }
.client-nav a.is-active { color: #e2fbff; background: rgba(24,217,255,.1); box-shadow: inset 0 0 0 1px rgba(24,217,255,.14); }
.client-account { min-width: 0; justify-self: end; display: flex; align-items: center; gap: 9px; }
.client-account-copy { max-width: 170px; display: flex; flex-direction: column; }
.client-account strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.client-account small { color: var(--muted); font-size: 9px; }
.client-account .icon-button { margin-left: 4px; }
.client-main { width: min(1320px, calc(100% - 44px)); margin: 0 auto; padding: clamp(35px,5vw,68px) 0 78px; }
.client-main > section { scroll-margin-top: 96px; }
.client-hero { min-height: 245px; padding: clamp(30px,5vw,58px); display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; overflow: hidden; position: relative; border: 1px solid rgba(24,217,255,.16); border-radius: 28px; background: radial-gradient(circle at 82% 15%, rgba(24,217,255,.2), transparent 30%), radial-gradient(circle at 100% 100%, rgba(143,104,255,.2), transparent 36%), linear-gradient(135deg, rgba(14,36,69,.98), rgba(14,20,49,.96)); box-shadow: 0 28px 75px rgba(0,0,0,.24); }
.client-hero::before, .client-hero::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; pointer-events: none; }
.client-hero::before { width: 310px; height: 310px; right: 6%; top: -190px; box-shadow: 0 0 0 38px rgba(255,255,255,.012), 0 0 0 76px rgba(255,255,255,.008); }
.client-hero::after { width: 150px; height: 150px; right: -55px; bottom: -75px; }
.client-hero-copy { position: relative; z-index: 1; }
.client-hero h1 { margin: 13px 0 8px; font-size: clamp(34px,5vw,60px); line-height: 1; letter-spacing: -.055em; }
.client-hero h1 span { color: transparent; background: linear-gradient(95deg, #64eaff, #a895ff); background-clip: text; -webkit-background-clip: text; }
.client-hero p { max-width: 650px; margin: 0; color: #a9bad0; font-size: 13px; }
.client-status-badge { position: relative; z-index: 1; min-width: 118px; padding: 10px 15px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line-strong); border-radius: 999px; color: #c8d6e9; background: rgba(6,15,31,.64); font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.client-status-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 10px currentColor; }
.client-status-badge.is-active { color: #8ff4ca; border-color: rgba(61,224,160,.25); background: rgba(61,224,160,.08); }
.client-status-badge.is-active::before { background: var(--green); }
.client-status-badge.is-soon { color: #ffd08d; border-color: rgba(255,184,87,.26); background: rgba(255,184,87,.08); }
.client-status-badge.is-soon::before { background: var(--amber); }
.client-status-badge.is-expired, .client-status-badge.is-inactive { color: #ffadb5; border-color: rgba(255,109,123,.26); background: rgba(255,109,123,.08); }
.client-status-badge.is-expired::before, .client-status-badge.is-inactive::before { background: var(--red); }
.client-service-grid { margin-top: 17px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; }
.client-service-card { min-height: 146px; padding: 25px; display: flex; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, rgba(15,29,53,.96), rgba(9,19,37,.9)); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }
.client-card-icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border: 1px solid rgba(24,217,255,.2); border-radius: 15px; color: var(--cyan); background: rgba(24,217,255,.075); }
.client-expiry-card .client-card-icon { color: #b7a5ff; border-color: rgba(143,104,255,.23); background: rgba(143,104,255,.08); }
.client-state-card .client-card-icon { color: #8ff4ca; border-color: rgba(61,224,160,.2); background: rgba(61,224,160,.07); }
.client-card-icon svg { width: 22px; height: 22px; }
.client-service-card > div { min-width: 0; display: flex; flex-direction: column; }
.client-service-card small { color: #657a97; font-size: 8px; font-weight: 850; letter-spacing: .14em; }
.client-service-card strong { overflow-wrap: anywhere; margin: 5px 0 2px; color: #f0f7ff; font-size: clamp(20px,2.1vw,28px); line-height: 1.1; letter-spacing: -.04em; }
.client-service-card > div > span { color: var(--muted); font-size: 9px; }
.client-renew-whatsapp { width: fit-content; margin-top: 9px; padding: 7px 10px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(61,224,160,.22); border-radius: 9px; color: #8df1c7; background: rgba(61,224,160,.07); text-decoration: none; font-size: 9px; font-weight: 800; }
.client-renew-whatsapp:hover { border-color: rgba(61,224,160,.44); background: rgba(61,224,160,.12); }
.client-renew-whatsapp svg { width: 13px; height: 13px; }
.client-details { margin-top: 17px; padding: 24px 27px; display: grid; grid-template-columns: minmax(220px,.75fr) 1.5fr; align-items: center; gap: 34px; }
.client-details h2 { margin: 4px 0 0; font-size: 19px; letter-spacing: -.03em; }
.client-details dl { margin: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.client-details dl div { min-width: 0; padding-left: 15px; border-left: 1px solid var(--line); }
.client-details dt { color: var(--muted); font-size: 8px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.client-details dd { overflow-wrap: anywhere; margin: 5px 0 0; color: #dce8f8; font-size: 11px; font-weight: 730; }
.client-content-section { padding-top: 78px; }
.client-section-heading { min-height: 80px; margin-bottom: 24px; display: flex; align-items: flex-end; justify-content: space-between; }
.client-section-heading h2 { margin: 8px 0 4px; font-size: clamp(28px,3.4vw,42px); line-height: 1.1; letter-spacing: -.045em; }
.client-section-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.client-content-section .content-card { background: linear-gradient(145deg, rgba(16,31,56,.97), rgba(8,18,35,.93)); }
.client-content-section .content-card-copy { min-height: 220px; }

/* App shell */
.app-view { min-height: 100vh; background: radial-gradient(circle at 96% 0, rgba(70, 77, 180, .12), transparent 29%), var(--bg); }
.sidebar { position: fixed; z-index: 50; inset: 0 auto 0 0; width: var(--sidebar); padding: 20px 14px 16px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: linear-gradient(180deg, #091327 0%, #071022 100%); }
.sidebar-brand { height: 54px; padding: 0 10px 16px; font-size: 17px; }
.sidebar-brand img { width: 38px; height: 38px; border-radius: 12px; }
.sidebar-nav { min-height: 0; overflow-y: auto; scrollbar-width: thin; padding: 12px 0; }
.sidebar-nav > p { margin: 23px 12px 8px; color: #52647f; font-size: 9px; font-weight: 850; letter-spacing: .16em; }
.sidebar-nav > p:first-child { margin-top: 0; }
.nav-item { width: 100%; height: 44px; padding: 0 12px; display: flex; align-items: center; gap: 12px; border: 1px solid transparent; border-radius: 11px; color: #91a4bf; background: transparent; text-align: left; font-size: 13px; font-weight: 620; transition: .18s ease; }
.nav-item svg { width: 18px; height: 18px; }
.nav-item:hover { color: #dceaff; background: rgba(255,255,255,.035); }
.nav-item.is-active { color: #dffbff; border-color: rgba(24,217,255,.13); background: linear-gradient(90deg, rgba(24,217,255,.12), rgba(52, 119, 220, .045)); box-shadow: inset 3px 0 0 var(--cyan); }
.nav-item.is-active svg { color: var(--cyan); filter: drop-shadow(0 0 7px rgba(24,217,255,.35)); }
.nav-item > b { min-width: 21px; margin-left: auto; padding: 2px 6px; border-radius: 99px; color: #ffced2; background: rgba(255,109,123,.13); text-align: center; font-size: 9px; }
.nav-item > i { margin-left: auto; padding: 2px 6px; border: 1px solid rgba(148,103,255,.27); border-radius: 99px; color: #bda7ff; background: rgba(143,104,255,.08); font-size: 8px; font-style: normal; font-weight: 850; text-transform: uppercase; }
.sidebar-tip { margin-top: auto; padding: 14px; border: 1px solid rgba(121, 105, 255, .16); border-radius: 16px; background: radial-gradient(circle at 100% 0, rgba(118, 83, 255, .15), transparent 50%), rgba(15, 27, 51, .78); }
.sidebar-tip > div { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 9px; color: #c2b4ff; background: rgba(143,104,255,.13); }
.sidebar-tip svg { width: 16px; height: 16px; }
.sidebar-tip strong { display: block; font-size: 11px; }
.sidebar-tip p { margin: 4px 0 10px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.sidebar-tip button { padding: 0; display: inline-flex; align-items: center; gap: 5px; border: 0; color: var(--cyan); background: transparent; font-size: 9px; font-weight: 800; }
.sidebar-tip button svg { width: 11px; height: 11px; }
.sidebar-user { margin-top: 12px; padding: 13px 8px 2px; display: flex; align-items: center; gap: 9px; border-top: 1px solid var(--line); }
.sidebar-user > span:nth-child(2) { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.sidebar-user strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.sidebar-user small { color: var(--muted); font-size: 9px; }
.sidebar-user button { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 8px; color: var(--muted-2); background: transparent; }
.sidebar-user button:hover { color: var(--red); background: rgba(255,109,123,.07); }
.sidebar-user button svg { width: 16px; height: 16px; }
.app-main { min-height: 100vh; margin-left: var(--sidebar); }
.topbar { position: sticky; z-index: 35; top: 0; height: 75px; padding: 0 clamp(22px, 3.4vw, 50px); display: flex; align-items: center; border-bottom: 1px solid var(--line); background: rgba(5, 11, 25, .84); backdrop-filter: blur(18px); }
.menu-button { display: none; margin-right: 12px; }
.topbar-title { display: flex; flex-direction: column; }
.topbar-title small { color: #50627d; font-size: 8px; font-weight: 850; letter-spacing: .14em; }
.topbar-title strong { font-size: 16px; letter-spacing: -.2px; }
.topbar-actions { position: relative; margin-left: auto; display: flex; align-items: center; gap: 10px; }
.today-label { margin-right: 10px; color: var(--muted); font-size: 11px; text-transform: capitalize; }
.notification-button { position: relative; }
.notification-button i { position: absolute; right: 9px; top: 8px; width: 6px; height: 6px; border: 1px solid var(--surface); border-radius: 50%; background: var(--magenta); }
.notification-button { position: relative; }
.notification-button > b { min-width: 18px; height: 18px; padding: 0 5px; display: inline-grid; place-items: center; position: absolute; right: -6px; top: -6px; border: 2px solid var(--surface); border-radius: 99px; color: #fff; background: linear-gradient(135deg, var(--magenta), #955eff); font-size: 8px; line-height: 1; }
.profile-button { height: 47px; min-width: 178px; padding: 5px 9px 5px 6px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 13px; background: rgba(12, 24, 45, .66); text-align: left; }
.profile-button > svg { width: 13px; height: 13px; margin-left: auto; color: var(--muted); transform: rotate(90deg); }
.profile-copy { min-width: 0; display: flex; flex-direction: column; }
.profile-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.profile-copy small { color: var(--muted); font-size: 9px; }
.profile-menu { position: absolute; z-index: 20; right: 0; top: 55px; width: 180px; padding: 7px; border: 1px solid var(--line-strong); border-radius: 13px; background: #101c31; box-shadow: var(--shadow); }
.profile-menu button { width: 100%; padding: 9px 10px; display: flex; align-items: center; gap: 9px; border: 0; border-radius: 9px; color: #cbd8e9; background: transparent; text-align: left; font-size: 11px; }
.profile-menu button:hover { background: rgba(255,255,255,.05); }
.profile-menu svg { width: 15px; height: 15px; }
.page-content { width: 100%; max-width: 1600px; margin: 0 auto; padding: clamp(27px, 4vw, 52px) clamp(22px, 3.4vw, 50px) 64px; }
.page { animation: pageIn .25s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(7px); } }
.page-heading { min-height: 73px; margin-bottom: 30px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.page-heading h1 { margin: 5px 0 3px; font-size: clamp(27px, 3vw, 38px); line-height: 1.16; letter-spacing: -.045em; }
.page-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.dashboard-heading { align-items: center; }
.dashboard-heading h1 { font-size: clamp(30px, 3.3vw, 43px); }
.dashboard-heading h1 span { color: #d5efff; }
.dashboard-heading h1 b { color: var(--cyan); font-size: .56em; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(15, 29, 53, .92), rgba(9, 19, 37, .88)); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }
.panel-lite { border: 1px solid var(--line); border-radius: 16px; background: rgba(11, 23, 44, .72); }
.panel-heading { padding: 23px 24px 17px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.panel-heading h2, .section-bar h2 { margin: 3px 0 0; font-size: 17px; letter-spacing: -.025em; }
.panel-kicker { color: #617692; font-size: 8px; }

/* Dashboard */
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.metric-card { min-height: 160px; padding: 21px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto 1fr; column-gap: 12px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(15,29,53,.94), rgba(9,18,35,.88)); }
.metric-card::after { content: ""; position: absolute; width: 120px; height: 120px; right: -50px; top: -55px; border-radius: 50%; background: var(--metric-color, var(--cyan)); opacity: .07; filter: blur(2px); }
.metric-icon { grid-row: 1 / 3; display: grid; place-items: center; width: 41px; height: 41px; border: 1px solid color-mix(in srgb, var(--metric-color, var(--cyan)) 25%, transparent); border-radius: 12px; color: var(--metric-color, var(--cyan)); background: color-mix(in srgb, var(--metric-color, var(--cyan)) 8%, transparent); }
.metric-icon svg { width: 19px; height: 19px; }
.metric-card > span { color: var(--muted); font-size: 11px; }
.metric-card > strong { font-size: 30px; line-height: 1.2; letter-spacing: -.04em; }
.metric-card > small { grid-column: 1 / -1; align-self: end; color: var(--muted-2); font-size: 9px; }
.metric-card > small b { color: var(--green); }
.metric-clients { --metric-color: var(--cyan); }.metric-renewals { --metric-color: var(--amber); }.metric-expired { --metric-color: var(--red); }.metric-team { --metric-color: var(--violet); }
.dashboard-grid { margin-top: 15px; display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .72fr); gap: 15px; }
.renewal-panel { min-height: 370px; }
.renewal-list { padding: 0 12px 13px; }
.renewal-row { min-height: 65px; padding: 10px 12px; display: grid; grid-template-columns: minmax(170px, 1.2fr) minmax(100px, .55fr) minmax(110px, .58fr) auto; align-items: center; gap: 13px; border-top: 1px solid var(--line); }
.renewal-person { min-width: 0; display: flex; align-items: center; gap: 11px; }
.renewal-person > span, .person-cell > span { display: grid; flex: 0 0 auto; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #d6faff; background: linear-gradient(145deg, rgba(13,145,190,.32), rgba(98,76,183,.3)); font-size: 10px; font-weight: 850; }
.renewal-person div, .person-cell div { min-width: 0; display: flex; flex-direction: column; }
.renewal-person strong, .person-cell strong { overflow: hidden; color: #e8f0fc; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.renewal-person small, .person-cell small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.renewal-row > span { color: #b8c6d8; font-size: 10px; }
.status { width: fit-content; padding: 4px 8px; border: 1px solid; border-radius: 99px; font-size: 8px; font-weight: 850; letter-spacing: .03em; text-transform: uppercase; }
.status.soon { color: #ffd18a; border-color: rgba(255,184,87,.22); background: rgba(255,184,87,.08); }
.status.expired, .status.inactive { color: #ff9ca6; border-color: rgba(255,109,123,.23); background: rgba(255,109,123,.08); }
.status.active { color: #6ee9b6; border-color: rgba(61,224,160,.22); background: rgba(61,224,160,.08); }
.row-action { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: rgba(255,255,255,.025); }
.row-action:hover { color: var(--cyan); border-color: rgba(24,217,255,.25); }
.row-action svg { width: 14px; height: 14px; }
.momentum-panel { padding: 25px; min-height: 370px; display: flex; flex-direction: column; align-items: center; text-align: center; background: radial-gradient(circle at 50% 28%, rgba(63,104,210,.18), transparent 40%), linear-gradient(145deg, rgba(15,29,53,.96), rgba(9,17,35,.94)); }
.momentum-orbit { width: 142px; height: 142px; margin: 5px auto 19px; padding: 8px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--cyan) 0 68%, var(--violet) 68% 82%, rgba(255,255,255,.06) 82%); box-shadow: 0 0 45px rgba(20, 193, 255, .11); }
.momentum-orbit::before { content: ""; position: absolute; }
.momentum-orbit > div { width: 126px; height: 126px; display: grid; place-content: center; border-radius: 50%; background: #0c192e; }
.momentum-orbit strong { font-size: 32px; line-height: 1; }
.momentum-orbit span { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.momentum-panel h2 { margin: 7px 0 7px; font-size: 17px; }
.momentum-panel p { margin: 0; max-width: 270px; color: var(--muted); font-size: 10px; }
.momentum-bars { width: 100%; margin-top: auto; display: flex; align-items: flex-end; justify-content: center; gap: 7px; height: 44px; }
.momentum-bars span { width: 19%; height: 100%; display: flex; align-items: flex-end; border-radius: 5px; background: rgba(255,255,255,.03); overflow: hidden; }
.momentum-bars i { width: 100%; height: var(--value); border-radius: 5px; background: linear-gradient(180deg, rgba(24,217,255,.72), rgba(96,94,231,.35)); }
.lower-grid { margin-top: 15px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 15px; }
.quick-actions { padding: 0 16px 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quick-actions button { min-height: 102px; padding: 14px; display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; align-items: center; gap: 2px 10px; border: 1px solid var(--line); border-radius: 13px; color: inherit; background: rgba(255,255,255,.018); text-align: left; }
.quick-actions button:hover { border-color: rgba(24,217,255,.24); background: rgba(24,217,255,.035); }
.quick-actions button > span { grid-row: 1 / 3; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: var(--cyan); background: rgba(24,217,255,.08); }
.quick-actions svg { width: 17px; height: 17px; }
.quick-actions b { align-self: end; font-size: 10px; }
.quick-actions small { align-self: start; color: var(--muted); font-size: 8px; }
.activity-list { padding: 0 20px 20px; }
.activity-item { min-height: 47px; padding: 7px 0; display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); }
.activity-item > i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px rgba(24,217,255,.42); }
.activity-item div { display: flex; flex-direction: column; }
.activity-item strong { font-size: 9px; }.activity-item small { color: var(--muted); font-size: 8px; }
.loading-block { min-height: 210px; display: grid; place-content: center; justify-items: center; gap: 9px; color: var(--muted); font-size: 10px; }
.loading-block::before { content: ""; width: 22px; height: 22px; border: 2px solid rgba(255,255,255,.08); border-top-color: var(--cyan); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Toolbars and tables */
.toolbar { min-height: 67px; margin-bottom: 14px; padding: 10px 13px; display: flex; align-items: center; gap: 13px; }
.search-field { min-width: 250px; max-width: 390px; flex: 1; display: flex; align-items: center; gap: 8px; position: relative; }
.search-field svg { position: absolute; left: 12px; width: 16px; height: 16px; color: var(--muted); }
.search-field input { height: 42px; padding-left: 37px; border-color: var(--line); background: rgba(4,11,25,.56); font-size: 11px; }
.search-field.compact { max-width: 220px; min-width: 180px; }
.segmented { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: 11px; background: rgba(4,11,25,.48); }
.segmented button { min-height: 32px; padding: 0 12px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: 9px; font-weight: 750; white-space: nowrap; }
.segmented button:hover { color: var(--text); }
.segmented button.is-active { color: #e8fbff; background: rgba(24,217,255,.11); box-shadow: inset 0 0 0 1px rgba(24,217,255,.12); }
.result-count { margin-left: auto; color: var(--muted); font-size: 10px; white-space: nowrap; }
.client-bulk-actions { min-height: 55px; margin: -4px 0 14px; padding: 9px 13px; display: flex; align-items: center; gap: 12px; }
.bulk-select-toggle { display: inline-flex; align-items: center; gap: 8px; color: #c8d6e8; font-size: 10px; font-weight: 760; cursor: pointer; }
.bulk-select-toggle input, .client-select-checkbox { width: 17px; height: 17px; margin: 0; accent-color: var(--cyan); cursor: pointer; }
#selectedClientCount { margin-left: auto; color: var(--muted); font-size: 9px; white-space: nowrap; }
.client-select-column, .client-select-cell { width: 46px; padding-right: 4px; text-align: center; }
tbody tr.is-selected { background: rgba(24,217,255,.045); box-shadow: inset 3px 0 rgba(24,217,255,.7); }
.table-card { overflow: hidden; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { height: 48px; padding: 0 18px; color: #62748e; background: rgba(5, 14, 29, .45); text-align: left; font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
td { height: 68px; padding: 10px 18px; border-top: 1px solid var(--line); color: #bccbde; font-size: 10px; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: rgba(255,255,255,.018); }
.person-cell { min-width: 180px; display: flex; align-items: center; gap: 10px; }
.date-cell { display: flex; flex-direction: column; }.date-cell strong { color: #d5e0ef; font-size: 10px; }.date-cell small { color: var(--muted); font-size: 8px; }
.table-actions { display: flex; align-items: center; gap: 5px; justify-content: flex-end; }
.table-actions button { display: grid; place-items: center; min-width: 31px; height: 31px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: rgba(255,255,255,.02); font-size: 8px; }
.table-actions button:hover { color: var(--cyan); border-color: rgba(24,217,255,.25); }
.table-actions svg { width: 14px; height: 14px; }
.empty-state { min-height: 330px; padding: 35px; display: grid; place-content: center; justify-items: center; text-align: center; }
.empty-state > div:first-child { display: grid; place-items: center; width: 55px; height: 55px; border: 1px solid rgba(24,217,255,.18); border-radius: 17px; color: var(--cyan); background: rgba(24,217,255,.06); }
.empty-state h3 { margin: 14px 0 3px; font-size: 15px; }.empty-state p { max-width: 330px; margin: 0 0 17px; color: var(--muted); font-size: 10px; }
.empty-state svg { width: 23px; height: 23px; }
.switch { width: 39px; height: 22px; padding: 2px; border: 0; border-radius: 99px; background: #273651; }
.switch span { display: block; width: 18px; height: 18px; border-radius: 50%; background: #8998ad; transition: transform .2s, background .2s; }
.switch.is-on { background: rgba(61,224,160,.22); }.switch.is-on span { transform: translateX(17px); background: var(--green); }

/* Renewals */
.renewal-hero { min-height: 235px; padding: 32px clamp(26px, 4vw, 52px); display: grid; grid-template-columns: .75fr 1.35fr .65fr; align-items: center; gap: 28px; overflow: hidden; position: relative; border: 1px solid rgba(42, 194, 247, .2); border-radius: 22px; background: radial-gradient(circle at 88% 20%, rgba(140, 86, 255, .27), transparent 28%), radial-gradient(circle at 10% 85%, rgba(0, 210, 255, .13), transparent 35%), linear-gradient(125deg, #0e2644, #111b3d 65%, #1a1742); }
.renewal-hero::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(90deg, black, transparent); }
.renewal-hero > div { position: relative; z-index: 1; }
.renewal-hero > div:first-child span { color: #75ddf7; font-size: 9px; font-weight: 850; letter-spacing: .12em; }.renewal-hero > div:first-child strong { display: block; font-size: 72px; line-height: .98; letter-spacing: -.06em; }.renewal-hero > div:first-child p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.renewal-hero-copy { padding-left: 35px; border-left: 1px solid rgba(255,255,255,.12); }.renewal-hero-copy h2 { margin: 0 0 7px; font-size: 24px; letter-spacing: -.035em; }.renewal-hero-copy p { max-width: 450px; margin: 0 0 19px; color: #9bacca; font-size: 11px; }.renewal-hero-copy button { padding: 0; display: inline-flex; align-items: center; gap: 7px; border: 0; color: var(--cyan); background: transparent; font-size: 10px; font-weight: 800; }.renewal-hero-copy button svg { width: 14px; height: 14px; }
.calendar-art { width: 135px; height: 145px; justify-self: end; display: grid; place-content: center; justify-items: center; position: relative; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; background: linear-gradient(150deg, rgba(255,255,255,.13), rgba(255,255,255,.035)); box-shadow: 0 20px 40px rgba(0,0,0,.22); transform: rotate(4deg); backdrop-filter: blur(10px); }.calendar-art span { color: #85dcff; font-size: 9px; font-weight: 900; letter-spacing: .14em; }.calendar-art strong { font-size: 58px; line-height: 1.1; }.calendar-art i { position: absolute; inset: 13px 18px auto; height: 3px; border-radius: 9px; background: linear-gradient(90deg, var(--cyan), var(--violet)); }
.section-bar { min-height: 82px; padding: 23px 2px 15px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.renewal-board { display: grid; gap: 9px; }
.renewal-card { min-height: 86px; padding: 14px 17px; display: grid; grid-template-columns: minmax(190px, 1.35fr) .7fr .8fr .75fr auto; align-items: center; gap: 15px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(100deg, rgba(14,28,51,.91), rgba(9,18,36,.86)); }
.renewal-card.is-urgent { border-left: 3px solid var(--red); }.renewal-card.is-soon { border-left: 3px solid var(--amber); }
.renewal-card .renewal-person > span { width: 43px; height: 43px; border-radius: 13px; }.renewal-card .renewal-person strong { font-size: 12px; }.renewal-card .renewal-person small { font-size: 9px; }
.renewal-meta { display: flex; flex-direction: column; }.renewal-meta small { color: var(--muted-2); font-size: 8px; text-transform: uppercase; }.renewal-meta strong { color: #c7d5e6; font-size: 10px; }
.renewal-days { font-size: 11px; font-weight: 800; }.renewal-days.urgent { color: var(--red); }.renewal-days.soon { color: var(--amber); }.renewal-days.ok { color: var(--green); }
.contact-button { min-height: 34px; padding: 0 11px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(61,224,160,.2); border-radius: 9px; color: #7bedbd; background: rgba(61,224,160,.065); font-size: 9px; font-weight: 750; }.contact-button svg { width: 13px; height: 13px; }
.renewal-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.renew-button { min-height: 34px; padding: 0 11px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(24,217,255,.23); border-radius: 9px; color: #8cecff; background: rgba(24,217,255,.07); font-size: 9px; font-weight: 780; }
.renew-button:hover { border-color: rgba(24,217,255,.44); background: rgba(24,217,255,.12); }
.renew-button svg { width: 13px; height: 13px; }
.delete-renewal-button { min-height: 34px; padding: 0 11px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255,109,123,.22); border-radius: 9px; color: #ffadb5; background: rgba(255,109,123,.07); font-size: 9px; font-weight: 780; }
.delete-renewal-button:hover { border-color: rgba(255,109,123,.44); background: rgba(255,109,123,.13); }
.delete-renewal-button svg { width: 13px; height: 13px; }

/* Campaigns */
.campaign-spotlight { min-height: 300px; padding: 38px clamp(30px, 5vw, 70px); display: flex; align-items: center; overflow: hidden; position: relative; border: 1px solid rgba(102, 99, 255, .25); border-radius: 24px; background: radial-gradient(circle at 75% 46%, rgba(16, 211, 255, .2), transparent 27%), radial-gradient(circle at 88% 5%, rgba(219, 102, 248, .25), transparent 34%), linear-gradient(115deg, #111b3b 0%, #162557 48%, #251955 100%); }
.campaign-spotlight::after { content: ""; position: absolute; width: 420px; height: 420px; right: -80px; bottom: -250px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 50px rgba(255,255,255,.02), 0 0 0 100px rgba(255,255,255,.015); }
.campaign-spotlight > div:first-child { position: relative; z-index: 2; width: 56%; }.campaign-spotlight h2 { margin: 14px 0 9px; font-size: clamp(30px, 4.2vw, 54px); line-height: 1.02; letter-spacing: -.055em; }.campaign-spotlight h2 em { color: var(--cyan); font-style: normal; }.campaign-spotlight p { margin: 0 0 24px; color: #a9b8d4; font-size: 12px; }
.spotlight-phone { position: absolute; z-index: 1; right: 10%; top: 20px; width: 230px; height: 360px; padding: 11px; border: 1px solid rgba(255,255,255,.28); border-radius: 40px; background: linear-gradient(145deg, #172541, #07101f); box-shadow: -25px 25px 65px rgba(0,0,0,.3); transform: rotate(9deg); }.spotlight-phone > div { height: 100%; padding: 31px 22px; display: flex; flex-direction: column; align-items: flex-start; border-radius: 30px; background: radial-gradient(circle at 72% 25%, rgba(24,217,255,.39), transparent 25%), linear-gradient(155deg, #101b40, #282160 62%, #07142d); }.spotlight-phone small { color: var(--cyan); font-size: 9px; font-weight: 900; }.spotlight-phone span { margin-top: auto; font-size: 22px; font-weight: 850; line-height: 1.06; letter-spacing: -.04em; }.spotlight-phone b { margin-top: 18px; padding: 7px 10px; border-radius: 6px; color: #071521; background: var(--cyan); font-size: 8px; }
.template-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.template-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: rgba(12,24,45,.82); transition: transform .2s, border-color .2s; }.template-card:hover { border-color: rgba(24,217,255,.23); transform: translateY(-3px); }.template-preview { aspect-ratio: 1 / 1; padding: 22px; display: flex; flex-direction: column; position: relative; overflow: hidden; }.template-preview::after { content: ""; position: absolute; width: 130px; height: 130px; right: -40px; top: -35px; border-radius: 50%; border: 1px solid rgba(255,255,255,.13); box-shadow: 0 0 0 25px rgba(255,255,255,.025); }.template-preview span, .template-preview small { position: relative; z-index: 1; font-size: 8px; font-weight: 800; letter-spacing: .08em; }.template-preview strong { margin: auto 0 11px; position: relative; z-index: 1; font-size: clamp(20px, 2.3vw, 32px); line-height: .95; letter-spacing: -.055em; }.template-card > div:last-child { padding: 13px 14px; display: grid; grid-template-columns: 1fr auto; }.template-card > div:last-child span { color: var(--muted); font-size: 8px; }.template-card > div:last-child h3 { margin: 1px 0 0; font-size: 11px; }.template-card > div:last-child button { grid-column: 2; grid-row: 1 / 3; width: 33px; height: 33px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: rgba(255,255,255,.025); }.template-card > div:last-child button:hover { color: var(--cyan); }.template-card > div:last-child svg { width: 14px; height: 14px; }
.template-night .template-preview { background: radial-gradient(circle at 75% 35%, #1a99aa, transparent 25%), linear-gradient(145deg, #07101f, #14294b 65%, #171042); }.template-renew .template-preview { color: #10172a; background: radial-gradient(circle at 80% 15%, rgba(255,255,255,.8), transparent 24%), linear-gradient(145deg, #5df0f4, #b5ddff 50%, #a47fff); }.template-welcome .template-preview { background: radial-gradient(circle at 20% 90%, #3d62ff, transparent 35%), linear-gradient(145deg, #14122e, #401d67 60%, #bb5aaa); }.template-weekend .template-preview { background: radial-gradient(circle at 70% 20%, #ff7c62, transparent 30%), linear-gradient(145deg, #1b1029, #662355 60%, #122952); }
.asset-drop { min-height: 118px; margin-top: 25px; padding: 21px 25px; display: flex; align-items: center; gap: 17px; }.asset-drop-icon { display: grid; place-items: center; width: 49px; height: 49px; border: 1px dashed rgba(24,217,255,.4); border-radius: 14px; color: var(--cyan); background: rgba(24,217,255,.05); }.asset-drop h2 { margin: 2px 0 2px; font-size: 15px; }.asset-drop p { margin: 0; color: var(--muted); font-size: 10px; }.asset-drop .button { margin-left: auto; }

/* AI editor */
.editor-page-heading { margin-bottom: 20px; }.demo-chip { padding: 7px 10px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(255,184,87,.2); border-radius: 99px; color: #ffd088; background: rgba(255,184,87,.07); font-size: 9px; font-weight: 800; }.demo-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }.demo-chip.is-ready { color: #8ff0c7; border-color: rgba(61,224,160,.25); background: rgba(61,224,160,.07); }.demo-chip.is-ready i { background: var(--green); box-shadow: 0 0 8px rgba(61,224,160,.7); }
.editor-shell { min-height: 670px; display: grid; grid-template-columns: 285px minmax(390px, 1fr) 205px; border: 1px solid var(--line-strong); border-radius: 20px; overflow: hidden; background: #081225; box-shadow: var(--shadow); }
.editor-controls, .layers-panel { padding: 22px; background: rgba(12,24,45,.88); }.editor-controls { border-right: 1px solid var(--line); }.layers-panel { border-left: 1px solid var(--line); }
.editor-step { margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }.editor-step > span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; color: #02141b; background: var(--cyan); font-size: 11px; font-weight: 900; }.editor-step > div { display: flex; flex-direction: column; }.editor-step strong { font-size: 11px; }.editor-step small { color: var(--muted); font-size: 8px; }.editor-controls label { margin-bottom: 15px; }.editor-controls textarea, .editor-controls select { font-size: 10px; }.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.provider-note { margin: 16px 0 0; padding: 11px; display: flex; gap: 9px; border: 1px solid rgba(143,104,255,.16); border-radius: 11px; background: rgba(143,104,255,.055); }.provider-note > i { flex: 0 0 auto; width: 7px; height: 7px; margin-top: 4px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 8px var(--violet); }.provider-note span { display: flex; flex-direction: column; color: var(--muted); font-size: 8px; }.provider-note strong { color: #cbbfff; font-size: 9px; }
.provider-note.is-ready { border-color: rgba(61,224,160,.18); background: rgba(61,224,160,.05); }.provider-note.is-ready > i { background: var(--green); box-shadow: 0 0 8px rgba(61,224,160,.65); }.provider-note.is-ready strong { color: #8ff0c7; }
.ai-source-upload { min-height: 68px; padding: 11px; display: grid !important; grid-template-columns: 33px 1fr; grid-template-rows: auto auto; gap: 2px 9px; align-items: center; border: 1px dashed rgba(24,217,255,.24); border-radius: 12px; background: rgba(24,217,255,.035); cursor: pointer; }.ai-source-upload > span { grid-row: 1 / 3; display: grid; place-items: center; width: 33px; height: 33px; border-radius: 9px; color: var(--cyan); background: rgba(24,217,255,.08); }.ai-source-upload svg { width: 16px; height: 16px; }.ai-source-upload b { align-self: end; color: #dfeaf8; font-size: 9px; }.ai-source-upload b small { color: var(--muted); font-weight: 600; }.ai-source-upload em { align-self: start; color: var(--muted); font-size: 8px; font-style: normal; overflow-wrap: anywhere; }
.ai-source-preview { margin: -6px 0 14px; position: relative; overflow: hidden; height: 96px; border: 1px solid var(--line); border-radius: 11px; background: #030914; }.ai-source-preview img { width: 100%; height: 100%; object-fit: cover; }.ai-source-preview button { position: absolute; top: 7px; right: 7px; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; color: white; background: rgba(3,8,18,.78); }.ai-source-preview svg { width: 13px; height: 13px; }
.design-stage-wrap { min-width: 0; display: grid; grid-template-rows: 47px 1fr 42px; background: #050b16; }.stage-toolbar, .stage-status { padding: 0 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); color: var(--muted); background: rgba(9,18,34,.76); font-size: 9px; }.stage-toolbar > span { display: flex; align-items: center; gap: 3px; }.stage-toolbar button { width: 28px; height: 28px; border: 0; border-radius: 7px; color: var(--muted); background: transparent; }.stage-toolbar button:hover { color: var(--text); background: rgba(255,255,255,.05); }.stage-toolbar b { min-width: 37px; text-align: center; }.stage-toolbar strong { font-size: 9px; }.stage-status { border-top: 1px solid var(--line); border-bottom: 0; }.stage-status > span { display: flex; align-items: center; gap: 6px; }.stage-status > span i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }.stage-status button { display: flex; align-items: center; gap: 5px; border: 0; color: var(--cyan); background: transparent; font-size: 9px; font-weight: 800; }.stage-status svg { width: 13px; height: 13px; }
.design-stage { min-height: 0; padding: 34px; display: grid; place-items: center; overflow: auto; background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: 21px 21px; }
.demo-canvas { --scale: .72; width: min(100%, 480px); aspect-ratio: 1 / 1; padding: 7%; overflow: hidden; position: relative; color: white; background: radial-gradient(circle at 75% 30%, rgba(24,217,255,.45), transparent 18%), radial-gradient(circle at 12% 92%, rgba(143,104,255,.42), transparent 27%), linear-gradient(145deg, #0a1531, #14275d 55%, #201044); box-shadow: 0 25px 70px rgba(0,0,0,.46); transform: scale(var(--scale)); transition: transform .2s, aspect-ratio .25s, width .25s, background .3s; transform-origin: center; }.demo-canvas.format-story { width: min(74%, 360px); aspect-ratio: 9 / 16; }.demo-canvas.format-landscape { width: min(100%, 580px); aspect-ratio: 1.91 / 1; padding: 5%; }.demo-canvas.style-minimal { color: #091426; background: radial-gradient(circle at 85% 15%, rgba(143,104,255,.4), transparent 26%), linear-gradient(145deg, #e8faff, #d9e6ff 60%, #cab7ff); }.demo-canvas.style-cinema { background: radial-gradient(circle at 76% 38%, rgba(255,173,67,.33), transparent 18%), radial-gradient(circle at 10% 90%, rgba(169,22,45,.4), transparent 29%), linear-gradient(145deg, #090808, #26100f 58%, #08050a); }.demo-canvas.is-generating::after { content: "Creando imagen con IA…"; position: absolute; z-index: 10; inset: 0; display: grid; place-content: center; color: white; background: rgba(3,8,18,.76); backdrop-filter: blur(8px); font-size: 11px; font-weight: 800; letter-spacing: .08em; }.ai-generated-image { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }.demo-canvas.has-ai-image::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(3,8,18,.78) 0%, rgba(3,8,18,.38) 48%, rgba(3,8,18,.04) 78%), linear-gradient(0deg, rgba(3,8,18,.62), transparent 52%); }.demo-canvas.has-ai-image .canvas-device { display: none; }.demo-canvas.has-ai-image .canvas-grid, .demo-canvas.has-ai-image .canvas-orb { opacity: .06; }
.canvas-grid { position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 9% 9%; mask-image: linear-gradient(90deg, black, transparent 80%); }.canvas-orb { position: absolute; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; }.orb-one { width: 58%; height: 58%; right: -25%; top: 10%; box-shadow: 0 0 0 35px rgba(255,255,255,.018), 0 0 0 70px rgba(255,255,255,.014); }.orb-two { width: 28%; height: 28%; left: -14%; bottom: 9%; box-shadow: 0 0 35px rgba(24,217,255,.22); }.canvas-brand { display: flex; align-items: center; gap: 7px; position: relative; z-index: 2; font-size: clamp(6px, .8vw, 9px); font-weight: 900; letter-spacing: .04em; }.canvas-brand img { width: 29px; height: 29px; border-radius: 9px; }.canvas-brand b { color: var(--cyan); }.style-minimal .canvas-brand b { color: #5060cf; }.canvas-copy { max-width: 72%; position: absolute; z-index: 2; left: 7%; bottom: 8%; display: flex; flex-direction: column; align-items: flex-start; }.canvas-copy > small { margin-bottom: 10px; color: var(--cyan); font-size: clamp(5px, .65vw, 8px); font-weight: 900; letter-spacing: .14em; }.style-minimal .canvas-copy > small { color: #4c55b3; }.canvas-copy > strong { font-size: clamp(22px, 3.2vw, 47px); line-height: .91; letter-spacing: -.07em; }.canvas-copy strong em { color: var(--cyan); font-style: normal; }.style-minimal .canvas-copy strong em { color: #654fca; }.style-cinema .canvas-copy strong em { color: #ffac4c; }.canvas-copy p { max-width: 78%; margin: 12px 0 14px; color: rgba(227,239,255,.73); font-size: clamp(6px, .75vw, 9px); }.style-minimal .canvas-copy p { color: rgba(9,20,38,.63); }.canvas-copy > span { padding: 7px 10px; border-radius: 5px; color: #071521; background: var(--cyan); font-size: clamp(5px, .65vw, 8px); font-weight: 950; letter-spacing: .06em; }.style-minimal .canvas-copy > span { color: white; background: #5f55cb; }.style-cinema .canvas-copy > span { background: #ffac4c; }.canvas-device { position: absolute; right: 2%; top: 18%; width: 33%; height: 45%; padding: 3%; border: 2px solid rgba(255,255,255,.16); border-radius: 14% 14% 18% 18%; background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.02)); box-shadow: -20px 25px 50px rgba(0,0,0,.25); transform: rotate(8deg); }.canvas-device > div { height: 100%; display: grid; place-items: center; border-radius: 12%; background: radial-gradient(circle at 50% 40%, rgba(24,217,255,.45), transparent 23%), #081127; }.canvas-device i { position: absolute; top: 5%; width: 25%; height: 3px; border-radius: 9px; background: rgba(255,255,255,.26); }.canvas-device b { color: var(--cyan); font-size: clamp(12px, 2.2vw, 30px); }
.format-landscape .canvas-copy { max-width: 55%; left: 5%; bottom: 10%; }.format-landscape .canvas-copy > strong { font-size: clamp(19px, 2.8vw, 39px); }.format-landscape .canvas-device { right: 7%; top: 10%; width: 30%; height: 78%; }.format-landscape .canvas-brand { margin-top: -1%; }.format-story .canvas-copy { max-width: 86%; left: 9%; bottom: 9%; }.format-story .canvas-device { width: 60%; height: 34%; right: -12%; top: 16%; }.format-story .canvas-copy > strong { font-size: clamp(25px, 4vw, 44px); }
.layers-panel > h3 { margin: 4px 0 17px; font-size: 15px; }.layer-list { display: grid; gap: 6px; }.layer-list button { height: 45px; padding: 5px 7px; display: flex; align-items: center; gap: 8px; border: 1px solid transparent; border-radius: 9px; color: var(--muted); background: transparent; text-align: left; }.layer-list button:hover, .layer-list button.is-selected { color: #dfebfa; border-color: rgba(24,217,255,.14); background: rgba(24,217,255,.055); }.layer-list button b { flex: 1; font-size: 9px; }.layer-list button i { color: #52647d; font-size: 10px; }.layer-thumb { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 7px; color: var(--cyan); background: #11213b; font-size: 10px; font-weight: 900; }.brand-layer { background: linear-gradient(145deg, #0c7a9b, #5943a2); }.text-layer { color: white; }.shape-layer { background: linear-gradient(145deg, #1d5f8b, #7b4cc3); }.layer-help { margin-top: 22px; padding: 13px; border: 1px solid rgba(143,104,255,.14); border-radius: 11px; color: #b8a9ff; background: rgba(143,104,255,.05); }.layer-help svg { width: 16px; height: 16px; }.layer-help p { margin: 7px 0 0; display: flex; flex-direction: column; color: var(--muted); font-size: 8px; }.layer-help strong { color: #cfc4ff; font-size: 9px; }

/* Team */
.team-banner { min-height: 155px; margin-bottom: 15px; padding: 27px 30px; display: flex; align-items: center; gap: 19px; border: 1px solid rgba(143,104,255,.18); border-radius: 20px; background: radial-gradient(circle at 90% 30%, rgba(143,104,255,.2), transparent 24%), linear-gradient(110deg, rgba(20,39,71,.9), rgba(24,22,61,.84)); }.team-banner-icon { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid rgba(143,104,255,.24); border-radius: 17px; color: #bba9ff; background: rgba(143,104,255,.1); }.team-banner h2 { margin: 2px 0; font-size: 24px; letter-spacing: -.04em; }.team-banner p { margin: 0; color: var(--muted); font-size: 10px; }.team-avatars { margin-left: auto; display: flex; padding-left: 12px; }.team-avatars span { display: grid; place-items: center; width: 39px; height: 39px; margin-left: -10px; border: 3px solid #151a3a; border-radius: 50%; color: white; background: linear-gradient(145deg, #137fa4, #7252ba); font-size: 9px; font-weight: 850; }.table-title { padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }.table-title h2 { margin: 0; font-size: 16px; }.table-title p { margin: 2px 0 0; color: var(--muted); font-size: 9px; }

/* Panel imports */
.import-page-heading { align-items: center; }
.privacy-seal { min-height: 40px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(61,224,160,.2); border-radius: 99px; color: #8ff0c7; background: rgba(61,224,160,.065); font-size: 9px; font-weight: 800; letter-spacing: .03em; white-space: nowrap; }
.privacy-seal svg { width: 16px; height: 16px; }
.import-workflow { display: grid; gap: 15px; }
.import-step-card { padding: 25px; }
.import-step-heading { margin-bottom: 23px; display: flex; align-items: center; gap: 14px; }
.import-step-heading > span { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(24,217,255,.22); border-radius: 13px; color: #061724; background: linear-gradient(145deg, #3ee7ff, #45a9ff); box-shadow: 0 8px 25px rgba(24,217,255,.12); font-size: 13px; font-weight: 950; }
.import-step-heading small { color: var(--cyan); font-size: 8px; font-weight: 850; letter-spacing: .14em; }
.import-step-heading h2 { margin: 2px 0 2px; font-size: 18px; letter-spacing: -.025em; }
.import-step-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.import-fields { display: grid; grid-template-columns: minmax(250px,.7fr) minmax(420px,1.3fr); gap: 24px; align-items: start; }
.import-fields > label, .csv-paste { color: #cbd6e5; font-size: 10px; font-weight: 650; }
.import-fields > label input, .csv-paste textarea { margin-top: 8px; font-size: 11px; }
.access-fieldset { min-width: 0; padding: 0; border: 0; }
.access-fieldset legend { margin-bottom: 8px; color: #cbd6e5; font-size: 10px; font-weight: 650; }
.access-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.access-choice { display: block; position: relative; cursor: pointer; }
.access-choice > input { width: 1px; height: 1px; position: absolute; opacity: 0; pointer-events: none; }
.access-choice > span { min-height: 86px; padding: 13px; display: grid; grid-template-columns: 32px 1fr; grid-template-rows: auto auto; gap: 2px 10px; align-content: center; border: 1px solid var(--line); border-radius: 13px; background: rgba(4,11,25,.42); transition: border-color .18s, background .18s, box-shadow .18s; }
.access-choice svg { grid-row: 1 / 3; align-self: center; width: 21px; height: 21px; padding: 6px; box-sizing: content-box; border-radius: 9px; color: #7588a4; background: rgba(255,255,255,.035); }
.access-choice b { align-self: end; color: #dfe8f5; font-size: 10px; }
.access-choice small { align-self: start; color: var(--muted); font-size: 8px; font-weight: 500; }
.access-choice:hover > span { border-color: rgba(24,217,255,.2); }
.access-choice.is-selected > span { border-color: rgba(24,217,255,.38); background: rgba(24,217,255,.055); box-shadow: inset 0 0 0 1px rgba(24,217,255,.06); }
.access-choice.is-selected svg { color: var(--cyan); background: rgba(24,217,255,.1); }
.seller-access-box { margin-top: 10px; padding: 14px; border: 1px solid rgba(143,104,255,.17); border-radius: 13px; background: rgba(143,104,255,.045); }
.seller-access-box > strong { font-size: 10px; }
.seller-access-box > p { margin: 2px 0 11px; color: var(--muted); font-size: 8px; }
.seller-check-list { display: flex; flex-wrap: wrap; gap: 7px; }
.seller-check { min-height: 34px; padding: 0 10px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 9px; color: #bdc9da; background: rgba(4,11,25,.4); font-size: 9px; cursor: pointer; }
.seller-check input { width: 14px; height: 14px; accent-color: var(--cyan); }
.seller-check.is-empty { cursor: default; color: var(--muted); }
.csv-input-grid { display: grid; grid-template-columns: minmax(260px,.65fr) 32px minmax(320px,1.35fr); gap: 12px; align-items: stretch; }
.csv-drop { min-height: 174px; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed rgba(24,217,255,.3); border-radius: 15px; background: rgba(24,217,255,.03); text-align: center; cursor: pointer; transition: border-color .18s, background .18s; }
.csv-drop:hover { border-color: rgba(24,217,255,.55); background: rgba(24,217,255,.055); }
.csv-drop input { width: 1px; height: 1px; position: absolute; opacity: 0; pointer-events: none; }
.csv-drop > span { width: 43px; height: 43px; margin-bottom: 10px; display: grid; place-items: center; border-radius: 12px; color: var(--cyan); background: rgba(24,217,255,.09); }
.csv-drop svg { width: 20px; height: 20px; }
.csv-drop strong { color: #dce8f8; font-size: 11px; }
.csv-drop small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.csv-or { display: grid; place-items: center; position: relative; }
.csv-or::before { content: ""; width: 1px; position: absolute; inset-block: 0; left: 50%; background: var(--line); }
.csv-or span { z-index: 1; padding: 7px 0; color: var(--muted); background: #0d1a30; font-size: 9px; }
.csv-paste { display: flex; flex-direction: column; }
.csv-paste textarea { min-height: 145px; flex: 1; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; line-height: 1.55; }
.password-warning { margin-top: 16px; padding: 13px 15px; display: flex; align-items: flex-start; gap: 11px; border: 1px solid rgba(61,224,160,.17); border-radius: 12px; background: rgba(61,224,160,.045); }
.password-warning > svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--green); }
.password-warning div { display: flex; flex-direction: column; }
.password-warning strong { color: #bff5de; font-size: 9px; }
.password-warning p { margin: 2px 0 0; color: var(--muted); font-size: 8px; }
.import-detect-actions { margin-top: 15px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.import-detect-actions > span { color: var(--muted); font-size: 9px; }
.import-detect-actions > span.is-error { color: #ff9ca6; }
.ignored-columns { margin-bottom: 15px; padding: 10px 12px; border: 1px solid rgba(255,184,87,.16); border-radius: 10px; color: #e8c995; background: rgba(255,184,87,.05); font-size: 9px; }
.mapping-grid { margin-bottom: 22px; display: grid; grid-template-columns: repeat(4, minmax(140px,1fr)); gap: 9px; }
.mapping-field { padding: 10px; border: 1px solid var(--line); border-radius: 11px; background: rgba(4,11,25,.36); }
.mapping-field label { display: flex; flex-direction: column; gap: 7px; color: #aebcd0; font-size: 8px; font-weight: 700; }
.mapping-field label > span { min-height: 15px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.mapping-field label em { padding: 2px 5px; border-radius: 4px; color: var(--cyan); background: rgba(24,217,255,.08); font-size: 6px; font-style: normal; letter-spacing: .03em; text-transform: uppercase; }
.mapping-field select { height: 36px; padding-inline: 9px 28px; border-radius: 8px; background-position: calc(100% - 14px) 15px, calc(100% - 9px) 15px; font-size: 9px; }
.preview-heading { margin: 0 -25px; padding: 14px 25px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(4,11,25,.24); }
.preview-heading div { display: flex; flex-direction: column; }
.preview-heading strong { font-size: 11px; }
.preview-heading small, .preview-heading > span { color: var(--muted); font-size: 8px; }
.import-preview-scroll { margin-inline: -25px; }
.import-preview-table { min-width: 840px; }
.import-preview-table th, .import-preview-table td { padding-block: 11px; font-size: 9px; }
.import-preview-table td { color: #b9c7d9; }
.preview-empty-value { color: #54647b; }
.import-error { margin: 15px 0 0; }
.import-submit-row { margin: 20px -25px -25px; padding: 16px 25px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); background: rgba(4,11,25,.25); border-radius: 0 0 var(--radius) var(--radius); }
.import-submit-row > p { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 9px; }
.import-submit-row > p svg { width: 15px; height: 15px; color: var(--green); }
.import-result { padding: 25px; display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 17px; border-color: rgba(61,224,160,.2); background: radial-gradient(circle at 0 50%, rgba(61,224,160,.09), transparent 27%), linear-gradient(145deg, rgba(15,29,53,.92), rgba(9,19,37,.88)); }
.import-result-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; color: var(--green); background: rgba(61,224,160,.09); }
.import-result-icon svg { width: 24px; height: 24px; }
.import-result small { color: var(--green); font-size: 8px; font-weight: 850; letter-spacing: .13em; }
.import-result h2 { margin: 2px 0; font-size: 18px; }
.import-result p { margin: 0; color: var(--muted); font-size: 9px; }
.import-result-stats { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 7px; }
.import-result-stats span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 7px; color: #cbd6e6; background: rgba(255,255,255,.025); font-size: 8px; }
.client-source { width: fit-content; margin-top: 3px; padding: 2px 6px; border: 1px solid rgba(143,104,255,.16); border-radius: 99px; color: #c1b5f8 !important; background: rgba(143,104,255,.055); font-size: 7px !important; font-weight: 750; letter-spacing: .02em; }

.support-loading-status { margin-bottom: 16px; padding: 18px 20px; color: var(--muted); font-size: 11px; }
.support-loading-status.is-error { color: #ffb8bf; border-color: rgba(255,109,123,.25); background: rgba(255,109,123,.06); }

/* Guides and announcements */
.content-page-heading { align-items: center; }
.content-intro { min-height: 170px; margin-bottom: 16px; padding: 28px 32px; display: flex; align-items: center; gap: 24px; overflow: hidden; position: relative; border: 1px solid rgba(24,217,255,.14); border-radius: 20px; background: radial-gradient(circle at 88% 20%, rgba(24,217,255,.16), transparent 34%), linear-gradient(135deg, rgba(16,39,75,.96), rgba(15,22,52,.95)); }
.content-intro::after { content: ""; width: 210px; height: 210px; position: absolute; right: -70px; bottom: -110px; border: 1px solid rgba(116,128,255,.18); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.018), 0 0 0 60px rgba(255,255,255,.012); }
.content-intro-icon { width: 76px; height: 76px; flex: none; display: grid; place-items: center; position: relative; z-index: 1; border: 1px solid rgba(24,217,255,.23); border-radius: 22px; color: var(--cyan); background: rgba(24,217,255,.08); box-shadow: 0 14px 36px rgba(0,0,0,.2); }
.content-intro-icon svg { width: 34px; height: 34px; }
.content-intro > div:last-child { position: relative; z-index: 1; }
.content-intro span { color: var(--cyan); font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.content-intro h2 { margin: 5px 0 6px; font-size: clamp(21px, 2.3vw, 30px); letter-spacing: -.04em; }
.content-intro p { max-width: 680px; margin: 0; color: #9eafc7; font-size: 11px; }
.content-toolbar { min-height: 65px; margin-bottom: 16px; padding: 10px 13px; display: flex; align-items: center; gap: 14px; }
.guide-category-manager { margin-bottom: 16px; padding: 20px; display: grid; gap: 16px; }
.guide-category-manager h2 { margin: 4px 0 5px; font-size: 18px; }
.guide-category-manager p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.guide-category-manager form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; }
.guide-category-manager form label { margin: 0; }
.guide-category-manager .dialog-error { margin: 0; }
.guide-category-list { display: grid; gap: 8px; }
.guide-category-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; }
.guide-category-row .button { min-height: 42px; }
.guide-category-empty { padding: 13px; border: 1px dashed rgba(24,217,255,.18); border-radius: 11px; text-align: center; background: rgba(24,217,255,.025); }
.content-filters { max-width: calc(100% - 80px); overflow-x: auto; scrollbar-width: thin; }
.content-loading { min-height: 185px; display: grid; place-content: center; color: var(--muted); font-size: 11px; }
.content-loading.is-error { color: #ffadb5; border-color: rgba(255,109,123,.2); background: rgba(255,109,123,.045); }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.announcement-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.content-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 19px; background: linear-gradient(145deg, rgba(15,29,53,.95), rgba(9,18,35,.92)); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }
.content-card.is-draft { border-style: dashed; opacity: .82; }
.content-card-media { min-height: 174px; position: relative; overflow: hidden; background: #071128; }
.content-announcement .content-card-media { min-height: 210px; }
.content-card-media img, .content-card-media video { width: 100%; height: 100%; min-height: inherit; display: block; object-fit: cover; background: #030815; }
.content-card-media video { max-height: 360px; }
.content-card-media.has-media-error::after { content: "No fue posible mostrar este archivo"; position: absolute; inset: 0; display: grid; place-content: center; padding: 20px; color: var(--muted); background: #071128; font-size: 10px; text-align: center; }
.content-media-placeholder { min-height: inherit; padding: 22px; display: grid; place-content: center; justify-items: center; gap: 12px; color: #9aaeff; background: radial-gradient(circle at 50% 40%, rgba(102,89,231,.18), transparent 42%), linear-gradient(140deg, #0c1d3d, #151b42); text-align: center; text-decoration: none; }
.content-media-placeholder svg { width: 39px; height: 39px; }
.content-media-placeholder span { color: #c6d5ec; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
a.content-media-placeholder:hover { color: var(--cyan); background: radial-gradient(circle at 50% 40%, rgba(24,217,255,.19), transparent 44%), linear-gradient(140deg, #0c1d3d, #151b42); }
.content-card-copy { min-height: 245px; padding: 20px; display: flex; flex-direction: column; }
.content-card-meta { min-height: 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.content-card-meta time { margin-left: auto; color: var(--muted); font-size: 8px; }
.content-category, .content-draft-badge { padding: 4px 8px; border: 1px solid rgba(24,217,255,.18); border-radius: 99px; color: #80eafa; background: rgba(24,217,255,.07); font-size: 8px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.content-draft-badge { color: #ffd18a; border-color: rgba(255,184,87,.22); background: rgba(255,184,87,.08); }
.category-sports { color: #75e7b5; border-color: rgba(61,224,160,.2); background: rgba(61,224,160,.07); }
.category-events { color: #c4afff; border-color: rgba(143,104,255,.23); background: rgba(143,104,255,.08); }
.category-movies, .category-series { color: #ffb5ed; border-color: rgba(219,102,248,.21); background: rgba(219,102,248,.07); }
.content-card h2 { margin: 12px 0 7px; font-size: 18px; line-height: 1.2; letter-spacing: -.025em; overflow-wrap: anywhere; }
.content-card-summary { margin: 0; color: #9dadc5; font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.content-details { margin-top: 15px; border-top: 1px solid var(--line); }
.content-details summary { padding: 13px 0 3px; color: var(--cyan); cursor: pointer; font-size: 10px; font-weight: 780; list-style-position: inside; }
.content-card-body { padding: 10px 0 3px; color: #c1cfe0; font-size: 10px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.content-admin-actions { margin-top: auto; padding-top: 17px; }
.content-admin-actions .button { min-height: 38px; }
.button-danger { border-color: rgba(255,109,123,.22); color: #ffadb5; background: rgba(255,109,123,.07); }
.button-danger:hover { border-color: rgba(255,109,123,.42); background: rgba(255,109,123,.13); }
.content-dialog { width: min(94vw, 760px); }
.content-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.content-form-grid label { margin: 0; }
.content-field-wide { grid-column: 1 / -1; }
.content-publish-toggle { min-height: 49px; padding: 8px 11px; display: flex; grid-template-columns: auto 1fr; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(4,12,27,.45); cursor: pointer; }
.content-publish-toggle input { width: 17px; height: 17px; margin: 0; accent-color: var(--cyan); }
.content-publish-toggle span { display: flex; flex-direction: column; }
.content-publish-toggle b { font-size: 10px; }
.content-publish-toggle small { font-size: 8px; }
.content-media-help { margin: 0; padding: 11px 13px; display: flex; align-items: flex-start; gap: 9px; border: 1px solid rgba(61,224,160,.15); border-radius: 11px; color: #9cb0c8; background: rgba(61,224,160,.04); font-size: 9px; }
.content-media-help svg { width: 16px; height: 16px; flex: none; color: var(--green); }
.content-dialog-actions > span { flex: 1; }

/* Brand */
.brand-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 16px; }.brand-form-panel { padding-bottom: 25px; }.brand-form { padding: 0 24px; display: grid; gap: 18px; }.brand-form input, .brand-form textarea { font-size: 11px; }.brand-form fieldset { padding: 0; border: 0; }.brand-form legend { margin-bottom: 9px; color: #c6d2e3; font-size: 12px; font-weight: 650; }.color-fields { display: flex; gap: 10px; }.color-fields label { min-width: 160px; padding: 9px 12px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 11px; background: rgba(4,11,25,.52); }.color-fields input { width: 31px; height: 31px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: none; }.color-fields span { display: flex; flex-direction: column; font-size: 9px; }.color-fields small { font-size: 8px; }.brand-preview-panel { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #091327; }.brand-preview { min-height: 440px; margin-top: 14px; padding: 28px; display: flex; flex-direction: column; overflow: hidden; position: relative; border-radius: 17px; background: radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--brand-accent, #8b5cf6) 68%, transparent), transparent 27%), linear-gradient(150deg, #0c1835, #162958 58%, #1e1247); box-shadow: 0 18px 50px rgba(0,0,0,.29); }.preview-glow { position: absolute; width: 230px; height: 230px; right: -105px; bottom: -70px; border: 1px solid color-mix(in srgb, var(--brand-primary, #16d9ff) 42%, transparent); border-radius: 50%; box-shadow: 0 0 0 32px rgba(255,255,255,.02), 0 0 45px color-mix(in srgb, var(--brand-primary, #16d9ff) 21%, transparent); }.preview-logo { display: flex; align-items: center; gap: 8px; position: relative; z-index: 1; font-size: 10px; font-weight: 850; }.preview-logo img { width: 35px; height: 35px; border-radius: 10px; }.brand-preview > small { margin-top: auto; position: relative; z-index: 1; color: var(--brand-primary, #16d9ff); font-size: 8px; font-weight: 850; letter-spacing: .13em; }.brand-preview h2 { margin: 9px 0 10px; position: relative; z-index: 1; font-size: 31px; line-height: 1.03; letter-spacing: -.05em; }.brand-preview h2 em { color: var(--brand-primary, #16d9ff); font-style: normal; }.brand-preview p { max-width: 86%; margin: 0 0 20px; position: relative; z-index: 1; color: #b7c4d9; font-size: 10px; }.brand-preview button { width: fit-content; padding: 8px 11px; position: relative; z-index: 1; border: 0; border-radius: 7px; color: #071521; background: var(--brand-primary, #16d9ff); font-size: 8px; font-weight: 900; }.preview-note { margin: 15px 0 0; display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 9px; }.preview-note svg { width: 14px; height: 14px; color: var(--green); }

/* Dialogs and toast */
.app-dialog { width: min(92vw, 630px); max-height: 90vh; padding: 0; border: 1px solid var(--line-strong); border-radius: 20px; color: var(--text); background: #0c172b; box-shadow: 0 30px 90px rgba(0,0,0,.55); }.app-dialog::backdrop { background: rgba(1,5,13,.76); backdrop-filter: blur(5px); }.app-dialog[open] { animation: dialogIn .2s ease both; }.small-dialog { width: min(92vw, 480px); } @keyframes dialogIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.dialog-heading { min-height: 82px; padding: 18px 21px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }.dialog-heading > div { display: flex; align-items: center; gap: 12px; }.dialog-heading small { color: var(--cyan); font-size: 8px; font-weight: 850; letter-spacing: .12em; }.dialog-heading h2 { margin: 1px 0 0; font-size: 20px; letter-spacing: -.035em; }.dialog-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(24,217,255,.2); border-radius: 12px; color: var(--cyan); background: rgba(24,217,255,.07); }.dialog-icon.violet { color: #b7a5ff; border-color: rgba(143,104,255,.2); background: rgba(143,104,255,.08); }.dialog-icon svg { width: 19px; height: 19px; }.dialog-close { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 9px; color: var(--muted); background: transparent; }.dialog-close:hover { color: var(--text); background: rgba(255,255,255,.05); }.dialog-close svg { width: 17px; height: 17px; }.dialog-body { padding: 23px; }.dialog-body > p { margin: 0 0 17px; color: var(--muted); font-size: 10px; }.dialog-body label { margin-bottom: 15px; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.form-grid label { margin: 0; }.span-two { grid-column: 1 / -1; }.dialog-error { margin: 0 23px 15px; }.dialog-actions { padding: 15px 21px; display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); background: rgba(4,11,24,.28); }
.dialog-management-actions { margin-right: auto; display: flex; align-items: center; gap: 6px; }
.dialog-help { margin: -5px 23px 18px; padding: 10px 12px; border: 1px solid rgba(24,217,255,.14); border-radius: 10px; color: #aebdd2; background: rgba(24,217,255,.04); font-size: 9px; line-height: 1.5; }
.checkbox-row { min-height: 49px; padding: 9px 11px; display: flex !important; align-items: center; gap: 10px !important; border: 1px solid var(--line); border-radius: 12px; background: rgba(4,12,27,.45); cursor: pointer; }
.checkbox-row input { width: 18px; height: 18px; flex: none; margin: 0; accent-color: var(--cyan); }
.checkbox-row span { color: #c6d2e3; font-size: 10px; line-height: 1.4; }
.renewal-preview { margin: 3px 0 15px; padding: 12px 13px; border: 1px solid rgba(24,217,255,.18); border-radius: 11px; color: #d9faff; background: rgba(24,217,255,.055); font-size: 11px; font-weight: 760; }
.dialog-body .dialog-note { margin: 2px 0 0; padding: 11px 12px; border-left: 2px solid var(--amber); border-radius: 8px; color: #aebbd0; background: rgba(255,184,87,.055); line-height: 1.55; }
.toast-region { position: fixed; z-index: 10000; right: 20px; bottom: 20px; width: min(380px, calc(100vw - 40px)); display: grid; gap: 9px; }.toast { min-height: 63px; padding: 13px 15px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--line-strong); border-radius: 14px; background: #14223a; box-shadow: 0 18px 50px rgba(0,0,0,.35); animation: toastIn .25s ease both; }.toast.is-leaving { animation: toastOut .2s ease both; }.toast > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--green); background: rgba(61,224,160,.08); }.toast.is-error > span { color: var(--red); background: rgba(255,109,123,.08); }.toast div { display: flex; flex-direction: column; }.toast strong { font-size: 10px; }.toast small { color: var(--muted); font-size: 9px; }.toast svg { width: 15px; height: 15px; } @keyframes toastIn { from { opacity: 0; transform: translateY(10px); } } @keyframes toastOut { to { opacity: 0; transform: translateX(12px); } }

/* Portal access requests */
.pending-registration-card { text-align: center; }
.pending-registration-icon { width: 62px; height: 62px; margin: 0 auto 17px; display: grid; place-items: center; border: 1px solid rgba(255,184,87,.3); border-radius: 19px; color: var(--amber); background: rgba(255,184,87,.08); box-shadow: 0 14px 38px rgba(255,184,87,.08); }
.pending-registration-icon svg { width: 27px; height: 27px; }
.pending-access-warning { margin: 18px 0; padding: 12px 14px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid rgba(255,184,87,.25); border-radius: 12px; color: #ffd99f; background: rgba(255,184,87,.07); font-size: 11px; }
.pending-access-warning svg { width: 17px; height: 17px; flex: none; }
.pending-registration-summary { margin: 0 0 17px; padding: 15px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border: 1px solid var(--line); border-radius: 14px; text-align: left; background: rgba(4,12,27,.42); }
.pending-registration-summary div { min-width: 0; display: grid; gap: 2px; }
.pending-registration-summary dt { color: var(--muted-2); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pending-registration-summary dd { overflow-wrap: anywhere; margin: 0; color: #eaf3ff; font-size: 11px; font-weight: 700; }
.auth-card .pending-registration-help { margin: 0 0 18px; font-size: 10px; }

/* Support and notifications */
.client-nav a { position: relative; }
.client-nav a b, .client-notification-button b, .nav-item b { min-width: 18px; height: 18px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 99px; color: #fff; background: linear-gradient(135deg, var(--magenta), #955eff); font-size: 8px; line-height: 1; }
.client-nav a b { margin-left: 3px; }
.client-notification-button { position: relative; flex: none; }
.client-notification-button b { position: absolute; right: -6px; top: -6px; border: 2px solid var(--bg); }
.client-install-button { min-width: 92px; }
.client-whatsapp-card .client-card-icon { color: var(--green); border-color: rgba(61,224,160,.18); background: rgba(61,224,160,.065); }
.client-expiry-card { border-color: rgba(255,184,87,.2); background: linear-gradient(145deg, rgba(42,34,37,.96), rgba(15,22,40,.92)); }
.client-expiry-card .client-card-icon { color: var(--amber); border-color: rgba(255,184,87,.22); background: rgba(255,184,87,.07); }
.client-expiry-card strong { color: #fff3dc; }
.client-support-layout { display: grid; grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr); gap: 16px; align-items: start; }
.support-create-card, .support-history, .support-queue, .ticket-detail, .notification-composer, .notification-history { padding: 23px; }
.support-panel-heading { margin-bottom: 20px; display: flex; align-items: center; gap: 13px; }
.support-panel-heading h2, .support-panel-heading h3, .support-history-heading h2, .support-history-heading h3 { margin: 2px 0 0; font-size: 20px; letter-spacing: -.035em; }
.support-form, .support-fields, .ticket-update-form { display: grid; gap: 14px; }
.ticket-catalog { min-width: 0; padding: 15px; display: grid; gap: 12px; border: 1px solid rgba(24,217,255,.18); border-radius: 15px; background: linear-gradient(145deg,rgba(24,217,255,.045),rgba(143,104,255,.035)); }
.ticket-catalog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ticket-catalog-heading > div { display: grid; gap: 3px; }
.ticket-catalog-heading small, .ticket-catalog-selection small, .ticket-content-summary small { color: var(--cyan); font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.ticket-catalog-heading strong { color: #eefaff; font-size: 12px; }
.ticket-catalog-heading > span { color: var(--muted); font-size: 8px; white-space: nowrap; }
.ticket-catalog-status { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.ticket-catalog-status.is-error { color: #ffadb5; }
.ticket-catalog-grid { max-height: 340px; overflow-y: auto; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; scrollbar-width: thin; }
.ticket-catalog-item { min-width: 0; min-height: 68px; padding: 8px; display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 9px; align-items: center; border: 1px solid var(--line); border-radius: 11px; color: inherit; text-align: left; background: rgba(3,10,22,.64); }
.ticket-catalog-item:hover, .ticket-catalog-item.is-selected { border-color: rgba(24,217,255,.45); background: rgba(24,217,255,.08); }
.ticket-catalog-item img, .ticket-catalog-placeholder { width: 48px; height: 48px; border-radius: 9px; object-fit: cover; background: #08152a; }
.ticket-catalog-placeholder { display: grid; place-items: center; color: var(--cyan); font-size: 16px; font-weight: 900; }
.ticket-catalog-item > span:nth-child(2) { min-width: 0; display: grid; gap: 3px; }
.ticket-catalog-item strong, .ticket-catalog-item small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-catalog-item strong { font-size: 9px; }.ticket-catalog-item small { color: var(--muted); font-size: 7px; }
.ticket-catalog-item b { grid-column: 2; color: var(--cyan); font-size: 7px; text-transform: uppercase; }
.ticket-catalog-selection { padding: 11px 12px; display: grid; gap: 3px; border: 1px solid rgba(61,224,160,.25); border-radius: 11px; background: rgba(61,224,160,.07); }
.ticket-catalog-selection strong { color: #e9fff7; font-size: 11px; }.ticket-catalog-selection span { color: #a7d9c7; font-size: 8px; }
.support-upload { cursor: pointer; }
.support-upload > span { min-height: 86px; padding: 15px; display: grid; grid-template-columns: 34px 1fr; gap: 2px 11px; align-items: center; border: 1px dashed rgba(24,217,255,.28); border-radius: 13px; background: rgba(24,217,255,.035); transition: .18s ease; }
.support-upload:hover > span { border-color: rgba(24,217,255,.5); background: rgba(24,217,255,.07); }
.support-upload svg { grid-row: 1 / 3; width: 22px; height: 22px; color: var(--cyan); }
.support-upload b { overflow-wrap: anywhere; color: #e9f8ff; font-size: 11px; }
.support-upload small { font-size: 9px; }
.support-history-heading { margin-bottom: 16px; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.support-loading { min-height: 110px; display: grid; place-items: center; color: var(--muted); font-size: 11px; }
.support-loading.is-error { color: #ffadb5; }
.ticket-list { display: grid; gap: 8px; }
.ticket-row { width: 100%; min-height: 86px; padding: 13px; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; gap: 11px; align-items: center; border: 1px solid var(--line); border-radius: 13px; color: inherit; text-align: left; background: rgba(5,14,30,.52); transition: border-color .18s, background .18s, transform .18s; }
.ticket-row:hover { border-color: rgba(24,217,255,.28); background: rgba(15,31,56,.82); transform: translateY(-1px); }
.ticket-row.is-active { border-color: rgba(24,217,255,.38); background: linear-gradient(135deg, rgba(24,217,255,.08), rgba(143,104,255,.06)); }
.ticket-row-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: var(--cyan); background: rgba(24,217,255,.08); }
.ticket-row-icon svg { width: 18px; height: 18px; }
.ticket-row > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; }
.ticket-row small, .ticket-row em { overflow: hidden; color: var(--muted); font-size: 8px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.ticket-row strong { overflow: hidden; margin: 2px 0; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.ticket-status, .request-status { min-width: 72px; padding: 6px 8px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); background: rgba(255,255,255,.025); font-size: 8px; font-style: normal; font-weight: 800; white-space: nowrap; }
.ticket-status.is-open, .request-status.is-pending { color: #ffd392; border-color: rgba(255,184,87,.24); background: rgba(255,184,87,.07); }
.ticket-status.is-in_progress { color: #8eeaff; border-color: rgba(24,217,255,.24); background: rgba(24,217,255,.07); }
.ticket-status.is-resolved, .request-status.is-approved { color: #8ff4ca; border-color: rgba(61,224,160,.24); background: rgba(61,224,160,.07); }
.ticket-status.is-closed, .request-status.is-rejected { color: #ffadb5; border-color: rgba(255,109,123,.24); background: rgba(255,109,123,.07); }
.support-empty, .ticket-detail-placeholder { min-height: 220px; padding: 28px; display: grid; place-content: center; justify-items: center; text-align: center; }
.support-empty > svg, .ticket-detail-placeholder > svg { width: 34px; height: 34px; margin-bottom: 12px; color: var(--muted-2); }
.support-empty strong, .ticket-detail-placeholder strong { font-size: 13px; }
.support-empty p, .ticket-detail-placeholder p { max-width: 340px; margin: 5px 0 0; color: var(--muted); font-size: 10px; }
.client-support-section > .ticket-detail { margin-top: 16px; }
.ticket-detail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.ticket-detail-heading h3 { margin: 4px 0 2px; font-size: 23px; letter-spacing: -.04em; }
.ticket-detail-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.ticket-detail-meta { margin: 21px 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.ticket-detail-meta div { padding: 12px; display: grid; gap: 3px; border: 1px solid var(--line); border-radius: 11px; background: rgba(4,11,25,.36); }
.ticket-detail-meta dt, .ticket-client-summary small, .ticket-description small { color: var(--muted-2); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ticket-detail-meta dd { margin: 0; overflow-wrap: anywhere; font-size: 11px; font-weight: 700; }
.ticket-description { margin-bottom: 18px; }
.ticket-description p { margin: 6px 0 0; color: #c2cee0; font-size: 11px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.ticket-staff-reply { margin: 0 0 18px; padding: 15px; border: 1px solid rgba(45,212,191,.28); border-radius: 12px; background: rgba(20,184,166,.08); }
.ticket-staff-reply small { color: #5eead4; font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ticket-staff-reply p { margin: 7px 0 8px; color: #d7fff8; font-size: 11px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.ticket-staff-reply span { color: var(--muted); font-size: 9px; }
.ticket-conversation { margin: 18px 0; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: rgba(4,11,25,.34); }
.ticket-conversation-heading { margin-bottom: 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ticket-conversation-heading small { color: var(--cyan); font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.ticket-conversation-heading span, .ticket-conversation-empty { color: var(--muted); font-size: 9px; }
.ticket-message-list { max-height: 390px; overflow-y: auto; display: grid; gap: 10px; scrollbar-width: thin; }
.ticket-message { width: min(86%, 540px); padding: 11px 13px; border: 1px solid var(--line); border-radius: 13px 13px 13px 4px; background: rgba(148,163,184,.08); }
.ticket-message.is-staff { margin-left: auto; border-color: rgba(24,217,255,.24); border-radius: 13px 13px 4px 13px; background: rgba(24,217,255,.08); }
.ticket-message > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ticket-message strong { color: var(--text); font-size: 9px; }
.ticket-message time { color: var(--muted-2); font-size: 8px; }
.ticket-message p { margin: 7px 0 0; color: #dbeafe; font-size: 11px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.ticket-message-form { margin-top: 16px; padding: 15px; display: grid; gap: 11px; border: 1px solid rgba(24,217,255,.16); border-radius: 14px; background: rgba(8,20,40,.55); }
.ticket-message-form > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ticket-message-form .form-message { margin: 0; }
.ticket-message-form button svg { width: 15px; height: 15px; }
.renewal-copy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.renewal-copy-actions .button { justify-content: center; }
.ticket-client-summary { margin: 17px 0; padding: 13px; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(143,104,255,.18); border-radius: 12px; background: rgba(143,104,255,.05); }
.ticket-content-summary { margin: 17px 0; padding: 13px; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(24,217,255,.2); border-radius: 12px; background: rgba(24,217,255,.055); }
.ticket-content-summary > img, .ticket-content-summary > span { width: 58px; height: 58px; flex: 0 0 auto; border-radius: 10px; object-fit: cover; background: #071329; }
.ticket-content-summary > span { display: grid; place-items: center; color: var(--cyan); font-size: 18px; font-weight: 900; }
.ticket-content-summary > div { min-width: 0; display: grid; gap: 3px; }.ticket-content-summary strong { overflow-wrap: anywhere; font-size: 12px; }.ticket-content-summary p { margin: 0; color: var(--muted); font-size: 9px; }
.ticket-client-summary div { min-width: 0; display: flex; flex-direction: column; }
.ticket-client-summary strong, .ticket-client-summary span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-client-summary strong { font-size: 11px; }.ticket-client-summary span { color: var(--muted); font-size: 9px; }
.ticket-attachment { margin: 17px 0; padding: 13px; display: grid; gap: 11px; border: 1px solid var(--line); border-radius: 13px; background: rgba(4,11,25,.45); }
.ticket-attachment-heading { display: flex; align-items: center; gap: 10px; }
.ticket-attachment-heading svg { color: var(--cyan); }
.ticket-attachment-heading span { display: flex; flex-direction: column; }
.ticket-attachment-heading strong { font-size: 10px; }.ticket-attachment-heading small { color: var(--muted); font-size: 8px; }
.ticket-attachment img, .ticket-attachment video { width: 100%; max-height: 430px; border-radius: 10px; object-fit: contain; background: #020711; }
.ticket-update-form { margin-top: 19px; padding-top: 19px; border-top: 1px solid var(--line); }
.ticket-close-warning { margin: 0; padding: 11px 12px; display: flex; align-items: flex-start; gap: 9px; border: 1px solid rgba(251,113,133,.25); border-radius: 11px; background: rgba(251,113,133,.07); color: #fecdd3; font-size: 9px; line-height: 1.55; }
.ticket-close-warning svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 1px; color: #fb7185; }
.ticket-close-warning strong { color: #fff1f2; }
.staff-support-workspace { display: grid; grid-template-columns: minmax(300px,.72fr) minmax(0,1.28fr); gap: 16px; align-items: start; }
.staff-support-workspace.is-queue-only { grid-template-columns: 1fr; }
.staff-support-workspace.is-queue-only .support-queue { max-height: none; position: static; }
.support-queue { max-height: calc(100vh - 220px); overflow-y: auto; position: sticky; top: 92px; }
.staff-ticket-detail, .registration-request-detail { min-height: 460px; }
.staff-ticket-detail.is-dedicated { width: min(100%, 1040px); margin: 0 auto; padding: 26px; }
.staff-ticket-detail.is-dedicated .ticket-conversation { min-height: 420px; display: flex; flex-direction: column; }
.staff-ticket-detail.is-dedicated .ticket-message-list { max-height: min(58vh, 680px); min-height: 290px; align-content: end; }
.staff-ticket-detail.is-dedicated .ticket-message { width: min(82%, 680px); padding: 14px 16px; }
.staff-ticket-detail.is-dedicated .ticket-message p { font-size: 12px; }
.staff-ticket-detail.is-dedicated .ticket-message-form textarea { min-height: 145px; resize: vertical; }
.support-ticket-page-heading .button svg { transform: rotate(180deg); }
.support-toolbar { margin-bottom: 15px; }
.registration-review-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.registration-review-actions .button-primary { grid-column: 1 / -1; }
.button.is-danger { color: #ffc3c9; border-color: rgba(255,109,123,.25); background: rgba(255,109,123,.07); }
.notification-section-heading { align-items: center; }
.notification-push-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.notification-capability-note, .notification-fallback-note { margin: 0 0 15px; padding: 11px 13px; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(24,217,255,.14); border-radius: 11px; color: var(--muted); background: rgba(24,217,255,.035); font-size: 10px; }
.notification-fallback-note { margin: 0; align-items: flex-start; }
.notification-fallback-note svg { width: 17px; height: 17px; flex: none; color: var(--cyan); }
.notification-list { display: grid; gap: 10px; }
.notification-card { min-height: 104px; padding: 17px; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; gap: 13px; align-items: start; border: 1px solid var(--line); border-radius: 15px; background: rgba(10,22,42,.78); }
.notification-card.is-unread { border-color: rgba(24,217,255,.26); box-shadow: inset 3px 0 var(--cyan); }
.notification-type { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--cyan); background: rgba(24,217,255,.08); }
.notification-type.is-renewal { color: var(--amber); background: rgba(255,184,87,.08); }
.notification-type.is-content { color: #bba9ff; background: rgba(143,104,255,.1); }
.notification-type.is-service { color: var(--green); background: rgba(61,224,160,.08); }
.notification-card > div { min-width: 0; }.notification-card small { color: var(--muted-2); font-size: 8px; font-weight: 700; text-transform: uppercase; }.notification-card h3 { margin: 3px 0 4px; font-size: 14px; }.notification-card p { margin: 0; color: #b7c6da; font-size: 10px; white-space: pre-wrap; overflow-wrap: anywhere; }.notification-card em { display: block; margin-top: 8px; color: var(--cyan); font-size: 8px; font-style: normal; }
.notification-read-label { padding: 5px 8px; color: var(--muted-2); font-size: 8px; }
.staff-notification-layout { display: grid; grid-template-columns: minmax(320px,.75fr) minmax(0,1.25fr); gap: 16px; align-items: start; }
.notification-history { min-height: 460px; }
.staff-inbox-panel { margin-bottom: 16px; padding: 23px; }
.notification-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.notification-section-heading h2 { margin: 4px 0; font-size: 20px; }
.notification-section-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.staff-inbox-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
.staff-inbox-card { width: 100%; color: inherit; text-align: left; cursor: pointer; transition: border-color .18s ease, transform .18s ease, background .18s ease; }
.staff-inbox-card:hover { transform: translateY(-1px); border-color: rgba(24,217,255,.35); background: rgba(14,30,55,.9); }
.notification-open-label { align-self: center; color: var(--cyan); font-size: 9px; font-weight: 800; white-space: nowrap; }
.notification-automation { margin-bottom: 16px; padding: 23px; overflow: hidden; background: radial-gradient(circle at 100% 0, rgba(24,217,255,.08), transparent 36%), var(--surface); }
.automation-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.automation-heading .support-panel-heading { margin: 0; }
.automation-heading .support-panel-heading p { margin: 5px 0 0; color: var(--muted); font-size: 10px; font-weight: 500; }
.automation-status { min-height: 28px; padding: 0 10px; display: inline-flex; align-items: center; flex: none; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); background: rgba(255,255,255,.025); font-size: 8px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.automation-status.is-enabled { color: #8ff4ca; border-color: rgba(61,224,160,.25); background: rgba(61,224,160,.07); }
.automation-status.is-paused { color: #ffd392; border-color: rgba(255,184,87,.24); background: rgba(255,184,87,.07); }
.automation-status.is-error { color: #ffadb5; border-color: rgba(255,109,123,.24); background: rgba(255,109,123,.07); }
.automation-settings { margin-top: 20px; display: grid; grid-template-columns: minmax(280px,1.35fr) minmax(155px,.55fr) minmax(210px,.75fr); gap: 12px; align-items: stretch; }
.automation-switch, .automation-timezone { min-height: 92px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: rgba(4,12,27,.48); }
.automation-switch { display: grid; grid-template-columns: 45px minmax(0,1fr); align-content: center; align-items: center; gap: 12px; cursor: pointer; }
.automation-switch > input { width: 1px; height: 1px; position: absolute; opacity: 0; pointer-events: none; }
.automation-switch-track { width: 45px; height: 25px; padding: 3px; display: block; border: 1px solid var(--line-strong); border-radius: 99px; background: #111e33; transition: .2s ease; }
.automation-switch-track i { width: 17px; height: 17px; display: block; border-radius: 50%; background: #8190a8; box-shadow: 0 2px 7px rgba(0,0,0,.35); transition: .2s ease; }
.automation-switch > input:checked + .automation-switch-track { border-color: rgba(61,224,160,.42); background: rgba(61,224,160,.2); }
.automation-switch > input:checked + .automation-switch-track i { transform: translateX(19px); background: var(--green); }
.automation-switch > input:focus-visible + .automation-switch-track { outline: 3px solid rgba(24,217,255,.18); outline-offset: 2px; }
.automation-switch > span:last-child { min-width: 0; display: grid; gap: 3px; }
.automation-switch b { color: #edf6ff; font-size: 11px; }
.automation-switch small { line-height: 1.45; }
.automation-hour { min-height: 92px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 14px; background: rgba(4,12,27,.48); }
.automation-hour input { height: 37px; border-radius: 9px; font-size: 11px; }
.automation-hour small { font-size: 8px; line-height: 1.35; }
.automation-timezone { display: flex; flex-direction: column; justify-content: center; }
.automation-timezone small, .automation-run-state small { color: var(--muted-2); font-size: 8px; font-weight: 850; letter-spacing: .1em; }
.automation-timezone strong { margin: 4px 0; color: var(--cyan); font-size: 11px; }
.automation-timezone span { color: var(--muted); font-size: 8px; line-height: 1.4; }
.automation-milestones { margin-top: 12px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.automation-milestones > div { min-height: 72px; padding: 13px 15px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 13px; background: rgba(7,17,35,.52); }
.automation-milestone-icon { width: 36px; height: 36px; display: grid; place-items: center; flex: none; border-radius: 10px; color: var(--cyan); background: rgba(24,217,255,.08); }
.automation-milestone-icon.is-expired { color: var(--amber); background: rgba(255,184,87,.08); }
.automation-milestone-icon svg { width: 17px; height: 17px; }
.automation-milestones p { margin: 0; display: grid; gap: 3px; }
.automation-milestones b { font-size: 10px; }
.automation-milestones p span { color: var(--muted); font-size: 9px; line-height: 1.45; }
.automation-run-state { margin-top: 12px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.automation-run-state > div { padding: 12px 14px; display: grid; gap: 4px; border-left: 2px solid rgba(24,217,255,.3); background: rgba(24,217,255,.025); }
.automation-run-state strong { font-size: 10px; }
.automation-actions { margin-top: 18px; display: flex; justify-content: flex-end; gap: 9px; }
.notification-automation .form-message { margin: 14px 0 0; }
.notification-auto-badge { margin-left: 7px; padding: 3px 6px; display: inline-flex; align-items: center; border: 1px solid rgba(61,224,160,.22); border-radius: 99px; color: #8ff4ca; background: rgba(61,224,160,.07); font-size: 7px; line-height: 1; vertical-align: 1px; }

/* Responsive */
@media (max-width: 1240px) {
  :root { --sidebar: 228px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-card { min-height: 140px; }
  .template-grid { grid-template-columns: repeat(2, 1fr); }
  .editor-shell { grid-template-columns: 265px minmax(350px, 1fr); }
  .layers-panel { display: none; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .auth-shell { grid-template-columns: 1fr 440px; }
  .auth-story { padding-inline: 45px; }
  .auth-copy h1 { font-size: 48px; }
  .dashboard-grid, .lower-grid { grid-template-columns: 1fr; }
  .momentum-panel { min-height: 315px; }
  .renewal-hero { grid-template-columns: .8fr 1.2fr; }.calendar-art { display: none; }
  .renewal-card { grid-template-columns: 1.25fr .7fr .7fr auto; }.renewal-card .renewal-meta:nth-of-type(2) { display: none; }
  .brand-layout { grid-template-columns: 1fr; }.brand-preview-panel { display: grid; grid-template-columns: 1fr 330px; gap: 20px; align-items: start; }.brand-preview-panel > .panel-kicker, .brand-preview-panel > .preview-note { grid-column: 1; }.brand-preview { grid-column: 2; grid-row: 1 / 4; margin: 0; }
  .import-fields { grid-template-columns: 1fr; }
  .mapping-grid { grid-template-columns: repeat(3, minmax(140px,1fr)); }
  .client-header { grid-template-columns: auto 1fr auto; padding-inline: 20px; }
  .client-nav { justify-self: center; }
  .client-details { grid-template-columns: 1fr; gap: 20px; }
  .client-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .client-support-layout, .staff-notification-layout { grid-template-columns: 1fr; }
  .staff-inbox-list { grid-template-columns: 1fr; }
  .automation-settings { grid-template-columns: 1fr 1fr; }
  .automation-switch { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --sidebar: 252px; }
  .auth-shell { display: block; }.auth-story { min-height: 330px; padding: 32px; border: 0; }.auth-copy { padding: 48px 0 30px; }.auth-copy h1 { margin: 15px 0 12px; font-size: 43px; }.auth-copy > p { font-size: 15px; }.auth-proof { display: none; }.auth-card-wrap { padding: 0 22px 50px; }.auth-card { width: min(100%, 540px); }
  .sidebar { transform: translateX(-100%); transition: transform .24s ease; box-shadow: 15px 0 50px rgba(0,0,0,.35); }.sidebar.is-open { transform: translateX(0); }.sidebar-scrim { position: fixed; z-index: 45; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(3px); }
  .app-main { margin-left: 0; }.menu-button { display: grid; }.topbar { padding-inline: 18px; }.today-label { display: none; }.page-content { padding: 28px 20px 54px; }
  .editor-shell { grid-template-columns: 235px minmax(330px, 1fr); overflow-x: auto; }
  .campaign-spotlight > div:first-child { width: 62%; }.spotlight-phone { right: 3%; transform: scale(.88) rotate(8deg); }
  .client-header { grid-template-columns: 1fr auto; gap: 10px 16px; }
  .client-nav { width: 100%; grid-column: 1 / -1; grid-row: 2; justify-content: center; overflow-x: auto; }
  .client-account-copy { display: none; }
  .client-main { width: min(100% - 36px, 1320px); padding-top: 34px; }
  .client-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .staff-support-workspace { grid-template-columns: 1fr; }
  .support-queue { max-height: none; position: static; }
}
@media (max-width: 700px) {
  .ticket-catalog-grid { grid-template-columns: 1fr; }
  .topbar-install-button { width: 42px; padding: 0; }
  .topbar-install-button span { display: none; }
  .profile-button { min-width: 0; width: 47px; padding: 5px; }.profile-copy, .profile-button > svg { display: none; }.notification-button { display: none; }
  .page-heading { align-items: flex-start; }.page-heading:not(.dashboard-heading) { flex-direction: column; }.page-heading > .button { width: 100%; }.dashboard-heading { align-items: flex-start; flex-direction: column; }.dashboard-heading .button { width: 100%; }
  .notification-section-heading { align-items: stretch; flex-direction: column; }
  .notification-push-actions { justify-content: stretch; }
  .notification-push-actions .button { flex: 1; }
  .staff-ticket-detail.is-dedicated { padding: 18px; }
  .staff-ticket-detail.is-dedicated .ticket-message { width: 94%; }
  .metric-grid { grid-template-columns: 1fr 1fr; gap: 10px; }.metric-card { min-height: 132px; padding: 16px; }.metric-card > strong { font-size: 26px; }
  .renewal-row { grid-template-columns: 1fr auto; }.renewal-row > span, .renewal-row > .status { display: none; }
  .quick-actions { grid-template-columns: 1fr; }.quick-actions button { min-height: 75px; }
  .toolbar { align-items: stretch; flex-direction: column; }.search-field { max-width: none; min-width: 0; }.toolbar .result-count { margin: 0 2px; }.toolbar .segmented { overflow-x: auto; }
  .client-bulk-actions { align-items: stretch; flex-wrap: wrap; }.client-bulk-actions .button { width: 100%; }.bulk-select-toggle { min-height: 34px; }#selectedClientCount { margin: auto 0 auto auto; }
  .page[data-page="clients"] th:nth-child(3), .page[data-page="clients"] td:nth-child(3), .page[data-page="clients"] th:nth-child(6), .page[data-page="clients"] td:nth-child(6), .page[data-page="sellers"] th:nth-child(2), .page[data-page="sellers"] td:nth-child(2) { display: none; } th, td { padding-inline: 12px; }
  .renewal-hero { min-height: 0; padding: 27px; grid-template-columns: 1fr; }.renewal-hero-copy { padding: 19px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }.renewal-hero > div:first-child strong { font-size: 57px; }
  .section-bar { align-items: flex-start; flex-direction: column; }.section-bar .segmented { max-width: 100%; overflow-x: auto; }
  .renewal-card { grid-template-columns: 1fr auto; padding: 13px; }.renewal-card > .renewal-meta { display: none; }.renewal-card .renewal-days { grid-column: 1; padding-left: 53px; }.renewal-card .renewal-actions { grid-column: 2; grid-row: 1 / 3; align-items: stretch; flex-direction: column; }
  .campaign-spotlight { min-height: 430px; padding: 30px; align-items: flex-start; }.campaign-spotlight > div:first-child { width: 100%; }.campaign-spotlight h2 { font-size: 37px; }.spotlight-phone { width: 180px; height: 280px; right: -18px; top: 190px; transform: rotate(11deg); }.spotlight-phone span { font-size: 17px; }.template-grid { grid-template-columns: 1fr 1fr; gap: 10px; }.template-preview { padding: 16px; }.asset-drop { align-items: flex-start; flex-wrap: wrap; }.asset-drop .button { width: 100%; margin: 0; }
  .editor-shell { display: flex; flex-direction: column; overflow: hidden; }.editor-controls { border-right: 0; border-bottom: 1px solid var(--line); }.design-stage-wrap { min-height: 590px; }.design-stage { padding: 18px; }.demo-canvas { --scale: .8; }.field-row { grid-template-columns: 1fr 1fr; }
  .team-banner { padding: 22px; }.team-avatars { display: none; }.table-title { align-items: stretch; flex-direction: column; }.search-field.compact { max-width: none; }
  .privacy-seal { width: 100%; justify-content: center; }.csv-input-grid { grid-template-columns: 1fr; }.csv-or { height: 24px; }.csv-or::before { width: auto; height: 1px; inset: 50% 0 auto; }.csv-or span { padding: 0 9px; }.mapping-grid { grid-template-columns: repeat(2, minmax(130px,1fr)); }.import-result { grid-template-columns: 48px 1fr; }.import-result > .button { grid-column: 1 / -1; width: 100%; }.import-preview-table th, .import-preview-table td { display: table-cell; }
  .brand-preview-panel { display: block; }.brand-preview { margin-top: 14px; }.color-fields { flex-direction: column; }.color-fields label { width: 100%; }
  .content-toolbar { align-items: stretch; flex-direction: column; }
  .content-filters { max-width: 100%; }
  .content-toolbar .result-count { margin-left: 2px; }
  .guide-category-manager form { grid-template-columns: 1fr; }
  .guide-category-manager form .button { width: 100%; }
  .guide-category-row { grid-template-columns: 1fr 1fr; }
  .guide-category-row input { grid-column: 1 / -1; }
  .guide-grid, .announcement-grid { grid-template-columns: 1fr; }
  .content-form-grid { grid-template-columns: 1fr; }
  .content-field-wide { grid-column: auto; }
  .content-dialog-actions { flex-direction: column-reverse; }
  .content-dialog-actions > span { display: none; }
  .content-dialog-actions .button { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }.span-two { grid-column: auto; }
  .client-main { width: min(100% - 28px, 1320px); }
  .client-hero { min-height: 275px; padding: 28px 23px; align-items: flex-start; flex-direction: column; justify-content: center; }
  .client-hero h1 { font-size: 38px; }
  .client-status-badge { align-self: flex-start; }
  .client-service-grid { grid-template-columns: 1fr; }
  .client-state-card { grid-column: auto; }
  .client-service-card { min-height: 124px; padding: 20px; }
  .client-details { padding: 22px 20px; }
  .client-details dl { grid-template-columns: 1fr; }
  .client-details dl div { padding: 12px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .client-content-section { padding-top: 58px; }
  .client-main > section { scroll-margin-top: 150px; }
  .client-support-layout, .staff-notification-layout { grid-template-columns: 1fr; }
  .support-toolbar { align-items: stretch; flex-direction: column; }
  .notification-push-actions { width: 100%; justify-content: stretch; }.notification-push-actions .button { flex: 1; }
  .support-filters { max-width: 100%; overflow-x: auto; }
  .notification-section-heading { align-items: stretch; flex-direction: column; }
  .notification-section-heading .button { width: 100%; }
  .notification-card { grid-template-columns: 38px minmax(0,1fr); }
  .notification-card > .text-button, .notification-read-label { grid-column: 2; justify-self: start; }
  .notification-automation { padding: 19px; }
  .automation-heading { align-items: stretch; flex-direction: column; }
  .automation-status { align-self: flex-start; }
  .automation-settings, .automation-milestones, .automation-run-state { grid-template-columns: 1fr; }
  .automation-switch { grid-column: auto; }
  .automation-actions { align-items: stretch; flex-direction: column-reverse; }
  .automation-actions .button { width: 100%; }
}
@media (max-width: 470px) {
  .auth-story { min-height: 295px; padding: 24px; }.auth-brand img { width: 44px; height: 44px; }.auth-copy { padding: 36px 0 20px; }.auth-copy h1 { font-size: 35px; }.auth-copy > p { font-size: 13px; }.auth-card { padding: 26px 21px; }
  .topbar-title small { display: none; }.page-content { padding-inline: 14px; }.page-heading { margin-bottom: 23px; }.page-heading h1 { font-size: 29px; }
  .metric-grid { grid-template-columns: 1fr; }.metric-card { min-height: 116px; }
  .template-grid { grid-template-columns: 1fr; }.campaign-spotlight { min-height: 450px; padding: 25px; }.spotlight-phone { top: 220px; }
  .field-row { grid-template-columns: 1fr; }.design-stage-wrap { min-height: 510px; }.demo-canvas { --scale: .72; }.stage-toolbar > span:first-child { display: none; }
  .team-banner-icon { display: none; }.team-banner h2 { font-size: 20px; }
  .import-step-card { padding: 19px; }.access-choice-grid, .mapping-grid { grid-template-columns: 1fr; }.import-detect-actions, .import-submit-row { align-items: stretch; flex-direction: column; }.import-detect-actions .button, .import-submit-row .button { width: 100%; }.preview-heading, .import-preview-scroll { margin-inline: -19px; }.preview-heading { padding-inline: 19px; }.import-submit-row { margin: 18px -19px -19px; padding-inline: 19px; }.import-result { padding: 20px; grid-template-columns: 1fr; text-align: center; }.import-result-icon { margin-inline: auto; }.import-result-stats { justify-content: center; }
  .content-intro { min-height: 0; padding: 24px 20px; align-items: flex-start; flex-direction: column; }
  .content-intro-icon { width: 58px; height: 58px; border-radius: 17px; }
  .content-intro-icon svg { width: 27px; height: 27px; }
  .content-card-copy { min-height: 0; }
  .dialog-actions { flex-direction: column-reverse; }.dialog-actions .button { width: 100%; }.dialog-management-actions { width: 100%; margin: 0; flex-direction: column-reverse; }
  .auth-card-client { padding: 25px 20px; }
  .auth-chooser { grid-template-columns: 1fr; }
  .client-header { padding-inline: 14px; }
  .client-brand { font-size: 15px; }
  .client-brand img { width: 38px; height: 38px; }
  .client-nav { justify-content: flex-start; }
  .client-nav a { flex: 1 0 auto; text-align: center; }
  .client-main { width: min(100% - 20px, 1320px); padding-top: 24px; }
  .client-hero { border-radius: 21px; }
  .client-section-heading h2 { font-size: 28px; }
  .client-install-button { width: 42px; min-width: 42px; padding: 0; }
  .client-install-button span { display: none; }
  .client-account { gap: 6px; }
  .client-account .avatar { display: none; }
  .ticket-row { grid-template-columns: 34px minmax(0,1fr); }
  .ticket-row > .ticket-status, .ticket-row > .request-status { grid-column: 2; justify-self: start; }
  .ticket-detail-meta, .pending-registration-summary, .registration-review-actions { grid-template-columns: 1fr; }
  .renewal-copy-actions { grid-template-columns: 1fr; }
  .ticket-message { width: 94%; }
  .registration-review-actions .button-primary { grid-column: auto; }
  .support-create-card, .support-history, .support-queue, .ticket-detail, .notification-composer, .notification-history { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (display-mode: standalone) {
  .pwa-install-button { display: none !important; }
}
@supports (padding: max(0px)) {
  .topbar { height: calc(75px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); padding-left: max(clamp(18px, 3.4vw, 50px), env(safe-area-inset-left)); padding-right: max(clamp(18px, 3.4vw, 50px), env(safe-area-inset-right)); }
  .sidebar { padding-bottom: max(16px, env(safe-area-inset-bottom)); padding-left: max(14px, env(safe-area-inset-left)); }
  .page-content { padding-bottom: max(64px, calc(env(safe-area-inset-bottom) + 30px)); }
  .auth-card-wrap { padding-bottom: max(50px, calc(env(safe-area-inset-bottom) + 24px)); }
  .client-header { padding-top: max(10px, env(safe-area-inset-top)); padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)); }
  .client-main { padding-bottom: max(78px, calc(env(safe-area-inset-bottom) + 38px)); }
}

/* Separate IPTV configuration and account access in the client form. */
#newAppAccess{padding:18px;border:1px solid var(--border, #344963);border-radius:16px;background:rgba(100,150,220,.06)}
#newAppAccess h3{margin:0 0 14px}#newAppAccess h3:not(:first-child){margin-top:20px}#newAppAccess .checkbox-row{margin-bottom:12px}

.table-actions [data-edit-user-contact] { width: auto; min-width: 90px; padding-inline: 12px; }
