/* BuyViews 7.1 Experience System. Pure presentation; app, order and payment logic are unchanged. */
:root {
  --bx-night:#10152f; --bx-ink:#17203e; --bx-primary:#6847df; --bx-primary-deep:#4b2cad;
  --bx-aqua:#18a5b4; --bx-pale:#f6f7fd; --bx-muted:#5d6a84; --bx-line:#e1e5f2;
  --bx-surface:#fff; --bx-shadow:0 14px 40px rgba(29,31,84,.075);
  --bx-radius:22px; --bx-sm:12px; --bx-ring:0 0 0 4px rgba(104,71,223,.16);
}
html { scroll-behavior:smooth; scrollbar-gutter:stable; }
body { font-synthesis:none; -webkit-font-smoothing:antialiased; }
body.public-page,body.account-page,body.admin-page { background:#f7f8fd; color:var(--bx-ink); }
* { -webkit-tap-highlight-color:transparent; }
a,button,input,select,textarea { touch-action:manipulation; }
button,input,textarea,select { font-size:16px; }
input[type="checkbox"],input[type="radio"] { accent-color:var(--bx-primary); }
a:not([class]) { text-underline-offset:3px; }
:where(button,a,input,textarea,select,summary):focus-visible { outline:3px solid #199dae!important;outline-offset:3px!important; }
:is(.admin-content,.account-content,.catalog-page,.checkout-page) { min-width:0; }
.bx-icon { display:inline-block; width:19px; height:19px; flex:0 0 19px; vertical-align:middle; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.bx-icon-sm { width:16px;height:16px;flex-basis:16px; }
.bx-icon-lg { width:24px;height:24px;flex-basis:24px; }
.bx-visually-hidden { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
/* Global header with clear, short navigation and reliable mobile behavior. */
body .site-header.app-site-header { position:sticky;top:0;z-index:110;min-height:74px;background:rgba(255,255,255,.97);border-bottom:1px solid #e4e8f4;padding-block:11px;backdrop-filter:saturate(150%) blur(14px); }
body .site-header.app-site-header .nav-links { gap:6px; }
body .site-header.app-site-header .nav-links a { border-radius:11px; padding:11px 12px; text-decoration:none; transition:background .15s ease,color .15s ease; }
body .site-header.app-site-header .nav-links a:not(.sign-in):hover,body .site-header.app-site-header .nav-links a[aria-current="page"] { background:#f0eeff;color:#4830ae!important; }
body .site-header.app-site-header .nav-links .sign-in { white-space:nowrap;background:#eeeaff;border:1px solid #d9d0fa; }
.bx-header-cta { display:inline-flex;gap:7px;align-items:center;justify-content:center;min-height:42px;padding:9px 17px;border-radius:12px;background:#6847df;color:white!important;font-size:13px;font-weight:780;text-decoration:none!important;white-space:nowrap;box-shadow:0 8px 22px rgba(78,49,175,.2); }
.bx-header-cta:hover { background:#5033b6; }
body .site-header .wordmark { font-size:20px; }
body .site-header .brand-mark { box-shadow:0 6px 18px rgba(80,56,165,.18); }
/* A quiet mobile tab bar: visible only where it reduces navigation work. */
.bx-mobile-dock { display:none; }
/* Hero and primary platform choice */
body .bv7-hero { background:#101530; }
body .bv7-hero-grid { padding-block:64px 50px;gap:36px; }
body .bv7-hero h1 { font-size:clamp(43px,5.15vw,72px); max-width:720px; line-height:1.06; }
body .bv7-hero-text>p { max-width:580px; color:#dae2fb; }
body .bv7-hero-ctas .bv7-btn { min-height:55px; }
body .bv7-platform-section { padding-block:68px 72px; }
body .bv7-platform-card { border:1px solid #e3e7f4;border-radius:22px;min-height:190px;position:relative;isolation:isolate; }
body .bv7-platform-card:hover,body .bv7-platform-card:focus-visible { transform:translateY(-2px);border-color:#a79aef; }
body .bv7-platform-mark { border-radius:13px; }
.bx-section-context { display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 20px; }
.bx-section-context a { display:inline-flex;gap:7px;align-items:center;min-height:40px;padding:8px 13px;border:1px solid #e2e4f2;border-radius:100px;background:#fff;color:#4d3ca7;text-decoration:none;font-size:12px;font-weight:730; }
.bx-section-context a:hover { background:#f1edff;border-color:#c6b8f2; }
.bx-section-context .bx-icon { width:17px;height:17px;flex-basis:17px; }
body .bv7-order-section { background:linear-gradient(135deg,#f1f0ff,#fafbff 65%,#edfafe); }
body .bv7-order-card { box-shadow:0 25px 75px rgba(38,37,105,.11);border:1px solid #dedff6;border-radius:26px; }
body .bv7-quick-form label>span { color:#31395e; }
body .bv7-quick-form select,body .bv7-quick-form input { min-height:52px;border-radius:13px;background:#fff; }
body .bv7-quick-form select:focus,body .bv7-quick-form input:focus { border-color:#826bea;box-shadow:var(--bx-ring); }
body .bv7-price-panel { border-radius:16px; }
body .bv7-feature-card { border:1px solid #e1e5f4;transition:transform .18s ease,box-shadow .18s ease; }
body .bv7-feature-card:hover { transform:translateY(-2px);box-shadow:var(--bx-shadow); }
body .bv7-faq-grid details { border:1px solid #e0e4f3;background:white;box-shadow:0 8px 24px rgba(30,40,98,.045); }
body .bv7-faq-grid summary { cursor:pointer;min-height:55px; }
.bx-education-callout { display:grid;grid-template-columns:42px minmax(0,1fr);gap:13px;align-items:start;border:1px solid #d7e8ed;border-radius:19px;padding:19px;background:linear-gradient(115deg,#ecfbfc,#f7f5ff);margin:20px auto 0;max-width:900px; }
.bx-education-callout .bx-icon { color:#278b9d;width:28px;height:28px;flex-basis:28px;margin:6px; }
.bx-education-callout h3 { font-size:15px;line-height:1.4;margin:0 0 4px;color:#17203e;letter-spacing:-.025em; }
.bx-education-callout p { font-size:13px;margin:0;color:#52627e; }
/* Catalog: a clear filter workbench and scannable choices. */
body .catalog-search-hero { padding:55px 0 26px; }
body .catalog-search-hero h1 { font-size:clamp(38px,5vw,65px);line-height:1.07;max-width:850px; }
body .browse-intent-bar { border-radius:16px;gap:9px;box-shadow:none; }
body .browse-intent-bar a { border-radius:10px;min-height:42px; }
body .browse-shortcuts { border:1px solid var(--bx-line);border-radius:22px;background:#fff;box-shadow:0 8px 24px rgba(34,44,98,.04); }
body .browse-platforms a,body .browse-goals a { border-radius:12px; }
body .catalog-command-center { width:min(calc(100% - 34px),1280px); }
body .catalog-filter-panel { border-radius:22px;background:#172043;border:1px solid #2c3664;box-shadow:0 18px 45px rgba(18,26,66,.10); }
body .catalog-filter-panel .filter-panel-title { align-items:center; }
body .catalog-filter-panel label>span { font-size:12px;font-weight:730; }
body .catalog-filter-panel input,body .catalog-filter-panel select { min-height:47px;border-radius:12px; }
body .catalog-filter-panel .filter-actions { align-items:center; }
body .catalog-results-2 { border-radius:23px;border:1px solid var(--bx-line);background:white;box-shadow:0 11px 33px rgba(20,36,91,.035); }
body .catalog-result { background:#fff;border:1px solid #e3e8f3;border-radius:18px;box-shadow:none;margin-bottom:12px;padding:20px;transition:border-color .18s ease,box-shadow .18s ease; }
body .catalog-result:hover,body .catalog-result:focus-within { border-color:#baaef5;box-shadow:0 9px 27px rgba(50,43,121,.09); }
body .catalog-result h2 { font-size:18px;line-height:1.35;letter-spacing:-.02em; }
body .catalog-result-tags { flex-wrap:wrap; }
body .catalog-result-tags>span { border-radius:100px;font-size:10px;white-space:normal; }
body .catalog-result-facts { gap:12px; }
body .catalog-result-facts span { border-radius:11px;background:#f7f8fc;padding:8px 11px; }
body .catalog-result-actions { gap:10px; }
body .catalog-result-actions .button { min-height:45px; }
body .catalog-order-tray { border:1px solid #dedff0;border-radius:22px;box-shadow:var(--bx-shadow); }
.bx-result-guidance { border:1px solid #dbe5f1;background:#f6faff;border-radius:14px;padding:13px 15px;margin-bottom:15px;color:#50607c;font-size:13px; }
.bx-result-guidance strong { color:#2d3559; }
/* Checkout: stable, scannable steps and a visible order summary on desktop. */
body .bv7-checkout-page { padding-bottom:60px; }
body .bv7-checkout-page .page-hero { padding:32px 0 26px; }
body .bv7-checkout-page .page-hero h1 { font-size:clamp(34px,4.8vw,61px);line-height:1.08; }
body .bv7-checkout-steps { max-width:1100px;border-radius:17px;background:#fff;border:1px solid #e1e6f3;box-shadow:0 8px 25px rgba(36,43,96,.045);margin:30px auto 10px; }
body .checkout-grid { width:min(calc(100% - 34px),1170px);grid-template-columns:minmax(0,1fr) minmax(300px,360px);gap:24px;align-items:start; }
body .checkout-form { padding:clamp(20px,3vw,34px);border-radius:22px;border:1px solid #e2e7f3; }
body .checkout-form fieldset { border-radius:17px;padding:20px 20px 22px;border:1px solid #e5e7f3;margin-bottom:22px;min-width:0; }
body .checkout-form fieldset legend { font-size:15px;font-weight:840;color:#272e57;padding:0 8px; }
body .checkout-form label { min-width:0; }
body .checkout-form label>span { font-weight:690;color:#293554; }
body .checkout-form input:not([type="checkbox"]):not([type="radio"]),body .checkout-form select,body .checkout-form textarea { min-height:49px;border:1px solid #d7dfef;border-radius:12px;background:#fff;box-shadow:none; }
body .checkout-form input:focus,body .checkout-form textarea:focus { border-color:#876de9;box-shadow:var(--bx-ring); }
body .checkout-form .payment-option { border:1px solid #dfe5f2;border-radius:14px;min-height:68px;background:white;transition:background .15s,border-color .15s; }
body .checkout-form .payment-option:has(input:checked) { border-color:#927be6;background:#f7f3ff;box-shadow:var(--bx-ring); }
body .checkout-form .legal-check { align-items:start;gap:12px; }
body .checkout-form .legal-check input { width:19px;height:19px;min-width:19px; }
body .checkout-form .checkout-submit { min-height:54px;border-radius:14px;font-size:15px; }
body .order-summary { position:sticky;top:94px;border:1px solid #e0e4f3;border-radius:22px;box-shadow:var(--bx-shadow);overflow-wrap:anywhere; }
body .order-summary h2 { font-size:clamp(19px,2vw,24px);line-height:1.25; }
body .order-summary .summary-total { border-radius:14px;background:#f3f0ff;padding:17px; }
.bx-checkout-help { display:flex;gap:12px;align-items:start;margin:10px 0 16px;padding:15px 16px;border-radius:15px;background:#eff9fb;border:1px solid #d6ecf0;color:#415c72;font-size:13px;line-height:1.6; }
.bx-checkout-help .bx-icon { color:#318b9b;flex:0 0 20px; }
.bx-checkout-help a { font-weight:760; }
/* Account, authentication, static content, and editorial pages. */
body .account-shell { width:min(calc(100% - 30px),1260px);gap:20px; }
body .account-sidebar,body .account-panel { border-radius:20px; }
body .account-panel,body .auth-card,body .track-lookup-card,body .legal-content,body .content-layout>aside,body .hub-card,body .bv6-learn-section { box-shadow:0 10px 30px rgba(24,36,88,.05); }
body .account-panel h2,body .auth-card h2,body .legal-content h2 { letter-spacing:-.035em; }
body .account-title h1 { font-size:clamp(30px,4vw,49px);line-height:1.12; }
body .account-content input,body .account-content select,body .account-content textarea,body .auth-card input,body .track-lookup-card input { border-radius:12px;min-height:47px; }
body .bv6-learn-section { padding:clamp(20px,3vw,33px); }
body .bv6-learn-toc { gap:9px; }
body .bv6-glossary details { background:#fff; }
/* Unified admin workspace: accessible nav, predictable cards and tools. */
body .admin-shell { background:#f6f7fc; }
body .admin-sidebar { top:0;height:100dvh;background:#151b39;border-right:1px solid #333a65; }
body .admin-sidebar nav a { min-height:41px;font-size:12px;line-height:1.25; }
body .admin-sidebar nav a .bx-icon { margin-right:7px;width:17px;height:17px;flex-basis:17px;opacity:.82; }
body .admin-sidebar nav a.active { background:linear-gradient(105deg,#734ee2,#5940c5); }
body .admin-sidebar nav a.active .bx-icon { opacity:1; }
body .admin-content { padding:clamp(20px,2.7vw,39px);min-width:0; }
body .admin-title { gap:13px;padding:0 0 5px; }
body .admin-title h1 { font-size:clamp(28px,3vw,39px);line-height:1.12; }
body .admin-metrics article { min-height:127px;border:1px solid #e0e5f1;border-radius:19px;padding:20px;box-shadow:0 7px 24px rgba(28,38,95,.04); }
body .admin-metrics strong { font-variant-numeric:tabular-nums;overflow-wrap:anywhere; }
body .admin-panel,body .admin-card,body .admin-grid section,body .settings-card,body .security-panel { border-radius:20px;border:1px solid #e1e5f1;box-shadow:0 9px 28px rgba(20,35,88,.04); }
body .admin-panel { padding:clamp(16px,2vw,25px); }
body .admin-panel table,body .admin-panel th,body .admin-panel td { font-variant-numeric:tabular-nums; }
body .admin-panel th { position:sticky;top:0;z-index:1;white-space:nowrap; }
body .table-scroll { border:1px solid #e8ebf4;border-radius:13px; }
body .data-table th,body .data-table td { padding:12px 13px; }
body .admin-panel input,body .admin-panel select,body .admin-panel textarea { color:#222c50; }
body .admin-panel input:focus,body .admin-panel select:focus,body .admin-panel textarea:focus { border-color:#8067e7;box-shadow:var(--bx-ring); }
body .admin-content .button { min-height:43px;border-radius:11px; }
body .bv6-admin-quicklinks a { border:1px solid #e0e5f1;border-radius:16px; }
body .bv6-admin-quicklinks a .bx-icon { color:#6347c8;display:block;width:23px;height:23px;margin-bottom:7px; }
body .admin-profile { overflow:hidden; }
body .admin-profile span { overflow-wrap:anywhere; }
.bx-admin-toggle { display:none;align-items:center;justify-content:center;gap:8px;background:#272d59;border:1px solid #454b7a;color:#fff;font-weight:720;border-radius:12px;min-height:43px;padding:8px 15px; }
.bx-admin-header-tools { display:flex;gap:8px;align-items:center;flex-wrap:wrap; }
.bx-admin-header-tools a { text-decoration:none;display:inline-flex;align-items:center;gap:6px;border:1px solid #dfe3ef;background:#fff;color:#3d426e;border-radius:11px;padding:9px 13px;min-height:42px;font-size:12px;font-weight:750; }
.bx-admin-header-tools a:hover { background:#f0edff;color:#4a30b3; }
.bx-admin-header-tools a .bx-icon { width:16px;height:16px;flex-basis:16px; }
/* Consistent footer, alerts, empty states, and safe animation. */
body .app-footer { border-radius:0;padding-bottom:calc(28px + env(safe-area-inset-bottom,0px)); }
body .app-footer .brand { white-space:nowrap; }
body .flash { border-radius:13px; }
body .empty-state,body .catalog-empty { border:1px dashed #cad3e8;background:#f8faff;border-radius:14px;padding:25px; }
body .notice { border-radius:13px; }
body .button,body .button-blue,body .bv7-btn,body .continue-button { font-weight:780; }
body .button-blue,body .continue-button { background:#6847df;border-color:#6847df;color:#fff; }
body .button-blue:hover,body .continue-button:hover { background:#5235bf;border-color:#5235bf; }
body .site-header a,body .bv7-btn,body .catalog-result,body .bv7-platform-card { -webkit-tap-highlight-color:transparent; }
@media (min-width:1101px) { body .admin-shell { grid-template-columns:248px minmax(0,1fr); } }
@media (max-width:1100px) { body .checkout-grid { grid-template-columns:minmax(0,1fr) 310px; } body .bv7-hero-grid { padding-block:48px 34px; } }
@media (max-width:900px) { body .checkout-grid { grid-template-columns:1fr; } body .order-summary { position:static; } }
@media (max-width:760px) {
  html { scroll-padding-top:75px; }
  body .site-header.app-site-header { min-height:65px;padding:8px 13px; }
  body .site-header .wordmark { font-size:18px; }
  body .site-header .brand-mark { height:38px;width:38px;flex-basis:38px; }
  body .site-header .nav-links { top:calc(100% + 6px); }
  .bx-header-cta { display:none; }
  body.public-page,body.account-page { padding-bottom:calc(66px + env(safe-area-inset-bottom,0px)); }
  body.public-page:has(.checkout-page) { padding-bottom:0; }
  .bx-mobile-dock { display:grid;position:fixed;bottom:0;left:0;right:0;z-index:105;grid-template-columns:repeat(4,minmax(0,1fr));padding:6px 9px calc(7px + env(safe-area-inset-bottom,0px));gap:4px;background:rgba(255,255,255,.97);border-top:1px solid #e0e4f1;box-shadow:0 -12px 34px rgba(23,28,70,.09);backdrop-filter:blur(16px); }
  .bx-mobile-dock a { min-height:48px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;border-radius:11px;text-decoration:none;color:#606d88;font-size:10px;font-weight:800; }
  .bx-mobile-dock a[aria-current="page"],.bx-mobile-dock a:hover { background:#f0ebff;color:#553bb8; }
  .bx-mobile-dock .bx-icon { width:20px;height:20px;flex-basis:20px; }
  body.public-page:has(.checkout-page) .bx-mobile-dock,body.admin-page .bx-mobile-dock { display:none; }
  body .bv7-hero-grid { padding-block:38px 26px; }
  body .bv7-platform-section { padding-block:48px 54px; }
  body .bv7-platform-card { min-height:168px; }
  body .bv7-order-card { padding:18px; }
  body .catalog-command-center { width:calc(100% - 24px); }
  body .catalog-result { padding:15px; }
  body .checkout-form fieldset { padding:15px; }
  body .admin-shell { display:flex;flex-direction:column; }
  body .admin-sidebar { height:auto;min-height:0;position:relative;top:auto;padding:12px 14px;gap:6px; }
  body .admin-brand { margin:0; }
  body .admin-sidebar nav { display:flex;overflow-x:auto;flex-wrap:nowrap;scroll-snap-type:x mandatory; }
  .bx-admin-toggle { display:inline-flex;align-self:flex-start; }
  html.bx-js body .admin-sidebar nav { display:none; }
  html.bx-js body .admin-sidebar nav.bx-admin-nav-open { display:flex;flex-wrap:wrap;max-height:50dvh;overflow-y:auto;scroll-snap-type:none; }
  html.bx-js body .admin-sidebar nav.bx-admin-nav-open a { width:calc(50% - 4px);max-width:none;flex:0 0 calc(50% - 4px);min-height:45px; }
  html.bx-js body .admin-sidebar nav.bx-admin-nav-open .bv7-admin-group-label { flex:0 0 100%;width:100%; }
  body .admin-profile { display:none; }
  body .admin-sidebar:has(.bx-admin-nav-open) .admin-profile { display:block; }
  body .admin-content { padding:19px 13px 34px; }
  body .admin-panel { padding:16px; }
  body .data-table { min-width:610px; }
  body .admin-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body .bv6-admin-quicklinks { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body .app-footer { padding-bottom:35px; }
}
@media (max-width:520px) {
  body .bv7-hero h1 { font-size:clamp(36px,10vw,46px); }
  body .bv7-hero-ctas a { width:100%; }
  body .bv7-platform-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body .bv7-platform-card { padding:13px; }
  body .bv7-order-steps { grid-template-columns:1fr; }
  body .catalog-result { display:grid;grid-template-columns:42px minmax(0,1fr);gap:11px; }
  body .catalog-result-actions { grid-column:1/-1;display:grid;grid-template-columns:1fr; }
  body .catalog-result-actions .button { width:100%; }
  body .catalog-search-hero { width:calc(100% - 30px);padding:35px 0 20px; }
  body .checkout-form { padding:16px; }
  body .checkout-grid { width:calc(100% - 22px); }
  body .bv7-checkout-steps { margin:15px 11px 8px; }
  body .checkout-form fieldset { padding:13px; }
  body .admin-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body .admin-metrics strong { font-size:clamp(20px,6vw,28px); }
  body .bv6-admin-quicklinks { grid-template-columns:1fr 1fr; }
}
@media (max-width:350px) {
  body .site-header .wordmark { font-size:16px; }
  .bx-mobile-dock a { font-size:9px; }
  body .admin-metrics { grid-template-columns:1fr; }
  html.bx-js body .admin-sidebar nav.bx-admin-nav-open a { flex-basis:100%;width:100%; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important; }
}
/* Final readability correction from visual device review. */
body .order-summary .summary-total { background:#191c43;color:#fff;border:1px solid #282c5a; }
body .order-summary .summary-total span,body .order-summary .summary-total strong { color:#fff!important; }
@media(max-width:760px){
  body .admin-sidebar { width:100%!important;min-width:0;max-width:none!important;flex:0 0 auto; }
  body .admin-shell>.admin-sidebar { align-self:stretch; }
}
