@charset "UTF-8";
:root {
  --paper: #f6f7f9;
  --white: #fff;
  --ink: #20252d;
  --muted: #626b78;
  --line: #e2e5ea;
  --accent: #2855c8;
  --accent-hover: #2046a8;
  --accent-soft: #edf2fd;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 14px/1.6 "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:where(a, button, input, textarea, select, summary):focus-visible { outline: 3px solid #7c9be8; outline-offset: 3px; }
button:disabled { cursor: wait; opacity: .6; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.22; letter-spacing: -.035em; }
h1 { font-size: 48px; }
h2 { font-size: 34px; }
h3 { font-size: 20px; letter-spacing: -.02em; }
p { color: var(--muted); }
ul { padding-left: 20px; }
.wrap { width: calc(100% - 80px); max-width: 1200px; margin-inline: auto; }
.icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 500; letter-spacing: .015em; margin-bottom: 18px; }
.eyebrow.muted { color: var(--muted); }
.micro { font-size: 12px; line-height: 1.6; }
.header-shell { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; gap: 20px; align-items: center; flex-shrink: 0; }
.brand > img { display: block; filter: brightness(0); }
.brand-caption { border-left: 1px solid #d7dce3; padding-left: 20px; font-size: 14px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.main-nav { display: flex; gap: 26px; font-size: 12px; color: #525b68; }
.main-nav a, .login-link { padding-block: 10px; }
.main-nav a:hover, .footer-links a:hover { color: var(--accent); }
.header-account { display: flex; align-items: center; gap: 23px; font-size: 13px; }
.button { border: 1px solid transparent; border-radius: 7px; min-height: 48px; padding: 12px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; font-size: 13px; font-weight: 500; line-height: 1.5; text-align: center; transition: background .15s, border-color .15s; }
.button.dark { background: var(--accent); color: white; }
.button.dark:hover { background: var(--accent-hover); }
.button.dark .icon { filter: brightness(0) invert(1); }
.button.outline { background: white; border-color: #cfd5de; color: var(--ink); }
.button.outline:hover { background: #f1f4f8; border-color: #a7b2c1; }
.button.light { background: white; color: var(--ink); }
.button.light:hover { background: #e5ebf6; }
.button.small { min-height: 40px; padding: 9px 16px; font-size: 12px; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); font-size: 13px; font-weight: 500; background: transparent; border: 0; padding: 0; cursor: pointer; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon { width: 17px; height: 17px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 80px; align-items: start; padding-block: 56px 64px; }
.hero-copy { padding-top: 28px; }
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero h1 { font-size: clamp(40px, 4.2vw, 56px); line-height: 1.12; letter-spacing: -.045em; margin-bottom: 25px; }
.hero-lead { max-width: 420px; font-size: 16px; line-height: 1.8; margin-bottom: 34px; }
.hero-limits { display: flex; gap: 32px; padding-block: 25px; border-block: 1px solid var(--line); max-width: 420px; margin-bottom: 29px; }
.hero-limits > div { display: flex; flex-direction: column; gap: 3px; }
.hero-limits > div + div { border-left: 1px solid #d7dce3; padding-left: 32px; }
.hero-limits strong { font-size: 30px; font-weight: 500; letter-spacing: -.04em; }
.hero-limits strong span { font-size: 14px; letter-spacing: 0; font-weight: 400; margin-left: 3px; }
.hero-limits > div > span { color: var(--muted); font-size: 12px; }
.hero-features { display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; font-size: 13px; }
.hero-features > div { display: flex; gap: 12px; align-items: center; }
.hero-features .icon { opacity: .65; }
.hero-check { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px 22px; box-shadow: 0 4px 18px #18274505; }
.check-heading h2 { font-size: 22px; letter-spacing: -.025em; margin-bottom: 5px; }
.check-heading p { font-size: 13px; margin-bottom: 24px; }
.tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 22px; gap: 20px; }
.tabs button { position: relative; border: 0; background: transparent; padding: 0 0 12px; min-height: 38px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.tabs button.active { color: var(--accent); font-weight: 500; }
.tabs button.active:after { position: absolute; content: ""; height: 2px; background: var(--accent); inset: auto 0 -1px; }
.launch-notice { display: flex; gap: 10px; background: #f6f7f9; border-radius: 6px; padding: 12px 14px; margin: 0 0 20px; }
.launch-notice .icon { width: 17px; height: 17px; margin-top: 2px; opacity: .6; }
.launch-notice p { font-size: 11px; line-height: 1.6; margin: 0; }
.launch-notice strong { display: block; color: #444d5b; font-weight: 500; font-size: 12px; margin-bottom: 1px; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 15px 16px; }
.full { grid-column: 1/-1; }
label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; font-weight: 500; min-width: 0; }
label > span { font-weight: 400; }
.form-grid label.full:first-child { position: relative; }
.form-grid label.full:first-child > span { position: absolute; right: 0; color: var(--muted); font-size: 11px; }
input:not([type="checkbox"]):not([type="file"]), textarea, select { border: 1px solid #d4d9e1; border-radius: 6px; background: #fff; padding: 10px 12px; width: 100%; color: var(--ink); min-width: 0; min-height: 44px; font-size: 13px; font-weight: 400; }
input::placeholder, textarea::placeholder { color: #858c98; opacity: 1; }
input:hover, textarea:hover, select:hover { border-color: #aab5c5; }
textarea { resize: vertical; line-height: 1.7; }
select { appearance: auto; }
.checkbox { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 11px; font-weight: 400; color: var(--muted); }
.checkbox input { accent-color: var(--accent); margin: 3px 0 0; width: 16px; height: 16px; flex-shrink: 0; }
.checkbox a { color: #495b79; text-decoration: underline; text-underline-offset: 2px; }
.consent { margin: 20px 0 17px; }
.check-submit { width: 100%; justify-content: space-between; }
.form-hint { text-align: center; font-size: 11px; margin: 11px 0 0; }
.card-footnote { display: flex; align-items: start; gap: 10px; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.card-footnote .icon { width: 15px; height: 15px; margin-top: 2px; opacity: .6; }
.upload-area { min-height: 240px; border: 1px dashed #b5c0d1; border-radius: 8px; display: flex; align-items: center; justify-content: center; gap: 12px; background: #f8f9fc; cursor: pointer; text-align: center; padding: 22px; }
.upload-area > .icon { width: 32px; height: 32px; opacity: .6; margin-bottom: 6px; }
.upload-area strong { font-size: 14px; font-weight: 500; }
.upload-area > span { font-size: 12px; color: var(--muted); }
.upload-area input { max-width: 100%; font-size: 12px; margin-top: 8px; }
.scan-status { font-size: 12px; color: var(--accent); margin: 12px 0; }
.scan-status:empty { display: none; }
.camera-button { width: 100%; margin: 15px 0; }
.check-widget video { width: 100%; max-height: 260px; border-radius: 8px; background: var(--ink); object-fit: cover; }
.section { padding-block: 80px; }
.how-section { background: white; border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 0; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head > p { font-size: 13px; margin: 0 0 3px; line-height: 1.8; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.step-no { display: block; color: #9ba4b2; font-size: 13px; padding-bottom: 17px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.steps h3 { margin-bottom: 12px; font-size: 19px; }
.steps p { font-size: 13px; line-height: 1.8; margin-bottom: 0; max-width: 330px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.plan { border: 1px solid var(--line); background: white; padding: 30px; border-radius: var(--radius); }
.plan-label { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12px; margin-bottom: 24px; }
.plan-label > span { padding: 3px 9px; color: #36634b; background: #eef6f0; border-radius: 5px; font-size: 11px; }
.plan-label > span.neutral { background: #f0f3f8; color: #5b6b83; }
.plan h3 { font-size: 24px; margin-bottom: 12px; }
.plan > p { font-size: 13px; max-width: 390px; }
.plan-details { margin-block: 25px; }
.plan-details > div { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-bottom: 1px solid #edf0f4; font-size: 12px; }
.plan-details dt { color: var(--muted); }
.plan-details dd { margin: 0; text-align: right; }
.plan .button { width: 100%; justify-content: space-between; }
.plan p.micro { font-size: 11px; margin: 13px 0 0; }
.developer-section { background: #202c40; color: white; border-radius: var(--radius); padding: 44px 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.developer-copy .eyebrow { color: #b1c4e7; margin-bottom: 15px; }
.developer-copy h2 { font-size: 32px; margin-bottom: 18px; }
.developer-copy p { color: #bdc8d8; font-size: 13px; max-width: 400px; line-height: 1.8; margin-bottom: 26px; }
.api-preview { border: 1px solid #4a5569; border-radius: 8px; padding: 22px; }
.api-preview-label { display: flex; justify-content: space-between; font-size: 11px; color: #aebdd3; padding-bottom: 18px; }
.api-method { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: baseline; gap: 2px 10px; border-top: 1px solid #455167; padding-block: 15px; }
.api-method b { color: #aec5f4; font-size: 10px; font-weight: 500; }
.api-method code { font-size: 12px; overflow-wrap: anywhere; }
.api-method > span { grid-column: 2; color: #adbbcf; font-size: 11px; }
.api-preview > p { font-size: 10px; color: #aebdd3; margin: 10px 0 0; }
.faq-section { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; }
.faq-section h2 { margin-bottom: 20px; }
.faq-section > div > p { font-size: 13px; line-height: 1.8; }
.faq-section > div > p a { color: var(--accent); }
.faq details { border-bottom: 1px solid #dce1e8; }
.faq details:first-child { border-top: 1px solid #dce1e8; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 21px; cursor: pointer; font-size: 14px; font-weight: 500; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 18px; height: 18px; opacity: .65; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq p { font-size: 13px; margin: 0 30px 22px 0; line-height: 1.85; }
.footer-shell { background: white; border-top: 1px solid var(--line); }
.site-footer { display: grid; grid-template-columns: 1.65fr 1fr 1.15fr 1fr; gap: 32px; padding-block: 42px; }
.footer-brand { gap: 15px; }
.footer-brand .brand-caption { font-size: 12px; padding-left: 15px; }
.site-footer p { font-size: 12px; margin: 18px 0; }
.footer-operator { display: flex; flex-direction: column; gap: 3px; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.footer-links { display: flex; flex-direction: column; align-items: start; gap: 10px; font-size: 11px; color: var(--muted); }
.footer-links strong { font-size: 12px; font-weight: 500; color: var(--ink); margin-bottom: 5px; }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-block: 20px; color: var(--muted); font-size: 10px; }
.skip-link { position: fixed; left: 12px; top: -80px; background: var(--ink); color: white; padding: 12px; z-index: 99; }
.skip-link:focus { top: 12px; }
.message-stack { padding-top: 20px; }
.message { padding: 15px 18px; border: 1px solid #d6dfef; border-radius: 7px; background: #eff3fa; font-size: 13px; margin: 0 0 20px; line-height: 1.7; }
.message.error { background: #fdf1ef; border-color: #efd0ca; color: #973c30; }
.message.success { background: #edf6ef; border-color: #cfe1d4; color: #346344; }
.message.warning { background: #fbf6e9; border-color: #e7dcc0; color: #785e25; }
.message a { text-decoration: underline; }
.stack-form { display: flex; flex-direction: column; gap: 20px; }
.stack-form label { font-size: 13px; }
.stack-form input:not([type="checkbox"]), .stack-form select, .stack-form textarea { font-size: 14px; min-height: 46px; }
.stack-form .checkbox { font-size: 12px; }
.help { font-size: 11px; font-weight: 400; color: var(--muted); line-height: 1.6; }
.help ul { padding-left: 16px; margin: 5px 0 0; }
.errorlist { list-style: none; margin: 0; padding: 10px 12px; background: #fdf1ef; border-radius: 5px; font-size: 12px; color: #973c30; }
.auth-layout { display: flex; justify-content: center; padding-block: 64px 90px; }
.auth-card { width: 100%; max-width: 460px; border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: 36px; }
.auth-card .eyebrow { margin-bottom: 12px; }
.auth-card h1 { font-size: 29px; margin-bottom: 12px; }
.auth-card > p { font-size: 13px; margin-bottom: 28px; }
.auth-links { display: flex; flex-direction: column; text-align: center; font-size: 12px; gap: 12px; border-top: 1px solid var(--line); margin-top: 27px; padding-top: 22px; color: var(--muted); }
.auth-links a { color: var(--accent); }
.dashboard { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 40px; min-height: 680px; padding-block: 36px 60px; }
.sidebar { padding-right: 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.sidebar-user { display: flex; flex-direction: column; margin-bottom: 24px; overflow-wrap: anywhere; }
.avatar { width: 40px; height: 40px; display: grid; place-items: center; background: #e7edf8; color: #41587c; font-size: 17px; font-weight: 500; border-radius: 50%; margin-bottom: 14px; }
.sidebar-user strong { font-size: 13px; font-weight: 500; }
.sidebar-user small { font-size: 11px; color: var(--muted); margin: 3px 0 10px; }
.role-label { font-size: 10px; color: var(--muted); }
.sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.sidebar nav a { display: flex; align-items: center; gap: 10px; font-size: 12px; padding: 11px 10px; border-radius: 6px; }
.sidebar nav .icon { width: 17px; height: 17px; opacity: .65; }
.sidebar nav a.selected { color: var(--accent); background: #e8eefb; font-weight: 500; }
.sidebar nav a:hover { background: #e9edf3; }
.nav-separator { height: 1px; background: var(--line); margin: 10px 0; }
.logout-button { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; font-size: 12px; color: var(--muted); padding: 22px 10px; }
.logout-button .icon { width: 17px; height: 17px; opacity: .6; }
.dashboard-content { min-width: 0; padding-top: 6px; }
.page-heading { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-bottom: 28px; }
.page-heading .eyebrow { margin-bottom: 10px; font-size: 10px; letter-spacing: .05em; }
.page-heading h1 { font-size: 34px; margin-bottom: 10px; overflow-wrap: anywhere; }
.page-heading p { font-size: 13px; margin: 0; }
.page-heading .button { flex-shrink: 0; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 26px; }
.stats article { padding: 22px; background: white; border: 1px solid var(--line); border-radius: 9px; display: flex; flex-direction: column; gap: 8px; }
.stats article > span { font-size: 11px; color: var(--muted); }
.stats strong { font-size: 28px; font-weight: 500; letter-spacing: -.03em; line-height: 1.4; }
.stats strong small { font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.stats article > span:last-child { font-size: 10px; }
.panel { padding: 26px; background: white; border: 1px solid var(--line); border-radius: 9px; margin-bottom: 24px; }
.panel h2 { font-size: 21px; margin-bottom: 22px; letter-spacing: -.025em; }
.panel h3 { font-size: 17px; }
.panel p { font-size: 13px; }
.panel p.micro { font-size: 11px; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.panel-heading h2, .panel-heading h3 { margin: 0; }
.panel-heading > span, .panel-heading div > span { font-size: 12px; color: var(--muted); }
.filters { display: flex; gap: 10px; margin-bottom: 20px; }
.filters input { flex: 1; }
.filters select { max-width: 180px; }
.filters .button { flex-shrink: 0; }
.table-scroll { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
th { font-size: 11px; color: var(--muted); font-weight: 500; padding: 12px 10px; border-bottom: 1px solid var(--line); background: #f8f9fb; }
td { padding: 16px 10px; border-bottom: 1px solid #edf0f4; vertical-align: middle; }
td small { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }
.table-link { font-size: 13px; font-weight: 500; color: var(--accent); }
.table-link:hover { text-decoration: underline; }
.nowrap { white-space: nowrap; }
.badge { font-size: 10px; padding: 4px 8px; border-radius: 4px; background: #eef1f5; color: #566274; display: inline-block; white-space: nowrap; }
.badge.verified, .badge.approved { background: #edf6ef; color: #356449; }
.badge.pending, .badge.processing { background: #faf3e3; color: #83632c; }
.badge.unavailable, .badge.mismatch, .badge.rejected { background: #fbece8; color: #984936; }
.empty-state { text-align: center; padding: 38px 20px; }
.empty-icon { display: grid; place-items: center; border-radius: 50%; background: #f2f4f7; width: 60px; height: 60px; margin: 0 auto 20px; }
.empty-icon .icon { width: 26px; height: 26px; opacity: .45; }
.empty-state h3 { font-size: 20px; margin-bottom: 12px; }
.empty-state p { max-width: 360px; margin: 0 auto 24px; font-size: 13px; }
.pagination { display: flex; justify-content: center; gap: 28px; margin-top: 24px; font-size: 12px; }
.new-check-layout, .receipt-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(220px, .75fr); gap: 28px; }
.check-help { padding: 10px 0; }
.check-help h3 { font-size: 20px; }
.check-help p { font-size: 13px; }
.check-help dt { font-size: 13px; font-weight: 500; margin-top: 20px; }
.check-help dd { margin: 4px 0; font-size: 12px; color: var(--muted); }
.check-help .micro { font-size: 11px; margin-top: 22px; }
.back-link { margin-bottom: 24px; }
.paper-receipt { background: white; padding: 32px; border: 1px solid var(--line); border-radius: 8px; }
.paper-brand { text-align: center; font-size: 11px; color: var(--muted); margin-bottom: 22px; }
.paper-receipt h2 { text-align: center; font-size: 23px; margin-bottom: 10px; }
.paper-receipt > p { text-align: center; font-size: 12px; }
.receipt-rule { border-top: 1px dashed #cdd4df; margin-block: 24px; }
.items-table th, .items-table td { padding-inline: 0; background: none; }
.items-table td { font-size: 12px; vertical-align: top; }
.items-table td:last-child { text-align: right; white-space: nowrap; padding-left: 10px; }
.receipt-total { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; font-size: 14px; }
.receipt-total strong { font-size: 24px; font-weight: 500; }
.receipt-fiscal { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; font-size: 12px; }
.receipt-fiscal dt { color: var(--muted); }
.receipt-fiscal dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.paper-end { text-align: center; font-size: 10px; color: var(--muted); margin-top: 28px; }
.receipt-actions { padding-top: 10px; }
.receipt-actions h3 { font-size: 22px; }
.receipt-actions p { font-size: 13px; }
.receipt-actions .button { width: 100%; margin-bottom: 12px; }
.receipt-actions .micro { font-size: 11px; margin-top: 22px; overflow-wrap: anywhere; }
.poll-hint { display: block; font-size: 11px; }
.narrow-panel { max-width: 640px; }
.key-row, .request-row { display: flex; justify-content: space-between; gap: 20px; padding-block: 20px; border-bottom: 1px solid var(--line); align-items: center; }
.key-row:last-child, .request-row:last-child { border-bottom: 0; }
.key-row strong, .request-row strong { font-size: 14px; font-weight: 500; }
.key-row small, .request-row small { display: block; color: var(--muted); font-size: 11px; margin-top: 5px; }
.key-row p, .request-row p { font-size: 12px; }
.danger { color: #a34432; }
.secret-panel { padding: 24px; border: 1px solid #c2d5c9; background: #f1f7f3; border-radius: 9px; margin-bottom: 24px; }
.secret-panel h2 { font-size: 22px; }
.secret-panel p { font-size: 13px; }
.secret-panel code { display: block; font-size: 13px; overflow-wrap: anywhere; background: white; padding: 16px; margin-bottom: 20px; border-radius: 5px; }
.admin-request { padding-block: 20px; border-bottom: 1px solid var(--line); }
.decision-form { display: flex; gap: 10px; flex-wrap: wrap; }
.decision-form input { flex: 1; min-width: 180px !important; }
.decision-form button { flex-shrink: 0; }
.saved-check { padding: 15px; background: #eaf0fd; border-radius: 7px; font-size: 12px; margin-bottom: 24px; }
.saved-check a { text-decoration: underline; }
.docs { padding-block: 56px 70px; }
.docs > h1 { font-size: 42px; margin-bottom: 22px; }
.docs .lead { font-size: 15px; max-width: 650px; }
.docs-grid { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 55px; margin-top: 45px; }
.docs-grid aside { display: flex; flex-direction: column; align-items: start; gap: 16px; font-size: 12px; position: sticky; top: 25px; align-self: start; }
.docs-grid aside a:hover { color: var(--accent); }
.docs-grid > * { min-width: 0; }
.docs td, .docs th { overflow-wrap: anywhere; }
.docs section { margin-bottom: 45px; max-width: 800px; }
.docs section h2 { font-size: 25px; }
.docs section p { font-size: 14px; line-height: 1.85; }
.docs pre { overflow: auto; max-width: 100%; background: #202c40; color: #e1e8f5; padding: 24px; border-radius: 8px; font: 12px/1.9 ui-monospace, SFMono-Regular, monospace; }
.docs p code { font-size: 12px; background: #e8edf6; padding: 2px 4px; border-radius: 3px; overflow-wrap: anywhere; }
.endpoint { padding: 14px 18px; border: 1px solid var(--line); background: white; border-radius: 6px; font: 12px/1.7 ui-monospace, monospace; overflow-wrap: anywhere; }
.endpoint b { color: var(--accent); margin-right: 15px; }
.legal { max-width: 800px; padding-block: 60px 80px; }
.legal h1 { font-size: 40px; }
.legal h2 { font-size: 25px; margin-top: 36px; }
.legal p { font-size: 14px; line-height: 1.9; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.operator-details { margin-top: 36px; border-top: 1px solid var(--line); }
.operator-details dl { display: grid; grid-template-columns: minmax(130px, .65fr) minmax(0, 2fr); gap: 18px 28px; font-size: 13px; }
.operator-details dt { color: var(--muted); font-size: 12px; }
.operator-details dd { margin: 0; overflow-wrap: anywhere; }
.notice { min-height: 55vh; padding-block: 80px; }
.notice h1 { font-size: 42px; max-width: 700px; }
.notice p { font-size: 15px; max-width: 600px; }
.notice .button { margin-top: 20px; }
hr { border: 0; border-top: 1px solid var(--line); width: 100%; margin: 10px 0; }
@media (max-width: 1150px) {
  .wrap { width: calc(100% - 56px); }
  .main-nav { gap: 18px; font-size: 11px; }
  .brand { gap: 15px; }
  .brand-caption { padding-left: 15px; font-size: 13px; }
  .site-header { gap: 20px; }
  .header-account { gap: 18px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 40px; }
  .hero h1 { font-size: 46px; }
  .hero-limits { gap: 22px; }
  .hero-limits > div + div { padding-left: 22px; }
  .hero-limits strong { font-size: 28px; }
  .hero-limits strong span { font-size: 12px; }
  .site-footer { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-links:last-child { grid-column: 2; }
  .dashboard { grid-template-columns: 180px minmax(0, 1fr); gap: 28px; }
  .sidebar { padding-right: 15px; }
  .stats article { padding: 17px; }
  .stats strong { font-size: 25px; }
  .new-check-layout, .receipt-layout { grid-template-columns: 1fr; }
  .check-help { max-width: 600px; }
  .receipt-actions { max-width: 500px; }
}
@media (max-width: 980px) {
  .main-nav { display: none; }
  .hero { gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .hero h1 { font-size: 40px; }
  .hero-check { padding: 24px; }
  .hero-lead { font-size: 15px; }
  .hero-features { font-size: 12px; }
  .hero-limits { gap: 16px; }
  .hero-limits > div + div { padding-left: 16px; }
  .hero-limits > div > span { font-size: 11px; }
  .steps { gap: 28px; }
  .developer-section { gap: 35px; padding: 36px; }
  .faq-section { gap: 40px; }
}
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding-top: 36px; gap: 30px; }
  .hero-copy { padding-top: 0; }
  .hero h1 { font-size: 46px; }
  .hero h1 br { display: none; }
  .hero-lead { max-width: 580px; margin-bottom: 22px; }
  .hero-limits { max-width: none; padding-block: 17px; margin-bottom: 18px; gap: 32px; }
  .hero-limits > div + div { padding-left: 32px; }
  .hero-limits > div > span { font-size: 12px; }
  .hero-features { display: none; }
  .hero-copy > .text-link { display: none; }
  .hero-check { padding: 28px; }
  .section { padding-block: 56px; }
  h2 { font-size: 30px; }
  .section-head { gap: 20px; align-items: start; }
  .section-head > p { max-width: 210px; }
  .section-head > p br { display: none; }
  .plans { gap: 18px; }
  .plan { padding: 24px; }
  .plan-details > div { flex-direction: column; gap: 3px; }
  .plan-details dd { text-align: left; }
  .developer-section { grid-template-columns: 1fr; gap: 30px; }
  .developer-copy p { max-width: 520px; }
  .api-preview { max-width: 100%; }
  .faq-section { grid-template-columns: 1fr; gap: 25px; }
  .faq-section > div > p br { display: none; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-about { grid-column: 1/-1; }
  .footer-links:last-child { grid-column: auto; }
  .dashboard { display: block; padding-top: 25px; }
  .sidebar { border: 0; border-bottom: 1px solid var(--line); padding: 0 0 18px; margin-bottom: 26px; }
  .sidebar-user { display: none; }
  .sidebar nav { flex-direction: row; flex-wrap: wrap; gap: 5px; }
  .sidebar nav a { white-space: nowrap; }
  .nav-separator { display: none; }
  .sidebar > form { display: none; }
  .page-heading h1 { font-size: 30px; }
  .new-check-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
  .check-panel { padding: 22px; }
  .docs-grid { grid-template-columns: 1fr; gap: 30px; }
  .docs-grid aside { position: static; flex-direction: row; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--line); gap: 15px 22px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { height: 70px; gap: 12px; }
  .brand { gap: 12px; }
  .brand > img { width: 47px; height: auto; }
  .brand-caption { font-size: 12px; padding-left: 12px; max-width: 90px; white-space: normal; line-height: 1.3; }
  .header-account { gap: 12px; font-size: 12px; }
  .header-account .button { font-size: 11px; min-height: 36px; padding: 8px 11px; }
  .hero { padding-block: 32px 36px; gap: 10px; }
  .hero-copy .eyebrow { font-size: 11px; margin-bottom: 14px; }
  .hero h1 { font-size: 36px; line-height: 1.16; letter-spacing: -.04em; margin-bottom: 18px; }
  .hero h1 br { display: block; }
  .hero-lead { font-size: 14px; line-height: 1.8; margin-bottom: 22px; }
  .hero-limits { padding-block: 18px; margin-bottom: 18px; gap: 28px; }
  .hero-limits > div + div { padding-left: 28px; }
  .hero-limits strong { font-size: 27px; }
  .hero-limits > div > span { font-size: 10px; }
  .hero-check { padding: 22px 18px 18px; border-radius: 10px; }
  .check-heading h2 { font-size: 21px; }
  .check-heading p { font-size: 12px; margin-bottom: 20px; }
  .tabs { gap: 24px; margin-bottom: 20px; }
  .tabs button { font-size: 12px; }
  .launch-notice { padding: 11px 12px; }
  .launch-notice p { font-size: 11px; }
  .form-grid { gap: 14px 12px; }
  input:not([type="checkbox"]):not([type="file"]), textarea, select, .stack-form input:not([type="checkbox"]), .stack-form textarea, .stack-form select { font-size: 16px; min-height: 46px; }
  .form-grid label:has(input[type="datetime-local"]) { grid-column: 1/-1; }
  .form-grid label:has(input[name="s"]) { grid-column: 1/-1; }
  label { font-size: 12px; }
  input::placeholder, textarea::placeholder { font-size: 13px; }
  .consent { margin-block: 19px 16px; }
  .checkbox { font-size: 11px; }
  .section { padding-block: 42px; }
  h2 { font-size: 28px; }
  .section-head { flex-direction: column; gap: 18px; margin-bottom: 30px; }
  .section-head > p { max-width: 100%; font-size: 13px; }
  .eyebrow { font-size: 11px; margin-bottom: 12px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step-no { padding-bottom: 12px; margin-bottom: 17px; }
  .steps h3 { font-size: 18px; margin-bottom: 10px; }
  .steps p { max-width: 100%; font-size: 13px; }
  .plans { grid-template-columns: 1fr; gap: 16px; }
  .plan { padding: 24px 20px; }
  .plan h3 { font-size: 23px; }
  .plan-details > div { flex-direction: row; gap: 10px; font-size: 11px; }
  .plan-details dd { text-align: right; }
  .developer-section { padding: 28px 22px; border-radius: 10px; gap: 26px; }
  .developer-copy h2 { font-size: 28px; }
  .developer-copy .button { font-size: 12px; width: 100%; gap: 12px; }
  .api-preview { padding: 17px; }
  .api-method { grid-template-columns: 35px minmax(0, 1fr); gap: 4px 8px; }
  .api-method code { font-size: 11px; }
  .api-preview > p { line-height: 1.8; }
  .faq-section { gap: 18px; }
  .faq summary { font-size: 13px; padding-block: 20px; }
  .faq p { font-size: 12px; margin-right: 15px; }
  .site-footer { padding-block: 32px; gap: 27px 16px; }
  .footer-brand .brand-caption { max-width: none; }
  .footer-links { font-size: 11px; gap: 11px; }
  .footer-links:last-child { grid-column: 1/-1; }
  .footer-operator { font-size: 10px; }
  .auth-layout { padding-block: 28px 42px; }
  .auth-card { padding: 26px 21px; }
  .auth-card h1 { font-size: 27px; }
  .auth-card .stack-form .checkbox { font-size: 11px; }
  .sidebar nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar nav a { font-size: 11px; padding: 11px 10px; white-space: normal; }
  .sidebar nav .icon { width: 16px; height: 16px; }
  .dashboard { padding-bottom: 35px; }
  .page-heading { flex-direction: column; align-items: start; gap: 18px; margin-bottom: 24px; }
  .page-heading h1 { font-size: 29px; }
  .page-heading p { font-size: 12px; }
  .page-heading > .button { width: 100%; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
  .stats article { padding: 17px 14px; }
  .stats article > span { font-size: 10px; }
  .stats article > span:last-child { font-size: 9px; }
  .stats strong { font-size: 27px; }
  .stats .accent-stat { grid-column: 1/-1; flex-direction: row; align-items: center; gap: 14px; flex-wrap: wrap; }
  .stats .accent-stat strong { font-size: 18px; }
  .panel { padding: 22px 17px; }
  .panel-heading { gap: 12px; flex-wrap: wrap; }
  .panel-heading h2 { font-size: 20px; }
  .panel-heading .text-link { font-size: 11px; }
  .filters { flex-wrap: wrap; }
  .filters input { flex-basis: 100%; }
  .filters select { flex: 1; max-width: none; }
  .empty-state { padding: 28px 0; }
  .empty-state p { font-size: 12px; }
  th, td { padding-inline: 8px; }
  .new-check-layout, .receipt-layout { grid-template-columns: 1fr; gap: 24px; }
  .check-help { padding: 0 5px; }
  .paper-receipt { padding: 26px 20px; }
  .receipt-fiscal { font-size: 11px; }
  .key-row, .request-row { align-items: start; gap: 12px; }
  .key-row small { font-size: 10px; }
  .docs { padding-block: 35px; }
  .docs > h1 { font-size: 34px; }
  .docs .lead { font-size: 14px; }
  .docs-grid { margin-top: 30px; }
  .docs-grid aside { font-size: 11px; gap: 14px 18px; }
  .docs section h2 { font-size: 23px; }
  .docs section p { font-size: 13px; }
  .docs pre { padding: 17px; font-size: 11px; }
  .docs td { font-size: 11px; }
  .legal { padding-block: 36px 48px; }
  .legal h1 { font-size: 32px; }
  .legal h2 { font-size: 23px; }
  .legal p { font-size: 13px; }
  .operator-details dl { display: block; }
  .operator-details dt { margin-top: 18px; margin-bottom: 5px; }
  .notice { padding-block: 48px; }
  .notice h1 { font-size: 32px; }
  .notice p { font-size: 14px; }
}
@media (max-width: 360px) {
  .header-account { gap: 9px; }
  .header-account .button { padding-inline: 8px; font-size: 10px; }
  .brand { gap: 9px; }
  .brand-caption { font-size: 11px; padding-left: 9px; }
  .brand > img { width: 41px; }
  .hero h1 { font-size: 33px; }
  .hero-limits { gap: 20px; }
  .hero-limits > div + div { padding-left: 20px; }
  .tabs { gap: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; animation: none !important; }
}
@media print {
  body { background: white; }
  .header-shell, .footer-shell, .sidebar, .page-heading, .receipt-actions, .back-link, .message-stack, .message, .skip-link { display: none !important; }
  .dashboard, .receipt-layout { display: block; width: 100%; margin: 0; padding: 0; }
  .paper-receipt { box-shadow: none; border: 0; max-width: 600px; margin: auto; }
  .paper-receipt p { color: #444; }
  .dashboard-content { padding: 0; }
}
