/* Visual Identity v1. Existing tokens remain the compatibility boundary. */
:root{--ink:#142a35;--muted:#526978;--blue:#087e80;--brand:#087e80;--on-brand:#fff;--line:#deebeb;--surface:#f0f7f7;--white:#f7fbfb;--card-bg:#fff;--header-bg:#fffffffa;--tag-bg:#e7f6f3;--tag-ink:#126a69;--caption-bg:#edf5f4;--hero-fade:#f7fbfbe8}
:root[data-theme=dark]{--ink:#e6f1f2;--muted:#a5bcc2;--blue:#64dcd0;--brand:#167f7a;--on-brand:#fff;--line:#29454d;--surface:#132a32;--white:#09181f;--card-bg:#0f222a;--header-bg:#09181ffa;--tag-bg:#193a40;--tag-ink:#9ae9de;--caption-bg:#18313a;--hero-fade:#09181fe8}
.container{width:min(1440px,calc(100% - 48px))}.header-inner{height:70px;gap:20px}.logo{font-size:22px;letter-spacing:-.055em;gap:8px}.logo-symbol{width:32px;height:32px}.header-inner nav{gap:30px;margin-left:28px;margin-right:auto;font-size:13px}.header-inner nav a{padding-block:23px}.header-inner nav a:hover{box-shadow:inset 0 -2px var(--blue)}.header-actions{gap:9px}.header-search,.header-profile{display:grid;place-items:center;min-width:40px;min-height:44px;color:var(--blue)}.header-search{order:0}.notification-bell{order:1}.theme-control{order:2;width:128px;padding:3px;border-radius:10px;visibility:hidden}.header-profile{order:3}.menu-toggle{order:4}.theme-control label{min-height:36px;font-size:21px;border-radius:7px}.theme-thumb{top:3px;bottom:3px;left:3px;width:calc((100% - 6px)/3);border-radius:7px;background:var(--tag-bg);transform:translateX(200%)}.theme-control label:has(input:checked){color:var(--blue)}:root[data-theme-choice=dark] .theme-thumb{transform:translateX(100%)}:root[data-theme-choice=system] .theme-thumb{transform:translateX(200%)}.theme-tooltip{display:none;position:absolute;top:calc(100% + 8px);padding:3px 8px;background:var(--ink);color:var(--white);border-radius:4px;font-size:11px;z-index:70}.theme-control label:hover .theme-tooltip,.theme-control label:has(input:focus-visible) .theme-tooltip{display:block}.theme-control label:has(input:focus-visible){outline-color:var(--blue)}.primary,.community .primary,.community .pagination .current,.community .tabs .active{background:var(--brand);color:var(--on-brand)}.primary:hover,.community .primary:hover{background:#066663}.notification-badge{background:var(--brand);color:#fff}.notification-bell:hover{background:var(--tag-bg)}.notification-panel,.menu-panel{box-shadow:0 10px 32px #05212c20;border-radius:12px}.menu-panel{top:64px}.notification-panel{top:64px}.notification-item.is-unread{background:var(--tag-bg)}.community{max-width:1200px;padding-block:32px 60px}.community .page-heading h1{font-size:32px;letter-spacing:-.045em}.community .panel,.community .post-row,.community .post-heading,.community .toolbar{background:var(--card-bg)}.community .panel{border-radius:12px;box-shadow:0 3px 16px #153c4209}.community .toolbar{padding:14px;border:1px solid var(--line);border-radius:10px}.community .post-row{padding:20px;border:1px solid var(--line);border-radius:10px;margin:10px 0;transition:border-color .15s ease}.community .post-row:hover{border-color:var(--blue);background:var(--card-bg)}.community .post-row h3{font-size:17px}.community input,.community textarea,.community select{border-radius:8px;background:var(--card-bg)}.community input:focus,.community textarea:focus,.community select:focus{outline:2px solid var(--blue);outline-offset:2px;box-shadow:none}.community .badge,.community .post-tags .badge{background:var(--tag-bg);color:var(--tag-ink)}.community .prose{max-width:850px;font-size:16px;line-height:1.9}.community .post-heading{padding:22px;border:1px solid var(--line);border-radius:12px;margin-bottom:24px}.community .replies{border-color:var(--line);margin-left:16px;padding-left:16px;background:transparent}.community .comment{background:transparent}.community .comment-avatar,.member-avatar{background:var(--tag-bg);color:var(--tag-ink)}.community button,.community .btn{border-radius:8px}.community #draft-status{color:var(--muted);font-size:12px}.site-footer{padding-block:24px;font-size:11px}.footer-logo{font-size:18px}.switch input:checked+.switch-track{background:var(--brand)}a,button{touch-action:manipulation}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}
@media(max-width:1100px){.header-inner{gap:10px}.header-inner nav{gap:18px;margin-left:8px}.logo{font-size:19px}.header-actions{gap:5px}}
@media(max-width:820px){.header-inner nav{display:none}.header-actions{margin-left:auto}.header-profile{display:none}.container{width:calc(100% - 32px)}.header-inner{height:64px}.theme-control{display:none;position:absolute;top:76px;right:28px;z-index:42;width:150px;background:var(--card-bg)}.header-inner:has(.menu-toggle[aria-expanded=true]) .theme-control{display:grid}.menu-panel{padding-top:70px;top:64px;max-height:calc(100dvh - 84px);overflow:auto}.theme-control label{min-height:40px}.notification-panel{top:64px}.header-search{min-width:40px}.logo{font-size:19px}.logo-symbol{width:30px;height:30px}.theme-thumb{width:calc((100% - 6px)/3)}.header-inner.container{width:calc(100% - 32px)}.community .post-row{padding:16px}.community .post-heading{padding:18px}.community .post-heading h1{font-size:25px;overflow-wrap:anywhere}.community .toolbar{padding:10px}.community .comment button{min-height:40px}.community .replies{margin-left:8px;padding-left:12px}.site-footer{gap:12px;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.header-inner nav a[aria-current=page]{color:var(--blue);box-shadow:inset 0 -2px var(--blue)}
:root[data-theme=dark] .community .danger,:root[data-theme=dark] .community .error,:root[data-theme=dark] .community .status.error{color:#ff9caa}

/* Official supplied wordmark: preserve original canvas, alpha and proportions. */
.logo{flex:none}.official-wordmark{display:block;width:210px;height:auto;max-width:100%;object-fit:contain}.footer-logo .official-wordmark{width:174px}:root[data-theme=dark] .official-wordmark{filter:brightness(0) invert(1)}
@media(max-width:1100px){.logo .official-wordmark{width:180px}}
@media(max-width:820px){.logo .official-wordmark{width:156px}.footer-logo .official-wordmark{width:150px}}
@media(max-width:360px){.logo .official-wordmark{width:132px}}
@media(max-width:820px){.header-inner{flex-wrap:nowrap;padding-block:0;min-height:64px}.header-actions{width:auto;flex:none}}
.halia-wordmark{display:block;width:154px;height:auto;object-fit:contain}.wordmark-dark{display:none}:root[data-theme=dark] .wordmark-light{display:none}:root[data-theme=dark] .wordmark-dark{display:block}
@media(max-width:820px){.halia-wordmark{width:126px}}
