*{box-sizing:border-box}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font:15px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
main{
  max-width:760px;
  margin:0 auto;
  padding:28px 20px 48px;
}
header{
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:space-between;
  margin-bottom:24px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.brand-logo-img{
  width:36px;
  height:36px;
  object-fit:contain;
  border-radius:10px;
  background:#000000;
  border:1px solid rgba(255,255,255,0.14);
  padding:2px;
  box-shadow:0 0 16px rgba(14,165,233,0.3);
}
.brand-icon{
  width:32px;
  height:32px;
  border-radius:10px;
  background:linear-gradient(135deg, #0ea5e9, #38bdf8);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight:bold;
  font-size:17px;
  box-shadow:0 2px 8px rgba(14,165,233,0.3);
}
h1{
  font-size:22px;
  font-weight:700;
  margin:0;
  letter-spacing:-0.2px;
}
.subtitle{
  color:var(--muted);
  font-size:13px;
  margin:4px 0 0;
}
select{
  font:inherit;
  color:var(--text);
  background:var(--card);
  border:1px solid var(--border);
  border-radius:12px;
  padding:8px 14px;
  cursor:pointer;
  outline:none;
}
.tab-bar{
  display:flex;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:9999px;
  padding:4px;
  margin-bottom:24px;
  gap:4px;
}
.tab-btn{
  flex:1;
  padding:10px 16px;
  font:inherit;
  font-size:14px;
  font-weight:600;
  border:none;
  border-radius:9999px;
  background:transparent;
  color:var(--muted);
  cursor:pointer;
  transition:all .18s ease;
  text-align:center;
}
.tab-btn.active{
  background:var(--text);
  color:var(--bg);
  box-shadow:0 2px 8px rgba(0,0,0,0.12);
}
.doc-section{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  padding:20px 22px;
  margin-bottom:16px;
  transition:border-color .2s;
}
.doc-section:hover{
  border-color:rgba(255,255,255,0.18);
}
.doc-title{
  color:var(--primary);
  font-size:15.5px;
  font-weight:700;
  margin:0 0 8px 0;
  letter-spacing:0.1px;
}
.doc-content{
  color:var(--text);
  font-size:14px;
  line-height:1.75;
  margin:0;
  opacity:0.92;
  word-break:break-word;
}
footer{
  margin-top:36px;
  padding-top:24px;
  border-top:1px solid var(--border);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  color:var(--muted);
  font-size:13px;
  text-align:center;
}
.footer-links{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  justify-content:center;
}
a{
  color:var(--primary);
  text-decoration:none;
  transition:opacity .15s;
}
a:hover{
  opacity:0.8;
  text-decoration:underline;
}
.badge-updated{
  display:inline-block;
  background:rgba(14,165,233,0.12);
  color:var(--primary);
  border-radius:9999px;
  padding:3px 10px;
  font-size:12px;
  font-weight:500;
  margin-bottom:18px;
}

