@font-face{font-family:Poppins;src:url('/fonts/poppins-400.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Poppins;src:url('/fonts/poppins-500.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:Poppins;src:url('/fonts/poppins-600.ttf') format('truetype');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Poppins;src:url('/fonts/poppins-700.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}

@font-face {
  font-family: "Portal Material Rounded";
  src: url("fonts/material-symbols-rounded.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
}

:root {
  --blue: #0f3e85;
  --teal: #0e887e;
  --orange: #f46b20;
  --ink: #151b20;
  --muted: #53616b;
  --line: #d4dcda;
  --surface: #ffffff;
  --canvas: #f6f7f8;
  --mint: #e7f2ef;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--canvas); color: var(--ink); font: 15px/1.6 Poppins, "Segoe UI", sans-serif; }
button, a { font: inherit; }
a { color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.material-symbol { width: 20px; height: 20px; display: inline-block; flex: 0 0 auto; overflow: hidden; font-family: "Portal Material Rounded"; font-size: 20px; font-weight: 400; font-style: normal; line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap; font-feature-settings: "liga"; -webkit-font-smoothing: antialiased; }

.portal-shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.portal-shell button.brand, .portal-shell button.nav-item { width: 100%; border: 0; background-color: transparent; text-align: left; cursor: pointer; }
.portal-shell button.brand { appearance: none; }
.portal-shell > .main { width: 100%; max-width: 1460px; margin: 0 auto; padding: 43px clamp(28px,4vw,64px) 70px; }
.link-button { margin-top: 18px; padding: 0; border: 0; background: transparent; color: #0e887e; font-weight: 600; cursor: pointer; }
.help-list { padding: 12px 28px; }
.help-list details { border-bottom: 1px solid var(--line); }
.help-list summary { padding: 20px 0; color: var(--blue); font-size: 18px; font-weight: 600; cursor: pointer; }
.help-list details p { margin: 0; padding: 0 0 22px; color: #44515a; font-size: 16px; }
.support-thread, .admin-ticket { width: 100%; border: 0; background: transparent; text-align: left; cursor: pointer; }
.support-empty { padding: 44px 30px; }
.detail-card { padding: 30px; }
.detail-status { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.detail-status > strong { color: var(--blue); font-size: 28px; }
.access-detail { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 28px; margin: 26px 0; }
.access-detail div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.access-detail dt { color: var(--muted); font-size: 13px; }
.access-detail dd { margin: 4px 0 0; color: var(--blue); font-size: 16px; font-weight: 600; }
html[data-theme="dark"] body:not(.sales-page) .help-list details p { color: #c5ccd0; }
html[data-theme="dark"] body:not(.sales-page) .link-button { color: #72d8cc; }
.mobile-menu-toggle, .mobile-topbar, .mobile-menu-backdrop { display: none; }
.sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--line); padding: 28px 18px 18px; }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; text-decoration: none; padding: 0 12px 30px; }
.brand img { width: 148px; height: auto; display: block; }
.brand span { color: #5f6c74; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.navigation { display: grid; gap: 18px; }
.navigation section { display: grid; gap: 2px; }
.nav-label { margin: 0 12px 8px; color: #65727a; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.nav-item { position: relative; min-height: 42px; display: grid; grid-template-columns: 22px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 0 12px; border-radius: 7px; color: #303b43; text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-item:hover { background: #f4f7f6; color: var(--teal); }
.nav-item.active { background: var(--mint); color: #0e887e; font-weight: 500; }
.portal-shell .nav-item { font-weight: 500 !important; }
.nav-item > .material-symbol:first-child { width: 20px; height: 20px; font-size: 20px; }
.nav-item .external { width: 15px; height: 15px; color: #74818e; font-size: 15px; }
.count { display: grid; place-items: center; min-width: 21px; height: 20px; padding: 0 6px; border-radius: 10px; background: #fff0e7; color: #b7501a; font-size: 10px; }
.count.unread { background: #0e887e; color: #fff; box-shadow: 0 4px 10px rgba(14,136,126,.18); }
.admin-menu { padding-top: 21px; border-top: 1px solid #edf0ef; }
.admin-heading { display: flex; align-items: start; justify-content: space-between; }
.admin-heading span { margin-right: 10px; color: #0e887e; font-size: 10px; font-weight: 600; }
.sidebar-footer { margin-top: auto; padding-top: 42px; }
.theme-toggle { width: 100%; min-height: 42px; display: flex; align-items: center; gap: 11px; margin-bottom: 10px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; color: #303b43; font-size: 13px; font-weight: 600; cursor: pointer; }
.theme-toggle:hover { background: #f4f7f6; color: #0e887e; }
.theme-toggle-icon { width: 20px; height: 20px; display: inline-grid; place-items: center; flex: 0 0 auto; }
.theme-toggle-icon svg { width: 20px; height: 20px; }
.profile { display: grid; grid-template-columns: 36px 1fr 32px; align-items: center; gap: 10px; padding: 16px 9px 2px; border-top: 1px solid var(--line); }
.avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #fceee3; color: #b85f29; font-weight: 700; }
.profile strong, .profile small, .profile-button strong, .profile-button small { display: block; }
.profile strong { font-size: 14px; }
.profile small { color: var(--muted); font-size: 11px; }
.profile button { display: grid; place-items: center; width: 31px; height: 31px; padding: 0; border: 0; background: transparent; color: #7d8a91; cursor: pointer; }
.profile button .material-symbol { width: 18px; height: 18px; font-size: 18px; }

.content { width: 100%; max-width: 1460px; margin: 0 auto; padding: 43px clamp(28px, 4vw, 64px) 70px; }
.content-header { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 31px; }
.eyebrow { margin: 0 0 7px; color: #0e887e; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { color: var(--blue); line-height: 1.2; }
h1 { margin: 0 0 7px; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.035em; font-weight: 600; }
h2 { margin: 0; font-size: 23px; letter-spacing: -.025em; font-weight: 600; }
h3 { margin: 0; font-size: 17px; font-weight: 600; }
.content-header > div > p:last-child { margin: 0; color: #44515a; font-size: 16px; }
.profile-button { display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 7px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); text-align: left; }
.profile-button > span:nth-child(2) { min-width: 80px; font-size: 13px; font-weight: 600; }
.profile-button small { color: var(--muted); font-size: 10px; font-weight: 500; }
.profile-button > svg { width: 15px; color: var(--muted); }

.learning-hero { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; align-items: stretch; }
.welcome-video-card { grid-column: span 2; }
.welcome-video-card { position: relative; min-height: 390px; overflow: hidden; border-radius: 20px; background: #17232a; box-shadow: 0 18px 46px rgba(32,52,75,.13); }
.welcome-video-card video { width: 100%; height: 100%; min-height: 390px; display: block; object-fit: cover; }
.video-caption { position: absolute; top: 18px; left: 18px; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--blue); font-size: 11px; font-weight: 700; backdrop-filter: blur(8px); }
.continue-study-card { min-height: 390px; display: flex; flex-direction: column; justify-content: space-between; padding: 31px 28px 28px; border-radius: 20px; background: #fff; box-shadow: 0 18px 46px rgba(32,52,75,.13); }
.continue-study-card .study-meta { display: block; margin: 27px 0 8px; color: #0e887e; font-size: 12px; font-weight: 700; }
.continue-study-card h2 { font-size: 27px; line-height: 1.18; }
.continue-study-card p:not(.eyebrow) { margin: 12px 0 26px; color: #53616b; font-size: 14px; }
.continue-study-card .module-action { margin-top: auto; }

.continue-card { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .65fr); overflow: hidden; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 18px 46px rgba(32, 52, 75, .13); }
.continue-copy { padding: 34px 38px 32px; }
.continue-copy h2 { font-size: 29px; }
.continue-copy > p:not(.eyebrow) { margin: 9px 0 25px; color: #45535d; font-size: 15px; }
.progress-meta { display: flex; justify-content: space-between; margin-bottom: 8px; color: #45535d; font-size: 12px; }
.progress-meta strong { color: var(--blue); }
.progress, .mini-progress { overflow: hidden; height: 7px; border-radius: 8px; background: #e8edec; }
.progress span, .mini-progress span { display: block; height: 100%; border-radius: inherit; background: var(--teal); }
.progress span { width: 33%; }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; margin-top: 25px; padding: 0 18px; border: 0; border-radius: 12px; background: #0e887e; color: #fff; font-weight: 700; cursor: pointer; }
.primary:hover { background: #0e887e; box-shadow: none; }
.access-card { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 34px; background: #e8f2ef; border-left: 1px solid #d8e8e3; }
.access-icon { width: 45px; height: 45px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 9px; background: #fff; color: var(--teal); }
.access-card p { margin: 0 0 3px; color: #45535d; font-size: 12px; }
.access-card strong { color: var(--blue); font-size: 19px; }
.access-card small { margin-top: 18px; color: #45535d; font-size: 12px; }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 48px 0 19px; }
#modules.section-heading > div { display: block; }
#modules.section-heading .eyebrow { margin-bottom: 7px; }
#modules, #results { scroll-margin-top: 24px; }
.section-heading a, .panel-title a { color: #0e887e; font-size: 13px; font-weight: 600; text-decoration: none; }
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.module-card { overflow: hidden; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 16px 38px rgba(32, 52, 75, .12); }
.module-cover { position: relative; min-height: 205px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 24px; overflow: hidden; background: #dceae6 url("module-reuse.jpg") center 47% / cover no-repeat; }
.module-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(8,57,72,.52) 0%, rgba(8,57,72,.08) 55%, rgba(255,255,255,.12) 100%); }
.module-cover strong { position: relative; z-index: 1; color: #fff; font-size: 43px; line-height: 1; font-weight: 500; text-shadow: 0 2px 12px rgba(0,0,0,.22); }
.module-cover > div { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.module-chip { padding: 7px 12px; border-radius: 999px; background: #effaf7; color: #0e887e; box-shadow: 0 7px 16px rgba(32,52,75,.10); font-size: 10px; font-weight: 700; }
.module-chip.required { background: #f3eafb; color: #70409a; }
.module-body { padding: 25px 25px 24px; }
.module-body h3 { font-size: 19px; }
.module-card p { min-height: 48px; margin: 12px 0 22px; color: #45535d; font-size: 14px; }
.module-meta { display: flex; justify-content: space-between; gap: 12px; padding: 17px 0 19px; border-top: 1px solid #d9e0e8; color: #52657b; font-size: 12px; }
.module-action { display: flex; justify-content: center; align-items: center; gap: 18px; min-height: 48px; border-radius: 12px; background: #0e887e; color: #fff; text-decoration: none; font-weight: 700; }
.module-action:hover { background: #0e887e; box-shadow: none; }
.order-panel footer { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; color: #4a5861; font-size: 12px; }
.order-panel footer a { color: var(--teal); font-weight: 600; text-decoration: none; }

.lower-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; margin-top: 38px; }
.results-panel { grid-column: span 2; }
.panel { padding: 26px; border: 0; border-radius: 18px; background: #fff; box-shadow: 0 16px 38px rgba(32, 52, 75, .11); }
.panel-title { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 19px; }
.panel-title h2 { font-size: 19px; }
.result-row { display: grid; grid-template-columns: 39px 1fr auto; align-items: center; gap: 13px; padding: 14px 0; border-top: 1px solid #edf0ef; }
.result-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #e4f2ed; color: var(--teal); font-weight: 700; }
.result-icon.soft { background: #eef2f7; color: var(--blue); }
.result-row strong, .result-row small { display: block; }
.result-row strong { color: var(--blue); font-size: 14px; }
.result-row small { margin-top: 2px; color: #4d5a63; font-size: 12px; }
.result-row b { color: var(--blue); font-size: 15px; }
.result-copy { min-width: 0; }
.result-progress { height: 7px; display: block; overflow: hidden; margin-top: 10px; border-radius: 999px; background: #e8edec; }
.result-progress i { height: 100%; display: block; border-radius: inherit; background: #0e887e; }
.paid { display: inline-block; margin: 3px 0 18px; padding: 5px 8px; border-radius: 4px; background: #e4f2ed; color: var(--teal); font-size: 9px; font-weight: 700; }
.order-panel > strong { display: block; color: var(--blue); font-size: 16px; }
.order-panel > p { margin: 4px 0 25px; color: #4d5a63; font-size: 12px; }
.order-panel footer { padding-top: 18px; border-top: 1px solid #edf0ef; }
.order-panel footer span { color: var(--blue); font-size: 15px; font-weight: 700; }

.study-results { margin-top: 45px; }
.results-heading { margin: 0 0 19px; }
.stats-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 17px; }
.stat-card { min-height: 248px; display: flex; flex-direction: column; justify-content: space-between; padding: 27px; border-radius: 20px; background: #fff; box-shadow: 0 16px 38px rgba(32,52,75,.12); }
.stat-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; font-size: 28px; font-weight: 600; }
.teal-icon { background: #e4f3f0; color: #0e887e; }
.blue-icon { background: #e8eef8; color: #0f3e85; }
.orange-icon { background: #fff0e6; color: #c45b20; }
.stat-icon .material-symbol { width: 26px; height: 26px; font-size: 26px; }
.stat-copy p { margin: 0 0 5px; color: #52657b; font-size: 15px; }
.stat-copy > strong { color: #0f3e85; font-size: 48px; line-height: 1.1; letter-spacing: -.04em; }
.stat-copy > strong small { color: #52657b; font-size: 23px; font-weight: 500; letter-spacing: 0; }
.progress-stat-card { align-items: center; justify-content: center; gap: 18px; text-align: center; }
.progress-ring { --progress: 0%; width: 142px; height: 142px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#0f3e85 var(--progress),#dfe7ef 0); }
.progress-ring::before { content: ""; grid-area: 1/1; width: 105px; height: 105px; border-radius: 50%; background: #fff; }
.progress-ring > div { z-index: 1; grid-area: 1/1; }
.progress-ring strong, .progress-ring span { display: block; }
.progress-ring strong { color: #0f3e85; font-size: 33px; line-height: 1.1; }
.progress-ring span { margin-top: 4px; color: #52657b; font-size: 13px; }
.progress-stat-card > p { margin: 0; color: #52657b; font-size: 14px; }
.access-stat-card .stat-copy > .access-date { display: block; margin-top: 6px; font-size: 29px; letter-spacing: -.025em; }
.access-stat-card a { display: inline-block; margin-top: 15px; color: #0e887e; font-size: 13px; font-weight: 600; text-decoration: none; }
.access-summary-panel { min-height: 250px; display: flex; flex-direction: column; justify-content: space-between; }
.access-summary-panel h2 { margin-bottom: 7px; font-size: 21px; }
.access-summary-panel > div > strong { display: block; color: #0f3e85; font-size: 31px; line-height: 1.2; letter-spacing: -.03em; }
.access-summary-panel a { display: inline-block; margin-top: 18px; color: #0e887e; font-size: 13px; font-weight: 600; text-decoration: none; }

/* Public sales page */
.sales-page { background: #fff; color: #182027; }
.sales-header { position: relative; z-index: 10; min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 16px clamp(26px, 6vw, 92px); background: #fff; border-bottom: 1px solid #e2e7e5; }
.sales-brand { display: flex; align-items: center; gap: 17px; text-decoration: none; }
.sales-brand img { width: 136px; height: auto; }
.sales-brand span { padding-left: 17px; border-left: 1px solid #dfe5e3; color: #4e5b64; font-size: 13px; font-weight: 600; }
.sales-header nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); }
.sales-header nav > a:not(.sales-login) { color: #222; font-size: 1rem; font-weight: 500; letter-spacing: -0.5px; text-decoration: none; }
.sales-header nav > a:hover { color: #0e887e; }
.sales-header .sales-login { min-height: 42px; display: inline-flex; align-items: center; gap: 9px; padding: 0 16px; border-radius: 11px; background: #e7f2ef; color: #0e887e; }
.sales-icon { width: 19px; height: 19px; flex: 0 0 auto; }
.sales-main { width: min(1280px, calc(100% - 80px)); margin: 0 auto; padding: 42px 0 110px; }
.sales-intro { display: block; min-height: 0; overflow: visible; border-radius: 0; background: #fff; }
.sales-intro-copy { display: flex; flex-direction: column; align-items: flex-start; max-width: 900px; padding: 38px 20px 62px; }
.sales-kicker { display: block; margin-bottom: 12px; color: #f46b20; font-size: 13px; font-weight: 600; letter-spacing: .03em; }
.sales-intro h1 { max-width: 620px; margin: 0; color: #0f3e85; font-size: clamp(38px, 4vw, 56px); line-height: 1.08; letter-spacing: -.04em; }
.sales-page .sales-intro .sales-kicker { color: #0e887e; font-size: 16px; font-weight: 700; }
.sales-intro-copy > p { max-width: 590px; margin: 22px 0 0; color: #3f4c55; font-size: 16px; line-height: 1.8; }
.sales-primary { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; margin-top: 29px; padding: 0 21px; border-radius: 11px; background: #0e887e; color: #fff; font-weight: 700; text-decoration: none; }
.sales-primary .sales-icon { width: 18px; height: 18px; }
.sales-intro-visual { position: relative; min-height: 390px; overflow: hidden; border-radius: 22px; }
.sales-intro-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.48) 8%, rgba(6,60,57,.02) 25%, rgba(6,31,43,.1) 100%); }
.sales-intro-visual img, .sales-intro-visual video { width: 100%; height: 100%; display: block; object-fit: cover; }
.sales-trust-card { position: absolute; z-index: 2; right: 26px; bottom: 26px; min-width: 174px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.92); box-shadow: 0 12px 34px rgba(17,42,58,.18); backdrop-filter: blur(10px); }
.sales-trust-card.second { right: 216px; }
.sales-trust-card strong, .sales-trust-card span { display: block; }
.sales-trust-card strong { color: #0f3e85; font-size: 19px; }
.sales-trust-card span { margin-top: 2px; color: #46545d; font-size: 12px; }
.sales-proof { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); align-items: stretch; margin: 34px 0 112px; padding: 25px 0; border-top: 1px solid #dce4e1; border-bottom: 1px solid #dce4e1; color: #182027; }
.sales-proof > div { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 58px; padding: 4px 30px; }
.sales-proof > div + div { border-left: 1px solid #dce4e1; }
.sales-proof > div strong { color: #0f3e85; font-size: 30px; line-height: 1; white-space: nowrap; }
.sales-proof > div span { max-width: 155px; color: #53616b; font-size: 13px; line-height: 1.5; }
.sales-packages-section { padding: 72px 0 58px; border-radius: 0; background: #f6f7f8; box-shadow: 0 0 0 100vmax #f6f7f8; clip-path: inset(0 -100vmax); }
.sales-packages-section, .sales-process, .sales-faq { scroll-margin-top: 20px; }
.sales-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 54px; margin-bottom: 36px; }
.sales-section-heading h2 { max-width: 760px; color: #0f3e85; font-size: clamp(28px, 3.2vw, 42px); }
.sales-section-heading > p { max-width: 520px; margin: 0; color: #4b5861; font-size: 15px; line-height: 1.7; }
.sales-section-heading > p a { color: #0e887e; font-weight: 600; }
.sales-packages-section > .sales-section-heading,
.sales-faq > .sales-section-heading { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); align-items: start; gap: 68px; margin-bottom: 64px; }
.sales-packages-section > .sales-section-heading .sales-kicker,
.sales-faq > .sales-section-heading .sales-kicker { display: none; }
.sales-packages-section > .sales-section-heading h2,
.sales-faq > .sales-section-heading h2 { max-width: 570px; font-size: clamp(36px,4vw,52px); line-height: 1.12; letter-spacing: -.04em; }
.sales-packages-section > .sales-section-heading h2,
.sales-faq > .sales-section-heading h2 { font-size: clamp(31px,3vw,42px); }
.sales-packages-section > .sales-section-heading > p,
.sales-faq > .sales-section-heading > p { max-width: none; min-height: 96px; padding: 6px 0 6px 34px; border-left: 3px solid #b7c0c5; color: #182027; font-size: 18px; line-height: 1.72; }
.sales-package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; align-items: stretch; }
.sales-package-card { position: relative; min-height: 570px; display: flex; flex-direction: column; overflow: hidden; padding: 38px 32px 32px; border-radius: 19px; background: #fff; box-shadow: 0 14px 36px rgba(32,52,75,.09); transition: transform .24s ease, box-shadow .24s ease; }
.sales-package-card.featured { box-shadow: 0 18px 44px rgba(20,62,79,.13); }
.sales-package-card:hover,
.sales-package-card:focus-within { transform: translateY(-7px); box-shadow: 0 24px 54px rgba(25,52,72,.16); }
.sales-package-card:hover .sales-package-action,
.sales-package-card:focus-within .sales-package-action { background: #0b756d; }
.sales-package-card:hover .sales-package-action .sales-icon,
.sales-package-card:focus-within .sales-package-action .sales-icon { transform: translateX(3px); }
.sales-package-topline { display: none; }
.sales-package-topline.orange { background: #f46b20; }
.sales-package-topline.teal { background: #0e887e; }
.sales-package-topline.blue { background: #0f3e85; }
.sales-popular { position: absolute; top: 22px; right: 24px; padding: 7px 11px; border-radius: 999px; background: #e5f3ef; color: #0e887e; font-size: 10px; font-weight: 700; }
.sales-package-card header { padding-top: 18px; }
.sales-package-tag { color: #65727a; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.sales-package-card h3 { margin-top: 12px; color: #0f3e85; font-size: 27px; letter-spacing: -.03em; }
.sales-package-card header { min-height: 100px; }
.sales-package-card ul { display: grid; gap: 15px; margin: 0 0 32px; padding: 27px 0 0; border-top: 1px solid #e5e9e8; list-style: none; }
.sales-package-card li { display: flex; align-items: flex-start; gap: 12px; color: #24323b; font-size: 16px; line-height: 1.55; }
.sales-check-icon { width: 24px; height: 24px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 0; background: transparent; color: #17242d; }
.sales-check-icon svg { width: 20px; height: 20px; stroke-width: 2.6; }
.sales-package-price { margin-top: auto; padding-top: 20px; }
.sales-package-price strong, .sales-package-price span { display: block; }
.sales-package-price strong { color: #17242d; font-size: 38px; line-height: 1.15; letter-spacing: -.04em; }
.sales-package-price span { margin-top: 2px; color: #65727a; font-size: 12px; }
.sales-package-action { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 21px; padding: 0 18px; border-radius: 12px; background: #0e887e; color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.sales-package-action .sales-icon { width: 18px; height: 18px; transition: transform .2s ease; }
.sales-price-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 30px 0 0; color: #5a676f; font-size: 12px; }
.sales-price-note .sales-icon { width: 18px; height: 18px; color: #0e887e; }
.sales-process { margin-top: 112px; padding: 0; background: transparent; }
.sales-section-heading.compact { margin-bottom: 28px; }
.sales-process-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 42px; padding: 34px 0 8px; border-top: 1px solid #dce4e1; }
.sales-process-grid article { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 0; background: transparent; }
.sales-process-grid article > span { color: #f46b20; font-size: 23px; font-weight: 700; line-height: 1.25; }
.sales-process-grid h3 { color: #0f3e85; font-size: 18px; }
.sales-process-grid p { margin: 8px 0 0; color: #4a5861; font-size: 14px; line-height: 1.65; }
.sales-testimonials { margin-top: 112px; padding: clamp(42px, 5vw, 68px); border-radius: 26px; background: #063c39; color: #fff; }
.sales-testimonial-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,.72fr); align-items: end; gap: 30px; margin-bottom: 31px; }
.sales-testimonial-heading .sales-kicker { grid-column: 1 / -1; margin-bottom: -16px; color: #ff8a4a; }
.sales-testimonial-heading h2 { color: #fff; font-size: clamp(30px, 3.5vw, 46px); }
.sales-testimonial-heading p { margin: 0; color: #cce4e0; font-size: 15px; line-height: 1.7; }
.sales-testimonial-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.sales-testimonial-card { min-height: 340px; display: flex; flex-direction: column; padding: 32px; border-radius: 18px; background: #fff; color: #203038; box-shadow: 0 14px 34px rgba(0,0,0,.11); }
.sales-testimonial-card.featured-quote { background: #e3f0ed; }
.quote-mark { height: 45px; color: #f46b20; font: 700 70px/1 Georgia,serif; }
.sales-testimonial-card blockquote { margin: 19px 0 28px; color: #17272d; font-size: 16px; line-height: 1.75; }
.featured-quote blockquote { font-size: 16px; }
.sales-testimonial-card footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-avatar { width: 43px; height: 43px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #063c39; color: #fff; font-size: 12px; font-weight: 700; }
.testimonial-avatar.orange-avatar { background: #f46b20; }
.sales-testimonial-card footer strong, .sales-testimonial-card footer small { display: block; }
.sales-testimonial-card footer strong { color: #0f3e85; font-size: 14px; }
.sales-testimonial-card footer small { margin-top: 1px; color: #65727a; font-size: 11px; }
.testimonial-rating { color: #f46b20; font-size: 16px; letter-spacing: .12em; }
.sales-faq { margin-top: 112px; }
.sales-faq-list { overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 18px 44px rgba(32,52,75,.105); }
.sales-faq-list details + details { border-top: 1px solid #e5e9e8; }
.sales-faq-list summary { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 21px 28px; color: #17242d; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.sales-faq-list summary::-webkit-details-marker { display: none; }
.sales-faq-icon { width: 21px; height: 21px; flex: 0 0 auto; color: #0e887e; transition: transform .2s ease; }
.sales-faq-list details[open] .sales-faq-icon { transform: rotate(45deg); }
.sales-faq-list details p { max-width: 920px; margin: -5px 0 0; padding: 0 68px 27px 28px; color: #4a5861; font-size: 16px; line-height: 1.75; }
.sales-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 42px clamp(26px, 6vw, 92px); background: #063c39; color: #fff; }
.sales-footer img { width: 130px; filter: brightness(0) invert(1); }
.sales-footer p { margin: 12px 0 0; color: #cce4e0; font-size: 13px; }
.sales-footer > div:last-child { display: flex; gap: 26px; }
.sales-footer a { color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; }

@media (max-width: 1060px) {
  .sales-intro { grid-template-columns: 1fr 1fr; }
  .sales-intro-copy { padding: 42px; }
  .sales-intro h1 { font-size: 43px; }
  .sales-trust-card { right: 18px; bottom: 18px; }
  .sales-trust-card.second { right: 18px; bottom: 104px; }
  .sales-proof { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .sales-package-grid { grid-template-columns: 1fr 1fr; }
  .sales-package-card.featured { transform: none; }
  .sales-process-grid { grid-template-columns: 1fr; }
  .sales-testimonial-grid { grid-template-columns: 1fr 1fr; }
  .sales-testimonial-card.featured-quote { grid-column: 1 / -1; min-height: 280px; }
}

@media (max-width: 760px) {
  .sales-header { min-height: 70px; padding: 13px 20px; }
  .sales-brand img { width: 114px; }
  .sales-brand span, .sales-header nav > a:not(.sales-login) { display: none; }
  .sales-header .sales-login { min-height: 39px; padding: 0 12px; font-size: 12px; }
  .sales-main { width: min(100% - 28px, 620px); padding-top: 18px; }
  .sales-intro { grid-template-columns: 1fr; border-radius: 0; }
  .sales-intro-copy { padding: 32px 25px 35px; }
  .sales-intro h1 { font-size: 37px; }
  .sales-intro-copy > p { margin-top: 18px; font-size: 15px; }
  .sales-intro-visual { min-height: 285px; }
  .sales-trust-card { min-width: 145px; padding: 12px 14px; }
  .sales-trust-card.second { right: auto; left: 18px; bottom: 18px; }
  .sales-proof { grid-template-columns: 1fr; margin-bottom: 55px; border-radius: 0 0 17px 17px; }
  .sales-proof > div { min-height: 72px; padding: 16px 23px; }
  .sales-proof > div + div { border-top: 1px solid rgba(255,255,255,.17); border-left: 0; }
  .sales-section-heading { display: block; }
  .sales-section-heading h2 { font-size: 30px; }
  .sales-section-heading > p { margin-top: 13px; }
  .sales-packages-section > .sales-section-heading,
  .sales-faq > .sales-section-heading { display: block; margin-bottom: 40px; }
  .sales-packages-section > .sales-section-heading h2,
  .sales-faq > .sales-section-heading h2 { font-size: 34px; }
  .sales-packages-section > .sales-section-heading > p,
  .sales-faq > .sales-section-heading > p { min-height: 0; margin-top: 22px; padding: 0; border-left: 0; font-size: 16px; }
  .sales-package-grid { grid-template-columns: 1fr; }
  .sales-package-grid { gap: 24px; }
  .sales-packages-section { padding: 44px 0 34px; border-radius: 0; }
  .sales-package-card { min-height: auto; padding: 30px 24px 24px; }
  .sales-package-card header { min-height: 0; }
  .sales-price-note { align-items: flex-start; text-align: left; }
  .sales-process { margin-top: 70px; padding: 0; }
  .sales-process-grid { gap: 27px; padding-top: 28px; }
  .sales-process-grid article { padding: 21px; }
  .sales-testimonials { margin-top: 58px; padding: 30px 20px; }
  .sales-testimonial-heading { display: block; }
  .sales-testimonial-heading .sales-kicker { margin-bottom: 11px; }
  .sales-testimonial-heading p { margin-top: 13px; }
  .sales-testimonial-grid { grid-template-columns: 1fr; }
  .sales-testimonial-card.featured-quote { grid-column: auto; }
  .sales-testimonial-card { min-height: 285px; padding: 24px; }
  .sales-faq { margin-top: 58px; }
  .sales-faq-list summary { min-height: 70px; padding: 18px 20px; font-size: 17px; }
  .sales-faq-list details p { padding: 0 52px 21px 20px; }
  .sales-footer { display: block; padding: 34px 22px; }
  .sales-footer > div:last-child { margin-top: 28px; flex-direction: column; gap: 9px; }
}
@media (max-width:760px){.access-detail{grid-template-columns:1fr}.portal-shell>.main{padding:28px 18px 50px}}

@media (prefers-reduced-motion: reduce) {
  .sales-package-card,
  .sales-package-action .sales-icon { transition: none; }
  .sales-package-card:hover,
  .sales-package-card:focus-within { transform: none; }
}

.orders-overview { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin: 4px 0 42px; }
.orders-overview article { display: flex; align-items: center; gap: 17px; padding: 23px 25px; border-radius: 18px; background: #fff; box-shadow: 0 16px 38px rgba(32,52,75,.09); }
.overview-icon { width: 49px; height: 49px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 14px; }
.overview-icon.green { background: #e5f3ef; color: #0e887e; }
.overview-icon.blue { background: #e9eef8; color: #0f3e85; }
.overview-icon .material-symbol { width: 23px; height: 23px; font-size: 23px; }
.orders-overview small, .orders-overview strong, .orders-overview p { display: block; }
.orders-overview small { margin-bottom: 2px; color: var(--muted); font-size: 11px; }
.orders-overview strong { color: var(--blue); font-size: 16px; }
.orders-overview p { margin: 3px 0 0; color: #53616b; font-size: 12px; }
.orders-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 42px 0 19px; }
.order-filter { display: flex; align-items: center; gap: 9px; color: #53616b; font-size: 11px; }
.order-filter select { min-width: 190px; padding: 10px 34px 10px 12px; border: 1px solid #d7dedd; border-radius: 9px; background: #fff; color: var(--ink); font: 500 11px Poppins, sans-serif; }
.orders-list { display: grid; gap: 0; overflow: hidden; margin-top: 25px; border-radius: 19px; background: #fff; box-shadow: 0 17px 42px rgba(32,52,75,.105); }
.orders-list .customer-order { border-radius: 0; box-shadow: none; }
.orders-list .order-row + .order-row { border-top: 1px solid #e4e9e7; }
.customer-order { overflow: hidden; border-radius: 19px; background: #fff; box-shadow: 0 17px 42px rgba(32,52,75,.105); }
.customer-order-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 13px 20px; border-bottom: 1px solid #e6ebe9; }
.order-number, .customer-order-head small { display: block; }
.order-number { color: var(--blue); font-size: 15px; font-weight: 700; }
.customer-order-head small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.status .material-symbol { width: 15px; height: 15px; font-size: 15px; }
.paid-status { background: #e5f3ef; color: #0e887e; }
.waiting-status { background: #fff0e6; color: #a54e1c; }
.customer-order-body { display: grid; grid-template-columns: minmax(280px,1.1fr) minmax(390px,1fr); gap: 20px; padding: 16px 20px; }
.order-product { display: flex; align-items: center; gap: 14px; }
.product-mark { width: 47px; height: 47px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 13px; background: #e3f2ee; color: #0e887e; font-size: 18px; font-weight: 600; }
.product-mark.orange { background: #fff0e6; color: #c25b20; }
.order-product .eyebrow { margin-bottom: 3px; font-size: 10px; }
.order-product h3 { font-size: 18px; }
.order-product p:last-child { margin: 3px 0 0; color: #53616b; font-size: 13px; }
.order-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 0; }
.order-facts div { padding-left: 13px; border-left: 1px solid #e1e6e4; }
.order-facts dt { color: var(--muted); font-size: 11px; }
.order-facts dd { margin: 4px 0 0; color: var(--ink); font-size: 13px; font-weight: 600; }
.customer-order-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 20px; background: #fafbfb; border-top: 1px solid #edf0ef; }
.customer-order-footer > span { display: flex; align-items: center; gap: 7px; color: #53616b; font-size: 12px; }
.customer-order-footer > span .material-symbol { color: #0e887e; font-size: 17px; }
.customer-order-footer > div { display: flex; gap: 9px; }
.secondary-action, .primary-action { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 0 12px; border-radius: 10px; text-decoration: none; font-size: 12px; font-weight: 600; }
.secondary-action { border: 1px solid #d8dfdd; background: #fff; color: var(--blue); }
.primary-action { appearance: none; border: 0; background: #0e887e; color: #fff; box-shadow: none; }
.primary-action:hover { background: #0e887e; box-shadow: none; }
.primary-action .material-symbol { width: 16px; height: 16px; font-size: 16px; }
.order-row { display: grid; grid-template-columns: minmax(145px,.85fr) minmax(190px,1.2fr) auto auto auto; align-items: center; gap: 22px; padding: 18px 20px; }
.order-identity strong, .order-identity small, .order-package-name strong, .order-package-name small { display: block; }
.order-identity strong { color: var(--blue); font-size: 14px; }
.order-identity small, .order-package-name small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.order-package-name strong { color: var(--ink); font-size: 14px; }
.order-total { color: var(--blue); font-size: 15px; white-space: nowrap; }
.order-row-actions { display: flex; gap: 8px; }

.detail-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; color: #4d5a63; text-decoration: none; font-size: 14px; font-weight: 600; }
.detail-back:hover { color: #0e887e; }
.detail-hero { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
.detail-hero h1 { font-size: clamp(27px,3vw,38px); }
.detail-hero > div > p:last-child { margin: 4px 0 0; color: #53616b; font-size: 15px; }
.detail-hero .status { padding: 9px 14px; font-size: 12px; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(285px,.65fr); align-items: start; gap: 20px; }
.detail-main, .detail-side { display: grid; gap: 18px; }
.detail-side { position: sticky; top: 24px; }
.detail-card { padding: 25px; border-radius: 19px; background: #fff; box-shadow: 0 16px 40px rgba(32,52,75,.095); }
.detail-card-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 22px; }
.detail-card-title h2, .detail-card > h2 { font-size: 20px; }
.detail-card-title > strong { color: var(--blue); font-size: 20px; white-space: nowrap; }
.purchased-card > p { margin: 9px 0 20px; color: #53616b; font-size: 14px; }
.purchased-modules { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.purchased-modules span { padding: 12px; border-radius: 11px; background: #f4f6f6; color: #303b43; font-size: 13px; }
.purchased-modules b { display: block; margin-bottom: 4px; color: #0e887e; font-size: 13px; }
.bank-badge { padding: 7px 10px; border-radius: 999px; background: #e9eef8; color: var(--blue); font-size: 11px; font-weight: 700; }
.payment-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 23px 0 25px; padding: 18px 0; border-top: 1px solid #e8eceb; border-bottom: 1px solid #e8eceb; }
.payment-facts small, .payment-facts strong { display: block; }
.payment-facts small { color: var(--muted); font-size: 12px; }
.payment-facts strong { margin-top: 4px; color: var(--ink); font-size: 14px; }
.payment-log { display: grid; }
.payment-log > div { position: relative; display: grid; grid-template-columns: 18px 1fr; gap: 12px; padding-bottom: 20px; }
.payment-log > div:not(:last-child)::before { content: ""; position: absolute; left: 6px; top: 13px; bottom: 0; width: 2px; background: #dce8e5; }
.payment-log > div > span { position: relative; z-index: 1; width: 14px; height: 14px; margin-top: 3px; border: 3px solid #fff; border-radius: 50%; background: #0e887e; box-shadow: 0 0 0 2px #9fd1cb; }
.payment-log strong, .payment-log small { display: block; }
.payment-log strong { color: var(--blue); font-size: 14px; }
.payment-log p { margin: 3px 0 4px; color: #53616b; font-size: 14px; }
.payment-log small { color: #7a858c; font-size: 12px; }
.billing-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 28px; margin-top: 22px; }
.billing-grid small, .billing-grid strong { display: block; }
.billing-grid small { margin-bottom: 4px; color: var(--muted); font-size: 12px; }
.billing-grid strong { color: var(--ink); font-size: 14px; font-weight: 600; }
.detail-icon { width: 49px; height: 49px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 14px; background: #e3f2ee; color: #0e887e; }
.detail-icon .material-symbol { width: 23px; height: 23px; font-size: 23px; }
.access-detail h2 { color: #0e887e; font-size: 25px; }
.access-detail dl { display: grid; gap: 0; margin: 21px 0; }
.access-detail dl div { display: flex; justify-content: space-between; gap: 15px; padding: 10px 0; border-top: 1px solid #edf0ef; }
.access-detail dt { color: var(--muted); font-size: 12px; }
.access-detail dd { margin: 0; color: var(--ink); font-size: 14px; font-weight: 600; }
.wide-action { width: 100%; }
.document-card h2, .resend-card h2 { margin-bottom: 18px; }
.document-row { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; }
.detail-icon.small { width: 40px; height: 40px; margin: 0; border-radius: 10px; }
.detail-icon.small .material-symbol { width: 19px; height: 19px; font-size: 19px; }
.document-row strong, .document-row small { display: block; }
.document-row strong { color: var(--blue); font-size: 13px; }
.document-row small { color: var(--muted); font-size: 11px; }
.resend-card > p:not(.eyebrow) { margin: -8px 0 17px; color: #53616b; font-size: 14px; }
.resend-card button { cursor: pointer; }

.account-layout { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(300px,.65fr); align-items: start; gap: 20px; margin-top: 30px; }
.account-main, .account-side { display: grid; gap: 18px; }
.account-side { position: sticky; top: 24px; }
.account-card { padding: 26px; border-radius: 19px; background: #fff; box-shadow: 0 16px 40px rgba(32,52,75,.095); }
.account-card-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 23px; }
.account-card-heading h2, .account-card > h2 { font-size: 20px; }
.account-card-heading p:last-child { margin: 7px 0 0; color: #53616b; font-size: 14px; }
.profile-avatar-large { width: 58px; height: 58px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #fceee3; color: #b85f29; font-size: 20px; font-weight: 700; }
.account-heading-icon { width: 45px; height: 45px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 13px; background: #e9eef8; color: var(--blue); }
.account-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 19px; }
.account-form label { display: block; }
.account-form label > span { display: block; margin-bottom: 7px; color: #303b43; font-size: 13px; font-weight: 600; }
.account-form input { width: 100%; min-height: 45px; padding: 0 13px; border: 1px solid #d5dcda; border-radius: 10px; background: #fafbfb; color: var(--ink); font: 14px Poppins,sans-serif; }
.account-form input:focus { outline: 3px solid rgba(14,136,126,.13); border-color: #0e887e; background: #fff; }
.account-form label small { display: block; margin-top: 6px; color: #68757d; font-size: 11px; }
.wide-field { grid-column: 1 / -1; }
.form-actions { display: flex; align-items: end; justify-content: flex-start; }
.password-form { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: end; }
.password-form .form-actions { align-self: end; }
.account-access-card h2 { color: #0e887e; font-size: 25px; }
.account-access-card > p:not(.eyebrow) { margin: 5px 0 18px; color: #53616b; font-size: 14px; }
.account-access-card dl { margin: 0 0 20px; }
.account-access-card dl div { display: flex; justify-content: space-between; gap: 15px; padding: 10px 0; border-top: 1px solid #edf0ef; }
.account-access-card dt { color: var(--muted); font-size: 12px; }
.account-access-card dd { margin: 0; color: var(--ink); font-size: 13px; font-weight: 600; }
.notifications-card > h2 { margin-bottom: 15px; }
.preference { position: relative; display: grid; grid-template-columns: 1fr 39px; align-items: center; gap: 15px; padding: 14px 0; border-top: 1px solid #edf0ef; cursor: pointer; }
.preference strong, .preference small { display: block; }
.preference strong { color: var(--ink); font-size: 13px; }
.preference small { margin-top: 3px; color: #65727a; font-size: 11px; }
.preference input { position: absolute; opacity: 0; }
.preference i { position: relative; width: 39px; height: 22px; border-radius: 12px; background: #ccd4d2; transition: background .2s ease; }
.preference i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.17); transition: transform .2s ease; }
.preference input:checked + i { background: #0e887e; }
.preference input:checked + i::after { transform: translateX(17px); }

.account-hub { overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 16px 40px rgba(32,52,75,.095); }
.account-tabs { border-radius: 0; }
.account-tabs button { min-width: 0; display: flex; flex: 1 1 0; align-items: center; justify-content: center; padding: 0 18px; font-size: 15px; text-align: center; }
.account-tabs button > span { min-width: 21px; height: 21px; display: inline-grid; place-items: center; margin-left: 5px; padding: 0 6px; border-radius: 999px; background: #edf1f0; color: #53616b; font-size: 10px; }
.account-tabs button.active > span { background: #e7f2ef; color: #0e887e; }
.account-hub-content { padding: 34px; }
.account-tab-panel[hidden] { display: none; }
.account-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; margin-bottom: 25px; }
.account-section-heading h2 { font-size: 22px; }
.account-section-heading p { margin: 7px 0 0; color: #53616b; font-size: 14px; }
.account-hub-form { max-width: none; }
.account-hub-form .form-actions.wide-field { margin-top: 4px; padding-top: 19px; border-top: 1px solid #e2e8e6; }
.account-billing-heading { margin-top: 9px; padding-top: 24px; border-top: 1px solid #e2e8e6; }
.account-billing-heading h3 { margin: 0; color: #0f3e85; font-size: 20px; }
.account-billing-heading p { margin: 5px 0 0; color: #53616b; font-size: 14px; }
.account-hub .account-form label > span { font-size: 15px; }
.account-hub .account-form input { min-height: 49px; font-size: 16px; }
.account-hub .account-form label small { font-size: 13px; }
.account-save-button { min-height: 48px; padding: 0 18px; border-radius: 12px; }
.account-orders-list { overflow: hidden; border-radius: 15px; background: #fff; box-shadow: inset 0 0 0 1px #e2e8e6; }
.account-orders-list article { display: grid; grid-template-columns: minmax(145px,.8fr) minmax(190px,1.15fr) auto auto auto; align-items: center; gap: 20px; padding: 18px 20px; }
.account-orders-list article + article { border-top: 1px solid #e2e8e6; }
.account-orders-list article > div > strong, .account-orders-list article > div > small { display: block; }
.account-orders-list article > div:first-child > strong { color: #0f3e85; font-size: 16px; }
.account-orders-list article > div:nth-child(2) > strong { color: #19232b; font-size: 16px; }
.account-orders-list article > div > small { margin-top: 4px; color: #68757d; font-size: 13px; }
.account-order-price { color: #0f3e85; font-size: 17px; white-space: nowrap; }
.account-order-actions { display: flex; gap: 8px; }
.account-access-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; overflow: hidden; max-width: 900px; margin-bottom: 25px; border-radius: 14px; background: #dfe6e4; }
.account-access-summary > div { padding: 22px; background: #f7f9f8; }
.account-access-summary small, .account-access-summary strong { display: block; }
.account-access-summary small { color: #68757d; font-size: 12px; }
.account-access-summary strong { margin-top: 5px; color: #0f3e85; font-size: 18px; }
.account-preferences { max-width: none; }
.account-hub .preference { padding: 18px 0; }
.account-hub .preference strong { font-size: 15px; }
.account-hub .preference small { font-size: 13px; }
.account-hub :is(.secondary-action,.primary-action) { font-size: 14px; }
.account-hub .appearance-options strong { font-size: 18px; }
.account-hub .appearance-options small { font-size: 14px; }

.support-header { align-items: flex-end; }
.new-message-button { flex: 0 0 auto; min-height: 48px; margin: 0; padding: 0 18px; border-radius: 12px; }
.new-message-button .material-symbol { width: 18px; height: 18px; font-size: 18px; }
.support-layout { display: grid; grid-template-columns: minmax(520px,1.55fr) minmax(245px,.55fr); gap: 18px; align-items: start; }
.support-inbox, .support-conversation { overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 17px 42px rgba(32,52,75,.105); }
.support-inbox { position: sticky; top: 24px; }
.support-inbox-title { display: flex; align-items: center; justify-content: space-between; padding: 23px 22px 18px; }
.support-inbox-title .eyebrow { margin-bottom: 4px; }
.support-inbox-title h2 { font-size: 21px; }
.support-inbox-title > span { min-width: 25px; height: 25px; display: grid; place-items: center; border-radius: 999px; background: #e7f2ef; color: #0e887e; font-size: 11px; font-weight: 700; }
.support-thread { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 8px; gap: 12px; align-items: center; padding: 19px 20px; border-top: 1px solid #edf0ef; color: inherit; text-decoration: none; }
.support-thread:hover { background: #f8faf9; }
.support-thread.active { background: #eef6f4; }
.support-thread.active::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: #0e887e; }
.thread-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #0e887e; color: #fff; font-size: 14px; font-style: normal; font-weight: 700; }
.thread-avatar.soft { background: #e9eef8; color: #0f3e85; }
.thread-copy { min-width: 0; }
.thread-copy strong, .thread-copy small, .thread-copy > span { display: block; }
.thread-copy strong { color: #19232b; font-size: 14px; line-height: 1.45; }
.thread-copy small { margin: 5px 0 9px; color: #65727a; font-size: 12px; }
.thread-state { width: max-content; color: #65727a; font-size: 12px; font-weight: 600; }
.thread-state.new-state { color: #0e887e; }
.support-thread > i { width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: #0e887e; }
.support-note { margin: 0; padding: 20px 22px 23px; border-top: 1px solid #edf0ef; color: #53616b; font-size: 13px; line-height: 1.6; }
.conversation-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 27px; border-bottom: 1px solid #e8eceb; }
.conversation-label { display: block; margin-bottom: 4px; color: #0e887e; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.conversation-header h2 { font-size: 22px; }
.open-status { background: #e5f3ef; color: #0e887e; white-space: nowrap; }
.conversation-messages { display: grid; gap: 18px; min-height: 350px; padding: 28px; background: #f8f9f9; }
.message { max-width: 82%; padding: 19px 20px; border-radius: 17px; background: #fff; box-shadow: 0 9px 24px rgba(32,52,75,.075); }
.user-message { justify-self: end; border-bottom-right-radius: 6px; }
.support-message { justify-self: start; border-bottom-left-radius: 6px; }
.unread-message { box-shadow: 0 10px 28px rgba(14,136,126,.12); }
.message-author { display: flex; align-items: center; gap: 10px; }
.message-author .avatar, .message-author .thread-avatar { width: 32px; height: 32px; font-size: 12px; }
.message-author strong, .message-author small { display: block; }
.message-author strong { color: #19232b; font-size: 14px; }
.message-author small { color: #6b777e; font-size: 12px; }
.new-reply { margin-left: auto; padding: 5px 8px; border-radius: 999px; background: #e5f3ef; color: #0e887e; font-size: 11px; font-weight: 700; }
.message p { margin: 14px 0 0; color: #303b43; font-size: 15px; line-height: 1.7; }
.reply-box { padding: 23px 27px 26px; border-top: 1px solid #e8eceb; }
.reply-box > label { display: block; margin-bottom: 8px; color: #303b43; font-size: 14px; font-weight: 600; }
.reply-box textarea { width: 100%; resize: vertical; min-height: 108px; padding: 14px 15px; border: 1px solid #d5dcda; border-radius: 12px; background: #fafbfb; color: var(--ink); font: 14px/1.6 Poppins,sans-serif; }
.reply-box textarea:focus { outline: 3px solid rgba(14,136,126,.13); border-color: #0e887e; background: #fff; }
.reply-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.attachment-button, .send-button { min-height: 48px; padding: 0 18px; border-radius: 12px; font-size: 13px; cursor: pointer; }
.send-button { border: 0; }

.settings-form { display: grid; gap: 0; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 16px 40px rgba(32,52,75,.095); }
.settings-tabs { display: flex; align-items: stretch; gap: 4px; overflow-x: auto; padding: 0 18px; border-bottom: 1px solid #e2e8e6; background: #fff; scrollbar-width: thin; }
.settings-tabs button { position: relative; min-height: 58px; flex: 0 0 auto; padding: 0 15px; border: 0; background: transparent; color: #53616b; font-size: 13px; font-weight: 600; cursor: pointer; }
.settings-tabs button::after { content: ""; position: absolute; right: 14px; bottom: 0; left: 14px; height: 3px; border-radius: 3px 3px 0 0; background: transparent; }
.settings-tabs button:hover { color: #0f3e85; }
.settings-tabs button.active { color: #0f3e85; }
.settings-tabs button.active::after { background: #0e887e; }
.settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; align-items: start; padding: 29px 28px; }
.settings-panel { grid-column: 1 / -1; }
.settings-panel[data-settings-panel="payments"] { grid-column: auto; }
.settings-panel[data-settings-panel="payments"] + .settings-panel[data-settings-panel="payments"] { padding-left: 28px; border-left: 1px solid #e2e8e6; }
.settings-panel[data-settings-panel="payments"]:first-child { padding-right: 28px; }
.settings-panel[hidden] { display: none; }
.settings-card { padding: 0; background: #fff; }
.full-settings-card { grid-column: 1 / -1; }
.settings-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 22px; }
.settings-card-head h2 { font-size: 21px; }
.settings-card-head p:last-child { margin: 6px 0 0; color: #53616b; font-size: 14px; }
.diagnostic-actions{display:flex;align-items:center;gap:12px}.diagnostic-table-wrap{width:100%;overflow:auto;border-top:1px solid #e2e8e6}.diagnostic-table{width:100%;border-collapse:collapse;min-width:820px}.diagnostic-table th,.diagnostic-table td{padding:14px 16px;text-align:left;border-bottom:1px solid #e8edeb;vertical-align:top;font-size:14px}.diagnostic-table th{color:#53616b;font-size:12px;text-transform:uppercase;letter-spacing:.04em}.diagnostic-table td strong,.diagnostic-table td small{display:block}.diagnostic-table td small{margin-top:3px;color:#64727b}.diagnostic-ok{color:#0e887e;font-weight:600}.diagnostic-error{color:#b33a3a;font-weight:600}.diagnostic-empty{text-align:center!important;color:#64727b;padding:32px!important}
.settings-state { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.settings-state.active { background: #e5f3ef; color: #0e887e; }
.settings-fields { display: grid; gap: 17px 19px; }
.settings-fields.two-columns { grid-template-columns: repeat(2,minmax(0,1fr)); }
.settings-fields.three-columns { grid-template-columns: repeat(3,minmax(0,1fr)); }
.settings-fields label > span { display: block; margin-bottom: 7px; color: #303b43; font-size: 13px; font-weight: 600; }
.settings-fields input, .settings-fields select, .settings-fields textarea { width: 100%; min-height: 45px; padding: 0 13px; border: 1px solid #d5dcda; border-radius: 10px; background: #fafbfb; color: var(--ink); font: 14px/1.6 Poppins,sans-serif; }
.settings-fields textarea { min-height: 110px; padding-top: 11px; resize: vertical; }
.settings-fields input:focus, .settings-fields select:focus, .settings-fields textarea:focus { outline: 3px solid rgba(14,136,126,.13); border-color: #0e887e; background: #fff; }
.settings-fields label > small { display: block; margin-top: 6px; color: #68757d; font-size: 11px; }
.setting-switch { display: grid; grid-template-columns: minmax(0,1fr) 43px; align-items: center; gap: 18px; margin-bottom: 21px; padding: 14px 15px; border-radius: 13px; background: #f5f8f7; cursor: pointer; }
.setting-switch strong, .setting-switch small { display: block; }
.setting-switch strong { color: #19232b; font-size: 14px; }
.setting-switch small { margin-top: 2px; color: #627078; font-size: 12px; }
.setting-switch input { position: absolute; opacity: 0; }
.setting-switch i { position: relative; width: 43px; height: 24px; border-radius: 999px; background: #cbd4d2; }
.setting-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.16); transition: transform .2s ease; }
.setting-switch input:checked + i { background: #0e887e; }
.setting-switch input:checked + i::after { transform: translateX(19px); }
.compact-switch { max-width: 520px; margin: 21px 0 0; }
.input-suffix { position: relative; }
.input-suffix input { padding-right: 53px; }
.input-suffix b { position: absolute; top: 11px; right: 13px; color: #65727a; font-size: 12px; font-weight: 500; }
.settings-inline-actions { display: flex; align-items: center; gap: 15px; margin-top: 20px; }
.settings-inline-actions > small { color: #65727a; font-size: 12px; }
.fio-cron-setup { margin-top: 26px; }
.settings-button { min-height: 43px; flex: 0 0 auto; padding: 0 14px; border-radius: 11px; background: #fff; cursor: pointer; }
.reminder-numbers { max-width: 650px; margin: 21px 0 17px; }
.settings-save-row { display: flex; align-items: center; gap: 17px; padding: 19px 28px 22px; border-top: 1px solid #e2e8e6; background: #fbfcfc; }
.settings-save-button { min-height: 48px; padding: 0 20px; border-radius: 12px; font-size: 14px; cursor: pointer; }
.settings-save-row > span { color: #65727a; font-size: 12px; }
.backup-settings-content { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 18px; align-items: start; max-width: 720px; }
.backup-settings-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 10px; background: #e5f3ef; color: #0e887e; }
.backup-settings-content strong { display: block; color: #19232b; font-size: 17px; }
.backup-settings-content p { max-width: 620px; margin: 6px 0 19px; color: #53616b; font-size: 14px; line-height: 1.7; }
.settings-backup-button { display: inline-flex; width: auto; text-decoration: none; }

.header-primary-action { min-height: 48px; margin: 0; padding: 0 18px; border-radius: 12px; font-size: 14px; }
.admin-order-box { overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 16px 40px rgba(32,52,75,.095); }
.admin-order-toolbar { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: stretch; gap: 18px; padding: 0 28px; border-bottom: 1px solid #e4e9e7; }
.order-status-tabs { display: flex; align-items: stretch; gap: 4px; overflow-x: auto; }
.order-status-tabs button { position: relative; min-height: 58px; display: inline-flex; align-items: center; gap: 7px; padding: 0 14px; border: 0; background: transparent; color: #53616b; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.order-status-tabs button::after { content: ""; position: absolute; right: 13px; bottom: 0; left: 13px; height: 3px; border-radius: 3px 3px 0 0; background: transparent; }
.order-status-tabs button:first-child { padding-left: 0; }
.order-status-tabs button:first-child::after { left: 0; }
.order-status-tabs button span { min-width: 21px; height: 21px; display: grid; place-items: center; padding: 0 6px; border-radius: 999px; background: #edf1f0; color: #53616b; font-size: 10px; }
.order-status-tabs button:hover, .order-status-tabs button.active { color: #0f3e85; }
.order-status-tabs button.active::after { background: #0e887e; }
.order-status-tabs button.active span { background: #e7f2ef; color: #0e887e; }
.admin-order-search { display: flex; align-items: center; gap: 8px; }
.admin-order-search input { width: 240px; min-height: 40px; padding: 0 12px; border: 1px solid #d5dcda; border-radius: 10px; background: #fafbfb; color: var(--ink); font: 13px Poppins,sans-serif; }
.admin-order-search .secondary-action { min-height: 40px; }
.admin-order-table-wrap { overflow-x: auto; }
.admin-order-table { width: 100%; min-width: 870px; border-collapse: collapse; }
.admin-order-table th { padding: 14px 28px; background: #f7f9f8; color: #65727a; font-size: 12px; font-weight: 600; text-align: left; }
.admin-order-table td { padding: 18px 28px; border-top: 1px solid #edf0ef; color: #303b43; font-size: 14px; vertical-align: middle; }
.admin-order-table tbody tr:hover { background: #fbfcfc; }
.admin-order-table td > strong, .admin-order-table td > small { display: block; }
.admin-order-table td > strong { color: #19232b; font-size: 14px; }
.admin-order-table td:first-child > strong { color: #0f3e85; }
.admin-order-table td > small { margin-top: 3px; color: #68757d; font-size: 12px; white-space: nowrap; }
.cancelled-status { background: #edf0f2; color: #626e75; }
.table-detail-button { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid #d8dfdd; border-radius: 10px; background: #fff; color: #0f3e85; font-size: 12px; font-weight: 600; text-decoration: none; }
.admin-table-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 28px; border-top: 1px solid #e4e9e7; background: #fbfcfc; }
.admin-table-footer > span { color: #65727a; font-size: 12px; }
.admin-table-footer > div { display: flex; gap: 8px; }
.admin-table-footer .secondary-action { min-height: 38px; }
.admin-table-footer button:disabled { opacity: .45; cursor: not-allowed; }

.package-admin-list { display: grid; gap: 14px; }
.admin-package-card { overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 16px 40px rgba(32,52,75,.095); }
.admin-package-summary { display: grid; grid-template-columns: 58px minmax(0,1fr) auto; align-items: start; gap: 18px; padding: 24px 28px; }
.package-order { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; background: #e7f2ef; color: #0e887e; font-size: 18px; font-weight: 700; }
.package-summary-copy > div:first-child { display: flex; align-items: center; gap: 10px; }
.package-summary-copy h2 { font-size: 20px; }
.package-summary-copy > p { margin: 6px 0 16px; color: #53616b; font-size: 14px; }
.package-state { padding: 5px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; }
.package-state.live { background: #e5f3ef; color: #0e887e; }
.package-state.draft { background: #edf0f2; color: #65727a; }
.package-summary-copy dl { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0; }
.package-summary-copy dl div { min-width: 110px; }
.package-summary-copy dt, .package-summary-copy dd { margin: 0; }
.package-summary-copy dt { color: #68757d; font-size: 12px; }
.package-summary-copy dd { margin-top: 2px; color: #19232b; font-size: 14px; font-weight: 600; }
.package-edit-button { min-height: 40px; padding: 0 14px; }
.package-editor { border-top: 1px solid #e4e9e7; background: #fbfcfc; }
.package-editor-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; padding: 28px; }
.package-editor-columns > section:first-child { padding-right: 28px; }
.package-editor-columns > section + section { padding-left: 28px; border-left: 1px solid #e1e7e5; }
.package-editor h3 { margin-bottom: 18px; color: #0f3e85; font-size: 17px; }
.package-editor label:not(.package-switch) { display: block; margin-top: 14px; }
.package-editor label:not(.package-switch) > span { display: block; margin-bottom: 7px; color: #303b43; font-size: 13px; font-weight: 600; }
.package-editor label span small { color: #718087; font-size: 10px; font-weight: 500; }
.package-editor input:not([type="checkbox"]), .package-editor textarea { width: 100%; min-height: 45px; padding: 0 13px; border: 1px solid #d5dcda; border-radius: 10px; background: #fff; color: var(--ink); font: 14px/1.6 Poppins,sans-serif; }
.package-editor textarea { min-height: 92px; padding-top: 11px; resize: vertical; }
.package-editor input:focus, .package-editor textarea:focus { outline: 3px solid rgba(14,136,126,.13); border-color: #0e887e; }
.package-two-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.package-switch { display: grid; grid-template-columns: 43px 1fr; align-items: center; gap: 12px; margin-top: 17px; padding: 13px; border-radius: 12px; background: #fff; cursor: pointer; }
.package-switch input { position: absolute; opacity: 0; }
.package-switch i { position: relative; width: 43px; height: 24px; border-radius: 999px; background: #cbd4d2; }
.package-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.16); }
.package-switch input:checked + i { background: #0e887e; }
.package-switch input:checked + i::after { transform: translateX(19px); }
.package-switch strong, .package-switch small { display: block; }
.package-switch strong { color: #19232b; font-size: 13px; }
.package-switch small { margin-top: 2px; color: #68757d; font-size: 11px; }
.package-module-picker { padding: 28px; border-top: 1px solid #e1e7e5; }
.package-module-heading p { margin: 4px 0 0; color: #53616b; font-size: 13px; }
.package-module-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; margin-top: 17px; }
.package-module-options label { position: relative; display: block; margin: 0; cursor: pointer; }
.package-module-options input { position: absolute; top: 13px; right: 13px; width: 17px; height: 17px; accent-color: #0e887e; }
.package-module-options label > span { min-height: 108px; display: grid; align-content: center; padding: 15px 40px 15px 15px; border: 1px solid #d8dfdd; border-radius: 13px; background: #fff; }
.package-module-options label.selected > span { border-color: #89c7c0; background: #eff8f6; }
.package-module-options b, .package-module-options strong, .package-module-options small { display: block; }
.package-module-options b { margin-bottom: 5px; color: #0e887e; font-size: 11px; }
.package-module-options strong { color: #19232b; font-size: 13px; }
.package-module-options small { margin-top: 3px; color: #68757d; font-size: 11px; }
.package-editor-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 28px; border-top: 1px solid #e1e7e5; background: #fff; }
.package-editor-footer > div { display: flex; gap: 18px; }
.text-action { padding: 0; border: 0; background: transparent; color: #0f3e85; font-size: 12px; font-weight: 600; cursor: pointer; }
.text-action.danger { color: #b54a3f; }
.package-save-button { min-height: 45px; padding: 0 17px; cursor: pointer; }

.admin-users-header { align-items: flex-end; }
.header-actions { display: flex; align-items: center; gap: 9px; }
.import-button { min-height: 48px; padding: 0 16px; border-radius: 12px; cursor: pointer; }
.admin-users-box { overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 16px 40px rgba(32,52,75,.095); }
.admin-user-filters { display: grid; grid-template-columns: minmax(210px,1.35fr) repeat(3,minmax(135px,.7fr)) auto; gap: 9px; padding: 18px 28px; border-bottom: 1px solid #e4e9e7; background: #fbfcfc; }
.admin-user-filters input, .admin-user-filters select { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid #d5dcda; border-radius: 10px; background: #fff; color: #303b43; font: 13px Poppins,sans-serif; }
.admin-user-filters input:focus, .admin-user-filters select:focus { outline: 3px solid rgba(14,136,126,.12); border-color: #0e887e; }
.admin-user-filters .secondary-action { min-height: 42px; padding: 0 14px; }
.admin-user-table-wrap { overflow-x: auto; }
.admin-user-table { width: 100%; min-width: 830px; border-collapse: collapse; }
.admin-user-table th { padding: 14px 28px; background: #f7f9f8; color: #65727a; font-size: 12px; font-weight: 600; text-align: left; }
.admin-user-table td { padding: 17px 28px; border-top: 1px solid #edf0ef; color: #303b43; font-size: 14px; vertical-align: middle; }
.admin-user-table tbody tr:hover { background: #fbfcfc; }
.admin-user-table td:first-child { display: flex; align-items: center; gap: 11px; }
.admin-user-table td:first-child > span:last-child strong, .admin-user-table td:first-child > span:last-child small { display: block; }
.admin-user-table td:first-child > span:last-child strong { color: #19232b; font-size: 14px; }
.admin-user-table td:first-child > span:last-child small { margin-top: 2px; color: #68757d; font-size: 12px; }
.user-list-avatar { width: 37px; height: 37px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #e5f3ef; color: #0e887e; font-size: 13px; font-weight: 700; }
.user-list-avatar.blue { background: #e8eef8; color: #0f3e85; }
.user-list-avatar.orange { background: #fff0e6; color: #b85f29; }
.user-list-avatar.gray { background: #edf0f2; color: #65727a; }
.users-table-footer > div:first-child span, .users-table-footer > div:first-child small { display: block; }
.users-table-footer > div:first-child span { color: #53616b; font-size: 12px; }
.users-table-footer > div:first-child small { margin-top: 3px; color: #7a858c; font-size: 10px; }
.user-detail-backdrop { position: fixed; inset: 0; z-index: 150; background: rgba(16,29,37,.35); backdrop-filter: blur(2px); }
.user-detail-preview { position: fixed; z-index: 151; inset: 0 0 0 auto; width: min(650px,100%); overflow-y: auto; padding: 28px; background: #fff; box-shadow: -20px 0 55px rgba(23,42,56,.2); }
.user-detail-preview[hidden], .user-detail-backdrop[hidden] { display: none; }
.user-detail-preview > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 21px; border-bottom: 1px solid #e4e9e7; }
.user-detail-preview > header h2 { font-size: 26px; }
.user-detail-preview > header p { margin: 5px 0 0; color: #53616b; font-size: 14px; }
.user-detail-preview > header button { width: 38px; height: 38px; border: 0; border-radius: 10px; background: #f1f4f3; color: #303b43; font-size: 22px; cursor: pointer; }
.user-detail-grid { display: grid; gap: 27px; padding-top: 24px; }
.user-detail-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.user-detail-form label:not(.setting-switch) > span { display: block; margin-bottom: 7px; color: #303b43; font-size: 13px; font-weight: 600; }
.user-detail-form input, .user-detail-form select { width: 100%; min-height: 45px; padding: 0 12px; border: 1px solid #d5dcda; border-radius: 10px; background: #fafbfb; color: #19232b; font: 13px Poppins,sans-serif; }
.user-detail-form .wide { grid-column: 1 / -1; }
.compact-user-switch { grid-column: 1 / -1; max-width: none; margin: 0; }
.user-detail-actions { display: flex; gap: 9px; }
.user-detail-actions .primary-action, .user-detail-actions .secondary-action { min-height: 45px; padding: 0 14px; }
.user-progress { padding-top: 22px; border-top: 1px solid #e4e9e7; }
.user-progress h3 { margin-bottom: 10px; color: #0f3e85; font-size: 18px; }
.user-progress > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 0; border-bottom: 1px solid #edf0ef; }
.user-progress strong, .user-progress small { display: block; }
.user-progress strong { color: #19232b; font-size: 13px; }
.user-progress small { margin-top: 3px; color: #68757d; font-size: 11px; }
.user-progress button { padding: 5px 8px; border: 0; background: transparent; color: #b54a3f; font-size: 11px; font-weight: 600; cursor: pointer; }

.admin-support-box { overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 16px 40px rgba(32,52,75,.095); }
.admin-support-topbar { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: stretch; gap: 18px; padding: 0 28px; border-bottom: 1px solid #e2e8e6; }
.admin-support-tabs { display: flex; align-items: stretch; gap: 4px; overflow-x: auto; }
.admin-support-tabs button { position: relative; min-height: 58px; display: inline-flex; align-items: center; gap: 7px; padding: 0 14px; border: 0; background: transparent; color: #53616b; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.admin-support-tabs button::after { content: ""; position: absolute; right: 13px; bottom: 0; left: 13px; height: 3px; border-radius: 3px 3px 0 0; background: transparent; }
.admin-support-tabs button:first-child { padding-left: 0; }
.admin-support-tabs button:first-child::after { left: 0; }
.admin-support-tabs button span { min-width: 21px; height: 21px; display: grid; place-items: center; padding: 0 6px; border-radius: 999px; background: #edf1f0; color: #53616b; font-size: 10px; }
.admin-support-tabs button:hover, .admin-support-tabs button.active { color: #0f3e85; }
.admin-support-tabs button.active::after { background: #0e887e; }
.admin-support-tabs button.active span { background: #e7f2ef; color: #0e887e; }
.admin-support-search { display: flex; align-items: center; gap: 8px; }
.admin-support-search input { width: 250px; min-height: 40px; padding: 0 12px; border: 1px solid #d5dcda; border-radius: 10px; background: #fafbfb; color: #19232b; font: 13px Poppins,sans-serif; }
.admin-support-search .secondary-action { min-height: 40px; }
.admin-support-workspace { display: grid; grid-template-columns: minmax(280px,.55fr) minmax(500px,1.45fr); min-height: 650px; }
.admin-ticket-list { border-right: 1px solid #e2e8e6; background: #fbfcfc; }
.admin-ticket { width: 100%; display: block; padding: 21px 28px; border: 0; border-bottom: 1px solid #e7ebe9; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.admin-ticket:hover { background: #f5f8f7; }
.admin-ticket.active { background: #eef6f4; box-shadow: inset 4px 0 #0e887e; }
.ticket-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ticket-head strong { color: #19232b; font-size: 15px; line-height: 1.45; }
.ticket-head i { width: 8px; height: 8px; flex: 0 0 auto; margin-top: 6px; border-radius: 50%; background: #0e887e; }
.ticket-user { display: block; margin-top: 5px; color: #0f3e85; font-size: 13px; font-weight: 600; }
.ticket-meta { display: flex; align-items: center; gap: 9px; margin-top: 12px; }
.ticket-meta b { padding: 5px 8px; border-radius: 999px; background: #e5f3ef; color: #0e887e; font-size: 11px; }
.ticket-meta.waiting b { background: #fff0e6; color: #a54e1c; }
.ticket-meta.solved b { background: #edf0f2; color: #65727a; }
.ticket-meta small { color: #68757d; font-size: 12px; }
.admin-ticket-detail { min-width: 0; }
.admin-ticket-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; padding: 28px; border-bottom: 1px solid #e7ebe9; }
.admin-ticket-detail-head > div:first-child > span { display: block; margin-bottom: 5px; color: #0e887e; font-size: 12px; font-weight: 700; }
.admin-ticket-detail-head h2 { font-size: 23px; }
.admin-ticket-detail-head p { margin: 6px 0 0; color: #53616b; font-size: 14px; }
.admin-ticket-detail-head > div:last-child { display: flex; gap: 8px; }
.mobile-ticket-back { display: none; }
.admin-ticket-detail-head .secondary-action, .resolve-button { min-height: 42px; padding: 0 13px; white-space: nowrap; }
.ticket-context { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; background: #e4e9e7; border-bottom: 1px solid #e4e9e7; }
.ticket-context > span { padding: 16px 28px; background: #f8faf9; }
.ticket-context small, .ticket-context strong { display: block; }
.ticket-context small { color: #68757d; font-size: 12px; }
.ticket-context strong { margin-top: 4px; color: #19232b; font-size: 14px; }
.admin-ticket-messages { display: grid; gap: 17px; min-height: 330px; padding: 28px; background: #f7f9f8; }
.admin-ticket-messages .message { font-size: 15px; }
.admin-reply-box { padding: 24px 28px 28px; border-top: 1px solid #e2e8e6; }
.admin-reply-box > label { display: block; margin-bottom: 8px; color: #303b43; font-size: 14px; font-weight: 600; }
.admin-reply-box textarea { width: 100%; min-height: 100px; resize: vertical; padding: 13px 14px; border: 1px solid #d5dcda; border-radius: 12px; background: #fafbfb; color: #19232b; font: 14px/1.6 Poppins,sans-serif; }
.admin-reply-box textarea:focus { outline: 3px solid rgba(14,136,126,.12); border-color: #0e887e; background: #fff; }
.admin-reply-box > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 11px; }
.admin-reply-box .secondary-action, .admin-reply-box .primary-action { min-height: 43px; padding: 0 14px; }

/* Jednotné vnitřní odsazení hlavních panelů na desktopu. */
.continue-study-card { padding-right: 28px; padding-left: 28px; }
.module-body { padding: 28px; }
.panel { padding: 28px; }
.order-row { padding-right: 28px; padding-left: 28px; }
.customer-order-head, .customer-order-body, .customer-order-footer { padding-right: 28px; padding-left: 28px; }
.detail-card { padding: 28px; }
.account-card { padding: 28px; }
.account-hub-content { padding: 28px; }
.appearance-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.appearance-options > button { min-height: 190px; display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border: 1px solid #dce3e1; border-radius: 17px; background: #f8faf9; color: var(--ink); text-align: left; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.appearance-options > button:hover { transform: translateY(-2px); border-color: #9bcac4; box-shadow: 0 12px 28px rgba(32,52,75,.09); }
.appearance-options > button.active { border-color: #0e887e; box-shadow: inset 0 0 0 2px #0e887e; background: #edf7f4; }
.appearance-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 13px; background: #e5f3ef; color: #0e887e; }
.appearance-icon svg { width: 25px; height: 25px; }
.appearance-options strong, .appearance-options small { display: block; }
.appearance-options strong { color: #0f3e85; font-size: 17px; }
.appearance-options small { margin-top: 7px; color: #53616b; font-size: 12px; line-height: 1.55; }

/* Dark portal theme */
html[data-theme="dark"] {
  color-scheme: dark;
  --blue: #91baff;
  --teal: #39b7aa;
  --orange: #ff935b;
  --ink: #f0f2f4;
  --muted: #aab2b8;
  --line: #383e44;
  --surface: #1d2023;
  --canvas: #121416;
  --mint: #272c30;
}
html[data-theme="dark"] body:not(.sales-page) { background: var(--canvas); color: var(--ink); }
html[data-theme="dark"] body:not(.sales-page) .sidebar,
html[data-theme="dark"] body:not(.sales-page) .mobile-topbar { background: #17191c; border-color: #353a3f; }
html[data-theme="dark"] body:not(.sales-page) .brand img,
html[data-theme="dark"] body:not(.sales-page) .mobile-topbar img { filter: brightness(0) invert(1); }
html[data-theme="dark"] body:not(.sales-page) .brand span,
html[data-theme="dark"] body:not(.sales-page) .nav-label,
html[data-theme="dark"] body:not(.sales-page) .profile small { color: #9ea7ad; }
html[data-theme="dark"] body:not(.sales-page) .nav-item,
html[data-theme="dark"] body:not(.sales-page) .theme-toggle { color: #dde2e6; }
html[data-theme="dark"] body:not(.sales-page) .nav-item:hover,
html[data-theme="dark"] body:not(.sales-page) .theme-toggle:hover { background: #23272b; color: #61d0c2; }
html[data-theme="dark"] body:not(.sales-page) .nav-item.active { background: #272c30; color: #65d1c4; }
html[data-theme="dark"] body:not(.sales-page) .admin-menu,
html[data-theme="dark"] body:not(.sales-page) .profile { border-color: #353a3f; }
html[data-theme="dark"] body:not(.sales-page) .profile-button { background: #1d2023; border-color: #383e44; color: #f0f2f4; }
html[data-theme="dark"] body:not(.sales-page) .avatar,
html[data-theme="dark"] body:not(.sales-page) .profile-avatar-large { background: #342923; color: #ffad7f; }
html[data-theme="dark"] body:not(.sales-page) .content p,
html[data-theme="dark"] body:not(.sales-page) .content small,
html[data-theme="dark"] body:not(.sales-page) .content dt { color: #aab2b8; }
html[data-theme="dark"] body:not(.sales-page) .content h1,
html[data-theme="dark"] body:not(.sales-page) .content h2,
html[data-theme="dark"] body:not(.sales-page) .content h3 { color: #f5f7f8; }
html[data-theme="dark"] body:not(.sales-page) .content strong,
html[data-theme="dark"] body:not(.sales-page) .content b { color: #f0f2f4; }
html[data-theme="dark"] body:not(.sales-page) :is(.continue-study-card,.continue-card,.module-card,.panel,.stat-card,.orders-overview article,.orders-list,.customer-order,.detail-card,.account-card,.account-hub,.account-orders-list,.support-inbox,.support-conversation,.settings-form,.settings-tabs,.settings-card,.admin-order-box,.admin-package-card,.admin-users-box,.admin-support-box,.user-detail-preview) { background: #1d2023; box-shadow: 0 16px 38px rgba(0,0,0,.22); }
html[data-theme="dark"] body:not(.sales-page) :is(.access-card,.account-access-summary > div,.setting-switch,.purchased-modules span,.user-detail-preview > header button) { background: #24282c; border-color: #383e44; color: #dce2e6; }
html[data-theme="dark"] body:not(.sales-page) :is(.customer-order-footer,.settings-save-row,.package-editor,.package-editor-footer,.admin-table-footer,.admin-user-filters,.admin-ticket-list,.ticket-context > span,.conversation-messages,.admin-ticket-messages) { background: #181b1e; border-color: #353a3f; }
html[data-theme="dark"] body:not(.sales-page) :is(.support-thread:hover,.admin-ticket:hover,.admin-order-table tbody tr:hover,.admin-user-table tbody tr:hover) { background: #23272b; }
html[data-theme="dark"] body:not(.sales-page) :is(.admin-order-table th,.admin-user-table th) { background: #23272b; color: #aab2b8; }
html[data-theme="dark"] body:not(.sales-page) :is(.admin-order-table td,.admin-user-table td,.admin-order-table th,.admin-user-table th,.order-row,.support-thread,.admin-ticket,.settings-tabs,.settings-save-row,.package-editor,.package-editor-footer,.customer-order-head,.customer-order-footer,.result-row,.module-meta) { border-color: #353a3f; }
html[data-theme="dark"] body:not(.sales-page) :is(.admin-order-toolbar,.admin-support-topbar,.settings-panel[data-settings-panel="payments"] + .settings-panel[data-settings-panel="payments"],.package-editor-columns > section + section,.package-module-picker,.user-detail-preview > header,.user-progress,.user-progress > div,.admin-ticket-detail-head,.admin-reply-box,.account-orders-list article + article,.preference,.access-detail dl div,.account-access-card dl div) { border-color: #3a3f44; }
html[data-theme="dark"] body:not(.sales-page) :is(.settings-tabs button,.order-status-tabs button,.admin-support-tabs button) { color: #c5ccd0; }
html[data-theme="dark"] body:not(.sales-page) :is(.settings-tabs button:hover,.settings-tabs button.active,.order-status-tabs button:hover,.order-status-tabs button.active,.admin-support-tabs button:hover,.admin-support-tabs button.active) { color: #ffffff; }
html[data-theme="dark"] body:not(.sales-page) :is(.order-status-tabs button span,.admin-support-tabs button span,.account-tabs button > span) { background: #2b3034; color: #c5ccd0; }
html[data-theme="dark"] body:not(.sales-page) :is(.order-status-tabs button.active span,.admin-support-tabs button.active span,.account-tabs button.active > span) { background: #2b3332; color: #72d8cc; }
html[data-theme="dark"] body:not(.sales-page) :is(input:not([type="checkbox"]),select,textarea) { background: #141619 !important; border-color: #3d4349 !important; color: #f0f2f4 !important; }
html[data-theme="dark"] body:not(.sales-page) :is(input:not([type="checkbox"]),select,textarea):focus { background: #181b1e !important; border-color: #39b7aa !important; outline-color: rgba(57,183,170,.18) !important; }
html[data-theme="dark"] body:not(.sales-page) :is(.settings-fields label > span,.account-form label > span,.package-editor label > span,.user-detail-form label > span,.admin-reply-box > label,.reply-box > label) { color: #dce1e4; }
html[data-theme="dark"] body:not(.sales-page) .account-hub-form .form-actions.wide-field { border-color: #353a3f; }
html[data-theme="dark"] body:not(.sales-page) .account-billing-heading { border-color: #353a3f; }
html[data-theme="dark"] body:not(.sales-page) .account-billing-heading h3 { color: #fff; }
html[data-theme="dark"] body:not(.sales-page) :is(.settings-fields label > small,.account-form label small,.package-editor label small,.user-detail-form label small) { color: #9fa8ae; }
html[data-theme="dark"] body:not(.sales-page) :is(input,textarea)::placeholder { color: #7f898f; opacity: 1; }
html[data-theme="dark"] body:not(.sales-page) :is(.secondary-action,.table-detail-button,.settings-button) { background: #23272b; border-color: #3b4d48; color: #a9c8ff; }
html[data-theme="dark"] body:not(.sales-page) .message { background: #23272b; box-shadow: 0 9px 24px rgba(0,0,0,.17); }
html[data-theme="dark"] body:not(.sales-page) .message.mine { background: #272c30; }
html[data-theme="dark"] body:not(.sales-page) :is(.progress,.mini-progress,.result-progress) { background: #30353a; }
html[data-theme="dark"] body:not(.sales-page) .progress-ring { background: conic-gradient(#91baff var(--progress),#30353a 0); }
html[data-theme="dark"] body:not(.sales-page) .progress-ring::before { background: #1d2023; }
html[data-theme="dark"] body:not(.sales-page) :is(.teal-icon,.access-icon,.result-icon,.overview-icon.green) { background: #272c30; color: #58c9bb; }
html[data-theme="dark"] body:not(.sales-page) :is(.blue-icon,.result-icon.soft,.overview-icon.blue) { background: #233148; color: #91baff; }
html[data-theme="dark"] body:not(.sales-page) .orange-icon { background: #342923; color: #ff9d68; }
html[data-theme="dark"] body:not(.sales-page) .paid-status,
html[data-theme="dark"] body:not(.sales-page) .settings-state.active { background: #272c30; color: #6ed9cb; }
html[data-theme="dark"] body:not(.sales-page) .backup-settings-icon { background: #272c30; color: #6ed9cb; }
html[data-theme="dark"] body:not(.sales-page) .backup-settings-content strong { color: #fff; }
html[data-theme="dark"] body:not(.sales-page) .backup-settings-content p { color: #b7c0c5; }
html[data-theme="dark"] body:not(.sales-page) .waiting-status { background: #453020; color: #ffbb88; }
html[data-theme="dark"] body:not(.sales-page) .admin-ticket-list { background: #181b1e; border-color: #3a3f44; }
html[data-theme="dark"] body:not(.sales-page) .admin-ticket { border-color: #353a3f; color: #e7ebed; }
html[data-theme="dark"] body:not(.sales-page) .admin-ticket:hover { background: #23272b; }
html[data-theme="dark"] body:not(.sales-page) .admin-ticket.active { background: #292e32; box-shadow: inset 4px 0 #39b7aa; }
html[data-theme="dark"] body:not(.sales-page) .ticket-head strong { color: #f4f6f7; }
html[data-theme="dark"] body:not(.sales-page) .ticket-user { color: #b8ceff; }
html[data-theme="dark"] body:not(.sales-page) .ticket-meta b { background: #293432; color: #79d8cc; }
html[data-theme="dark"] body:not(.sales-page) .ticket-meta.waiting b { background: #3b3028; color: #ffc091; }
html[data-theme="dark"] body:not(.sales-page) .ticket-meta.solved b { background: #303438; color: #d2d7da; }
html[data-theme="dark"] body:not(.sales-page) .ticket-meta small { color: #9fa8ae; }
html[data-theme="dark"] body:not(.sales-page) .admin-ticket-detail { background: #1d2023; }
html[data-theme="dark"] body:not(.sales-page) .admin-ticket-detail-head { border-color: #3a3f44; }
html[data-theme="dark"] body:not(.sales-page) .admin-ticket-messages { background: #181b1e; }
html[data-theme="dark"] body:not(.sales-page) .admin-ticket-messages .message { background: #25292d; }
html[data-theme="dark"] body:not(.sales-page) .admin-ticket-messages .support-message { background: #292e32; }
html[data-theme="dark"] body:not(.sales-page) .message-author strong { color: #f4f6f7; }
html[data-theme="dark"] body:not(.sales-page) .message-author small { color: #9fa8ae; }
html[data-theme="dark"] body:not(.sales-page) .message p { color: #d9dee1; }
html[data-theme="dark"] body:not(.sales-page) .new-reply { background: #293432; color: #79d8cc; }
html[data-theme="dark"] body:not(.sales-page) .appearance-options > button { background: #181b1e; border-color: #383e44; color: #f0f2f4; }
html[data-theme="dark"] body:not(.sales-page) .appearance-options > button.active { background: #272c30; border-color: #39b7aa; box-shadow: inset 0 0 0 2px #39b7aa; }
html[data-theme="dark"] body:not(.sales-page) .appearance-icon { background: #2a3034; color: #67d4c6; }
html[data-theme="dark"] body:not(.sales-page) .appearance-options strong { color: #a9c8ff; }
html[data-theme="dark"] body:not(.sales-page) .appearance-options small { color: #aab2b8; }
html[data-theme="dark"] body:not(.sales-page) .count { background: #443022; color: #ffb27e; }
html[data-theme="dark"] body:not(.sales-page) .count.unread { background: #0e887e; color: #fff; }
html[data-theme="dark"] body:not(.sales-page) .mobile-menu-button,
html[data-theme="dark"] body:not(.sales-page) .profile button { background: #23272b; color: #dce2e6; }
html[data-theme="dark"] body:not(.sales-page) .mobile-menu-button span { background: #edf0f2; }

/* Softer type hierarchy across the portal and sales flow. */
:is(button,.btn,.button,.primary-action,.secondary-action,.table-detail-button,.shop-button,.sales-cta,.package-cta,.checkout-submit){font-weight:600!important}
:is(strong,b){font-weight:600}
:is(.eyebrow,.sales-kicker,.badge,.status,.question-label){font-weight:700!important}
.support-inbox-title { padding-right: 28px; padding-left: 28px; }
.support-thread { padding-right: 28px; padding-left: 28px; }
.support-note { padding-right: 28px; padding-left: 28px; }
.conversation-header { padding-right: 28px; padding-left: 28px; }
.conversation-messages { padding-right: 28px; padding-left: 28px; }
.reply-box { padding-right: 28px; padding-left: 28px; }
.admin-order-toolbar, .admin-user-filters, .admin-support-topbar { padding-right: 28px; padding-left: 28px; }
.admin-order-table th, .admin-order-table td, .admin-user-table th, .admin-user-table td { padding-right: 28px; padding-left: 28px; }
.admin-table-footer, .admin-package-summary, .package-editor-columns, .package-module-picker, .package-editor-footer { padding-right: 28px; padding-left: 28px; }
.settings-grid, .settings-save-row, .admin-ticket, .admin-ticket-detail-head, .ticket-context > span, .admin-ticket-messages, .admin-reply-box { padding-right: 28px; padding-left: 28px; }

@media (min-width: 761px) and (max-width: 1100px) {
  .portal-shell { grid-template-columns: 78px minmax(0, 1fr); }
  .sidebar { padding: 22px 11px 16px; overflow: visible; }
  .brand { align-items: center; min-height: 54px; padding: 0 0 26px; overflow: hidden; }
  .brand img,
  .brand span { display: none; }
  .brand::before { content: ""; display: block; width: 44px; height: 44px; background: url('/reuse-logo-mark.png') center / contain no-repeat; }
  .navigation { gap: 15px; }
  .nav-label,
  .admin-heading { display: none; }
  .navigation section { justify-items: center; }
  .nav-item { display: grid; grid-template-columns: 1fr; place-items: center; width: 46px; height: 40px; min-height: 40px; padding: 0; }
  .nav-item > span:not(.material-symbol),
  .nav-item > b,
  .nav-item .external { display: none; }
  .nav-item > .material-symbol:first-child { width: 22px; height: 22px; font-size: 22px; }
  .admin-menu { padding-top: 20px; }
  .sidebar-footer { padding-top: 34px; }
  .theme-toggle { width: 46px; min-height: 40px; justify-content: center; margin: 0 auto 9px; padding: 0; }
  .theme-toggle [data-theme-label] { display: none; }
  .profile { display: flex; flex-direction: column; gap: 9px; padding: 16px 0 0; }
  .profile > span:nth-child(2) { display: none; }
  .profile button { border-radius: 7px; background: #f3f6f5; }
  .content { padding-left: 32px; padding-right: 32px; }
  .learning-hero { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .welcome-video-card { grid-column: span 1; }
  .welcome-video-card, .welcome-video-card video, .continue-study-card { min-height: 350px; }
  .module-grid { grid-template-columns: 1fr 1fr; }
  .module-cover { min-height: 180px; }
  .module-card:last-child { display: none; }
  .lower-grid { grid-template-columns: 1fr; }
  .results-panel { grid-column: auto; }
  .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .customer-order-body { grid-template-columns: 1fr; }
  .order-row { grid-template-columns: 1fr 1fr auto; gap: 15px; }
  .order-row .status { justify-self: end; }
  .order-total { grid-column: 1; }
  .order-row-actions { grid-column: 2 / -1; justify-content: flex-end; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .resend-card { grid-column: 1 / -1; }
  .account-layout { grid-template-columns: 1fr; }
  .account-side { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .password-form { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .account-orders-list article { grid-template-columns: 1fr 1fr auto; gap: 14px; }
  .account-order-price { grid-column: 1; }
  .account-order-actions { grid-column: 2 / -1; justify-content: flex-end; }
  .settings-fields.three-columns { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-order-toolbar { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .order-status-tabs { padding: 0 16px; }
  .admin-order-search { padding: 14px 18px; border-top: 1px solid #e4e9e7; }
  .admin-order-search input { width: 100%; }
  .admin-user-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-user-filters .wide-filter { grid-column: 1 / -1; }
  .admin-support-topbar { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .admin-support-tabs { padding: 0 16px; }
  .admin-support-search { padding: 14px 18px; border-top: 1px solid #e2e8e6; }
  .admin-support-search input { width: 100%; }
  .admin-support-workspace { grid-template-columns: minmax(260px,.72fr) minmax(0,1.28fr); }
  .admin-ticket-detail-head { align-items: stretch; flex-direction: column; }
  .package-module-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .support-layout { grid-template-columns: minmax(0,1.45fr) minmax(225px,.55fr); }
  .message { max-width: 94%; }
}

@media (max-width: 760px) {
  .portal-shell { display: block; }
  .mobile-menu-toggle { position: fixed; opacity: 0; pointer-events: none; }
  .mobile-topbar { position: fixed; inset: 0 0 auto 0; z-index: 110; height: 64px; display: flex; align-items: center; gap: 16px; padding: 0 16px; background: rgba(255,255,255,.96); border-bottom: 1px solid #e2e7e5; box-shadow: 0 5px 18px rgba(32,52,75,.07); backdrop-filter: blur(12px); }
  .mobile-topbar::after { content: ""; width: 38px; height: 38px; margin-left: auto; background: url('/reuse-logo-mark.png') center / contain no-repeat; }
  .mobile-topbar > a { display: flex; align-items: center; }
  .mobile-topbar img { display: block; width: 105px; height: auto; }
  .mobile-menu-button { width: 40px; height: 40px; display: grid; align-content: center; justify-items: center; gap: 5px; flex: 0 0 auto; border-radius: 10px; background: #f1f4f3; cursor: pointer; }
  .mobile-menu-button span { width: 20px; height: 2px; display: block; border-radius: 2px; background: #15212a; transition: transform .22s ease, opacity .18s ease; }
  .mobile-menu-backdrop { position: fixed; inset: 0; z-index: 98; display: block; background: rgba(18,28,34,.45); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
  .sidebar { position: fixed; inset: 0 auto 0 0; z-index: 100; width: min(310px, 86vw); height: 100vh; padding: 78px 18px 18px; transform: translateX(-105%); transition: transform .28s ease; box-shadow: 18px 0 45px rgba(20,34,43,.16); }
  .mobile-menu-toggle:checked ~ .sidebar { transform: translateX(0); }
  .mobile-menu-toggle:checked ~ .mobile-menu-backdrop { opacity: 1; pointer-events: auto; }
  .mobile-menu-toggle:checked ~ .mobile-topbar .mobile-menu-button span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-menu-toggle:checked ~ .mobile-topbar .mobile-menu-button span:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle:checked ~ .mobile-topbar .mobile-menu-button span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .sidebar > .brand { display: none; }
  .navigation { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .navigation section { display: grid; gap: 2px; }
  .nav-label, .admin-heading, .sidebar-footer { display: flex; }
  .admin-heading { justify-content: space-between; }
  .nav-item { display: grid; grid-template-columns: 22px minmax(0,1fr) auto; justify-content: initial; min-height: 42px; padding: 0 12px; font-size: 14px; }
  .nav-item .material-symbol { display: inline-block; }
  .sidebar-footer { display: block; }
  .content { padding: 92px 15px 50px; }
  #modules, #results { scroll-margin-top: 82px; }
  .content-header { align-items: flex-start; }
  .profile-button { display: none; }
  .learning-hero { grid-template-columns: 1fr; }
  .welcome-video-card { grid-column: auto; }
  .welcome-video-card, .welcome-video-card video { min-height: 230px; }
  .continue-study-card { min-height: 310px; }
  .continue-study-card, .module-body, .panel { padding-right: 20px; padding-left: 20px; }
  .continue-card { grid-template-columns: 1fr; }
  .access-card { border-left: 0; border-top: 1px solid #d8e8e3; }
  .module-grid { grid-template-columns: 1fr; }
  .module-card:last-child { display: block; }
  .lower-grid { grid-template-columns: 1fr; }
  .results-panel { grid-column: auto; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { min-height: 220px; }
  .orders-overview { grid-template-columns: 1fr; }
  .orders-heading, .customer-order-head, .customer-order-footer { align-items: flex-start; flex-direction: column; }
  .order-filter { width: 100%; justify-content: space-between; }
  .order-filter select { min-width: 0; flex: 1; }
  .customer-order-body { grid-template-columns: 1fr; padding: 22px 18px; }
  .order-facts { grid-template-columns: 1fr; gap: 12px; }
  .customer-order-footer { padding: 18px; }
  .customer-order-footer > div { width: 100%; flex-wrap: wrap; }
  .order-row { grid-template-columns: 1fr auto; gap: 14px; padding: 17px 16px; }
  .order-package-name { grid-column: 1 / -1; }
  .order-row .status { grid-column: 2; grid-row: 1; }
  .order-total { grid-column: 1; }
  .order-row-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .detail-hero { align-items: flex-start; flex-direction: column; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-side { display: grid; grid-template-columns: 1fr; }
  .purchased-modules, .payment-facts, .billing-grid { grid-template-columns: 1fr; }
  .detail-card { padding: 21px 18px; }
  .detail-card-title { align-items: flex-start; flex-direction: column; gap: 8px; }
  .account-layout { grid-template-columns: 1fr; }
  .account-side { position: static; grid-template-columns: 1fr; }
  .account-form, .password-form { grid-template-columns: 1fr; }
  .wide-field { grid-column: auto; }
  .account-card { padding: 21px 18px; }
  .account-hub-content { padding: 22px 17px; }
  .account-tabs { padding: 0 8px; }
  .account-orders-list article { grid-template-columns: 1fr auto; gap: 13px; padding: 17px 15px; }
  .account-orders-list article > div:nth-child(2) { grid-column: 1 / -1; }
  .account-orders-list article .status { grid-column: 2; grid-row: 1; }
  .account-order-price { grid-column: 1; }
  .account-order-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .account-access-summary { grid-template-columns: 1fr; }
  .appearance-options { grid-template-columns: 1fr; }
  .appearance-options > button { min-height: 150px; }
  .settings-grid { grid-template-columns: 1fr; }
  .full-settings-card { grid-column: auto; }
  .settings-grid { padding: 22px 18px; }
  .settings-card { padding: 0; }
  .settings-panel[data-settings-panel="payments"] { grid-column: auto; }
  .settings-panel[data-settings-panel="payments"]:first-child { padding: 0 0 23px; }
  .settings-panel[data-settings-panel="payments"] + .settings-panel[data-settings-panel="payments"] { padding: 23px 0 0; border-top: 1px solid #e2e8e6; border-left: 0; }
  .settings-fields.two-columns, .settings-fields.three-columns { grid-template-columns: 1fr; }
  .settings-card-head, .settings-inline-actions, .settings-save-row { align-items: flex-start; flex-direction: column; }
  .settings-save-row { padding: 18px; }
  .settings-inline-actions, .settings-button, .settings-save-button { width: 100%; }
  .admin-order-toolbar { padding: 0; }
  .order-status-tabs { padding: 0 8px; }
  .admin-order-search { padding: 14px; }
  .admin-users-header { align-items: flex-start; flex-direction: column; }
  .header-actions { width: 100%; }
  .header-actions > * { flex: 1; }
  .admin-user-filters { grid-template-columns: 1fr; padding: 14px; }
  .admin-user-filters .wide-filter { grid-column: auto; }
  .admin-user-table { min-width: 0; }
  .admin-user-table thead { display: none; }
  .admin-user-table, .admin-user-table tbody, .admin-user-table tr, .admin-user-table td { display: block; width: 100%; }
  .admin-user-table tr { padding: 14px 16px; border-top: 1px solid #e4e9e7; }
  .admin-user-table td { display: grid; grid-template-columns: 105px minmax(0,1fr); gap: 12px; padding: 7px 0; border: 0; }
  .admin-user-table td::before { content: attr(data-label); color: #68757d; font-size: 11px; font-weight: 600; }
  .admin-user-table td:first-child { display: grid; grid-template-columns: 105px 37px minmax(0,1fr); }
  .admin-user-table td:first-child::before { grid-column: 1; }
  .admin-user-table td:last-child { display: block; padding-top: 12px; }
  .users-table-footer > div:last-child { display: grid; grid-template-columns: 1fr 1fr; }
  .user-detail-preview { padding: 22px 17px; }
  .user-detail-form { grid-template-columns: 1fr; }
  .user-detail-form .wide, .compact-user-switch { grid-column: auto; }
  .user-detail-actions { align-items: stretch; flex-direction: column; }
  .admin-support-tabs { padding: 0 8px; }
  .admin-support-topbar { display: none; }
  .admin-support-workspace { display: block; min-height: 0; }
  .admin-ticket-list { min-height: 460px; max-height: none; overflow: visible; border-right: 0; border-bottom: 0; }
  .admin-ticket { padding: 15px 17px; }
  .ticket-head strong { font-size: 14px; }
  .ticket-user { font-size: 12px; }
  .ticket-meta { margin-top: 8px; }
  .ticket-meta b { padding: 4px 7px; font-size: 10px; }
  .ticket-meta small { font-size: 11px; }
  .admin-ticket-detail { display: none; }
  .admin-support-workspace.ticket-open .admin-ticket-list { display: none; }
  .admin-support-workspace.ticket-open .admin-ticket-detail { display: block; }
  .admin-ticket-detail-head { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 13px 14px; }
  .mobile-ticket-back { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 10px; background: #edf3f1; color: #0f3e85; font-size: 20px; cursor: pointer; }
  .admin-ticket-detail-head h2 { overflow: hidden; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
  .admin-ticket-detail-head > div:first-of-type > span { margin-bottom: 1px; font-size: 10px; }
  .admin-ticket-detail-head > div:last-child { display: block; }
  .admin-ticket-detail-head .open-user-button { display: none; }
  .admin-ticket-detail-head .resolve-button { min-height: 36px; padding: 0 10px; font-size: 11px; }
  .ticket-context { grid-template-columns: 1fr; }
  .admin-ticket-messages { min-height: 420px; gap: 12px; padding: 15px 12px; }
  .admin-ticket-messages .message { max-width: 90%; padding: 13px 14px; }
  .admin-ticket-messages .message p { margin-top: 9px; font-size: 14px; line-height: 1.55; }
  .admin-reply-box { position: sticky; bottom: 0; z-index: 2; padding: 11px 12px 13px; background: #fff; }
  .admin-reply-box > label { display: none; }
  .admin-reply-box textarea { min-height: 68px; max-height: 110px; }
  .admin-reply-box > div { align-items: stretch; margin-top: 8px; }
  .admin-reply-box > div .secondary-action { display: none; }
  .admin-reply-box > div .primary-action { width: 100%; min-height: 40px; }
  .admin-order-search { align-items: stretch; flex-direction: column; }
  .admin-order-table { min-width: 0; }
  .admin-order-table thead { display: none; }
  .admin-order-table, .admin-order-table tbody, .admin-order-table tr, .admin-order-table td { display: block; width: 100%; }
  .admin-order-table tr { padding: 14px 16px; border-top: 1px solid #e4e9e7; }
  .admin-order-table td { display: grid; grid-template-columns: 105px minmax(0,1fr); gap: 12px; padding: 7px 0; border: 0; }
  .admin-order-table td::before { content: attr(data-label); color: #68757d; font-size: 11px; font-weight: 600; }
  .admin-order-table td:last-child { display: block; padding-top: 12px; }
  .table-detail-button { width: 100%; min-height: 42px; }
  .admin-table-footer { align-items: stretch; flex-direction: column; }
  .admin-table-footer > div { display: grid; grid-template-columns: 1fr 1fr; }
  .admin-package-summary { grid-template-columns: 47px minmax(0,1fr); padding: 19px 17px; }
  .package-order { width: 43px; height: 43px; }
  .package-edit-button { grid-column: 1 / -1; width: 100%; }
  .package-editor-columns { grid-template-columns: 1fr; padding: 22px 17px; }
  .package-editor-columns > section:first-child { padding: 0 0 24px; }
  .package-editor-columns > section + section { padding: 24px 0 0; border-top: 1px solid #e1e7e5; border-left: 0; }
  .package-two-fields, .package-module-options { grid-template-columns: 1fr; }
  .package-module-picker { padding: 22px 17px; }
  .package-editor-footer { align-items: stretch; flex-direction: column; padding: 17px; }
  .package-editor-footer > div { justify-content: space-between; }
  .package-save-button { width: 100%; }
  .support-header { align-items: flex-start; flex-direction: column; }
  .support-inbox-title, .support-thread, .support-note { padding-right: 18px; padding-left: 18px; }
  .support-layout { grid-template-columns: 1fr; }
  .support-inbox { position: static; max-height: none; }
  .conversation-header { align-items: flex-start; padding: 20px 18px; }
  .conversation-messages { min-height: 0; padding: 18px 14px; }
  .message { max-width: 95%; }
  .reply-box { padding: 18px 14px 20px; }
  .reply-actions { align-items: stretch; flex-direction: column-reverse; }
  .attachment-button, .send-button { width: 100%; }
}

/* Slightly sharper shared geometry */
:is(.welcome-video-card,.continue-study-card,.continue-card,.module-card,.panel,.stat-card,.orders-overview article,.orders-list,.customer-order,.detail-card,.account-card,.account-hub,.account-orders-list,.support-inbox,.support-conversation,.settings-form,.admin-order-box,.admin-package-card,.admin-users-box,.admin-support-box,.user-detail-preview,.sales-intro-visual,.sales-package-card,.sales-testimonials,.sales-testimonial-card,.sales-faq-list) { border-radius: 14px; }
.sales-intro { border-radius: 0; }
:is(.primary,.module-action,.primary-action,.secondary-action,.table-detail-button,.settings-button,.sales-primary,.sales-package-action,.profile-button,.theme-toggle,.nav-item,.mobile-menu-button) { border-radius: 8px; }
:is(input:not([type="checkbox"]),select,textarea,.setting-switch,.package-switch,.package-module-options label > span,.appearance-options > button,.message,.access-icon,.overview-icon,.product-mark) { border-radius: 10px; }

/* One text style for actions across dashboard, learning, sales and administration. */
:is(button,.btn,.button,.primary-action,.secondary-action,.table-detail-button,.settings-button,.shop-button,.sales-cta,.package-cta,.checkout-submit,.module-action,.table-action,.resolve-button,.user-delete-button){
  font-family:Poppins,"Segoe UI",Arial,sans-serif!important;
  font-size:14px!important;
  font-weight:600!important;
  line-height:1.25!important;
}
:is(.drawer-close,.order-detail-close,.remove-option,.remove-list-item){font-size:20px!important;line-height:1!important}

/* Clear but restrained interaction feedback for clickable actions. */
:is(button,.btn,.button,.primary-action,.secondary-action,.table-detail-button,.settings-button,.shop-button,.sales-cta,.package-cta,.checkout-submit,.module-action,.table-action,.resolve-button,.user-delete-button){
  transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease,border-color .16s ease,color .16s ease,filter .16s ease!important;
}
:is(.btn,.button,.primary-action,.secondary-action,.table-detail-button,.settings-button,.shop-button,.sales-cta,.package-cta,.checkout-submit,.module-action,.table-action,.resolve-button,.user-delete-button):hover:not(:disabled){
  transform:none;
  box-shadow:none!important;
}
:is(.btn-primary,.button:not(.outline),.primary-action,.sales-cta,.package-cta,.checkout-submit,.module-action):hover:not(:disabled){
  background:#0b756d!important;
  filter:saturate(1.05);
}
:is(.btn-secondary,.button.outline,.secondary-action,.table-detail-button,.settings-button,.shop-button,.table-action):hover:not(:disabled){
  border-color:#0e887e!important;
  background:#f1f8f6!important;
  color:#0b756d!important;
}
:is(.btn,.button,.primary-action,.secondary-action,.table-detail-button,.settings-button,.shop-button,.sales-cta,.package-cta,.checkout-submit,.module-action,.table-action,.resolve-button,.user-delete-button):active:not(:disabled){
  transform:none;
  box-shadow:none!important;
}
:is(.nav-item,.theme-toggle,.settings-tabs button,.order-status-tabs button,.admin-support-tabs button,.account-tabs button,.course-nav-item):hover:not(:disabled){transform:none;box-shadow:none}

/* Use the familiar link cursor for every available interactive control. */
:is(a,button,[role="button"],input[type="button"],input[type="submit"],input[type="reset"],summary,select,label[for],.btn,.button,.nav-item,.theme-toggle,.course-nav-item,.package-card,.module-card):not([aria-disabled="true"]){cursor:pointer}
:is(button,input[type="button"],input[type="submit"],input[type="reset"],select):disabled,
[aria-disabled="true"]{cursor:not-allowed}

.video-upload-progress { display: grid; gap: 9px; padding: 13px 14px; border-radius: 10px; background: #f1f8f6; color: #303b43; }
.video-upload-progress[hidden] { display: none; }
.video-upload-progress > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.video-upload-progress strong { color: #0f3e85; font-size: 13px; font-weight: 600; }
.video-upload-progress span, .video-upload-progress small { color: #53616b; font-size: 12px; }
.video-upload-track { height: 7px; overflow: hidden; border-radius: 999px; background: #dbe6e3; }
.video-upload-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: #0e887e; transition: width .15s ease; }
.video-upload-progress.complete { background: #edf8f4; }
.video-upload-progress.error { background: #fff1ec; }
.video-upload-progress.error strong, .video-upload-progress.error span { color: #a44820; }
.video-upload-progress.error .video-upload-track i { background: #d25f2c; }
html[data-theme="dark"] body:not(.sales-page) .video-upload-progress { background: #24282c; color: #eef2f4; }
html[data-theme="dark"] body:not(.sales-page) .video-upload-progress strong { color: #ffffff; }
html[data-theme="dark"] body:not(.sales-page) .video-upload-progress span,
html[data-theme="dark"] body:not(.sales-page) .video-upload-progress small { color: #b8c0c5; }
html[data-theme="dark"] body:not(.sales-page) .video-upload-track { background: #3a4045; }

.media-source-actions { display: flex; justify-content: flex-start; margin-top: 10px; }
.media-library-open { min-height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 13px; }
.media-library-overlay { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; background: rgba(20,31,38,.42); }
.media-library { width: min(980px,100%); max-height: min(820px,calc(100vh - 48px)); display: grid; grid-template-rows: auto auto auto minmax(0,1fr); overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 24px 70px rgba(12,31,41,.2); }
.media-library > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 25px 28px 20px; }
.media-library > header h2 { margin: 0; font-size: 25px; }
.media-library > header p { margin: 6px 0 0; color: #53616b; font-size: 14px; }
.media-library-close { width: 38px; height: 38px; border: 0; border-radius: 8px; background: #f0f3f2; color: #303b43; font-size: 22px!important; line-height: 1; }
.media-library-dropzone { position: relative; min-height: 94px; display: grid; grid-template-columns: auto auto 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 11px; margin: 0 28px 18px; padding: 16px 18px; border: 2px dashed #bdd4d0; border-radius: 10px; background: #f6fbfa; color: #0f3e85; cursor: pointer; transition: border-color .16s ease,background .16s ease; }
.media-library-dropzone:hover,.media-library-dropzone.dragover { border-color: #0e887e; background: #eaf6f4; }
.media-library-dropzone.uploading { cursor: wait; }
.media-library-dropzone > input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.media-library-dropzone > span { grid-row: 1/3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 9px; background: #dff1ef; color: #0e887e; }
.media-library-dropzone > strong { align-self: end; font-size: 15px; }
.media-library-dropzone > small { align-self: start; color: #5d6c74; font-size: 13px; }
.media-library-dropzone > em { grid-column: 3; margin-top: 5px; color: #5d6c74; font-size: 12px; font-style: normal; }
.media-library-upload-progress { grid-column: 2/4; height: 5px; margin-top: 10px; overflow: hidden; border-radius: 999px; background: #dce6e4; }
.media-library-upload-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: #0e887e; transition: width .15s linear; }
.media-library-tabs { display: flex; gap: 4px; padding: 0 28px; border-bottom: 1px solid #e2e8e6; }
.media-library-tabs button { min-height: 52px; padding: 0 15px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #53616b; }
.media-library-tabs button.active { border-color: #0e887e; color: #0e887e; }
.media-library-tabs span { min-width: 22px; height: 21px; display: inline-grid; place-items: center; margin-left: 5px; padding: 0 6px; border-radius: 999px; background: #edf1f0; font-size: 10px; }
.media-library-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-content: start; gap: 16px; overflow-y: auto; padding: 24px 28px 28px; background: #f6f7f8; }
.media-library-item { min-width: 0; display: grid; grid-template-rows: 150px auto auto; gap: 12px; padding: 12px; border-radius: 11px; background: #fff; }
.media-library-item > img, .media-library-item > video { width: 100%; height: 150px; display: block; border-radius: 8px; background: #e7ebea; object-fit: cover; }
.media-file-icon { height: 150px; display: grid; place-items: center; border-radius: 8px; background: #e7f2ef; color: #0e887e; }
.media-library-item strong, .media-library-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-library-item strong { color: #0f3e85; font-size: 14px; }
.media-library-item small { margin-top: 4px; color: #65727a; font-size: 12px; }
.media-library-actions { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.media-library-item button { min-height: 40px; width: 100%; }
.media-library-delete { width: auto!important; padding: 0 12px; border: 1px solid #efd5ca; border-radius: 8px; background: #fff7f3; color: #a44820; }
.media-library-delete:hover:not(:disabled) { border-color: #d99f88; background: #fff0e9; }
.sales-page :is(.sales-primary,.sales-package-action) { min-height: 48px; padding: 0 18px; border: 0; border-radius: 8px; background: #0e887e; color: #fff; box-shadow: none; font-size: 14px; font-weight: 600; }
.sales-page :is(.sales-primary,.sales-package-action):hover { background: #0b756d; box-shadow: none; transform: none; }
.sales-page .sales-login { min-height: 42px; border: 1px solid #d8dfdd; border-radius: 8px; background: #fff; color: #0f3e85; box-shadow: none; font-size: 1rem; font-weight: 500; letter-spacing: -0.5px; }
.sales-page .sales-login:hover { border-color: #0e887e; background: #f1f8f6; color: #0b756d; }
@media(max-width:600px){.sales-page .sales-login{font-size:14px}}
.media-library-item button:disabled { opacity: .55; cursor: not-allowed; }
.media-library-empty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; color: #53616b; }
.media-library-empty strong { color: #0f3e85; font-size: 18px; }
.media-library-empty p { margin: 7px 0 0; }
@media (max-width:760px){.media-library-overlay{padding:0}.media-library{width:100%;height:100%;max-height:none;border-radius:0}.media-library>header{padding:20px 18px 16px}.media-library-dropzone{margin:0 18px 14px}.media-library-tabs{padding:0 8px;overflow-x:auto}.media-library-grid{grid-template-columns:1fr;padding:18px}.media-library-item{grid-template-columns:92px minmax(0,1fr);grid-template-rows:auto auto;align-items:center}.media-library-item>img,.media-library-item>video,.media-file-icon{grid-row:1/3;width:92px;height:82px}.media-library-actions{grid-column:2}}

/* Buttons stay flat: hover is communicated through color only. */
:is(button,input[type="button"],input[type="submit"],input[type="reset"],.btn,.button,.primary-action,.secondary-action,.table-detail-button,.settings-button,.shop-button,.sales-cta,.package-cta,.checkout-submit,.module-action,.table-action,.resolve-button,.user-delete-button):is(:hover,:active):not(:disabled){
  transform:none!important;
  box-shadow:none!important;
}
:is(.appearance-icon,.stat-icon,.sales-trust-card) { border-radius: 11px; }

/* Sales testimonials and open FAQ */
.sales-page { overflow-x: hidden; }
.sales-page .sales-packages-section { padding-bottom: 142px; }
.sales-page .sales-testimonials { margin-top: 0; padding: 0; overflow: visible; border-radius: 0; background: transparent; color: #182027; }
.sales-testimonial-visual { position: relative; left: 50%; width: 100vw; min-height: 520px; margin-left: -50vw; overflow: hidden; background: #fbfaf8; }
.sales-testimonial-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,50,47,.9) 0%, rgba(4,50,47,.64) 48%, rgba(4,50,47,.18) 100%); }
.sales-testimonial-visual img { content: url('/testimonials-chair.jpg?v=20260925a'); position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; filter: saturate(.94) contrast(1.01); }
.sales-testimonial-intro { position: relative; z-index: 1; width: min(1280px,calc(100% - 80px)); margin: 0 auto; padding: clamp(58px,7vw,92px) 0; }
.sales-testimonial-intro .sales-kicker { color: #83ddd2; }
.sales-testimonial-intro h2 { max-width: 570px; margin: 0; color: #fff; font-size: clamp(34px,4vw,52px); line-height: 1.08; letter-spacing: -.04em; }
.sales-testimonial-intro p { max-width: 520px; margin: 20px 0 0; color: #e1efed; font-size: 17px; line-height: 1.7; }
.sales-page .sales-testimonial-grid { position: relative; z-index: 2; display: block; width: 100%; margin: -68px auto 0; columns: 3; column-gap: 44px; }
.sales-page .sales-testimonial-card { width: 100%; height: auto; min-height: 0; display: inline-flex; margin: 0 0 44px; break-inside: avoid; }
.sales-page .sales-testimonial-card { position: relative; min-height: 330px; padding: 34px 32px 30px; overflow: visible; border-radius: 20px; background: #e8f2f4; color: #17272d; box-shadow: 0 15px 35px rgba(25,52,72,.11); }
.sales-page .sales-testimonial-card:nth-child(even) { background: #e3f0ed; }
.sales-page .sales-testimonial-card::after { content: ""; position: absolute; left: 34px; bottom: -18px; width: 36px; height: 25px; background: inherit; clip-path: polygon(0 0,100% 0,50% 100%); }
.sales-page .quote-mark { height: 35px; color: #0e887e; font-size: 64px; }
.sales-page .sales-testimonial-card blockquote { margin: 12px 0 32px; font-size: 16px; line-height: 1.72; }
.sales-page .sales-testimonial-card footer { position: relative; z-index: 1; }
.sales-page .testimonial-avatar { width: 48px; height: 48px; background: #0e887e; }
.sales-page .testimonial-avatar .material-symbol { width: 23px; height: 23px; color: #fff; font-size: 23px; }
.sales-page .testimonial-avatar .material-symbol { display: grid; place-items: center; width: 24px; height: 24px; overflow: visible; background: none; filter: none; font-size: 0!important; color: #fff; }
.sales-page .testimonial-avatar .material-symbol::before { content: "★"; font-family: Arial, sans-serif; font-size: 21px; line-height: 1; color: currentColor; }
.sales-page .sales-testimonial-card footer strong { color: #17242d; font-size: 17px; line-height: 1.25; }
.sales-page .sales-testimonial-card footer small { margin-top: 0; color: #65727a; font-size: 13px; line-height: 1.3; }
.sales-page .sales-testimonial-card { padding: 0; overflow: visible; border-radius: 0; background: transparent!important; box-shadow: none; }
.sales-page .sales-testimonial-card::after { display: none; }
.sales-page .testimonial-bubble { position: relative; width: 100%; padding: 30px 32px 27px; border-radius: 20px; background: #e8f2f4; box-shadow: 0 15px 35px rgba(25,52,72,.11); }
.sales-page .sales-testimonial-card:nth-child(even) .testimonial-bubble { background: #e3f0ed; }
.sales-page .testimonial-bubble::after { content: ""; position: absolute; left: 24px; bottom: -18px; width: 36px; height: 20px; background: inherit; clip-path: polygon(0 0,100% 0,50% 100%); }
.sales-page .testimonial-bubble blockquote { margin-bottom: 0; }
.sales-page .sales-testimonial-card footer { margin: 30px 18px 0; }
.sales-page .sales-faq { margin-top: 126px; }
.sales-page .sales-faq { margin-bottom: -110px; padding: 92px 0 96px; background: #f6f7f8; box-shadow: 0 0 0 100vmax #f6f7f8; clip-path: inset(0 -100vmax); }
.sales-page .sales-faq-list { overflow: visible; border-radius: 0; background: transparent; box-shadow: none; }
.sales-page .sales-faq-list details { border-top: 1px solid #ccd7d4; background: transparent; }
.sales-page .sales-faq-list details:last-child { border-bottom: 1px solid #ccd7d4; }
.sales-page .sales-faq-list details + details { border-top: 1px solid #ccd7d4; }
.sales-page .sales-faq-list summary { min-height: 88px; padding: 24px 4px; font-size: 21px; line-height: 1.45; }
.sales-page .sales-faq-list details p { max-width: 980px; margin: -2px 0 0; padding: 0 58px 30px 4px; color: #3f4d55; font-size: 18px; line-height: 1.75; }
.sales-page .sales-faq-item { border-top: 1px solid #ccd7d4; }
.sales-page .sales-faq-item:last-child { border-bottom: 1px solid #ccd7d4; }
.sales-page .sales-faq-question { width: 100%; min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 26px 4px; border: 0; border-radius: 0; background: transparent; color: #17242d; box-shadow: none; text-align: left; font-family: inherit; font-size: 25px!important; font-weight: 600; line-height: 1.4; }
.sales-page .sales-faq-question:hover,.sales-page .sales-faq-question:active { background: transparent; box-shadow: none; transform: none; color: #0f3e85; }
.sales-page .sales-faq-question .sales-faq-icon { width: 30px; height: 30px; transition: transform .32s ease; }
.sales-page .sales-faq-item.is-open .sales-faq-icon { transform: rotate(45deg); }
.sales-page .sales-faq-answer { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .36s ease,opacity .28s ease; }
.sales-page .sales-faq-answer > div { min-height: 0; overflow: hidden; }
.sales-page .sales-faq-answer p { max-width: 980px; margin: 0; padding: 0 58px 30px 4px; color: #3f4d55; font-size: 18px; line-height: 1.75; }
.sales-page .sales-faq-item.is-open .sales-faq-answer { grid-template-rows: 1fr; opacity: 1; }
@media(max-width:1060px){.sales-page .sales-testimonial-grid{width:100%;columns:2;column-gap:30px}.sales-page .sales-testimonial-card{margin:0 0 30px;padding:0}.sales-page .testimonial-bubble{padding:29px 25px 26px}.sales-page .sales-testimonial-card blockquote{font-size:17px}}
@media(max-width:760px){.sales-page .sales-packages-section{padding-bottom:86px}.sales-testimonial-visual{min-height:470px}.sales-testimonial-intro{width:100%;padding:48px 26px 112px}.sales-testimonial-intro h2{font-size:36px}.sales-testimonial-intro p{font-size:16px}.sales-page .sales-testimonial-grid{width:100%;margin-top:-72px;columns:1}.sales-page .sales-testimonial-card{min-height:0;margin:0 0 30px;padding:0}.sales-page .testimonial-bubble{padding:27px 24px 25px}.sales-page .sales-testimonial-card blockquote{font-size:15px}.sales-page .sales-faq{margin-top:86px}.sales-page .sales-faq-list summary{min-height:78px;padding:21px 2px;font-size:22px}.sales-page .sales-faq-list details p{padding:0 42px 25px 2px;font-size:17px}.sales-page .sales-faq-question{min-height:84px;padding:22px 2px;font-size:22px!important}.sales-page .sales-faq-question .sales-faq-icon{width:28px;height:28px}.sales-page .sales-faq-answer p{padding:0 42px 25px 2px;font-size:17px}}

/* Sales hero: the reuse learning motif remains a supporting visual, with space for the offer text. */
.sales-page .sales-intro { position: relative; display: grid; grid-template-columns: minmax(0,1.06fr) minmax(340px,.94fr); align-items: center; min-height: 442px; isolation: isolate; }
.sales-page .sales-intro-copy { position: relative; z-index: 1; max-width: 680px; padding: 52px 20px 64px; }
.sales-page .sales-intro-chair { align-self: stretch; display: flex; align-items: center; justify-content: center; min-width: 0; padding: 14px 0 0 22px; overflow: hidden; }
.sales-page .sales-intro-chair img { width: min(100%,585px); max-height: 450px; display: block; object-fit: contain; object-position: center center; }
@media (max-width:760px) {
  .sales-page .sales-intro { grid-template-columns: 1fr; min-height: 0; }
  .sales-page .sales-intro-copy { padding: 32px 25px 24px; }
  .sales-page .sales-intro-chair { height: 245px; padding: 0 20px 10px; }
  .sales-page .sales-intro-chair img { width: min(100%,310px); max-height: 235px; }
}

