:root {
  color-scheme: light;
  --ink:#192823; --muted:#60736a; --fine:#e4ebe7; --paper:#fff; --ground:#f6f8f7;
  --green:#147852; --mint:#e8f4eb; --soft:#f5f9f6;
  font: 15px/1.5 "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  color:var(--ink); background:var(--ground);
}
* { box-sizing:border-box }
body { margin:0; min-width:300px }
button, input, textarea, select { font:inherit; color:inherit }
button { cursor:pointer }
button:disabled { cursor:default; opacity:.55 }
a { color:inherit }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline:3px solid #61b590; outline-offset:2px }
button, a { -webkit-tap-highlight-color:transparent }
button { border:0; background:none }
h1,h2,h3,p { margin:0 }
h1 { font-size:29px; letter-spacing:-.04em; line-height:1.26 }
h2 { font-size:18px; letter-spacing:-.025em }
h3 { font-size:15px }
[hidden] { display:none !important }
.icon { display:inline-block; width:20px; height:20px; flex-shrink:0; vertical-align:middle }
.icon.sm { width:16px; height:16px }
.shell { display:grid; grid-template-columns:215px minmax(0,1fr); min-height:100vh }
.sidebar { background:#fff; border-right:1px solid var(--fine); display:flex; flex-direction:column; padding:25px 16px 17px; position:sticky; top:0; height:100vh; z-index:4 }
.brand { margin:0 8px 40px; display:flex; align-items:center; gap:11px; text-align:left; padding:0 }
.brand img { width:39px; height:39px }
.brand strong { font-size:21px; font-weight:800; line-height:1.12; display:block; letter-spacing:.02em }
.brand small { display:block; color:#7a8780; font:700 9px/1.4 system-ui,sans-serif; letter-spacing:.23em; margin-top:4px }
.nav-group { display:grid; gap:5px; margin-bottom:25px }
.nav-heading { color:#819088; padding:0 11px 6px; font-size:12px; font-weight:600 }
.nav { display:flex; align-items:center; gap:11px; border-radius:9px; width:100%; min-height:43px; text-align:left; padding:0 11px; font-size:14px; color:#53665d; font-weight:600 }
.nav:hover { background:var(--soft); color:var(--green) }
.nav[aria-current="page"] { background:#e8f4ec; color:#116646; font-weight:700 }
.nav-count { margin-left:auto; background:#d6ecdf; color:#146b4b; font:700 11px/1.4 system-ui,sans-serif; padding:2px 7px; border-radius:5px }
.sidebar-bottom { margin-top:auto }
.account { border-top:1px solid var(--fine); display:flex; align-items:center; gap:10px; padding:15px 8px 2px; width:100%; text-align:left }
.account > span:nth-child(2) { flex:1 }
.account strong,.account small { display:block }
.account strong { font-size:13px }
.account small { color:var(--muted); font-size:11px; margin-top:2px }
.avatar { width:34px; height:34px; display:grid; place-items:center; border-radius:50%; background:#dfefe2; color:#287350; font-weight:700; flex:none }
.topbar { background:#fff; border-bottom:1px solid var(--fine); min-height:67px; padding:0 29px; display:flex; justify-content:space-between; align-items:center; gap:14px }
.trail,.top-actions { display:flex; align-items:center; gap:12px }
.trail { color:#76847c; font-size:13px }
.trail strong { color:#26382e }
.trail .icon { width:14px; height:14px }
.top-date { color:#586b61; font-size:13px; display:flex; align-items:center; gap:7px }
.icon-button { width:36px; height:36px; border-radius:8px; color:#53665b; position:relative; display:inline-grid; place-items:center; padding:0; flex:none }
.icon-button:hover { background:#eef5f0; color:var(--green) }
.icon-button.outline { border:1px solid var(--fine); background:#fff }
.bell-dot { position:absolute; left:23px; top:6px; width:7px; height:7px; background:#32a174; border-radius:50%; border:1.5px solid white }
.mobile-toggle { display:none }
.content { max-width:1510px; margin:0 auto; padding:26px 30px 36px }
.page-heading { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; gap:16px }
.page-heading p { color:var(--muted); margin-top:6px; font-size:14px }
.btn { min-height:38px; padding:8px 13px; border:1px solid var(--fine); background:#fff; border-radius:8px; display:inline-flex; align-items:center; justify-content:center; gap:7px; font-size:13px; font-weight:700; white-space:nowrap }
.btn:hover { background:#f0f6f2; border-color:#c9e0d1 }
.btn.primary { background:#147652; border-color:#147652; color:white; padding-inline:15px; box-shadow:0 2px 4px #103b2420 }
.btn.primary:hover { background:#0e6645; border-color:#0e6645 }
.btn.subtle { background:var(--mint); color:var(--green); border-color:transparent }
.text-btn { display:inline-flex; align-items:center; gap:5px; color:var(--green); padding:4px 0; font-weight:700; font-size:13px }
.text-btn:hover { text-decoration:underline }
.dashboard { display:grid; grid-template-columns:minmax(0,1fr) minmax(272px, 29%); gap:22px; align-items:start }
.main-stack,.side-stack { display:grid; gap:17px; min-width:0 }
.hero { isolation:isolate; position:relative; overflow:hidden; min-height:221px; border-radius:15px; background:#0e332b; color:#fff; padding:25px 27px 23px }
.hero::before { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,#0e332b 13%,#0e332bfa 31%,#0e332b44 63%,#0e332b00 90%),url("assets/summit.webp") right 48%/72% auto no-repeat }
.hero-date { display:flex; align-items:center; gap:7px; color:#b8d6c6; font-size:12px; font-weight:600 }
.hero-date .icon { color:#8ed8ac }
.hero h2 { font-size:clamp(24px,2.6vw,38px); font-weight:800; letter-spacing:-.05em; line-height:1.17; margin:12px 0 8px }
.hero-description { color:#c4ddd0; font-size:13px }
.hero-progress { width:min(260px,64%); margin-top:23px }
.hero-progress-label { font-size:12px; color:#daeee2; display:flex; justify-content:space-between; margin-bottom:7px }
.hero-progress-label strong { font-family:system-ui,sans-serif; color:#b4f1c9 }
.meter { height:7px; border-radius:10px; background:#e8f1eb; overflow:hidden }
.meter i { display:block; height:100%; background:#39a779; border-radius:inherit; min-width:0; transition:width .2s ease }
.hero .meter { background:#ffffff29 }
.hero .meter i { background:#86dfab }
.card { background:var(--paper); border:1px solid var(--fine); border-radius:13px; min-width:0; box-shadow:0 1px 2px #14362304 }
.card-head { padding:16px 17px 0; display:flex; align-items:center; justify-content:space-between; gap:10px }
.card-head h2 { display:flex; align-items:center; gap:7px }
.card-head .heading-icon { color:var(--green); width:18px; height:18px }
.metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px }
.metric { padding:13px 14px 12px; display:grid; gap:8px }
.metric-label { color:#53695d; display:flex; align-items:center; gap:7px; font-size:12px; font-weight:600; white-space:nowrap }
.tile-icon { width:28px; height:28px; border-radius:8px; display:inline-grid; place-items:center; background:#e5f5eb; color:#24805b; flex:none }
.tile-icon .icon { width:16px; height:16px }
.tile-icon.amber { background:#fdf2e6; color:#ba6b2b }
.tile-icon.violet { background:#f0edfc; color:#7465bf }
.metric strong { font:750 27px/1.1 system-ui,sans-serif; letter-spacing:-.06em }
.metric strong span { font:600 12px/1.4 "Microsoft YaHei UI",sans-serif; color:#6e8076; letter-spacing:0; margin-left:4px }
.metric small { color:var(--muted); font-size:11px; white-space:nowrap }
.task-card .card-head { padding-bottom:12px }
.task-count { font:700 11px/1.25 system-ui,sans-serif; border-radius:5px; padding:3px 6px; color:#237b57; background:#e7f4ea }
.tabs { display:inline-flex; align-items:center; gap:2px; background:#f0f4f2; border-radius:8px; padding:3px; flex-wrap:wrap }
.tab { border-radius:6px; min-height:27px; white-space:nowrap; color:#64776c; padding:3px 9px; font-size:12px; font-weight:650 }
.tab[aria-pressed="true"] { background:#fff; color:#1f654a; box-shadow:0 1px 3px #2d514020 }
.task-row { display:flex; align-items:center; gap:10px; padding:12px 15px; min-height:63px; border-top:1px solid #edf1ef }
.task-row:hover { background:#fafcfb }
.task-check { width:23px; height:23px; border:1.5px solid #cddbd2; border-radius:7px; display:grid; place-items:center; padding:0; color:#fff; flex:none }
.task-check:hover { border-color:#2b9a6e; background:#e6f4eb; color:#24815b }
.task-check.is-done { border-color:#22835b; background:#22835b }
.task-check.is-done:hover { background:#146b4a; color:#fff }
.task-main { min-width:0; text-align:left; padding:0; flex:1; line-height:1.45 }
.task-main strong { display:block; font-size:14px; font-weight:700; overflow-wrap:anywhere }
.task-status-done .task-main strong { color:#617369; text-decoration:line-through; text-decoration-color:#9db0a6 }
.task-meta { color:#6f8176; display:flex; align-items:center; gap:5px; font-size:11px; margin-top:3px }
.plan-dot { width:6px; height:6px; border-radius:50%; display:inline-block; background:var(--accent,#339d75); flex:none }
.task-time { display:flex; gap:5px; align-items:center; color:#67796e; font:600 12px system-ui,sans-serif; white-space:nowrap }
.chip { border-radius:5px; padding:3px 7px; background:#eef2ef; color:#687970; font-size:11px; font-weight:650; white-space:nowrap }
.chip.done,.chip.active { background:#e8f5ec; color:#237955 }
.chip.deferred,.chip.paused { background:#fff2dd; color:#9c601f }
.chip.skipped,.chip.archived { background:#f1eef1; color:#776d79 }
.task-row .icon-button { width:27px; height:27px }
.task-row .tile-icon { margin-inline:2px }
.week-card { padding-bottom:15px }
.week-dates { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:3px; padding:14px 14px 9px }
.week-dates button { display:grid; place-items:center; gap:3px; min-width:0; border-radius:8px; min-height:57px; color:#7e8b83; font-size:11px; padding:3px 0 }
.week-dates button strong { font:700 13px/1 system-ui,sans-serif; color:#33483c }
.week-dates button:hover { background:#f0f7f2 }
.week-dates button.is-today { background:#e5f2e9; color:#267958 }
.week-dates button.is-today strong { color:#196746 }
.week-dates .datum { width:5px; height:5px; border-radius:50%; background:#d9e2dc }
.week-dates .datum.full { background:#3b9d73 }
.week-dates .datum.partial { background:#b1d9c0 }
.week-dates .datum.blank { background:transparent }
.legend { display:flex; align-items:center; flex-wrap:wrap; gap:6px 12px; color:var(--muted); font-size:11px }
.week-card .legend { padding:0 15px }
.legend span { display:inline-flex; align-items:center; gap:5px }
.legend i { width:7px; height:7px; border-radius:50%; background:#d9e2dc }
.legend .yes { background:#3b9d73 }
.legend .some { background:#b1d9c0 }
.trend-card .card-head { padding-bottom:7px }
.trend-plot { padding:11px 14px 9px; display:grid; grid-template-columns:30px minmax(0,1fr); gap:3px; font:600 10px/1 system-ui,sans-serif; color:#7a8a80 }
.yaxis { display:flex; flex-direction:column; justify-content:space-between; padding:0 1px 20px 0; text-align:right; min-height:106px }
.trend-plot .plot { min-width:0 }
.trend-plot svg { width:100%; height:105px; display:block; overflow:visible }
.xaxis { display:flex; justify-content:space-between; gap:3px; margin-top:8px; white-space:nowrap }
.trend-foot { border-top:1px solid #edf1ee; padding:9px 16px 12px; margin-top:3px; color:var(--muted); font-size:12px; display:flex; justify-content:space-between; gap:8px }
.trend-foot strong { color:var(--green); font:750 16px/1.2 system-ui,sans-serif }
.milestone { padding:12px 15px; display:flex; align-items:center; gap:9px; min-width:0 }
.milestone + .milestone { border-top:1px solid #edf1ee }
.milestone-copy { flex:1; min-width:0; text-align:left }
.milestone-copy strong { font-size:13px; display:block; overflow-wrap:anywhere }
.milestone-copy small { color:var(--muted); font-size:11px }
.milestone .tile-icon { width:30px; height:30px }
.side-stack .note-card { padding:14px 15px }
.note-card .text-btn { margin-left:auto }
.note-toolbar { display:flex; gap:8px; align-items:center; justify-content:space-between }
.note-card p { color:var(--muted); font-size:12px; margin-top:5px; overflow-wrap:anywhere }
.empty { padding:27px 17px; color:var(--muted); text-align:center; font-size:14px }
.empty > .icon { display:block; margin:0 auto 10px; width:25px; height:25px; color:#79a28d }
.plan-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%, 265px),1fr)); gap:17px; margin-top:15px }
.plan-card { padding:18px; display:flex; flex-direction:column; gap:12px }
.plan-card-top { display:flex; justify-content:space-between; align-items:flex-start; gap:9px }
.plan-card-top .tile-icon { width:43px; height:43px; border-radius:11px }
.plan-card-top .tile-icon .icon { width:22px; height:22px }
.plan-card h2 { overflow-wrap:anywhere }
.plan-card p { color:var(--muted); font-size:13px; overflow-wrap:anywhere }
.plan-card .stage { display:flex; justify-content:space-between; gap:8px; font-size:12px; color:var(--muted) }
.plan-card .actions { display:flex; gap:7px; flex-wrap:wrap; align-items:center; margin-top:auto; padding-top:4px }
.plan-card .actions .btn { min-height:33px; padding-block:5px }
.section-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:8px; justify-content:space-between }
.calendar-section { display:grid; grid-template-columns:minmax(0,1.43fr) minmax(0,1fr); gap:17px; align-items:start }
.month-card { padding:17px }
.month-card .section-toolbar { margin-bottom:13px }
.cal, .cal-head { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:5px }
.cal-head { margin-bottom:8px; text-align:center; color:var(--muted); font-size:12px }
.cal button { min-height:56px; padding:7px 3px; display:flex; flex-direction:column; align-items:center; gap:3px; border:1px solid #eaf0ec; border-radius:8px; background:#f9fbfa; font-size:13px }
.cal button:hover, .cal button[aria-pressed="true"] { border-color:#71ad90 }
.cal button[aria-pressed="true"] { box-shadow:inset 0 0 0 1px #71ad90 }
.cal button.full { background:#e3f3e8 }
.cal button.partial { background:#f0f6e9 }
.cal button small { color:var(--muted); font-size:10px; font-family:system-ui,sans-serif }
.calendar-section .task-row .tile-icon,.calendar-section .task-time .icon { display:none }
.calendar-section .task-card .card-head { flex-wrap:wrap }
.summary-view { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:17px; align-items:start }
.summary-view .trend-plot svg { height:220px }
.summary-view .trend-card .card-head { padding-bottom:15px }
.summary-view .metrics { grid-column:1/-1 }
.stats-plans { padding-bottom:10px }
.stats-plan { padding:10px 16px; display:grid; grid-template-columns:minmax(90px,1fr) 1fr 36px; gap:10px; align-items:center; font-size:12px }
.settings-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:start }
.settings-card { padding:17px }
.settings-card h2 { margin-bottom:8px }
.settings-card .form-stack { margin-top:14px }
.settings-card p { color:var(--muted); font-size:13px }
.settings-card .btn { align-self:start }
.settings-card .actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:14px }
dialog { color:var(--ink); border:1px solid var(--fine); border-radius:15px; padding:0; width:min(570px,calc(100% - 24px)); max-height:calc(100dvh - 32px); box-shadow:0 22px 80px #10271e40; overflow:auto }
dialog.wide { width:min(710px,calc(100% - 24px)) }
dialog::backdrop { background:#112e2360; backdrop-filter:blur(2px) }
.modal-head { position:sticky; z-index:1; top:0; background:var(--paper); display:flex; align-items:center; justify-content:space-between; gap:15px; padding:13px 17px; border-bottom:1px solid var(--fine) }
.modal-body { padding:16px 17px }
.modal-body .intro { margin-bottom:10px; color:var(--muted); font-size:13px }
.modal-actions { padding:12px 17px; border-top:1px solid var(--fine); display:flex; flex-wrap:wrap; gap:7px; justify-content:flex-end }
.form-stack { display:grid; gap:12px }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px }
.field { display:flex; flex-direction:column; gap:5px; font-size:13px; font-weight:650; color:#3e5549 }
.field > input, .field > textarea, .field > select, .input { width:100%; min-height:36px; background:#fff; border:1px solid #dbe6df; border-radius:7px; padding:7px 9px; color:var(--ink); font-size:14px; font-weight:400 }
textarea { resize:vertical; min-height:68px !important }
.choice { display:flex; gap:8px; align-items:center; font-size:13px; color:#40564a }
input[type=checkbox] { accent-color:var(--green); width:16px; height:16px; margin-inline:0 }
.checks { display:flex; gap:7px 12px; flex-wrap:wrap }
.field-row { border:1px solid var(--fine); border-radius:9px; padding:9px; display:grid; grid-template-columns:minmax(0,1fr) 120px auto; gap:8px; align-items:end; margin-top:6px }
.field-row .wide-field { grid-column:1/-1 }
.form-error { color:#a33c34; font-size:13px }
.status-actions { display:flex; flex-wrap:wrap; gap:6px; margin-top:12px }
.toast { position:fixed; z-index:7; background:#153c30; color:white; bottom:20px; left:50%; transform:translateX(-50%); padding:10px 16px; border-radius:9px; box-shadow:0 4px 20px #233c3540; max-width:calc(100% - 28px); font-size:14px }
.break-word { overflow-wrap:anywhere }
.guide-bar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; padding:11px 14px }
.guide-bar > strong { font-size:14px }
.guide-bar > div { display:flex; flex-wrap:wrap; gap:7px }
.guide-bar .btn { min-height:34px; background:#f3f8f4; color:#23694b }
.guide-bar .btn:hover { background:#e7f4ec }
.cloud-banner,.cloud-practice { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:13px 15px; border:1px solid #d7e9de; border-radius:12px; background:#edf6ef }
.cloud-banner > div,.cloud-practice > div { min-width:0 }
.cloud-banner p,.cloud-practice p,.cloud-privacy,.cloud-connection p { margin-top:4px; color:#4e6c5d; font-size:13px }
.cloud-banner .btn,.cloud-practice .btn { flex:none }
.cloud-inline { padding:10px; border-radius:9px }
.cloud-section { display:grid; gap:8px }
.cloud-section h3 { margin:0 }
.cloud-section .guide-days { padding-top:2px }
.cloud-connection { padding:8px 10px; border:1px solid var(--fine); background:#f5f9f6; border-radius:8px }
.cloud-connection summary { cursor:pointer; font-size:13px; color:#2c5c47 }
.cloud-connection label { display:flex; margin-top:7px; max-width:200px }
.cloud-progress { display:grid; justify-items:start; align-content:start; gap:10px; min-height:120px; padding:15px 4px; }
.cloud-progress > p { color:#536e60; font-size:13px }
.cloud-spinner { width:24px; height:24px; border:3px solid #d5e9dd; border-top-color:#20805c; border-radius:50%; animation:cloud-spin 1s linear infinite }
@keyframes cloud-spin { to { transform:rotate(360deg) } }
.cloud-question + .cloud-question { margin-top:7px }
.cloud-question > div { padding:9px 12px; overflow-wrap:anywhere; white-space:pre-wrap }
.cloud-question ol { margin:0 0 8px; padding-left:23px }
.guide-label { display:inline-block; color:#346e58; font-size:12px; font-weight:670; overflow-wrap:anywhere }
.task-meta:has(.guide-label) { flex-wrap:wrap }
.task-meta .guide-label { font-size:11px }
.guide-wizard { display:grid; gap:15px }
.guide-track-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px }
.guide-track { display:flex; align-items:flex-start; gap:8px; text-align:left; padding:11px 10px; border-radius:11px; border:1px solid var(--fine); background:#f7faf8; min-height:63px }
.guide-track[aria-pressed="true"] { border-color:#74b697; background:#e9f6ed }
.guide-track strong,.guide-track small { display:block }
.guide-track small { color:var(--muted); font-size:12px; margin-top:2px }
.template-section { margin-top:18px }
.template-section .plan-grid { margin-top:10px }
.guide-days { min-width:0; margin:0; padding:9px 0 0; border:0; display:flex; flex-wrap:wrap; gap:6px }
.guide-days legend { font-size:13px; font-weight:650; color:#3e5549 }
.guide-day { position:relative; cursor:pointer }
.guide-day input { position:absolute; width:1px; height:1px; margin:0; opacity:0 }
.guide-day span { display:grid; place-items:center; min-width:44px; min-height:38px; padding:4px 7px; border:1px solid var(--fine); border-radius:8px; color:#526b60; font-size:13px }
.guide-day input:checked + span { background:#e8f5ed; color:#176647; border-color:#a3d1b6; font-weight:700 }
.guide-day input:focus-visible + span { outline:3px solid #61b590; outline-offset:2px }
.guide-disclosure { background:#faf4e8; color:#674d2e; padding:9px 11px; border-radius:8px; font-size:13px }
.guide-preview-head { padding:14px; border:1px solid #dce9e1; border-radius:11px; background:#edf6f0; margin-bottom:14px }
.guide-preview-head h3 { font-size:19px; line-height:1.3; overflow-wrap:anywhere }
.guide-preview-head p { margin:6px 0 9px; color:#425d50; white-space:pre-wrap; overflow-wrap:anywhere }
.guide-preview-head .guide-label { margin-left:5px }
.guide-preview-head h3 + .guide-label { margin:5px 0 2px }
.guide-timeline { display:grid; gap:8px; margin:10px 0 }
.guide-stage { border:1px solid var(--fine); border-radius:10px; overflow:hidden }
.guide-stage summary { display:flex; align-items:center; justify-content:space-between; gap:10px; cursor:pointer; padding:9px 13px; background:#f3f8f5 }
.guide-stage summary strong::before { content:'▸'; display:inline-block; color:#17724f; margin-right:6px }
.guide-stage[open] summary strong::before { content:'▾' }
.guide-stage summary small,.guide-entry small { display:block; color:var(--muted); font-size:12px }
.guide-entry { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:10px; align-items:center; width:100%; min-height:44px; text-align:left; border-top:1px solid #edf2ee; padding:8px 12px; color:#263e33 }
.guide-entry:hover { background:#f3f8f5 }
.guide-entry strong { font-size:14px; overflow-wrap:anywhere }
.guide-daytag { padding:4px 7px; border-radius:6px; background:#e9f4ed; color:#266c50; font:700 12px system-ui,sans-serif; white-space:nowrap }
.guide-steps { padding-left:30px; margin:10px 0 15px; display:grid; gap:10px }
.guide-steps li { padding-left:3px }
.guide-steps li::marker { font-weight:700; color:#167553 }
.guide-steps p,.guide-note p { color:#41584d; white-space:pre-wrap; overflow-wrap:anywhere; margin-top:3px }
.guide-example { border:1px solid var(--fine); background:#f3f8f5; border-radius:9px; padding:9px; margin-bottom:10px }
.guide-example > div { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:0 2px; font-size:14px }
.guide-example .btn { min-height:30px; padding:3px 8px }
.guide-example pre { margin:6px 0 0; background:#163a30; color:#e5f7e9; border-radius:7px; padding:10px; overflow:auto; white-space:pre; font:13px/1.52 Consolas,monospace; tab-size:2 }
.guide-example pre.plain-example { background:#fff; color:#28513d; white-space:pre-wrap; overflow-wrap:anywhere; font:inherit }
.guide-note { padding:9px 12px; margin:9px 0; background:#ebf5ef; border-radius:9px }
.guide-note .btn { margin-top:6px }
.guide-links { margin-top:12px; display:flex; flex-wrap:wrap; gap:6px 15px; font-size:13px; color:#1f6c4e }
.temporary-copy { position:absolute; opacity:0; pointer-events:none }
.modal-actions { position:sticky; bottom:0; z-index:1; background:#fff }
.study-layout { display:grid; grid-template-columns:minmax(190px,23%) minmax(0,1fr); gap:17px; align-items:start }
.study-stack { display:grid; gap:15px; min-width:0 }
.study-menu { padding:14px; display:grid; gap:7px }
.study-menu h2 { margin:0 0 5px 3px }
.study-subject { width:100%; min-height:49px; padding:8px 10px; display:flex; justify-content:space-between; align-items:center; gap:7px; text-align:left; border:1px solid #e8efea; border-radius:8px; background:#f8faf9; color:#2a4538 }
.study-subject strong { font-size:13px; min-width:0; overflow-wrap:anywhere }
.study-subject span { color:#50685b; font-size:12px; white-space:nowrap }
.study-subject[aria-pressed="true"],.study-paper[aria-pressed="true"] { border-color:#7fbb9e; background:#e8f5ed; color:#185c43 }
.study-card { padding:17px; min-width:0 }
.study-card > .tabs { margin-bottom:14px }
.study-card h2,.study-card h3 { margin-bottom:5px }
.study-copy { color:#576f62; font-size:13px; overflow-wrap:anywhere }
.study-numbers { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin:14px 0 4px }
.study-numbers > div { display:grid; gap:4px; padding:9px 8px; border-radius:8px; background:#f0f7f2; text-align:center }
.study-numbers strong { font:760 21px/1.12 system-ui,sans-serif; color:#135a40 }
.study-numbers span { color:#50695b; font-size:12px }
.study-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:12px }
.study-form { display:grid; grid-template-columns:minmax(135px,1.5fr) repeat(2,minmax(100px,1fr)); gap:9px; margin-top:13px }
.study-form .field { min-width:0 }
.study-resume,.study-history > div { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:9px }
.study-history > div { padding:8px 0; border-top:1px solid #edf2ef; font-size:14px }
.study-history > div:first-child { border-top:0 }
.study-history small { display:block; color:var(--muted); font-size:12px }
.study-papers { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-top:12px }
.study-paper { display:grid; gap:4px; text-align:left; background:#f6faf7; border:1px solid var(--fine); border-radius:10px; padding:10px }
.study-paper span { color:var(--muted); font-size:12px }
.study-workspace { display:grid; grid-template-columns:minmax(0,1fr) minmax(204px,27%); gap:15px; align-items:start }
.study-run-head { position:sticky; top:0; background:var(--ground); z-index:3; padding:7px 0 }
.study-run-head .study-actions { margin:0 }
.study-timer { align-self:center; color:#155c43; background:#e8f4eb; font:750 19px/1.2 system-ui,sans-serif; font-variant-numeric:tabular-nums; padding:7px 9px; border-radius:7px }
.study-result-panel { margin-bottom:13px; background:#eff8f2 }
.study-results { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:8px }
.study-results > strong { color:#146c4d; font:750 34px/1.15 system-ui,sans-serif }
.study-results small { color:var(--muted); font-size:15px }
.study-result-topics { display:flex; flex-wrap:wrap; gap:5px; margin-top:9px }
.study-question-meta { display:flex; align-items:center; flex-wrap:wrap; gap:6px }
.study-prompt { margin:12px 0; white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.65; font-size:16px }
.study-listening { margin-bottom:13px; padding:0 10px 9px; border:1px solid var(--fine); border-radius:8px; background:#f5f9f6 }
.study-listening .study-actions { margin:8px 0; }
.study-listening summary { cursor:pointer; font-size:13px; color:#1b684d }
.study-listening p { margin-top:5px; overflow-wrap:anywhere }
.study-options { display:grid; gap:7px }
.study-option { display:flex; align-items:flex-start; text-align:left; gap:9px; padding:9px; min-height:44px; border:1px solid #e2ebe5; border-radius:8px; color:#254436; background:#f9fbfa; white-space:pre-wrap; overflow-wrap:anywhere }
.study-option span { min-width:0 }
.study-option strong { flex:none; display:grid; place-items:center; width:25px;height:25px; border-radius:6px; background:#eaf0ec; color:#375c4b; font:750 13px/1 system-ui,sans-serif }
.study-option[aria-pressed="true"] { border-color:#7cb89b; background:#e8f4ed }
.study-option[data-result="correct"] { opacity:1; border-color:#91c5a5; background:#e1f4e9 }
.study-option[data-result="wrong"] { opacity:1; border-color:#deb5ab; background:#fbefeb }
.study-solution { margin-top:12px; padding:11px; border:1px solid #deeae2; border-radius:8px; background:#edf7f0 }
.study-solution[data-correct="false"] { background:#fff5e7; border-color:#f0e2c6 }
.study-solution p { white-space:pre-wrap; overflow-wrap:anywhere; margin-top:4px }
.study-solution a { color:#1a674a }
.study-solution small { display:block; margin-top:4px; color:var(--muted) }
.study-index { display:grid; grid-template-columns:repeat(auto-fit,minmax(29px,1fr)); gap:5px; margin-top:8px }
.study-index button { min-height:32px; padding:3px; font:700 12px/1 system-ui,sans-serif; position:relative; border-radius:6px; border:1px solid var(--fine); background:#f6f9f7; color:#405e50 }
.study-index button.marked,.study-index button.right { background:#e0f1e7; color:#176745 }
.study-index button.missed { background:#f8ebe7; color:#864e39 }
.study-index button.flagged::after { content:''; position:absolute; top:3px; right:3px; width:5px; height:5px; background:#b97d22; border-radius:50% }
.study-index button[aria-current="true"] { border-color:#287d58; box-shadow:inset 0 0 0 1px #287d58 }
.study-case textarea { max-height:340px }
.study-case h3 { margin-top:14px }
.study-rubric { min-height:34px }
.study-alert { padding:9px 11px; border-radius:8px; margin-bottom:10px; color:#674934; background:#fcf1df; overflow-wrap:anywhere }
@media (max-width:740px) {
  .study-layout,.study-workspace { grid-template-columns:minmax(0,1fr) }
  .study-menu { grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px }
  .study-menu h2 { grid-column:1/-1 }
  .study-workspace .study-answer-card { order:-1 }
  .study-index { grid-template-columns:repeat(auto-fit,minmax(30px,1fr)); max-height:132px; overflow:auto }
}
@media (max-width:490px) {
  .study-card,.study-menu { padding:11px }
  .study-form { grid-template-columns:repeat(2,minmax(0,1fr)) }
  .study-form .field:first-child { grid-column:1/-1 }
  .study-run-head .study-actions .btn { padding-inline:7px }
  .study-subject { align-items:flex-start; flex-direction:column; gap:3px; padding:8px }
  .study-paper { padding:7px }
  .study-numbers { gap:4px }
  .study-numbers > div { padding:7px 2px }
  .study-numbers strong { font-size:18px }
  .study-numbers span { font-size:11px }
}
@media (min-width:1450px) {
  .content { padding-inline:36px }
  .dashboard { gap:24px }
  .hero { padding-left:31px }
}
@media (max-width:1150px) {
  .shell { grid-template-columns:188px minmax(0,1fr) }
  .sidebar { padding-inline:12px }
  .content { padding-inline:20px }
  .topbar { padding-inline:20px }
  .dashboard { gap:15px; grid-template-columns:minmax(0,1fr) minmax(235px,32%) }
  .metric { padding-inline:10px }
  .metrics { gap:8px }
  .task-row { gap:8px; padding-inline:11px }
}
@media (max-width:935px) {
  .shell { grid-template-columns:65px minmax(0,1fr) }
  .sidebar { padding-inline:8px }
  .brand { margin:0 auto 36px }
  .brand > span, .nav-heading, .nav > span, .account > span:nth-child(2), .account > .icon { display:none }
  .nav { justify-content:center; padding:0 }
  .account { padding-inline:0; justify-content:center }
  .dashboard { grid-template-columns:minmax(0,1fr) minmax(230px,30%) }
}
@media (max-width:740px) {
  .dashboard,.calendar-section,.summary-view,.settings-grid { grid-template-columns:1fr }
  .side-stack { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start }
  .summary-view .metrics { grid-column:auto }
}
@media (max-width:510px) {
  .shell { display:block }
  .sidebar { display:none }
  .sidebar.is-open { display:flex; position:fixed; width:188px; height:100dvh; padding:18px 12px; box-shadow:6px 0 48px #153b2e36 }
  .sidebar.is-open .brand { margin:0 8px 24px }
  .sidebar.is-open .brand > span, .sidebar.is-open .nav-heading, .sidebar.is-open .nav > span, .sidebar.is-open .account > span:nth-child(2) { display:block }
  .sidebar.is-open .nav { justify-content:flex-start; padding:0 10px }
  .sidebar.is-open .account { padding-inline:7px; justify-content:flex-start }
  .mobile-toggle { display:inline-grid }
  .topbar { min-height:55px; padding:0 10px }
  .top-date { display:none }
  .trail,.top-actions { gap:7px }
  .content { padding:16px 12px 25px }
  .page-heading { margin-bottom:14px }
  .page-heading .section-toolbar { justify-content:flex-end }
  .page-heading .section-toolbar .btn { min-height:34px; padding-inline:8px }
  .guide-bar > div { width:100%; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px }
  .guide-bar .btn { justify-content:flex-start; min-width:0; padding-inline:8px; white-space:normal; text-align:left }
  .page-heading p { display:none }
  h1 { font-size:23px }
  .hero { min-height:195px; padding:20px 15px }
  .hero::before { background-size:auto, auto 100% }
  .hero h2 { font-size:25px }
  .metrics { gap:5px }
  .metric { padding:8px 6px; gap:6px }
  .metric-label { gap:3px; font-size:11px }
  .metric small { display:none }
  .metric strong { font-size:22px }
  .metric .tile-icon { width:23px; height:23px }
  .metric .tile-icon .icon { width:13px; height:13px }
  .side-stack { grid-template-columns:1fr }
  .task-card .card-head { flex-wrap:wrap }
  .task-row .tile-icon,.task-time .icon { display:none }
  .task-row { gap:5px; padding-inline:8px }
  .task-row .chip { font-size:10px; padding:3px 4px }
  .task-main strong { font-size:13px }
  .task-check { width:20px; height:20px }
  .task-time { font-size:11px }
  .field-row { grid-template-columns:minmax(0,1fr) 99px auto }
  .field-row .field { font-size:12px }
}
@media (max-width:460px) {
  .cloud-banner,.cloud-practice { align-items:flex-start; flex-wrap:wrap }
  .cloud-banner .btn,.cloud-practice .btn { min-height:38px }
}
@media (prefers-reduced-motion:reduce) { .cloud-spinner { animation:none } }
@media (max-width:365px) { .guide-track-grid { grid-template-columns:1fr } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { transition:none !important } }
