:root {
    --ink: #111827;
    --ink-soft: #303848;
    --paper: #f7f6f1;
    --surface: #ffffff;
    --line: #dfe2df;
    --muted: #687183;
    --accent: #baff63;
    --accent-strong: #94df3e;
    --blue: #5068ff;
    --red: #dc3545;
    --orange: #c97816;
    --green: #16845b;
    --shadow-sm: 0 8px 30px rgba(17, 24, 39, .08);
    --shadow-lg: 0 30px 90px rgba(0, 0, 0, .22);
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 30px;
    --container: 1180px;
    --font: "Segoe UI", Inter, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body:has(.auth-section),
body:has(.error-page) { background: #eeefe9; }

img { display: block; max-width: 100%; }
button, input, textarea, select { color: inherit; font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.3rem, 5vw, 5.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 3.25rem); }
h3 { font-size: 1.3rem; }

:focus-visible { outline: 3px solid rgba(80, 104, 255, .48); outline-offset: 3px; }
[hidden] { display: none !important; }
[aria-busy="true"] { cursor: progress; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.container--document { max-width: 860px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px; transform: translateY(-150%); color: #fff; background: var(--ink); border-radius: 8px; }
.skip-link:focus { transform: none; }
.muted { color: var(--muted); }
.optional { color: var(--muted); font-size: .82em; font-weight: 500; }
.overline { display: block; margin-bottom: 7px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow--dark { color: #4b566b; }
.eyebrow__dot { width: 7px; height: 7px; background: currentColor; border-radius: 50%; box-shadow: 0 0 0 5px rgba(186, 255, 99, .12); }

/* Header */
.site-header { position: relative; z-index: 20; color: #fff; background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.1); }
.site-header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 30px; }
.site-header__brand-zone { display: flex; align-items: center; gap: 14px; min-width: 0; }
.catalog-toggle { display: inline-flex; align-items: center; gap: 9px; min-height: 38px; padding: 8px 11px; color: #dce1ea; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 9px; font: inherit; font-size: .76rem; font-weight: 750; cursor: pointer; }
.catalog-toggle:hover, .catalog-toggle[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.12); }
.catalog-toggle__icon { display: grid; width: 17px; gap: 3px; }
.catalog-toggle__icon i { display: block; height: 2px; background: var(--accent); border-radius: 2px; }
.catalog-menu { position: absolute; z-index: 90; top: calc(100% + 1px); right: 0; left: 0; max-height: min(76vh, 720px); overflow-y: auto; color: var(--ink); background: #fff; border: 1px solid #dfe3dd; border-top: 3px solid var(--accent); border-radius: 0 0 18px 18px; box-shadow: 0 28px 65px rgba(4,10,22,.26); }
.catalog-menu__top { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 22px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.catalog-menu__top strong, .catalog-menu__top span { display: block; }.catalog-menu__top strong { font-size: 1rem; }.catalog-menu__top span { margin-top: 2px; color: var(--muted); font-size: .73rem; }
.catalog-menu__top button { display: grid; width: 34px; height: 34px; place-items: center; color: var(--ink); background: #f1f3ef; border: 0; border-radius: 9px; font-size: 1.45rem; line-height: 1; cursor: pointer; }
.catalog-menu__groups { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0; padding: 8px 22px 24px; }
.catalog-menu__group { padding: 18px 22px 20px 0; border-bottom: 1px solid #e7eae5; }.catalog-menu__group:nth-child(even) { padding-right: 0; padding-left: 22px; border-left: 1px solid #e7eae5; }
.catalog-menu__group h2 { margin: 0 0 12px; color: #687184; font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.catalog-menu__links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 3px 16px; }
.catalog-menu__links a { padding: 6px 8px; overflow-wrap: anywhere; color: #283246; border-radius: 7px; font-size: .74rem; font-weight: 650; line-height: 1.35; text-decoration: none; }
.catalog-menu__links a:hover, .catalog-menu__links a[aria-current="page"] { color: #07111f; background: #efffdc; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand__logo { width: 38px; height: 38px; flex: 0 0 auto; filter: drop-shadow(0 8px 18px rgba(186,255,99,.15)); }
.brand__text { display: grid; gap: 1px; line-height: 1; }
.brand__word { color: #fff; font-size: 1.08rem; font-weight: 850; letter-spacing: -.04em; }
.brand__domain { color: var(--accent); font-size: .67rem; font-weight: 800; letter-spacing: .08em; text-transform: lowercase; opacity: .9; }
.brand--dark .brand__word { color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav > a:not(.button) { padding: 9px 12px; color: #cbd1dc; font-size: .9rem; font-weight: 650; text-decoration: none; border-radius: 8px; }
.site-nav > a:not(.button):hover, .site-nav > a.is-active { color: #fff; background: rgba(255,255,255,.07); }
.user-menu { display: flex; align-items: center; gap: 8px; margin-left: 8px; padding-left: 15px; border-left: 1px solid rgba(255,255,255,.15); }
.user-menu form { margin: 0; }
.user-chip { display: flex; align-items: center; gap: 8px; max-width: 190px; padding: 5px 8px; color: #fff; text-decoration: none; border-radius: 10px; }
.user-chip:hover { background: rgba(255,255,255,.08); }
.user-chip__label { overflow: hidden; font-size: .84rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.avatar { display: inline-grid; flex: 0 0 auto; width: 31px; height: 31px; place-items: center; color: var(--ink); background: var(--accent); border-radius: 50%; font-size: .74rem; font-style: normal; font-weight: 900; }
.avatar--large { width: 48px; height: 48px; padding: 0; box-sizing: border-box; place-items: center; align-content: center; justify-content: center; line-height: 0; color: #fff; background: var(--ink); border-radius: 50%; font-size: .9rem; box-shadow: 0 5px 13px rgba(17,24,39,.12); }
.avatar--large svg { display: block; }
.nav-toggle { display: none; width: 43px; height: 40px; padding: 9px; background: transparent; border: 0; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: #fff; border-radius: 2px; }

/* Buttons and forms */
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 10px; padding: 10px 19px; border: 1px solid transparent; border-radius: 11px; font-weight: 800; line-height: 1.15; text-align: center; text-decoration: none; transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:active:not(:disabled) { transform: translateY(0); }
.button:disabled { cursor: not-allowed; opacity: .55; }
.button--small { min-height: 36px; padding: 7px 13px; border-radius: 9px; font-size: .83rem; }
.button--block { width: 100%; }
.button--primary { color: #fff; background: var(--ink); box-shadow: 0 8px 22px rgba(17,24,39,.16); }
.button--primary:hover { background: #242e41; }
.button--accent { color: var(--ink); background: var(--accent); box-shadow: 0 8px 25px rgba(186,255,99,.18); }
.button--accent:hover { background: #c9ff86; }
.button--dark { color: #fff; background: var(--ink); }
.button--soft { color: var(--ink); background: #eef0eb; border-color: #dfe2dc; }
.button--soft:hover { background: #e4e7df; }
.button--ghost { color: inherit; background: transparent; border-color: #cfd4dc; }
.site-header .button--ghost { color: #dce1ea; border-color: rgba(255,255,255,.22); }
.button--danger { color: #a52432; background: #fff1f2; border-color: #f5c7cc; }
.button--yandex { color: #111; background: #fff; border-color: #dfe1e5; box-shadow: 0 5px 20px rgba(17,24,39,.06); }
.button--yandex:hover { border-color: #b7bbc3; }
.yandex-mark { display: inline-grid; width: 26px; height: 26px; place-items: center; color: #fff; background: #fc3f1d; border-radius: 8px; font-weight: 900; }
.icon-button { display: inline-grid; width: 34px; height: 34px; padding: 0; place-items: center; color: var(--ink); background: transparent; border: 1px solid #d6dae0; border-radius: 9px; font-weight: 800; }
.icon-button:hover { background: #eef0ec; }
.icon-button--danger { color: var(--red); }
.text-link, .back-link { color: inherit; font-size: .9rem; font-weight: 750; }
.back-link { display: inline-block; margin-bottom: 24px; color: var(--muted); text-decoration: none; }
.back-link:hover { color: var(--ink); }

.field { display: grid; gap: 7px; }
.field label, .shorten-form > label, .period-select label { font-size: .85rem; font-weight: 800; }
.field__label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.field__label-row a { color: var(--blue); font-size: .8rem; font-weight: 700; }
input, textarea, select { width: 100%; min-height: 46px; padding: 11px 13px; background: #fff; border: 1px solid #cfd4dc; border-radius: 10px; outline: none; transition: border-color .16s ease, box-shadow .16s ease; }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(80,104,255,.1); }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: none; }
input::placeholder, textarea::placeholder { color: #9ba2ad; }
input:disabled { color: #79818f; background: #f0f1ef; }
.field-hint { margin: 0; color: var(--muted); font-size: .77rem; }
.stack-form { display: grid; gap: 18px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.check-control { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: .84rem; cursor: pointer; }
.check-control--top { align-items: flex-start; }
.check-control input { flex: 0 0 auto; width: 18px; min-height: 18px; margin: 1px 0 0; accent-color: var(--ink); }
.password-control { position: relative; }
.password-control input { padding-right: 84px; }
.password-control input:focus, .password-control input:focus-visible { box-shadow: none; }
.shorten-settings .password-control input { background: #f2f3f0; }
.shorten-settings .password-control input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #f2f3f0 inset; }
.password-control button { position: absolute; top: 50%; right: 10px; padding: 5px; transform: translateY(-50%); color: var(--muted); background: transparent; border: 0; font-size: .75rem; font-weight: 800; }
.form-alert { padding: 13px 15px; border-radius: 10px; font-size: .87rem; }
.form-alert--error { color: #872532; background: #fff0f2; border: 1px solid #f1c8cd; }
.form-alert--success { color: #116044; background: #eaf8f1; border: 1px solid #bde5d2; }
.flash-wrap { position: fixed; z-index: 100; top: 88px; right: 20px; width: min(440px, calc(100% - 40px)); }
.flash { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 15px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; box-shadow: var(--shadow-sm); }
.flash--success { border-left-color: var(--green); }
.flash--error { border-left-color: var(--red); }
.toast-region { position: fixed; z-index: 150; right: 20px; bottom: 20px; display: grid; gap: 8px; }
.toast { padding: 11px 16px; color: #fff; background: var(--ink); border-radius: 10px; box-shadow: var(--shadow-sm); font-size: .85rem; font-weight: 700; animation: toast-in .22s ease-out both; }
@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } }

body.has-modal { overflow: hidden; }
.human-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 18px; background: rgba(15, 23, 42, .54); backdrop-filter: blur(7px); }
.human-modal__card { position: relative; width: min(540px, 100%); padding: 22px; background: #fff; border-radius: 18px; box-shadow: 0 24px 80px rgba(15, 23, 42, .25); }
.human-modal__close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 999px; background: #f3f4f6; color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.human-modal h2 { margin: 0 42px 8px 0; font-size: clamp(1.25rem, 4vw, 1.7rem); }
.human-modal p { margin: 0; color: var(--muted); }
.human-modal__intro { display: grid; gap: 16px; }
.human-modal__mascot { justify-self: center; display: grid; place-items: center; width: 112px; height: 112px; color: #fff; background: linear-gradient(135deg, #ff8a00, #22c55e); border-radius: 30px; font-size: 2.6rem; font-weight: 900; box-shadow: inset 0 -12px 28px rgba(0, 0, 0, .14); transform: rotate(-4deg); }
.human-check { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 58px; padding: 14px 16px; color: var(--ink); background: #f8fafc; border: 1px solid #dbe2ea; border-radius: 14px; font: inherit; font-weight: 800; cursor: pointer; }
.human-check__box { width: 25px; height: 25px; background: #fff; border: 1px solid #cbd5e1; border-radius: 7px; box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }
.human-game { display: grid; gap: 14px; }
.human-game__board { position: relative; display: grid; place-items: center; min-height: 330px; }
.human-game__field { position: relative; width: min(255px, 68vw); aspect-ratio: 1; overflow: hidden; border-radius: 999px; background: radial-gradient(circle, #fff 0 30%, #eef2f7 100%); box-shadow: inset 0 0 34px rgba(148, 163, 184, .35); }
.human-dot { position: absolute; display: block; border-radius: 999px; filter: blur(.3px); animation: human-flow 2.7s linear infinite; }
@keyframes human-flow { from { transform: translate(calc(var(--flow-x) * -1), calc(var(--flow-y) * -1)); } to { transform: translate(var(--flow-x), var(--flow-y)); } }
.human-game__arrows { position: absolute; inset: 0; pointer-events: none; }
.human-arrow { position: absolute; width: 42px; height: 42px; border: 0; border-radius: 999px; color: #6b7280; background: #f1f5f9; font-size: 1.25rem; cursor: pointer; pointer-events: auto; transition: transform .15s ease, background .15s ease; }
.human-arrow:hover { background: #e2e8f0; }
.human-arrow--up { top: 2px; left: 50%; transform: translateX(-50%); }
.human-arrow--up-right { top: 38px; right: 52px; transform: rotate(45deg); }
.human-arrow--right { top: 50%; right: 12px; transform: translateY(-50%) rotate(90deg); }
.human-arrow--down-right { right: 52px; bottom: 38px; transform: rotate(135deg); }
.human-arrow--down { bottom: 2px; left: 50%; transform: translateX(-50%) rotate(180deg); }
.human-arrow--down-left { left: 52px; bottom: 38px; transform: rotate(225deg); }
.human-arrow--left { top: 50%; left: 12px; transform: translateY(-50%) rotate(270deg); }
.human-arrow--up-left { top: 38px; left: 52px; transform: rotate(315deg); }
.human-game__hint { font-size: .88rem; font-style: italic; }
.text-button { justify-self: start; padding: 0; border: 0; color: var(--green); background: transparent; font: inherit; font-weight: 800; cursor: pointer; }
.human-game__failure { display: grid; min-height: 330px; align-content: center; justify-items: start; gap: 14px; padding: 20px 12px; }
.human-game__failure h2 { margin-right: 0; }.human-game__failure p { max-width: 370px; }.human-game__failure-mark { display: grid; width: 48px; height: 48px; place-items: center; color: #b23445; background: #fff0f2; border: 1px solid #f1c8cd; border-radius: 50%; font-size: 2rem; font-weight: 500; line-height: 1; }

/* Home */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--ink); }
.hero__grid { position: relative; z-index: 1; display: grid; min-height: 620px; align-items: center; grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr); gap: clamp(40px, 7vw, 95px); padding-block: 76px 92px; }
.hero__seo-title { max-width: 560px; margin: 0 0 13px; color: var(--accent); font-size: clamp(1.05rem, 2vw, 1.45rem); font-weight: 850; letter-spacing: -.02em; }
.hero__seo-title--landing { max-width: 690px; margin-bottom: 25px; color: #fff; font-size: clamp(2.7rem, 5vw, 5.4rem); line-height: 1.02; letter-spacing: -.055em; }
.landing-page .hero__grid { min-height: 590px; }.landing-page .hero__description { max-width: 680px; color: #c8ced8; font-size: 1.08rem; line-height: 1.65; }
.hero__title { max-width: 670px; margin: 0 0 22px; font-size: clamp(3.4rem, 6.5vw, 6.6rem); font-weight: 880; line-height: 1.08; letter-spacing: -.07em; }
.hero__title span { color: var(--accent); }
.hero__copy > p { max-width: 600px; margin-bottom: 30px; color: #b7beca; font-size: 1.1rem; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 22px; color: #e0e4ea; font-size: .82rem; font-weight: 700; }
.hero__proof span::before { content: "✓"; margin-right: 7px; color: var(--accent); }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(1px); opacity: .24; pointer-events: none; }
.hero__glow--one { top: -260px; right: 10%; width: 560px; height: 560px; background: radial-gradient(circle, #5265ff 0%, transparent 68%); }
.hero__glow--two { bottom: -350px; left: 15%; width: 700px; height: 700px; background: radial-gradient(circle, #aaff51 0%, transparent 70%); opacity: .1; }
.shortener-card { position: relative; padding: clamp(25px, 4vw, 38px); color: var(--ink); background: #fff; border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.shortener-card::after { position: absolute; z-index: -1; right: -12px; bottom: -13px; width: 94%; height: 70%; content: ""; background: var(--accent); border-radius: var(--radius-lg); transform: rotate(1.2deg); }
.shortener-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.shortener-card h2 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.25rem); }
.pulse-badge { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; padding: 7px 10px; color: var(--green); background: #edf9f3; border-radius: 999px; font-size: .69rem; font-weight: 800; }
.pulse-badge i { width: 7px; height: 7px; background: #2eb67d; border-radius: 50%; animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(46,182,125,0); } 0%,100% { box-shadow: 0 0 0 0 rgba(46,182,125,.3); } }
.shorten-form { display: grid; gap: 10px; }
.url-control { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; padding: 6px 6px 6px 13px; background: #f3f4f1; border: 1px solid #d5d8d3; border-radius: 14px; transition: border-color .16s, box-shadow .16s; }
.url-control:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(80,104,255,.1); }
.url-control__icon { color: var(--muted); font-size: 1.1rem; }
.url-control input { min-width: 0; padding-inline: 6px; background: transparent; border: 0; outline: none; box-shadow: none; }
.url-control input:focus, .url-control input:focus-visible { border-color: transparent; outline: none; box-shadow: none; }
.settings-toggle { display: inline-flex; min-height: 30px; align-items: center; gap: 7px; justify-self: start; padding: 6px 10px; color: var(--ink); background: #eef3e8; border: 1px solid #dce8d1; border-radius: 999px; box-shadow: inset 0 1px 0 rgba(255,255,255,.7); font-size: .78rem; font-weight: 850; text-decoration: none; transition: background-color .16s ease, border-color .16s ease, transform .16s ease; }
.settings-toggle::before { width: 7px; height: 7px; content: ""; background: var(--accent); border-radius: 999px; box-shadow: 0 0 0 4px rgba(186,255,99,.18); }
.settings-toggle:hover { background: #e6f0dc; border-color: #cfe2bf; transform: translateY(-1px); }
.settings-toggle[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.settings-toggle[aria-expanded="true"]::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(186,255,99,.15); }
.shorten-form__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.shorten-form__meta .field-hint { flex: 1 1 auto; }
.shorten-form__meta .settings-toggle { flex: 0 0 auto; }
.shorten-settings { display: grid; gap: 14px; margin-top: 4px; padding: 15px; background: #f8faf7; border: 1px solid #e0e5dc; border-radius: 14px; }
.alias-control { display: grid; grid-template-columns: auto 1fr; align-items: center; overflow: hidden; background: #fff; border: 1px solid #cfd4dc; border-radius: 10px; }
.alias-control:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(80,104,255,.1); }
.alias-control span { padding-left: 13px; color: var(--muted); font-weight: 800; }
.alias-control input { border: 0; border-radius: 0; box-shadow: none; }
.alias-control input:focus, .alias-control input:focus-visible { border-color: transparent; outline: none; box-shadow: none; }
.shorten-result { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; margin-top: 22px; padding: 17px; background: #edffd7; border: 1px solid #c8eb9d; border-radius: 14px; }
.shorten-result__url { display: block; overflow: hidden; color: var(--ink); font-size: 1.25rem; font-weight: 850; letter-spacing: -.02em; text-overflow: ellipsis; white-space: nowrap; }
.shorten-result p { grid-column: 1 / -1; margin: 0; padding: 13px 14px; color: #25462d; background: rgba(255,255,255,.72); border: 1px solid rgba(113,160,74,.28); border-radius: 12px; font-size: .95rem; font-weight: 760; line-height: 1.42; }
.shorten-result p a { color: var(--ink); font-weight: 900; text-decoration-thickness: 2px; }
.shortener-card__legal { margin: 18px 0 0; color: #7a818d; font-size: .72rem; text-align: center; }
.section { padding-block: 100px; }
.section--cream { background: var(--paper); }
.section-heading--split { display: grid; align-items: end; grid-template-columns: 1.3fr .7fr; gap: 70px; margin-bottom: 45px; }
.section-heading h2 { margin: 10px 0 0; }
.section-heading > p { margin: 0 0 8px; color: var(--muted); font-size: 1.05rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-card { position: relative; min-height: 270px; padding: 31px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.feature-card--wide { display: grid; grid-column: 1 / -1; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 60px; background: #eaf1ff; }
.feature-card--dark { color: #fff; background: var(--ink); border-color: var(--ink); }
.feature-card__index { display: inline-grid; width: 40px; height: 40px; margin-bottom: 45px; place-items: center; color: var(--muted); background: #f0f1ee; border-radius: 12px; font-size: .75rem; font-weight: 850; }
.feature-card--wide .feature-card__index { position: absolute; top: 30px; left: 30px; }
.feature-card--dark .feature-card__index { color: var(--accent); background: rgba(255,255,255,.08); }
.feature-card h3 { margin-bottom: 13px; font-size: 1.6rem; }
.feature-card p { max-width: 520px; margin: 0; color: var(--muted); }
.feature-card--dark p { color: #aeb6c4; }
.mini-link-stack { display: grid; gap: 12px; min-width: 0; }
.mini-link { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 16px 18px; color: #6b7482; background: #fff; border: 1px solid #d8dfe9; border-radius: 13px; box-shadow: var(--shadow-sm); font-size: 1.12rem; }
.mini-link b { display: inline-grid; width: 24px; height: 24px; flex: 0 0 auto; place-items: center; border-radius: 999px; font-size: .9rem; }
.mini-link--bad { color: #8f5960; background: #fff7f8; border-color: #f2c7ce; }
.mini-link--bad b { color: #fff; background: var(--red); }
.mini-link--bad span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-link--good b { color: #fff; background: var(--green); }
.mini-link strong { color: var(--ink); }
.mini-link i { margin-left: auto; color: var(--blue); font-style: normal; }
.alias-demo { position: absolute; right: -7px; bottom: 25px; padding: 13px 25px; color: var(--ink); background: var(--accent); border-radius: 12px 0 0 12px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 1.05rem; font-weight: 800; transform: rotate(-2deg); }
.feature-card--stats { grid-template-columns: .78fr 1.22fr; min-height: 358px; background: #eff7ff; }
.feature-card--stats .stats-copy { display: grid; align-content: start; gap: 18px; padding-top: 72px; }
.feature-card--stats .stats-copy h3 { margin: 0; }
.feature-card--stats p { margin: 0; }
.feature-card--stats .button { justify-self: start; }
.feature-card--limits, .feature-card--devices { display: flex; min-height: 370px; flex-direction: column; }.feature-card--limits { background: #fff8e9; }.feature-card--devices { background: #edfaf4; }.feature-card--limits .feature-card__index, .feature-card--devices .feature-card__index { margin-bottom: 32px; }.limit-demo { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 24px; }.limit-demo span, .limit-demo strong { padding: 8px 10px; color: #5c6370; background: rgba(255,255,255,.82); border: 1px solid rgba(17,24,39,.1); border-radius: 9px; font-size: .72rem; }.limit-demo strong { color: #fff; background: var(--ink); }.device-demo { display: grid; gap: 7px; margin-top: auto; padding-top: 24px; }.device-demo span { display: flex; justify-content: space-between; padding: 9px 11px; color: #31445c; background: rgba(255,255,255,.78); border: 1px solid #d5e8de; border-radius: 9px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .72rem; font-weight: 750; }.device-demo i { color: var(--blue); font-style: normal; }.feature-card--qr { grid-template-columns: 1fr .72fr; min-height: 310px; background: #eaf1ff; }.feature-card--qr > div:first-of-type { display: grid; justify-items: start; gap: 14px; padding-top: 55px; }.feature-card--qr h3, .feature-card--qr p { margin: 0; }.feature-qr { display: grid; grid-template-columns: 142px 1fr; align-items: center; gap: 18px; justify-self: end; padding: 16px; background: #fff; border: 1px solid #d7e1ef; border-radius: 18px; box-shadow: var(--shadow-sm); transform: rotate(1.5deg); }.feature-qr svg { width: 142px; height: 142px; fill: var(--ink); }.feature-qr > div { display: grid; grid-template-columns: repeat(2, auto); gap: 7px; }.feature-qr b { grid-column: 1 / -1; font-size: .85rem; }.feature-qr span { padding: 7px 9px; color: var(--blue); background: #f0f3ff; border-radius: 8px; font-size: .72rem; font-weight: 850; }
.stats-icons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 480px; }
.stats-icons span { display: flex; min-width: 0; align-items: center; gap: 8px; padding: 9px 11px; color: #334054; background: rgba(255,255,255,.78); border: 1px solid #d5e2ef; border-radius: 10px; font-size: .82rem; font-weight: 760; }
.stats-icons svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: #5068ff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
.mini-chart { position: relative; display: grid; min-width: 0; height: 270px; grid-template-rows: auto 1fr auto; gap: 8px; padding: 19px 20px 14px; background: #fff; border: 1px solid #d7e1ed; border-radius: 18px; box-shadow: 0 16px 35px rgba(50,73,107,.09); }
.mini-chart::after { position: absolute; right: 18px; bottom: 38px; width: 104px; height: 72px; content: ""; background: radial-gradient(circle, rgba(186,255,99,.42), rgba(186,255,99,0) 68%); pointer-events: none; }
.mini-chart__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .82rem; font-weight: 720; }
.mini-chart__top strong { padding: 5px 9px; color: #16794f; background: #e7f8ec; border-radius: 999px; font-size: .8rem; }
.mini-chart svg { width: 100%; height: 100%; min-height: 0; overflow: visible; }
.mini-chart__grid { fill: none; stroke: #e8eef4; stroke-width: 1; }
.mini-chart__area { fill: url(#chartFill); }
.mini-chart__line { fill: none; stroke: #16794f; stroke-linecap: round; stroke-linejoin: round; stroke-width: 6; }
.mini-chart__point { fill: #16794f; stroke: #fff; stroke-width: 3; }
.mini-chart__point--last { fill: var(--accent); stroke: #16794f; stroke-width: 4; }
.mini-chart__axis { display: flex; justify-content: space-between; color: #8b97a7; font-size: .72rem; font-weight: 700; }
.cta-strip { color: #fff; background: #5068ff; }
.cta-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.cta-strip h2 { margin: 12px 0 0; }
.cta-strip__actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta-strip .text-link { color: #fff; }

/* Auth */
.auth-section { display: grid; min-height: calc(100vh - 76px); place-items: center; padding: 55px 20px 80px; background: radial-gradient(circle at 10% 10%, rgba(80,104,255,.12), transparent 30%), radial-gradient(circle at 88% 80%, rgba(186,255,99,.28), transparent 30%); }
.auth-card { display: grid; width: min(100%, 960px); overflow: hidden; grid-template-columns: .95fr 1.05fr; background: #fff; border: 1px solid #dfe1dc; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.auth-card__intro { display: flex; flex-direction: column; padding: 48px; color: #fff; background: var(--ink); }
.brand--auth { margin-bottom: 80px; }
.auth-card__intro h1 { margin: 13px 0 18px; font-size: 3.15rem; }
.auth-card__intro > p { color: #afb7c4; }
.auth-card__note { margin-top: auto; padding: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 13px; }
.auth-card__note strong, .auth-card__note span { display: block; }
.auth-card__note span { margin-top: 4px; color: #abb3bf; font-size: .83rem; }
.check-list { display: grid; gap: 12px; padding: 0; margin: 30px 0 0; list-style: none; color: #d8dde5; }
.check-list li::before { content: "✓"; display: inline-grid; width: 24px; height: 24px; margin-right: 10px; place-items: center; color: var(--ink); background: var(--accent); border-radius: 8px; font-size: .76rem; font-weight: 900; }
.auth-card__form { padding: 50px; }
.auth-card__form h2 { margin-bottom: 28px; font-size: 2rem; }
.divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: #969da8; font-size: .72rem; text-transform: uppercase; }
.divider::before, .divider::after { height: 1px; flex: 1; content: ""; background: #e0e2e5; }
.auth-switch { margin: 24px 0 0; color: var(--muted); font-size: .86rem; text-align: center; }
.auth-switch a { color: var(--blue); font-weight: 800; }
.auth-section--compact { min-height: 650px; }
.auth-panel { width: min(100%, 500px); padding: 42px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.auth-panel__icon { display: grid; width: 48px; height: 48px; margin-bottom: 25px; place-items: center; color: var(--ink); background: var(--accent); border-radius: 14px; font-size: 1.35rem; font-weight: 900; }
.auth-panel h1 { margin: 12px 0 14px; font-size: 2.35rem; }
.auth-panel > p { margin-bottom: 27px; color: var(--muted); }
.auth-panel .back-link { margin: 24px 0 0; }
.auth-panel--center { text-align: center; }
.result-mark { display: grid; width: 64px; height: 64px; margin: 0 auto 25px; place-items: center; color: #fff; background: var(--green); border-radius: 50%; font-size: 1.7rem; font-weight: 900; }
.result-mark--warning { background: var(--orange); }.result-mark--error { background: var(--red); }

/* Workspace */
.workspace { min-height: calc(100vh - 76px); padding-block: 42px 80px; background: #f3f4f0; }
.workspace__grid { display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 38px; }
.workspace-nav { position: sticky; top: 28px; align-self: start; }
.workspace-nav__profile { display: flex; align-items: center; gap: 11px; padding: 0 10px 24px; border-bottom: 1px solid #dfe2dc; }
.workspace-nav__profile div { min-width: 0; }
.workspace-nav__profile strong, .workspace-nav__profile span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-nav__profile strong { font-size: .9rem; }.workspace-nav__profile div span { color: var(--muted); font-size: .73rem; }
.workspace-nav nav { display: grid; gap: 4px; padding-top: 20px; }
.workspace-nav nav a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; color: #545d6d; border-radius: 10px; font-size: .88rem; font-weight: 700; text-decoration: none; }
.workspace-nav nav a > span { width: 21px; color: #89919e; font-size: 1.05rem; text-align: center; }
.workspace-nav nav a:hover { color: var(--ink); background: #e7e9e4; }
.workspace-nav nav a.is-active { color: #fff; background: var(--ink); }
.workspace-nav nav a.is-active span { color: var(--accent); }
.workspace-nav__help { display: flex; align-items: flex-start; gap: 11px; margin-top: 35px; padding: 15px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.workspace-nav__help > span { display: grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center; color: var(--blue); background: #edf0ff; border-radius: 8px; font-weight: 900; }
.workspace-nav__help p { margin: 0; font-size: .76rem; }.workspace-nav__help a { color: var(--blue); }
.workspace-main { min-width: 0; }
.workspace-main--narrow { max-width: 800px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.page-heading h1 { margin: 9px 0 7px; font-size: clamp(2.1rem, 4vw, 3.35rem); }
.page-heading p { margin: 0; color: var(--muted); }
.page-heading__actions { display: flex; gap: 10px; }
.project-heading { align-items: center; }
.project-heading h1 { margin-top: 12px; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 20px; }
.metric-card { position: relative; min-height: 155px; padding: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.metric-card::after { position: absolute; right: -30px; bottom: -45px; width: 100px; height: 100px; content: ""; border: 18px solid #eef0ec; border-radius: 50%; }
.metric-card > span, .metric-card > strong, .metric-card > small { position: relative; z-index: 1; display: block; }
.metric-card > span { color: var(--muted); font-size: .78rem; font-weight: 750; }
.metric-card > strong { margin: 9px 0 2px; font-size: 2.6rem; line-height: 1; letter-spacing: -.05em; }
.metric-card > small { color: #9097a2; font-size: .72rem; }
.metric-card--accent { background: var(--accent); border-color: #a9e85e; }
.metric-card--accent::after { border-color: rgba(17,24,39,.09); }
.metric-card--accent > span, .metric-card--accent > small { color: #44512f; }
.dashboard-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.dashboard-statistics { margin-bottom: 20px; }
.dashboard-statistics .panel__heading { margin-bottom: 16px; }
.link-stat-preview { display: flex; flex-wrap: wrap; gap: 4px 9px; margin-top: 6px; color: var(--muted); font-size: .7rem; font-weight: 650; white-space: normal; }
.link-stat-preview b { color: var(--ink); }.link-stat-preview a { color: var(--blue); font-weight: 800; }
.admin-grid { display: grid; grid-template-columns: 1fr .56fr; gap: 18px; }
.panel { min-width: 0; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.panel--span-2 { grid-column: 1 / -1; }
.panel--flush { padding: 0; overflow: hidden; }
.panel__heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 20px; }
.panel__heading h2 { margin: 0; font-size: 1.35rem; }
.panel__heading > a { color: var(--blue); font-size: .78rem; font-weight: 800; }
.table-wrap { max-width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .81rem; }
.data-table th { padding: 10px 12px; color: #858c98; font-size: .67rem; font-weight: 800; letter-spacing: .08em; text-align: left; text-transform: uppercase; border-bottom: 1px solid #e6e8e4; white-space: nowrap; }
.data-table td { max-width: 290px; padding: 14px 12px; border-bottom: 1px solid #eceeeb; vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fafbf8; }
.short-code { color: var(--blue); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-weight: 800; white-space: nowrap; }
.truncate { display: block; max-width: 300px; overflow: hidden; color: #535c6b; text-overflow: ellipsis; white-space: nowrap; }
.row-actions { display: flex; align-items: center; gap: 5px; }.row-actions form { margin: 0; }
.empty-state { display: grid; justify-items: center; padding: 35px 20px; text-align: center; }
.empty-state--large { min-height: 390px; align-content: center; }
.empty-state--compact { padding: 18px; }
.empty-state__mark { display: grid; width: 49px; height: 49px; margin-bottom: 15px; place-items: center; color: var(--blue); background: #edf0ff; border-radius: 14px; font-size: 1.25rem; font-weight: 900; }
.empty-state h2, .empty-state h3 { margin-bottom: 8px; }.empty-state p { max-width: 470px; margin-bottom: 18px; color: var(--muted); }
.project-mini-list { display: grid; gap: 6px; }
.project-mini { display: flex; align-items: center; gap: 11px; padding: 10px 8px; border-radius: 10px; text-decoration: none; }
.project-mini:hover { background: #f3f5f0; }
.project-mini > span:nth-child(2) { min-width: 0; flex: 1; }.project-mini strong, .project-mini small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.project-mini strong { font-size: .86rem; }.project-mini small { color: var(--muted); font-size: .72rem; }
.project-dot { width: 10px; height: 34px; border-radius: 5px; background: var(--blue); }.project-dot--2 { background: #e49943; }.project-dot--3 { background: #28a376; }.project-dot--4 { background: #b85acb; }
.status-dot { display: inline-block; width: 8px; height: 8px; background: #aeb4bd; border-radius: 50%; }.status-dot.status--success, .status--success i { background: #23a674; }.status-dot.status--pending, .status--pending i { background: #e2a13d; }.status-dot.status--danger, .status--danger i { background: #dc4a58; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; color: #5f6671; background: #f0f1ef; border-radius: 999px; font-size: .67rem; font-weight: 800; white-space: nowrap; }
.status i { width: 6px; height: 6px; background: #9da4ae; border-radius: 50%; }
.status--success { color: #147050; background: #eaf7f1; }.status--pending { color: #8c5b0f; background: #fff5e4; }.status--danger { color: #9e2b38; background: #fff0f2; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.project-card { padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .18s, box-shadow .18s; }
.project-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.project-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.project-badge { display: grid; width: 43px; height: 43px; place-items: center; color: #fff; background: var(--blue); border-radius: 13px; font-weight: 900; }.project-badge--2 { background: #ca7421; }.project-badge--3 { background: #188864; }.project-badge--4 { background: #944aaa; }
.project-card h2 { margin-bottom: 9px; font-size: 1.35rem; }.project-card h2 a { text-decoration: none; }.project-card > p { min-height: 44px; color: var(--muted); font-size: .85rem; }
.project-card__meta { display: flex; justify-content: space-between; gap: 15px; padding-block: 15px; color: var(--muted); border-top: 1px solid #e7e9e5; border-bottom: 1px solid #e7e9e5; font-size: .74rem; }
.project-card__meta strong { color: var(--ink); }
.card-link { display: flex; justify-content: space-between; margin-top: 18px; color: var(--blue); font-size: .82rem; font-weight: 800; text-decoration: none; }
.form-panel { padding: 30px; }.form-panel .panel__heading { padding-bottom: 18px; border-bottom: 1px solid #e8eae6; }
.info-box { display: flex; align-items: flex-start; gap: 12px; padding: 13px; color: #4d5665; background: #f1f3ef; border-radius: 11px; font-size: .79rem; }
.info-box > span { display: grid; width: 23px; height: 23px; flex: 0 0 auto; place-items: center; color: #fff; background: var(--ink); border-radius: 7px; font-size: .72rem; font-weight: 900; }.info-box p { margin: 0; }
.alias-control { display: grid; grid-template-columns: auto 1fr auto; align-items: center; overflow: hidden; background: #fff; border: 1px solid #cfd4dc; border-radius: 10px; }.alias-control span, .alias-control i { padding: 11px 0 11px 13px; color: #737b88; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .85rem; font-style: normal; }.alias-control i { padding-inline: 0 13px; }.alias-control input { padding-inline: 3px; background: transparent; border: 0; box-shadow: none; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 14px; }.filter-bar select { min-width: 160px; }.search-control { position: relative; display: block; min-width: 230px; flex: 1 1 280px; }.search-control > span:first-child { position: absolute; z-index: 1; top: 50%; left: 13px; transform: translateY(-50%); color: #808895; font-size: 1.1rem; }.search-control input { padding-left: 38px; }
.filter-dialog { width: min(620px, calc(100vw - 32px)); max-height: min(720px, calc(100vh - 32px)); padding: 0; color: var(--ink); background: #fff; border: 1px solid #dce1e9; border-radius: 18px; box-shadow: 0 24px 70px rgba(17,24,39,.28); }.filter-dialog::backdrop { background: rgba(15,23,42,.34); }.filter-dialog__heading, .filter-dialog__actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 20px 22px; }.filter-dialog__heading { border-bottom: 1px solid #e6e9ee; }.filter-dialog__heading .eyebrow { font-size: .68rem; }.filter-dialog__heading h2 { margin: 4px 0 0; font-size: 1.45rem; }.filter-dialog__body { display: grid; gap: 18px; max-height: calc(100vh - 230px); padding: 20px 22px; overflow: auto; }.filter-dialog__actions { border-top: 1px solid #e6e9ee; }.filter-options { padding: 0; margin: 0; border: 0; }.filter-options legend { margin-bottom: 9px; font-weight: 800; }.filter-options > div { display: flex; flex-wrap: wrap; gap: 8px; }.filter-check { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 7px 10px; color: #25324a; background: #f4f6f9; border: 1px solid #d9e0e9; border-radius: 9px; font-size: .85rem; cursor: pointer; }.filter-check:has(input:checked) { color: #101a31; background: #e7edff; border-color: #91a5ff; }.filter-check input { width: 15px; height: 15px; margin: 0; accent-color: var(--blue); }
.tracking-fields { padding: 15px 16px; margin-bottom: 8px; overflow: visible; background: #f4f5f2; border: 1px solid #e0e3de; border-radius: 12px; }.tracking-fields summary { cursor: pointer; color: var(--ink); font-size: .86rem; font-weight: 800; }.tracking-fields__body { display: grid; gap: 15px; margin-top: 17px; }.settings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }.settings-grid .field--wide { grid-column: 1 / -1; }.field-help { position: relative; display: inline-grid; width: 17px; height: 17px; margin-left: 4px; place-items: center; color: #526174; background: #e4e8e3; border-radius: 50%; cursor: help; font-size: .68rem; font-weight: 900; line-height: 1; vertical-align: 1px; }.field-help::after { position: absolute; z-index: 80; bottom: calc(100% + 8px); left: 50%; width: max-content; max-width: 280px; padding: 8px 10px; transform: translate(-50%, 4px); color: #fff; background: var(--ink); border-radius: 8px; box-shadow: var(--shadow-sm); content: attr(data-tooltip); font-size: .72rem; font-weight: 650; line-height: 1.4; opacity: 0; pointer-events: none; text-align: left; transition: opacity .15s ease, transform .15s ease; }.field-help:hover::after, .field-help:focus::after { transform: translate(-50%, 0); opacity: 1; }.field--blank { visibility: hidden; }
.qr-menu { position: relative; }.qr-menu > summary { list-style: none; cursor: pointer; }.qr-menu > summary::-webkit-details-marker { display: none; }.qr-menu__panel { position: absolute; z-index: 70; top: calc(100% + 8px); left: 50%; width: 190px; padding: 12px; transform: translateX(-50%); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); text-align: center; }.qr-menu__panel img { display: block; width: 132px; height: 132px; margin: 0 auto 9px; background: #fff; }.qr-menu__links { display: flex; justify-content: center; gap: 10px; }.qr-menu__links a { color: var(--blue); font-size: .72rem; font-weight: 800; }.qr-preview { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 14px; grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid var(--line); }.qr-preview img { width: 96px; height: 96px; background: #fff; border-radius: 8px; }.qr-preview__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.count-pill { display: inline-grid; min-width: 28px; height: 28px; padding-inline: 8px; place-items: center; color: var(--muted); background: #eff1ed; border-radius: 9px; font-size: .75rem; font-weight: 800; }
.progress-notice { display: flex; align-items: center; gap: 15px; margin-bottom: 16px; padding: 17px; color: #6c4a12; background: #fff5e4; border: 1px solid #efdcb9; border-radius: 13px; }.progress-notice p { margin: 2px 0 0; font-size: .8rem; }.spinner { width: 28px; height: 28px; border: 3px solid #e3c99b; border-top-color: #b87012; border-radius: 50%; animation: spin .8s linear infinite; }@keyframes spin { to { transform: rotate(360deg); } }
.connection-row { display: flex; align-items: center; gap: 13px; }.connection-row > div { min-width: 0; flex: 1; }.connection-row p { margin: 2px 0 0; color: var(--muted); font-size: .78rem; }
.danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 18px; border-color: #efcbd0; }.danger-zone h2 { margin-bottom: 5px; font-size: 1.25rem; }.danger-zone p { margin: 0; color: var(--muted); font-size: .82rem; }

/* Statistics */
.stats-meta { display: flex; flex-wrap: wrap; gap: 10px 25px; margin: -10px 0 22px; color: var(--muted); font-size: .75rem; }.stats-meta span { display: flex; align-items: center; gap: 7px; }
.period-select { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }.period-select select { min-width: 130px; }.period-select__dates { display: flex; align-items: center; gap: 9px; }.period-select input[type="date"] { width: 142px; min-height: 39px; padding: 8px 10px; font: inherit; color: var(--ink); background: #fff; border: 1px solid #cfd4dc; border-radius: 9px; }
.stats-overview-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .88fr); align-items: stretch; gap: 20px; }
.stats-overview-row .metric-grid { display: grid; grid-auto-rows: 1fr; grid-template-columns: repeat(2, minmax(0, 1fr)); height: 100%; margin: 0; gap: 14px; }.stats-overview-row .metric-card { min-height: 155px; height: 100%; padding: 22px 25px; }
.stats-overview-row .period-select { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto; align-content: start; box-sizing: border-box; min-height: 155px; height: 100%; padding: 17px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 20px rgba(17,24,39,.035); }
.stats-overview-row .period-select > label { grid-column: 1 / -1; }.stats-overview-row .period-select select { min-width: 0; min-height: 44px; grid-column: 1; grid-row: 2; }.stats-overview-row .period-select button { min-height: 44px; grid-column: 2; grid-row: 2; align-self: stretch; }.stats-overview-row .period-select__dates { grid-column: 1 / -1; grid-row: 3; flex-wrap: wrap; }
.metric-grid--stats .metric-card:first-child { background: var(--accent); }
.skeleton-card.is-loading strong, .skeleton-block.is-loading { background-image: linear-gradient(90deg, #eceeeb 25%, #f8f9f6 50%, #eceeeb 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.chart-panel { margin-top: 18px; }
.chart-legend { display: flex; gap: 14px; color: var(--muted); font-size: .72rem; }.chart-legend span { display: flex; align-items: center; gap: 6px; }.legend-dot { display: inline-block; width: 8px; height: 8px; background: var(--ink); border-radius: 3px; }.legend-dot--accent { background: var(--accent-strong); }.legend-dot--dark { background: var(--ink); }
.css-chart { position: relative; height: 290px; padding: 10px 0 0; border-bottom: 1px solid #dfe2dd; }.stats-line-chart { display: block; width: 100%; height: 100%; overflow: visible; }.stats-line-chart__grid { stroke: #e2e6e1; stroke-width: 1; }.stats-line-chart__visits, .stats-line-chart__users { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 4; vector-effect: non-scaling-stroke; }.stats-line-chart__visits { stroke: #91df35; }.stats-line-chart__users { stroke: #111827; }.stats-line-chart__visits__dot { fill: #91df35; stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }.stats-line-chart__users__dot { fill: #111827; stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }.stats-line-chart__label, .stats-line-chart__axis-label { fill: #7a8493; font-size: 20px; font-weight: 650; }.stats-line-chart__axis-label { font-size: 18px; }.stats-line-chart__tooltip-box { fill: #111827; opacity: .96; }.stats-line-chart__tooltip-text { fill: #fff; font-size: 16px; font-weight: 750; }.stats-line-chart__tooltip-detail { font-size: 14px; font-weight: 700; }.stats-line-chart__hit { fill: transparent; cursor: crosshair; }
.stats-tabs { display: flex; gap: 4px; margin: 24px 0 10px; overflow-x: auto; scrollbar-width: thin; }
.stats-tabs button { flex: 0 0 auto; padding: 10px 14px; color: var(--muted); background: transparent; border: 0; border-bottom: 2px solid transparent; font-size: .78rem; font-weight: 800; }.stats-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--blue); }
.stats-detail { min-height: 240px; }.loading-label { padding: 35px; color: var(--muted); text-align: center; }
.stats-error { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 14px; color: #852a34; background: #fff0f2; border-radius: 11px; }.stats-error > span { display: grid; width: 27px; height: 27px; place-items: center; color: #fff; background: var(--red); border-radius: 50%; font-weight: 900; }.stats-error p { margin: 2px 0 0; font-size: .78rem; }
.stats-disclaimer { margin-top: 15px; color: var(--muted); font-size: .72rem; }

/* Link list */
.panel--flush:has(.link-list) { overflow: visible; }
.link-list { --link-columns: minmax(195px, 1.1fr) minmax(120px, .8fr) minmax(195px, 1.32fr) minmax(108px, .65fr) 128px 40px; position: relative; }.link-list--project { --link-columns: minmax(195px, 1.1fr) minmax(195px, 1.32fr) minmax(108px, .65fr) 128px 40px; }
.link-list__labels, .link-list__body { display: grid; grid-template-columns: var(--link-columns); gap: 16px; align-items: center; }.link-list__labels { padding: 14px 18px 11px; color: #758094; border-bottom: 1px solid #e1e4e1; font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }.link-list__item { position: relative; padding: 0 18px; border-bottom: 1px solid #e5e8e4; transition: background .16s ease; }.link-list__item:last-child { border-bottom: 0; }.link-list__item:hover { background: #fafbf8; }.link-list__destination { display: flex; align-items: center; min-width: 0; gap: 10px; padding: 16px 0 8px; color: var(--muted); font-size: .78rem; }.link-list__destination span { flex: 0 0 auto; color: #8a93a0; font-size: .66rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }.link-list__destination strong { overflow: hidden; color: #546176; font-size: .82rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }.link-list__body { padding: 5px 0 17px; font-size: .82rem; }.link-list__body > * { min-width: 0; }.link-list__body time { color: #4f5c70; white-space: nowrap; }.link-list__short { min-width: 0; }.link-list__project { color: #334156; font-weight: 700; }.link-list__tracking { display: grid; gap: 4px; min-width: 0; }.link-list__tracking-item { display: flex; min-width: 0; gap: 4px; color: #58677c; font-size: .73rem; line-height: 1.25; white-space: nowrap; }.link-list__tracking-item b { flex: 0 0 auto; color: #3b485d; font-weight: 800; }.link-list__tracking-item > span { overflow: hidden; text-overflow: ellipsis; }.link-list__tracking-more, .link-list__tracking-empty { color: #8993a2; font-size: .71rem; font-weight: 700; }
.link-table__code { display: flex; align-items: center; gap: 7px; }.link-table__code .short-code { min-width: 0; overflow: hidden; font-size: .75rem; text-overflow: ellipsis; }
.icon-button--compact { position: relative; width: 29px; height: 29px; border-color: transparent; color: #5369d7; }.icon-button--compact svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }.icon-button[data-tooltip]::after { position: absolute; z-index: 30; bottom: calc(100% + 7px); left: 50%; padding: 5px 7px; transform: translate(-50%, 4px); color: #fff; background: var(--ink); border-radius: 6px; box-shadow: var(--shadow-sm); content: attr(data-tooltip); font-size: .68rem; font-weight: 700; line-height: 1.2; opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease; white-space: nowrap; }.icon-button[data-tooltip]:hover::after, .icon-button[data-tooltip]:focus-visible::after { transform: translate(-50%, 0); opacity: 1; }
.link-stat-preview { margin-top: 7px; color: #59667a; font-size: .72rem; white-space: normal; }.link-stat-preview em { display: inline-block; margin-left: 3px; color: #818b9a; font-size: .68rem; font-style: normal; }
.link-stat-preview b { color: var(--ink); font-weight: 850; }
.link-actions-menu { position: relative; }.link-actions-menu summary { list-style: none; cursor: pointer; }.link-actions-menu summary::-webkit-details-marker { display: none; }.link-actions-menu[open] summary { background: #eef0ec; }
.link-actions-menu__items { position: absolute; z-index: 10; right: 0; display: grid; width: 180px; padding: 6px; background: #fff; border: 1px solid #dce1e8; border-radius: 11px; box-shadow: 0 16px 35px rgba(17,24,39,.16); }
.link-actions-menu__items a, .link-actions-menu__items button { display: block; width: 100%; padding: 8px 10px; color: var(--ink); background: transparent; border: 0; border-radius: 7px; font: inherit; font-size: .79rem; font-weight: 700; text-align: left; text-decoration: none; }.link-actions-menu__items a:hover, .link-actions-menu__items button:hover { background: #f0f2ee; }.link-actions-menu__items form { margin: 0; }.link-actions-menu__items .link-actions-menu__danger { color: #ae2739; }.link-actions-menu__items .link-actions-menu__danger:hover { background: #fff0f2; }
.link-edit-address { display: grid; gap: 4px; margin-bottom: 22px; padding: 14px; background: #f3f5f1; border-radius: 11px; font-size: .8rem; }.link-edit-address span:first-child { color: var(--muted); font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }.link-edit-address a { overflow: hidden; color: var(--blue); font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }.link-edit-address span:last-child { overflow: hidden; color: #596477; text-overflow: ellipsis; white-space: nowrap; }

/* Admin */
.admin-nav { background: #232c3d; border-top: 1px solid rgba(255,255,255,.08); }
.admin-nav__inner { display: flex; min-height: 56px; align-items: center; justify-content: space-between; gap: 25px; color: #fff; }.admin-nav__inner > strong { font-size: .82rem; }.admin-nav__inner > strong span { color: var(--accent); }
.admin-nav nav { display: flex; align-self: stretch; gap: 4px; }.admin-nav nav a { display: flex; align-items: center; padding-inline: 12px; color: #b9c0cb; font-size: .76rem; font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; }.admin-nav nav a:hover, .admin-nav nav a.is-active { color: #fff; border-bottom-color: var(--accent); }
.admin-page { min-height: 75vh; padding-block: 42px 80px; background: #f3f4f0; }.metric-grid--admin { grid-template-columns: repeat(4, 1fr); }.admin-grid { grid-template-columns: 1fr 1fr 1fr; }.admin-grid .panel--span-2 { grid-column: span 2; }
.health-list { display: grid; gap: 2px; }.health-list > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 10px 0; border-bottom: 1px solid #eceeeb; font-size: .8rem; }.health-list > div:last-child { border: 0; }
.donut-row { display: flex; align-items: center; gap: 22px; }.donut { display: grid; width: 112px; height: 112px; flex: 0 0 auto; place-items: center; background: conic-gradient(var(--accent-strong) calc(var(--value) * 1%), #252f41 0); border-radius: 50%; }.donut::before { grid-area: 1 / 1; width: 72px; height: 72px; content: ""; background: #fff; border-radius: 50%; }.donut strong { z-index: 1; grid-area: 1 / 1; font-size: 1.1rem; }.donut-row p { margin-bottom: 6px; font-size: .78rem; }.donut-row p i { margin-right: 6px; }.donut-row small { color: var(--muted); font-size: .66rem; }

/* Legal and reports */
.document-hero { padding-block: 72px; color: #fff; background: var(--ink); }.document-hero h1 { max-width: 900px; margin: 15px 0 15px; font-size: clamp(2.45rem, 5vw, 4.8rem); }.document-hero p { max-width: 650px; margin-bottom: 18px; color: #bdc4cf; font-size: 1.05rem; }.document-hero .container > span:last-child { color: #8f99a8; font-size: .75rem; }
.document-section { padding-block: 70px 100px; background: #fff; }.document-layout { display: grid; grid-template-columns: 220px minmax(0, 740px); justify-content: center; gap: 70px; }.document-toc { position: sticky; top: 25px; display: grid; align-self: start; gap: 9px; padding-left: 15px; border-left: 2px solid #e3e6e1; }.document-toc strong { margin-bottom: 7px; font-size: .76rem; text-transform: uppercase; }.document-toc a { color: var(--muted); font-size: .76rem; text-decoration: none; }.document-toc a:hover { color: var(--blue); }
.document-content h2 { margin: 45px 0 14px; font-size: 1.65rem; scroll-margin-top: 25px; }.document-content h2:first-child { margin-top: 0; }.document-content p, .document-content li { color: #4f5867; }.document-content li + li { margin-top: 7px; }.document-content a { color: var(--blue); }.document-content--single { max-width: 780px; margin-inline: auto; }
.document-callout { margin-top: 35px; padding: 20px; background: #eff1ec; border-radius: 13px; }.document-callout p { margin: 4px 0 0; }
.report-section { min-height: 700px; padding-block: 75px 100px; background: radial-gradient(circle at 5% 20%, rgba(186,255,99,.22), transparent 27%), #f3f4f0; }.report-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 80px; }.report-copy h1 { margin: 12px 0 20px; font-size: clamp(2.7rem, 5vw, 4.8rem); }.report-copy > p { color: var(--muted); font-size: 1.04rem; }.report-note { margin-top: 35px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }.report-note ul { padding-left: 20px; margin-bottom: 0; color: var(--muted); font-size: .85rem; }

/* Errors */
.error-page { display: grid; width: min(calc(100% - 40px), 950px); min-height: calc(100vh - 190px); margin: auto; align-items: center; grid-template-columns: .9fr 1.1fr; gap: 65px; padding-block: 70px; }.error-page__code { color: var(--accent); font-size: clamp(8rem, 20vw, 16rem); font-weight: 900; line-height: .75; letter-spacing: -.1em; text-shadow: 8px 8px 0 var(--ink); transform: rotate(-4deg); }.error-page__content h1 { margin: 13px 0 17px; font-size: clamp(2.5rem, 5vw, 4.4rem); }.error-page__content p { max-width: 500px; color: var(--muted); }.error-page__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* Redirect interstitial */
.redirect-page { min-height: 100vh; background: #f4f5f6; }
.redirect-shell { display: grid; width: 100%; min-height: 100vh; margin: 0; place-items: center; }
.redirect-loader { display: grid; width: 34px; height: 34px; place-items: center; }
.redirect-loader i { width: 26px; height: 26px; border: 2px solid #d7dade; border-top-color: #929aa4; border-radius: 50%; animation: redirect-spin .75s linear infinite; }
@keyframes redirect-spin { to { transform: rotate(360deg); } }
.redirect-preview { width: min(calc(100% - 40px), 720px); padding: 42px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.redirect-preview h1 { margin: 10px 0 16px; font-size: clamp(1.8rem, 4vw, 2.8rem); }.redirect-preview p { margin: 0; color: var(--muted); }.redirect-preview p span { overflow-wrap: anywhere; color: var(--ink); font-weight: 700; }
.redirect-fallback { width: min(calc(100% - 40px), 600px); padding: 28px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 16px; text-align: center; }.redirect-fallback p { margin: 0 0 12px; color: var(--muted); }.redirect-fallback > a { overflow-wrap: anywhere; color: var(--ink); font-weight: 750; }.redirect-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 20px; margin-top: 22px; }.redirect-links a { color: #617083; font-size: .8rem; }

/* Footer */
.site-footer { padding-block: 46px; color: #aeb6c2; background: #0b111d; }
.site-footer__grid { display: grid; grid-template-columns: 1fr 1.1fr .7fr; align-items: start; gap: 45px; }
.brand--footer { margin-bottom: 13px; }.site-footer p { margin: 0; font-size: .75rem; }.site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }.site-footer nav a { color: #cbd1da; font-size: .75rem; text-decoration: none; }.site-footer nav a:hover { color: var(--accent); }.site-footer__meta { text-align: right; }
.sitemap-page { padding: 50px 0 80px; background: #f4f5f1; }.sitemap-page main { max-width: 980px; }.sitemap-page__brand { display: inline-flex; align-items: baseline; gap: 8px; margin-bottom: 34px; color: var(--ink); font-size: 1.2rem; font-weight: 900; text-decoration: none; }.sitemap-page__brand small { color: #4b5cff; font-size: .72rem; }.sitemap-page h1 { margin-bottom: 8px; }.sitemap-page > main > p { color: var(--muted); }.sitemap-page ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px 32px; margin-top: 30px; padding: 25px 25px 25px 55px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }.sitemap-page li { padding-left: 4px; color: #89919e; }.sitemap-page li a { color: #354158; overflow-wrap: anywhere; }

@media (max-width: 1050px) {
    .hero__grid { grid-template-columns: 1fr; padding-top: 60px; }.hero__copy { max-width: 800px; }.hero__title { font-size: clamp(3.5rem, 10vw, 6.2rem); }.shortener-card { max-width: 760px; }
    .workspace__grid { grid-template-columns: 190px minmax(0, 1fr); gap: 24px; }.metric-grid--admin { grid-template-columns: repeat(2, 1fr); }.admin-grid { grid-template-columns: 1fr 1fr; }
    .document-layout { grid-template-columns: 190px minmax(0, 680px); gap: 40px; }
}

@media (max-width: 820px) {
    .container { width: min(calc(100% - 30px), var(--container)); }
    .site-header__inner { min-height: 68px; }.nav-toggle { display: block; }.site-nav { position: absolute; top: 68px; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; padding: 13px 15px 18px; background: var(--ink); border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 15px 25px rgba(0,0,0,.2); }.site-nav.is-open { display: flex; }.site-nav > a:not(.button) { padding: 11px; }.user-menu { align-items: stretch; flex-direction: column; margin: 8px 0 0; padding: 13px 0 0; border-top: 1px solid rgba(255,255,255,.12); border-left: 0; }.user-chip { max-width: none; }
    .catalog-menu { top: 68px; right: -1px; left: -1px; max-height: calc(100vh - 68px); border-radius: 0 0 15px 15px; }.catalog-menu__groups { padding-inline: 16px; }.catalog-menu__links { grid-template-columns: 1fr; }
    .section { padding-block: 70px; }.section-heading--split, .feature-card--wide { grid-template-columns: 1fr; gap: 25px; }.feature-card--wide { padding-top: 90px; }.feature-card--qr > div:first-of-type { padding-top: 0; }.feature-qr { justify-self: stretch; }.cta-strip__inner { align-items: flex-start; flex-direction: column; }
    .auth-card { max-width: 570px; grid-template-columns: 1fr; }.auth-card__intro { padding: 35px; }.brand--auth { margin-bottom: 45px; }.auth-card__note { margin-top: 30px; }.auth-card__form { padding: 35px; }
    .workspace__grid { grid-template-columns: 1fr; }.workspace-nav { position: static; }.workspace-nav__profile, .workspace-nav__help { display: none; }.workspace-nav nav { display: flex; gap: 4px; padding: 0 0 8px; overflow-x: auto; }.workspace-nav nav a { flex: 0 0 auto; }.workspace-nav nav a > span { display: none; }
    .dashboard-grid { grid-template-columns: 1fr; }.panel--span-2 { grid-column: auto; }
    .admin-nav__inner { align-items: flex-start; flex-direction: column; padding-block: 12px; }.admin-nav nav { width: 100%; overflow-x: auto; }.admin-nav nav a { min-height: 38px; flex: 0 0 auto; }.admin-grid { grid-template-columns: 1fr; }.admin-grid .panel--span-2 { grid-column: auto; }
    .document-layout { grid-template-columns: 1fr; }.document-toc { position: static; display: flex; padding: 12px; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }.document-toc strong { display: none; }.document-toc a { flex: 0 0 auto; }
    .report-grid { grid-template-columns: 1fr; gap: 35px; }.error-page { grid-template-columns: 1fr; gap: 40px; text-align: center; }.error-page__code { margin-top: 20px; }.error-page__content p { margin-inline: auto; }.error-page__actions { justify-content: center; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }.site-footer__meta { grid-column: 1 / -1; text-align: left; }
    .stats-overview-row { grid-template-columns: 1fr; }
    .link-list { --link-columns: minmax(158px, 1fr) minmax(96px, .68fr) minmax(150px, 1.16fr) minmax(94px, .6fr) 110px 34px; }.link-list--project { --link-columns: minmax(158px, 1fr) minmax(150px, 1.16fr) minmax(95px, .6fr) 110px 34px; }.link-list__labels, .link-list__body { gap: 10px; }
}

@media (max-width: 600px) {
    .sitemap-page ol { grid-template-columns: 1fr; padding: 20px 20px 20px 45px; }
    .catalog-toggle > span:last-child { display: none; }.catalog-toggle { width: 39px; justify-content: center; padding-inline: 9px; }.catalog-menu__top { padding: 16px; }.catalog-menu__groups { grid-template-columns: 1fr; padding: 4px 16px 20px; }.catalog-menu__group, .catalog-menu__group:nth-child(even) { padding: 16px 0; border-left: 0; }
    h1 { overflow-wrap: anywhere; }.hero__grid { min-height: 0; padding-block: 45px 70px; }.hero__title { font-size: clamp(3rem, 16vw, 4.7rem); }.hero__seo-title--landing { font-size: clamp(2.55rem, 13vw, 4rem); }.hero__copy > p { font-size: .98rem; }.shortener-card { padding: 23px; border-radius: 22px; }.shortener-card__top { align-items: flex-start; flex-direction: column; }.pulse-badge { order: -1; }.url-control { grid-template-columns: 27px 1fr; }.url-control .button { grid-column: 1 / -1; width: 100%; margin-top: 3px; }.shorten-result { grid-template-columns: 1fr; }.shorten-result .button { width: 100%; }.feature-grid { grid-template-columns: 1fr; }.feature-card--wide { grid-column: auto; }.feature-card { min-height: 250px; padding: 24px; }.mini-link { font-size: .9rem; }.feature-qr { grid-template-columns: 110px 1fr; }.feature-qr svg { width: 110px; height: 110px; }.section-heading--split { margin-bottom: 30px; }.cta-strip__actions, .cta-strip__actions .button { width: 100%; }
    .auth-section { padding: 20px 12px 45px; }.auth-card__intro { padding: 27px 24px; }.auth-card__intro h1 { font-size: 2.5rem; }.auth-card__form, .auth-panel { padding: 28px 22px; }.auth-card__form h2 { font-size: 1.75rem; }
    .workspace { padding-block: 25px 55px; }.page-heading { align-items: flex-start; flex-direction: column; }.page-heading > .button, .page-heading__actions { width: 100%; }.page-heading__actions .button { flex: 1; }.metric-grid, .metric-grid--admin { grid-template-columns: 1fr; }.metric-card { min-height: 125px; }.project-grid { grid-template-columns: 1fr; }.panel, .form-panel { padding: 18px; }.panel--flush { padding: 0; }.filter-bar { align-items: stretch; flex-direction: column; }.filter-bar select { min-width: 0; }.form-actions { align-items: stretch; flex-direction: column-reverse; }.danger-zone { align-items: stretch; flex-direction: column; }.period-select { width: 100%; justify-content: flex-start; }.period-select select, .period-select input[type="date"] { max-width: 100%; }.stats-meta { flex-direction: column; gap: 6px; }.css-chart { height: 210px; }.settings-grid { grid-template-columns: 1fr; }.settings-grid .field--wide { grid-column: auto; }.field--blank { display: none; }.field-help::after { position: fixed; right: 16px; bottom: 16px; left: 16px; width: auto; max-width: none; transform: translateY(5px); }.field-help:hover::after, .field-help:focus::after { transform: translateY(0); }
    .data-table { min-width: 690px; }.data-table--links { min-width: 900px; }.document-hero { padding-block: 50px; }.document-section { padding-block: 45px 70px; }.report-section { padding-block: 45px 70px; }.error-page { padding-block: 45px; }.error-page__code { font-size: 8rem; }.redirect-shell { width: min(calc(100% - 24px), 740px); }.redirect-card { padding: 30px 20px; }.redirect-links { flex-direction: column; align-items: center; }
    .link-list { --link-columns: minmax(0, 1fr) minmax(105px, .65fr) 34px; }.link-list--project { --link-columns: minmax(0, 1fr) minmax(105px, .65fr) 34px; }.link-list__labels { display: none; }.link-list__body { grid-template-columns: var(--link-columns); gap: 8px; }.link-list__project, .link-list__tracking, .link-list__body > time { display: none; }.link-list__status { grid-column: 2; grid-row: 1; }.link-list__actions { grid-column: 3; grid-row: 1; }
    .site-footer__grid { grid-template-columns: 1fr; }.site-footer nav { grid-template-columns: 1fr; }.site-footer__meta { grid-column: auto; }
}

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