:root {
  --navy: #14263d;
  --navy-deep: #0d1e32;
  --orange: #f28c38;
  --green: #16856a;
  --bg: #f4f6f9;
  --text: #526174;
  --ink: #17283e;
  --white: #fff;
  --line: #e5e9ef;
  --shadow: 0 20px 60px rgba(17, 34, 55, .12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: "DM Sans", sans-serif; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.screen { display: none; min-height: 100vh; }
.screen.is-active { display: flex; }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 800 20px/1 "Manrope", sans-serif; letter-spacing: -.7px; }
.brand > span:last-child > span { color: var(--orange); }
.brand-mark { position: relative; width: 29px; height: 27px; display: inline-flex; justify-content: center; gap: 2px; }
.brand-mark span { width: 13px; height: 24px; border: 2px solid currentColor; border-top: 0; border-radius: 2px 2px 10px 3px; transform: skewY(7deg); }
.brand-mark span:last-child { transform: skewY(-7deg); }
.brand-mark:after { content: ""; position: absolute; left: 14px; bottom: 0; height: 22px; width: 2px; background: var(--orange); }
.brand-logo-link { line-height: 0; flex: 0 0 auto; }
.brand-logo-image { display: block; width: auto; height: 46px; object-fit: contain; }
.store-brand-logo .brand-logo-image { height: 42px; }
.sales-brand.brand-logo-link { padding: 5px 10px; border: 1px solid rgba(255,255,255,.24); border-radius: 13px; background: rgba(255,255,255,.96); box-shadow: 0 8px 24px rgba(3,18,33,.16); }
.eyebrow { margin: 0 0 13px; color: var(--orange) !important; font-weight: 700; font-size: 12px !important; letter-spacing: 1.5px; }

/* Onboarding */
.onboarding-screen { flex-direction: column; color: white; background: radial-gradient(circle at 80% 15%, rgba(22,133,106,.28), transparent 28%), linear-gradient(125deg, #10243b 0%, #142f4b 52%, #11263d 100%); overflow: hidden; }
.onboarding-header, .onboarding-footer { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 28px clamp(24px, 5vw, 76px); }
.onboarding-header .brand { color: white; }
.text-button, .link-button { border: 0; background: none; color: inherit; font-weight: 600; }
.text-button { opacity: .75; }
.text-button:hover { opacity: 1; }
.header-links { align-items: center; }
.auth-button {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: transform .2s, border-color .2s, background .2s;
}
.auth-button:hover { transform: translateY(-2px); }
.auth-login { border: 1px solid rgba(255,255,255,.52); color: white; background: rgba(255,255,255,.08); }
.auth-login:hover { border-color: white; background: rgba(255,255,255,.14); }
.auth-register { border: 1px solid white; color: #14263d; background: white; box-shadow: 0 10px 24px rgba(0,0,0,.16); }
.onboarding-layout { flex: 1; width: min(1380px, 100%); margin: auto; padding: 3vh clamp(24px, 6vw, 92px) 5vh; display: grid; grid-template-columns: minmax(320px, .85fr) minmax(580px, 1.4fr); align-items: center; gap: clamp(40px, 8vw, 120px); }
.welcome-copy h1 { max-width: 560px; margin: 0 0 24px; font: 700 clamp(42px, 5vw, 72px)/1.05 "Manrope", sans-serif; letter-spacing: -3px; }
.welcome-copy > p:not(.eyebrow) { max-width: 500px; color: #bfd0de; font-size: 18px; line-height: 1.65; }
.carousel-actions { display: flex; gap: 12px; margin-top: 42px; }
.round-button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: white; background: transparent; font-size: 21px; transition: .2s; }
.round-button:hover { transform: translateY(-2px); border-color: white; }
.round-button.primary { border-color: var(--orange); background: var(--orange); }
.carousel-wrap { min-width: 0; overflow: hidden; padding: 10px 0; }
.carousel-track { display: flex; gap: 22px; transition: transform .45s cubic-bezier(.2,.75,.25,1); }
.feature-card { flex: 0 0 min(370px, calc(100vw - 48px)); min-height: 480px; padding: 26px; color: var(--ink); background: white; border-radius: 22px; box-shadow: 0 28px 60px rgba(0,0,0,.2); transform: scale(.94); opacity: .6; transition: .45s; }
.feature-card.is-current { transform: scale(1); opacity: 1; }
.card-topline { display: flex; align-items: center; justify-content: space-between; font-weight: 700; color: #a6b0bb; }
.card-tag { padding: 6px 10px; border-radius: 99px; color: var(--green); background: #eaf6f2; font-size: 10px; letter-spacing: 1.1px; }
.feature-card h2 { margin: 28px 0 12px; font: 700 28px/1.15 "Manrope", sans-serif; letter-spacing: -1px; }
.feature-card > p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.6; }
.sales-visual, .stock-visual, .learning-visual { height: 245px; margin-top: 24px; border-radius: 16px; overflow: hidden; position: relative; }
.sales-visual { padding: 30px; background: linear-gradient(145deg,#fdf3e9,#fff9f1); }
.mini-stat { width: 180px; padding: 18px; background: #fff; border-radius: 12px; box-shadow: 0 12px 30px rgba(72,54,30,.1); }
.mini-stat span, .mini-stat small { display: block; color: var(--text); font-size: 11px; }
.mini-stat strong { display: block; margin: 6px 0; font: 700 25px "Manrope"; }
.mini-stat small { color: var(--green); font-weight: 700; }
.book-stack { position: absolute; right: 32px; bottom: 40px; width: 145px; height: 115px; transform: rotate(-7deg); }
.book-stack i { position: absolute; display: block; width: 125px; height: 30px; border-radius: 3px 8px 8px 3px; background: var(--orange); box-shadow: inset 6px 0 rgba(0,0,0,.12); }
.book-stack i:nth-child(1) { left: 8px; bottom: 0; background: var(--navy); }
.book-stack i:nth-child(2) { right: 0; bottom: 36px; background: var(--green); }
.book-stack i:nth-child(3) { left: 0; bottom: 72px; background: var(--orange); }
.stock-visual { display: flex; align-items: center; justify-content: center; gap: 30px; background: linear-gradient(145deg,#eaf7f3,#f8fcfb); }
.stock-ring { width: 118px; height: 118px; border-radius: 50%; border: 13px solid #cce8df; border-top-color: var(--green); display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(-20deg); }
.stock-ring span, .stock-ring small { transform: rotate(20deg); }
.stock-ring span { font: 700 24px "Manrope"; }
.stock-ring small { font-size: 10px; color: var(--text); }
.stock-bars { height: 120px; display: flex; gap: 8px; align-items: flex-end; }
.stock-bars i { width: 18px; height: var(--h); border-radius: 5px 5px 2px 2px; background: var(--green); opacity: .9; }
.learning-visual { padding: 26px; background: linear-gradient(145deg,#172f4a,#214767); color: white; }
.play-button { width: 70px; height: 70px; margin: 42px auto 30px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); padding-left: 4px; }
.lesson-progress { height: 4px; border-radius: 4px; background: rgba(255,255,255,.2); }
.lesson-progress span { display: block; width: 66%; height: 100%; border-radius: inherit; background: var(--orange); }
.lesson-meta { display: flex; justify-content: space-between; margin-top: 15px; font-size: 11px; }
.lesson-meta small { color: #bcd0df; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.carousel-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.28); }
.carousel-dots button.is-active { width: 24px; border-radius: 99px; background: var(--orange); }
.onboarding-footer { border-top: 1px solid rgba(255,255,255,.1); color: #aebfcd; font-size: 12px; }
.link-button { color: white; }
.link-button span { margin-left: 8px; color: var(--orange); }

/* Login */
.login-screen { background: white; }
.login-panel { width: 54%; min-height: 100vh; position: relative; display: grid; place-items: center; padding: 50px; }
.back-button { position: absolute; top: 30px; left: 32px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--ink); }
.login-content { width: min(440px, 100%); }
.login-content > .brand { margin-bottom: 58px; }
.role-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: -35px 0 28px; padding: 4px; border-radius: 10px; background: #eef1f5; }
.role-switch button { min-height: 37px; border: 0; border-radius: 7px; color: #7c8997; background: transparent; font-size: 12px; font-weight: 700; }
.role-switch button.is-active { color: var(--navy); background: white; box-shadow: 0 3px 10px rgba(20,38,61,.08); }
.login-heading h1 { margin: 0 0 12px; font: 700 38px/1.15 "Manrope", sans-serif; letter-spacing: -1.4px; }
.login-heading > p:last-child { margin: 0 0 30px; color: var(--text); line-height: 1.55; }
.google-button, .submit-button { width: 100%; min-height: 52px; display: flex; justify-content: center; align-items: center; gap: 11px; border-radius: 10px; font-weight: 700; }
.google-button { border: 1px solid #dfe4ea; background: white; color: var(--ink); }
.google-button svg { width: 20px; }
.divider { position: relative; margin: 27px 0; color: #8b96a3; text-align: center; font-size: 12px; }
.divider:before { content: ""; position: absolute; inset: 50% 0 auto; height: 1px; background: var(--line); }
.divider span { position: relative; z-index: 1; padding: 0 13px; background: white; }
form > label, .label-row label { display: block; margin: 0 0 8px; font-weight: 700; font-size: 13px; }
.label-row { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.label-row label { margin: 0 0 8px; }
.text-link { border: 0; background: none; color: var(--orange); font-size: 12px; font-weight: 700; }
.input-wrap { min-height: 50px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid #dfe4ea; border-radius: 9px; transition: .2s; }
.input-wrap:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242,140,56,.12); }
.input-wrap > span { color: #9aa6b2; }
.input-wrap input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--ink); background: transparent; }
.password-toggle { padding: 4px; border: 0; background: transparent; color: var(--text); font-size: 12px; }
.remember { display: flex; align-items: center; gap: 8px; margin: 18px 0 24px !important; color: var(--text); font-weight: 500 !important; }
.remember input { accent-color: var(--green); }
.submit-button { min-height: 58px; border: 0; color: white; background: var(--orange); box-shadow: 0 10px 24px rgba(242,140,56,.24); font-size: 16px; }
.submit-button span { font-size: 20px; }
.access-note { margin: 24px 0 0; padding: 13px; border-radius: 8px; color: var(--text); background: var(--bg); text-align: center; font-size: 11px; }
.access-note span { color: var(--green); margin-right: 6px; }
.login-art { width: 46%; min-height: 100vh; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 8%; color: white; background: linear-gradient(145deg,#10243b,#17445a); }
.art-grid { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.2) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.2) 1px,transparent 1px); background-size: 60px 60px; mask-image: linear-gradient(to bottom, black, transparent 85%); }
.login-art:before, .login-art:after { content: ""; position: absolute; border-radius: 50%; }
.login-art:before { width: 440px; height: 440px; right: -120px; top: -80px; background: rgba(22,133,106,.36); }
.login-art:after { width: 290px; height: 290px; left: 12%; top: 20%; border: 65px solid rgba(242,140,56,.18); }
.floating-card { position: absolute; z-index: 2; width: 210px; padding: 20px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(255,255,255,.12); backdrop-filter: blur(12px); box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.floating-card span, .floating-card small { display: block; color: #c7d7e2; font-size: 11px; }
.floating-card strong { display: block; margin: 8px 0 5px; font: 700 28px "Manrope"; }
.inventory-card { top: 20%; left: 12%; transform: rotate(-3deg); }
.team-card { top: 39%; right: 10%; transform: rotate(4deg); }
.team-card div { height: 5px; margin-top: 12px; border-radius: 5px; background: rgba(255,255,255,.2); }
.team-card i { display: block; width: 78%; height: 100%; border-radius: inherit; background: var(--orange); }
.login-art blockquote { position: relative; z-index: 1; max-width: 520px; margin: 0 0 18px; font: 600 clamp(28px, 3.2vw, 46px)/1.3 "Manrope"; letter-spacing: -1.6px; }
.login-art > p { position: relative; z-index: 1; margin: 0; color: var(--orange); font-weight: 700; }

/* Dashboard */
.dashboard-screen { background: var(--bg); }
.sidebar { width: 248px; min-height: 100vh; position: fixed; z-index: 20; display: flex; flex-direction: column; color: #c8d4de; background: var(--navy-deep); }
.sidebar-top { height: 74px; padding: 0 22px; display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand-light { color: white; }
.sidebar-close { display: none; margin-left: auto; border: 0; background: transparent; color: white; font-size: 26px; }
.sidebar nav { flex: 1; padding: 22px 14px; }
.sidebar nav p { margin: 20px 12px 8px; color: #6f8394; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; }
.sidebar nav p:first-child { margin-top: 0; }
.nav-item { position: relative; min-height: 42px; padding: 0 12px; display: flex; align-items: center; gap: 12px; border-radius: 7px; font-size: 13px; transition: .15s; }
.nav-item:hover { color: white; background: rgba(255,255,255,.05); }
.nav-item.is-active { color: white; background: rgba(242,140,56,.14); }
.nav-item.is-active:before { content: ""; position: absolute; left: -14px; width: 3px; height: 24px; border-radius: 0 3px 3px 0; background: var(--orange); }
.nav-item > span { width: 19px; color: #8fa1af; text-align: center; font-size: 17px; }
.nav-item.is-active > span { color: var(--orange); }
.nav-item b { min-width: 22px; margin-left: auto; padding: 3px 6px; border-radius: 99px; background: var(--orange); color: white; text-align: center; font-size: 9px; }
.sidebar-bottom { padding: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.user-mini { margin-top: 12px; padding: 13px 8px 0; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; border-top: 1px solid rgba(255,255,255,.07); }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--orange); font-size: 10px; font-weight: 700; }
.user-mini strong, .user-mini small { display: block; }
.user-mini strong { color: white; font-size: 11px; }
.user-mini small { margin-top: 2px; color: #7e92a3; font-size: 9px; }
.user-mini button { border: 0; background: none; color: #8ea0ae; }
.dashboard-main { min-width: 0; width: calc(100% - 248px); margin-left: 248px; }
.dashboard-header { height: 74px; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; border-bottom: 1px solid var(--line); background: white; }
.menu-button { display: none; border: 0; background: none; font-size: 22px; }
.search-box { width: min(420px, 45vw); display: flex; align-items: center; gap: 9px; padding: 0 13px; color: #95a1ad; }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; }
.search-box kbd { padding: 3px 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--bg); font-size: 10px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-button { width: 39px; height: 39px; position: relative; border: 1px solid var(--line); border-radius: 8px; background: white; }
.icon-button i { position: absolute; top: 8px; right: 8px; width: 6px; height: 6px; border: 1px solid white; border-radius: 50%; background: var(--orange); }
.primary-action { height: 39px; padding: 0 17px; border: 0; border-radius: 7px; color: white; background: var(--orange); font-weight: 700; font-size: 12px; }
.dashboard-content { padding: 32px; }
.dashboard-title-row { display: flex; align-items: end; justify-content: space-between; margin-bottom: 25px; }
.dashboard-title-row h1 { margin: 0 0 7px; font: 700 30px "Manrope"; letter-spacing: -1.2px; }
.dashboard-title-row p:not(.eyebrow) { margin: 0; color: var(--text); font-size: 13px; }
.period-select { min-height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.period-select select { border: 0; outline: 0; color: var(--ink); background: white; font-size: 12px; font-weight: 600; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.kpi-card, .panel { border: 1px solid #e7ebef; border-radius: 11px; background: white; box-shadow: 0 3px 12px rgba(20,38,61,.025); }
.kpi-card { min-height: 175px; position: relative; overflow: hidden; padding: 19px; }
.kpi-label { display: flex; align-items: center; justify-content: space-between; color: var(--text); font-size: 11px; font-weight: 600; }
.kpi-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 7px; font-style: normal; }
.kpi-icon.green { color: var(--green); background: #e9f6f2; }.kpi-icon.blue { color: #317bb4; background: #eaf3fa; }.kpi-icon.orange { color: var(--orange); background: #fdf1e7; }.kpi-icon.purple { color: #7b64ad; background: #f2edfa; }
.kpi-card > strong { display: block; margin: 10px 0 4px; font: 700 25px "Manrope"; letter-spacing: -.7px; }
.kpi-card > p { margin: 0; font-size: 10px; font-weight: 700; }
.kpi-card > p span { color: #9aa4ae; font-weight: 400; }
.positive { color: var(--green); }.negative { color: #d35f55; }
.kpi-card svg { position: absolute; left: 12px; right: 12px; bottom: 11px; width: calc(100% - 24px); height: 42px; }
.kpi-card svg path { fill: none; stroke: var(--green); stroke-width: 2.5; }
.micro-bars { height: 38px; margin-top: 13px; display: flex; align-items: end; gap: 5px; }
.micro-bars i { width: 100%; border-radius: 2px; background: #dbe9f4; }.micro-bars i:nth-child(1){height:35%}.micro-bars i:nth-child(2){height:58%}.micro-bars i:nth-child(3){height:48%}.micro-bars i:nth-child(4){height:70%}.micro-bars i:nth-child(5){height:62%}.micro-bars i:nth-child(6){height:86%}.micro-bars i:nth-child(7){height:100%;background:#317bb4}
.metric-note { margin-top: 14px; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; font-size: 9px; }.metric-note span{color:#9ba6af}.metric-note b{text-align:right}
.progress { height: 6px; margin-top: 20px; border-radius: 5px; background: #ebedf1; }.progress i { display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7b64ad,#a493cc); }.kpi-card > small{display:block;margin-top:7px;color:#8d98a3;font-size:9px}
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(320px,.8fr); gap: 16px; margin-top: 16px; }
.panel { padding: 20px; }
.panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.panel-heading h2 { margin: 0 0 4px; font: 700 15px "Manrope"; }
.panel-heading p { margin: 0; color: #929da8; font-size: 10px; }
.legend { display: flex; gap: 14px; color: var(--text); font-size: 9px; }.legend span{display:flex;align-items:center;gap:5px}.legend i{width:7px;height:7px;border-radius:50%}.legend .online{background:var(--green)}.legend .in-person{background:var(--orange)}
.chart-wrap { height: 245px; position: relative; margin-top: 18px; padding: 0 0 24px 40px; }
.y-axis { position: absolute; left: 0; top: 0; bottom: 25px; display: flex; flex-direction: column; justify-content: space-between; color: #9ca7b0; font-size: 9px; }
.area-chart { width: 100%; height: 100%; overflow: visible; }.grid-lines path{fill:none;stroke:#edf0f3;stroke-width:1}.area{fill:url(#greenFade)}.line{fill:none;stroke-width:2.5;vector-effect:non-scaling-stroke}.online-line{stroke:var(--green)}.person-line{stroke:var(--orange);stroke-dasharray:5 4}
.x-axis { display:flex;justify-content:space-between;margin-top:4px;color:#9ca7b0;font-size:8px; }
.ranking-list { margin: 18px 0 0; padding: 0; list-style: none; }
.ranking-list li { display: grid; grid-template-columns: 24px 34px 1fr auto; align-items: center; gap: 9px; padding: 12px 0; border-top: 1px solid #edf0f3; }
.rank { color: #a3adb5; font-size: 11px; font-weight: 700; }.rank.first{color:var(--orange)}.avatar.coral{background:#e6816e}.avatar.teal{background:#3d9889}.avatar.navy{background:#526f90}.avatar.sand{background:#bb9164}.ranking-list strong,.ranking-list small{display:block}.ranking-list li>div:not(.rank-value) strong{font-size:11px}.ranking-list small{margin-top:3px;color:#96a1aa;font-size:9px}.rank-value{text-align:right}.rank-value strong{font-size:11px}.rank-value small{color:var(--green)}
.bottom-grid { display:grid;grid-template-columns:minmax(0,1.7fr) minmax(320px,.8fr);gap:16px;margin-top:16px; }
.badge { padding:5px 8px;border-radius:99px;color:#c25d52;background:#fbebe9;font-size:9px;font-weight:700; }
.book-row { display:grid;grid-template-columns:35px 1fr auto 25px;align-items:center;gap:10px;padding:13px 0;border-top:1px solid #edf0f3; }.book-row:nth-of-type(1){margin-top:14px}.book-cover{width:30px;height:39px;display:grid;place-items:center;border-radius:2px;color:white;text-align:center;font:700 5px/1.3 "Manrope";box-shadow:2px 3px 5px rgba(0,0,0,.15)}.cover-1{background:#a9574c}.cover-2{background:#162b44}.book-row strong,.book-row small{display:block}.book-row strong{font-size:10px}.book-row small{margin-top:3px;color:#9aa4ad;font-size:8px}.stock-badge{padding:4px 7px;border-radius:99px;font-size:8px;font-weight:700}.stock-badge.critical{color:#bf5047;background:#fce9e7}.stock-badge.warning{color:#b16b25;background:#fdf2e5}.book-row button{border:0;background:none;color:#99a3ac}
.action-grid { display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:15px; }.action-grid button{min-height:68px;padding:10px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);text-align:left}.action-grid button:hover{border-color:var(--orange);background:#fffaf6}.action-grid i{width:25px;height:25px;display:grid;place-items:center;margin-bottom:7px;border-radius:6px;color:var(--orange);background:#fff0e4;font-style:normal}.action-grid span{font-size:9px;font-weight:700}
.sidebar-overlay { display:none; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 28px; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 8px; color: white; background: var(--navy); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .25s; font-size: 13px; }.toast.is-visible{opacity:1;transform:translate(-50%,0)}

/* Seller dashboard */
.seller-dashboard .sidebar { background: linear-gradient(180deg,#102a3f 0%,#0d2134 100%); }
.seller-dashboard .nav-item.is-active { background: rgba(22,133,106,.2); }
.seller-dashboard .nav-item.is-active:before { background: #35b291; }
.seller-dashboard .nav-item.is-active > span { color: #42b99a; }
.seller-referral { margin: 0 14px 10px; padding: 13px; border: 1px solid rgba(255,255,255,.09); border-radius: 9px; background: rgba(255,255,255,.04); }
.seller-referral > span { display: block; color: #8da1af; font-size: 9px; }
.seller-referral code { display: block; overflow: hidden; margin: 7px 0 10px; color: #d6e2e9; font: 9px "DM Sans"; text-overflow: ellipsis; white-space: nowrap; }
.seller-referral button { width: 100%; min-height: 29px; border: 1px solid rgba(66,185,154,.35); border-radius: 6px; color: #69cbb0; background: rgba(22,133,106,.12); font-size: 9px; font-weight: 700; }
.seller-welcome .eyebrow { color: var(--green) !important; }
.seller-hero-grid { display: grid; grid-template-columns: minmax(0,2fr) minmax(220px,.65fr); gap: 16px; margin-bottom: 16px; }
.seller-goal-card { min-height: 176px; display: flex; align-items: center; justify-content: space-between; padding: 25px 30px; border-radius: 12px; color: white; background: radial-gradient(circle at 80% 0,rgba(71,185,155,.3),transparent 38%),linear-gradient(120deg,#12334a,#18566a); box-shadow: 0 12px 25px rgba(16,47,66,.12); }
.goal-copy { width: min(66%,480px); }
.goal-copy > span { color: #add1d6; font-size: 11px; font-weight: 600; }
.goal-copy > strong { display: block; margin: 7px 0 2px; font: 700 30px "Manrope"; }
.goal-copy > p { margin: 0; color: #b9d0d8; font-size: 10px; }
.goal-copy .progress { margin: 18px 0 8px; background: rgba(255,255,255,.15); }
.goal-copy .progress i { background: linear-gradient(90deg,#40c3a0,#f3a55d); }
.goal-copy small { color: #b9d0d8; font-size: 9px; }.goal-copy small b{color:#64d2b4}
.goal-ring { width: 110px; height: 110px; position: relative; display: grid; place-items: center; }
.goal-ring svg { position:absolute;inset:0;transform:rotate(-90deg) }.goal-ring circle{fill:none;stroke:rgba(255,255,255,.12);stroke-width:8}.goal-ring .goal-value{stroke:#43c29f;stroke-linecap:round;stroke-dasharray:301.5;stroke-dashoffset:0}.goal-ring strong{margin-top:-5px;font:700 23px "Manrope"}.goal-ring span{position:absolute;top:69px;color:#a9c8d1;font-size:8px}
.seller-motivation { min-height:176px;display:flex;flex-direction:column;justify-content:center;padding:22px;border:1px solid #f0decf;border-radius:12px;background:linear-gradient(145deg,#fff9f2,#fff); }
.seller-motivation .spark{width:34px;height:34px;display:grid;place-items:center;margin-bottom:14px;border-radius:9px;color:var(--orange);background:#fff0df}.seller-motivation p{margin:0 0 4px;color:#9a7b61;font-size:9px;text-transform:uppercase;letter-spacing:1px}.seller-motivation strong{font:700 17px "Manrope"}.seller-motivation small{margin-top:7px;color:#8e99a3;font-size:9px;line-height:1.5}
.seller-kpis { grid-template-columns: repeat(4,minmax(0,1fr)); }
.commission-status { display:flex;align-items:center;gap:6px;margin-top:25px;color:#9b7a55;font-size:9px }.commission-status i{width:6px;height:6px;border-radius:50%;background:var(--orange)}
.avatar-stack { display:flex;margin-top:21px }.avatar-stack span{width:27px;height:27px;display:grid;place-items:center;margin-left:-5px;border:2px solid white;border-radius:50%;color:white;background:#66869e;font-size:7px;font-weight:700}.avatar-stack span:first-child{margin-left:0;background:#df826e}.avatar-stack span:nth-child(2){background:#3b9b88}.avatar-stack span:nth-child(3){background:#7e68a4}.avatar-stack span:last-child{color:#657484;background:#eef1f4}
.seller-main-grid { grid-template-columns: minmax(0,1.55fr) minmax(300px,.8fr); }
.sales-table { margin-top: 15px; }
.sales-table-head,.sales-table-row { display:grid;grid-template-columns:1fr 1.2fr .9fr .9fr .65fr;align-items:center;gap:10px }.sales-table-head{padding:8px 10px;color:#9aa5ae;background:#f7f8fa;font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.6px}.sales-table-row{min-height:55px;padding:8px 10px;border-bottom:1px solid #edf0f3;font-size:9px}.sales-table-row>span:first-child b,.sales-table-row>span:first-child small{display:block}.sales-table-row>span:first-child small{margin-top:2px;color:#98a3ac;font-size:8px}.sales-table-row>span:nth-child(3){display:flex;align-items:center;gap:5px}.sales-table-row>strong{text-align:right;font-size:10px}.channel-dot{width:6px;height:6px;border-radius:50%;background:var(--green)}.channel-dot.store{background:var(--orange)}.status{padding:4px 6px;border-radius:99px;font-size:8px;font-style:normal;font-weight:700}.status.confirmed{color:var(--green);background:#e8f5f1}.status.pending{color:#ad6c29;background:#fff1e3}
.green-badge{color:var(--green);background:#e7f5f1}.course-card{margin-top:16px;overflow:hidden;border:1px solid var(--line);border-radius:9px}.course-cover{height:96px;position:relative;display:grid;place-items:center;color:white;background:linear-gradient(135deg,#15324b,#207c78)}.course-cover:after{content:"";position:absolute;width:100px;height:100px;right:-30px;top:-28px;border:26px solid rgba(242,140,56,.28);border-radius:50%}.course-cover>span{width:38px;height:38px;display:grid;place-items:center;padding-left:2px;border-radius:50%;background:var(--orange)}.course-cover small{position:absolute;right:10px;bottom:8px;padding:3px 6px;border-radius:4px;background:rgba(0,0,0,.35);font-size:7px}.course-info{padding:13px}.course-info>span{color:var(--orange);font-size:7px;font-weight:700;letter-spacing:1px}.course-info>strong{display:block;margin:4px 0 7px;font-size:11px}.course-info>p{margin:0;color:#8e9aa4;font-size:8px}.course-info .progress{height:5px;margin:9px 0}.course-info .progress i{background:var(--green)}.course-info button{padding:0;border:0;color:var(--green);background:none;font-size:9px;font-weight:700}
.seller-bottom-grid { grid-template-columns:minmax(0,1.55fr) minmax(300px,.8fr) }.top-book-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:15px}.top-book-list>div{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:8px;padding:9px;border:1px solid var(--line);border-radius:8px}.top-book-list p{margin:0}.top-book-list strong,.top-book-list small{display:block}.top-book-list strong{font-size:9px}.top-book-list small{margin-top:3px;color:#96a0aa;font-size:7px}.top-book-list>div>b{font-size:13px}.top-book-list>div>b small{display:inline}.cover-3{background:#cfb768;color:#1f3144}

/* New sale */
.new-sale-screen{display:none;min-height:100vh;flex-direction:column;background:#f5f7f9}.new-sale-screen.is-active{display:flex}.sale-header{height:72px;display:flex;align-items:center;padding:0 clamp(20px,4vw,60px);border-bottom:1px solid var(--line);background:white}.back-to-dashboard{width:38px;height:38px;margin-right:18px;border:1px solid var(--line);border-radius:50%;background:white}.sale-user{margin-left:auto;display:flex;align-items:center;gap:9px}.sale-user strong,.sale-user small{display:block}.sale-user strong{font-size:11px}.sale-user small{color:#8e99a4;font-size:8px}.sale-workspace{width:min(1320px,100%);margin:auto;padding:30px clamp(20px,4vw,56px) 50px}.sale-title-row{display:flex;align-items:end;justify-content:space-between}.sale-title-row h1{margin:0 0 6px;font:700 30px "Manrope";letter-spacing:-1px}.sale-title-row>div>p:last-child{margin:0;color:var(--text);font-size:12px}.draft-state{display:flex;align-items:center;gap:6px;color:#7e8b96;font-size:10px}.draft-state i{width:6px;height:6px;border-radius:50%;background:var(--green)}.sale-steps{display:flex;margin:28px 0 20px;padding:0;list-style:none}.sale-steps li{width:33.33%;position:relative;display:flex;align-items:center;gap:10px}.sale-steps li:not(:last-child):after{content:"";position:absolute;left:42px;right:10px;top:16px;height:1px;background:#dce2e7}.sale-steps li>span{width:32px;height:32px;position:relative;z-index:1;display:grid;place-items:center;border:1px solid #cfd7de;border-radius:50%;color:#94a0aa;background:#f5f7f9;font-size:10px;font-weight:700}.sale-steps li.is-active>span{border-color:var(--orange);color:white;background:var(--orange)}.sale-steps b,.sale-steps small{display:block}.sale-steps b{font-size:10px}.sale-steps small{margin-top:2px;color:#97a2ac;font-size:8px}.sale-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,.7fr);gap:18px;align-items:start}.sale-products,.sale-cart{padding:20px}.sale-search-row{display:flex;gap:10px}.sale-search{height:42px;flex:1;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--line);border-radius:8px}.sale-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;font-size:11px}.filter-button{padding:0 14px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--text);font-size:10px;font-weight:700}.sale-categories{display:flex;gap:7px;margin:16px 0}.sale-categories button{padding:6px 10px;border:1px solid var(--line);border-radius:99px;color:#7f8b96;background:white;font-size:8px}.sale-categories button.is-active{border-color:var(--navy);color:white;background:var(--navy)}.product-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.product-card{position:relative;display:grid;grid-template-columns:58px 1fr;gap:12px;min-height:115px;padding:12px;border:1px solid var(--line);border-radius:9px;background:white}.product-card:hover{border-color:#b8c5cf;box-shadow:0 8px 20px rgba(20,38,61,.06)}.product-cover{width:56px;height:80px;font-size:7px}.habits{background:#172b43}.infinity{background:#aa584d}.ikigai{background:#cfb768;color:#172b43}.midnight{background:#413d69}.product-card small{color:#98a2ab;font-size:8px}.product-card h3{margin:3px 28px 5px 0;font-size:11px;line-height:1.25}.product-card p{margin:0 0 9px;color:#929da7;font-size:7px}.product-card p b{color:var(--green)}.product-card p .low-stock{color:#c46f29}.product-card>div>strong{font-size:12px}.add-product{position:absolute;right:10px;top:10px;width:27px;height:27px;border:0;border-radius:7px;color:var(--orange);background:#fff0e5;font-size:17px}.cart-heading{display:flex;justify-content:space-between}.cart-heading h2{margin:0 0 3px;font:700 15px "Manrope"}.cart-heading p{margin:0;color:#98a2ab;font-size:8px}.cart-heading>button{border:0;color:#c8665c;background:none;font-size:8px;font-weight:700}.cart-items{margin:15px 0}.cart-item{display:grid;grid-template-columns:36px 1fr auto;gap:9px;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.cart-item>.book-cover{width:34px;height:45px}.cart-item strong,.cart-item small{display:block}.cart-item strong{font-size:9px}.cart-item small{margin-top:3px;color:#8f9aa4;font-size:7px}.cart-item>b{font-size:9px}.quantity{display:flex;align-items:center;gap:8px;margin-top:7px}.quantity button{width:20px;height:20px;border:1px solid var(--line);border-radius:5px;background:white;font-size:10px}.quantity span{font-size:9px}.customer-select{width:100%;display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:8px;padding:11px;border:1px dashed #cfd7de;border-radius:8px;background:#fafbfc;text-align:left}.customer-select>span{width:28px;height:28px;display:grid;place-items:center;border-radius:7px;color:var(--green);background:#e8f5f1}.customer-select small,.customer-select strong{display:block}.customer-select small{color:#95a0aa;font-size:7px}.customer-select strong{margin-top:2px;font-size:9px}.customer-select>b{color:#9aa4ad}.sale-totals{margin-top:16px}.sale-totals p{display:flex;justify-content:space-between;margin:9px 0;color:#7f8b95;font-size:9px}.sale-totals b{color:var(--ink)}.sale-totals button{padding:0;border:0;color:var(--orange);background:none;font-size:8px;font-weight:700}.sale-totals hr{border:0;border-top:1px solid var(--line)}.sale-totals .grand-total{align-items:center;color:var(--ink);font-weight:700}.grand-total strong{font:700 20px "Manrope"}.continue-sale{width:100%;height:43px;border:0;border-radius:7px;color:white;background:var(--orange);font-size:10px;font-weight:700}.continue-sale span{float:right;margin-right:5px}.stock-note{margin:12px 0 0!important;color:#8b979f!important;text-align:center;font-size:8px!important}.stock-note span{color:var(--green)}
.checkout-modal{position:fixed;z-index:200;inset:0;display:grid;place-items:center;padding:20px;background:rgba(9,25,40,.64);backdrop-filter:blur(3px)}.checkout-modal[hidden]{display:none}.checkout-dialog{width:min(500px,100%);position:relative;padding:28px;border-radius:16px;background:white;box-shadow:0 30px 90px rgba(4,18,31,.32)}.modal-close{position:absolute;right:18px;top:16px;border:0;color:#87939e;background:none;font-size:24px}.checkout-step>h2{margin:0 0 7px;font:700 24px "Manrope";letter-spacing:-.7px}.checkout-step>p:not(.eyebrow){margin:0 0 20px;color:var(--text);font-size:11px;line-height:1.5}.modal-search{height:42px;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--line);border-radius:8px}.modal-search input{flex:1;border:0;outline:0;font-size:10px}.customer-list{margin:12px 0}.customer-option,.payment-option{width:100%;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;margin-top:7px;padding:10px;border:1px solid var(--line);border-radius:8px;background:white;text-align:left}.customer-option strong,.customer-option small,.payment-option strong,.payment-option small{display:block}.customer-option strong,.payment-option strong{font-size:10px}.customer-option small,.payment-option small{margin-top:3px;color:#939ea8;font-size:8px}.customer-option i,.payment-option i{display:none;color:var(--green);font-style:normal}.customer-option.is-selected,.payment-option.is-selected{border-color:var(--green);background:#f4fbf8}.customer-option.is-selected i,.payment-option.is-selected i{display:block}.new-customer-link,.receipt-link{border:0;color:var(--green);background:none;font-size:9px;font-weight:700}.modal-primary,.modal-secondary{height:43px;border-radius:7px;font-size:10px;font-weight:700}.modal-primary{width:100%;margin-top:18px;border:0;color:white;background:var(--orange)}.modal-primary span{float:right;margin-right:8px}.payment-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.payment-option{grid-template-columns:30px 1fr auto;margin:0}.payment-option>span{width:30px;height:30px;display:grid;place-items:center;border-radius:7px;color:var(--orange);background:#fff0e4}.payment-summary,.receipt-card{margin-top:18px;padding:13px;border-radius:9px;background:#f6f8fa}.payment-summary p,.receipt-card p{display:flex;justify-content:space-between;margin:8px 0;color:#788692;font-size:9px}.payment-summary b,.receipt-card b{color:var(--ink)}.payment-summary .total,.receipt-card p:last-child{align-items:center;padding-top:8px;border-top:1px solid var(--line)}.payment-summary strong,.receipt-card strong{color:var(--ink);font:700 17px "Manrope"}.payment-check{display:flex;align-items:center;gap:8px;margin:16px 0;color:var(--text);font-size:9px}.payment-check input{accent-color:var(--green)}.modal-actions{display:grid;grid-template-columns:.6fr 1fr;gap:9px}.modal-actions .modal-primary{margin:0}.modal-secondary{border:1px solid var(--line);background:white}.success-step{text-align:center}.success-mark{width:64px;height:64px;display:grid;place-items:center;margin:0 auto 18px;border-radius:50%;color:white;background:var(--green);font-size:28px;box-shadow:0 10px 25px rgba(22,133,106,.24)}.success-step .eyebrow{margin-bottom:8px}.success-step .receipt-card{text-align:left}.success-step .receipt-link{margin-top:12px}

/* Seller sales history */
.seller-sales-screen{display:none;min-height:100vh;flex-direction:column;background:#f5f7f9}.seller-sales-screen.is-active{display:flex}.sales-history-workspace{width:min(1320px,100%);margin:auto;padding:32px clamp(20px,4vw,56px) 56px}.sales-history-heading{display:flex;align-items:end;justify-content:space-between;gap:20px}.sales-history-heading h1{margin:0 0 6px;font:700 30px "Manrope";letter-spacing:-1px}.sales-history-heading>div>p:last-child{margin:0;color:var(--text);font-size:12px}.sales-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:24px 0 16px}.sales-summary article{padding:18px 20px;border:1px solid var(--line);border-radius:10px;background:white}.sales-summary span,.sales-summary strong,.sales-summary small{display:block}.sales-summary span{color:#87939e;font-size:9px;font-weight:700}.sales-summary strong{margin:7px 0 4px;font:700 22px "Manrope"}.sales-summary small{color:#8c98a2;font-size:8px}.sales-history-panel{padding:0;overflow:hidden}.sales-toolbar{display:grid;grid-template-columns:minmax(240px,1.6fr) repeat(3,minmax(130px,.6fr));gap:10px;padding:18px;border-bottom:1px solid var(--line)}.sales-toolbar label{height:42px;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid var(--line);border-radius:8px;background:white}.sales-toolbar label>span{color:#919ca5;font-size:8px;font-weight:700}.sales-toolbar input,.sales-toolbar select{min-width:0;flex:1;border:0;outline:0;color:var(--ink);background:white;font-size:9px}.history-search>span{font-size:16px!important}.history-table-head,.history-row{display:grid;grid-template-columns:1fr 1.25fr .85fr .85fr .7fr .65fr;align-items:center;gap:12px}.history-table-head{padding:10px 18px;color:#98a3ad;background:#f8f9fa;font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.history-row{min-height:68px;padding:10px 18px;border-bottom:1px solid #edf0f3;font-size:9px}.history-row:hover{background:#fcfdfd}.history-row span:first-child b,.history-row span:first-child small,.history-row>span:nth-child(2) small{display:block}.history-row small{margin-top:3px;color:#96a1aa;font-size:8px}.history-row>span:nth-child(3){display:flex;align-items:center;gap:6px}.history-row>strong{text-align:right;font-size:10px}.status.cancelled{color:#a3544d;background:#f9e9e7}.view-sale{padding:7px 9px;border:1px solid var(--line);border-radius:6px;color:var(--green);background:white;font-size:8px;font-weight:700}.view-sale:hover{border-color:var(--green);background:#f2faf7}.sales-empty{padding:35px;text-align:center;color:#89959f;font-size:11px}.history-footer{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;color:#8c98a2;font-size:8px}.history-footer>div{display:flex;gap:5px}.history-footer button{width:28px;height:28px;border:1px solid var(--line);border-radius:6px;background:white;font-size:9px}.history-footer button.is-active{border-color:var(--navy);color:white;background:var(--navy)}.history-footer button:disabled{opacity:.4}.sale-detail-modal{position:fixed;z-index:210;inset:0;display:grid;place-items:center;padding:20px;background:rgba(9,25,40,.64);backdrop-filter:blur(3px)}.sale-detail-modal[hidden]{display:none}.sale-detail-dialog{width:min(520px,100%);max-height:calc(100vh - 40px);position:relative;overflow:auto;padding:28px;border-radius:16px;background:white;box-shadow:0 30px 90px rgba(4,18,31,.32)}.sale-detail-dialog h2{margin:0 0 5px;font:700 24px "Manrope"}.sale-detail-dialog>p:not(.eyebrow){margin:0;color:#8d99a3;font-size:9px}.detail-status-line{display:flex;align-items:center;gap:9px;margin:16px 0;padding-bottom:15px;border-bottom:1px solid var(--line);color:#8c98a2;font-size:8px}.detail-customer{display:flex;align-items:center;gap:10px;margin-bottom:14px}.detail-customer small,.detail-customer strong{display:block}.detail-customer small{color:#98a2ab;font-size:8px}.detail-customer strong{margin-top:2px;font-size:10px}.detail-items{border:1px solid var(--line);border-radius:9px}.detail-items>div{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:9px;padding:10px}.detail-items>div+div{border-top:1px solid var(--line)}.detail-items p{margin:0}.detail-items strong,.detail-items small{display:block}.detail-items strong{font-size:9px}.detail-items small{margin-top:3px;color:#929da6;font-size:7px}.detail-items b{font-size:9px}.detail-totals{margin-top:14px;padding:12px;border-radius:8px;background:#f6f8fa}.detail-totals p{display:flex;justify-content:space-between;margin:7px 0;color:#7f8b95;font-size:9px}.detail-totals b{color:var(--ink)}.detail-totals .total{align-items:center;padding:9px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--ink);font-weight:700}.detail-totals strong{font:700 18px "Manrope"}

/* Complete modules and public store */
.header-links,.module-shortcuts,.module-toolbar,.store-header>div{display:flex;gap:9px}
.module-screen,.store-screen{display:none;min-height:100vh;flex-direction:column;background:#f5f7f9}.module-screen.is-active,.store-screen.is-active{display:flex}
.module-header{position:sticky;z-index:30;top:0}.module-shortcuts{margin-left:30px}.module-shortcuts button{padding:7px 10px;border:0;border-radius:6px;color:#73808c;background:transparent;font-size:9px;font-weight:700}
.module-workspace{width:min(1320px,100%);margin:auto;padding:32px clamp(20px,4vw,56px) 56px}
.module-heading{display:flex;align-items:end;justify-content:space-between;gap:20px}.module-heading h1{margin:0 0 6px;font:700 30px "Manrope";letter-spacing:-1px}.module-heading>div>p:last-child{margin:0;color:var(--text);font-size:12px}.module-heading-actions{flex-shrink:0}
.module-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:24px 0 16px}.module-kpis article{padding:17px 18px;border:1px solid var(--line);border-radius:10px;background:white}.module-kpis span,.module-kpis strong,.module-kpis small{display:block}.module-kpis span{color:#87939e;font-size:9px;font-weight:700}.module-kpis strong{margin:7px 0 3px;font:700 20px "Manrope"}.module-kpis small{color:#8c98a2;font-size:8px}
.module-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,.65fr);gap:16px}.module-main{min-width:0}.module-side h3,.settings-card h3,.audit-card h3,.goal-module h3{margin:0 0 16px;font:700 15px "Manrope"}
.module-toolbar{margin-bottom:15px}.module-toolbar label{height:40px;min-width:220px;flex:1;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid var(--line);border-radius:7px}.module-toolbar input{min-width:0;flex:1;border:0;outline:0}.module-toolbar select,.module-toolbar>button{padding:0 11px;border:1px solid var(--line);border-radius:7px;background:white;color:#687684;font-size:9px}
.ops-head,.ops-row{display:grid;grid-template-columns:1fr 1.15fr 1fr .85fr .75fr .65fr;align-items:center;gap:10px}.ops-head{padding:9px 10px;color:#97a2ac;background:#f7f9fa;font-size:8px;font-weight:700;text-transform:uppercase}.ops-row{min-height:58px;padding:9px 10px;border-bottom:1px solid #edf0f3;font-size:9px}.ops-row:hover{background:#fcfdfd}.ops-row b small{display:block;margin-top:3px;color:#98a3ac;font-size:7px;font-weight:400}
.flow-step{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.flow-step>span{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#eef2f4;font-size:9px}.flow-step.done>span{color:white;background:var(--green)}.flow-step b,.flow-step small{display:block}.flow-step b{font-size:9px}.flow-step small{margin-top:3px;color:#96a1aa;font-size:8px}
.module-secondary{width:100%;min-height:36px;margin-top:14px;border:1px solid var(--line);border-radius:7px;color:var(--green);background:white;font-size:9px;font-weight:700}.activity-list{margin:0;padding:0;list-style:none}.activity-list li{display:grid;grid-template-columns:8px 1fr auto;align-items:center;gap:9px;padding:11px 0;border-bottom:1px solid var(--line)}.activity-list i{width:7px;height:7px;border-radius:50%;background:#9da8b1}.activity-list i.in{background:var(--green)}.activity-list i.out{background:var(--orange)}.activity-list b,.activity-list small{display:block}.activity-list b{font-size:9px}.activity-list small,.activity-list time{color:#98a2ab;font-size:7px}
.catalog-admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.catalog-admin-grid article{display:grid;grid-template-columns:58px 1fr;gap:10px;padding:13px;border:1px solid var(--line);border-radius:9px}.catalog-admin-grid .store-cover{grid-row:1/3;width:56px;height:78px;font-size:7px}.catalog-admin-grid h3{margin:3px 0;font-size:10px}.catalog-admin-grid p,.catalog-admin-grid small{margin:0;color:#929da7;font-size:7px}.catalog-admin-grid button{grid-column:1/-1}
.people-list article{display:grid;grid-template-columns:38px 1.3fr 1fr .75fr .6fr;align-items:center;gap:11px;padding:12px 4px;border-bottom:1px solid var(--line)}.people-list h3,.people-list p{margin:0}.people-list h3{font-size:10px}.people-list p{margin-top:3px;color:#929da7;font-size:8px}.people-list strong,.people-list strong small{display:block}.people-list strong small{color:var(--green);font-size:7px}
.mini-profile{display:flex;align-items:center;gap:9px;padding:11px 0;border-bottom:1px solid var(--line)}.mini-profile b,.mini-profile small{display:block}.mini-profile b{font-size:9px}.mini-profile small{color:#929da7;font-size:7px}.plan-rate{padding:17px;border-radius:9px;color:white;background:linear-gradient(135deg,#143249,#187963);font:700 26px "Manrope"}.plan-rate small{display:block;color:#c3ddd5;font:400 8px "DM Sans"}.module-copy{color:#7c8994;font-size:9px;line-height:1.6}
.course-admin-list>article{display:grid;grid-template-columns:70px 1fr auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.course-thumb{height:52px;display:grid;place-items:center;border-radius:8px;color:white;background:var(--green)}.course-thumb.orange{background:var(--orange)}.course-thumb.navy{background:var(--navy)}.course-admin-list h3{margin:4px 0;font-size:10px}.course-admin-list p,.course-admin-list small{margin:0;color:#8f9aa4;font-size:8px}.learning-stat{display:flex;gap:9px;padding:10px 0;border-bottom:1px solid var(--line)}.learning-stat strong{font:700 20px "Manrope"}.learning-stat span{color:#7f8b96;font-size:8px}
.report-filters{display:grid;grid-template-columns:repeat(4,1fr) auto;gap:7px}.report-filters select,.report-filters button{height:36px;border:1px solid var(--line);border-radius:6px;background:white;font-size:8px}.report-chart{height:260px;margin-top:16px;padding:25px 12px 0;background:#f9fbfb}.chart-bars{height:200px;display:flex;align-items:end;justify-content:space-around;gap:14px;border-bottom:1px solid var(--line)}.chart-bars i{width:8%;height:var(--v);position:relative;border-radius:5px 5px 0 0;background:linear-gradient(#2a9e82,#16856a)}.chart-bars i span{position:absolute;left:50%;bottom:-23px;transform:translateX(-50%);font:normal 8px "DM Sans"}.report-legend{display:flex;justify-content:space-between;margin-top:28px;font-size:9px}.report-link{width:100%;display:flex;align-items:center;gap:9px;padding:10px;border:0;border-bottom:1px solid var(--line);background:white;text-align:left}.report-link b,.report-link small{display:block}.report-link small{color:#929da7;font-size:7px}
.settings-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.settings-card label,.profile-card>label{display:block;margin-top:12px;color:#778490;font-size:8px;font-weight:700}.settings-card label>input:not([type=checkbox]),.profile-card label input{width:100%;height:38px;margin-top:5px;padding:0 10px;border:1px solid var(--line);border-radius:7px}.toggle-row{display:flex!important;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line)}.toggle-row span,.toggle-row small{display:block}.toggle-row small{color:#9aa4ad}.profile-hero{display:flex;align-items:center;gap:12px}.profile-hero .avatar{width:48px;height:48px}.profile-hero h3,.profile-hero p{margin:0}
.goal-module{display:grid;grid-template-columns:1.3fr .7fr;gap:16px}.goal-feature{display:flex;align-items:center;justify-content:space-between;padding:28px!important;color:white;background:linear-gradient(120deg,#12334a,#18566a)}.goal-feature>div:first-child{width:65%}.goal-feature p{margin:0}.goal-feature>div>strong{display:block;font:700 32px "Manrope"}.goal-ring.large{width:125px;height:125px}.goal-ring.large svg{width:125px}.chart-bars.compact{height:145px}
.course-library{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.course-library-card{overflow:hidden;padding:0}.course-thumb.large{height:125px;border-radius:0;font-size:24px}.course-library-card>div:last-child{padding:15px}.course-library-card h3{margin:5px 0;font-size:12px}.course-library-card p{font-size:8px}.course-library-card button{border:0;color:var(--green);background:none;font-size:9px;font-weight:700}
.universal-modal{position:fixed;z-index:300;inset:0;display:grid;place-items:center;padding:20px;background:rgba(9,25,40,.68);backdrop-filter:blur(4px)}.universal-modal[hidden]{display:none}.universal-dialog{width:min(540px,100%);max-height:calc(100vh - 40px);position:relative;overflow:auto;padding:29px;border-radius:16px;background:white}.universal-dialog h2{margin:0 0 8px;font:700 24px "Manrope"}.universal-dialog>div>p:not(.eyebrow){color:#74818d;font-size:10px;line-height:1.55}.universal-field,.checkout-form label{display:block;margin-top:12px;color:#6f7d89;font-size:9px;font-weight:700}.universal-field input,.universal-field select,.checkout-form input,.checkout-form select{width:100%;height:42px;margin-top:6px;padding:0 11px;border:1px solid var(--line);border-radius:7px}.modal-note,.modal-warning{padding:10px;border-radius:7px;background:#fff5e7;font-size:8px!important}.universal-summary{padding:12px;border-radius:8px;background:#f6f8fa}.universal-summary p{display:flex;justify-content:space-between;margin:7px 0;font-size:9px}.center{text-align:center}.full-button{width:100%;margin-top:8px}.video-demo{height:220px;display:grid;place-items:center;position:relative;border-radius:10px;color:white;background:radial-gradient(circle,#214f65,#10263d)}.video-demo>span{width:60px;height:60px;display:grid;place-items:center;border-radius:50%;background:var(--orange);font-size:20px}.video-demo small{position:absolute;bottom:15px}.lesson-demo-progress{margin-top:15px;font-size:9px}.lesson-demo-progress>b{float:right}.quiz-options{margin:18px 0;padding:14px;border:1px solid var(--line);border-radius:9px}.quiz-options label{display:block;margin-top:9px;padding:10px;border:1px solid var(--line);border-radius:7px;font-size:9px}
.store-screen{background:#fff}.store-header{height:76px;position:sticky;z-index:40;top:0;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,5vw,72px);border-bottom:1px solid var(--line);background:#fff}.store-header nav{display:flex;gap:24px;font-size:11px}.store-auth-actions{align-items:center}.store-login,.store-register,.store-cart-button{min-height:46px;padding:0 19px;border:1px solid var(--line);border-radius:9px;background:white;font-size:14px!important;font-weight:800}.store-login{color:var(--navy);border-color:#bfdbfe;background:#eff6ff}.store-register{color:white;border-color:var(--green);background:var(--green);box-shadow:0 3px 8px rgba(15,118,110,.2)}.store-cart-button{color:white;background:var(--navy)}.store-cart-button span{display:inline-grid;place-items:center;width:18px;height:18px;margin-left:6px;border-radius:50%;color:var(--navy);background:white}
.store-hero{min-height:520px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:40px;padding:60px clamp(24px,8vw,120px);color:white;background:radial-gradient(circle at 72% 20%,rgba(30,151,119,.45),transparent 28%),linear-gradient(125deg,#10243b,#153c54)}.store-hero h1{margin:0 0 18px;font:700 clamp(42px,5vw,70px)/1.06 "Manrope";letter-spacing:-2.5px}.store-hero>div>p:not(.eyebrow){color:#c2d3dd}.store-hero>div>div{display:flex;gap:10px;margin:28px 0}.store-primary,.store-secondary{display:inline-flex;align-items:center;min-height:46px;padding:0 18px;border-radius:8px;font-size:10px;font-weight:700}.store-primary{background:var(--orange)}.store-secondary{border:1px solid #ffffff55;color:white;background:transparent}.hero-books{height:360px;position:relative}.hero-book{width:170px;height:250px;position:absolute;display:grid;place-items:center;padding:20px;border-radius:6px;color:white;text-align:center;font:800 17px "Manrope";box-shadow:20px 30px 50px #0005}.hero-book.one{left:30%;top:60px;z-index:3;background:#172b43;transform:rotate(-4deg)}.hero-book.two{left:3%;top:88px;background:#a9574c;transform:rotate(-13deg)}.hero-book.three{left:56%;top:95px;background:#cfb768;color:#1e3043;transform:rotate(9deg)}
.store-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:22px clamp(24px,8vw,120px);background:#fbfcfd}.store-benefits article{display:flex;justify-content:center;gap:11px}.store-benefits article>span{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;color:var(--green);background:#e8f5f1}.store-benefits strong,.store-benefits small{display:block}.store-benefits strong{font-size:10px}.store-benefits small{font-size:8px}
.store-catalog{padding:70px clamp(24px,8vw,120px)}.store-section-title{display:flex;align-items:end;justify-content:space-between}.store-section-title h2,.order-lookup h2{margin:0;font:700 30px "Manrope"}.store-section-title label{width:300px;height:42px;display:flex;align-items:center;padding:0 12px;border:1px solid var(--line);border-radius:8px}.store-section-title input{flex:1;border:0;outline:0}.store-products{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:28px}.store-product{padding:14px;border:1px solid var(--line);border-radius:12px}.store-cover{width:100%;height:230px;display:grid;place-items:center;border-radius:5px;color:white;text-align:center;font:800 14px "Manrope";box-shadow:4px 8px 14px #0003}.store-product>small{display:block;margin-top:15px;font-size:8px}.store-product h3{margin:4px 0}.store-product p{min-height:34px;font-size:8px}.store-product>div:last-child{display:flex;justify-content:space-between}.store-add{padding:8px 10px;border:0;border-radius:6px;color:white;background:var(--orange);font-size:8px}
.order-lookup{display:grid;grid-template-columns:1fr 1.2fr;gap:40px;margin:20px clamp(24px,8vw,120px) 80px;padding:38px;border-radius:16px;background:#f3f7f7}.order-lookup form{display:grid;grid-template-columns:1fr 1fr auto;gap:8px}.order-lookup input,.order-lookup button{height:42px;border:1px solid var(--line);border-radius:7px}.order-lookup button{color:white;background:var(--green)}.order-result{grid-column:2;padding:12px;background:white}.order-result strong,.order-result small{display:block}.store-footer{padding:35px clamp(24px,8vw,120px);color:#c2d0da;background:var(--navy-deep)}
.store-cart{width:min(420px,92vw);position:fixed;z-index:260;top:0;right:0;bottom:0;padding:24px;overflow:auto;background:white}.store-cart[hidden],.store-cart-overlay[hidden]{display:none}.store-cart-overlay{position:fixed;z-index:250;inset:0;background:#08182688}.store-cart-head{display:flex;justify-content:space-between}.store-cart-head button{border:0;background:none;font-size:25px}.store-cart-items article{display:grid;grid-template-columns:1fr auto auto;gap:10px;padding:13px 0;border-bottom:1px solid var(--line)}.store-cart-items b,.store-cart-items small{display:block}.store-qty{display:flex;gap:7px}.store-qty button{border:1px solid var(--line);background:white}.cart-empty{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center}.store-cart-total{display:flex;justify-content:space-between;padding:16px 0}.store-checkout{width:100%;height:45px;border:0;border-radius:7px;color:white;background:var(--orange)}.store-checkout:disabled{opacity:.45}.checkout-form{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.checkout-form label:nth-child(4){grid-column:1/-1}

@media (max-width: 1080px) {
  .onboarding-layout { grid-template-columns: .75fr 1.25fr; gap: 40px; }
  .welcome-copy h1 { font-size: 46px; }
  .feature-card { flex-basis: 330px; min-height: 450px; }
  .login-panel { width: 58%; }.login-art{width:42%}.floating-card{transform:scale(.85)!important}.team-card{right:1%}
  .kpi-grid { grid-template-columns: repeat(2,1fr); }
  .dashboard-grid, .bottom-grid { grid-template-columns: 1fr; }
  .seller-hero-grid { grid-template-columns:1fr; }.seller-motivation{min-height:125px}.seller-kpis{grid-template-columns:repeat(2,1fr)}
  .sale-layout{grid-template-columns:1fr}.sale-cart{position:static}.sale-steps li>div{display:none}
  .sales-toolbar{grid-template-columns:1fr 1fr}.history-table-head,.history-row{grid-template-columns:1fr 1.2fr .8fr .7fr}.history-table-head span:nth-child(3),.history-table-head span:nth-child(4),.history-row>span:nth-child(3),.history-row>span:nth-child(4){display:none}
  .module-kpis{grid-template-columns:repeat(2,1fr)}.module-grid{grid-template-columns:1fr}.store-products{grid-template-columns:repeat(2,1fr)}.settings-grid,.course-library{grid-template-columns:1fr 1fr}.report-filters{grid-template-columns:1fr 1fr}.goal-module{grid-template-columns:1fr}
}

@media (max-width: 820px) {
  .onboarding-layout { display: block; padding-top: 2vh; }
  .welcome-copy { margin-bottom: 35px; }.welcome-copy h1{max-width:620px;font-size:42px}.welcome-copy>p:not(.eyebrow){font-size:15px}.carousel-actions{display:none}.carousel-wrap{overflow:hidden}.feature-card{flex-basis:calc(100vw - 48px);min-height:420px}.sales-visual,.stock-visual,.learning-visual{height:200px}
  .login-panel { width: 100%; padding: 72px 24px 40px; }.login-art{display:none}.login-content>.brand{margin-bottom:42px}.role-switch{margin-top:-22px}
  .sidebar { transform: translateX(-100%); transition: .25s; }.sidebar.is-open{transform:translateX(0)}.sidebar-close{display:block}.sidebar-overlay.is-open{display:block;position:fixed;z-index:15;inset:0;background:rgba(4,17,30,.45)}
  .dashboard-main { width:100%;margin-left:0 }.dashboard-header{padding:0 18px}.menu-button{display:block}.search-box{width:auto;flex:1}.search-box kbd{display:none}.dashboard-content{padding:22px}.dashboard-title-row{align-items:start}.dashboard-title-row h1{font-size:25px}
  .sales-summary{grid-template-columns:1fr 1fr}.sales-summary article:last-child{grid-column:1/-1}
  .module-shortcuts{display:none}.catalog-admin-grid{grid-template-columns:1fr 1fr}.settings-grid{grid-template-columns:1fr}.store-header nav{display:none}.store-hero{grid-template-columns:1fr;padding-top:50px}.hero-books{display:none}.order-lookup{grid-template-columns:1fr}.order-result{grid-column:1}.store-benefits{grid-template-columns:1fr}
}

@media (max-width: 560px) {
  .onboarding-header, .onboarding-footer { padding: 18px 16px; }.onboarding-header .text-button{display:none}.header-links{gap:7px}.auth-button{min-height:44px;padding:0 13px;font-size:13px}.onboarding-layout{padding-left:20px;padding-right:20px}.welcome-copy h1{font-size:36px;letter-spacing:-2px}.feature-card{flex-basis:calc(100vw - 40px);padding:22px}.onboarding-footer>span{display:none}.onboarding-footer{justify-content:flex-end}
  .login-heading h1{font-size:31px}.login-content>.brand{margin-bottom:32px}
  .search-box { display:none}.dashboard-title-row{display:block}.period-select{width:max-content;margin-top:18px}.primary-action{font-size:0}.primary-action:first-letter{font-size:18px}.kpi-grid,.seller-kpis{grid-template-columns:1fr}.kpi-card{min-height:160px}.dashboard-content{padding:18px}.panel{padding:16px}.legend{display:none}.chart-wrap{height:220px}.bottom-grid,.dashboard-grid{grid-template-columns:minmax(0,1fr)}.book-row{grid-template-columns:35px 1fr auto}.book-row button{display:none}.ranking-list li{grid-template-columns:20px 32px 1fr auto}.seller-goal-card{padding:22px 18px}.goal-copy{width:62%}.goal-copy>strong{font-size:24px}.goal-ring{width:96px;height:96px}.goal-ring svg{width:96px}.sales-table-head{display:none}.sales-table-row{grid-template-columns:1fr 1fr auto}.sales-table-row>span:nth-child(3),.sales-table-row>span:nth-child(4){display:none}.top-book-list{grid-template-columns:1fr}.seller-referral{display:none}
  .sale-header{padding:0 15px}.sale-header>.brand{font-size:17px}.sale-user>div{display:none}.sale-workspace{padding:22px 15px 35px}.sale-title-row{display:block}.draft-state{margin-top:12px}.sale-title-row h1{font-size:25px}.sale-steps{margin:22px 0 15px}.product-grid{grid-template-columns:1fr}.sale-products,.sale-cart{padding:15px}.sale-categories{overflow-x:auto}.sale-categories button{white-space:nowrap}
  .sales-history-workspace{padding:22px 15px 35px}.sales-history-heading{align-items:start}.sales-history-heading h1{font-size:25px}.sales-summary{grid-template-columns:1fr}.sales-summary article:last-child{grid-column:auto}.sales-toolbar{grid-template-columns:1fr}.history-table-head{display:none}.history-row{grid-template-columns:1fr auto;gap:6px;padding:14px}.history-row>span:nth-child(2){grid-column:1}.history-row>span:nth-child(3),.history-row>span:nth-child(4){display:none}.history-row>strong{grid-column:2;grid-row:1;text-align:right}.history-row>.view-sale{grid-column:2;grid-row:2}.history-footer{align-items:flex-start;gap:12px}.history-footer>div button:nth-child(3),.history-footer>div button:nth-child(4){display:none}
  .module-workspace{padding:22px 15px 35px}.module-heading{align-items:start}.module-heading h1{font-size:25px}.module-kpis{grid-template-columns:1fr 1fr}.module-toolbar{flex-wrap:wrap}.module-toolbar label{min-width:100%}.ops-head{display:none}.ops-row{grid-template-columns:1fr 1fr}.ops-row>*:nth-child(3),.ops-row>*:nth-child(4){display:none}.people-list article{grid-template-columns:36px 1fr auto}.people-list article>*:nth-child(3),.people-list article>*:nth-child(4){display:none}.catalog-admin-grid,.course-library{grid-template-columns:1fr}.store-header{height:auto;min-height:72px;padding:10px 12px}.store-header>.brand{font-size:16px}.store-auth-actions{gap:5px!important}.store-login,.store-register{min-height:42px;padding:0 10px;font-size:12px!important}.store-cart-button{min-height:42px;padding:0 10px;font-size:0!important}.store-cart-button span{margin-left:0;font-size:12px}.store-hero{padding:42px 20px}.store-hero h1{font-size:40px}.store-catalog{padding:50px 20px}.store-section-title{display:block}.store-section-title label{width:100%;margin-top:18px}.store-products{grid-template-columns:1fr}.order-lookup{margin:10px 20px 50px;padding:24px}.order-lookup form{grid-template-columns:1fr}.checkout-form{grid-template-columns:1fr}.checkout-form label:nth-child(4){grid-column:auto}
}

@media (prefers-reduced-motion: reduce) { *,*:before,*:after { scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important; } }

/* Stitch reference: Corporate Precision & Educational Clarity */
:root{
  --navy:#1e3a8a;
  --navy-deep:#ffffff;
  --orange:#1e3a8a;
  --green:#0f766e;
  --bg:#faf8ff;
  --text:#475569;
  --ink:#0f172a;
  --line:#e2e8f0;
  --shadow:0 1px 3px rgba(15,23,42,.06),0 1px 2px rgba(15,23,42,.04);
}
body,button,input,select{font-family:"Inter",sans-serif;font-variant-numeric:tabular-nums}
h1,h2,h3,h4,.brand,.kpi-card>strong,.module-kpis strong,.goal-copy>strong,.plan-rate,.store-cart-total strong{font-family:"Plus Jakarta Sans",sans-serif!important}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}
.brand>span:last-child>span{color:#0f766e}.brand-mark:after{background:#0f766e}
.eyebrow{color:#0f766e!important;font-size:11px!important;letter-spacing:.12em}
.primary-action,.submit-button,.modal-primary,.store-cart-button,.store-primary{background:#1e3a8a;box-shadow:0 2px 5px rgba(30,58,138,.18)}
.primary-action:hover,.submit-button:hover,.modal-primary:hover{background:#1e40af}
.panel,.kpi-card,.sales-summary article,.module-kpis article,.store-product{border-color:#e2e8f0;border-radius:8px;box-shadow:var(--shadow)}
.text-link,.course-info button,.new-customer-link,.receipt-link{color:#1e3a8a}
.progress{background:#e2e8f0}.progress i{background:#0f766e}
.status.confirmed{color:#15803d;background:#dcfce7}.status.pending{color:#b45309;background:#fef3c7}.status.cancelled{color:#b91c1c;background:#fee2e2}
.badge,.stock-badge.critical{color:#b91c1c;background:#fee2e2}.stock-badge.warning{color:#b45309;background:#fef3c7}

/* White enterprise navigation */
.dashboard-screen,.seller-dashboard{background:#faf8ff}
.sidebar,.seller-dashboard .sidebar{width:260px;color:#334155;background:#fff;border-right:1px solid #e2e8f0;box-shadow:none}
.sidebar-top{height:72px;border-bottom:1px solid #e2e8f0}.brand-light{color:#0f172a}
.sidebar nav{padding:18px 10px}.sidebar nav p{margin:22px 14px 8px;color:#475569;font-size:10px;letter-spacing:.08em}
.nav-item{min-height:44px;padding:0 14px;border-radius:6px;color:#1e293b;font-size:14px}
.nav-item:hover{background:#f1f5f9}.nav-item>span{color:#334155;font-size:16px}
.nav-item.is-active,.seller-dashboard .nav-item.is-active{color:#fff;background:#1e3a8a}
.nav-item.is-active:before,.seller-dashboard .nav-item.is-active:before{display:none}
.nav-item.is-active>span,.seller-dashboard .nav-item.is-active>span{color:#fff}
.nav-item b{color:#1e3a8a;background:#dce1ff}.nav-item.is-active b{color:#1e3a8a;background:#fff}
.sidebar-bottom{padding:10px}.user-mini{padding:12px;border:1px solid #e2e8f0;border-radius:8px;background:#f2f3ff}
.user-mini strong{color:#0f172a}.user-mini small{color:#0f766e}.user-mini button{color:#334155}
.seller-referral{border-color:#dbe3f2;background:#f2f3ff}.seller-referral>span{color:#475569}.seller-referral code{color:#1e3a8a}.seller-referral button{border-color:#99efe5;color:#0f766e;background:#e6fffb}
.dashboard-main{width:calc(100% - 260px);margin-left:260px}
.dashboard-header{height:72px;padding:0 28px;border-color:#e2e8f0;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.03)}
.search-box{height:42px;padding:0 14px;border:0;border-radius:8px;background:#f2f3ff;color:#64748b}.search-box input{background:transparent}
.icon-button{border-color:#e2e8f0;border-radius:6px}.icon-button i{background:#dc2626}
.dashboard-content{padding:28px;background:#faf8ff}.dashboard-title-row h1{color:#1e3a8a;font-size:32px}
.period-select{border:0;border-radius:8px;background:#f2f3ff}.period-select select{background:#f2f3ff}
.kpi-grid{gap:16px}.kpi-card{min-height:168px;padding:22px}.kpi-card:nth-child(1){border-bottom:3px solid #0f766e}.kpi-card:nth-child(2){border-bottom:3px solid #1e3a8a}.kpi-card:nth-child(3){border-bottom:3px solid #f59e0b}.kpi-card:nth-child(4){border-bottom:3px solid #1e3a8a}
.kpi-label{color:#475569;text-transform:uppercase;letter-spacing:.05em}.kpi-card>strong{font-size:30px}.kpi-icon{border-radius:6px}
.dashboard-grid,.bottom-grid{gap:20px;margin-top:20px}.panel{padding:22px}.panel-heading h2{font-size:17px}.panel-heading p{font-size:11px}
.sales-panel,.ranking-panel,.inventory-alerts,.quick-actions{overflow:hidden}
.ranking-list li,.book-row{border-color:#eef2f7}.action-grid button{border-color:#e2e8f0;border-radius:6px;background:#f8fafc}.action-grid button:hover{border-color:#1e3a8a;background:#f2f3ff}.action-grid i{color:#1e3a8a;background:#dce1ff}
.area{fill:url(#greenFade)}.online-line{stroke:#0f766e}.person-line{stroke:#f59e0b}

/* Seller dashboard, sales and POS */
.seller-goal-card{min-height:170px;color:#0f172a;background:linear-gradient(100deg,#fff 0%,#fff 66%,#e6fffb 100%);border:1px solid #e2e8f0;border-radius:8px;box-shadow:var(--shadow)}
.goal-copy>span,.goal-copy>p,.goal-copy small{color:#475569}.goal-copy small b{color:#0f766e}.goal-copy .progress{background:#dbe3f2}.goal-copy .progress i{background:#0f766e}
.goal-ring circle{stroke:#dbe3f2}.goal-ring .goal-value{stroke:#0f766e}.goal-ring span{color:#475569}
.seller-motivation{border-color:#fde7bc;border-radius:8px;background:#fff}.seller-motivation .spark{color:#b45309;background:#fef3c7}
.seller-main-grid,.seller-bottom-grid{gap:20px}.sales-table-head,.history-table-head,.ops-head{color:#475569;background:#f2f3ff}.sales-table-row,.history-row,.ops-row{border-color:#f1f5f9}.sales-table-row:hover,.history-row:hover,.ops-row:hover{background:#f8fafc}
.new-sale-screen,.seller-sales-screen,.module-screen{background:#faf8ff}.sale-header{height:72px;border-color:#e2e8f0;background:#fff}.back-to-dashboard{border-radius:50%;border-color:#e2e8f0}.sale-workspace,.sales-history-workspace,.module-workspace{max-width:1500px}
.sale-title-row h1,.sales-history-heading h1,.module-heading h1{color:#1e3a8a;font-size:32px}
.sale-steps li.is-active>span{border-color:#1e3a8a;background:#1e3a8a}.sale-products,.sale-cart{border-radius:8px}.sale-search,.filter-button,.customer-select{border-color:#cbd5e1;border-radius:6px}.sale-search:focus-within{border-color:#1e3a8a;box-shadow:0 0 0 3px rgba(30,58,138,.15)}
.sale-categories button{border-radius:6px}.sale-categories button.is-active{border-color:#1e3a8a;background:#1e3a8a}
.product-card{border-color:#e2e8f0;border-radius:6px}.product-card:hover{border-color:#1e3a8a}.add-product{color:#1e3a8a;background:#dce1ff;border-radius:5px}
.continue-sale{background:#0f766e;border-radius:6px}.continue-sale:hover{background:#115e59}
.sales-summary article{padding:20px}.sales-summary article:nth-child(1){border-bottom:3px solid #1e3a8a}.sales-summary article:nth-child(2){border-bottom:3px solid #0f766e}.sales-summary article:nth-child(3){border-bottom:3px solid #f59e0b}
.sales-toolbar label,.view-sale,.history-footer button{border-color:#cbd5e1;border-radius:6px}.view-sale{color:#1e3a8a}.history-footer button.is-active{border-color:#1e3a8a;background:#1e3a8a}

/* High-density operational modules */
.module-header{box-shadow:0 1px 2px rgba(15,23,42,.04)}.module-shortcuts button{border-radius:5px}.module-shortcuts button:hover{color:#1e3a8a;background:#f2f3ff}
.module-heading h1{color:#1e3a8a}.module-kpis article{padding:20px}.module-kpis article:nth-child(1){border-bottom:3px solid #0f766e}.module-kpis article:nth-child(2){border-bottom:3px solid #1e3a8a}.module-kpis article:nth-child(3){border-bottom:3px solid #f59e0b}.module-kpis article:nth-child(4){border-bottom:3px solid #1e3a8a}
.module-toolbar label,.module-toolbar select,.module-toolbar>button,.report-filters select,.report-filters button{border-color:#cbd5e1;border-radius:6px;background:#f2f3ff}
.module-toolbar label:focus-within{border-color:#1e3a8a;box-shadow:0 0 0 3px rgba(30,58,138,.12)}
.catalog-admin-grid article,.course-card,.course-library-card{border-color:#e2e8f0;border-radius:8px;background:#fff}.people-list article{border-color:#f1f5f9}
.module-secondary,.row-action,.module-export,.module-add-sale{border:1px solid #e2e8f0;border-radius:6px;color:#1e3a8a;background:#fff}.module-secondary:hover,.row-action:hover,.module-export:hover,.module-add-sale:hover{background:#f2f3ff}
.plan-rate{border-radius:8px;background:#1e3a8a}.course-thumb{border-radius:6px;background:#0f766e}.course-thumb.orange{background:#f59e0b}.course-thumb.navy{background:#1e3a8a}
.report-chart{border:1px solid #e2e8f0;border-radius:8px;background:#fff}.chart-bars i{background:linear-gradient(#14b8a6,#0f766e)}
.settings-card label>input:not([type=checkbox]),.profile-card label input,.universal-field input,.universal-field select,.checkout-form input,.checkout-form select{border-color:#cbd5e1;border-radius:6px}
.goal-feature{color:#0f172a;background:linear-gradient(100deg,#fff,#e6fffb);border:1px solid #e2e8f0}.goal-feature p,.goal-feature>div>span,.goal-feature small{color:#475569}
.universal-dialog,.checkout-dialog,.sale-detail-dialog{border-radius:8px;box-shadow:0 20px 25px -5px rgba(15,23,42,.1)}.universal-modal,.checkout-modal,.sale-detail-modal{background:rgba(15,23,42,.45)}
.video-demo{border-radius:8px;background:#0f172a}.quiz-options,.quiz-options label{border-color:#e2e8f0;border-radius:6px}

/* Login and public commerce */
.login-screen{background:#faf8ff}.login-panel{width:62%;padding:50px}.login-content{width:min(620px,100%);padding:38px 42px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.06)}
.login-content>.brand{margin-bottom:42px}.login-heading h1{color:#1e3a8a;font-size:38px}.role-switch{margin:-20px 0 24px;border-radius:6px;background:#f2f3ff}.role-switch button{border-radius:4px}.role-switch button.is-active{color:#1e3a8a}
.google-button,.input-wrap{border-color:#cbd5e1;border-radius:6px}.input-wrap{background:#f2f3ff}.input-wrap:focus-within{border-color:#1e3a8a;box-shadow:0 0 0 3px rgba(30,58,138,.15)}
.access-note{border-radius:6px;background:#f2f3ff}.login-art{width:38%;background:linear-gradient(150deg,#00236f,#1e3a8a)}.floating-card{border-radius:8px}.team-card i{background:#80d5cb}.login-art>p{color:#80d5cb}
.onboarding-screen{background:radial-gradient(circle at 80% 15%,rgba(15,118,110,.36),transparent 28%),linear-gradient(125deg,#00164e,#1e3a8a)}.round-button.primary{border-color:#0f766e;background:#0f766e}.feature-card{border-radius:8px}.card-tag{color:#0f766e;background:#dcfce7}
.store-header{border-color:#e2e8f0}.store-hero{background:radial-gradient(circle at 72% 20%,rgba(15,118,110,.48),transparent 30%),linear-gradient(125deg,#00164e,#1e3a8a)}.store-secondary{border-color:#b6c4ff}.store-add,.store-checkout{background:#0f766e}.store-product{border-radius:8px}.order-lookup{border-radius:8px;background:#f2f3ff}.order-lookup button{background:#0f766e}.store-footer{background:#00164e}

@media(max-width:820px){
  .sidebar,.seller-dashboard .sidebar{transform:translateX(-100%);box-shadow:12px 0 30px rgba(15,23,42,.16)}
  .sidebar.is-open{transform:translateX(0)}.sidebar-close{color:#0f172a}
  .dashboard-main{width:100%;margin-left:0}.dashboard-content{padding:20px}.login-panel{width:100%;padding:72px 20px 40px}.login-content{padding:30px 26px}
}
@media(max-width:560px){
  .module-kpis{grid-template-columns:1fr 1fr}.kpi-card>strong,.module-kpis strong{font-size:24px}.login-heading h1{font-size:30px}
}

/* Legibilidad tipográfica: escala accesible y contraste reforzado */
html { font-size: 16px; }
body,
button,
input,
select,
textarea {
  font-family: "Atkinson Hyperlegible", Arial, Helvetica, sans-serif !important;
  line-height: 1.5;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
h4,
.brand,
.kpi-card > strong,
.module-kpis strong,
.goal-copy > strong,
.plan-rate,
.store-cart-total strong {
  font-family: "Atkinson Hyperlegible", Arial, Helvetica, sans-serif !important;
  letter-spacing: -.015em;
}
button,
input,
select,
textarea { font-size: 14px; }
small { font-size: 12px !important; line-height: 1.45; }

/* Navegación, ayudas y controles */
.sidebar nav p,
.user-mini strong,
.user-mini small,
.seller-referral > span,
.seller-referral button,
.search-box kbd,
.primary-action,
.period-select select,
.text-link,
.password-toggle,
.access-note,
.draft-state,
.filter-button,
.module-shortcuts button,
.module-toolbar select,
.module-toolbar > button,
.module-secondary,
.row-action,
.module-export,
.module-add-sale,
.store-login,
.store-cart-button,
.store-primary,
.store-secondary,
.store-add,
.store-checkout,
.order-lookup button { font-size: 13px !important; }
.nav-item { font-size: 15px; font-weight: 700; }
.user-mini strong { font-size: 13px; }
.eyebrow { font-size: 12px !important; font-weight: 700; }

/* Paneles, indicadores y gráficos */
.dashboard-title-row p:not(.eyebrow),
.sale-title-row > div > p:last-child,
.sales-history-heading > div > p:last-child,
.module-heading > div > p:last-child,
.kpi-label,
.panel-heading p,
.legend,
.metric-note,
.kpi-card > p,
.kpi-card > small,
.rank,
.ranking-list li > div:not(.rank-value) strong,
.ranking-list small,
.rank-value strong,
.rank-value small,
.book-row strong,
.book-row small,
.action-grid span,
.goal-copy > span,
.goal-copy > p,
.goal-copy small,
.seller-motivation p,
.seller-motivation small,
.commission-status,
.top-book-list strong,
.top-book-list small,
.course-info > span,
.course-info > strong,
.course-info > p,
.course-info button { font-size: 12px !important; }
.panel-heading h2 { font-size: 18px; line-height: 1.35; }
.y-axis,
.x-axis { font-size: 11px; }
.status,
.badge,
.stock-badge { font-size: 11px !important; }

/* Tablas y listados operativos */
.sales-table-head,
.history-table-head,
.ops-head { font-size: 12px; letter-spacing: .04em; }
.sales-table-row,
.history-row,
.ops-row { min-height: 64px; font-size: 13px; }
.sales-table-row > strong,
.history-row > strong,
.ops-row > strong,
.sales-table-row > span:first-child small,
.history-row small,
.ops-row b small { font-size: 12px !important; }
.view-sale,
.history-footer,
.history-footer button { font-size: 12px; }

/* Venta, catálogo y carrito */
.sale-user strong,
.sale-steps b,
.sale-steps small,
.sale-search input,
.sale-categories button,
.product-card small,
.product-card p,
.cart-heading p,
.cart-heading > button,
.cart-item strong,
.cart-item small,
.cart-item > b,
.quantity span,
.customer-select small,
.customer-select strong,
.sale-totals p,
.sale-totals button,
.stock-note,
.continue-sale,
.store-benefits strong,
.store-benefits small,
.store-product > small,
.store-product p { font-size: 12px !important; }
.product-card h3,
.store-product h3 { font-size: 14px; line-height: 1.35; }
.product-card > div > strong,
.grand-total strong { font-size: 16px; }

/* Módulos administrativos y aula */
.module-kpis span,
.module-kpis small,
.flow-step b,
.flow-step small,
.activity-list b,
.activity-list small,
.activity-list time,
.catalog-admin-grid h3,
.catalog-admin-grid p,
.catalog-admin-grid small,
.people-list h3,
.people-list p,
.people-list strong small,
.mini-profile b,
.mini-profile small,
.module-copy,
.course-admin-list h3,
.course-admin-list p,
.course-admin-list small,
.learning-stat span,
.report-filters select,
.report-filters button,
.chart-bars i span,
.report-legend,
.report-link small,
.settings-card label,
.profile-card > label,
.course-library-card p,
.course-library-card button { font-size: 12px !important; }
.catalog-admin-grid h3,
.people-list h3,
.course-admin-list h3,
.course-library-card h3 { font-size: 14px; line-height: 1.35; }

/* Diálogos y formularios */
.universal-dialog > div > p:not(.eyebrow),
.universal-field,
.checkout-form label,
.modal-note,
.modal-warning,
.universal-summary p,
.lesson-demo-progress,
.quiz-options label,
.checkout-step > p:not(.eyebrow),
.modal-search input,
.customer-option strong,
.customer-option small,
.payment-option strong,
.payment-option small,
.new-customer-link,
.receipt-link,
.modal-primary,
.modal-secondary,
.payment-summary p,
.receipt-card p,
.payment-check,
.sale-detail-dialog > p:not(.eyebrow),
.detail-status-line,
.detail-customer small,
.detail-customer strong,
.detail-items strong,
.detail-items small,
.detail-items b,
.detail-totals p { font-size: 13px !important; }

/* Contraste uniforme para texto secundario */
.kpi-card > p span,
.panel-heading p,
.ranking-list small,
.book-row small,
.top-book-list small,
.product-card small,
.product-card p,
.cart-heading p,
.cart-item small,
.customer-select small,
.module-kpis span,
.module-kpis small,
.flow-step small,
.activity-list small,
.activity-list time,
.catalog-admin-grid p,
.catalog-admin-grid small,
.people-list p,
.mini-profile small,
.course-admin-list p,
.course-admin-list small,
.report-link small,
.store-product p,
.store-product > small { color: #475569; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .dashboard-title-row h1,
  .sale-title-row h1,
  .sales-history-heading h1,
  .module-heading h1 { font-size: 28px; line-height: 1.2; }
  .module-kpis { grid-template-columns: 1fr; }
}

/* Pantallas de detalle, editores y flujos conectados */
.access-note .text-link { margin-left: 6px; font-size: 12px !important; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.universal-field textarea {
  width: 100%;
  margin-top: 6px;
  padding: 11px;
  resize: vertical;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: var(--ink);
  background: white;
}
.universal-dialog:has(.record-detail) { width: min(820px, 100%); }
.record-detail h3 { margin: 22px 0 10px; font-size: 16px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.record-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; }
.record-actions .modal-primary,
.record-actions .modal-secondary { width: auto; min-width: 132px; margin: 0; padding: 0 16px; }
.record-timeline { margin: 0; padding: 0; list-style: none; }
.record-timeline li { position: relative; padding: 3px 0 17px 27px; border-left: 2px solid #dbe3f2; }
.record-timeline li::before { content: ""; position: absolute; left: -6px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: #0f766e; }
.record-timeline b,
.record-timeline span { display: block; }
.record-timeline span { margin-top: 3px; color: #475569; font-size: 12px; }
.mini-kardex { margin-top: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; }
.mini-kardex .ops-head,
.mini-kardex .ops-row { grid-template-columns: 1fr 1.4fr .7fr .7fr; }
.book-detail-layout { display: grid; grid-template-columns: 180px 1fr; gap: 22px; align-items: start; }
.book-detail-layout .store-cover { height: 255px; }

/* Portadas y catálogo de la venta conectada a MySQL */
.generated-book-cover{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;padding:10px;border-radius:5px;color:#fff;background:linear-gradient(145deg,var(--cover-a,#172b43),var(--cover-b,#315b78));box-shadow:4px 8px 14px #0003;text-align:left}
.generated-book-cover:before,.generated-book-cover:after{content:"";position:absolute;z-index:-1;border-radius:999px;background:#ffffff18}
.generated-book-cover:before{width:70px;height:70px;right:-30px;top:-20px}.generated-book-cover:after{width:44px;height:44px;left:-22px;bottom:5px;border:1px solid #ffffff38;background:transparent}
.generated-book-cover i{font-style:normal;font-size:6px;font-weight:800;letter-spacing:1px;text-transform:uppercase;opacity:.82}.generated-book-cover b{font:800 9px/1.12 "Plus Jakarta Sans",sans-serif;text-transform:uppercase;overflow-wrap:anywhere}.generated-book-cover small{font-size:5px;line-height:1.15;opacity:.85}.generated-book-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.product-card>.generated-book-cover{width:56px;height:80px}.cart-item>.generated-book-cover{width:34px;height:48px;padding:5px}.cart-item>.generated-book-cover i,.cart-item>.generated-book-cover small{display:none}.cart-item>.generated-book-cover b{font-size:5px}
.catalog-admin-grid .generated-book-cover{grid-row:1/3;width:56px;height:78px}.catalog-admin-grid .generated-book-cover b{font-size:7px}
.store-product>.generated-book-cover{width:100%;height:230px}.store-product>.generated-book-cover b{font-size:18px}.store-product>.generated-book-cover small{font-size:10px}.dashboard-book-cover{width:38px;height:52px;padding:5px}.dashboard-book-cover b{font-size:5px}.dashboard-book-cover i,.dashboard-book-cover small{display:none}.detail-book-cover{width:120px;height:170px;float:left;margin:0 20px 14px 0}
.sale-empty-cart,.sale-catalog-empty{display:grid;place-items:center;gap:6px;padding:28px 16px;color:#64748b;text-align:center;border:1px dashed #cbd5e1;border-radius:8px}.sale-empty-cart small,.sale-catalog-empty p{margin:0;font-size:9px}.sale-catalog-empty{grid-column:1/-1;min-height:160px}.continue-sale:disabled{cursor:not-allowed;opacity:.5}.quantity button:disabled{cursor:not-allowed;opacity:.35}
.empty-real-data{grid-column:1/-1;display:flex;min-height:110px;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:20px;color:#64748b;text-align:center;border:1px dashed #cbd5e1;border-radius:8px}.empty-real-data b{color:#1e293b}.empty-real-data span{font-size:11px}.top-book-list>.empty-real-data{display:flex}.seller-course-panel .module-secondary{display:inline-flex;margin-top:12px;padding:9px 12px;text-decoration:none}
.module-success{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;padding:13px 16px;color:#0f766e;background:#ecfdf5;border:1px solid #99f6e4;border-radius:9px}.module-success b,.module-success span{font-size:12px}.module-success span{color:#475569}.form-feedback{min-height:22px;margin:13px 0 -6px;font-size:12px;font-weight:700;line-height:1.45}.form-feedback:empty{display:none}.form-feedback.is-saving{color:#1d4ed8}.form-feedback.is-error{color:#b91c1c}.customer-people-list article{grid-template-columns:38px minmax(180px,1.35fr) minmax(100px,.8fr) minmax(105px,.75fr) auto}.customer-people-list article>span:not(.avatar){color:#64748b;font-size:10px}
.sale-customer-status{margin:12px 0 4px;padding:10px 12px;border-radius:8px;font-size:10px;font-weight:700;line-height:1.45}.sale-customer-status.is-success{color:#0f766e;background:#ecfdf5;border:1px solid #99f6e4}.sale-customer-status.is-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}
.admin-row-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end}.danger-action{color:#b42318!important;border-color:#fda29b!important;background:#fff5f4!important}.danger-action:hover{background:#fee4e2!important}.danger-button{background:#b42318!important;border-color:#b42318!important;color:#fff!important}.danger-button:hover{background:#912018!important}
@media (max-width:700px){.module-success{align-items:flex-start;flex-direction:column;gap:4px}.customer-people-list article{grid-template-columns:36px 1fr auto}.customer-people-list article>strong,.customer-people-list article>span:not(.avatar){display:none}}
.profile-summary { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; }
.profile-summary .avatar { width: 46px; height: 46px; }
.profile-summary b,
.profile-summary small { display: block; }
.profile-summary small { margin-top: 3px; color: #475569; }
.profile-summary .status { margin-left: auto; }
.lesson-editor { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lesson-editor li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 12px; border-bottom: 1px solid var(--line); }
.lesson-editor li:last-child { border-bottom: 0; }
.lesson-editor li > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #1e3a8a; background: #dce1ff; font-weight: 700; }
.lesson-editor b,
.lesson-editor small { display: block; }
.lesson-editor small { margin-top: 3px; color: #475569; }
.lesson-editor button { padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; color: #1e3a8a; background: white; font-weight: 700; }
.notification-list { display: grid; gap: 10px; }
.notification-item { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.notification-item.is-unread { border-left: 4px solid #1e3a8a; background: #f7f8ff; }
.notification-item h3,
.notification-item p { margin: 0; }
.notification-item h3 { margin: 3px 0 4px; font-size: 14px; }
.notification-item p,
.notification-item small { color: #475569; font-size: 12px; }
.notification-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; color: #1e3a8a; background: #dce1ff; font-weight: 700; }
.notification-icon.critical { color: #b91c1c; background: #fee2e2; }
.notification-icon.success { color: #0f766e; background: #ccfbf1; }
.store-product-actions { display: grid !important; grid-template-columns: 1fr auto auto; align-items: center; gap: 7px; }
.store-view,
.store-add { padding: 8px 10px; border-radius: 6px; font-size: 12px !important; font-weight: 700; }
.store-view { border: 1px solid #cbd5e1; color: #1e3a8a; background: white; }
.public-book-detail .book-author { margin-top: -3px; color: #0f766e; font-weight: 700; }
.danger-button { background: #b91c1c !important; }
.report-link{text-decoration:none;color:inherit;box-sizing:border-box;cursor:pointer}

/* Navegación lateral inspirada en el panel operativo de referencia */
.sidebar,
.seller-dashboard .sidebar { width: 248px; color: #dbeafe; background: linear-gradient(180deg,#20479c 0%,#173b88 100%); border-right: 0; box-shadow: 6px 0 24px rgba(15,23,42,.12); }
.sidebar-top { height: 104px; position: relative; align-items: flex-start; padding: 22px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.sidebar-top:after { content: "Gestión comercial y aprendizaje"; position: absolute; left: 20px; bottom: 15px; color: #bfdbfe; font-size: 10px; font-weight: 600; letter-spacing: .02em; }
.brand-light { color: white; }
.sidebar nav { padding: 14px 10px; }
.sidebar nav p { margin: 18px 13px 7px; color: #93c5fd; font-size: 9px; letter-spacing: .1em; }
.nav-item { min-height: 40px; padding: 0 13px; border-radius: 6px; color: #dbeafe; font-size: 13px; font-weight: 650; }
.nav-item:hover { color: white; background: rgba(255,255,255,.09); }
.nav-item > span { color: #bfdbfe; }
.nav-item.is-active,
.seller-dashboard .nav-item.is-active { color: white; background: rgba(147,197,253,.24); box-shadow: inset 3px 0 white; }
.nav-item.is-active > span,
.seller-dashboard .nav-item.is-active > span { color: white; }
.nav-item b { color: white; background: rgba(15,23,42,.3); }
.nav-item.is-active b { color: #1e3a8a; background: white; }
.sidebar-bottom { padding: 10px; border-top: 1px solid rgba(255,255,255,.12); }
.user-mini { border-color: rgba(255,255,255,.14); color: white; background: rgba(255,255,255,.09); }
.user-mini strong { color: white; }
.user-mini small { color: #bfdbfe; }
.user-more { color: white; }
.sidebar-close { color: white; }

/* Constructor de cursos del Aula virtual */
.universal-dialog:has(.course-creator) { width: min(760px, 100%); padding: 32px; background: #f8fafc; }
.course-creator > p:not(.eyebrow) { margin: -2px 0 18px; color: #64748b; font-size: 14px!important; }
.course-video-form,
.course-video-item { border: 1px solid #e2e8f0; border-radius: 10px; background: white; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.course-video-form { padding: 18px; }
.course-video-form h3 { margin: 0 0 4px; font-size: 17px; }
.course-video-form .universal-field { color: #334155; font-size: 13px; }
.course-video-form .universal-field input,
.course-video-form .universal-field textarea { width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 6px; color: #0f172a; background: white; font: inherit; }
.course-video-form .universal-field input { height: 44px; }
.course-video-form .universal-field textarea { min-height: 76px; resize: vertical; }
.course-video-form .universal-field input:focus,
.course-video-form .universal-field textarea:focus { border-color: #1e3a8a; outline: 2px solid rgba(30,58,138,.12); }
.course-publish-button { width: 100%; min-height: 48px; margin-top: 16px; }
.course-video-list { display: grid; gap: 12px; margin-top: 16px; }
.course-video-item { padding: 16px; transition: opacity .2s, border-color .2s; }
.course-video-item.is-hidden { border-style: dashed; opacity: .64; }
.course-video-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.course-video-heading h3 { margin: 0; font-size: 15px; }
.course-visibility { padding: 4px 9px; border-radius: 99px; color: #0f766e; background: #ccfbf1; font-size: 11px; font-style: normal; font-weight: 800; }
.course-video-item.is-hidden .course-visibility { color: #64748b; background: #e2e8f0; }
.course-video-item p { margin: 8px 0 4px; color: #475569; font-size: 13px; line-height: 1.45; }
.course-video-item small { display: block; color: #64748b; font-size: 12px!important; }
.course-video-actions { display: flex; gap: 18px; margin-top: 13px; }
.course-video-actions button { padding: 0; border: 0; color: #1e3a8a; background: transparent; font-size: 12px; font-weight: 800; }
.course-video-actions button:hover { text-decoration: underline; }
.course-video-actions button:last-child { color: #b91c1c; }

@media (max-width: 700px) {
  .form-grid,
  .detail-grid,
  .book-detail-layout { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .universal-dialog:has(.course-creator) { padding: 22px 16px; }
  .course-video-form .form-grid { grid-template-columns: 1fr; }
  .course-video-form .form-grid .span-2 { grid-column: auto; }
  .course-video-actions { flex-wrap: wrap; gap: 12px 18px; }
  .book-detail-layout .store-cover { width: 150px; height: 210px; }
  .record-actions { flex-direction: column; }
  .record-actions .modal-primary,
  .record-actions .modal-secondary { width: 100%; }
  .notification-item { grid-template-columns: 36px 1fr; }
  .notification-item > button { grid-column: 1 / -1; }
  .store-product-actions { grid-template-columns: 1fr 1fr; }
  .store-product-actions strong { grid-column: 1 / -1; }
}

/* Sales page pública */
.salespage-screen {
  --sales-navy: #062a4e;
  --sales-blue: #0b4165;
  --sales-teal: #00a99d;
  --sales-mint: #ddf5f2;
  --sales-coral: #d9a520;
  --sales-cream: #f7f5ed;
  --sales-ink: #082b4c;
  display: none;
  flex-direction: column;
  color: var(--sales-ink);
  background: #fff;
  overflow: clip;
}
.salespage-screen.is-active { display: flex; }
.salespage-screen button, .salespage-screen a { transition: transform .22s ease, color .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease; }
.salespage-screen em { color: var(--sales-teal); font-style: normal; }
.sales-nav {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  min-height: 90px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 0 clamp(24px, 5.5vw, 88px);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.sales-brand { color: inherit; }
.sales-brand > span:last-child > span { color: var(--sales-teal); }
.sales-brand .brand-mark:after { background: var(--sales-coral); }
.sales-nav nav { display: flex; justify-content: center; align-items: center; gap: clamp(20px, 2.6vw, 42px); }
.sales-nav nav a { position: relative; color: rgba(255,255,255,.76); font-size: 14px; font-weight: 700; }
.sales-nav nav a:after { content: ""; position: absolute; right: 50%; bottom: -9px; left: 50%; height: 2px; background: var(--sales-teal); transition: .22s; }
.sales-nav nav a:hover { color: white; }
.sales-nav nav a:hover:after { right: 0; left: 0; }
.sales-nav-actions { display: flex; align-items: center; gap: 12px; }
.sales-link-button { padding: 12px; border: 0; color: white; background: transparent; font-weight: 700; }
.sales-nav-cta { min-height: 46px; padding: 0 19px; border: 1px solid rgba(255,255,255,.18); border-radius: 99px; color: var(--sales-navy); background: white; font-weight: 800; white-space: nowrap; box-shadow: 0 8px 25px rgba(0,0,0,.14); }
.sales-nav-cta span { margin-left: 8px; color: var(--sales-teal); }
.sales-nav-cta:hover, .sales-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(0,0,0,.2); }
.sales-menu-button { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: white; background: rgba(255,255,255,.08); font-size: 20px; }
.sales-hero {
  min-height: 790px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr);
  align-items: center;
  gap: clamp(45px, 6vw, 100px);
  padding: 145px clamp(24px, 7vw, 110px) 90px;
  color: white;
  background: radial-gradient(circle at 75% 35%, rgba(0,169,157,.24), transparent 27%), linear-gradient(122deg,#041d36 0%,#062a4e 58%,#0b4165 100%);
  isolation: isolate;
}
.sales-hero:before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .11; background-image: linear-gradient(rgba(255,255,255,.18) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.18) 1px,transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to right,black,transparent 65%); }
.sales-hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); }
.sales-hero-glow.one { width: 420px; height: 420px; right: -150px; top: 100px; border: 90px solid rgba(217,165,32,.1); }
.sales-hero-glow.two { width: 230px; height: 230px; left: -90px; bottom: -90px; background: rgba(0,169,157,.14); }
.sales-hero-copy { position: relative; z-index: 2; max-width: 700px; }
.sales-kicker { display: flex; align-items: center; gap: 11px; margin: 0 0 22px; color: var(--sales-teal); font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.sales-kicker span { width: 28px; height: 2px; background: currentColor; }
.sales-kicker.light { color: #7fe0cb; }
.sales-hero .sales-kicker { color: #74dcc5; }
.sales-hero h1 { max-width: 750px; margin: 0; font-size: clamp(48px, 5.6vw, 82px); line-height: .99; letter-spacing: -.055em !important; }
.sales-hero h1 em { color: #7ee0ca; }
.sales-lead { max-width: 620px; margin: 28px 0 0; color: #c6d4df; font-size: clamp(17px,1.45vw,20px); line-height: 1.7; }
.sales-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 34px; }
.sales-primary { min-height: 58px; padding: 0 27px; border: 0; border-radius: 10px; color: var(--sales-navy); background: var(--sales-coral); font-size: 16px; font-weight: 800; box-shadow: 0 12px 28px rgba(217,165,32,.26); }
.sales-primary span { margin-left: 12px; font-size: 19px; }
.sales-secondary { min-height: 58px; display: inline-flex; align-items: center; gap: 12px; color: white; font-weight: 800; }
.sales-secondary:hover { transform: translateX(4px); }
.sales-play { width: 42px; height: 42px; display: grid; place-items: center; padding-left: 3px; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; font-size: 11px; }
.sales-trust-row { display: flex; flex-wrap: wrap; gap: 23px; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.13); }
.sales-trust-row > div { display: flex; align-items: center; gap: 10px; }
.sales-trust-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; color: #85e4cf; background: rgba(126,224,202,.1); }
.sales-trust-row p { margin: 0; }
.sales-trust-row strong, .sales-trust-row small { display: block; }
.sales-trust-row strong { color: white; font-size: 12px; }
.sales-trust-row small { color: #92a8b8; font-size: 10px !important; }
.sales-hero-art { min-height: 540px; position: relative; display: grid; place-items: center; perspective: 1200px; }
.sales-orbit { position: absolute; border: 1px solid rgba(126,224,202,.19); border-radius: 50%; }
.orbit-one { width: 490px; height: 490px; animation: salesSpin 32s linear infinite; }
.orbit-two { width: 350px; height: 350px; border-style: dashed; animation: salesSpin 24s linear infinite reverse; }
.sales-orbit:before { content: ""; position: absolute; width: 8px; height: 8px; top: 13%; left: 12%; border-radius: 50%; background: #e2b83e; box-shadow: 0 0 18px #e2b83e; }
@keyframes salesSpin { to { transform: rotate(360deg); } }
.sales-book { position: absolute; width: 190px; height: 285px; padding: 26px 20px; display: flex; flex-direction: column; color: white; border-radius: 3px 11px 11px 3px; box-shadow: -9px 12px 0 rgba(0,0,0,.15), 0 32px 55px rgba(0,0,0,.34); transform-style: preserve-3d; }
.sales-book:after { content: ""; position: absolute; inset: 0 auto 0 10px; width: 2px; background: rgba(255,255,255,.2); }
.sales-book span { font-size: 9px; letter-spacing: .16em; opacity: .8; }
.sales-book strong { margin: auto 0; font-size: 23px; line-height: 1.14; letter-spacing: .02em; }
.sales-book small { font-size: 10px !important; opacity: .72; }
.sales-book-one { z-index: 2; left: 8%; top: 22%; color: var(--sales-navy); background: linear-gradient(145deg,#be8610,#e3b83d); transform: rotateY(18deg) rotateZ(-9deg); animation: salesFloat 5.5s ease-in-out infinite; }
.sales-book-two { z-index: 4; left: 37%; top: 10%; height: 325px; background: linear-gradient(145deg,#007b73,#00a99d); transform: translateZ(40px) rotateZ(2deg); animation: salesFloat 6.4s ease-in-out -1.2s infinite; }
.sales-book-three { z-index: 3; right: 2%; top: 28%; background: linear-gradient(145deg,#294b72,#173553); transform: rotateY(-16deg) rotateZ(10deg); animation: salesFloat 5.8s ease-in-out -.6s infinite; }
@keyframes salesFloat { 0%,100% { margin-top: 0; } 50% { margin-top: -13px; } }
.sales-float-card { position: absolute; z-index: 7; display: flex; align-items: center; gap: 11px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 11px; color: white; background: rgba(12,33,51,.76); backdrop-filter: blur(13px); box-shadow: 0 16px 35px rgba(0,0,0,.2); }
.sales-float-card b, .sales-float-card small { display: block; }
.sales-float-card b { font-size: 11px; }.sales-float-card small { color: #a8bdca; font-size: 9px !important; }
.sales-float-stock { left: 0; bottom: 10%; }.sales-float-stock i { width: 10px; height: 10px; border-radius: 50%; background: #6ee7b7; box-shadow: 0 0 0 6px rgba(110,231,183,.12); }
.sales-float-reader { right: 0; bottom: 5%; max-width: 215px; align-items: flex-start; }.sales-float-reader > span { color: #7ee0ca; font-size: 26px; }.sales-float-reader p { margin: 0; color: #d6e1e8; font-size: 11px; line-height: 1.5; }
.sales-scroll-hint { position: absolute; left: 50%; bottom: 26px; display: flex; align-items: center; gap: 10px; color: #8da6b8; font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; transform: translateX(-50%); }
.sales-scroll-hint span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.sales-proof { min-height: 108px; display: flex; align-items: center; justify-content: center; gap: clamp(28px,7vw,110px); padding: 25px 6vw; color: #647487; background: var(--sales-cream); }
.sales-proof > p { margin: 0; font-size: 10px; font-weight: 800; letter-spacing: .17em; }
.sales-proof > div { display: flex; align-items: center; gap: clamp(16px,3vw,45px); font-size: 13px; font-weight: 800; }
.sales-proof i { width: 4px; height: 4px; border-radius: 50%; background: var(--sales-coral); }
.sales-section { padding: 105px clamp(24px,7vw,110px); }
.sales-section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.sales-section-head h2, .sales-benefits-intro h2, .sales-platform-copy h2, .sales-faq-intro h2 { max-width: 720px; margin: 0; color: var(--sales-ink); font-size: clamp(36px,4vw,58px); line-height: 1.08; letter-spacing: -.045em !important; }
.sales-text-cta { flex: 0 0 auto; padding: 12px 0; border: 0; border-bottom: 2px solid var(--sales-teal); color: var(--sales-ink); background: transparent; font-weight: 800; }
.sales-text-cta span { margin-left: 12px; color: var(--sales-teal); }.sales-text-cta:hover { transform: translateX(5px); }
.sales-featured { background: #fff; }
.sales-featured-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px; }
.sales-featured-card { position: relative; min-width: 0; display: grid; grid-template-columns: 152px minmax(0,1fr); gap: 22px; padding: 22px; border: 1px solid #e4e9ed; border-radius: 16px; background: #fff; box-shadow: 0 14px 35px rgba(16,36,59,.06); overflow: hidden; }
.sales-featured-card:hover { transform: translateY(-7px); border-color: #b8dcd4; box-shadow: 0 22px 45px rgba(16,36,59,.12); }
.sales-featured-card .public-book-cover { width: 152px; min-height: 215px; margin: 0; }
.sales-featured-card-content { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.sales-featured-card small { color: var(--sales-teal); font-weight: 800; text-transform: uppercase; }
.sales-featured-card h3 { margin: 10px 0 8px; font-size: 22px; line-height: 1.15; }
.sales-featured-card p { display: -webkit-box; margin: 0 0 16px; color: #667587; font-size: 13px; line-height: 1.55; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.sales-featured-card strong { margin-top: auto; font-size: 20px; }
.sales-featured-actions { width: 100%; display: flex; gap: 8px; margin-top: 14px; }
.sales-featured-actions button { min-height: 40px; flex: 1; border-radius: 7px; font-size: 12px; font-weight: 800; }
.sales-featured-actions button:first-child { border: 1px solid #d6dee4; color: var(--sales-ink); background: white; }
.sales-featured-actions button:last-child { border: 1px solid var(--sales-teal); color: white; background: var(--sales-teal); }
.sales-book-skeleton { min-height: 270px; border-radius: 16px; background: linear-gradient(110deg,#f2f5f6 20%,#fbfcfc 38%,#f2f5f6 56%); background-size: 200% 100%; animation: salesShimmer 1.3s linear infinite; }
@keyframes salesShimmer { to { background-position-x: -200%; } }
.sales-catalog-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 30px; color: #536477; font-size: 12px; }.sales-catalog-note small { color: #8995a1; }.sales-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #12a37f; box-shadow: 0 0 0 6px rgba(18,163,127,.1); }
.sales-benefits { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(60px,8vw,130px); color: white; background: radial-gradient(circle at 85% 15%,rgba(16,139,120,.22),transparent 25%),var(--sales-navy); }
.sales-benefits-intro { align-self: center; }.sales-benefits-intro h2 { color: white; }.sales-benefits-intro > p:not(.sales-kicker) { max-width: 540px; color: #afc0cd; font-size: 16px; line-height: 1.75; }
.sales-outline-light { min-height: 50px; margin-top: 20px; padding: 0 20px; border: 1px solid rgba(255,255,255,.32); border-radius: 8px; color: white; background: transparent; font-weight: 800; }.sales-outline-light:hover { border-color: white; background: rgba(255,255,255,.08); }
.sales-benefit-grid { display: grid; grid-template-columns: 1fr 1fr; }.sales-benefit-grid article { position: relative; min-height: 255px; padding: 35px; border: 1px solid rgba(255,255,255,.1); }.sales-benefit-grid article:hover { z-index: 2; background: rgba(255,255,255,.05); transform: scale(1.02); }.sales-benefit-grid article > span { position: absolute; right: 22px; top: 18px; color: rgba(255,255,255,.28); font-size: 11px; }.sales-benefit-grid article > i { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; color: #7ee0ca; background: rgba(126,224,202,.1); font-size: 21px; font-style: normal; }.sales-benefit-grid h3 { margin: 23px 0 9px; color: white; font-size: 20px; }.sales-benefit-grid p { margin: 0; color: #9fb3c2; font-size: 13px; line-height: 1.65; }
.sales-section-head.centered { justify-content: center; text-align: center; }.sales-section-head.centered .sales-kicker { justify-content: center; }.sales-journey { background: #f8faf9; }.sales-journey-grid { position: relative; display: grid; grid-template-columns: repeat(3,1fr); gap: 35px; }.sales-journey-grid:before { content: ""; position: absolute; left: 16.7%; right: 16.7%; top: 43px; border-top: 1px dashed #a8ccc4; }.sales-journey-grid article { position: relative; z-index: 1; padding: 0 30px; text-align: center; }.sales-journey-grid article > span { position: absolute; left: calc(50% + 22px); top: -8px; color: var(--sales-coral); font-size: 10px; font-weight: 800; }.journey-icon { width: 86px; height: 86px; margin: 0 auto 25px; display: grid; place-items: center; border: 1px solid #cfe3de; border-radius: 50%; color: var(--sales-teal); background: white; box-shadow: 0 12px 30px rgba(16,36,59,.07); font-size: 25px; }.sales-journey-grid h3 { margin: 0 0 10px; font-size: 21px; }.sales-journey-grid p { min-height: 65px; margin: 0; color: #667587; font-size: 14px; line-height: 1.6; }.sales-journey-grid a,.sales-journey-grid button { margin-top: 18px; padding: 0; border: 0; color: var(--sales-teal); background: transparent; font-size: 13px; font-weight: 800; }
.sales-platform { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(55px,8vw,120px); background: white; }.sales-platform-visual { min-height: 520px; position: relative; display: grid; place-items: center; border-radius: 24px; background: linear-gradient(145deg,#edf7f4,#f9f1e9); }.platform-window { width: 84%; border: 1px solid rgba(16,36,59,.12); border-radius: 13px; background: white; box-shadow: 0 28px 65px rgba(16,36,59,.17); transform: perspective(900px) rotateY(5deg) rotateX(2deg); overflow: hidden; }.platform-top { height: 43px; display: flex; align-items: center; gap: 6px; padding: 0 13px; color: #82909e; background: #f7f9fa; font-size: 9px; }.platform-top i { width: 7px; height: 7px; border-radius: 50%; background: #d9a520; }.platform-top i:nth-child(2){background:#00a99d}.platform-top i:nth-child(3){background:#0b4165}.platform-top span { margin-left: auto; }.platform-body { min-height: 310px; display: grid; grid-template-columns: 62px 1fr; }.platform-body aside { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 20px 0; color: white; background: var(--sales-blue); }.platform-body aside b { margin-bottom: 10px; }.platform-body aside span { width: 22px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.23); }.platform-body aside span.active { background: var(--sales-teal); }.platform-body > div { padding: 24px; }.platform-body p { margin: 0 0 20px; font-weight: 800; }.platform-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; }.platform-kpis i { height: 65px; border-radius: 7px; background: linear-gradient(#e7f4f1 40%,#f7f9fa 40%); }.platform-chart { height: 145px; display: flex; align-items: flex-end; justify-content: space-around; gap: 10px; margin-top: 22px; padding: 20px; border-radius: 8px; background: #f7f9fa; }.platform-chart span { flex: 1; height: 45%; border-radius: 4px 4px 0 0; background: #b9ddd5; }.platform-chart span:nth-child(2){height:68%}.platform-chart span:nth-child(3){height:52%}.platform-chart span:nth-child(4){height:82%;background:var(--sales-teal)}.platform-chart span:nth-child(5){height:65%}.platform-chart span:nth-child(6){height:92%;background:var(--sales-coral)}.platform-badge { position: absolute; right: -18px; bottom: 38px; display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 11px; background: white; box-shadow: 0 18px 45px rgba(16,36,59,.18); }.platform-badge > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--sales-teal); }.platform-badge b,.platform-badge small { display: block; }.platform-badge b { font-size: 12px; }.platform-badge small { color: #7e8d99; font-size: 10px !important; }.sales-platform-copy > p:not(.sales-kicker) { color: #647487; font-size: 16px; line-height: 1.7; }.sales-platform-copy ul { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0; padding: 0; list-style: none; }.sales-platform-copy li { display: flex; gap: 10px; }.sales-platform-copy li > span { flex: 0 0 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: var(--sales-teal); background: var(--sales-mint); font-size: 11px; }.sales-platform-copy li b,.sales-platform-copy li small { display: block; }.sales-platform-copy li small { margin-top: 4px; color: #7d8b97; }.sales-platform-actions { display: flex; align-items: center; gap: 20px; }.sales-primary.dark { color: white; background: var(--sales-navy); box-shadow: 0 12px 28px rgba(6,42,78,.2); }.sales-plain { padding: 10px; border: 0; color: var(--sales-teal); background: transparent; font-weight: 800; }
.sales-quote { position: relative; color: white; background: linear-gradient(120deg,#006f68,#00a99d); text-align: center; overflow: hidden; }.sales-quote:before,.sales-quote:after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }.sales-quote:before { width: 450px; height: 450px; left: -190px; top: -250px; }.sales-quote:after { width: 300px; height: 300px; right: -120px; bottom: -200px; }.sales-quote-mark { color: rgba(255,255,255,.32); font-size: 75px; line-height: .7; }.sales-quote blockquote { max-width: 940px; margin: 20px auto 25px; font-size: clamp(27px,3.3vw,47px); font-weight: 700; line-height: 1.28; letter-spacing: -.025em; }.sales-quote > p { display: flex; justify-content: center; align-items: center; gap: 10px; color: #c4f7ef; font-size: 10px; font-weight: 800; letter-spacing: .16em; }.sales-quote > p span { width: 24px; height: 1px; background: currentColor; }
.sales-faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(55px,8vw,120px); background: #f8faf9; }.sales-faq-intro > p:not(.sales-kicker) { color: #687788; line-height: 1.7; }.sales-faq-list details { border-bottom: 1px solid #dce3e5; }.sales-faq-list summary { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--sales-ink); font-size: 16px; font-weight: 800; cursor: pointer; list-style: none; }.sales-faq-list summary::-webkit-details-marker { display:none; }.sales-faq-list summary span { color: var(--sales-teal); font-size: 21px; transition: transform .2s; }.sales-faq-list details[open] summary span { transform: rotate(45deg); }.sales-faq-list details p { margin: -8px 50px 25px 0; color: #677688; line-height: 1.7; }
.sales-final-cta { min-height: 360px; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 50px; color: white; background: var(--sales-navy); overflow: hidden; }.sales-final-cta > div:first-child { position: relative; z-index: 2; }.sales-final-cta h2 { max-width: 820px; margin: 0; color: white; font-size: clamp(38px,4.8vw,65px); line-height: 1.05; }.sales-final-cta p:not(.sales-kicker) { color: #aebfcb; }.sales-primary.light-button { position: relative; z-index: 2; flex: 0 0 auto; color: var(--sales-navy); background: white; box-shadow: none; }.sales-final-orbit { position: absolute; width: 450px; height: 450px; right: -100px; border: 70px solid rgba(126,224,202,.06); border-radius: 50%; }
.sales-footer { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 50px; padding: 70px clamp(24px,7vw,110px) 30px; color: #b2c1cc; background: #041d36; }.sales-footer > div:first-child p { max-width: 360px; margin-top: 22px; line-height: 1.7; }.sales-footer > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }.sales-footer b { margin-bottom: 8px; color: white; }.sales-footer button,.sales-footer a,.sales-footer span { padding: 0; border: 0; color: #a9b9c5; background: transparent; text-align: left; font-size: 13px; }.sales-footer button:hover,.sales-footer a:hover { color: #7ee0ca; transform: translateX(3px); }.sales-copyright { grid-column: 1/-1; margin: 30px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); color: #6e8291; font-size: 11px; }
.sales-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }.sales-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .salespage-screen *, .salespage-screen *:before, .salespage-screen *:after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .sales-reveal { opacity: 1; transform: none; }
}
@media (max-width: 1120px) {
  .sales-nav nav { display: none; }.sales-menu-button { display: block; grid-column: 3; grid-row: 1; }.sales-nav-actions { margin-left: auto; }.sales-nav { grid-template-columns: auto 1fr auto auto; }
  .sales-nav.is-open { align-items: start; padding-top: 26px; padding-bottom: 22px; background: rgba(7,23,39,.98); }.sales-nav.is-open nav { grid-column: 1/-1; display: flex; flex-direction: column; align-items: flex-start; padding: 16px 0; }
  .sales-hero { grid-template-columns: 1fr 440px; }.sales-hero-art { transform: scale(.86); transform-origin: center; }.sales-trust-row { gap: 14px; }
  .sales-featured-grid { grid-template-columns: 1fr; }.sales-featured-card { grid-template-columns: 130px 1fr; }.sales-featured-card .public-book-cover { width: 130px; min-height: 185px; }
}
@media (max-width: 860px) {
  .sales-nav { min-height: 74px; padding: 0 20px; }.sales-nav-actions .sales-link-button { display:none; }.sales-nav-cta { min-height: 40px; padding: 0 14px; }.sales-menu-button { width: 40px; height: 40px; }
  .sales-hero { min-height: auto; grid-template-columns: 1fr; padding: 125px 24px 80px; }.sales-hero-copy { max-width: none; }.sales-hero h1 { font-size: clamp(44px,11vw,68px); }.sales-hero-art { width: min(520px,100%); min-height: 480px; margin: 0 auto; transform: none; }.sales-scroll-hint { display: none; }
  .sales-proof { flex-direction: column; gap: 16px; text-align: center; }.sales-proof > div { flex-wrap: wrap; justify-content: center; }
  .sales-section { padding: 78px 24px; }.sales-section-head { align-items: flex-start; flex-direction: column; }.sales-section-head h2,.sales-benefits-intro h2,.sales-platform-copy h2,.sales-faq-intro h2 { font-size: 40px; }
  .sales-benefits,.sales-platform,.sales-faq { grid-template-columns: 1fr; }.sales-platform-visual { order: 2; }.sales-journey-grid { gap: 10px; }.sales-journey-grid article { padding: 0 12px; }.sales-footer { grid-template-columns: 1.5fr 1fr 1fr; }.sales-footer > div:first-child { grid-column: 1/-1; }
}
@media (max-width: 620px) {
  .brand-logo-image { height: 36px; }.store-brand-logo .brand-logo-image { height: 34px; }.sales-brand.brand-logo-link { padding: 4px 7px; border-radius: 10px; }
  .sales-nav { gap: 9px; }.sales-nav-cta { padding: 0 11px; font-size: 11px; }.sales-nav-cta span { display:none; }.sales-menu-button { margin-left: -2px; }.sales-brand { font-size: 17px; gap: 6px; }.sales-brand .brand-mark { width: 25px; transform: scale(.82); transform-origin: left center; }
  .sales-hero { padding-top: 112px; }.sales-hero h1 { font-size: 45px; }.sales-lead { font-size: 16px; }.sales-hero-actions { align-items: stretch; flex-direction: column; }.sales-primary { width: 100%; }.sales-secondary { justify-content: center; }.sales-trust-row { display: grid; grid-template-columns: 1fr 1fr; }.sales-trust-row > div:last-child { grid-column: 1/-1; }
  .sales-hero-art { min-height: 390px; transform: scale(.8); margin: -25px -10% -45px; width: 120%; }.sales-book { width: 150px; height: 230px; padding: 21px 16px; }.sales-book strong { font-size: 18px; }.sales-book-two { height: 260px; }.orbit-one { width: 390px; height: 390px; }.orbit-two { width: 285px; height: 285px; }.sales-float-reader { display:none; }
  .sales-proof > div { gap: 12px; }.sales-proof i { display:none; }.sales-proof span { width: calc(50% - 6px); }
  .sales-section-head h2,.sales-benefits-intro h2,.sales-platform-copy h2,.sales-faq-intro h2 { font-size: 34px; }.sales-featured-card { grid-template-columns: 105px 1fr; padding: 16px; gap: 16px; }.sales-featured-card .public-book-cover { width: 105px; min-height: 155px; }.sales-featured-card h3 { font-size: 18px; }.sales-featured-card p { -webkit-line-clamp: 2; }.sales-featured-actions { flex-direction: column; }.sales-catalog-note { align-items: flex-start; flex-wrap: wrap; justify-content: flex-start; }.sales-catalog-note small { width: 100%; }
  .sales-benefit-grid { grid-template-columns: 1fr; }.sales-benefit-grid article { min-height: 220px; }.sales-journey-grid { grid-template-columns: 1fr; gap: 48px; }.sales-journey-grid:before { display:none; }.sales-journey-grid p { min-height: 0; }.sales-platform-visual { min-height: 390px; }.platform-window { width: 96%; }.platform-badge { right: -8px; bottom: 8px; }.sales-platform-copy ul { grid-template-columns: 1fr; }.sales-platform-actions { align-items: stretch; flex-direction: column; }.sales-platform-actions .sales-plain { text-align:center; }
  .sales-quote blockquote { font-size: 29px; }.sales-final-cta { align-items: flex-start; flex-direction: column; }.sales-final-cta .sales-primary { width: auto; }.sales-footer { grid-template-columns: 1fr 1fr; gap: 38px 25px; }.sales-footer > div:first-child { grid-column: 1/-1; }.sales-copyright { margin-top: 0; }
}
