:root {
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #17263b;
  background: #f4f7fb;
  font-synthesis: none;
  --blue: #087cf0;
  --muted: #586a80;
  --line: #dce4ee;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  display: flex;
  height: 100dvh;
  flex-direction: column;
  overflow: hidden;
}
a {
  color: #086ac9;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px max(24px, calc((100vw - 1200px) / 2));
  background: #081524;
  color: white;
  gap: 24px;
  border-bottom: 1px solid #253346;
  flex: 0 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  white-space: nowrap;
  font-size: 18px;
}
.brand strong {
  color: #43a8ff;
}
.mark {
  display: grid;
  place-items: center;
  border: 1px solid #3d7199;
  border-radius: 9px;
  width: 32px;
  height: 32px;
  margin-right: 8px;
  color: #49adff;
}
.mark img {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}
header nav a {
  color: #d3e2f1;
}
#account {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-info {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #d3e2f1;
  background: transparent;
  font-size: 14px;
}
.header-info:hover {
  color: white;
  border-color: #42617d;
  background: #10263a;
}
.header-info svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid #a7bfd6;
  border-radius: 8px;
  padding: 11px 17px;
  font-weight: 600;
  background: transparent;
  color: inherit;
  font-size: 14px;
}
.button:hover {
  text-decoration: none;
  background: #e8f2fc;
  color: #17263b;
}
.primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.primary:hover {
  background: #0668ca;
  color: white;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #69b9fc;
  font-weight: 700;
}
main {
  display: flex;
  width: 100%;
  max-width: 1248px;
  margin: auto;
  padding: 20px 24px 0;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  overflow: hidden;
}
.layout {
  display: grid;
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px;
}
.layout > aside,
#board {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.layout > aside {
  padding-right: 10px;
}
#board {
  padding-right: 6px;
}
aside h2 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted);
  margin: 4px 0 16px;
}
#categories {
  display: grid;
  gap: 5px;
}
.category {
  display: block;
  padding: 12px 14px;
  border-radius: 7px;
  color: #344b65;
  font-size: 14px;
}
.category.active {
  background: #e2effd;
  color: #086ac9;
  font-weight: 650;
}
.guidelines {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.guidelines h3 {
  color: #223b57;
  margin-top: 0;
  font-size: 14px;
}
.toolbar {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.toolbar h2 {
  font-size: 23px;
  letter-spacing: -0.03em;
  margin: 0;
}
.search {
  display: flex;
  gap: 8px;
}
.search input {
  width: 200px;
}
.quiet {
  border: 0;
  background: transparent;
  color: #086ac9;
  padding: 8px;
  border-radius: 5px;
}
.quiet:hover {
  background: #e5effa;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.topic-row {
  padding: 22px 24px;
  border-bottom: 1px solid #e8edf3;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.topic-row:last-child {
  border: 0;
}
.topic-row h3 {
  font-size: 17px;
  margin: 9px 0;
  color: #183957;
  line-height: 1.4;
}
.meta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 650;
  color: #2473ad;
  background: #edf5fd;
  padding: 3px 8px;
  border-radius: 4px;
  margin-right: 5px;
}
.answered {
  color: #147050;
  background: #e4f5eb;
}
.hidden {
  color: #90481c;
  background: #fff0de;
}
.count {
  font-size: 22px;
  color: #42607c;
  min-width: 48px;
  text-align: center;
  align-self: center;
}
.count small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
.empty {
  text-align: center;
  padding: 60px 24px;
}
.empty .symbol {
  font-size: 36px;
  color: #75a3c9;
}
.empty h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
  margin: 16px 0 10px;
}
.empty p {
  color: var(--muted);
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto 20px;
}
.post {
  padding: 26px;
  border-bottom: 1px solid var(--line);
}
.post:last-child {
  border-bottom: 0;
}
.post h2 {
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin: 14px 0;
}
.body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.75;
  font-size: 15px;
  margin: 22px 0;
}
.post.accepted {
  border-left: 4px solid #209a6d;
  background: #f6fcf8;
}
.actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.section-heading {
  font-size: 18px;
  margin: 26px 0 14px;
}
.reply-form {
  margin-top: 24px;
}
.attachments {
  padding: 16px 24px;
  display: grid;
  gap: 10px;
  font-size: 13px;
}
.upload {
  padding: 22px;
  border-top: 1px solid var(--line);
}
label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  margin: 16px 0;
}
input,
select,
textarea {
  border: 1px solid #bac9d8;
  border-radius: 7px;
  padding: 11px;
  background: white;
  color: #17263b;
  max-width: 100%;
}
textarea {
  resize: vertical;
  width: 100%;
  line-height: 1.5;
}
.pagination {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
}
.form-error,
#notice {
  color: #a92a26;
  line-height: 1.5;
}
#notice:empty {
  display: none;
}
#notice {
  background: #fff1ed;
  border: 1px solid #eabbb0;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 24px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  width: min(620px, calc(100vw - 32px));
  max-height: 90vh;
  padding: 28px;
  color: #17263b;
  box-shadow: 0 24px 100px #08152450;
}
dialog::backdrop {
  background: #071421a8;
  backdrop-filter: blur(4px);
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog-top h2 {
  margin: 0;
}
.dialog-top + p {
  color: var(--muted);
  font-size: 14px;
}
.dialog-close {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #b9c9d8;
  border-radius: 50%;
  color: #35506a;
  background: #f5f8fb;
  font-size: 16px;
  line-height: 1;
}
.dialog-close:hover {
  background: #e8f2fc;
}
.info-dialog {
  width: min(560px, calc(100vw - 32px));
  overflow: hidden;
  border-color: #8eb9db;
  background: linear-gradient(145deg, #ffffff, #edf5fd);
}
.info-dialog .dialog-top {
  align-items: flex-start;
  gap: 24px;
}
.info-dialog h2 {
  margin: 12px 0 0;
  color: #071524;
  font-size: clamp(31px, 6vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.info-dialog h2 span {
  color: #087cf0;
}
.info-dialog > p {
  max-width: 470px;
  margin: 22px 0;
  color: #40566c;
  font-size: 16px;
  line-height: 1.65;
}
.info-dialog small {
  display: block;
  margin-top: 22px;
  color: #60758a;
}
.info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
footer {
  border-top: 1px solid var(--line);
  padding: 12px max(24px, calc((100vw - 1200px) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  flex: 0 0 auto;
}
.skip {
  position: absolute;
  left: 10px;
  top: -100px;
  background: white;
  padding: 12px;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
ul {
  padding-left: 20px;
}
li {
  line-height: 1.7;
}
.back {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 13px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
td,
th {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.admin-section {
  padding: 20px;
  overflow: auto;
}
@media (max-width: 760px) {
  body {
    display: block;
    height: auto;
    min-height: 100dvh;
    overflow: auto;
  }
  header {
    align-items: flex-start;
    padding: 16px 20px;
  }
  header nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  header nav > a:nth-child(2) {
    display: none;
  }
  #account {
    font-size: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .brand {
    font-size: 15px;
  }
  .layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  main {
    display: block;
    min-height: 420px;
    overflow: visible;
  }
  .layout > aside,
  #board {
    overflow: visible;
    scrollbar-gutter: auto;
  }
  .layout > aside,
  #board {
    padding-right: 0;
  }
  .guidelines {
    display: none;
  }
  #categories {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }
  .category {
    padding: 9px 11px;
  }
  .toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .search {
    width: 100%;
  }
  .search input {
    flex: 1;
    min-width: 0;
  }
  .topic-row {
    padding: 18px;
  }
  .post {
    padding: 20px;
  }
  footer {
    gap: 20px;
  }
  .header-info {
    padding: 7px;
  }
}
.guide-link {
  margin-bottom: 16px;
}
.guide-body {
  white-space: normal;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.guide-body h3 {
  margin: 30px 0 10px;
  scroll-margin-top: 20px;
}
.guide-body p {
  margin: 0 0 16px;
}
.guide-body li {
  margin: 9px 0;
}
.guide-body ol,
.guide-body ul {
  padding-left: 25px;
}
.guide-toc {
  display: block;
  margin-top: 24px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.guide-toc ul {
  margin-bottom: 0;
}
.guide-body figure {
  margin: 28px 0;
}
.guide-body img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.guide-body figcaption {
  font-size: 13px;
  margin-top: 10px;
  color: var(--muted);
}
.guide-related {
  display: block;
  border-top: 1px solid var(--line);
  margin-top: 32px;
}

/* Match the company account pill without sharing tokens between origins. */
#account{display:flex;align-items:center;gap:10px;min-width:0;flex-wrap:wrap}
.club-user-widget{display:inline-flex;align-items:stretch;max-width:100%;border:1px solid #438565;border-radius:999px;background:#06252a;color:#e5f4ec;overflow:hidden}
.club-user-menu{display:flex;align-items:center;gap:8px;min-width:0;padding:6px 12px 6px 7px;color:inherit;text-decoration:none}
.club-user-menu:hover{text-decoration:none;background:#113b36}
.club-user-avatar{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border:2px solid #62d995;border-radius:50%;color:#62d995;font-size:12px;font-weight:800}
.club-user-copy{display:grid;min-width:0;line-height:1.2}.club-user-copy strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:150px;font-size:13px}.club-user-copy small{font-size:9px;letter-spacing:.12em;color:#95dfb2;font-weight:750}
.club-user-signout{flex-shrink:0;min-height:44px;padding:8px 12px;border:0;border-left:1px solid #438565;background:transparent;color:#bed4cf;font-size:11px;font-weight:700;cursor:pointer}.club-user-signout:hover{background:#113b36}
.club-user-copy small{white-space:nowrap}
.club-user-menu{border:0;background:transparent;font:inherit;cursor:pointer}
.club-user-dollar{display:grid;width:30px;height:30px;flex-shrink:0;place-items:center;border:2px solid #4ade80;border-radius:50%;color:#4ade80;background:rgb(20 83 45/42%);font-size:22px;font-weight:900;line-height:1}
.account-dialog{position:fixed;inset:80px 16px auto auto;margin:0;max-width:calc(100vw - 32px);width:320px;background:#071b26;color:#fff;border:1px solid #438565;border-radius:16px;padding:20px}
.account-dialog::backdrop{background:rgb(3 18 30/20%)}
.account-dialog h2{color:#86efac;font-size:18px}.account-dialog p{overflow-wrap:anywhere}
.account-dialog nav{display:grid;gap:12px}.account-dialog a{color:#d9f5e7}.account-dialog button{color:#fff}
.club-user-widget{position:relative;overflow:visible}.community-notification-badge{position:absolute;left:-6px;top:-8px;padding:2px 6px;border-radius:20px;background:#d53242;color:white;font:bold 11px/1.5 system-ui}.community-notification-badge[hidden]{display:none}
.community-notifications{flex:0 0 auto;padding:10px 16px;margin:8px 16px;border:1px solid #7894ab;border-radius:9px;background:#fff;color:#17263b;font-size:14px}.community-notifications summary{cursor:pointer;font-weight:700;min-height:28px}.community-notifications>div{max-height:35vh;overflow:auto;padding-top:10px}.community-notifications ul{list-style:none;padding:0}.community-notifications li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;border-top:1px solid #dce4ee}.community-notifications li a{overflow-wrap:anywhere}.community-notifications button{flex-shrink:0;min-height:40px}
@media(max-width:600px){.community-notifications li{align-items:flex-start;flex-direction:column;gap:6px}}
@media(max-width:600px){header{flex-wrap:wrap;gap:12px}header nav{flex:1 1 100%;min-width:0;max-width:100%;flex-wrap:wrap}#account{max-width:100%;flex-basis:100%}.club-user-copy strong{max-width:130px}}
