:root{color-scheme:light;--ink:#16233a;--muted:#536078;--canvas:#f3f5fa;--line:#dce2ee;--blue:#1742a6;--deep:#0e2869;--tint:#ecf1fd;--green:#14634b;font-family:"Inter","Noto Sans SC","Microsoft YaHei",system-ui,sans-serif}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;min-height:100vh;background:var(--canvas);color:var(--ink);line-height:1.56;font-size:14px}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #4976db;outline-offset:3px}
h1,h2,h3,p{margin-top:0;overflow-wrap:anywhere}
h1{font-size:clamp(34px,5vw,58px);font-weight:800;line-height:1.12;letter-spacing:-.045em;margin-bottom:12px}
h2{font-size:20px;line-height:1.35;margin-bottom:14px}
h3{font-size:17px;line-height:1.4;margin-bottom:6px}
p{margin-bottom:14px}
.shell,.header-inner{max-width:1400px;width:calc(100% - 96px);margin:auto}
.topbar{background:#fff;border-bottom:1px solid var(--line)}
.header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:inline-flex;gap:10px;align-items:center;font-weight:850;font-size:22px;letter-spacing:-.06em;color:var(--ink);white-space:nowrap}
.brand:hover,.navigation a:hover,.button:hover,.link-row:hover,.member-card:hover,.directory a:hover,.week-tabs a:hover{text-decoration:none}
.brand-symbol{width:31px;height:31px;display:flex;align-items:flex-end;justify-content:center;gap:3px;background:var(--deep);padding:7px;border-radius:7px;transform:rotate(-7deg)}
.brand-symbol i{width:4px;background:#dce7ff;border-radius:1px;height:65%}.brand-symbol i:nth-child(2){height:95%}.brand-symbol i:nth-child(3){height:48%}
.navigation{display:flex;align-self:stretch;gap:7px;align-items:center}
.navigation a{display:grid;gap:1px;padding:8px 13px;color:var(--muted);font-weight:750;border-radius:8px;font-size:13px;text-align:center;white-space:nowrap}
.navigation small{font-size:10px;font-weight:500}.navigation a[aria-current]{background:var(--tint);color:var(--blue)}
.avatar{width:40px;height:40px;display:grid;place-items:center;flex-shrink:0;border-radius:12px;background:#dbe6ff;color:var(--deep);font-weight:800}
.big-avatar{width:66px;height:66px;font-size:29px}.site-footer{margin-top:62px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.site-footer>div{display:flex;justify-content:space-between;padding:21px 0}
.hero{display:grid;grid-template-columns:1.3fr .7fr;align-items:center;min-height:495px;background:#e8eefb;border:1px solid #d7e2f9;margin:42px 0 44px;padding:54px 64px;gap:45px;border-radius:19px}
.hero h1{font-size:clamp(48px,6vw,90px);letter-spacing:-.078em;margin:20px 0 18px}.hero h1 span{color:#2d57ae}.hero p{max-width:460px;color:#3e4f72;font-size:16px;margin-bottom:26px}
.cover{max-width:400px;width:100%;aspect-ratio:1 / 1.05;padding:24px 26px;display:flex;flex-direction:column;justify-content:space-between;align-self:center;justify-self:end;background:#133676;color:#f2f5ff;border-radius:7px;box-shadow:0 20px 35px #162c632d;border-left:10px solid #0b244e}
.cover-top{display:flex;align-items:center;justify-content:space-between;font-size:24px;font-weight:800;gap:8px}.cover-top span{font-size:9px;font-weight:600;letter-spacing:.09em;color:#dae5ff}.cover-bottom{font-size:clamp(21px,3vw,40px);letter-spacing:-.05em;font-weight:800;line-height:1.15}
.cover-bars{display:flex;align-items:flex-end;height:36%;gap:7px;transform:skewY(-13deg);margin:4% 0 6%;padding-bottom:7px;border-bottom:1px solid #d6e3ff7d}
.cover-bars i{display:block;background:#9bb9ff;flex:1;height:43%;border-radius:2px}.cover-bars i:nth-child(2){height:67%}.cover-bars i:nth-child(3){height:56%;background:#dfeaff}.cover-bars i:nth-child(4){height:86%}.cover-bars i:nth-child(5){height:76%;background:#dfeaff}.cover-bars i:nth-child(6){height:97%}.cover-bars i:nth-child(7){height:70%;background:#dfeaff}
.eyebrow{font-size:11px;letter-spacing:.14em;font-weight:850;color:var(--blue);display:flex;align-items:center;gap:7px;margin-bottom:8px}
.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#4674dd}.dot.todo{background:#8793aa}.dot.doing{background:#3269df}.dot.waiting{background:#ad6a00}.dot.done{background:#288166}
.section-header,.page-head,.card-top,.file-line{display:flex;justify-content:space-between;align-items:center;gap:14px}
.section-header h2,.section-header p,.page-head p{margin-bottom:0}.section-header>span{color:var(--muted)}.page-head{margin:44px 0 24px;align-items:flex-end}.page-head p{color:var(--muted);font-size:15px}
.schedule-grid,.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:15px}
.milestone,.panel,.task-card,.auth-panel{background:#fff;border:1px solid var(--line);border-radius:13px}
.milestone{padding:19px 21px}.milestone p{color:var(--muted);margin:0}.week-number{font-weight:800;color:var(--blue);font-size:11px}.milestone h3{margin-top:5px}
.button,button{font:inherit;font-weight:710;padding:9px 14px;border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:8px;cursor:pointer;display:inline-flex;gap:9px;align-items:center;justify-content:center;text-align:center;line-height:1.4}
.button:hover,button:hover{background:#e8eef9}.button.primary,button.primary{background:var(--blue);border-color:var(--blue);color:#fff}.primary:hover{background:var(--deep)}.outline{background:#fff}.danger{color:#9d2525}
.muted,.meta{color:var(--muted)}.meta{font-size:12px}.tag,.count{font-size:11px;display:inline-flex;align-items:center;padding:2px 8px;border-radius:6px;background:#edf0f6;color:#455472;white-space:nowrap}.tag.green{background:#e9f5ef;color:#14634b}.tag.yellow{background:#f9eedb;color:#815000}.tag.red{background:#ffedef;color:#a5223f}
.week-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-bottom:15px}
.week-tabs a{background:#fff;border:1px solid var(--line);padding:12px;border-radius:10px;display:grid;gap:3px;color:var(--ink)}.week-tabs a span{font-size:11px;color:var(--muted)}.week-tabs a[aria-current]{background:var(--deep);color:#fff;border-color:var(--deep)}.week-tabs a[aria-current] span{color:#dbe7ff}
.board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.lane{background:#e9edf5;border:1px solid var(--line);border-radius:13px;padding:11px;min-width:0}.lane h2{display:flex;align-items:center;gap:8px;font-size:15px;padding:4px 3px;margin:0 0 8px}.count{margin-left:auto}
.task-card{padding:14px;margin-top:8px}.task-card h3{margin-top:9px}.task-card p{font-size:13px;color:#475873}.card-top{color:var(--muted);font-size:11px}.lane-empty{padding:24px 7px;color:var(--muted);text-align:center;font-size:12px}
.callout{background:var(--tint);padding:9px 12px;border-radius:8px;margin:8px 0;overflow-wrap:anywhere}.callout p{margin:5px 0}.evidence{display:inline-block;margin:7px 0;overflow-wrap:anywhere}
.panel{padding:20px;min-width:0}.release{margin-bottom:35px}.file-layout{display:grid;grid-template-columns:minmax(190px,235px) minmax(0,1fr);gap:15px;align-items:start}.directory nav{display:grid;gap:3px;margin-bottom:10px}.directory a{display:grid;padding:9px 11px;border-radius:8px;color:var(--ink);overflow-wrap:anywhere}.directory a[aria-current],.directory a:hover{background:var(--tint);color:var(--blue)}.directory small,.file-name small{color:var(--muted)}
.file-line{padding:12px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.link-row{justify-content:flex-start;color:var(--ink)}.link-row:hover{background:#f6f8fc}.file-name{display:grid;flex:1}.type-icon{display:grid;place-items:center;background:var(--tint);color:var(--blue);font-weight:800;font-size:10px;min-width:42px;height:36px;border-radius:7px}
.empty{color:var(--muted);padding:35px 12px;text-align:center}.empty a{display:block;margin-top:8px}.preview-frame{display:block;width:100%;height:540px;margin:14px 0;border:1px solid var(--line);border-radius:9px}.preview-body{padding:12px;background:#fff}.preview-head{margin:5px 0 13px}.preview-head h1{font-size:20px}.document-image{max-width:100%;height:auto;display:block;margin:auto}.document-pdf{width:100%;height:84vh;min-height:400px;border:0}.code-preview{margin:0;tab-size:4;padding:13px;background:#f3f5fa;white-space:pre-wrap;overflow-wrap:anywhere}.markdown img{max-width:100%}.sheet-tabs{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:0 0 10px}.sheet-tabs a{padding:5px 9px;background:var(--tint);border-radius:5px}.sheet-tabs a[aria-current]{background:var(--blue);color:#fff}.table-scroll{overflow:auto;margin-bottom:12px}.spreadsheet{border-collapse:collapse}.spreadsheet th,.spreadsheet td{border:1px solid var(--line);padding:5px 8px;min-width:92px;vertical-align:top;overflow-wrap:anywhere}.spreadsheet th{min-width:40px;background:var(--tint);text-align:right}
.auth-panel{max-width:460px;margin:64px auto;padding:34px}.auth-panel h1{font-size:36px}.notice{margin:16px 0;padding:12px;border-radius:8px;background:#e9f5ef;color:var(--green)}.notice.error{background:#ffedef;color:#921a31}
details{margin-top:10px}summary{cursor:pointer;font-weight:720;color:var(--blue)}summary.button{list-style:none}summary.button::-webkit-details-marker{display:none}details form{margin-top:10px}.inside{padding-top:7px;border-top:1px solid var(--line);font-size:12px}.action-panel{position:relative;z-index:1;margin:0}.action-panel[open]{z-index:2}.action-panel>form{position:absolute;right:0;top:100%;width:min(430px,calc(100vw - 36px));background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 35px #192e5530;padding:16px;margin:8px 0 0}.stack{display:grid;gap:10px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.form-grid .wide{grid-column:1/-1}label{display:grid;gap:4px;font-size:12px;font-weight:650;color:#3e4f6e}input,select,textarea{width:100%;min-width:0;padding:8px;border:1px solid #c8d3e7;border-radius:7px;background:#fff;color:var(--ink);font:inherit}textarea{min-height:78px;resize:vertical}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.actions form{margin:0}.inside .form-grid{display:grid;grid-template-columns:1fr}
.card-grid{grid-template-columns:repeat(auto-fit,minmax(min(245px,100%),1fr))}.link-card h2{font-size:18px;margin-top:8px}.member-card{color:var(--ink)}.member-card:hover{border-color:#829fdd}.member-top{display:flex;gap:12px;align-items:center}.member-top h1,.member-top h2{margin-bottom:2px}.split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.contribution,.thread article{padding:11px 0;border-bottom:1px solid var(--line)}.contribution p,.thread article p{margin:5px 0}.thread{margin:14px 0}.thread small{color:var(--muted);margin-left:8px}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.quiet{display:inline-block;margin-top:12px;font-size:12px}
@media (max-width:1000px){.shell,.header-inner{width:calc(100% - 48px)}.hero{padding:38px;min-height:420px}.board{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:690px){.shell,.header-inner{width:calc(100% - 28px)}.header-inner{min-height:62px;position:relative;flex-wrap:wrap;gap:0;padding:10px 0}.navigation{order:3;width:100%;overflow:auto;padding-top:8px;justify-content:space-between;gap:2px}.navigation a{padding:6px 7px}.navigation small{font-size:9px}.hero{grid-template-columns:1fr;gap:23px;padding:24px;margin:20px 0 28px}.hero h1{font-size:clamp(43px,11vw,65px)}.cover{max-width:none;aspect-ratio:1.9;padding:14px;justify-self:stretch}.cover-bars{margin:2% 0}.schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.milestone{padding:12px}.page-head{align-items:flex-start;flex-wrap:wrap;margin:28px 0 16px}.week-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.week-tabs a{padding:7px}.file-layout,.split{grid-template-columns:1fr}.directory nav{grid-template-columns:repeat(2,minmax(0,1fr))}.action-panel>form{left:0;right:auto}.board{gap:6px}.lane{padding:6px}.task-card{padding:9px}.panel{padding:14px}.auth-panel{margin:35px auto;padding:22px}.section-header{flex-wrap:wrap}}
@media (max-width:390px){.board{grid-template-columns:1fr}.schedule-grid{gap:6px}.navigation a small{display:none}}

:root {
  --surface: #fff;
  --input: #c8d3e7;
  --floating-shadow: 0 16px 36px rgb(22 35 58 / 13%), 0 3px 10px rgb(22 35 58 / 5%);
  --motion-fast: 140ms;
  --motion-panel: 220ms;
  --ease-out: cubic-bezier(.2, .72, .25, 1);
}
.skip {
  position: absolute; z-index: 5; top: 12px; left: 12px; padding: 10px 16px;
  border-radius: 8px; background: var(--deep); color: white; transform: translateY(-150%);
}
.skip:focus { transform: translateY(0); }
.topbar, .panel, .milestone, .task-card, .auth-panel, .week-tabs a,
.button, button, input, select, textarea, .preview-body, .action-panel > form { background: var(--surface); }
.button, button, .week-tabs a, .directory a, .member-card, .navigation a {
  transition: background var(--motion-fast) var(--ease-out), border-color var(--motion-fast) var(--ease-out),
              transform var(--motion-fast) var(--ease-out);
}
.button:active, button:active { transform: scale(.98); }
button[disabled] { opacity: .65; cursor: progress; }
.action-panel > form { box-shadow: var(--floating-shadow); }
.action-panel[open] > form { animation: disclose var(--motion-panel) var(--ease-out) both; }
@keyframes disclose {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero { background: #edf1fa; border-color: var(--line); }
.cover { box-shadow: 0 16px 32px rgb(22 35 58 / 17%); }
input, select, textarea { border-color: var(--input); }
.task-card:target { outline: 2px solid var(--blue); outline-offset: 1px; }
@media (max-width:690px) {
  .button, button, input, select { min-height: 44px; }
  .navigation a { min-height: 44px; }
  .action-panel > form { position: relative; width: min(430px, calc(100vw - 30px)); }
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --canvas: #10141b; --surface: #191f2a; --ink: #edf1fb; --muted: #aab7cd;
    --line: #303a4b; --input: #52627e; --blue: #a5bfff; --deep: #263e7a; --tint: #26344d; --green: #a7dfc6;
    --floating-shadow: 0 14px 34px rgb(0 0 0 / 36%);
  }
  .hero, .lane { background: #171e2b; }
  .hero p, .task-card p, label { color: var(--muted); }
  .button, button { border-color: #4a5b76; }
  .button.primary, button.primary { background: #315ac2; border-color: #557bde; }
  .button:hover, button:hover, .link-row:hover, .code-preview { background: #27354d; }
  .button.primary:hover, button.primary:hover { background: #3a66d0; }
  .avatar { background: #27365b; color: #d9e5ff; }
  .tag, .count { background: #28344a; color: #c1cee5; }
  .tag.green, .notice { background: #183629; color: #ade5ca; }
  .tag.yellow { background: #423222; color: #f6d29a; }
  .tag.red, .notice.error { background: #4b2631; color: #ffbbc6; }
  .danger { color: #ffbbc6; }
  .document-pdf { background: #292f39; }
  .sheet-tabs a[aria-current] { color: #10224d; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .button:active, button:active { transform: none; }
}

/* Code2025 reading typography with the Cahier cobalt palette. */
:root {
  --reading: "Times New Roman", "Noto Serif CJK SC", "Noto Serif SC", "Source Han Serif SC", "Source Han Serif CN", "Songti SC", SimSun, serif;
  --mono: "Cascadia Code", Consolas, "Courier New", monospace;
  --canvas: hsl(220 100% 98%); --surface: #fff; --tint: hsl(223 71% 94%);
  --ink: hsl(224 40% 14%); --muted: hsl(224 16% 28%);
  --line: hsl(218 34% 86%); --blue: hsl(223 63% 28%); --deep: hsl(223 64% 21%); --input: hsl(219 27% 67%);
  --soft: hsl(218 40% 94%); --hover: hsl(218 52% 93%); --selected-edge: hsl(221 53% 82%);
  --floating-shadow: 0 8px 24px #00000014, 0 2px 6px #0000000d;
  --glass-surface: 0 0% 100%; --glass-shadow: 0 2px 12px hsl(224 40% 14% / .09);
  --r-control: 7px; --r-card: 12px; --r-bubble: 24px;
  font-family: var(--reading);
}
body { font-size: 17px; line-height: 1.8; }
h1,h2,h3 { letter-spacing: 0; line-height: 1.35; font-weight: 600; }
h1 { font-size: 29.75px; margin-bottom: 8px; }
h2 { font-size: 25.5px; margin-bottom: 12px; }
h3 { font-size: 22.1px; }
p { margin-bottom: 16px; }
small,.meta,.quiet,.tag,.count,.card-top,.empty { font-size: 14px; color: var(--muted); }
.tag { border-radius: 5px; }
.shell,.header-inner { max-width: 1720px; width: calc(100% - 64px); }
.shell { padding-bottom: 56px; }
.topbar { position: sticky; top: 6px; z-index: 5; padding-top: 6px; background: transparent; border: 0; pointer-events: none; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 0; gap: 8px; padding: 0; }
.header-inner > * { pointer-events: auto; }
@media (hover: hover) and (pointer: fine) {
  .header-inner { transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out); }
  .topbar.is-idle .header-inner:not(:has(:focus-visible)) { opacity: 0; transform: translateY(-6px); }
  .topbar.is-idle .header-inner:not(:has(:focus-visible)) > * { pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  .topbar.is-idle .header-inner:not(:has(:focus-visible)) { transform: none; }
}
.header-inner > :is(.brand,.navigation,.account-entry) {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--glass-shadow);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header-inner > :is(.brand,.navigation,.account-entry) {
    background: hsl(var(--glass-surface) / .82);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    backdrop-filter: blur(18px) saturate(1.3);
  }
}
.brand {
  justify-self: start; min-height: 44px; padding: 0 12px;
  color: var(--blue); font: 600 20px/1 "Times New Roman", serif; letter-spacing: -.02em;
}
.navigation { order: 0; width: auto; overflow: visible; align-self: center; gap: 2px; padding: 2px; }
.navigation a {
  position: relative; display: grid; place-items: center; width: 44px; min-height: 40px;
  padding: 0; color: var(--ink); border-radius: 999px;
}
.nav-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.nav-label {
  position: absolute; top: calc(100% + 6px); left: 50%; z-index: 1; transform: translateX(-50%);
  padding: 3px 8px; border: 1px solid var(--line); border-radius: 7px;
  background: var(--surface); color: var(--ink); box-shadow: var(--glass-shadow);
  font: 400 13px/1.3 "Times New Roman", serif; white-space: nowrap;
  visibility: hidden; opacity: 0; transition: opacity 130ms var(--ease-out);
}
.nav-label::before { content: ""; position: absolute; inset: -7px -1px auto; height: 7px; }
.navigation a:focus-visible:not(.label-dismissed) .nav-label { visibility: visible; opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .navigation a:hover:not(.label-dismissed) .nav-label { visibility: visible; opacity: 1; }
}
.navigation a,.directory a,.wiki-tags a { border: 1px solid transparent; }
.navigation a:hover,.directory a:hover { background: var(--hover); }
.navigation a[aria-current],.directory a[aria-current],.wiki-tags a[aria-current] {
  background: var(--tint); color: var(--blue); border-color: var(--selected-edge);
}
.account-entry {
  position: relative; justify-self: end; display: grid; place-items: center; width: 44px; height: 44px; color: var(--deep);
  transition: background var(--motion-fast) var(--ease-out), transform var(--motion-fast) var(--ease-out);
}
.header-inner > .account-entry:hover { background: var(--tint); text-decoration: none; }
.account-entry:active { transform: scale(.96); }
.account-portrait { display: block; width: 36px; height: 36px; }
.account-alert { position: absolute; z-index: 1; top: 100%; right: 0; width: max-content; padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; color: #783c00; background: #f9efd9; font-size: 15px; }
.account-dialog {
  position: fixed; inset: 74px max(16px,calc((100vw - 1720px)/2)) auto auto; margin: 0; width: min(390px,calc(100vw - 32px)); max-height: calc(100dvh - 88px);
  border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--floating-shadow);
  padding: 20px; color: var(--ink); background: var(--surface); overflow: auto;
}
.account-dialog::backdrop { background: rgb(29 33 34 / 16%); }
.account-dialog[open] { animation: disclose 160ms var(--ease-out) both; }
.account-dialog .section-header { margin-bottom: 16px; }
.account-dialog .section-header button { font-size: 22px; padding: 0; width: 40px; }
.account-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.button,button { font-size: 16px; border-radius: var(--r-control); min-height: 40px; padding: 6px 12px; }
.button.primary,button.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.button.primary:hover,button.primary:hover { background: var(--deep); }
label { font-size: 16px; color: var(--ink); }
input,select,textarea { font-size: 17px; border-radius: var(--r-control); }
input[readonly] { color: var(--muted); background: var(--soft); }
.check-row { display: flex; gap: 8px; align-items: center; }
.check-row input { width: 16px; height: 16px; min-height: 0; margin: 0; accent-color: var(--blue); }
.stack { gap: 12px; }
:is(a,button,summary,input,textarea,select):focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.page-head { margin: 32px 0 20px; }
.page-head p { font-size: 17px; }
.panel,.auth-panel { border-radius: var(--r-card); }
.auth-panel h1 { font-size: 29.75px; }
.notice.profile-onboarding {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
  padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--tint); color: var(--ink);
}
.profile-onboarding p { margin: 0; }
.file-layout { grid-template-columns: 232px minmax(0,1fr); }
.code-preview, kbd, .repo-code { font-family: var(--mono); }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(260px,100%),1fr)); gap: 16px; }
.person-card,.person-profile {
  border: 1px solid var(--line); border-radius: var(--r-bubble); padding: 20px;
  background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px #16284a0d;
}
.person-card:hover { border-color: var(--selected-edge); text-decoration: none; box-shadow: var(--floating-shadow); }
.person-card .member-top h2 { font-size: 22.1px; }
.avatar { width: 52px; height: 52px; place-items: center; border-radius: 50%; background: var(--tint); color: var(--deep); object-fit: cover; font-size: 23px; }
.big-avatar { width: 72px; height: 72px; font-size: 32px; }
.member-stats {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line);
  color: var(--ink); font-size: 17px;
}
.member-stats > span { display: inline-flex; align-items: baseline; gap: .35em; }
.member-stats strong { color: var(--blue); font-size: 26px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.person-profile .member-stats { gap: 8px 28px; padding-top: 14px; font-size: 19px; }
.person-profile .member-stats strong { font-size: 36px; }
.member-reflection {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; overflow-wrap: anywhere; margin: 12px 0 0; color: var(--muted);
}
.person-tasks { margin-top: 8px; color: var(--muted); font-size: 15px; }
.person-tasks ul { padding-inline-start: 18px; margin: 0; }
.person-profile { max-width: 1100px; margin: 16px auto; padding: clamp(18px,4vw,36px); }
.person-profile header p,.profile-bio p { margin-bottom: 0; }
.person-profile .split { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; gap: 32px; }
.profile-bio,.profile-settings { max-width: 660px; margin-top: 24px; }
.profile-settings { scroll-margin-top: 72px; }
.back-link { margin-top: 24px; font-size: 16px; }
.issue-nav a,.issue-row { font-size: 17px; }
.issue-row { gap: 8px; }
.issue-avatar { width: 36px; height: 36px; }
.issue-row .issue-avatar { width: 28px; height: 28px; }
.issue-byline { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.issue-byline-info { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; min-width: 0; }
.issue-byline-info strong { overflow-wrap: anywhere; }
.issue-comment { scroll-margin-top: 72px; }
.issue-delete { margin-top: 6px; }
.issue-delete > summary { width: fit-content; padding: 10px 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.issue-delete:not([open]) .issue-delete-cancel,.issue-delete[open] .issue-delete-open { display: none; }
.issue-delete > form { width: fit-content; max-width: 100%; margin: 0; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-control); background: var(--tint); }
.issue-delete > form p { margin: 0; font-size: 15px; }
.reaction-bar,.reaction-options { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.reaction-chip,.reaction-options button { min-height: 36px; padding: 3px 8px; }
.reaction-picker { position: relative; }
.reaction-options { margin-top: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; }
.wiki-grid { grid-template-columns: repeat(auto-fill,minmax(min(275px,100%),1fr)); gap: 14px; }
.wiki-card { background: var(--surface); box-shadow: 0 1px 2px #16284a0d; }
.wiki-card h2 { font-size: 20px; }
.wiki-card-top { justify-content: space-between; }
.wiki-stars { color: #8b5a02; letter-spacing: .09em; }
.wiki-url { color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }
.wiki-publisher { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; }
.wiki-publisher-avatar { width: 24px; height: 24px; }
.wiki-publisher-name { color: var(--ink); }
.wiki-edit,.wiki-card-top { margin-top: 8px; }

@media (max-width: 720px) {
  .shell { width: calc(100% - 28px); }
  .header-inner { width: calc(100% - 16px); gap: 4px; }
  .brand { font-size: 18px; padding: 0 7px; }
  .navigation a { width: 42px; }
  .file-layout,.split { grid-template-columns: minmax(0,1fr); }
  .account-dialog { top: 64px; }
}
@media (max-width: 430px) {
  .header-inner { gap: 2px; }
  .brand { font-size: 16px; padding: 0 4px; }
  .navigation { gap: 0; }
  .navigation a { width: 39px; }
}
@media (max-width: 370px) {
  .navigation a { width: 36px; }
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: hsl(222 33% 9%); --surface: hsl(222 27% 13%); --ink: hsl(214 26% 90%);
    --muted: hsl(216 24% 76%); --line: hsl(220 20% 28%); --tint: hsl(223 44% 22%);
    --blue: hsl(215 90% 79%); --deep: hsl(214 95% 89%); --input: hsl(219 24% 45%);
    --soft: hsl(222 24% 17%); --hover: hsl(222 30% 22%); --selected-edge: hsl(220 38% 40%);
    --glass-surface: 222 27% 13%; --glass-shadow: 0 2px 10px hsl(222 45% 3% / .37);
  }
  .button.primary,button.primary,.button.primary:hover,button.primary:hover { color: #121c32; }
  .wiki-stars { color: #f3cf82; }
  .account-alert { color: #f6d29a; background: #423222; }
}
