.xh-team { --team-bg:#101319; --team-panel:#181d25; --team-line:#303946; --team-text:#ebeff5; --team-muted:#9ba8b9; --team-accent:#78a9ed; position:fixed; inset:0; z-index:1000; overflow:auto; color:var(--team-text); background:var(--team-bg); font:14px/1.5 system-ui,"Microsoft YaHei",sans-serif; color-scheme:dark; }
.xh-team * { box-sizing:border-box; }
.xh-team main { width:min(100%,1800px); margin:auto; padding:24px clamp(16px,3vw,48px); }
.xh-team header,.xh-team .toolbar,.xh-team .row { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.xh-team header { padding-bottom:20px; border-bottom:1px solid var(--team-line); }
.xh-team h1 { margin:0; font-size:24px; }.xh-team h2 { margin:0; font-size:18px; }.xh-team p { margin:6px 0; color:var(--team-muted); }
.xh-team button,.xh-team .button,.xh-team select,.xh-team input { min-height:38px; padding:8px 12px; color:var(--team-text); background:#202732; border:1px solid var(--team-line); border-radius:8px; font:inherit; text-decoration:none; }
.xh-team button,.xh-team .button { cursor:pointer; white-space:nowrap; }.xh-team button:hover { border-color:var(--team-accent); }.xh-team button:disabled { opacity:.45; cursor:not-allowed; }
.xh-team .primary { color:#101927; background:var(--team-accent); border-color:var(--team-accent); }.xh-team :focus-visible { outline:2px solid var(--team-accent); outline-offset:3px; }
.xh-team nav { display:flex; gap:8px; margin:20px 0; overflow-x:auto; }.xh-team nav button { border-color:transparent; background:transparent; }.xh-team nav button[aria-selected="true"] { border-color:var(--team-line); background:#25344b; color:#abcaff; }
.xh-team .toolbar { margin:18px 0; }.xh-team .grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr)); gap:16px; }.xh-team .card { background:var(--team-panel); border:1px solid var(--team-line); padding:20px; border-radius:12px; min-width:0; }.xh-team .card h2 { overflow-wrap:anywhere; }
.xh-team .empty { padding:64px 20px; text-align:center; background:var(--team-panel); border:1px dashed var(--team-line); border-radius:12px; }.xh-team .stack { display:grid; gap:16px; }.xh-team .muted { color:var(--team-muted); }.xh-team .notice { color:#e9ba7f; padding:12px; border:1px solid #725c3b; border-radius:8px; margin:12px 0; }
.xh-team .table-wrap { overflow:auto; }.xh-team table { border-collapse:collapse; width:100%; }.xh-team th,.xh-team td { padding:14px 12px; text-align:left; border-bottom:1px solid var(--team-line); white-space:nowrap; }.xh-team th { color:var(--team-muted); font-weight:500; }.xh-team .amount { font-size:28px; font-variant-numeric:tabular-nums; }
.xh-team dialog { color:var(--team-text); background:var(--team-panel); border:1px solid var(--team-line); border-radius:14px; padding:24px; width:min(520px,calc(100vw - 32px)); max-height:90dvh; overflow:auto; }.xh-team dialog::backdrop { background:#000a; }.xh-team form { display:grid; gap:16px; }.xh-team label { display:grid; gap:6px; }.xh-team .check { display:flex; gap:8px; align-items:center; }.xh-team input[type="checkbox"] { min-height:unset; accent-color:var(--team-accent); }.xh-team pre { white-space:pre-wrap; overflow-wrap:anywhere; font:inherit; max-height:50vh; overflow:auto; }.xh-team .actions { display:flex; justify-content:flex-end; gap:8px; }.xh-team .error { color:#ffc3b8; }.xh-team .asset-preview { width:100%; aspect-ratio:4/3; object-fit:contain; background:#101319; border-radius:8px; }.xh-team .toast { position:fixed; bottom:24px; left:50%; transform:translateX(-50%); background:#263246; border:1px solid var(--team-line); padding:12px 20px; border-radius:10px; max-width:calc(100vw - 32px); z-index:1200; }
@media(max-width:700px) { .xh-team main { padding:16px; }.xh-team h1 { font-size:20px; }.xh-team header { align-items:flex-start; }.xh-team .toolbar select { width:100%; }.xh-team .card { padding:16px; }.xh-team td,.xh-team th { padding:10px 8px; }.xh-team .amount { font-size:24px; } }
.xh-team [hidden] { display: none !important; }
.xh-team dialog.publication[open] { display: grid; gap: 12px; }
.xh-team fieldset { min-width:0; max-height:220px; overflow:auto; border:1px solid var(--team-line); border-radius:8px; }
/* The shared site theme contains broad heading/toolbar rules. Keep this
   workspace compact and sans-serif under the real production stylesheets. */
body .xh-team h1,body .xh-team h2,body .xh-team h3 { font-family:system-ui,"Microsoft YaHei",sans-serif !important; line-height:1.5 !important; letter-spacing:normal !important; }
body .xh-team h1 { font-size:24px !important; }
body .xh-team h2 { font-size:18px !important; }
body .xh-team .toolbar { background:transparent !important; border:0 !important; box-shadow:none !important; padding:0 !important; min-height:0 !important; }
body .xh-team header { position:static !important; min-height:0 !important; }
body .xh-team .stack { gap:12px; align-content:start; }
body .xh-team .card p { margin:0; }
body:has(.xh-team) #xh-collaboration-entry { display:none !important; }
@media(max-width:700px) { body .xh-team h1 { font-size:20px !important; } }
