/* 两个独立操作空间；入口不显示任何业务数据。 */
[hidden] { display: none !important; }
.space-entry { min-height: 100vh; min-height: 100dvh; padding: 32px clamp(24px, 5vw, 80px) 24px; display: flex; flex-direction: column; background: radial-gradient(ellipse at 10% 50%, #e7eef0a6, transparent 52%), radial-gradient(ellipse at 90% 45%, #e8eeddb0, transparent 50%), #f8f8f3; }
.entry-brand { display: flex; gap: 12px; align-items: center; font-weight: 650; font-size: 20px; }
.entry-brand small { display: block; font-size: 11px; color: #748177; font-weight: 400; letter-spacing: .08em; }
.entry-content { width: min(100%, 960px); margin: auto; padding: 42px 0; }
.entry-heading { text-align: center; animation: entry-rise .7s both; }
.entry-eyebrow { font-size: 12px; letter-spacing: .22em; color: #738178; margin-bottom: 14px; }
.entry-heading h1 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 650; letter-spacing: -.04em; color: #263b38; line-height: 1.4; }
.entry-heading h1 span { color: #6e8c78; }
.entry-heading > p:last-child { margin-top: 12px; color: #718178; font-size: 15px; }
.space-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 38px; }
.space-choice { --choice: #34516a; --choice-soft: #edf2f6; text-decoration: none; color: var(--choice); display: block; position: relative; min-width: 0; padding: 26px 32px 22px; border: 1px solid #dce4e7; border-radius: 24px; background: #ffffffde; box-shadow: 0 12px 38px #263b3810, 0 2px 4px #263b3804; animation: entry-rise .8s .1s both; transition: transform .25s, box-shadow .25s, border-color .25s; }
.choice-study { --choice: #3c6351; --choice-soft: #edf3e9; border-color: #dfe7db; animation-delay: .22s; }
.choice-top { display: flex; align-items: center; justify-content: space-between; color: #839099; font-size: 10px; letter-spacing: .18em; }
.choice-study .choice-top { color: #85937f; }
.choice-symbol { border: 1px solid #dce4e7; border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; font-size: 18px; letter-spacing: 0; }
.choice-art { width: 100%; height: 100px; margin: 10px 0 16px; stroke: var(--choice); fill: var(--choice-soft); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.space-choice h2 { font-size: 27px; font-weight: 650; letter-spacing: -.03em; }
.space-choice p { color: #718079; font-size: 14px; line-height: 1.85; margin-top: 9px; }
.choice-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; font-size: 11px; color: var(--choice); }
.choice-tags span { padding: 4px 9px; border-radius: 5px; background: var(--choice-soft); }
.choice-cta { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #e9eeeb; padding-top: 18px; font-size: 14px; font-weight: 600; }
.choice-cta span { width: 30px; height: 30px; border-radius: 50%; background: var(--choice-soft); display: grid; place-items: center; transition: background .2s, color .2s; }
.space-choice:hover { transform: translateY(-6px); border-color: var(--choice); box-shadow: 0 20px 44px #263b3819; }
.space-choice:hover .choice-cta span { background: var(--choice); color: white; }
.entry-capacity { text-align: center; margin-top: 30px; font-size: 12px; color: #829086; animation: entry-rise .7s .35s both; }
.entry-capacity strong { color: #627568; font-weight: 500; margin-right: 6px; }
.entry-capacity-icon { display: inline-flex; gap: 3px; vertical-align: middle; margin-right: 7px; }
.entry-capacity-icon i { height: 11px; width: 5px; border-radius: 2px; background: #7895ab; }
.entry-capacity-icon i + i { background: #8aa582; }
.entry-footer { display: flex; justify-content: space-between; color: #98a299; font-size: 11px; letter-spacing: .03em; }
.beian-row { margin: 10px 0 0; text-align: center; font-size: 11px; color: #98a299; letter-spacing: .03em; }
.beian-row a { color: #98a299; text-decoration: none; }
.beian-row a + a { margin-left: 12px; }
.beian-row a:hover { text-decoration: underline; }
@keyframes entry-rise { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
body[data-space="work"] { --primary: #314f67; --primary-hover: #263f53; --accent: #678da7; --accent-soft: #e9f0f5; --bg: #f7f9fa; --panel: #eef1f3; }
body[data-space="work"] .work-hero { background: linear-gradient(110deg, #2c465b, #426278); }
/* 空间切换控件已取消（2026-09-23）：开屏终态面板是唯一空间入口 */
.assistant-work-options { padding: 12px 18px; border-top: 1px solid var(--line); background: var(--accent-soft); flex-shrink: 0; }
.assistant-work-options label { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--primary); cursor: pointer; }
.assistant-work-options p { margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.capacity-nav { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; border-radius: 0 0 8px 8px; }
.capacity-nav small { font-size: 10px; color: var(--faint); margin-left: auto; }
.capacity-peek { display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px 20px; margin-top: 20px; color: var(--primary); border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-align: left; flex-wrap: wrap; }
.capacity-peek strong { margin-left: auto; font-size: 14px; font-weight: 500; }
.capacity-card { max-width: 920px; }
.capacity-description { color: var(--muted); margin: 8px 0; }
.capacity-total { display: flex; gap: 16px; align-items: baseline; margin: 30px 0 22px; }
.capacity-total strong { font-size: clamp(30px, 4vw, 48px); color: var(--primary); font-weight: 650; }
.capacity-total > span { color: var(--muted); }
.capacity-bar { display: flex; height: 16px; border-radius: 7px; overflow: hidden; background: var(--bg); gap: 3px; }
.capacity-bar span { width: 0; transition: width .4s; }
#capacity-work-bar, .capacity-dot.work { background: #6b8da8; }
#capacity-study-bar, .capacity-dot.study { background: #80a78f; }
.capacity-breakdown { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 24px 0; }
.capacity-breakdown > div { color: var(--muted); font-size: 13px; }
.capacity-breakdown strong { display: block; color: var(--ink); font-size: 22px; margin-top: 7px; font-weight: 600; }
.capacity-dot { display: inline-block; width: 8px; height: 8px; border-radius: 3px; margin-right: 7px; }
.capacity-status { background: var(--accent-soft); color: var(--primary); padding: 14px; border-radius: 8px; margin-bottom: 14px; }
.capacity-status.is-overload { background: var(--warn-bg); color: #9a631b; }
.capacity-card .meta { color: var(--faint); font-size: 12px; }
.capacity-detail-control { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.capacity-detail-control p { color: var(--muted); font-size: 12px; margin-top: 4px; }
.capacity-toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13px; min-height: 44px; position: relative; }
.capacity-toggle input { position: absolute; width: 42px; height: 26px; opacity: 0; cursor: pointer; }
.toggle-track { display: block; width: 42px; height: 26px; background: #d4ded9; border-radius: 20px; transition: background .2s; }
.toggle-track::after { content: ""; display: block; width: 20px; height: 20px; border-radius: 50%; background: white; margin: 3px; transition: transform .2s; box-shadow: 0 1px 3px #0002; }
.capacity-toggle input:checked + .toggle-track { background: var(--primary); }
.capacity-toggle input:checked + .toggle-track::after { transform: translateX(16px); }
.capacity-toggle input:focus-visible + .toggle-track { outline: 2px solid var(--accent); outline-offset: 3px; }
#capacity-other-panel { margin-top: 18px; }
.capacity-other-row { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.capacity-other-row strong { flex: 1; min-width: 130px; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.capacity-other-row > span { font-size: 12px; color: var(--muted); }
#work-record-list .work-item-row { grid-template-columns: 72px minmax(0, 1fr); }
#work-record-list .wi-actions { display: none; }
@media (max-width: 900px) {
  .sidebar .brand { padding-right: 20px; }
  .capacity-nav { margin-top: 0; padding-top: 10px; border: none; border-radius: 8px; }
  .capacity-nav small { margin-left: 6px; }
  .space-choice { padding: 22px 24px; }
}
@media (max-width: 620px) {
  .space-entry { padding: 22px 20px; }
  .entry-content { padding: 36px 0; }
  .space-choices { grid-template-columns: 1fr; gap: 18px; margin-top: 25px; }
  .space-choice { padding: 20px 24px; }
  .choice-art { width: 128px; height: 70px; float: right; margin: 6px 0; }
  .space-choice h2 { margin-top: 12px; font-size: 24px; }
  .space-choice p { font-size: 13px; }
  .choice-tags { margin: 18px 0 14px; }
  .choice-cta { clear: both; padding-top: 12px; }
  .entry-capacity { line-height: 1.9; margin-top: 22px; }
  .entry-footer span { display: none; }
  .capacity-total { flex-wrap: wrap; gap: 4px 12px; }
  .capacity-breakdown { grid-template-columns: 1fr; gap: 14px; }
  .capacity-breakdown > div { display: flex; align-items: center; gap: 5px; }
  .capacity-breakdown strong { margin: 0 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .space-entry *, .space-choice, .capacity-bar span { animation: none !important; transition: none !important; }
  .space-choice:hover { transform: none; }
}
