:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --sidebar-start: #082a56;
  --sidebar-end: #0b356e;
  --canvas: #f3f7fc;
  --navy: #092955;
  --text: #14243e;
  --muted: #6c7d99;
  --line: #dfe7f2;
  --shadow: 0 8px 27px rgba(26, 63, 110, .045);
  font-family: 'Roboto', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--text); background: var(--canvas); font-family: 'Roboto', Arial, sans-serif; }
button, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, select:focus-visible { outline: 3px solid rgba(37, 99, 235, .35); outline-offset: 3px; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
[hidden] { display: none !important; }
button:disabled { cursor: not-allowed; }
.app-shell { min-height: 100vh; }
.sidebar {
  width: 250px; position: fixed; inset: 0 auto 0 0; z-index: 40;
  display: flex; flex-direction: column; padding: 21px 14px 18px; color: #fff;
  background: radial-gradient(circle at 18% 5%, rgba(69, 151, 255, .24), transparent 30%),
    linear-gradient(180deg, var(--sidebar-start), var(--sidebar-end) 100%);
  box-shadow: 10px 0 36px rgba(16, 49, 91, .09);
}
.brand { display: block; min-height: 66px; border-bottom: 1px solid rgba(255, 255, 255, .13); padding: 0 7px 20px; text-decoration: none; color: #fff; }
.brand img { display: block; width: 190px; height: 47px; object-fit: contain; object-position: left center; }
.brand-fallback { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.brand-fallback svg { width: 40px; height: 40px; stroke-width: 2; }
.brand-fallback strong { font-size: 29px; letter-spacing: -.065em; font-weight: 850; }
.side-scroll { min-height: 0; flex: 1; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #5b82b0 transparent; }
.sidebar-label { margin: 23px 13px 2px; color: #a3bddc; font-weight: 800; font-size: 9px; letter-spacing: .13em; }
.nav-group { margin: 12px 0 0; }
.nav-group-title { display: block; margin: 10px 13px 9px; font-size: 9px; font-weight: 800; letter-spacing: .12em; color: #93b4dc; }
.nav-list { padding-bottom: 14px; }
.nav-link { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 11px; margin: 2px 0; border-radius: 10px; color: #d9e7fb; text-decoration: none; font-size: 12px; font-weight: 650; transition: background .16s ease, color .16s ease; }
.nav-link:hover { background: rgba(255, 255, 255, .1); }
.nav-link.is-active { color: #fff; background: linear-gradient(97deg, #2254db, var(--blue)); box-shadow: 0 9px 18px rgba(4, 32, 87, .21); }
.nav-icon { display: grid; place-items: center; width: 23px; height: 23px; flex: 0 0 23px; border: 1px solid rgba(215, 232, 255, .26); border-radius: 7px; }
.nav-icon svg { width: 15px; height: 15px; stroke-width: 1.75; }
.nav-pill { width: 17px; height: 17px; margin-left: auto; text-align: center; border-radius: 50%; background: rgba(255, 255, 255, .1); font-size: 15px; line-height: 11px; }
.sidebar-foot { border: 1px solid rgba(255, 255, 255, .15); border-radius: 13px; padding: 13px 12px; background: rgba(255, 255, 255, .055); }
.sidebar-foot a { display: block; color: #fff; font-weight: 700; font-size: 11px; text-decoration: none; margin-bottom: 12px; }
.sidebar-foot a:hover { text-decoration: underline; }
.foot-status { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 10px; }
.foot-status i, .hero-status i { display: inline-block; flex: 0 0 7px; height: 7px; border-radius: 50%; background: #4ce5a7; box-shadow: 0 0 0 4px rgba(76, 229, 167, .12); }
.sidebar-foot small { display: block; margin-top: 5px; line-height: 1.5; color: #a6c4e9; font-size: 9px; }
.main-column { margin-left: 250px; min-width: 0; }
.topbar { height: 66px; padding: 0 26px; display: flex; align-items: center; gap: 15px; position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); border-bottom: 1px solid #e4eaf3; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 11px; min-width: 0; white-space: nowrap; }
.breadcrumb span { color: #9aaac0; }
.breadcrumb i { color: #cbd5e2; font-style: normal; }
.breadcrumb strong { font-weight: 800; }
.breadcrumb .breadcrumb-view { font-size: 10px; color: #7d8ba3; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; min-width: 0; }
.language-field { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px 6px 6px; background: #fff; border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 4px 12px rgba(38, 76, 121, .035); }
.lang-symbol { display: grid; place-items: center; min-width: 27px; height: 25px; background: #eef3ff; color: #295dd2; border-radius: 7px; font-weight: 850; font-size: 9px; }
.language-field select { max-width: 110px; background: transparent; border: none; outline: none; color: #233852; font-size: 11px; font-weight: 700; cursor: pointer; }
.top-avatar { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(140deg, #093469, #2865cb); color: #fff; font-size: 12px; font-weight: 800; }
.identity { min-width: 0; max-width: 180px; }
.identity strong, .identity small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.identity strong { font-size: 11px; font-weight: 800; }
.identity small { margin-top: 3px; color: #8997ac; font-size: 9px; }
.logout { border: 0; color: #285ed2; font-size: 10px; background: transparent; padding: 9px; font-weight: 800; cursor: pointer; }
.icon-button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: #253c5c; cursor: pointer; }
.icon-button svg { width: 18px; height: 18px; }
.menu-button { display: none; }
.content { width: min(1560px, 100%); margin: auto; padding: 28px 30px 50px; }
.hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 35px; overflow: hidden; min-height: 175px; padding: 30px 34px; border-radius: 20px; background: linear-gradient(110deg, #092a57 0%, #103b78 58%, #285fcf 115%); color: #fff; box-shadow: 0 13px 27px rgba(16, 52, 100, .1); }
.hero::after { content: ''; position: absolute; width: 210px; height: 210px; right: -72px; top: -30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 0 0 35px rgba(255, 255, 255, .045), 0 0 0 70px rgba(255, 255, 255, .02); pointer-events: none; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 76% 20%, rgba(77, 165, 255, .16), transparent 32%); pointer-events: none; }
.hero-left,.hero-right { position: relative; z-index: 1; }
.eyebrow,.section-kicker { font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.eyebrow { color: #9fc9f6; }
.hero h1 { font-size: clamp(25px, 2.6vw, 36px); line-height: 1.12; letter-spacing: -.04em; margin: 10px 0; }
.hero p { font-size: 12px; line-height: 1.65; max-width: 660px; color: #d2e3fb; margin: 0; }
.hero-right { min-width: 224px; padding: 15px 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .19); border-radius: 14px; }
.hero-status { display: flex; gap: 9px; align-items: center; font-size: 11px; font-weight: 800; }
.hero-meta { color: #c2d8fb; margin: 8px 0 0 16px; font-size: 9px; }
.section-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 23px 0 14px; }
.section-kicker { color: #3369d1; margin: 0 0 5px; text-transform: uppercase; }
.section-toolbar h2 { font-size: 21px; letter-spacing: -.025em; margin: 0; }
.section-toolbar p:not(.section-kicker) { font-size: 11px; margin: 6px 0 0; color: var(--muted); }
.toolbar-actions { display: flex; gap: 8px; align-items: center; padding-bottom: 4px; }
.stage-badge { display: inline-flex; justify-content: center; align-items: center; padding: 5px 9px; border-radius: 999px; font-size: 9px; font-weight: 800; background: #f1f4f8; color: #738399; white-space: nowrap; }
.stage-badge.blue { color: #2760d1; background: #eaf1ff; }
.stage-badge.neutral { color: #8a6d30; background: #fff6e4; }
.metrics-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.metric-card { padding: 15px 15px 14px; border: 1px solid var(--line); border-radius: 14px; min-width: 0; background: #fff; box-shadow: var(--shadow); }
.metric-top { display: flex; align-items: start; justify-content: space-between; }
.metric-icon, .source-icon, .integration-icon { display: grid; place-items: center; background: #edf3ff; color: #2865d4; border-radius: 10px; }
.metric-icon { width: 32px; height: 32px; }
.metric-icon svg { width: 17px; height: 17px; }
.metric-icon.green,.source-icon.green { color: #0e9a74; background: #e8f9f1; }
.metric-icon.amber,.source-icon.amber { color: #cf8a19; background: #fff4dc; }
.metric-icon.violet { color: #8352e8; background: #f4ecff; }
.metric-icon.cyan { color: #0c92ba; background: #e6f7fb; }
.metric-icon.rose { color: #dc5573; background: #fff0f5; }
.metric-flag { font-size: 13px; color: #c2ccda; }
.metric-label { margin: 13px 0 6px; font-size: 10px; font-weight: 700; color: #62718b; }
.metric-value { font-size: 25px; font-weight: 900; letter-spacing: -.04em; line-height: 1; color: #132845; }
.metric-card small { display: block; line-height: 1.5; margin-top: 9px; color: #96a4b6; font-size: 9px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(330px, .9fr); gap: 13px; margin-bottom: 13px; }
.panel { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); }
.panel-heading { padding: 20px 21px 15px; border-bottom: 1px solid #eaf0f6; display: flex; align-items: center; justify-content: space-between; }
.panel-heading h3 { font-size: 14px; line-height: 1.4; letter-spacing: -.012em; margin: 0; }
.panel-heading p { color: var(--muted); font-size: 10px; line-height: 1.6; margin: 5px 0 0; }
.api-feature { position: relative; overflow: hidden; padding: 23px 25px; background: linear-gradient(117deg, #fff 0%, #f7faff 85%); }
.api-glow { position: absolute; width: 250px; height: 250px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(45, 118, 228, .12), transparent 73%); }
.feature-heading { display: flex; align-items: center; gap: 12px; position: relative; }
.feature-icon { width: 43px; height: 43px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; background: linear-gradient(140deg, #1657bd, #397bfa); border-radius: 12px; box-shadow: 0 10px 24px rgba(27, 87, 190, .17); }
.feature-icon svg { width: 22px; height: 22px; }
.feature-heading h3 { font-size: 18px; letter-spacing: -.035em; margin: 0; }
.feature-description { position: relative; font-size: 11px; color: #586b87; line-height: 1.7; margin: 15px 0 16px; max-width: 700px; }
.steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; position: relative; }
.steps span { display: flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 750; color: #3e5979; background: #f0f5fe; padding: 7px 9px; border: 1px solid #e5ecfa; border-radius: 9px; }
.steps b { font-size: 10px; color: #2a67d5; }
.steps i { width: 12px; height: 1px; background: #bfcee6; }
.primary-button { display: inline-flex; gap: 8px; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: #245fde; padding: 10px 14px; color: #fff; font-size: 11px; font-weight: 800; cursor: pointer; }
.primary-button:hover { background: #194fbe; }
.primary-button svg, .text-link svg, .secondary-link svg { width: 14px; height: 14px; }
.readiness-panel { overflow: hidden; }
.readiness-list { padding: 7px 19px 13px; }
.readiness-list > div { padding: 13px 2px; display: flex; gap: 11px; align-items: center; border-bottom: 1px solid #edf2f8; font-size: 10px; font-weight: 600; line-height: 1.5; }
.readiness-list > div:last-child { border-bottom: 0; }
.readiness-list > div > span:nth-child(2) { flex: 1; }
.readiness-list > div > svg { width: 15px; height: 15px; color: #b0bed2; flex: 0 0 auto; }
.readiness-number { color: #2763d2; background: #eaf1ff; border-radius: 7px; width: 28px; height: 27px; flex: 0 0 28px; display: grid; place-items: center; font-size: 9px; font-weight: 900; }
.view-section { margin: 20px 0; }
.simple-heading { margin: 0 0 12px; }
.simple-heading h3 { margin: 0; font-size: 15px; }
.method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.method-card { padding: 19px; min-height: 194px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: var(--shadow); }
.method-card.is-featured { border-color: #c0d3f8; background: linear-gradient(160deg, #fff, #f7faff); }
.method-top { display: flex; align-items: start; justify-content: space-between; gap: 8px; }
.method-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #edf4ff; color: #2b65d6; }
.method-icon.adspower { background: #eaf7f9; color: #0788a7; }
.method-icon.iphone { background: #f2edff; color: #7b55dc; }
.method-icon svg { width: 22px; height: 22px; }
.method-card h3 { margin: 14px 0 6px; font-size: 14px; }
.method-card p { margin: 0 0 13px; font-size: 10px; line-height: 1.65; color: #70809a; }
.text-link { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: none; padding: 2px 0; color: #235dd0; text-align: left; font-size: 10px; font-weight: 800; cursor: pointer; margin-top: auto; }
.text-link:hover { text-decoration: underline; }
.activity-panel { overflow: hidden; margin-top: 13px; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { background: #f6f9fc; color: #6a7d96; padding: 12px 17px; text-align: left; white-space: nowrap; font-weight: 700; font-size: 10px; border-bottom: 1px solid #e9eff6; }
.empty-state { display: flex; min-height: 180px; align-items: center; justify-content: center; flex-direction: column; text-align: center; padding: 30px 22px; color: #536b8a; }
.empty-symbol { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: #eef4ff; color: #4d7cce; margin-bottom: 13px; }
.empty-symbol svg { width: 23px; height: 23px; }
.empty-state strong { font-size: 12px; color: #31435b; }
.empty-state p { max-width: 435px; margin: 8px auto 0; color: #91a0b2; font-size: 10px; line-height: 1.65; }
.mapping-panel { margin-bottom: 13px; }
.mapping-track { padding: 21px; display: flex; align-items: stretch; gap: 7px; }
.mapping-step { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 17px 10px; gap: 9px; align-items: center; border: 1px solid #e2ebf6; background: #f9fbff; border-radius: 11px; text-align: center; }
.mapping-index { font-size: 10px; font-weight: 900; color: #2f69d4; }
.mapping-step strong { font-size: 10px; line-height: 1.45; }
.mapping-arrow { color: #b4c5d9; display: grid; place-items: center; }
.list-panel { margin: 13px 0; overflow: hidden; }
.source-panel { padding: 21px; }
.source-icon { width: 44px; height: 44px; }
.source-icon svg { width: 21px; height: 21px; }
.source-panel h3 { margin: 13px 0 7px; font-size: 15px; }
.source-panel p { max-width: 450px; color: #6b7f9b; font-size: 11px; line-height: 1.7; margin: 0 0 14px; }
.schema-panel { margin: 13px 0; }
.schema-code { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px; }
.schema-code code { white-space: normal; overflow-wrap: anywhere; font-size: 11px; color: #325071; line-height: 1.8; }
.secondary-button, .secondary-link { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid #dae5f4; border-radius: 10px; background: #fff; color: #245bba; font-size: 10px; font-weight: 800; cursor: pointer; text-decoration: none; white-space: nowrap; }
.secondary-button:hover, .secondary-link:hover { background: #f2f6ff; }
.secondary-button svg { width: 15px; height: 15px; }
.api-intro { margin-bottom: 13px; display: flex; justify-content: space-between; align-items: center; gap: 25px; color: #fff; background: linear-gradient(109deg, #10437d, #1d64c1); border-radius: 15px; padding: 23px 26px; box-shadow: var(--shadow); }
.api-intro .section-kicker { color: #b6d9ff; }
.api-intro h3 { margin: 4px 0 8px; font-size: 19px; letter-spacing: -.035em; }
.api-intro p:not(.section-kicker) { margin: 0; color: #dceafc; font-size: 11px; line-height: 1.7; max-width: 650px; }
.api-intro-badge { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 10px; background: rgba(255, 255, 255, .13); padding: 12px 13px; border-radius: 10px; }
.api-intro-badge svg { width: 18px; height: 18px; }
.stage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-bottom: 13px; }
.stage-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 21px; min-height: 214px; box-shadow: var(--shadow); }
.stage-number { position: absolute; right: 18px; top: 18px; font-size: 23px; color: #dee7f4; font-weight: 900; }
.stage-symbol { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 12px; color: #2f66cb; background: #ebf2ff; }
.stage-symbol svg { width: 22px; height: 22px; }
.stage-card h3 { margin: 16px 0 7px; font-size: 14px; }
.stage-card p { margin: 0 0 15px; color: #7285a0; font-size: 10px; line-height: 1.7; }
.setup-checks { padding: 7px 21px; }
.setup-checks > div { min-height: 45px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #e9eef5; font-size: 11px; }
.setup-checks > div:last-child { border-bottom: 0; }
.setup-checks > div > span:nth-child(2) { flex: 1; }
.setup-circle { display: inline-block; height: 17px; width: 17px; border: 1px dashed #bdcbdc; border-radius: 50%; }
.setup-state { color: #8a9ab0; font-size: 9px; font-weight: 700; white-space: nowrap; }
.calendar-panel { overflow: hidden; }
.calendar-header { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 20px 22px; }
.calendar-header h3 { font-size: 17px; letter-spacing: -.02em; margin: 0; text-transform: capitalize; }
.calendar-header p { color: #8a9bb0; margin: 5px 0 0; font-size: 10px; line-height: 1.5; }
.calendar-actions { display: flex; gap: 6px; }
.calendar-actions button { display: grid; place-items: center; width: 35px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: #fff; font-weight: 900; color: #34577b; font-size: 22px; cursor: pointer; }
.calendar-actions button:hover { background: #f1f6ff; }
.calendar-weekdays, .calendar-cells { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-weekdays { padding: 0 10px; background: #f5f8fc; }
.calendar-weekdays span { text-align: center; padding: 13px; color: #74859f; font-size: 10px; font-weight: 750; }
.calendar-cells { padding: 0 10px 13px; }
.calendar-day { min-height: 66px; border-right: 1px solid #eff3f8; border-bottom: 1px solid #eff3f8; padding: 12px; font-size: 10px; color: #4d627e; }
.calendar-day:nth-child(7n) { border-right: 0; }
.calendar-day.is-outside { background: #fbfcfe; }
.calendar-day.is-today span { display: grid; place-items: center; width: 24px; height: 24px; margin-top: -6px; margin-left: -4px; color: #fff; background: #2b63d1; border-radius: 8px; font-weight: 800; }
.calendar-empty { display: flex; align-items: center; justify-content: center; gap: 8px; border-top: 1px solid #eaf0f7; font-size: 11px; padding: 19px; color: #879bb2; }
.calendar-empty svg { width: 17px; height: 17px; }
.metrics-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chart-placeholder { overflow: hidden; margin: 0 0 13px; }
.chart-backdrop { position: relative; height: 275px; padding: 25px; }
.chart-lines { width: 100%; height: 100%; background: repeating-linear-gradient(to bottom, transparent 0, transparent 49px, #edf2f8 50px); border-left: 1px solid #e9eff7; }
.chart-message { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; background: rgba(255, 255, 255, .83); }
.chart-message svg { width: 30px; height: 30px; color: #7390b7; }
.chart-message strong { color: #71839d; font-size: 11px; }
.future-hero { display: flex; align-items: center; gap: 27px; padding: 27px; margin-bottom: 13px; }
.future-art { display: grid; place-items: center; width: 130px; height: 135px; border-radius: 20px; background: linear-gradient(145deg, #eaf1ff, #eff7ff); color: #2560c0; flex: 0 0 130px; }
.future-art svg { width: 70px; height: 70px; stroke-width: 1.35; }
.future-copy h3 { margin: 11px 0 6px; font-size: 19px; }
.future-copy p { margin: 0 0 14px; font-size: 11px; line-height: 1.7; color: #70819a; }
.future-flow { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; }
.future-flow span { color: #39618b; padding: 7px 10px; font-size: 10px; border-radius: 8px; background: #edf5ff; }
.future-flow span:nth-child(even) { padding: 0; background: transparent; color: #9aadc7; }
.integration-list { padding: 5px 20px 15px; }
.integration-list > div { display: flex; gap: 14px; align-items: center; min-height: 68px; border-bottom: 1px solid #edf2f8; }
.integration-list > div:last-child { border-bottom: 0; }
.integration-list strong { flex: 1; font-size: 12px; }
.integration-icon { width: 35px; height: 35px; }
.integration-icon svg { width: 18px; height: 18px; }
.access-panel { margin-top: 13px; padding: 22px; display: flex; gap: 18px; align-items: start; }
.access-panel h3 { margin: 0 0 6px; font-size: 14px; }
.access-panel p { margin: 0 0 14px; color: #75869d; font-size: 10px; line-height: 1.65; }
.page-footer { display: flex; justify-content: space-between; gap: 14px; color: #99a6ba; font-size: 9px; padding: 23px 2px 0; }
.loading-screen { position: fixed; inset: 0; z-index: 99; background: #f3f7fc; display: flex; align-items: center; justify-content: center; gap: 12px; flex-direction: column; color: #2f4668; }
.loading-logo { width: 51px; height: 51px; display: grid; place-items: center; border-radius: 15px; background: #0b3875; color: #fff; font-size: 25px; font-weight: 900; box-shadow: 0 10px 35px rgba(13, 54, 111, .15); }
.loading-screen strong { font-size: 14px; }
.loading-screen small { font-size: 10px; color: #8394aa; }
.access-error { position: fixed; z-index: 110; inset: 0; display: grid; place-items: center; background: var(--canvas); padding: 25px; }
.access-error-card { width: min(440px, 100%); text-align: center; border: 1px solid var(--line); border-radius: 20px; padding: 38px 30px; background: #fff; box-shadow: var(--shadow); }
.access-error-card h1 { font-size: 20px; }
.access-error-card p { color: #72839b; line-height: 1.7; font-size: 12px; }
.access-error-card a { display: inline-block; margin-top: 12px; padding: 10px 15px; color: #fff; text-decoration: none; background: #2563eb; border-radius: 10px; font-size: 11px; font-weight: 750; }
.error-icon { display: grid; place-items: center; margin: auto; width: 45px; height: 45px; border-radius: 14px; background: #fff2e5; color: #c17426; font-weight: 900; font-size: 22px; }
.toast { position: fixed; bottom: 20px; right: 20px; z-index: 120; max-width: 360px; padding: 13px 16px; border-radius: 11px; background: #fff; border: 1px solid #dce5f4; color: #2b4b76; font-size: 11px; box-shadow: 0 15px 45px rgba(28, 57, 99, .2); opacity: 0; transform: translateY(16px); pointer-events: none; transition: .22s ease; }
.toast.is-visible { transform: translateY(0); opacity: 1; }
.mobile-backdrop { position: fixed; inset: 0; z-index: 35; background: rgba(7, 28, 57, .56); }
@media (max-width: 1350px) {
  .metrics-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero h1 { font-size: 31px; }
}
@media (max-width: 1090px) {
  .two-col { grid-template-columns: 1fr; }
  .hero-right { min-width: 185px; }
  .content { padding: 25px 22px 40px; }
  .steps i { display: none; }
}
@media (max-width: 920px) {
  .sidebar { transform: translateX(-100%); transition: transform .2s ease; }
  body.is-menu-open .sidebar { transform: translateX(0); }
  .main-column { margin-left: 0; }
  .menu-button { display: grid; }
  .breadcrumb-view { display: none; }
  .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 690px) {
  .topbar { height: 60px; padding: 0 12px; gap: 9px; }
  .breadcrumb { font-size: 10px; }
  .identity { display: none; }
  .language-field select { width: 75px; }
  .topbar-actions { gap: 5px; }
  .logout { padding: 6px; }
  .top-avatar { width: 30px; height: 30px; }
  .content { padding: 17px 12px 35px; }
  .hero { flex-direction: column; align-items: stretch; padding: 22px 21px; min-height: auto; gap: 18px; }
  .hero h1 { font-size: 26px; }
  .hero-right { width: 100%; }
  .section-toolbar { align-items: start; flex-direction: column; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-grid, .stage-grid { grid-template-columns: 1fr; }
  .steps { gap: 5px; }
  .mapping-track { flex-wrap: wrap; }
  .mapping-step { flex: 1 0 30%; }
  .mapping-arrow { display: none; }
  .future-hero { align-items: start; flex-direction: column; }
  .future-art { width: 100%; height: 120px; flex-basis: auto; }
  .api-intro { flex-direction: column; align-items: start; }
  .calendar-day { min-height: 49px; padding: 8px; }
  .calendar-header { flex-direction: column; align-items: start; }
  .page-footer { flex-direction: column; }
}
@media (max-width: 390px) {
  .metrics-grid { grid-template-columns: 1fr; }
  .language-field select { max-width: 72px; }
  .breadcrumb > span:first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
