@font-face { font-family:Geist; src:url("fonts/geist-latin.woff2") format("woff2"); font-weight:400 700; font-display:swap; }
:root { color-scheme:light; --canvas:#f8fafc; --surface:#fff; --subtle:#eef3f8; --line:#d8e0ea; --ink:#142131; --muted:#4e6074; --accent:#24528a; --primary:#193b64; --on-primary:#fff; --good:#176746; --warn:#8b4b1b; --error:#a02036; }
:root[data-theme="dark"] { color-scheme:dark; --canvas:#13151b; --surface:#1b1e26; --subtle:#293653; --line:#353a48; --ink:#f1f2f6; --muted:#adb4c3; --accent:#91a6ff; --primary:#91a6ff; --on-primary:#111827; --good:#87d9aa; --warn:#ffc287; --error:#ffa9a3; }
*,*::before,*::after { box-sizing:border-box; }
[hidden] { display:none !important; }
body { margin:0; color:var(--ink); background:var(--canvas); font:14px/1.6 Geist,system-ui,sans-serif; }
a { color:var(--accent); text-underline-offset:.2em; }
a:hover { color:var(--ink); }
:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.frame { width:min(1160px,calc(100% - 44px)); margin-inline:auto; }
.top,.foot { background:var(--surface); }
.top { border-bottom:1px solid var(--line); }
.header,.footer-inner { min-height:67px; display:flex; flex-wrap:wrap; align-items:center; gap:12px 24px; padding-block:9px; }
.header nav { display:flex; flex-wrap:wrap; gap:7px 16px; }
.header nav a,.brand,.back { text-decoration:none; }
.header nav a { color:var(--muted); font-weight:450; }
.header nav a:hover { color:var(--accent); }
.brand { display:inline-flex; align-items:center; gap:8px; color:var(--ink); white-space:nowrap; margin-right:auto; }
.brand img { border-radius:5px; }
strong, th { font-weight:500; }
.brand strong { margin-left:6px; border-left:1px solid var(--line); padding-left:8px; }
main { min-height:calc(100vh - 155px); padding:0 0 42px; }
.foot { border-top:1px solid var(--line); }
.footer-inner { color:var(--muted); font-size:13px; }
.footer-inner span { margin-right:auto; }
h1,h2,p { margin:0; }
h1 { font-size:clamp(28px,4vw,40px); letter-spacing:-.032em; line-height:1.13; font-weight:500; overflow-wrap:anywhere; }
h2 { font-size:18px; letter-spacing:-.026em; line-height:1.3; font-weight:500; }
.muted,.lede,.page-head p,.section-head a { color:var(--muted); }
p + p { margin-top:10px; }
.hero { padding:37px 0 25px; border-bottom:1px solid var(--line); margin-bottom:22px; }
.hero > p,.page-head p { margin:7px 0 13px; font-size:15px; max-width:76ch; }
.hero > p { color:var(--muted); }
.page-head { padding:26px 0 18px; }
.page-head > a,.breadcrumb { display:block; margin-bottom:8px; }
.heading-row { display:flex; justify-content:space-between; gap:12px; align-items:center; flex-wrap:wrap; }
.search-form { max-width:700px; position:relative; }
.search-bar { display:flex; align-items:center; gap:8px; padding:5px 5px 5px 12px; background:var(--surface); border:1px solid var(--line); border-radius:8px; }
.search-bar svg { width:20px; height:20px; color:var(--muted); flex:none; }
.search-bar input { border:0; background:transparent; min-width:0; flex:1; padding-inline:4px; }
.search-bar button { min-width:77px; }
.suggestions { position:absolute; inset:100% 0 auto; z-index:2; background:var(--surface); border:1px solid var(--line); border-radius:0 0 7px 7px; padding:8px; }
.suggestions ul,#ticket-suggestions ul { margin:0; list-style:none; padding:0; }
.suggestions a,#ticket-suggestions a { display:block; padding:6px; }
.suggestions a:hover { background:var(--subtle); }
.topics { display:flex; flex-wrap:wrap; gap:7px 15px; margin-top:11px; font-size:13px; }
button,.button,input,textarea,select { color:var(--ink); background:var(--surface); border:1px solid var(--line); border-radius:6px; font:inherit; }
button,.button { padding:6px 12px; min-height:37px; display:inline-flex; align-items:center; gap:4px; justify-content:center; text-decoration:none; cursor:pointer; font-weight:450; }
button:hover,.button:hover { background:var(--subtle); }
input,select,textarea { padding:8px 10px; width:100%; min-width:0; }
.primary { background:var(--primary); color:var(--on-primary); border-color:transparent; }
.primary:hover { background:var(--primary); color:var(--on-primary); filter:brightness(.91); }
.wide { width:100%; }
.home-grid,.form-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(255px,310px); align-items:start; gap:22px; }
.section-head { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:11px; }
.categories { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.category { display:grid; grid-template-columns:26px minmax(0,1fr) auto; gap:8px; padding:12px; border:1px solid var(--line); border-radius:7px; background:var(--surface); color:var(--ink); text-decoration:none; }
.category:hover { background:var(--subtle); }
.category svg { width:22px; height:22px; color:var(--accent); }
.category strong,.category span span,.category small { display:block; }
.category small,.category span span { color:var(--muted); }
.category .arrow { color:var(--accent); }
.popular { margin-top:19px; }
.list-link { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:8px 0; border-bottom:1px solid var(--line); text-decoration:none; }
.side-panel,.support-form,.message { padding:15px; border:1px solid var(--line); border-radius:8px; background:var(--surface); }
.side-panel h2 { margin-bottom:9px; }
.side-panel + .side-panel { margin-top:11px; }
.side-panel p + div { margin-top:13px; }
.narrow { max-width:620px; }
.status-list { list-style:none; padding:0; margin:4px 0 9px; }
.status-list li { display:flex; align-items:center; gap:8px; justify-content:space-between; padding:7px 0; border-bottom:1px solid var(--line); }
.badge { display:inline-block; padding:1px 6px; border-radius:4px; background:var(--subtle); color:var(--ink); white-space:nowrap; font-size:12px; font-weight:450; }
.good,.stage-resolved { color:var(--good); }
.warn,.stage-awaiting_customer,.stage-awaiting_internal { color:var(--warn); }
.library-grid,.article-grid { display:grid; grid-template-columns:190px minmax(0,1fr); align-items:start; gap:24px; }
.article-grid { grid-template-columns:190px minmax(0,1fr) 175px; padding-top:24px; }
.library-nav,.toc { border-top:1px solid var(--line); padding-top:7px; display:grid; gap:5px; }
.library-nav a,.toc a { text-decoration:none; padding:4px 0; }
.library-nav a[aria-current] { font-weight:500; }
.library-nav small { color:var(--muted); }
.article { background:var(--surface); border:1px solid var(--line); border-radius:8px; padding:clamp(15px,3vw,27px); }
.article h1 { font-size:clamp(27px,4vw,36px); }
.article section,.feedback { margin-top:24px; }
.article section p,.article .lede { margin-top:7px; }
.article-result { display:block; text-decoration:none; border-bottom:1px solid var(--line); padding:12px 1px; }
.article-result strong { display:block; font-size:16px; }
.article-result span { color:var(--muted); }
.feedback { border-top:1px solid var(--line); padding-top:13px; }
.feedback label { display:block; margin:7px 0 3px; }
.feedback div { margin-top:8px; }
.field { margin-bottom:12px; }
.field label,.status-form label { display:block; font-weight:500; margin-bottom:4px; }
.field textarea { resize:vertical; }
.field .muted { font-size:12px; }
.errorlist { margin:6px 0; padding-left:18px; color:var(--error); }
.notice { padding:9px 12px; border-radius:6px; background:var(--subtle); margin-top:10px; }
.notice.error { color:var(--error); }
.filter { display:flex; flex-wrap:wrap; align-items:end; gap:9px; margin-bottom:12px; }
.filter label { display:grid; gap:4px; color:var(--muted); }
.table-wrap { overflow:auto; background:var(--surface); border:1px solid var(--line); border-radius:7px; }
table { border-collapse:collapse; text-align:left; width:100%; min-width:680px; }
th,td { padding:8px 10px; border-bottom:1px solid var(--line); }
th { color:var(--muted); font-size:12px; }
td small { display:block; color:var(--muted); overflow-wrap:anywhere; }
.pagination { display:flex; flex-wrap:wrap; align-items:center; gap:9px; margin:8px 0; }
.thread { display:grid; gap:9px; }
.message header { display:flex; flex-wrap:wrap; gap:8px; justify-content:space-between; margin-bottom:6px; }
.message time { color:var(--muted); font-size:12px; }
.message-body { white-space:pre-wrap; overflow-wrap:anywhere; }
.message.from-support { border-left:3px solid var(--accent); }
.reply-form { margin-top:12px; }
.reply-form h2 { margin-bottom:10px; }
.ticket-reference { overflow-wrap:anywhere; }
dl { margin:0; }
dt { color:var(--muted); margin-top:7px; }
dd { margin:0; overflow-wrap:anywhere; }
.status-form { margin-top:10px; }
.status-form button { margin-top:7px; }
.sr-only,.skip:not(:focus) { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.skip:focus { display:block; padding:8px; }
@media(max-width:900px) { .article-grid { grid-template-columns:150px minmax(0,1fr); } .toc { grid-column:2; grid-row:1; } .article { grid-column:2; } .article-grid .library-nav { grid-row:1 / 3; } .header nav { order:3; width:100%; } }
@media(max-width:640px) { .frame { width:calc(100% - 28px); } .home-grid,.form-layout,.library-grid,.article-grid { grid-template-columns:1fr; gap:13px; } .article,.toc,.article-grid .library-nav { grid-column:auto; grid-row:auto; } .article-grid .library-nav { display:none; } .toc { grid-row:1; } .header { gap:8px; } .header nav { font-size:12px; gap:6px 12px; } .hero { padding-top:24px; } .brand strong { display:block; border:0; margin:0; padding:0; } }
@media(max-width:420px) { .categories { grid-template-columns:1fr; } .search-bar button { min-width:auto; } .search-bar svg { width:16px; } }
