:root {
  --ink: #15231d;
  --muted: #67746e;
  --line: #d9e1dc;
  --soft: #f3f6f4;
  --paper: #ffffff;
  --green: #173c32;
  --green-2: #285f4f;
  --mint: #d9eee6;
  --accent: #d4a63f;
  --danger: #9d3e3e;
  --warning: #8a5b16;
  --shadow: 0 18px 50px rgba(31, 54, 45, .09);
  --radius: 18px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-height: 100%; background: #f8faf8; }
body { min-height: 100vh; margin: 0; color: var(--ink); background: linear-gradient(180deg, #fbfcfb 0, #f4f7f5 100%); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(212,166,63,.45); outline-offset: 2px; }

.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(217,225,220,.9); background: rgba(251,252,251,.92); backdrop-filter: blur(15px); }
.site-header__inner { width: min(1440px, calc(100% - 40px)); min-height: 70px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; letter-spacing: -.02em; }
.brand__mark { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; background: var(--green); color: #fff; font-family: Georgia, serif; font-size: 21px; transform: rotate(4deg); }
.brand__mark > span { transform: rotate(-4deg); }
.primary-nav { display: flex; align-items: center; justify-content: flex-end; gap: 18px; color: #34443d; font-size: 14px; }
.primary-nav > a { text-decoration: none; }
.primary-nav > a:hover, .link-button:hover { color: var(--green-2); text-decoration: underline; }
.tool-menu { position: relative; }
.tool-menu > summary { display: inline-flex; align-items: center; gap: 7px; border-radius: 8px; padding: 7px 2px; cursor: pointer; list-style: none; white-space: nowrap; }
.tool-menu > summary::-webkit-details-marker { display: none; }
.tool-menu > summary:hover, .tool-menu[open] > summary { color: var(--green-2); }
.tool-menu__chevron { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s ease; }
.tool-menu[open] .tool-menu__chevron { transform: rotate(225deg) translate(-1px, -1px); }
.tool-menu__panel { position: absolute; top: calc(100% + 9px); left: 50%; z-index: 50; display: grid; width: max-content; min-width: 220px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; padding: 7px; background: white; box-shadow: var(--shadow); transform: translateX(-50%); }
.tool-menu__panel a { border-radius: 8px; padding: 10px 12px; text-decoration: none; white-space: nowrap; }
.tool-menu__panel a:hover, .tool-menu__panel a[aria-current="page"] { background: var(--soft); color: var(--green-2); }
.tool-menu__panel a[aria-current="page"] { font-weight: 800; }
.nav-form { display: inline-flex; margin: 0; }
.link-button { border: 0; padding: 0; color: inherit; background: transparent; cursor: pointer; }
.credit-pill { border: 1px solid #bad6ca; border-radius: 999px; padding: 7px 11px; background: #eef8f4; color: #1c5947; font-weight: 700; white-space: nowrap; }

.site-main { width: min(1320px, calc(100% - 40px)); min-height: calc(100vh - 150px); margin: 0 auto; padding: 54px 0 80px; }
.site-footer { border-top: 1px solid var(--line); background: #f6f8f6; color: var(--muted); font-size: 13px; }
.site-footer__inner { width: min(1320px, calc(100% - 40px)); min-height: 74px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.site-footer nav { display: flex; justify-content: flex-end; gap: 20px; }
.flash-stack { position: fixed; top: 84px; right: 22px; z-index: 80; display: grid; width: min(420px, calc(100% - 44px)); gap: 9px; }
.flash { border: 1px solid var(--line); border-left-width: 5px; border-radius: 12px; padding: 13px 16px; background: white; box-shadow: var(--shadow); }
.flash--success { border-left-color: #2b7a5f; }.flash--error { border-left-color: var(--danger); }.flash--warning { border-left-color: var(--warning); }

.eyebrow { margin: 0 0 8px; color: var(--green-2); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 5vw, 64px); font-weight: 500; letter-spacing: -.045em; line-height: 1.03; }
h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.lede { max-width: 680px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.muted, .field-help, small { color: var(--muted); }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; border: 1px solid var(--green); border-radius: 12px; padding: 10px 18px; background: var(--green); color: white; cursor: pointer; font-weight: 750; text-decoration: none; transition: transform .15s ease, background .15s ease, opacity .15s ease; }
.button:hover { background: var(--green-2); transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: .5; transform: none; }
.button--wide { width: 100%; }
.button--ghost { border-color: #bfd0c8; background: transparent; color: var(--green); }.button--ghost:hover { background: #edf4f0; }
.button--danger { border-color: var(--danger); background: var(--danger); }.button--danger:hover { background: #7e3030; }
.button--small { min-height: 36px; border-radius: 9px; padding: 7px 12px; font-size: 13px; }
.text-action { border: 0; padding: 3px 0; background: transparent; color: var(--green-2); cursor: pointer; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }

.landing-shell { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(45px, 8vw, 115px); min-height: 590px; padding: 25px 2vw 70px; }
.landing-copy h1 { max-width: 720px; font-size: clamp(52px, 7vw, 90px); }
.connect-card { max-width: 650px; margin-top: 32px; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--paper); box-shadow: var(--shadow); }
.connect-card > label { display: block; margin-bottom: 10px; font-weight: 800; }
.connect-row { display: flex; gap: 10px; }
.connect-row input { min-width: 0; flex: 1; }
.connect-card .field-help { margin: 10px 0 0; font-size: 13px; }
input, textarea, select { width: 100%; border: 1px solid #cbd6d0; border-radius: 11px; padding: 12px 13px; background: white; color: var(--ink); }
input:focus, textarea:focus, select:focus { border-color: var(--green-2); }
.tutorial-card { overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid #cbd7d1; border-radius: 28px; background: var(--green); box-shadow: 0 30px 80px rgba(23,60,50,.2); }
.tutorial-card video, .current-video video { display: block; width: 100%; height: 100%; object-fit: contain; background: #0d1512; }
.video-placeholder { display: grid; height: 100%; place-content: center; padding: 50px; color: #eff8f4; text-align: center; }
.video-placeholder strong { font-family: Georgia, serif; font-size: 30px; font-weight: 500; }.video-placeholder p { max-width: 360px; color: #bed4ca; line-height: 1.6; }.play-mark { display: grid; width: 68px; height: 68px; place-items: center; margin: 0 auto 22px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(255,255,255,.1); }
.feature-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-strip article { padding: 30px; }.feature-strip article + article { border-left: 1px solid var(--line); }.feature-strip span { color: var(--accent); font-weight: 900; }.feature-strip h2 { margin: 12px 0 8px; }.feature-strip p { margin: 0; color: var(--muted); line-height: 1.6; }

.tools-hero { display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: center; gap: clamp(40px, 8vw, 120px); min-height: 410px; border-bottom: 1px solid var(--line); padding: 35px 4vw 65px; }.tools-hero h1 { max-width: 850px; font-size: clamp(54px, 7vw, 92px); }.tools-hero .lede { max-width: 700px; margin-top: 24px; }.tools-hero__mark { display: grid; aspect-ratio: 1; place-items: center; border: 1px solid #b9cec5; border-radius: 34%; background: radial-gradient(circle at 35% 25%, #3c7562, var(--green) 58%, #0e2b23); box-shadow: 0 32px 80px rgba(23,60,50,.24); transform: rotate(4deg); }.tools-hero__mark span { color: white; font-family: Georgia, serif; font-size: 118px; transform: rotate(-4deg); }
.tools-catalog { padding: 58px 4vw 30px; }.catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }.catalog-heading h2 { font-family: Georgia, serif; font-size: 38px; font-weight: 500; }.catalog-count { border: 1px solid var(--line); border-radius: 999px; padding: 7px 11px; color: var(--muted); font-size: 12px; }.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }.tool-card { display: flex; min-height: 330px; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); border-radius: 22px; padding: 26px; background: white; box-shadow: 0 14px 38px rgba(23,60,50,.07); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }.tool-card:hover { border-color: #8daf9f; box-shadow: 0 24px 55px rgba(23,60,50,.13); transform: translateY(-4px); }.tool-card__top { display: flex; align-items: center; justify-content: space-between; gap: 18px; }.tool-icon { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 17px; background: var(--green); color: white; font-family: Georgia, serif; font-size: 21px; }.availability { display: inline-flex; align-items: center; gap: 7px; color: #316653; font-size: 12px; font-weight: 800; }.availability i { width: 8px; height: 8px; border-radius: 50%; background: #44a37e; }.tool-card h3 { margin: 8px 0 12px; font-family: Georgia, serif; font-size: 31px; font-weight: 500; }.tool-card p:not(.eyebrow) { margin: 0; color: var(--muted); line-height: 1.65; }.tool-card__action { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; border-top: 1px solid var(--line); padding-top: 18px; color: var(--green-2); font-weight: 800; }.tool-card__action b { font-size: 22px; }

.auth-shell { display: grid; min-height: min(680px, calc(100vh - 198px)); place-items: center; padding: 36px 0; }
.auth-card { width: min(480px, 100%); border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 5vw, 48px); background: white; box-shadow: var(--shadow); }.auth-card--wide { width: min(620px, 100%); }.auth-card--login { width: min(560px, 100%); }.auth-card h1 { font-size: clamp(38px, 5vw, 52px); }.auth-intro { margin: 18px 0 0; color: var(--muted); line-height: 1.65; }
.stack-form { display: grid; gap: 18px; margin-top: 28px; }.stack-form label, .inline-form label, .settings-form label, .revoke-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 750; }.form-field { width: 100%; }.form-field > span { display: block; }.form-field input { display: block; width: 100%; min-height: 48px; }.auth-form .button { min-height: 50px; margin-top: 2px; }.check-row { display: flex !important; align-items: center; font-weight: 500 !important; }.check-row input { width: auto; }
.setup-heading { display: flex; align-items: center; gap: 16px; }.setup-heading .eyebrow { margin-bottom: 6px; }.setup-heading__icon { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border: 1px solid #e3c179; border-radius: 15px; background: #fff6df; color: #805615; font-family: Georgia, serif; font-size: 27px; font-weight: 700; }
.setup-checklist { display: grid; gap: 10px; margin: 26px 0 18px; }.setup-checklist__item { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 12px; border: 1px solid #ead5a7; border-radius: 12px; padding: 12px 14px; background: #fffaf0; }.setup-checklist__item > span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #f1d99f; color: #68470f; font-size: 12px; font-weight: 900; }.setup-checklist__item p { margin: 0; color: #523f1c; font-size: 14px; line-height: 1.5; }
.setup-note { margin-bottom: 20px; border-left: 4px solid var(--green-2); border-radius: 0 10px 10px 0; padding: 13px 15px; background: var(--soft); }.setup-note strong { font-size: 14px; }.setup-note p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }.setup-note code, .auth-intro code { border-radius: 5px; padding: 2px 5px; background: #e6ece8; color: #284b3f; font-size: .92em; }
.setup-footnote, .auth-security-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; }.auth-security-note span { color: #2b7a5f; font-weight: 900; }
.notice { border: 1px solid #cddbd5; border-radius: 12px; padding: 14px 16px; background: #f5f9f7; line-height: 1.5; }.notice--warning { border-color: #e5c98c; background: #fff8e9; }.notice ul { margin-bottom: 0; }
.secret-card { display: grid; gap: 10px; border: 1px dashed #99b3a8; border-radius: 14px; padding: 16px; background: #f3f8f5; }.secret-card code { overflow-wrap: anywhere; color: #174c3d; font-size: 17px; letter-spacing: .12em; }

.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }.page-heading h1 { font-size: clamp(42px, 5vw, 66px); }.page-heading p:not(.eyebrow) { max-width: 720px; margin: 12px 0 0; color: var(--muted); line-height: 1.65; }.heading-actions { display: flex; gap: 10px; }
.analyzer { position: relative; }
.analyzer-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(360px, .75fr); gap: 18px; }
.text-panel, .tag-panel { border: 1px solid var(--line); border-radius: 20px; padding: 18px; background: white; box-shadow: 0 12px 35px rgba(23,60,50,.06); }
.panel-label-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 2px 10px; font-size: 13px; }.panel-label-row label { font-weight: 850; }.panel-label-row span { color: var(--muted); }.panel-label-row span.is-over { color: var(--danger); font-weight: 800; }
.text-stage { position: relative; min-height: 470px; }
.text-stage textarea, .highlight-layer { width: 100%; min-height: 470px; height: 100%; margin: 0; border: 1px solid #c9d5cf; border-radius: 14px; padding: 22px; background: #fbfcfb; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.75; resize: vertical; white-space: pre-wrap; overflow-wrap: break-word; }
.text-stage textarea:not([hidden]) { position: relative; z-index: 2; pointer-events: auto; }.highlight-layer { position: relative; z-index: 1; overflow: auto; }.highlight-layer[hidden] { pointer-events: none; }.highlight-layer mark { border-radius: 4px; padding: 2px 0; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.tag-panel { position: relative; align-self: start; }
.tag-actions { display: flex; justify-content: flex-end; gap: 16px; min-height: 26px; }
.tag-box { display: flex; min-height: 112px; align-content: flex-start; flex-wrap: wrap; gap: 9px; border: 2px solid #202b26; border-radius: 12px; padding: 11px; background: white; cursor: text; transition: min-height .2s ease; }.tag-box.is-result, .tag-box.is-processing { cursor: default; }.tag-box.is-result .tag-chip__remove, .tag-box.is-processing .tag-chip__remove { display: none !important; }.tag-list { display: contents; }
.tag-chip { display: inline-flex; max-width: 100%; min-height: 40px; align-items: center; gap: 9px; border: 1px solid transparent; border-radius: 11px; padding: 7px 11px; background: #eff1f0; color: #202623; cursor: pointer; font-weight: 700; text-align: left; }.tag-chip span:first-child { overflow: hidden; text-overflow: ellipsis; }.tag-chip__remove { font-size: 22px; font-weight: 400; line-height: 1; }.tag-chip.is-disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }.tag-chip.is-selected { box-shadow: inset 0 0 0 1px currentColor; }
.tag-color-0 { background: #d8f3e7 !important; color: #176b51 !important; border-color: #176b51 !important; }.tag-color-1 { background: #dcecff !important; color: #245c99 !important; border-color: #245c99 !important; }.tag-color-2 { background: #ffe7c2 !important; color: #9a5417 !important; border-color: #9a5417 !important; }.tag-color-3 { background: #f1e2ff !important; color: #70419a !important; border-color: #70419a !important; }.tag-color-4 { background: #ffe0e8 !important; color: #9b3854 !important; border-color: #9b3854 !important; }.tag-color-5 { background: #e2f0ca !important; color: #4f7227 !important; border-color: #4f7227 !important; }.tag-color-6 { background: #dff0f2 !important; color: #25727a !important; border-color: #25727a !important; }.tag-color-7 { background: #f5e7cf !important; color: #805a20 !important; border-color: #805a20 !important; }.tag-color-8 { background: #e9e5ff !important; color: #5746a0 !important; border-color: #5746a0 !important; }.tag-color-9 { background: #ffdeda !important; color: #9c4035 !important; border-color: #9c4035 !important; }.tag-color-10 { background: #e3efff !important; color: #365f91 !important; border-color: #365f91 !important; }.tag-color-11 { background: #f0e8dc !important; color: #6d5840 !important; border-color: #6d5840 !important; }
#tag-input { min-width: 170px; flex: 1; align-self: center; border: 0; border-radius: 0; padding: 8px 5px; outline: 0; }.suggestion-list { position: absolute; z-index: 20; right: 18px; left: 18px; margin-top: 7px; overflow: hidden; border: 1px solid #bdccc5; border-radius: 12px; background: white; box-shadow: var(--shadow); }.suggestion-list button { display: block; width: 100%; border: 0; border-bottom: 1px solid #edf1ef; padding: 11px 14px; background: white; color: var(--ink); cursor: pointer; text-align: left; }.suggestion-list button:hover { background: #edf6f2; }.suggestion-list button:last-child { border-bottom: 0; }
.tag-panel .field-help { min-height: 38px; margin: 10px 2px; font-size: 12px; line-height: 1.5; }.analyzer-status { min-height: 44px; border-radius: 10px; padding: 10px 12px; color: var(--muted); font-size: 13px; line-height: 1.5; }.analyzer-status:empty { padding: 0; }.analyzer-status--success { background: #e8f6f0; color: #1b614b; }.analyzer-status--error { background: #fff0f0; color: #8c3434; }.analyzer-status--warning { background: #fff6df; color: #805615; }.analyzer-status--info { background: #eef4f8; color: #315f7b; }
.analyzer-submit-row { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }.button--analyze { min-width: 132px; }.analyzer-submit-row #refine-button { min-width: 112px; }
.usage-panel { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; overflow: hidden; margin-top: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--line); }.usage-panel div { display: grid; gap: 7px; padding: 16px 20px; background: white; }.usage-panel span { color: var(--muted); font-size: 12px; }.usage-panel strong { font-size: 20px; }

.history-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }.history-card { position: relative; display: flex; min-height: 260px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 10px 30px rgba(23,60,50,.05); transition: transform .16s ease, box-shadow .16s ease; }.history-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }.history-card__main { display: flex; width: 100%; min-width: 0; flex-direction: column; padding: 22px; text-decoration: none; }.history-card__meta, .history-card__usage { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12px; }.history-card__main > p { display: -webkit-box; margin: 22px 0; overflow: hidden; color: #31413a; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }.tag-preview { display: flex; overflow: hidden; flex-wrap: nowrap; gap: 6px; margin-top: auto; }.tag-preview span { max-width: 115px; overflow: hidden; border-radius: 8px; padding: 5px 8px; background: #eff2f0; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.history-card__usage { margin-top: 16px; }.history-card form { position: absolute; top: 12px; right: 12px; }.icon-button { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: white; cursor: pointer; font-size: 19px; }.icon-button--danger:hover { border-color: var(--danger); color: var(--danger); }
.pagination { display: grid; grid-template-columns: 105px 1fr 105px; align-items: center; margin-top: 36px; }.pagination__edge:last-child { text-align: right; }.pagination__edge.is-hidden { visibility: hidden; }.pagination__numbers { display: flex; justify-content: center; gap: 5px; }.pagination a, .pagination .is-current { display: inline-grid; min-width: 34px; height: 34px; place-items: center; border-radius: 8px; }.pagination .is-current { background: var(--green); color: white; font-weight: 800; }

.stat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 26px; }.stat-grid--three { grid-template-columns: repeat(3,1fr); }.stat-grid--four { grid-template-columns: repeat(4,1fr); }.stat-grid article { display: grid; gap: 7px; border: 1px solid var(--line); border-radius: 15px; padding: 20px; background: white; }.stat-grid span, .stat-grid small { color: var(--muted); font-size: 12px; }.stat-grid strong { font-family: Georgia, serif; font-size: 30px; font-weight: 500; }
.dashboard-grid, .settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.panel { margin-bottom: 18px; border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: white; box-shadow: 0 10px 30px rgba(23,60,50,.04); }.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }.panel-heading .eyebrow { margin-bottom: 4px; }.list-stack { display: grid; }.list-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #edf1ef; padding: 14px 0; }.list-row:first-child { border-top: 0; }.list-row.is-unread { margin: 0 -12px; border-radius: 10px; padding: 14px 12px; background: #eff8f4; }.list-row p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }.list-row time { color: var(--muted); font-size: 11px; white-space: nowrap; }.list-row--link { text-decoration: none; }.list-row--link:hover strong { text-decoration: underline; }
.security-event--lockout { margin: 0 -12px; border-radius: 10px; padding: 14px 12px; background: #fff4f4; }.security-event--lockout strong { color: var(--danger); }
.inline-form { display: grid; align-items: end; gap: 12px; }.inline-form--four { grid-template-columns: repeat(3, minmax(120px, 1fr)) auto; }.calculation-note { display: grid; gap: 7px; min-height: 69px; align-content: center; padding: 9px 12px; border-radius: 10px; background: var(--soft); }.calculation-note span { color: var(--muted); font-size: 11px; }.calculation-note strong { font-size: 13px; }
.one-time-secret { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 20px; border: 1px solid #c9a655; border-radius: 18px; padding: 24px; background: #fff8e6; }.one-time-secret code { display: block; max-width: 900px; margin-top: 12px; overflow-wrap: anywhere; color: #65450d; font-size: 16px; }.one-time-secret--codes { align-items: flex-start; }.recovery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 20px; margin-top: 14px; }.recovery-grid code { margin: 0; }
.token-list { display: grid; gap: 14px; }.token-card { overflow: hidden; border: 1px solid var(--line); border-left: 5px solid #549276; border-radius: 16px; background: white; }.token-card--paused { border-left-color: #c28b2d; }.token-card--suspended { border-left-color: var(--danger); }.token-card__summary { display: grid; grid-template-columns: minmax(210px, 1.15fr) 120px repeat(5, minmax(100px, .65fr)); align-items: center; column-gap: clamp(14px, 2vw, 32px); padding: 19px 22px; }.token-card__identity { display: flex; min-width: 0; align-items: center; gap: 12px; }.token-card__status { display: grid; min-width: 0; place-items: center; }.token-card__summary h2 { font-family: ui-monospace, monospace; font-size: 23px; }.token-card__metric { display: grid; min-width: 0; gap: 5px; }.token-card__summary span { color: var(--muted); font-size: 11px; }.status-dot { width: 10px; height: 10px; flex: 0 0 10px; border-radius: 50%; background: #43906f; }.token-card--paused .status-dot { background: #c28b2d; }.token-card--suspended .status-dot { background: var(--danger); }.status-badge { display: inline-flex; max-width: 100%; justify-content: center; border-radius: 999px; padding: 6px 10px; background: #eef2f0; font-size: 11px; font-weight: 800; text-align: center; text-transform: capitalize; }.token-reason { margin: 0; padding: 0 22px 16px; color: var(--danger); font-size: 13px; }.token-card details { border-top: 1px solid var(--line); }.token-card summary { padding: 13px 22px; cursor: pointer; color: var(--green-2); font-weight: 750; }.token-management { display: grid; gap: 16px; padding: 8px 22px 22px; }.action-row { display: flex; flex-wrap: wrap; gap: 8px; }.revoke-form { display: flex; align-items: end; justify-content: space-between; gap: 16px; border-top: 1px solid #f0d8d8; padding-top: 16px; }.revoke-form label { max-width: 390px; flex: 1; color: var(--danger); }
.settings-panel { max-width: 980px; }.settings-form { display: grid; gap: 24px; }.settings-form fieldset { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; gap: 16px; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }.settings-form label { align-content: start; align-self: start; }.settings-form input:not([type="file"]):not([type="checkbox"]), .settings-form select { min-height: 56px; height: 56px; }.settings-form legend { padding: 0 7px; font-weight: 850; }.settings-form small { font-weight: 400; line-height: 1.45; }.field-span { grid-column: 1 / -1; }.field-fit { justify-self: start; }.exchange-status { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--line); }.exchange-status div { display: grid; gap: 6px; min-width: 0; padding: 13px; background: white; }.exchange-status span { color: var(--muted); font-size: 11px; }.exchange-status strong { overflow-wrap: anywhere; font-size: 13px; }.exchange-error { margin: 0; border-radius: 9px; padding: 10px 12px; background: #fff0f0; color: var(--danger); font-size: 13px; }.exchange-fieldset > .field-help { margin: 0; line-height: 1.6; }.current-video { max-width: 620px; }.current-video video { max-height: 350px; border-radius: 12px; }.delete-video-form { margin-top: 18px; }
.legal-document { max-width: 820px; margin: 0 auto; border: 1px solid var(--line); border-radius: 22px; padding: clamp(28px, 6vw, 64px); background: white; box-shadow: var(--shadow); }.legal-document h1 { margin-bottom: 10px; }.legal-updated { color: var(--muted); }.legal-document h2 { margin: 34px 0 10px; }.legal-document p { line-height: 1.75; }
.empty-state { display: grid; min-height: 360px; place-content: center; justify-items: center; border: 1px dashed #bdcbc5; border-radius: 20px; padding: 40px; background: white; text-align: center; }.empty-state p { color: var(--muted); }.empty-state--error { max-width: 760px; margin: 50px auto; }

@media (max-width: 1100px) {
  .primary-nav { gap: 11px; }.analyzer-grid { grid-template-columns: 1fr; }.text-stage, .text-stage textarea, .highlight-layer { min-height: 390px; }.history-grid { grid-template-columns: repeat(2,1fr); }.stat-grid { grid-template-columns: repeat(3,1fr); }.token-card__summary { grid-template-columns: minmax(190px, 1fr) 110px repeat(3, minmax(90px, .7fr)); }.token-card__metric--history, .token-card__metric--violations { display: none; }
}
@media (max-width: 780px) {
  .site-header__inner { min-height: 64px; align-items: flex-start; flex-direction: column; padding: 12px 0; }.primary-nav { width: 100%; flex-wrap: wrap; overflow: visible; justify-content: flex-start; padding-bottom: 3px; }.tool-menu__panel { left: 0; transform: none; }.site-main { width: min(100% - 24px, 1320px); padding-top: 35px; }.landing-shell { grid-template-columns: 1fr; padding: 15px 0 50px; }.landing-copy h1 { font-size: 54px; }.tutorial-card { max-height: 500px; }.tools-hero { grid-template-columns: 1fr; min-height: 0; padding: 20px 0 50px; }.tools-hero__mark { display: none; }.tools-catalog { padding: 42px 0 20px; }.tool-grid { grid-template-columns: 1fr; }.feature-strip { grid-template-columns: 1fr; }.feature-strip article + article { border-top: 1px solid var(--line); border-left: 0; }.page-heading { align-items: flex-start; flex-direction: column; }.history-grid, .dashboard-grid, .settings-grid { grid-template-columns: 1fr; }.stat-grid, .stat-grid--three { grid-template-columns: repeat(2,1fr); }.usage-panel { grid-template-columns: repeat(2,1fr); }.inline-form--four, .settings-form fieldset { grid-template-columns: 1fr 1fr; }.exchange-status { grid-template-columns: repeat(2,1fr); }.token-card__summary { grid-template-columns: minmax(0, 1fr) 110px; }.token-card__metric { display: none; }.revoke-form { align-items: stretch; flex-direction: column; }.pagination { grid-template-columns: 80px 1fr 80px; }.pagination__numbers { overflow: auto; justify-content: flex-start; }.site-footer__inner { align-items: flex-start; flex-direction: column; padding: 22px 0; }.site-footer nav { flex-wrap: wrap; justify-content: flex-start; }
}
@media (max-width: 520px) {
  .landing-copy h1 { font-size: 45px; }.connect-row { flex-direction: column; }.tutorial-card { border-radius: 20px; }.tools-hero h1 { font-size: 48px; }.catalog-heading { align-items: flex-start; flex-direction: column; }.tool-card { min-height: 310px; padding: 22px; }.auth-shell { min-height: 0; padding: 12px 0 30px; }.auth-card { border-radius: 18px; padding: 24px 20px; }.auth-card h1 { font-size: 38px; }.setup-heading { align-items: flex-start; }.setup-heading__icon { width: 42px; height: 42px; flex-basis: 42px; }.setup-checklist__item { align-items: start; padding: 11px; }.analyzer-heading { margin-bottom: 22px; }.text-panel, .tag-panel { border-radius: 15px; padding: 12px; }.text-stage, .text-stage textarea, .highlight-layer { min-height: 340px; }.text-stage textarea, .highlight-layer { padding: 15px; font-size: 18px; }.tag-box { min-height: 138px; }.history-grid { grid-template-columns: 1fr; }.usage-panel, .stat-grid, .stat-grid--three, .inline-form--four, .settings-form fieldset, .exchange-status { grid-template-columns: 1fr; }.one-time-secret { align-items: stretch; flex-direction: column; }.recovery-grid { grid-template-columns: 1fr; }.pagination { grid-template-columns: 70px 1fr 70px; font-size: 13px; }.pagination a, .pagination .is-current { min-width: 30px; height: 30px; }.site-footer nav { gap: 12px; }
}
