@font-face {
font-family: 'Schibsted Grotesk';
font-style: normal;
font-display: swap;
font-weight: 400 900;
src: url('../fonts/schibsted-grotesk-latin-ext-wght-normal.woff2') format('woff2-variations');
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
font-family: 'Schibsted Grotesk';
font-style: normal;
font-display: swap;
font-weight: 400 900;
src: url('../fonts/schibsted-grotesk-latin-wght-normal.woff2') format('woff2-variations');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
--font-sans: 'Schibsted Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
--font-mono: ui-monospace, 'SFMono-Regular', 'Cascadia Mono', 'Segoe UI Mono', Menlo, Consolas, monospace;
--fs-xs: 0.8125rem;   
--fs-sm: 0.875rem;    
--fs-base: 1rem;      
--fs-md: 1.125rem;    
--fs-lg: 1.375rem;    
--fs-xl: 1.75rem;     
--fs-2xl: 2.25rem;    
--fs-3xl: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem);
--lh-tight: 1.12;
--lh-snug: 1.3;
--lh-body: 1.6;
--s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.25rem;
--s6: 1.5rem; --s8: 2rem; --s10: 2.5rem; --s12: 3rem; --s16: 4rem; --s20: 5rem;
--r-sm: 6px;
--r-md: 10px;
--r-lg: 16px;
--r-pill: 999px;
--container: 1180px;
--measure: 70ch;
--header-h: 64px;
--ease: cubic-bezier(.2, .7, .2, 1);
--bg: #f4f6f9;
--bg-raised: #ffffff;
--surface: #ffffff;
--surface-2: #eef1f5;
--surface-3: #e3e8ef;
--ink: #141922;
--ink-2: #485263;
--ink-3: #626c7c;
--line: #d9dee6;
--line-strong: #bcc4d0;
--accent: #2742d8;
--accent-hover: #1f36b8;
--accent-ink: #ffffff;
--accent-soft: #e5e9ff;
--focus: #2742d8;
--success: #0f7a46;
--success-soft: #e3f5ec;
--error: #b42318;
--error-soft: #fdecea;
--warn: #8a5300;
--warn-soft: #fff4dc;
--mark: #ffe58a;
--shadow-1: 0 1px 2px rgba(20, 25, 34, .06);
--shadow-2: 0 10px 30px -12px rgba(20, 25, 34, .22);
--code-bg: #f1f3f7;
--brand-tile: #141922;
--brand-ink: #ffffff;
--brand-dot: #6f8bff;
--cat-seo: #6a3fd9;
--cat-text: #0b7f7a;
--cat-media: #c24e0c;
--cat-calc: #2e7d32;
--cat-dev: #2742d8;
--cat-tint: 10%;
--orb-a: #6f8bff;
--orb-b: #2fc4b2;
--orb-c: #b48bff;
--orb-opacity: .35;
color-scheme: light;
}
:root[data-theme='dark'] {
--bg: #11151c;
--bg-raised: #171c25;
--surface: #1a2029;
--surface-2: #212833;
--surface-3: #2a3240;
--ink: #e8ecf2;
--ink-2: #aeb7c5;
--ink-3: #8e98a8;
--line: #2c3442;
--line-strong: #3d4757;
--accent: #93a6ff;
--accent-hover: #b2c0ff;
--accent-ink: #0d1433;
--accent-soft: #232c4d;
--focus: #b2c0ff;
--success: #5ad49a;
--success-soft: #16352a;
--error: #ff8f85;
--error-soft: #3d1d1c;
--warn: #f2c26b;
--warn-soft: #3a2d14;
--mark: #6b5a12;
--shadow-1: 0 1px 2px rgba(0, 0, 0, .3);
--shadow-2: 0 14px 34px -14px rgba(0, 0, 0, .7);
--code-bg: #141920;
--brand-tile: #e8ecf2;
--brand-ink: #11151c;
--brand-dot: #6f8bff;
--cat-seo: #b49bff;
--cat-text: #4fd1c5;
--cat-media: #ff9d62;
--cat-calc: #7fd685;
--cat-dev: #93a6ff;
--cat-tint: 16%;
--orb-opacity: .22;
color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
margin: 0;
min-height: 100vh;
display: flex;
flex-direction: column;
background: var(--bg);
color: var(--ink);
font-family: var(--font-sans);
font-size: var(--fs-base);
line-height: var(--lh-body);
font-feature-settings: 'ss01', 'tnum' 0;
-webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; outline: none; }
img, svg, canvas { max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0 0 var(--s3); line-height: var(--lh-snug); font-weight: 680; letter-spacing: -0.012em; color: var(--ink); }
h1 { font-size: var(--fs-2xl); line-height: var(--lh-tight); letter-spacing: -0.022em; font-weight: 720; }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-md); }
p { margin: 0 0 var(--s4); }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
code, kbd, pre, samp { font-family: var(--font-mono); font-size: 0.92em; }
code { background: var(--code-bg); border: 1px solid var(--line); border-radius: 4px; padding: 0.05em 0.35em; }
mark { background: var(--mark); color: inherit; border-radius: 2px; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s8) 0; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--accent-soft); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.sr-only {
position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
position: absolute; left: var(--s4); top: -100px; z-index: 100;
background: var(--accent); color: var(--accent-ink); padding: var(--s2) var(--s4);
border-radius: var(--r-md); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--s3); }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s4); }
.container.narrow { max-width: 820px; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke-width: 1.9; vertical-align: middle; }
.site-header {
position: sticky; top: 0; z-index: 50;
background: color-mix(in srgb, var(--bg) 88%, transparent);
backdrop-filter: saturate(1.4) blur(10px);
-webkit-backdrop-filter: saturate(1.4) blur(10px);
border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: var(--s4); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: var(--s2); color: var(--ink); text-decoration: none; font-weight: 750; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 32px; height: 32px; }
.header-actions { margin-left: auto; display: flex; gap: var(--s1); align-items: center; }
.icon-btn {
display: inline-grid; place-items: center; width: 40px; height: 40px;
border: 1px solid transparent; border-radius: var(--r-md); background: transparent; color: var(--ink);
cursor: pointer;
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--line); }
.icon-btn .icon { width: 20px; height: 20px; }
:root[data-theme='dark'] .icon-moon, :root:not([data-theme='dark']) .icon-sun { display: none; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded='true'] .icon-close { display: block; }
.nav-toggle[aria-expanded='true'] .icon-open { display: none; }
.site-nav {
position: absolute; left: 0; right: 0; top: var(--header-h);
background: var(--bg-raised); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2);
padding: var(--s2) var(--s4) var(--s4);
display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.site-nav.is-open { display: block; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-link {
display: flex; align-items: center; gap: var(--s1); width: 100%;
padding: var(--s3) var(--s2); color: var(--ink); text-decoration: none; font: inherit; font-weight: 560;
background: none; border: 0; border-radius: var(--r-sm); cursor: pointer; text-align: left;
}
.nav-link:hover { color: var(--accent); background: var(--surface-2); }
.nav-link[aria-current='page'], .nav-link.is-active { color: var(--accent); }
.icon-chevron { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav-dropdown-toggle[aria-expanded='true'] .icon-chevron { transform: rotate(180deg); }
.dropdown-menu { list-style: none; margin: 0 0 var(--s2); padding: 0 0 0 var(--s2); display: none; }
.dropdown-menu.is-open { display: block; }
.dropdown-menu a {
display: flex; align-items: center; gap: var(--s3); padding: var(--s2); border-radius: var(--r-sm);
color: var(--ink); text-decoration: none; font-weight: 520;
}
.dropdown-menu a:hover, .dropdown-menu a:focus-visible { background: var(--surface-2); color: var(--ink); }
.dropdown-menu .cat-icon { color: var(--cat); }
.dropdown-all { border-top: 1px solid var(--line); margin-top: var(--s1); padding-top: var(--s1); }
.dropdown-all a { color: var(--accent); }
.site-footer { margin-top: var(--s20); border-top: 1px solid var(--line); background: var(--bg-raised); color: var(--ink-2); font-size: var(--fs-sm); }
.footer-grid { display: grid; gap: var(--s8); padding-block: var(--s12) var(--s8); }
.footer-brand p { max-width: 38ch; margin-top: var(--s3); }
.footer-heading { font-size: var(--fs-sm); font-weight: 650; color: var(--ink); margin-bottom: var(--s3); letter-spacing: 0; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.social-list { list-style: none; padding: 0; margin: var(--s4) 0 0; display: flex; gap: var(--s2); }
.social-link {
display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-md);
border: 1px solid var(--line); color: var(--ink-2);
}
.site-footer a.social-link:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }
.social-link .icon { width: 18px; height: 18px; }
.social-link.is-unset { opacity: .45; border-style: dashed; cursor: help; }
.footer-bottom {
display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2) var(--s6);
border-top: 1px solid var(--line); padding-block: var(--s5);
}
.footer-bottom p { margin: 0; }
.btn {
--btn-bg: var(--surface); --btn-ink: var(--ink); --btn-line: var(--line-strong);
display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
min-height: 42px; padding: 0 var(--s4);
border: 1px solid var(--btn-line); border-radius: var(--r-md);
background: var(--btn-bg); color: var(--btn-ink);
font: inherit; font-weight: 620; font-size: var(--fs-sm); line-height: 1.2; text-decoration: none;
cursor: pointer; white-space: nowrap;
transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .1s var(--ease);
}
.btn:hover { color: var(--btn-ink); background: var(--surface-2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { --btn-bg: var(--accent); --btn-ink: var(--accent-ink); --btn-line: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-secondary { --btn-bg: var(--surface); }
.btn-ghost { --btn-bg: transparent; --btn-line: transparent; color: var(--ink-2); }
.btn-ghost:hover { color: var(--ink); }
.btn-danger { --btn-ink: var(--error); }
.btn-lg { min-height: 50px; padding: 0 var(--s6); font-size: var(--fs-base); border-radius: var(--r-md); }
.btn-sm { min-height: 34px; padding: 0 var(--s3); font-size: var(--fs-xs); }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .5; cursor: not-allowed; transform: none; }
.btn.is-done { --btn-line: var(--success); color: var(--success); }
.text-link { font-weight: 600; }
.chip-group { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip {
display: inline-flex; align-items: center; gap: var(--s2); min-height: 36px; padding: 0 var(--s4);
border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface);
color: var(--ink-2); font: inherit; font-size: var(--fs-sm); font-weight: 560; cursor: pointer;
}
.chip:hover { border-color: var(--line-strong); color: var(--ink); }
.chip[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip[data-filter-cat]:not([data-filter-cat='all'])::before {
content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--cat);
}
.icon-tile {
display: inline-grid; place-items: center; flex: none;
width: 40px; height: 40px; border-radius: var(--r-md);
background: color-mix(in srgb, var(--cat, var(--accent)) var(--cat-tint), var(--surface));
color: var(--cat, var(--accent));
}
.icon-tile .icon { width: 21px; height: 21px; }
.icon-tile-lg { width: 48px; height: 48px; }
.icon-tile-lg .icon { width: 24px; height: 24px; }
.icon-tile-xl { width: 60px; height: 60px; border-radius: 14px; }
.icon-tile-xl .icon { width: 30px; height: 30px; }
.tool-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tool-card { display: flex; }
.tool-card-link {
flex: 1; display: flex; gap: var(--s3); align-items: flex-start;
padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r-lg);
background: var(--surface); color: var(--ink); text-decoration: none;
transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.tool-card-link:hover { color: var(--ink); border-color: color-mix(in srgb, var(--cat) 55%, var(--line)); box-shadow: var(--shadow-2); }
.tool-card-title { margin: 0 0 2px; font-size: var(--fs-base); font-weight: 650; }
.tool-card-desc { display: block; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.45; }
.tool-grid-compact { gap: var(--s2); }
.tool-grid-compact .tool-card-link { padding: var(--s3); border-radius: var(--r-md); align-items: center; }
.tool-grid-compact .tool-card-desc { display: none; }
.tool-grid-compact .tool-card-title { margin: 0; font-size: var(--fs-sm); }
.tool-grid-compact .icon-tile { width: 34px; height: 34px; }
.tool-grid-compact .icon-tile .icon { width: 18px; height: 18px; }
[data-tool-card][hidden] { display: none; }
.breadcrumbs { font-size: var(--fs-sm); color: var(--ink-3); margin-bottom: var(--s6); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s2); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: var(--s2); }
.breadcrumbs li + li::before { content: '/'; color: var(--line-strong); }
.breadcrumbs a { color: var(--ink-2); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 560; }
.field { display: grid; gap: var(--s2); margin-bottom: var(--s4); min-width: 0; align-content: start; }
.field > label, .field-label, .fieldset legend { font-weight: 620; font-size: var(--fs-sm); color: var(--ink); }
.field-hint { font-size: var(--fs-xs); color: var(--ink-3); margin: 0; }
.input, .textarea, .select {
width: 100%; min-height: 44px; padding: var(--s2) var(--s3);
border: 1px solid var(--line-strong); border-radius: var(--r-md);
background: var(--bg-raised); color: var(--ink); font: inherit; font-size: var(--fs-base);
transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.textarea.mono, .input.mono, .output { font-family: var(--font-mono); font-size: 0.875rem; }
.input:hover, .textarea:hover, .select:hover { border-color: var(--ink-3); }
.input:focus-visible, .textarea:focus-visible, .select:focus-visible {
outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent);
}
.input[aria-invalid='true'], .textarea[aria-invalid='true'], .select[aria-invalid='true'] { border-color: var(--error); }
.select { appearance: none; padding-right: var(--s8); background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.input[type='color'] { padding: 4px; width: 56px; cursor: pointer; }
.input[type='file'] { padding: var(--s2); }
.fieldset { border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s3) var(--s4) var(--s2); margin: 0 0 var(--s4); min-width: 0; }
.fieldset legend { padding: 0 var(--s1); }
.check, .radio { display: inline-flex; align-items: center; gap: var(--s2); min-height: 32px; font-size: var(--fs-sm); cursor: pointer; margin: 0 var(--s4) var(--s1) 0; }
.check input, .radio input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
input[type='range'] { width: 100%; accent-color: var(--accent); }
.select-field { display: grid; gap: var(--s1); font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); }
.select-field select { min-height: 44px; }
.search-field {
display: flex; align-items: center; gap: var(--s2); flex: 1 1 260px;
border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 0 var(--s3); background: var(--bg-raised);
}
.search-field:focus-within { border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent); }
.search-field .icon { color: var(--ink-3); }
.search-field input { flex: 1; min-width: 0; min-height: 42px; border: 0; background: transparent; color: var(--ink); font: inherit; outline: none; }
.notice { padding: var(--s3) var(--s4); border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface-2); font-size: var(--fs-sm); margin: 0 0 var(--s4); }
.notice-warn { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 40%, transparent); color: var(--ink); }
.notice-info { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.notice-error { background: var(--error-soft); border-color: color-mix(in srgb, var(--error) 40%, transparent); }
.placeholder-mark { background: var(--warn-soft); color: var(--warn); border: 1px dashed var(--warn); border-radius: 4px; padding: 0 .3em; font-weight: 600; }
.status { min-height: 1.5em; margin: var(--s3) 0 0; font-size: var(--fs-sm); font-weight: 560; display: flex; gap: var(--s2); align-items: flex-start; }
.status:empty { display: none; }
.status[data-type='success'] { color: var(--success); }
.status[data-type='error'] { color: var(--error); }
.status[data-type='info'] { color: var(--ink-2); }
.status[data-type='warn'] { color: var(--warn); }
.status::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; margin-top: .55em; background: currentColor; }
.empty-state { display: flex; align-items: center; gap: var(--s4); padding: var(--s6); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); color: var(--ink-2); margin-top: var(--s4); }
.empty-state .icon { width: 32px; height: 32px; color: var(--ink-3); }
.empty-state p { margin: 0; }
.empty-state[hidden] { display: none; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s4);
padding: var(--s4) 0; font-weight: 640; font-size: var(--fs-base); color: var(--ink);
}
.faq-q { font: inherit; color: inherit; margin: 0; letter-spacing: normal; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-icon { width: 20px; height: 20px; margin-top: 2px; color: var(--ink-3); transition: transform .2s var(--ease); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 0 var(--s4); color: var(--ink-2); max-width: var(--measure); }
.faq-answer p:last-child { margin-bottom: 0; }
.prose { max-width: var(--measure); color: var(--ink); }
.prose h2 { font-size: var(--fs-lg); margin-top: var(--s10); }
.prose h3 { font-size: var(--fs-md); margin-top: var(--s6); }
.prose > :first-child, .prose section:first-child > h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 var(--s4); }
.prose li { margin-bottom: var(--s2); }
.prose li::marker { color: var(--ink-3); }
.table-scroll { overflow-x: auto; margin: var(--s4) 0 var(--s6); border-radius: var(--r-sm); }
.table-scroll:focus-visible { outline: 2px solid var(--focus); }
.prose table { margin: 0; font-size: var(--fs-sm); }
.prose th, .prose td { text-align: left; padding: var(--s2) var(--s3); border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 650; background: var(--surface-2); }
.prose pre { background: var(--code-bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s3) var(--s4); overflow-x: auto; font-size: var(--fs-sm); line-height: 1.55; }
.prose pre code { background: none; border: 0; padding: 0; }
.prose blockquote { margin: 0 0 var(--s4); padding-left: var(--s4); border-left: 3px solid var(--line-strong); color: var(--ink-2); }
.prose .formula { font-family: var(--font-mono); font-size: var(--fs-sm); background: var(--code-bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s3) var(--s4); display: block; margin: 0 0 var(--s4); overflow-x: auto; }
.step-list { counter-reset: step; list-style: none; padding: 0 !important; }
.step-list li { counter-increment: step; position: relative; padding-left: 2.6em; margin-bottom: var(--s4); }
.step-list li::before {
content: counter(step); position: absolute; left: 0; top: -1px;
width: 1.85em; height: 1.85em; border-radius: 50%; display: grid; place-items: center;
background: var(--surface-2); border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 700; color: var(--ink);
}
.inline-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.inline-links a { font-weight: 560; }
.more-link { margin-top: var(--s6); color: var(--ink-3); }
.ad-slot { margin: var(--s8) 0; min-height: 280px; text-align: center; }
.ad-label { font-size: var(--fs-xs); color: var(--ink-3); margin-bottom: var(--s2); }
kbd { font-family: var(--font-mono); font-size: var(--fs-xs); border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 4px; padding: 1px 6px; color: var(--ink-2); background: var(--surface); }
.page-top { padding-top: var(--s6); }
.tool-header { display: flex; gap: var(--s4); align-items: flex-start; margin-bottom: var(--s6); }
.tool-header h1 { margin-bottom: var(--s2); }
.tool-header .lede { max-width: 68ch; }
.lede { font-size: var(--fs-md); color: var(--ink-2); line-height: 1.55; }
.tool-badges { list-style: none; padding: 0; margin: var(--s3) 0 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.tool-badges li, .tool-badges a {
display: inline-flex; align-items: center; gap: var(--s1);
font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); text-decoration: none;
}
.tool-badges li { padding: 4px 10px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); }
.tool-badges a:hover { color: var(--accent); }
.tool-badges .icon { width: 15px; height: 15px; }
.tool-badges .cat-icon { color: var(--cat); }
.tool-panel {
position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
padding: var(--s5) var(--s4); box-shadow: var(--shadow-1);
border-top: 3px solid var(--cat);
}
.tool-panel > :last-child { margin-bottom: 0; }
.panel-grid { display: grid; gap: var(--s5); }
.panel-row { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.panel-row .field { margin-bottom: 0; }
.panel-section + .panel-section { border-top: 1px solid var(--line); padding-top: var(--s5); margin-top: var(--s5); }
.panel-title { font-size: var(--fs-base); font-weight: 680; margin: 0 0 var(--s3); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; margin-top: var(--s4); }
.actions .spacer { flex: 1; }
.inline-options { display: flex; flex-wrap: wrap; gap: var(--s1) 0; align-items: center; }
.mode-switch { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 3px; gap: 3px; background: var(--surface-2); margin-bottom: var(--s4); flex-wrap: wrap; }
.mode-switch button { border: 0; background: transparent; color: var(--ink-2); font: inherit; font-size: var(--fs-sm); font-weight: 600; padding: 6px 14px; border-radius: 7px; cursor: pointer; min-height: 34px; }
.mode-switch button[aria-pressed='true'], .mode-switch button[aria-selected='true'] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.result { margin-top: var(--s5); }
.result[hidden] { display: none; }
.result-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s3); }
.result-head h3, .result-head h2 { margin: 0; font-size: var(--fs-base); }
.output {
margin: 0; padding: var(--s3) var(--s4); min-height: 3em; max-height: 480px; overflow: auto;
background: var(--code-bg); border: 1px solid var(--line); border-radius: var(--r-md);
white-space: pre-wrap; word-break: break-word; line-height: 1.55; color: var(--ink);
}
.output.nowrap { white-space: pre; word-break: normal; }
.big-result { font-size: var(--fs-xl); font-weight: 720; letter-spacing: -0.02em; margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.result-note { color: var(--ink-2); font-size: var(--fs-sm); margin: var(--s2) 0 0; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--s2); margin: 0; }
.stat { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s3); margin: 0; }
.stat dt { font-size: var(--fs-xs); color: var(--ink-2); font-weight: 560; }
.stat dd { margin: 2px 0 0; font-size: var(--fs-lg); font-weight: 720; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.stat-accent { background: color-mix(in srgb, var(--cat) var(--cat-tint), var(--surface)); border-color: color-mix(in srgb, var(--cat) 30%, var(--line)); }
.data-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.data-table { font-size: var(--fs-sm); }
.data-table th, .data-table td { padding: var(--s2) var(--s3); text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { background: var(--surface-2); font-weight: 650; white-space: nowrap; position: sticky; top: 0; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td.num, .data-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.data-table .mono { font-family: var(--font-mono); font-size: 0.82rem; word-break: break-all; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 650; white-space: nowrap; }
.pill-ok { background: var(--success-soft); color: var(--success); }
.pill-warn { background: var(--warn-soft); color: var(--warn); }
.pill-bad { background: var(--error-soft); color: var(--error); }
.pill-info { background: var(--surface-2); color: var(--ink-2); }
.dropzone {
position: relative; display: grid; place-items: center; text-align: center; gap: var(--s2);
padding: var(--s8) var(--s4); border: 2px dashed var(--line-strong); border-radius: var(--r-lg);
background: var(--surface-2); color: var(--ink-2); cursor: pointer; transition: border-color .15s, background-color .15s;
}
.dropzone:hover, .dropzone.is-dragover { border-color: var(--cat); background: color-mix(in srgb, var(--cat) 6%, var(--surface-2)); }
.dropzone:focus-within { border-color: var(--focus); }
.dropzone .icon { width: 34px; height: 34px; color: var(--cat); }
.dropzone strong { color: var(--ink); font-size: var(--fs-base); }
.dropzone input[type='file'] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.dropzone-hint { font-size: var(--fs-xs); color: var(--ink-3); }
.file-list { list-style: none; padding: 0; margin: var(--s4) 0 0; display: grid; gap: var(--s2); }
.file-item { display: flex; align-items: center; gap: var(--s3); padding: var(--s2) var(--s3); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-raised); font-size: var(--fs-sm); }
.file-item .file-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.file-item .file-meta { color: var(--ink-3); white-space: nowrap; }
.file-item .btn { min-height: 30px; padding: 0 8px; }
.preview-grid { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.preview-card { margin: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); }
.preview-card img, .preview-card canvas { display: block; width: 100%; height: auto; max-height: 360px; object-fit: contain; background: repeating-conic-gradient(var(--surface-3) 0% 25%, transparent 0% 50%) 50% / 16px 16px; }
.preview-card figcaption { padding: var(--s2) var(--s3); font-size: var(--fs-sm); color: var(--ink-2); border-top: 1px solid var(--line); background: var(--surface); }
.canvas-stage { position: relative; overflow: hidden; display: inline-block; max-width: 100%; line-height: 0; user-select: none; touch-action: none; background: repeating-conic-gradient(var(--surface-3) 0% 25%, transparent 0% 50%) 50% / 16px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.canvas-stage canvas, .canvas-stage img { display: block; max-width: 100%; height: auto; }
.crop-box { position: absolute; border: 2px solid #fff; outline: 1px solid rgba(0,0,0,.6); box-shadow: 0 0 0 9999px rgba(0,0,0,.45); cursor: move; touch-action: none; }
.crop-box:focus-visible { outline: 3px solid var(--focus); }
.crop-handle { position: absolute; width: 16px; height: 16px; background: #fff; border: 1px solid rgba(0,0,0,.6); border-radius: 3px; touch-action: none; }
.crop-handle[data-h='nw'] { left: -9px; top: -9px; cursor: nwse-resize; }
.crop-handle[data-h='ne'] { right: -9px; top: -9px; cursor: nesw-resize; }
.crop-handle[data-h='sw'] { left: -9px; bottom: -9px; cursor: nesw-resize; }
.crop-handle[data-h='se'] { right: -9px; bottom: -9px; cursor: nwse-resize; }
.picker-stage canvas { cursor: crosshair; }
.swatch { display: inline-block; width: 44px; height: 44px; border-radius: var(--r-md); border: 1px solid var(--line-strong); flex: none; }
.swatch-row { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; padding: 0; margin: 0; }
.swatch-btn { width: 36px; height: 36px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); cursor: pointer; padding: 0; }
.color-readout { display: flex; gap: var(--s4); align-items: center; flex-wrap: wrap; }
.copy-field { display: flex; gap: var(--s2); align-items: center; }
.copy-field .input { font-family: var(--font-mono); }
.serp-preview { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s4); font-family: arial, sans-serif; max-width: 652px; }
.serp-preview.is-mobile { max-width: 400px; }
.serp-site { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.serp-favicon { width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; color: var(--ink-2); flex: none; }
.serp-sitename { font-size: 14px; color: var(--ink); line-height: 1.3; }
.serp-url { font-size: 12px; color: var(--ink-2); line-height: 1.3; word-break: break-all; }
.serp-title { font-size: 20px; line-height: 1.3; color: #1a0dab; margin: 0 0 3px; font-weight: 400; }
:root[data-theme='dark'] .serp-title { color: #99c3ff; }
.serp-preview.is-mobile .serp-title { font-size: 18px; }
.serp-desc { font-size: 14px; line-height: 1.58; color: var(--ink-2); margin: 0; }
.serp-date { color: var(--ink-3); }
.meter { height: 8px; border-radius: var(--r-pill); background: var(--surface-3); overflow: hidden; margin-top: 6px; }
.meter > span { display: block; height: 100%; border-radius: inherit; background: var(--success); transition: width .2s var(--ease), background-color .2s; }
.meter[data-level='warn'] > span { background: var(--warn); }
.meter[data-level='bad'] > span { background: var(--error); }
.meter-label { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--ink-2); margin-top: 4px; }
.diff-view { font-family: var(--font-mono); font-size: 0.85rem; border: 1px solid var(--line); border-radius: var(--r-md); overflow: auto; max-height: 560px; background: var(--code-bg); }
.diff-line { display: grid; grid-template-columns: 3.2em 3.2em 1.6em 1fr; white-space: pre-wrap; word-break: break-word; min-height: 1.5em; line-height: 1.5; }
.diff-line .ln { color: var(--ink-3); text-align: right; padding-right: 8px; user-select: none; border-right: 1px solid var(--line); }
.diff-line .sign { text-align: center; user-select: none; font-weight: 700; }
.diff-line .txt { padding-left: 4px; padding-right: 8px; }
.diff-add { background: color-mix(in srgb, var(--success) 14%, transparent); }
.diff-add .sign { color: var(--success); }
.diff-del { background: color-mix(in srgb, var(--error) 14%, transparent); }
.diff-del .sign { color: var(--error); }
.diff-line ins { background: color-mix(in srgb, var(--success) 35%, transparent); text-decoration: none; border-radius: 2px; }
.diff-line del { background: color-mix(in srgb, var(--error) 35%, transparent); text-decoration: none; border-radius: 2px; }
.diff-skip { color: var(--ink-3); padding: 4px 10px; font-style: italic; background: var(--surface-2); }
.highlight-view mark { background: var(--mark); padding: 0 1px; border-radius: 2px; }
.highlight-view mark:nth-of-type(even) { background: color-mix(in srgb, var(--accent) 30%, transparent); }
.password-out { display: flex; gap: var(--s2); align-items: stretch; }
.password-out .output { flex: 1; font-size: 1.15rem; min-height: auto; display: flex; align-items: center; letter-spacing: 0.02em; }
.strength { margin-top: var(--s3); }
.qr-layout { display: grid; gap: var(--s5); }
.qr-preview { display: grid; place-items: center; padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); min-height: 240px; }
.qr-preview canvas { width: min(280px, 100%); height: auto; image-rendering: pixelated; }
.tool-body { display: grid; gap: var(--s8); margin-top: var(--s12); }
.tool-body > *, .panel-grid > *, .panel-row > * { min-width: 0; }
.toc { font-size: var(--fs-sm); }
.toc-title { font-weight: 680; margin-bottom: var(--s2); color: var(--ink); }
.toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px var(--s3); color: var(--ink-2); text-decoration: none; margin-left: -1px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--accent); border-left-color: var(--accent); }
.tool-article section { scroll-margin-top: calc(var(--header-h) + 16px); }
.related { margin-top: var(--s16); padding-top: var(--s10); border-top: 1px solid var(--line); }
.section-title { font-size: var(--fs-xl); letter-spacing: -0.02em; }
.section { padding-block: var(--s16) 0; }
.section-head { margin-bottom: var(--s6); max-width: 720px; }
.section-head .section-title { margin-bottom: var(--s2); }
.section-lede { color: var(--ink-2); margin: 0; }
.hero { position: relative; overflow: hidden; padding-block: var(--s16) var(--s12); border-bottom: 1px solid var(--line); }
.hero-inner { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-title { font-size: var(--fs-3xl); line-height: 1.04; letter-spacing: -0.035em; font-weight: 760; max-width: 19ch; margin-bottom: var(--s5); text-wrap: balance; }
.hero-lede { font-size: var(--fs-md); color: var(--ink-2); max-width: 56ch; margin-bottom: var(--s8); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); margin-top: var(--s6); }
.hero-cats { list-style: none; padding: 0; margin: var(--s8) 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s5); font-size: var(--fs-sm); }
.hero-cats a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: none; font-weight: 560; }
.hero-cats a:hover { color: var(--ink); }
.hero-cats .cat-icon { color: var(--cat); width: 17px; height: 17px; }
.hero-orbs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: var(--orb-opacity); will-change: transform; }
.orb-a { width: 420px; height: 420px; background: var(--orb-a); left: -120px; top: -140px; }
.orb-b { width: 340px; height: 340px; background: var(--orb-b); right: -80px; top: 40px; }
.orb-c { width: 300px; height: 300px; background: var(--orb-c); left: 42%; bottom: -220px; }
@media (prefers-reduced-motion: no-preference) {
.orb-a { animation: drift-a 22s ease-in-out infinite alternate; }
.orb-b { animation: drift-b 26s ease-in-out infinite alternate; }
.orb-c { animation: drift-c 30s ease-in-out infinite alternate; }
.hero-inner > * { animation: rise .7s var(--ease) both; }
.hero-inner > :nth-child(2) { animation-delay: .08s; }
.hero-inner > :nth-child(3) { animation-delay: .16s; }
.hero-inner > :nth-child(4) { animation-delay: .22s; }
.hero-inner > :nth-child(5) { animation-delay: .28s; }
}
@keyframes drift-a { to { transform: translate(90px, 60px) scale(1.08); } }
@keyframes drift-b { to { transform: translate(-70px, 50px) scale(.92); } }
@keyframes drift-c { to { transform: translate(-80px, -40px) scale(1.1); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.command-search {
position: relative; width: 100%; max-width: 640px; display: flex; align-items: center; gap: var(--s3);
background: var(--bg-raised); border: 1px solid var(--line-strong); border-radius: 14px;
padding: 0 var(--s4); box-shadow: var(--shadow-2); text-align: left;
}
.command-search:focus-within { border-color: var(--focus); box-shadow: var(--shadow-2), 0 0 0 4px color-mix(in srgb, var(--focus) 22%, transparent); }
.command-icon { width: 22px; height: 22px; color: var(--ink-3); }
.command-search input { flex: 1; min-width: 0; min-height: 60px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: var(--fs-md); outline: none; }
.command-search input::placeholder { color: var(--ink-3); }
.command-search input::-webkit-search-cancel-button { cursor: pointer; }
.command-kbd { display: none; }
.command-results {
position: absolute; left: -1px; right: -1px; top: calc(100% + 8px); z-index: 20;
list-style: none; margin: 0; padding: var(--s2); max-height: 380px; overflow-y: auto;
background: var(--bg-raised); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: var(--shadow-2);
}
.command-results[hidden] { display: none; }
.command-option { display: flex; align-items: center; gap: var(--s3); padding: var(--s2) var(--s3); border-radius: var(--r-md); cursor: pointer; color: var(--ink); text-decoration: none; }
.command-option[aria-selected='true'], .command-option:hover { background: var(--surface-2); }
.command-option .opt-name { font-weight: 620; display: block; }
.command-option .opt-desc { font-size: var(--fs-sm); color: var(--ink-2); display: block; }
.command-option .opt-cat { margin-left: auto; font-size: var(--fs-xs); color: var(--ink-3); white-space: nowrap; padding-left: var(--s2); }
.command-option .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cat); flex: none; }
.command-empty { padding: var(--s3); color: var(--ink-2); font-size: var(--fs-sm); }
.command-search-inline { max-width: 560px; box-shadow: none; margin: var(--s6) 0; padding-right: var(--s2); }
.command-search-inline input { min-height: 52px; font-size: var(--fs-base); }
.value-list { list-style: none; padding: 0; margin: var(--s6) 0 0; display: grid; gap: var(--s6); }
.value-list li { padding-top: var(--s4); border-top: 2px solid var(--ink); }
.value-list h3 { margin: var(--s3) 0 var(--s2); }
.value-list p { color: var(--ink-2); margin: 0; }
.value-icon { width: 26px; height: 26px; color: var(--accent); }
.filter-bar { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; margin-bottom: var(--s3); }
.filter-bar .search-field { max-width: 360px; }
.filter-bar-directory { align-items: flex-end; }
.filter-selects { display: flex; gap: var(--s3); flex-wrap: wrap; }
.filter-count { font-size: var(--fs-sm); color: var(--ink-3); margin: 0 0 var(--s3); }
.category-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); }
.category-card { position: relative; padding: var(--s5); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.category-card h3 { margin: var(--s4) 0 var(--s2); font-size: var(--fs-lg); }
.category-card h3 a { color: var(--ink); text-decoration: none; }
.category-card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.category-card:hover { border-color: color-mix(in srgb, var(--cat) 55%, var(--line)); }
.category-card:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.category-card h3 a:focus-visible { outline: none; }
.category-card > p { color: var(--ink-2); font-size: var(--fs-sm); }
.category-samples { list-style: none; padding: 0; margin: 0 0 var(--s4); display: grid; gap: 4px; font-size: var(--fs-sm); }
.category-samples a { position: relative; z-index: 1; color: var(--ink); text-decoration: none; }
.category-samples a:hover { color: var(--accent); text-decoration: underline; }
.category-samples li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--cat); margin-right: 8px; vertical-align: middle; }
.category-count { margin: auto 0 0; font-size: var(--fs-xs); font-weight: 650; color: var(--cat); }
.steps-row { list-style: none; counter-reset: s; padding: 0; margin: var(--s6) 0 0; display: grid; gap: var(--s6); }
.steps-row li { counter-increment: s; position: relative; padding-left: 3.2rem; }
.steps-row li::before {
content: counter(s); position: absolute; left: 0; top: -2px; width: 2.3rem; height: 2.3rem; border-radius: 50%;
display: grid; place-items: center; font-weight: 750; background: var(--ink); color: var(--bg);
}
.steps-row h3 { margin-bottom: var(--s1); }
.steps-row p { color: var(--ink-2); margin: 0; }
.privacy-band .privacy-inner { display: grid; gap: var(--s8); padding: var(--s8); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.privacy-band p { color: var(--ink-2); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
.check-list li { display: flex; gap: var(--s3); align-items: flex-start; }
.check-list .icon { color: var(--success); margin-top: 2px; }
.cta-inner { text-align: center; padding: var(--s12) var(--s4); border-radius: var(--r-lg); background: var(--ink); color: var(--bg); }
.cta-inner h2 { color: var(--bg); font-size: var(--fs-2xl); letter-spacing: -0.025em; }
.cta-inner p { color: color-mix(in srgb, var(--bg) 78%, var(--ink)); max-width: 52ch; margin-inline: auto; margin-bottom: var(--s6); }
.cta-inner .btn-primary { --btn-bg: var(--bg); --btn-ink: var(--ink); --btn-line: var(--bg); }
.cta-inner .btn-primary:hover { background: color-mix(in srgb, var(--bg) 88%, var(--ink)); }
.page-header { margin-bottom: var(--s8); max-width: 760px; }
.page-header .lede { margin-bottom: var(--s2); }
.page-updated { color: var(--ink-3); font-size: var(--fs-sm); }
.directory-group { margin-bottom: var(--s10); }
.directory-group[hidden] { display: none; }
.group-title { display: flex; align-items: center; gap: var(--s2); font-size: var(--fs-lg); margin-bottom: var(--s4); }
.group-title .cat-icon { color: var(--cat); }
.group-title a { color: var(--ink); text-decoration: none; }
.group-title a:hover { color: var(--accent); text-decoration: underline; }
.group-count { font-size: var(--fs-xs); font-weight: 650; color: var(--ink-3); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 1px 8px; }
.category-header { display: flex; gap: var(--s5); align-items: flex-start; max-width: 860px; }
.category-prose { margin-top: var(--s12); }
.other-cats { margin-top: var(--s12); padding-top: var(--s8); border-top: 1px solid var(--line); }
.other-cats .section-title { font-size: var(--fs-lg); }
.category-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s4); }
.category-row { display: flex; gap: var(--s5); padding: var(--s6); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.category-row h2 { font-size: var(--fs-lg); margin-bottom: var(--s2); }
.category-row h2 a { color: var(--ink); text-decoration: none; }
.category-row h2 a:hover { color: var(--accent); text-decoration: underline; }
.category-row p { color: var(--ink-2); }
.category-row .inline-links { font-size: var(--fs-sm); gap: var(--s1) var(--s4); }
.info-layout { max-width: 820px; }
.info-layout .prose { max-width: 72ch; }
.info-layout.info-wide { max-width: none; }
.info-wide .page-header { max-width: 720px; }
.info-wide .prose { max-width: none; }
.contact-layout { display: grid; gap: var(--s6); align-items: start; }
.contact-form { padding: var(--s6) var(--s5); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); }
.contact-form .panel-row { margin-bottom: var(--s4); }
.contact-form .contact-form-title { font-size: var(--fs-lg); margin: 0 0 var(--s1); }
.contact-form-intro { margin-bottom: var(--s5); }
.contact-form .actions { margin-top: var(--s2); }
.contact-delivery { margin-top: var(--s3); }
.contact-aside { display: grid; gap: var(--s4); }
.contact-card { display: flex; gap: var(--s4); align-items: flex-start; padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.contact-card h2 { font-size: var(--fs-base); margin: 4px 0 var(--s2); }
.contact-card p { margin: 0 0 var(--s2); color: var(--ink-2); font-size: var(--fs-sm); }
.contact-card p:last-child { margin-bottom: 0; }
.contact-email { font-weight: 650; font-size: var(--fs-base); word-break: break-all; }
.contact-checklist, .contact-links { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: var(--s2); font-size: var(--fs-sm); }
.contact-checklist li { display: flex; gap: var(--s2); align-items: flex-start; color: var(--ink-2); margin: 0; }
.contact-checklist .icon { width: 16px; height: 16px; color: var(--success); margin-top: 3px; }
.contact-links li { margin: 0; }
.contact-links a { font-weight: 560; }
.contact-note { display: flex; gap: var(--s3); align-items: flex-start; margin: 0; padding: var(--s4); border-radius: var(--r-md); background: var(--surface-2); color: var(--ink-2); font-size: var(--fs-sm); }
.contact-note .icon { color: var(--success); flex: none; margin-top: 1px; }
.field-error { color: var(--error); font-size: var(--fs-xs); font-weight: 600; margin: 0; }
.field-error:empty { display: none; }
.req { color: var(--error); }
.toc-inline { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s4) var(--s5); margin-bottom: var(--s8); }
.toc-inline p { font-weight: 680; margin-bottom: var(--s2); }
.toc-inline ol { margin: 0; columns: 2 220px; }
.not-found { padding-block: var(--s12); max-width: 780px; }
.not-found-code { font-size: clamp(5rem, 18vw, 10rem); font-weight: 800; line-height: .9; letter-spacing: -0.06em; margin: 0 0 var(--s4); color: var(--ink-3); }
.not-found-links { margin-top: var(--s4); }
.guides-header { max-width: 760px; margin-bottom: var(--s10); }
.guides-group { margin-bottom: var(--s12); }
.guide-grid { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.guide-card {
display: flex; gap: var(--s4); align-items: flex-start; padding: var(--s5);
background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); position: relative;
transition: border-color .15s var(--ease), transform .15s var(--ease);
}
.guide-card:hover { border-color: var(--cat, var(--accent)); transform: translateY(-1px); }
.guide-card .icon-tile { flex: none; }
.guide-card h3 { font-size: var(--fs-base); margin: 0 0 var(--s2); line-height: 1.35; }
.guide-card h3 a { color: var(--ink); text-decoration: none; }
.guide-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.guide-card h3 a:focus-visible { outline: none; }
.guide-card:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.guide-card p { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); }
.guide-header { max-width: 820px; }
.guide-kicker { margin: 0 0 var(--s3); font-size: var(--fs-sm); font-weight: 600; }
.guide-kicker a { display: inline-flex; align-items: center; gap: var(--s2); color: var(--cat, var(--accent)); text-decoration: none; min-height: 32px; }
.guide-kicker .icon { width: 18px; height: 18px; }
.guide-cta {
display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); padding: var(--s5);
border: 1px solid var(--line); border-left: 4px solid var(--cat, var(--accent)); border-radius: var(--r-lg); background: var(--surface);
margin: var(--s6) 0 var(--s10);
}
.guide-cta > div { flex: 1 1 260px; min-width: 0; }
.guide-cta p { margin: 0; color: var(--ink-2); }
.guide-cta .guide-cta-title { font-weight: 700; color: var(--ink); margin-bottom: var(--s1); }
.guide-cta-end { margin: var(--s10) 0 0; }
.guide-callout {
display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s4) var(--s5);
background: var(--surface-2, var(--surface)); border: 1px solid var(--line); border-radius: var(--r-md);
}
.guide-callout .icon { flex: none; width: 22px; height: 22px; color: var(--cat, var(--accent)); margin-top: 2px; }
.home-guides .guide-grid { margin-top: var(--s6); }
.prose code { overflow-wrap: anywhere; }
.guide-kicker a { color: var(--ink-2); }
.guide-kicker a .icon { color: var(--cat, var(--accent)); }
.guide-kicker a:hover { color: var(--ink); }
@media (min-width: 640px) {
.container { padding-inline: var(--s6); }
h1 { font-size: 2.6rem; }
.tool-panel { padding: var(--s6); }
.footer-grid { grid-template-columns: repeat(3, 1fr); }
.footer-brand { grid-column: 1 / -1; }
.value-list { grid-template-columns: repeat(3, 1fr); }
.steps-row { grid-template-columns: repeat(3, 1fr); }
.command-kbd { display: inline-block; }
.qr-layout { grid-template-columns: 1fr 300px; align-items: start; }
}
@media (min-width: 960px) {
.nav-toggle { display: none; }
.site-nav {
position: static; display: block; background: none; border: 0; box-shadow: none; padding: 0;
margin-left: var(--s6); max-height: none; overflow: visible;
}
.nav-list { display: flex; align-items: center; gap: var(--s1); }
.nav-link { padding: var(--s2) var(--s3); width: auto; font-size: 0.95rem; }
.nav-link[aria-current='page'] { background: var(--surface-2); }
.nav-dropdown { position: relative; }
.dropdown-menu {
position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); min-width: 260px;
padding: var(--s2); margin: 0; background: var(--bg-raised); border: 1px solid var(--line);
border-radius: var(--r-lg); box-shadow: var(--shadow-2); z-index: 60;
}
.header-actions { margin-left: auto; }
.footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.footer-brand { grid-column: auto; }
.hero { padding-block: var(--s20) var(--s16); }
.tool-body { grid-template-columns: 230px minmax(0, 1fr); gap: var(--s12); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + var(--s6)); }
.privacy-band .privacy-inner { grid-template-columns: 1.2fr 1fr; padding: var(--s10); align-items: center; }
.panel-grid.two-col { grid-template-columns: 1fr 1fr; }
.panel-grid.side { grid-template-columns: minmax(0, 1fr) 320px; }
.contact-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s8); }
.contact-form { padding: var(--s8); }
h1 { font-size: 2.75rem; }
}
@media (max-width: 639px) {
.tool-header { flex-direction: column; gap: var(--s3); }
.tool-header .icon-tile-xl, .category-header .icon-tile-xl { width: 48px; height: 48px; }
.category-header { flex-direction: column; gap: var(--s3); }
.category-row { flex-direction: column; padding: var(--s5); }
.hero-actions .btn { flex: 1 1 100%; }
.command-search input { min-height: 54px; font-size: var(--fs-base); }
.command-option .opt-cat { display: none; }
.actions .btn { flex: 1 1 auto; }
.diff-line { grid-template-columns: 2.4em 2.4em 1.4em 1fr; }
.privacy-band .privacy-inner { padding: var(--s5); }
.cta-inner { padding: var(--s10) var(--s4); }
.cta-inner h2 { font-size: var(--fs-xl); }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
.site-header, .site-footer, .toc, .related, .ad-slot, .hero-orbs, .skip-link { display: none !important; }
body { background: #fff; color: #000; }
}
