:root{color-scheme:light;--ink:#071829;--muted:#536673;--blue:#176da5;--blue-dark:#0d4b76;--cyan:#8dd4ef;--paper:#f3f7fa;--surface:#fff;--surface-soft:#f8fbfc;--line:#d7e3eb;--shadow:0 16px 44px rgba(7,24,41,.07);--radius:18px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);line-height:1.55}a{color:var(--blue);text-decoration:none}a:hover{color:var(--blue-dark)}button,input,select,textarea{font:inherit}.site-header{height:76px;display:flex;align-items:center;gap:48px;padding:0 max(28px,calc((100% - 1160px)/2));background:rgba(255,255,255,.88);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:3;backdrop-filter:blur(16px)}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);font-size:16px;font-weight:800;letter-spacing:-.04em;line-height:1}.brand small{display:block;margin-top:5px;font-size:8px;letter-spacing:.2em;color:var(--muted)}.brand-mark{width:34px;height:34px;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#1e82b9,#0b2943);border-radius:10px;font-size:19px;font-weight:800}.main-nav{display:flex;gap:27px;font-size:13px;font-weight:650}.main-nav a{color:#344e5e}.header-actions{margin-left:auto;display:flex;align-items:center;gap:15px}.theme-toggle,.text-button{border:0;background:transparent;color:var(--muted);cursor:pointer}.theme-toggle{font-size:21px;width:34px;height:34px;border-radius:50%}.theme-toggle:hover{background:var(--surface-soft)}.nav-user,.nav-admin,.sign-in{font-size:13px;font-weight:650;color:var(--ink)}.logout{margin:0}.button{display:inline-flex;justify-content:center;align-items:center;min-height:45px;padding:0 20px;border:0;border-radius:10px;background:var(--blue);color:#fff;font-size:13px;font-weight:700;cursor:pointer;transition:transform .15s,background .15s}.button:hover{background:var(--blue-dark);color:#fff;transform:translateY(-1px)}.button:disabled{opacity:.45;cursor:not-allowed;transform:none}.button-small{min-height:37px;padding:0 14px;font-size:12px}.page-shell{max-width:1160px;min-height:calc(100vh - 220px);margin:0 auto;padding:44px 28px 90px}.hero{position:relative;overflow:hidden;padding:64px 64px 60px;border:1px solid #193c55;border-radius:24px;background:radial-gradient(circle at 86% 10%,rgba(43,147,203,.25),transparent 32%),linear-gradient(115deg,#071829,#0b2031 65%,#102b3e);color:#fff;box-shadow:var(--shadow)}.hero:after{content:"";position:absolute;width:280px;height:280px;right:7%;bottom:-190px;border:1px solid rgba(141,212,239,.22);border-radius:50%;box-shadow:0 0 0 30px rgba(141,212,239,.035),0 0 0 60px rgba(141,212,239,.025)}.hero h1{max-width:700px;margin:13px 0 12px;color:#fff;font-size:clamp(38px,5.3vw,64px);line-height:1.02;letter-spacing:-.055em}.hero p{max-width:590px;margin:0;color:#c4d4df;font-size:16px}.eyebrow{color:var(--blue);font-size:10px;font-weight:800;letter-spacing:.17em}.hero .eyebrow{color:var(--cyan)}.hero-actions{display:flex;align-items:center;gap:23px;margin-top:27px}.hero .button{background:#fff;color:#08233a}.hero .button:hover{background:var(--cyan)}.quiet-link{font-size:13px;font-weight:700}.hero .quiet-link{color:#d4e7f0}.section{margin-top:54px}.section h1,.section h2,.form-panel h1{letter-spacing:-.04em}.section h1{font-size:38px;line-height:1.1;margin:10px 0 12px}.section h2{font-size:27px;line-height:1.15;margin:7px 0 0}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:20px}.section-heading .muted{font-size:12px}.category{display:grid;grid-template-columns:220px 1fr;gap:22px;padding:20px 0;border-top:1px solid var(--line)}.category-title h3{font-size:15px;margin:2px 0 5px}.category-title p{margin:0;color:var(--muted);font-size:12px}.forum-list,.topic-list{border:1px solid var(--line);border-radius:14px;background:var(--surface);overflow:hidden}.forum-row,.topic-row{display:flex;align-items:center;gap:14px;padding:15px 17px;border-bottom:1px solid var(--line);color:var(--ink)}.forum-row:last-child,.topic-row:last-child{border-bottom:0}.forum-row:hover,.topic-row:hover{background:var(--surface-soft);color:var(--ink)}.forum-icon,.topic-marker{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:10px;background:#e8f4fa;color:var(--blue);font-weight:800}.forum-copy,.topic-copy{min-width:0;display:grid;gap:3px}.forum-copy strong,.topic-title{font-size:13px;font-weight:720}.forum-copy small,.topic-copy small{color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.forum-arrow{margin-left:auto;color:#8398a7;font-size:22px}.topic-list{margin-top:18px}.reply-count{margin-left:auto;color:var(--muted);font-size:11px;white-space:nowrap}.empty{display:grid;justify-items:center;gap:4px;padding:36px 16px;border:1px dashed #bfd0db;border-radius:14px;color:var(--muted);font-size:12px}.empty strong{color:var(--ink);font-size:14px}.empty-mark{font-size:25px;color:var(--blue);margin-bottom:5px}.form-panel{max-width:700px;margin:25px auto;padding:34px 38px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}.form-panel h1{font-size:34px;line-height:1.12;margin:9px 0}.form-panel h2{margin:27px 0 12px;font-size:17px}.muted{color:var(--muted)}.form-panel form{display:grid;gap:17px;margin-top:22px}.form-panel label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#344e5e}.form-panel input,.form-panel select,.form-panel textarea,.search-form input{width:100%;min-height:44px;padding:10px 12px;border:1px solid #bdcdd7;border-radius:9px;background:var(--surface);color:var(--ink);outline:none}.form-panel textarea{resize:vertical}.form-panel input:focus,.form-panel select:focus,.form-panel textarea:focus,.search-form input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(23,109,165,.12)}.form-panel form>.button{justify-self:start}.form-foot{margin:20px 0 0;color:var(--muted);font-size:12px}.notice{margin:0 0 18px;padding:12px 15px;border:1px solid #afd8c1;border-radius:10px;background:#eef9f1;color:#225d37;font-size:13px}.notice.error{border-color:#f0bbbb;background:#fff2f2;color:#8b2727}.notice.warning{border-color:#e9d39e;background:#fff9e8;color:#725617}.topic-head{margin:23px 0 20px;padding:28px 0 23px;border-bottom:1px solid var(--line)}.topic-head h1{max-width:860px;font-size:clamp(30px,4.5vw,48px);line-height:1.08;margin:8px 0;letter-spacing:-.05em}.meta{color:var(--muted);font-size:12px}.post{display:grid;grid-template-columns:170px 1fr;gap:18px;padding:21px 0;border-bottom:1px solid var(--line)}.post-author{display:grid;align-content:start;gap:4px;font-size:13px}.post-author time{color:var(--muted);font-size:10px}.post-body{overflow-wrap:anywhere;white-space:normal;padding:2px 0;font-size:14px}.reply-panel{max-width:none;margin-top:26px}.reply-panel h2{margin-top:0}.ai-badge{display:inline-block;padding:1px 5px;border-radius:4px;background:#e8f4fa;color:#145e8c;font-size:9px}.search-form{display:flex;gap:9px;max-width:680px;margin:20px 0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:25px 0}.stats>div,.panel{padding:21px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.stats strong,.stats span{display:block}.stats strong{font-size:30px;letter-spacing:-.04em}.stats span{color:var(--muted);font-size:11px}.panel{margin-top:16px}.panel h2{margin:0 0 7px;font-size:17px}.panel p{font-size:13px;color:var(--muted)}.site-footer{display:flex;align-items:center;flex-wrap:wrap;gap:22px;max-width:1160px;margin:0 auto;padding:25px 28px 35px;border-top:1px solid var(--line)}.footer-brand{display:flex;align-items:center;gap:10px}.footer-brand strong,.footer-brand small{display:block}.footer-brand strong{font-size:12px}.footer-brand small{color:var(--muted);font-size:10px}.footer-links{display:flex;gap:18px;margin-left:auto;font-size:11px}.footer-note{width:100%;color:var(--muted);font-size:10px}.requirements{margin:22px 0;padding:15px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft)}.requirements summary{font-weight:750;font-size:13px;cursor:pointer}.requirements ul{padding:0;list-style:none}.requirements li{display:flex;align-items:center;gap:8px;padding:4px 0;font-size:12px}.check{width:19px;height:19px;display:grid;place-items:center;border-radius:50%;font-weight:800}.check.ok{background:#e2f4e8;color:#2d7844}.check.bad{background:#ffebeb;color:#a12828}.installer{max-width:850px}.installer form{gap:0}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.installer .span-two{grid-column:span 2}.optional{margin-left:7px;color:var(--muted);font-size:9px;letter-spacing:.1em}.installer .tiny{font-size:10px}.installer code{overflow-wrap:anywhere}.logout .text-button{font-size:12px}.form-panel .button{min-width:165px}
@media(max-width:760px){.site-header{height:65px;padding:0 17px;gap:16px}.brand{font-size:14px}.brand-mark{width:31px;height:31px}.main-nav{gap:13px;margin-left:auto;font-size:11px}.main-nav a:nth-child(3){display:none}.header-actions{gap:9px;margin-left:0}.nav-user,.nav-admin,.logout{display:none}.page-shell{padding:25px 16px 60px}.hero{padding:39px 25px 38px;border-radius:17px}.hero h1{font-size:43px}.hero p{font-size:14px}.hero-actions{align-items:flex-start;flex-direction:column;gap:15px}.section{margin-top:39px}.section h1{font-size:32px}.section h2{font-size:23px}.category{grid-template-columns:1fr;gap:11px;padding:17px 0}.forum-row,.topic-row{padding:13px 11px;gap:10px}.forum-copy small,.topic-copy small{max-width:220px}.reply-count{font-size:9px}.form-panel{padding:25px 19px;margin:10px auto}.form-panel h1{font-size:29px}.field-grid{grid-template-columns:1fr}.installer .span-two{grid-column:auto}.post{grid-template-columns:1fr;gap:10px;padding:18px 0}.post-author{display:flex;align-items:center;flex-wrap:wrap}.post-author time{margin-left:auto}.stats{gap:8px}.stats>div{padding:14px}.stats strong{font-size:24px}.search-form{align-items:stretch}.search-form .button{padding:0 12px}.site-footer{padding:20px 16px 28px;gap:15px}.footer-links{width:100%;margin-left:0;flex-wrap:wrap}.footer-note{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
html[data-theme="dark"]{color-scheme:dark;--ink:#e7f0f6;--muted:#9eb2c0;--blue:#8dd4ef;--blue-dark:#a7ddf0;--paper:#07131e;--surface:#0d1e2b;--surface-soft:#122737;--line:#263e4e;--shadow:0 16px 44px rgba(0,0,0,.2)}html[data-theme="dark"] .site-header{background:rgba(8,22,34,.9)}html[data-theme="dark"] .main-nav a,html[data-theme="dark"] .nav-user,html[data-theme="dark"] .nav-admin,html[data-theme="dark"] .sign-in,html[data-theme="dark"] .form-panel label{color:#c5d8e3}html[data-theme="dark"] .forum-icon,html[data-theme="dark"] .topic-marker,html[data-theme="dark"] .ai-badge{background:#17364a;color:#9bdcff}html[data-theme="dark"] .notice{background:#122d22;color:#b8edc7;border-color:#315e42}html[data-theme="dark"] .notice.error{background:#351c20;color:#ffc2c2;border-color:#63343a}html[data-theme="dark"] .button-danger{background:#753638;color:#fff}
@media(prefers-color-scheme:dark){html[data-theme="auto"]{color-scheme:dark;--ink:#e7f0f6;--muted:#9eb2c0;--blue:#8dd4ef;--blue-dark:#a7ddf0;--paper:#07131e;--surface:#0d1e2b;--surface-soft:#122737;--line:#263e4e;--shadow:0 16px 44px rgba(0,0,0,.2)}html[data-theme="auto"] .site-header{background:rgba(8,22,34,.9)}html[data-theme="auto"] .main-nav a,html[data-theme="auto"] .nav-user,html[data-theme="auto"] .nav-admin,html[data-theme="auto"] .sign-in,html[data-theme="auto"] .form-panel label{color:#c5d8e3}html[data-theme="auto"] .forum-icon,html[data-theme="auto"] .topic-marker,html[data-theme="auto"] .ai-badge{background:#17364a;color:#9bdcff}html[data-theme="auto"] .notice{background:#122d22;color:#b8edc7;border-color:#315e42}html[data-theme="auto"] .notice.error{background:#351c20;color:#ffc2c2;border-color:#63343a}}
.button-secondary{background:var(--surface);color:var(--ink);border:1px solid var(--line)}.button-secondary:hover{background:var(--surface-soft);color:var(--ink)}.button-danger{background:#a64242}.button-danger:hover{background:#7e2f2f}.language-badge{width:max-content;padding:1px 5px;border-radius:4px;background:var(--surface-soft);color:var(--muted);font-size:9px}.review-actions{display:flex;gap:9px;flex-wrap:wrap}.form-panel :focus-visible,.site-header :focus-visible,a:focus-visible,button:focus-visible{outline:3px solid #62bce4;outline-offset:3px}
.version{margin:.8rem 0;padding:.7rem;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.version summary{cursor:pointer;color:var(--muted);font-size:.86rem;font-weight:650}.version p{margin:.7rem 0 0;overflow-wrap:anywhere}

.language-switch select{max-width:142px;min-height:32px;padding:4px 8px;border:1px solid rgba(255,255,255,.35);border-radius:3px;background:#123b5c;color:#fff;font-size:11px}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.forum-row-child{background:#fafcfd;padding-inline-start:30px}.forum-row-child .forum-copy strong{font-weight:600}.subforum-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;margin:18px 0}.subforum-list h2{grid-column:1/-1;margin:0 0 2px;font-size:16px}.subforum-list>a{display:grid;gap:4px;padding:12px;border:1px solid var(--line);background:var(--surface);color:var(--ink);text-decoration:none}.subforum-list>a:hover{background:var(--surface-soft)}.subforum-list small,.admin-forum-list small{color:var(--muted);font-size:11px}
.topic-language-control{display:flex;align-items:end;gap:10px;margin-top:14px;padding:12px;border:1px solid var(--line);background:var(--surface-soft)}.topic-language-control label{display:grid;gap:5px;font-size:11px;font-weight:700}.topic-language-control select{min-height:34px;padding:6px 8px;border:1px solid var(--line);border-radius:3px;background:var(--surface);color:var(--ink)}
.translation{margin-top:14px;padding:12px;border-inline-start:3px solid #4b91c4;background:var(--surface-soft);font-size:13px}.translation>div{margin-top:7px;white-space:pre-wrap;overflow-wrap:anywhere}.translation small{display:block;margin-top:7px;color:var(--muted);font-size:10px}
.poll-fields{display:grid;gap:12px;margin:4px 0;padding:15px;border:1px solid var(--line);background:var(--surface-soft)}.poll-fields legend{padding:0 6px;font-size:13px;font-weight:750}.poll-fields small{color:var(--muted);font-size:11px}.poll-panel{max-width:780px;margin:18px 0 25px;padding:18px;border:1px solid var(--line);background:var(--surface)}.poll-panel h2{margin:0 0 14px;font-size:18px}.poll-panel form{display:grid;gap:5px}.poll-option{display:flex;align-items:flex-start;gap:10px;padding:10px 8px;border-bottom:1px solid var(--line)}.poll-option>input{margin:3px 0 0;accent-color:#288ac0}.poll-answer{display:grid;flex:1;gap:5px}.poll-answer strong{font-size:13px}.poll-answer small{color:var(--muted);font-size:10px}.poll-bar{height:6px;overflow:hidden;background:var(--surface-soft)}.poll-bar i{display:block;height:100%;background:#3188b7}.poll-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;color:var(--muted);font-size:11px}.poll-footer .button{min-width:100px}
.admin-forum-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.admin-forum-form label{display:grid;gap:5px;font-size:12px;font-weight:700}.admin-forum-form input,.admin-forum-form select{min-height:38px;padding:8px;border:1px solid var(--line);border-radius:3px;background:var(--surface);color:var(--ink)}.admin-forum-form .button{justify-self:start;align-self:end}.admin-forum-list>div{display:grid;gap:3px;padding:10px 0;border-bottom:1px solid var(--line)}.admin-forum-list>div:last-child{border:0}.consent-check{display:flex;gap:8px;align-items:flex-start;margin:12px 0;font-size:12px}
section.section:has(> .admin-nav){position:relative;padding-inline-start:220px;min-height:calc(100vh - 220px)}section.section>.admin-nav{position:absolute;inset-inline-start:0;top:112px;width:198px;display:grid;align-content:start;gap:2px;margin:0;padding:9px;border-radius:3px;background:#14517f}section.section>.admin-nav a{padding:11px 12px;border-bottom:1px solid rgba(255,255,255,.1);font-size:12px}section.section>.admin-nav a:hover{background:#21699c}
html[dir="rtl"] .main-nav{margin-left:0;margin-right:auto}html[dir="rtl"] .header-actions{margin-left:0;margin-right:auto}html[dir="rtl"] .footer-links{margin-left:0;margin-right:auto}html[dir="rtl"] .forum-stat{text-align:center}html[dir="rtl"] .forum-last{flex-direction:row-reverse}html[dir="rtl"] .forum-row-child{padding-inline-start:8px;padding-inline-end:30px}html[dir="rtl"] .topic-head,html[dir="rtl"] .post,html[dir="rtl"] .panel,html[dir="rtl"] .form-panel{text-align:right}
@media(max-width:760px){section.section:has(> .admin-nav){padding-inline-start:0}section.section>.admin-nav{position:static;width:auto;display:flex;flex-wrap:wrap;margin:15px 0 20px}}
@media(max-width:620px){.language-switch select{max-width:95px;font-size:9px;padding:3px}.topic-language-control{align-items:stretch;flex-direction:column}.admin-forum-form{grid-template-columns:1fr}}

/* Forum index: compact category rows and a useful activity sidebar. */
:root{--paper:#eef0f2;--surface:#fff;--line:#d9dee3;--blue:#22527f;--blue-dark:#163d63;--shadow:0 1px 3px rgba(15,35,55,.08)}
.site-header{height:68px;background:#0e2f4e;border-bottom:0;color:#fff;backdrop-filter:none}
.brand,.main-nav a,.nav-user,.nav-admin,.nav-security,.sign-in{color:#fff}
.brand-mark{background:#fff;color:#173c60;border-radius:4px}
.main-nav a:hover,.nav-user:hover,.nav-admin:hover,.nav-security:hover,.sign-in:hover{color:#b8dcf4}
.header-actions{gap:14px}.theme-toggle{color:#fff;border-color:rgba(255,255,255,.3)}
.forum-toolbar{background:#1a4a76;border-bottom:1px solid #123b62;color:#fff}
.forum-toolbar nav{max-width:1100px;margin:0 auto;min-height:36px;padding:0 18px;display:flex;align-items:center;gap:22px}
.forum-toolbar a{font-size:12px;color:#fff;text-decoration:none;font-weight:600}.forum-toolbar a:hover{text-decoration:underline}
.page-shell{max-width:1100px;min-height:calc(100vh - 220px);padding:20px 18px 55px}
.community-banner{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:19px 24px;margin:2px 0 17px;border:1px solid #d9e0e5;border-radius:4px;background:linear-gradient(115deg,#fff,#e8f2fa);box-shadow:var(--shadow)}
.community-banner>div{display:grid;gap:3px}.community-banner .eyebrow{font-size:9px;color:#527b9c}.community-banner strong{font-size:17px;color:#153b5c}.community-banner small{font-size:12px;color:#60717e}
.forum-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 12px}.forum-heading h1{margin:0;font-size:24px;font-weight:600;letter-spacing:-.03em}.forum-heading .eyebrow{font-size:9px}.forum-heading-actions{display:flex;gap:8px}.forum-heading-actions .button{border-radius:4px;background:#e98217;padding:8px 12px}.forum-heading-actions .button-secondary{background:#123b5c;color:#fff;border:0}
.forum-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:12px;align-items:start}.forum-main{min-width:0}
.category{display:block;margin:0 0 15px;padding:0;border:1px solid #d8dde2;border-radius:4px;overflow:hidden;background:#fff;box-shadow:var(--shadow)}
.category-title{display:block;padding:7px 11px;background:#1b4975;color:#fff}.category-title h2{margin:0;color:#fff;font-size:15px;font-weight:600;letter-spacing:0}
.forum-list{display:block}.forum-row{display:grid;grid-template-columns:34px minmax(150px,1fr) 52px 52px minmax(150px,245px);gap:8px;align-items:center;min-height:58px;padding:8px 10px;border-bottom:1px solid #e8ebee;background:#fff}.forum-row:last-child{border-bottom:0}
.forum-icon{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#eef6fc;color:#59a4d6;font-size:23px;font-weight:700;line-height:1}.forum-row:nth-child(odd) .forum-icon{background:#fff5e8;color:#eaaa58}
.forum-copy{min-width:0;display:grid;gap:2px}.forum-copy>a{color:#183b58;text-decoration:none}.forum-copy>a:hover{color:#1e76ad}.forum-copy strong{font-size:13px;font-weight:700}.forum-copy small{font-size:10px;line-height:1.35;color:#818a91}
.forum-stat{text-align:center;display:grid;line-height:1.2}.forum-stat strong{font-size:12px;color:#344b5d;font-weight:600}.forum-stat small{font-size:9px;color:#8b949b}
.forum-last{min-width:0;display:flex;align-items:center;gap:7px;color:#243c51;text-decoration:none}.forum-last>span:last-child{min-width:0;display:grid;gap:2px}.forum-last strong,.side-topic strong{font-size:10px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.forum-last small,.side-topic small{font-size:9px;color:#8a9197;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.forum-last-empty{font-size:10px;color:#9aa2a8}.forum-avatar,.side-topic-avatar{width:25px;height:25px;flex:0 0 25px;border-radius:50%;display:grid;place-items:center;background:#dce9f3;color:#285b80;font-size:11px;font-weight:700}
.forum-sidebar{display:grid;gap:12px}.side-panel{padding:0;background:#fff;border:1px solid #d8dde2;border-radius:4px;box-shadow:var(--shadow);overflow:hidden}.side-panel>h2,.side-panel-heading{margin:0;padding:8px 10px;color:#4d91c7;font-size:14px;font-weight:500}.side-panel>p{padding:0 10px;margin:0 0 10px;font-size:11px}.side-panel-heading{display:flex;align-items:center;justify-content:space-between}.side-panel-heading h2{margin:0;color:#4d91c7;font-size:14px;font-weight:500}.side-panel-heading a{font-size:10px;color:#55758f}.community-stats{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #edf0f2;border-bottom:1px solid #edf0f2}.community-stats>div{display:grid;padding:9px 10px}.community-stats>div+div{border-left:1px solid #edf0f2}.community-stats strong{font-size:18px;line-height:1.2;color:#1e4f78}.community-stats span{font-size:10px;color:#7f8991}.side-topic{display:flex;align-items:flex-start;gap:8px;padding:9px 10px;border-top:1px solid #edf0f2;text-decoration:none;color:#213e58}.side-topic:hover,.side-link:hover{background:#f6f9fb}.side-topic>span:last-child{min-width:0;display:grid;gap:3px}.side-topic-avatar{width:23px;height:23px;flex-basis:23px}.side-link{display:block;padding:7px 10px;border-top:1px solid #edf0f2;color:#456781;text-decoration:none;font-size:11px}
html[data-theme="dark"] .community-banner,html[data-theme="dark"] .category,html[data-theme="dark"] .forum-row,html[data-theme="dark"] .side-panel{background:#0d1e2b;border-color:#263e4e}html[data-theme="dark"] .community-banner strong,html[data-theme="dark"] .forum-copy>a,html[data-theme="dark"] .forum-stat strong,html[data-theme="dark"] .forum-last,html[data-theme="dark"] .side-topic{color:#d6e7f1}html[data-theme="dark"] .category-title{background:#133a5d}html[data-theme="dark"] .community-banner small{color:#9eb2c0}html[data-theme="dark"] .community-stats,html[data-theme="dark"] .community-stats>div+div,html[data-theme="dark"] .side-topic,html[data-theme="dark"] .side-link{border-color:#263e4e}html[data-theme="dark"] .side-topic:hover,html[data-theme="dark"] .side-link:hover{background:#122737}
@media(max-width:820px){.forum-layout{grid-template-columns:1fr}.forum-sidebar{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.forum-sidebar .side-panel:first-child{grid-column:1/-1}.forum-row{grid-template-columns:30px minmax(120px,1fr) 45px 45px minmax(120px,220px)}}
@media(max-width:620px){.site-header{height:60px;padding:0 12px;gap:12px}.main-nav{gap:10px;font-size:10px}.header-actions{gap:7px}.nav-user,.nav-admin,.nav-security,.logout{display:none}.forum-toolbar nav{gap:17px;padding:0 13px}.page-shell{padding:13px 10px 42px}.community-banner{padding:13px 14px}.community-banner strong{font-size:14px}.community-banner small{font-size:10px}.community-banner .button{font-size:10px;padding:8px}.forum-heading{align-items:flex-end}.forum-heading h1{font-size:21px}.forum-heading-actions{gap:5px}.forum-heading-actions .button{font-size:10px;padding:7px}.forum-layout{gap:10px}.forum-row{grid-template-columns:26px minmax(0,1fr) 37px 37px;gap:5px;padding:8px 7px}.forum-icon{width:23px;height:23px;font-size:20px}.forum-copy strong{font-size:11px}.forum-copy small{font-size:9px}.forum-stat strong{font-size:10px}.forum-stat small{font-size:8px}.forum-last{grid-column:2/-1;padding-top:4px}.forum-last strong{font-size:9px}.forum-last small{font-size:8px}.forum-avatar{width:21px;height:21px;flex-basis:21px}.forum-sidebar{grid-template-columns:1fr}.forum-sidebar .side-panel:first-child{grid-column:auto}.site-footer{padding:18px 10px 25px}}

/* Logo and geometry refinement. */
.site-header{height:78px;gap:40px}
.brand{height:100%;min-width:0}
.brand-logo{display:block;width:auto;height:60px;max-width:min(30vw,250px);object-fit:contain;object-position:left center}
.footer-brand{min-width:0;display:flex;align-items:center}
.footer-logo{display:block;width:auto;height:43px;max-width:min(54vw,210px);object-fit:contain;object-position:left center}
.category,.side-panel,.community-banner,.form-panel,.panel,.stats>div,.empty,.requirements,.notice{border-radius:3px}
.button,.form-panel input,.form-panel select,.form-panel textarea,.search-form input{border-radius:4px}
.forum-icon,.forum-row:nth-child(odd) .forum-icon{display:grid;width:28px;height:28px;place-items:center;border-radius:0;background:transparent;color:#3978a5}
.forum-icon svg{display:block;width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.forum-row:nth-child(odd) .forum-icon{color:#bd8343}
@media(max-width:620px){.site-header{height:62px;gap:10px}.brand-logo{height:48px;max-width:min(35vw,160px)}.footer-logo{height:38px}.forum-icon,.forum-row:nth-child(odd) .forum-icon{width:25px;height:25px}.forum-icon svg{width:23px;height:23px}}

/* Thread pages use a readable, familiar forum post layout with square geometry. */
.thread-page{margin-top:20px}
.thread-breadcrumbs{display:flex;align-items:center;gap:8px;margin:0 0 20px;color:#6d7d88;font-size:11px}
.thread-breadcrumbs a{color:#365b78;font-weight:650}
.topic-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px;padding:0 0 16px;border-bottom:1px solid #d6dde2}
.topic-head h1{margin:5px 0;font-size:28px;line-height:1.2;letter-spacing:-.025em}
.topic-head .meta{font-size:11px}
.thread-reply-top{min-height:36px;padding:0 14px;border-radius:3px;background:#419bd1}
.post-card{display:grid;grid-template-columns:150px minmax(0,1fr);gap:0;margin:0 0 14px;border:1px solid #d6dce1;border-radius:3px;background:#fff;box-shadow:0 1px 2px rgba(15,35,55,.06)}
.post-card .post-author{display:flex;align-items:center;align-self:stretch;flex-direction:column;gap:6px;padding:18px 12px;border-right:1px solid #e1e5e8;background:#f7f8f9;text-align:center}
.post-avatar,.reply-composer-avatar{width:70px;height:70px;display:grid;place-items:center;border-radius:50%;background:#789bdc;color:#183d70;font-size:30px;font-weight:500}
.post-author>strong{font-size:13px;color:#193d59;overflow-wrap:anywhere}
.post-author .language-badge{margin-top:2px}
.post-author .meta{font-size:10px}
.post-content{min-width:0;padding:10px 15px 8px}
.post-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 0 8px;border-bottom:1px solid #edf0f2;color:#86919a;font-size:10px}
.post-topline a{color:#718494}
.post-body{min-height:95px;padding:15px 0;color:#172b3b;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.post-actions{display:flex;align-items:center;gap:15px;min-height:31px;color:#52718a;font-size:11px}
.post-actions>a{font-weight:650}
.post-actions .report-form{margin:0}
.post-actions .report-form summary{font-size:11px}
.post-actions .report-form form{position:absolute;z-index:2}
.reply-panel{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;margin-top:18px;padding:14px;border:1px solid #d6dce1;border-radius:3px;background:#fff}
.reply-composer-avatar{width:60px;height:60px;font-size:25px}
.reply-composer-body{min-width:0}
.reply-composer-body h2{margin:0 0 10px;font-size:16px}
.reply-composer-body form{display:grid;gap:10px}
.reply-language{display:flex;align-items:center;gap:8px;color:#647783;font-size:11px}
.reply-language select{min-height:32px;padding:5px 8px;border:1px solid #d4dce2;border-radius:3px;background:#fff;color:#243b4d}
.reply-composer-body textarea{width:100%;min-height:150px;padding:13px;border:1px solid #d4dce2;border-radius:3px;background:#fff;color:#162d40;resize:vertical}
.reply-composer-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
.reply-composer-footer small{color:#7a858d;font-size:10px}
.reply-composer-footer .button{min-height:36px;border-radius:3px;background:#419bd1}
.reply-login{margin-top:18px;border-radius:3px}
html[data-theme="dark"] .post-card,html[data-theme="dark"] .reply-panel,html[data-theme="dark"] .reply-login{background:#0d1e2b;border-color:#263e4e}
html[data-theme="dark"] .post-card .post-author{background:#102534;border-color:#263e4e}
html[data-theme="dark"] .post-author>strong,html[data-theme="dark"] .post-body{color:#d6e7f1}
html[data-theme="dark"] .post-topline{border-color:#263e4e}
html[data-theme="dark"] .reply-composer-body textarea,html[data-theme="dark"] .reply-language select{background:#102534;border-color:#365064;color:#d6e7f1}
@media(max-width:620px){.thread-page{margin-top:12px}.thread-breadcrumbs{flex-wrap:wrap;margin-bottom:14px}.topic-head{align-items:flex-start}.topic-head h1{font-size:22px}.thread-reply-top{font-size:11px}.post-card{grid-template-columns:68px minmax(0,1fr)}.post-card .post-author{padding:12px 5px}.post-avatar{width:42px;height:42px;font-size:19px}.post-author>strong{font-size:10px}.post-content{padding:8px 10px}.post-body{min-height:60px;padding:11px 0;font-size:13px}.post-actions{gap:10px;flex-wrap:wrap}.reply-panel{grid-template-columns:1fr;padding:12px}.reply-composer-avatar{width:42px;height:42px;font-size:19px}.reply-composer-footer{align-items:flex-start;flex-direction:column}}

.profile-banner{display:flex;align-items:center;gap:18px;min-height:150px;padding:22px;border:1px solid #d6dce1;background:linear-gradient(110deg,#0e2f4e,#1b527c);color:#fff}
.profile-avatar{width:92px;height:92px;display:grid;place-items:center;flex:0 0 92px;background:#8ba9df;color:#183d70;font-size:42px}
.profile-identity .eyebrow{color:#b8d8ee}
.profile-identity h1{margin:4px 0;font-size:28px;color:#fff}
.profile-identity p{margin:0;color:#d6e6f0;font-size:12px}
.profile-tabs{display:flex;gap:22px;margin:0 0 18px;padding:10px 14px;border:1px solid #d6dce1;border-top:0;background:#08233a}
.profile-tabs a{color:#d3e8f6;font-size:12px;font-weight:650}
.profile-tabs a.active{color:#fff;border-bottom:2px solid #69b7e3}
.profile-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:14px;align-items:start}
.profile-sidebar,.profile-content{display:grid;gap:12px;min-width:0}
.profile-sidebar .side-panel>p{padding:4px 12px 10px;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}
.profile-stats{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #edf0f2}
.profile-stats>div{display:grid;gap:2px;padding:12px;border-right:1px solid #edf0f2}
.profile-stats strong{font-size:18px;color:#1e4f78}
.profile-stats span{font-size:10px;color:#7f8991}
.profile-content .section-heading{margin:0;padding:10px 12px;border:1px solid #d8dde2;background:#fff}
.profile-content .section-heading h2{margin:0;font-size:15px;color:#3a6687}
.profile-topic,.member-directory-row{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #d8dde2;border-bottom:0;background:#fff;color:#203a50}
.profile-topic:last-child,.member-directory-row:last-child{border-bottom:1px solid #d8dde2}
.profile-topic>span:nth-child(2),.member-directory-row>span:nth-child(2){display:grid;gap:3px;min-width:0;flex:1}
.profile-topic strong,.member-directory-row strong{font-size:13px}
.profile-topic small,.member-directory-row small{font-size:10px;color:#7e8991;overflow-wrap:anywhere}
.profile-topic:hover,.member-directory-row:hover{background:#f4f8fb}
.member-directory-list{display:grid;border-top:1px solid #d8dde2}
.member-directory-row .post-avatar{width:48px;height:48px;flex-basis:48px;font-size:20px}
html[data-theme="dark"] .profile-tabs,html[data-theme="dark"] .profile-content .section-heading,html[data-theme="dark"] .profile-topic,html[data-theme="dark"] .member-directory-row{background:#0d1e2b;border-color:#263e4e;color:#d6e7f1}
html[data-theme="dark"] .profile-stats,html[data-theme="dark"] .profile-stats>div{border-color:#263e4e}
@media(max-width:720px){.profile-layout{grid-template-columns:1fr}.profile-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.profile-banner{gap:12px;min-height:110px;padding:14px}.profile-avatar{width:60px;height:60px;flex-basis:60px;font-size:27px}.profile-identity h1{font-size:21px}.profile-tabs{gap:16px;padding:9px}.profile-sidebar{grid-template-columns:1fr}.profile-topic{align-items:flex-start;flex-wrap:wrap}.profile-topic .reply-count{margin-inline-start:60px}}

.admin-nav{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 22px;padding:10px;background:#173f64;border-radius:3px}
.admin-nav a{padding:8px 12px;color:#edf7fd;font-size:12px;font-weight:700;border-radius:2px}
.admin-nav a:hover,.admin-nav a:focus-visible{background:#28618e;color:#fff}
.report-form{font-size:11px;text-align:left}
.report-form summary{cursor:pointer;color:var(--blue);font-weight:700}
.report-form form{display:grid;gap:9px;min-width:min(300px,70vw);margin-top:10px;padding:12px;border:1px solid var(--line);border-radius:3px;background:var(--surface-soft)}
.report-form label{display:grid;gap:5px;color:var(--ink);font-size:11px;font-weight:650}
.report-form select,.report-form textarea{width:100%;padding:8px;border:1px solid var(--line);border-radius:3px;background:var(--surface);color:var(--ink)}
.topic-report{margin-top:10px}
.reported-content{margin:12px 0;padding:12px;border-left:3px solid #d08b37;background:var(--surface-soft);white-space:pre-wrap;overflow-wrap:anywhere}

/* Editor controls match the forum's compact square layout. */
.forum-editor{min-width:0;border:1px solid #ccd9e2;border-radius:3px;background:var(--surface);overflow:hidden}
.editor-toolbar{display:flex;align-items:center;gap:2px;flex-wrap:wrap;padding:5px 7px;border-bottom:1px solid #dce5ea;background:#f6f9fb}
.editor-toolbar button{min-width:31px;min-height:29px;padding:3px 7px;border:1px solid transparent;border-radius:2px;background:transparent;color:#294e68;font-size:12px;font-weight:700;cursor:pointer}
.editor-toolbar button:hover,.editor-toolbar button:focus-visible{border-color:#b9d2e1;background:#e6f3fa}
.editor-toolbar [data-forum-preview]{margin-left:auto;padding:3px 11px;border-color:#c8d8e2;font-weight:600}
.forum-editor textarea,.form-panel .forum-editor textarea,.reply-composer-body .forum-editor textarea{display:block;width:100%;min-height:170px;margin:0;padding:12px 14px;border:0;border-radius:0;background:var(--surface);box-shadow:none;resize:vertical;outline:none;color:var(--ink);font-size:14px}
.forum-editor:focus-within{border-color:var(--blue);box-shadow:0 0 0 2px rgba(23,109,165,.13)}
.editor-preview{min-height:95px;padding:13px 15px;border-top:1px solid #dce5ea;color:var(--ink);font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.editor-preview[hidden]{display:none}
.topic-pagination{display:flex;align-items:center;gap:3px;flex-wrap:wrap;margin:8px 0 15px;font-size:11px}
.topic-pagination a,.topic-pagination strong{min-width:27px;min-height:26px;display:inline-flex;align-items:center;justify-content:center;padding:3px 7px;border:1px solid #cfdae3;background:#fff;color:#285673}
.topic-pagination strong{border-color:#2b7eb7;background:#eaf5fb;color:#15547f}
.post-body .forum-quote,.editor-preview .forum-quote{margin:8px 0;padding:8px 11px;border-left:3px solid #4b99c9;background:#f2f7fa}
.forum-quote cite{display:block;margin-bottom:6px;color:#48687d;font-size:11px;font-style:normal;font-weight:700}
.forum-code{max-width:100%;margin:8px 0;padding:10px 12px;overflow:auto;border:1px solid #d6e2e9;background:#f4f7f9;color:#18364a;font-size:12px;white-space:pre-wrap}
.forum-list-markup{margin:6px 0;padding-left:25px}
.post-body a,.editor-preview a{overflow-wrap:anywhere}
html[data-theme="dark"] .forum-editor{border-color:#365064;background:#102534}
html[data-theme="dark"] .editor-toolbar{background:#122c3e;border-color:#365064}
html[data-theme="dark"] .editor-toolbar button{color:#c1dfef}
html[data-theme="dark"] .editor-toolbar button:hover{background:#1b4056}
html[data-theme="dark"] .forum-editor textarea,html[data-theme="dark"] .editor-preview{background:#102534;color:#d6e7f1;border-color:#365064}
html[data-theme="dark"] .forum-quote,html[data-theme="dark"] .forum-code{background:#142f40;border-color:#365064;color:#d6e7f1}

/* Brand row and compact forum navigation follow the reference forum's hierarchy. */
@media(min-width:821px){
  .site-header{height:104px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:64px 40px;gap:0;padding:0 max(28px,calc((100% - 1100px)/2));background:linear-gradient(to bottom,#0d2946 0 64px,#1a4a76 64px 100%);position:sticky}
  .site-header .brand{grid-column:1/-1;grid-row:1;justify-self:start;height:64px}
  .site-header .brand-logo{height:54px;max-width:240px}
  .site-header .main-nav{grid-column:1;grid-row:2;align-self:stretch;gap:0}
  .site-header .main-nav a{display:flex;align-items:center;height:40px;padding:0 13px;color:#d5e7f5;font-size:12px}
  .site-header .main-nav a:first-child{background:#f4f6f8;color:#143754}
  .site-header .main-nav a:hover{background:#245b8a;color:#fff}
  .site-header .header-actions{grid-column:2;grid-row:2;align-self:center;gap:11px}
  .site-header .header-actions .button-small{min-height:29px}
  .site-header .language-switch select{min-height:27px;font-size:10px}
  .site-header .theme-toggle{height:27px;width:27px;font-size:18px}
  .forum-toolbar{background:#f8fafb;border-bottom:1px solid #d7dfe5;color:#213c53}
  .forum-toolbar nav{max-width:1100px;min-height:29px;padding:0 18px;gap:19px}
  .forum-toolbar a{color:#284963;font-size:11px}
}
@media(max-width:820px){
  .site-header{height:auto;min-height:66px;display:flex;flex-wrap:wrap;gap:5px 13px;padding:5px 14px;position:relative}
  .site-header .brand{height:52px}
  .site-header .brand-logo{height:50px;max-width:190px}
  .site-header .main-nav{order:3;width:100%;height:34px;align-items:center;overflow-x:auto;white-space:nowrap}
  .site-header .header-actions{gap:8px}
  .site-header .header-actions .button-small{min-height:31px;padding:0 8px}
}
@media(max-width:620px){
  .site-header{padding:5px 10px}
  .site-header .brand{height:42px}
  .site-header .brand-logo{height:42px;max-width:150px}
  .site-header .main-nav{gap:16px;font-size:11px}
  .site-header .language-switch{display:none}
  .site-header .header-actions{gap:5px}
  .site-header .header-actions .button-small{font-size:10px}
}

/* Forum visual alignment: square list edges, true circles, and denser discussion pages. */
.category .forum-list{border:0;border-radius:0;background:transparent;overflow:visible}
.category .forum-row{border-radius:0}
.category .forum-row:last-child{border-bottom:0}
.forum-copy strong{font-size:14px;line-height:1.3}
.forum-copy small,.forum-last strong{font-size:11px}
.forum-last small{font-size:10px}
.forum-avatar,.side-topic-avatar,.post-avatar,.reply-composer-avatar,.profile-avatar,.member-directory-row .post-avatar{aspect-ratio:1;border-radius:50%;overflow:hidden;flex-shrink:0}
.profile-avatar{border:2px solid rgba(255,255,255,.75)}
.topic-list{border-radius:3px;box-shadow:var(--shadow)}
.topic-row{min-height:58px;padding:10px 13px;border-radius:0}
.topic-marker{width:32px;height:32px;flex:0 0 32px;border-radius:50%;font-size:14px}
.topic-title{font-size:14px;line-height:1.3}
.topic-copy small,.reply-count{font-size:11px}
.section:has(> .topic-list)>h1{margin:4px 0 6px;font-size:27px;line-height:1.2}
.section:has(> .topic-list)>p.muted{margin:0 0 20px;font-size:13px}
.section:has(> .topic-list)>.section-heading{margin-top:20px;margin-bottom:10px}
.section:has(> .topic-list)>.section-heading h2{font-size:19px}
.post-card{padding:0;border-bottom:1px solid #d6dce1}
.post-card .post-author{min-width:0}
.post-card .post-content{display:flex;flex-direction:column}
.post-card .post-body{flex:1;min-height:78px;padding:11px 0}
.post-card .post-actions{justify-content:flex-end;margin-top:auto;border-top:1px solid #edf0f2}
.post-card .post-actions .report-form{margin-right:auto}
@media(min-width:821px){
  .site-header{grid-template-rows:70px 40px;height:110px;background:linear-gradient(to bottom,#0d2946 0 70px,#1a4a76 70px 100%)}
  .site-header .brand{height:70px}
  .site-header .brand-logo{height:63px;max-width:275px}
}
@media(max-width:820px){
  .site-header .main-nav a:nth-child(3){display:flex}
}
@media(max-width:620px){
  .forum-copy strong,.topic-title{font-size:12px}
  .forum-copy small,.topic-copy small{font-size:10px}
  .topic-row{min-height:57px;padding:9px 10px}
  .topic-marker{width:27px;height:27px;flex-basis:27px}
  .post-card .post-body{min-height:58px}
  .post-card .post-actions{justify-content:flex-start}
}
html[data-theme="dark"] .topic-list,html[data-theme="dark"] .topic-row,html[data-theme="dark"] .topic-marker{background:#0d1e2b;border-color:#263e4e;color:#d6e7f1}
html[data-theme="dark"] .post-card .post-actions{border-color:#263e4e}
.topic-saved-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.topic-saved-actions form{margin:0}
.account-links{display:flex;flex-wrap:wrap;gap:12px;margin:4px 0 16px;font-size:13px}
.account-links a{color:var(--link,#2179b4);text-decoration:none}
.account-links a:hover{text-decoration:underline}
