@font-face {font-family:Onest;src:url('/static/vendor/onest/Onest-Regular.ttf?v=1') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face {font-family:Onest;src:url('/static/vendor/onest/Onest-SemiBold.ttf?v=1') format('truetype');font-style:normal;font-weight:600 800;font-display:swap}
/* Quiet site theme. Loaded last to keep page-specific controls intact. */
:root {
  --bg:#111214; --surface:#17181b; --surface-2:#1d1e22; --surface-3:#24252a;
  --line:#2d2e33; --text:#e9e9e7; --muted:#a0a1a8;
  --accent:#ffa53e; --ember:#ffa53e; --red:#ffa53e; --red-hover:#ffb65f;
}
html {scroll-behavior:auto; color-scheme:dark}
body, body.auth-page {background:var(--bg); color:var(--text); font-family:Onest,Arial,sans-serif; font-size:14px; letter-spacing:-.012em; min-height:100svh}
body::before, body::after {display:none}
button,input,select,textarea {font-family:inherit}
.wrap {width:min(1080px,calc(100% - 64px))}
.topbar {padding:0; background:transparent; border:0; box-shadow:none; backdrop-filter:none}
.topbar-inner {width:min(1080px,calc(100% - 64px)); max-width:none; min-height:84px; padding:0; border:0; border-bottom:1px solid var(--line); border-radius:0; background:transparent; box-shadow:none}
.brand {gap:9px; font-size:20px; font-weight:600; letter-spacing:-.055em}
.brand img {display:block; width:30px; height:30px; border-radius:0; object-fit:contain}
.brand-dot {color:var(--accent)}
.nav {gap:8px}
.nav>a,.nav-more-trigger,.nav .nav-join {font-size:12px; padding:8px 11px; border:0; border-radius:5px; font-weight:400; background:transparent; color:#a7a8af}
.nav>a>i,.nav-more-trigger>i:first-child {display:none}
.nav>a:hover,.nav>a.active,.nav-more-trigger:hover,.nav-more-trigger[aria-expanded=true] {background:#ffffff07; border-color:transparent; color:var(--text)}
.nav .nav-join {color:var(--text); margin-left:0}
.nav .nav-join:hover {background:#ffffff07}
.nav-more-panel,.site-select-popup {border:1px solid var(--line); border-radius:7px; background:#1a1b1e; box-shadow:0 12px 30px #0003; backdrop-filter:none}
.nav-more-panel>a,.nav-more-panel .nav-logout,.site-select-option {border-radius:4px}
.nav-more-panel>a:hover,.nav-more-panel .nav-logout:hover,.site-select-option.is-active {background:#ffffff08; color:var(--text)}
.site-select-option[aria-selected=true] {background:#ffa53e14; color:var(--accent)}
.minimal-home {display:flex; flex:1; align-items:center; justify-content:center; min-height:0; padding:100px 0 120px}
.minimal-entry {display:flex; flex-direction:column; align-items:flex-start; text-align:left; width:auto; padding:0; margin:0; transform:translateY(-14px)}
.minimal-entry h1 {font-size:clamp(68px,11vw,116px); line-height:1.1; font-weight:600; letter-spacing:-.075em; margin:0; color:#eeefec; animation:none}
.minimal-entry h1 span {color:var(--accent)}
.minimal-actions {display:flex; align-items:center; justify-content:flex-start; gap:28px; margin-top:34px; animation:none}
.button,.minimal-actions .button {display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:42px; min-width:0; padding:11px 18px; border-radius:5px; font-size:12px; font-weight:600; letter-spacing:0; box-shadow:none; clip-path:none}
.button:hover,.button:active {transform:none; box-shadow:none}
.button-red {background:var(--accent); border:1px solid var(--accent); color:#191714}
.button-red:hover {background:var(--red-hover); border-color:var(--red-hover); color:#191714; box-shadow:none}
.button-outline {background:transparent; border:1px solid #3b3c42; color:#d1d2d5}
.button-outline:hover {background:#ffffff05; border-color:#68696f; color:var(--text)}
.home-secondary {font-size:12px; color:#a4a5ad; padding:12px 0; text-underline-offset:5px}
.home-secondary:hover {color:var(--text); text-decoration:underline}
.button:focus-visible,a:focus-visible,button:focus-visible,summary:focus-visible {outline:2px solid var(--accent); outline-offset:4px}
.footer {background:transparent; border:0; padding:0; backdrop-filter:none}
.footer-inner {min-height:78px; border-top:1px solid var(--line); font-size:11px; color:#9a9ba3; gap:24px}
.footer-links a {color:#a2a3ab}
.footer-links a:hover {color:var(--text)}
.footer-inner>.footer-links {gap:22px}
.language-switch {gap:5px}
.language-switch>i {display:none}
.language-switch button {font-size:11px; border:0; background:transparent; padding:8px 5px; color:#92939b; border-radius:3px; min-height:34px; min-width:30px}
.language-switch button.selected {background:transparent; border:0; color:#ededeb}
.language-switch button:hover {color:var(--text)}
.auth-shell {width:min(390px,calc(100% - 40px)); flex:1; min-height:0; padding:64px 0 80px}
.auth-panel {padding:0; border:0; border-radius:0; background:transparent; box-shadow:none}
.auth-panel h1 {font-size:29px; font-weight:600; letter-spacing:-.045em; margin:0 0 28px}
.auth-panel .panel-sub {font-size:12px; color:var(--muted); margin:-15px 0 28px}
.stack-form {gap:18px}
.stack-form label {font-size:12px; color:#b6b7bd}
input:not([type=checkbox]):not([type=radio]),textarea,select,.site-select-trigger {border-radius:5px; background:#151619; border-color:#36373d; color:var(--text)}
input:focus,textarea:focus,select:focus,.site-select-trigger:focus-visible {border-color:var(--accent); box-shadow:0 0 0 2px #ffa53e12; outline:0}
.stack-form input:not([type=checkbox]) {min-height:44px; font-size:14px}
.auth-switch {margin-top:24px; font-size:12px; color:var(--muted)}
.auth-switch a {color:var(--text); text-decoration-color:#55565c}
.auth-panel .form-submit>i {display:none}
.side-card,.ticket-form,.ticket-detail-head,.ticket-message,.client-panel,.market-card,.member-card,.post,.welcome,.settings-card,.compose-form {border-radius:7px; border-color:var(--line); box-shadow:none; background:var(--surface)}
.community {padding-top:40px}
.forum-head h1,.legal h1 {font-size:29px; letter-spacing:-.045em; font-weight:600}
.forum-head h1>span,.profile-page-head h1>span {display:none}
.section-label {border:0; border-bottom:1px solid var(--line); border-radius:0; background:transparent; padding:12px 0; margin-bottom:0; color:#a9aab1; font-size:11px; letter-spacing:0}
.category-list,.thread-list {display:grid; gap:0; border:1px solid var(--line); border-radius:7px; overflow:hidden; background:var(--surface)}
.category-card,.thread-row,.category-card:last-child,.thread-row:last-child {border:0; border-bottom:1px solid var(--line); border-radius:0; background:transparent}
.category-card:last-child,.thread-row:last-child {border-bottom:0}
.category-card:hover,.thread-row:hover {background:#ffffff03}
.category-icon,.thread-pin {border:0; border-radius:4px; background:transparent; color:#909198}
.forum-search input,.forum-search button {border-radius:5px}
.forum-search button {background:#202125; border:1px solid var(--line)}
.member-card-banner {background:#212226}
.settings-card .section-label {border-radius:0}
.file-picker,.loader-transfer,.flash,.cloud-import {border-radius:6px}
.file-picker {background:transparent}
.card-copy {color:var(--muted); line-height:1.65}
.quiet-help {margin-top:24px; padding:16px 20px}
.quiet-help>summary {cursor:pointer; font-size:12px; color:#babac1}
.quiet-help .card-copy {font-size:12px; max-width:650px; margin-bottom:0}
.quiet-reveal {animation:none!important}
.fall-layer {display:none!important}
@media(min-width:681px) {.home-page .nav>a[href='/login'] {display:none}}
@media(max-width:800px) {.nav {gap:2px}.nav>a,.nav-more-trigger {font-size:11px; padding:8px}}
@media(max-width:680px) {
  .wrap,.topbar-inner {width:calc(100% - 40px)}
  .topbar-inner {min-height:72px; padding:0; border-radius:0}
  .nav-toggle {width:40px; height:40px; border:0; border-radius:4px; background:transparent; color:#b7b8be}
  .topbar .nav {top:calc(100% + 8px)}
  .topbar .nav.is-open {border-radius:6px; background:#191a1d; border-color:var(--line); box-shadow:0 12px 28px #0003}
  .topbar .nav .nav-join {background:transparent}
  .minimal-home {padding:80px 0 100px}
  .minimal-entry {transform:none}
  .minimal-entry h1 {font-size:clamp(60px,15vw,96px)}
  .minimal-actions {margin-top:28px; gap:24px}
  .minimal-actions .button {min-width:110px; min-height:44px; padding:11px 16px}
  .home-secondary {padding:14px 0}
  .footer-inner {padding:18px 0; min-height:90px; justify-content:space-between; gap:8px 16px; flex-wrap:wrap}
  .footer-inner>.footer-links {gap:16px}
  .auth-shell {width:calc(100% - 48px); max-width:390px; padding:48px 0 64px}
  .auth-panel {padding:0; border-radius:0}
  .community {padding-top:28px}
  .settings-card {padding:20px}
  .quiet-help {padding:16px}
}
@media(max-width:400px) {
  .footer-inner>.footer-links {order:3; width:100%; justify-content:flex-start; padding-top:3px}
  .footer-inner {padding:14px 0; gap:6px 12px}
}
@media(prefers-reduced-motion:reduce) {* {scroll-behavior:auto!important}}

/* Original brand mark and matching action color. */
.minimal-mark {display:block; width:68px; height:68px; margin:0 0 22px; align-self:center; filter:none; animation:none}
@media(max-width:680px) {.minimal-mark {width:56px; height:56px; margin-bottom:20px}}

/* Centered entry actions and a compact client workspace. */
.minimal-entry {align-items:center; text-align:center}
.minimal-actions {justify-content:center; gap:12px; width:100%}
.minimal-actions .button {min-width:142px; font-size:13px; font-weight:400}
.minimal-actions .button-outline {border-color:#ffa53e66; color:var(--accent)}
.minimal-actions .button-outline:hover {background:#ffa53e0a; border-color:var(--accent)}
.mc-page {padding-top:44px; padding-bottom:64px; flex:1}
.mc-heading {display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:28px}
.mc-heading h1 {font-size:32px; line-height:1.2; font-weight:600; letter-spacing:-.045em; margin:0}
.mc-heading .button {min-height:42px}
.mc-overview {display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:28px}
.mc-panel {min-width:0; background:#161719; border:1px solid var(--line); border-radius:8px}
.mc-account {display:flex; gap:16px; align-items:center; padding:24px}
.mc-account .mc-avatar {flex:none; width:52px; height:52px; margin:0; padding:0; border:1px solid #494037; background:#25211c; color:var(--accent); border-radius:50%; font-size:21px; display:grid; place-items:center; overflow:hidden}
.mc-avatar img {width:100%; height:100%; object-fit:cover}
.mc-account-name {min-width:0; flex:1}
.mc-account h2 {margin:0 0 3px; font-size:20px; line-height:1.3; font-weight:600; overflow-wrap:anywhere}
.mc-role {font-size:12px; color:var(--muted)}
.mc-account .account-secondary-roles {margin-top:8px}
.mc-icon-link {flex:none; display:grid; place-items:center; width:38px; height:38px; border:1px solid var(--line); border-radius:5px; color:#a7a8ae; font-size:19px}
.mc-icon-link:hover {background:#ffffff06; color:var(--text); border-color:#515258}
.mc-device {padding:22px 24px}
.mc-device-main {display:flex; align-items:center; gap:14px; min-width:0}
.mc-device-main>i {font-size:26px; color:#92939a}
.mc-device-main>div {min-width:0; flex:1}
.mc-label {display:block; font-size:11px; color:var(--muted); margin-bottom:3px}
.mc-device h2 {font-size:15px; font-weight:400; margin:0; overflow-wrap:anywhere}
.mc-device-meta {display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; margin-top:18px; font-size:11px; color:var(--muted)}
.mc-device-meta strong {font-weight:400; color:var(--text); margin-left:5px}
.mc-device-meta a {display:inline-flex; align-items:center; gap:4px; color:#b7b8be}
.mc-device-meta a i {transform:rotate(45deg); font-size:15px}
.mc-note {font-size:11px; line-height:1.6; color:var(--muted); margin:12px 0 0}
.mc-workspace {display:grid; grid-template-columns:minmax(0,1fr) 256px; gap:20px; align-items:start}
.mc-section-head {display:flex; align-items:center; justify-content:space-between; gap:16px; padding:22px 24px; border-bottom:1px solid var(--line)}
.mc-section-head h2 {display:flex; align-items:center; gap:10px; margin:0; font-size:17px; font-weight:600; letter-spacing:-.02em}
.mc-count {display:inline-grid; place-items:center; min-width:23px; min-height:23px; padding:0 6px; border:1px solid var(--line); border-radius:4px; color:#a4a5ac; font-size:11px; font-weight:400; letter-spacing:0}
.mc-text-link {display:inline-flex; align-items:center; gap:6px; color:#b9b9bf; font-size:12px}
.mc-text-link i {font-size:18px}
.mc-text-link:hover,.mc-device-meta a:hover {color:var(--accent)}
.mc-config-list {padding:0 24px}
.mc-config {display:flex; align-items:center; gap:15px; padding:20px 0; min-width:0; border-bottom:1px solid var(--line)}
.mc-config:last-child {border-bottom:0}
.mc-config-icon {flex:none; font-size:22px; color:#a4a5ab}
.mc-config-name {flex:1; min-width:0}
.mc-config-name strong {display:block; font-size:13px; font-weight:400; color:#e1e1e2; overflow-wrap:anywhere}
.mc-config-name>span {display:block; font-size:11px; margin-top:5px; color:#93949c}
.mc-revision {font-size:11px; color:#8f9098; flex:none}
.mc-config>i:last-child {font-size:19px; color:#686970; flex:none}
.mc-config:hover .mc-config-name strong,.mc-config:hover>i {color:var(--accent)}
.mc-empty {text-align:center; padding:45px 24px 43px}
.mc-empty>i {font-size:29px; color:#73747c; margin-bottom:10px}
.mc-empty h3 {font-size:14px; font-weight:400; margin:0 0 8px}
.mc-empty p {font-size:12px; line-height:1.65; color:#92939b; margin:0 auto; max-width:310px}
.mc-import {border-top:1px solid var(--line)}
.mc-import>summary {display:flex; align-items:center; gap:9px; padding:17px 24px; font-size:12px; color:#b8b8bf; cursor:pointer; list-style:none; user-select:none}
.mc-import>summary::-webkit-details-marker {display:none}
.mc-import>summary i {font-size:17px}
.mc-import>summary i:last-child {margin-left:auto; color:#8d8e95; transition:transform .15s}
.mc-import[open]>summary i:last-child {transform:rotate(45deg)}
.mc-import>summary:hover {color:var(--accent)}
.mc-import .stack-form {padding:4px 24px 24px; max-width:450px}
.mc-import .mc-note {margin:0}
.mc-import .button {justify-self:start}
.mc-sidebar {min-width:0}
.mc-tools {padding:20px 0 8px}
.mc-tools h2 {font-size:13px; font-weight:600; margin:0 20px 14px; color:#b7b8be}
.mc-tools>a {display:flex; align-items:center; gap:10px; padding:13px 20px; font-size:12px; color:#c2c3c8}
.mc-tools>a:hover {background:#ffffff03; color:var(--accent)}
.mc-tools>a>i {font-size:18px; color:#888990}
.mc-tools>a>i:last-child {margin-left:auto; font-size:16px}
.mc-help {padding:18px 4px 0; font-size:11px; color:#9d9ea5}
.mc-help summary {display:flex; align-items:center; justify-content:space-between; gap:12px; list-style:none; cursor:pointer}
.mc-help summary::-webkit-details-marker {display:none}
.mc-help summary i {font-size:16px}
.mc-help[open] summary i {transform:rotate(180deg)}
.mc-help p {line-height:1.7; margin:12px 0 0}
.mc-support {display:flex; align-items:center; gap:9px; margin-top:20px; padding:18px 4px 0; border-top:1px solid var(--line); color:#9d9ea5; font-size:12px}
.mc-support>i {font-size:17px}
.mc-support>i:last-child {margin-left:auto}
@media(max-width:800px) {.mc-workspace {grid-template-columns:minmax(0,1fr) 220px; gap:16px}.mc-account {padding:20px}.mc-device {padding:20px}}
@media(max-width:680px) {
  .minimal-actions .button {min-width:126px}
  .mc-page {padding-top:30px; padding-bottom:40px}
  .mc-heading {align-items:flex-start; gap:14px; margin-bottom:22px}
  .mc-heading h1 {font-size:27px; padding-top:4px}
  .mc-heading .button {font-size:11px; padding:11px 13px; gap:7px}
  .mc-overview {grid-template-columns:1fr; gap:12px; margin-bottom:20px}
  .mc-account {padding:20px; gap:14px}
  .mc-device {padding:18px 20px}
  .mc-workspace {grid-template-columns:1fr; gap:20px}
  .mc-section-head {padding:19px 20px}
  .mc-config-list {padding:0 20px}
  .mc-config {gap:12px; padding:19px 0}
  .mc-empty {padding:35px 20px}
  .mc-import>summary {padding:16px 20px}
  .mc-import .stack-form {padding:4px 20px 20px}
  .mc-tools {padding-top:18px}
  .mc-help {padding-top:16px}
}
@media(max-width:360px) {.mc-heading {flex-direction:column}.minimal-actions .button {min-width:116px}}
