* { box-sizing: border-box; }
body { margin: 0; font-family: "Noto Sans TC", system-ui, sans-serif; background: #f5f6f8; color: #1f2430; }
nav { display: flex; align-items: center; gap: 1.2rem; background: #1f2430; color: #fff; padding: 0.6rem 1.2rem; }
nav .brand { font-weight: 700; margin-right: 1rem; }
nav a { color: #cfd6e4; text-decoration: none; }
nav a:hover { color: #fff; }
nav .right { margin-left: auto; }
main { max-width: 1100px; margin: 1.5rem auto; padding: 0 1rem; }
h1 { font-size: 1.4rem; display: flex; align-items: center; gap: 1rem; }
h2 { font-size: 1.1rem; margin-top: 2rem; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
th, td { padding: 0.5rem 0.7rem; text-align: left; border-bottom: 1px solid #edf0f4; font-size: 0.88rem; }
th { background: #eef1f6; font-weight: 600; }
code { background: #eef1f6; padding: 0.1rem 0.3rem; border-radius: 4px; font-size: 0.85em; }
pre { background: #1f2430; color: #d8e0ee; padding: 1rem; border-radius: 8px; overflow-x: auto; font-size: 0.85rem; }
.token-display { font-size: 1rem; user-select: all; }
.stats { display: flex; gap: 1rem; flex-wrap: wrap; }
.stat { background: #fff; border-radius: 8px; padding: 1rem 1.4rem; box-shadow: 0 1px 3px rgba(0,0,0,.08); min-width: 140px; }
.stat .num { font-size: 1.6rem; font-weight: 700; }
.muted { color: #7a8496; }
.small { font-size: 0.8rem; }
.ok { color: #1a7f37; }
.error { color: #c0392b; }
.pending { color: #b7791f; font-weight: 600; }
.sim-banner { background: #5b3b8c; color: #fff; text-align: center; padding: 0.4rem; font-size: 0.9rem; }
.sim-banner button.link { color: #ffd54d; }
.member { display: inline-flex; align-items: center; gap: 0.1rem; background: #eef1f6; border-radius: 12px; padding: 0.1rem 0.5rem; margin: 0.1rem; font-size: 0.82rem; white-space: nowrap; }
.member button.link { color: #c0392b; text-decoration: none; }
.warn-box { background: #fff8e1; border: 1px solid #f0d264; border-radius: 8px; padding: 0.5rem 1rem; }
.login-box { max-width: 360px; margin: 8vh auto; background: #fff; padding: 2rem; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.1); }
.form-card { background: #fff; padding: 1.2rem; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.08); max-width: 560px; }
label { display: block; margin: 0.7rem 0; font-size: 0.9rem; }
label.checkbox { margin: 0.3rem 0; }
input[type=text], input[type=password], input[type=date], input[type=number], input:not([type]), textarea, select {
  width: 100%; padding: 0.45rem 0.6rem; border: 1px solid #ccd3de; border-radius: 6px; margin-top: 0.2rem; font-size: 0.9rem; font-family: inherit;
}
.row { display: flex; gap: 1rem; align-items: end; flex-wrap: wrap; }
.row label { flex: 0 1 10rem; }
.test-output { white-space: pre-wrap; min-height: 4rem; }
.divider { text-align: center; color: #7a8496; margin: 1rem 0; font-size: 0.85rem; }
.gitlab-btn { display: block; text-align: center; background: #fc6d26; }
.test-output.think { background: #3a4152; color: #9aa5b8; font-size: 0.78rem; min-height: 0; max-height: 14rem; overflow-y: auto; }
label.checkbox input { width: auto; }
fieldset { border: 1px solid #ccd3de; border-radius: 6px; margin: 0.7rem 0; }
button { background: #2456d6; color: #fff; border: 0; border-radius: 6px; padding: 0.45rem 1rem; cursor: pointer; font-size: 0.9rem; }
button:hover { filter: brightness(1.1); }
button.danger { background: #c0392b; }
button.link { background: none; color: #cfd6e4; padding: 0; text-decoration: underline; }
.btn { background: #2456d6; color: #fff !important; border-radius: 6px; padding: 0.3rem 0.8rem; text-decoration: none; font-size: 0.85rem; font-weight: 400; }
form.inline { display: inline-flex; gap: 0.4rem; align-items: center; }
form.inline input { width: 9rem; }
