@font-face{font-family:Qiming;src:url("design-assets/qiming-sans.woff2") format("woff2");font-display:swap}
@font-face{font-family:QimingSerif;src:url("design-assets/qiming-journal-serif.woff2") format("woff2");font-weight:600;font-display:swap}
:root{
  color-scheme:light;
  --paper:#f7f6ef;--surface:#fffef9;--ink:#193d30;--muted:#4c665b;--green:#225c43;
  --line:#d9dfd1;--sage:#e9eee5;--amber:#f6eccf;--amber-ink:#715021;--focus:#b25917;
  --serif:QimingSerif,"Songti SC",SimSun,serif;
  font-family:Qiming,"Microsoft YaHei","PingFang SC",sans-serif;
  color:var(--ink);background:var(--paper);font-size:16px;line-height:1.6;
}
*,*::before,*::after{box-sizing:border-box}
body{margin:0}
::selection{background:#d8e5d1;color:var(--ink)}
:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
[hidden]{display:none!important}
p,h1,h2,h3,dl,dd{margin:0}
h2,h3{line-height:1.4}
a{color:inherit;text-underline-offset:.22em}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.55}
button,summary,input,select,textarea{touch-action:manipulation}
button{border:0;background:none}
svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}
.wrap{width:min(1100px,calc(100% - 56px));margin-inline:auto}
.site-header{border-bottom:1px solid var(--line);background:var(--surface)}
.topbar,.brand,.back,.mode-box{display:flex;align-items:center}
.topbar{justify-content:space-between;min-height:66px;gap:14px}
.brand,.back{gap:9px;text-decoration:none;min-height:44px}
.brand{font-size:17px;font-weight:700}
.back{font-size:14px;color:var(--muted)}
.back:hover,.text-button:hover{text-decoration:underline}
.back svg{width:16px;height:16px}
.masthead{display:flex;justify-content:space-between;align-items:end;gap:16px;padding:32px 0 22px}
h1{font:600 48px/1.15 var(--serif);letter-spacing:-.025em}
h1::after{content:"";display:inline-block;width:8px;height:8px;background:#9b6529;border-radius:50%;margin-left:8px}
.masthead p{margin-top:10px;color:var(--muted)}
.mode-box{gap:12px;color:var(--muted);font-size:14px;white-space:nowrap}
.text-button{min-height:44px;padding:0;color:var(--green);font-weight:700;text-underline-offset:4px}
.tabs{display:flex;gap:30px;border-bottom:1px solid var(--line)}
.tabs button{min-height:48px;white-space:nowrap;padding:0 2px;color:var(--muted);border-bottom:3px solid transparent;font-weight:600}
.tabs button[aria-current]{color:var(--ink);border-color:var(--green)}
.tabs button:hover{color:var(--green)}
.datebar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 14px}
.date-title{font:600 24px/1.4 var(--serif);font-variant-numeric:tabular-nums}
.date-title small{margin-left:9px;font:400 14px/1.4 Qiming,sans-serif;color:var(--muted)}
.date-actions,.date-nav{display:flex;align-items:center;gap:6px}
.icon-button,.button,.pick-date{
  min-height:44px;border:1px solid var(--line);border-radius:8px;background:var(--surface)
}
.icon-button{display:inline-grid;place-items:center;width:44px;padding:0}
.icon-button:hover,.button:hover{background:var(--sage)}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:7px 14px;font-weight:650}
.primary{background:var(--green);color:white;border-color:var(--green)}
.primary:hover{background:#17462f}
.date-nav .button{white-space:nowrap}
.pick-date{width:146px;padding:6px 9px}
.week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;padding:6px;background:var(--sage);border-radius:12px;margin-bottom:18px}
.day-tile{min-height:59px;position:relative;display:grid;align-content:center;gap:2px;padding:2px 0;border:1px solid transparent;border-radius:8px;color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums}
.day-tile strong{font-size:18px;line-height:1.2;color:var(--ink)}
.day-tile[aria-pressed=true]{background:var(--surface);color:var(--green);border-color:#bdcbb8}
.day-tile:hover{background:var(--surface)}
.day-tile.today strong{color:var(--green)}
.day-tile.today{border-color:#a97133}
.day-tile i,.calendar i{width:5px;height:5px;background:var(--green);border-radius:50%;position:absolute;top:9px;right:9px}
.day-tile i{inset:auto auto 4px calc(50% - 2px);width:4px;height:4px}
.journal-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:18px;align-items:start}
.sheet,.side-panel{border-radius:12px;background:var(--surface);padding:22px 24px}
.sheet{border:1px solid var(--line)}
.sheet-head,.panel-head,.review-head,.row-end,.form-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sheet h2,.side-panel h2{font:600 24px/1.4 var(--serif)}
.sheet-head p,.sheet p,.side-panel p{color:var(--muted);font-size:14px}
.sheet-head p{margin-top:5px}
.sheet-head>.button{white-space:nowrap}
.task-list{width:100%;table-layout:fixed;border-collapse:collapse;margin-top:16px}
.subject-col{width:16%}
.time-col{width:15%}
.score-col{width:10%}
.task-list th,.task-list td{border-bottom:1px solid var(--line);padding:7px 8px;text-align:left;vertical-align:middle}
.task-list th{background:var(--sage);font-size:13px;line-height:1.4}
.task-list thead th:first-child{border-radius:6px 0 0 0}
.task-list thead th:last-child{border-radius:0 6px 0 0;padding-inline:3px;white-space:nowrap}
.time-heading{word-break:keep-all}
.task-list th small{display:block;color:var(--muted);font-size:12px;font-weight:400}
.task-list .task-value{text-align:center;font-variant-numeric:tabular-nums}
.task-progress{margin-top:14px;padding:10px 13px;background:var(--sage);border-radius:8px}
.task-progress-top{display:flex;justify-content:space-between;gap:8px;font-size:14px;font-variant-numeric:tabular-nums}
.task-progress progress{margin:6px 0}
.task-progress p,.sheet .task-help{font-size:13px}
.task-list .group-label{background:#f4f5ec;vertical-align:middle}
.group-start:not(:first-child) td,.task-list tbody+tbody .group-start>*{border-top:2px solid #cbd4c5}
.task-score{position:relative}
.task-score.earned{color:var(--green);font-weight:700}
.task-cell{display:flex;align-items:center;gap:4px}
.task-check{height:40px;width:32px;flex:none;display:grid;place-items:center;padding:0;border-radius:8px}
.task-check:hover:not(:disabled),.row-edit:hover{background:var(--sage)}
.task-check span{display:grid;place-items:center;width:21px;height:21px;border:1.5px solid #7e9583;border-radius:6px}
.task-check[aria-pressed=true] span{background:var(--green);border-color:var(--green);color:white}
.task-check svg{width:16px;height:16px}
.task-list td{padding-block:2px}
.grid-input{display:block;width:100%;min-width:0;min-height:38px;padding:4px 6px;border:1px solid transparent;border-radius:5px;background:transparent;line-height:1.4;font-size:16px}
.grid-input:hover:not(:disabled){border-color:var(--line)}
.grid-input:focus{background:white}
.grid-input::placeholder{color:var(--muted);opacity:1}
.task-name{field-sizing:content;resize:none;overflow-wrap:anywhere;align-content:center}
.grid-input[type=number]{text-align:center;appearance:textfield;font-variant-numeric:tabular-nums}
.grid-input[type=number]::-webkit-inner-spin-button,.grid-input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}
.grid-input:disabled{opacity:.48}
.row-edit{display:inline-grid;place-items:center;width:26px;height:30px;padding:0;border-radius:5px;color:var(--muted);vertical-align:middle}
@media(min-width:900px){.row-edit{position:absolute;top:50%;right:3px;translate:0 -50%}}
@media(max-width:899px){.row-edit{display:grid;margin-inline:auto;height:25px}}
.row-edit svg{width:14px;height:14px}
.subject{display:inline-block;background:var(--sage);padding:2px 7px;border-radius:5px;color:var(--ink);font-size:13px;overflow-wrap:anywhere;max-width:100%}
.subject[data-subject=语文]{background:#f1e6d9;color:#79452f}
.subject[data-subject=数学]{background:#e2edf0;color:#295269}
.subject[data-subject=其他],.subject[data-subject=生活]{background:var(--amber);color:var(--amber-ink)}
.task-help{margin-top:10px}
.task-help+.task-list{margin-top:8px}
.pending-completion{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;border-top:1px solid #cbd4c5;margin-top:10px;padding-top:8px;color:var(--ink);font-size:13px}
.pending-completion .button{font-size:13px;padding-inline:10px}
.day-note,.period-notes{margin-top:16px;padding-top:12px;border-top:1px solid var(--line)}
.inline-save{color:var(--muted);font-size:13px}
.inline-notes{display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px 12px;margin-top:12px;align-items:start}
.inline-notes label{font-size:14px;font-weight:650;padding-top:8px}
.inline-notes select,.inline-notes textarea{width:100%;min-height:40px;padding:7px 9px;border:1px solid #aebbab;border-radius:8px;background:var(--surface);font-size:16px}
.inline-notes textarea{min-height:48px;resize:vertical}
.inline-notes textarea::placeholder{color:var(--muted)}
.ability-fields{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px;border:1px solid var(--line);border-radius:8px;margin:0 0 13px;padding:8px 10px;font-size:14px}
.ability-fields legend{font-weight:650}
.ability-fields label{display:flex;align-items:center;min-height:34px;gap:6px}
.ability-fields input{width:17px;height:17px;accent-color:var(--green)}
.note-fields{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 13px;font-size:14px}
.note-fields dt{font-weight:650}
.note-fields dd{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted)}
.period-notes>p{margin-top:6px}
.review-jumps{display:flex;gap:6px 16px;justify-content:flex-end;flex-wrap:wrap}
.review-jump{display:inline-flex;align-items:center;gap:4px;font-size:14px;text-decoration:none}
.review-jump svg{width:16px;height:16px}
.note-list{list-style:none;padding:0;margin:8px 0 0}
.note-list>li{padding:4px 0 12px;border-top:1px solid var(--line)}
.note-list button{display:inline-flex;align-items:center;gap:4px}
.note-list button svg{width:16px;height:16px}
.sidebar{display:grid;gap:12px}
.side-panel{background:var(--sage)}
.side-panel.month{background:var(--amber);color:var(--amber-ink)}
.month p,.month .text-button{color:var(--amber-ink)}
.side-panel h2{font-size:21px}
.panel-head svg{width:23px;height:23px}
.side-panel .reward-rule{font-size:13px;margin-top:3px}
.reward-name{margin-top:6px;overflow-wrap:anywhere}
.progress-line{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-top:13px;font-size:13px}
.progress-line strong{font:600 25px/1 var(--serif);font-variant-numeric:tabular-nums}
progress{width:100%;height:7px;display:block;margin:9px 0 7px;border:0;border-radius:8px;overflow:hidden;background:#ccd9c7;color:var(--green)}
progress::-webkit-progress-bar{background:#ccd9c7}
progress::-webkit-progress-value{background:var(--green)}
progress::-moz-progress-bar{background:var(--green)}
.month progress,.month progress::-webkit-progress-bar{background:#e8d8ae}
.month progress::-webkit-progress-value{background:#92622b}
.month progress::-moz-progress-bar{background:#92622b}
.side-panel .text-button{display:inline-flex;align-items:center;gap:4px;margin-top:2px}
.side-panel .text-button svg{width:16px;height:16px}
.review-grid{margin-top:12px}
.time-review{margin-top:19px;padding-top:15px;border-top:1px solid var(--line)}
.time-review h3{font-size:19px;scroll-margin-top:16px}
.time-totals{margin-top:9px;padding:10px 12px;background:var(--sage);border-radius:8px}
.time-total-row{display:grid;grid-template-columns:auto minmax(0,1fr) max-content;align-items:center;gap:9px;min-height:32px;font-size:14px}
.time-total-row strong{min-width:85px;text-align:right;font-variant-numeric:tabular-nums}
.time-total-row small{font-size:12px;font-weight:400}
.time-track{display:block;height:7px;background:#d4ded1;border-radius:4px;overflow:hidden}
.time-track i{display:block;height:100%;width:var(--width);background:#6e8977}
.time-total-row.actual .time-track i{background:var(--green)}
.time-totals .time-comparison{margin-top:5px;color:var(--ink);font-weight:700}
.time-scope{margin-top:7px}
.time-detail-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:13px;min-height:32px}
.time-detail-head h4{margin:0;font-size:16px}
.time-detail-head small{margin-left:4px;color:var(--muted);font-size:13px;font-weight:400}
.time-detail-head button{font-size:14px}
.time-table{width:100%;table-layout:fixed;border-collapse:collapse;margin-top:5px;font-size:14px}
.time-table .minutes-col{width:15%}
.time-table .difference-col{width:22%}
.time-table th,.time-table td{padding:7px 5px;border-bottom:1px solid var(--line);text-align:right;font-variant-numeric:tabular-nums}
.time-table thead th{font-size:13px;color:var(--muted);font-weight:650}
.time-table tr>:first-child{text-align:left}
.time-table tbody th{overflow-wrap:anywhere}
.time-table tbody small{display:block;color:var(--muted);font-size:12px;font-weight:400}
.time-table td span,.time-pending{white-space:nowrap}
.time-more{color:var(--amber-ink);font-weight:700}
@media(max-width:520px){
  .review-jumps{gap:4px 10px}
  .review-jump{font-size:13px}
  .review-jump svg{display:none}
  .time-table .difference-col{width:26%}
  .time-table th,.time-table td{padding-inline:3px}
  .time-table thead th{font-size:12px}
  .time-total-row strong{min-width:69px}
}
.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0 20px;padding:14px 0;border-block:1px solid var(--line)}
.metrics dt{font-size:13px;color:var(--muted)}
.metrics dd{font-size:24px;font-variant-numeric:tabular-nums}
.metrics small{font-size:13px;margin-left:4px}
.chart-title{font-size:16px;margin-top:16px;margin-bottom:8px}
.week-bars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:10px 0 16px}
.bar-day{display:grid;justify-items:center;align-items:end;gap:5px;min-height:118px;border-radius:8px;padding:5px 1px;font-size:13px}
.bar-day:hover,.calendar button:hover{background:var(--sage)}
.bar-track{width:min(23px,55%);height:50px;display:flex;align-items:end;background:var(--sage);border-radius:4px;overflow:hidden}
.bar-track i{width:100%;height:var(--height);background:var(--green)}
.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center;margin:12px 0}
.calendar>span{font-size:13px;color:var(--muted)}
.calendar button{position:relative;min-height:44px;border:1px solid transparent;border-radius:8px;font-variant-numeric:tabular-nums}
.calendar button.learned{background:var(--sage);font-weight:700}
.calendar button[aria-current=date]{border-color:#a97133}
.breakdown,.month-weeks{list-style:none;padding:0;margin:0}
.month-weeks li div{min-width:0;overflow-wrap:anywhere}
.month-weeks li p{font-size:13px;margin-top:4px}
.breakdown li span{overflow-wrap:anywhere;min-width:0}
.breakdown li strong,.month-weeks li strong{white-space:nowrap}
.breakdown li,.month-weeks li{display:flex;justify-content:space-between;gap:8px;padding:8px 0;border-top:1px solid var(--line);font-size:14px}
.reflection{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.reflection dt{font-weight:700;font-size:14px;margin-top:10px}
.reflection dd{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted);font-size:14px}
.rewards-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.rewards-grid .side-panel{padding:23px 24px}
.rewards-grid .form-actions{justify-content:start;flex-wrap:wrap;margin-top:10px}
.reward-help{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 16px;margin-top:12px;color:var(--muted);font-size:14px}.reward-help .text-button{display:inline-flex;align-items:center;gap:4px}.reward-help svg{width:16px;height:16px}
.journal-footer{margin:20px 0 36px;color:var(--muted);font-size:13px}
#save-error{background:var(--amber);color:var(--amber-ink);padding:9px 12px;margin-top:10px;border-radius:8px}
dialog{border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink);padding:22px 24px;width:min(490px,calc(100% - 28px));max-height:calc(100dvh - 28px);overflow:auto}
dialog::backdrop{background:#132d22a0}
dialog h2{font:600 26px/1.35 var(--serif)}
dialog form{margin-top:15px}
.field{display:grid;gap:5px;margin-bottom:13px;font-size:14px;font-weight:650}
.field input,.field select,.field textarea{width:100%;min-height:44px;border:1px solid #aebbab;border-radius:8px;background:white;padding:8px 10px;font-size:16px;font-weight:400}
.field textarea{min-height:72px;resize:vertical}
.field input::placeholder,.field textarea::placeholder{color:var(--muted)}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.field-help,.editor-description{color:var(--muted);font-size:13px;font-weight:400;margin-bottom:10px}
.danger{color:#8e362f}
.form-actions{justify-content:end;gap:8px}
.form-actions .danger{margin-right:auto}
.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{position:absolute;z-index:2;background:var(--surface);padding:12px}
@media(max-width:740px){
  .wrap{width:calc(100% - 32px)}
  .journal-grid{grid-template-columns:1fr}
  .topbar{min-height:54px}
  .masthead{padding:24px 0 16px;align-items:start}
  h1{font-size:38px}
  .masthead p{font-size:14px}
  .mode-box{display:grid;justify-items:end;gap:0;font-size:12px}
  .mode-box .text-button{min-height:44px}
  .tabs{justify-content:space-between;gap:6px}
  .tabs button{font-size:14px;padding:0 3px}
  .datebar{flex-wrap:wrap;margin-top:14px}
  .date-title{font-size:20px}
  .date-actions{justify-content:space-between;width:100%}
  .sheet,.side-panel,.rewards-grid .side-panel{padding:17px 15px}
  .sheet h2{font-size:20px}
  .sheet-head>.button{padding-inline:9px;font-size:14px}
  .rewards-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .date-nav .button{padding-inline:10px}
  .pick-date{width:132px}
  .time-col{width:15.5%}
  .score-col{width:12%}
  .task-list th,.task-list td{padding-inline:3px}
  .task-list th{font-size:12px}
  .task-list th small{font-size:11px}
  .task-list .task-value{font-size:12px}
  .task-cell{gap:2px}
  .task-check{width:25px}
  .task-check span{width:19px;height:19px}
  .grid-input{padding-inline:2px;min-height:38px;font-size:16px}
  .grid-input::placeholder{font-size:13px}
  .grid-input[type=number]{padding-inline:0;font-size:16px}
  .inline-notes{gap:8px}
  .inline-notes label{font-size:13px}
  .subject{font-size:12px;padding-inline:4px}
}
@media(prefers-reduced-motion:no-preference){button{transition:background-color .16s,color .16s}}

/* Illustrated journal guide */
.guide{padding:26px 0 8px}
.guide-shortcuts{display:flex;flex-wrap:wrap;gap:4px 18px;margin:-4px 0 10px}
.guide-shortcuts a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;font-weight:650;color:var(--green);text-underline-offset:4px}
.guide-finish{display:flex;justify-content:flex-end;margin-top:14px}
.guide-graphic{scroll-margin-top:16px}
.guide-intro{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:17px}
.guide h2{font:600 30px/1.35 var(--serif)}
.guide-intro p{color:var(--muted);margin-top:5px}
.guide-intro .guide-date{font-size:14px;display:flex;align-items:center;gap:7px}
.guide-date svg{width:18px;height:18px}
.guide-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;padding:0;margin:0;border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:hidden}
.guide-steps>li{padding:17px 18px;display:grid;grid-template-rows:auto 1fr auto;gap:9px}
.guide-steps>li+li{border-left:1px solid var(--line)}
.guide-step-title{display:flex;align-items:center;gap:10px;font-size:19px}
.step-number{display:grid;place-items:center;flex:none;background:var(--green);color:white;border-radius:50%;height:29px;width:29px;font-size:16px}
.guide-steps p,.guide-reward p{color:var(--muted);font-size:15px;line-height:1.55}
.guide-example{background:#f4f6ef;border:1px solid var(--line);border-radius:8px;margin:0;padding:10px 11px;min-height:88px;display:grid;align-content:center;gap:6px}
.guide-example figcaption{font-size:13px;color:var(--muted)}
.mini-row{display:flex;align-items:center;justify-content:space-between;gap:7px;line-height:1.35}
.mini-row b{min-width:0;font-size:15px}
.mini-time,.mini-points{white-space:nowrap;font-size:13px}
.mini-time{border:1px solid #aebbab;background:var(--surface);border-radius:6px;padding:3px 5px;font-variant-numeric:tabular-nums}
.mini-check{display:grid;place-items:center;flex:none;width:22px;height:22px;background:var(--green);color:white;border-radius:6px}
.mini-check svg{width:15px;height:15px}
.mini-points{font-weight:700;color:var(--green);padding:4px 6px;background:#dce9d9;border-radius:5px}
.mini-mood{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:700;white-space:nowrap}
.mini-mood svg{width:17px;height:17px}
.mini-note{font-size:14px;color:var(--ink)}
.guide-graphic{margin:24px 0 0;padding:17px 18px 18px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.graphic-caption{margin-bottom:12px}
.graphic-caption p{margin-top:4px;color:var(--muted);font-size:15px}
.task-reference-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;padding:0;list-style:none;border-block:1px solid var(--line)}
.task-reference-grid>li{padding:12px 12px 12px 0}
.task-reference-grid>li+li{border-left:1px solid var(--line);padding-left:12px}
.task-heading{display:flex;align-items:center;gap:8px;font-size:17px;margin-bottom:5px}
.task-heading svg{width:26px;height:26px}
.task-heading.math-icon{color:#295269}
.task-heading.chinese-icon{color:#79452f}
.task-heading.life-icon{color:var(--amber-ink)}
.example-list{margin:0;padding-left:1.2em;color:var(--ink);font-size:14px;line-height:1.5}
.example-list li+li{margin-top:4px}
.example-list li::marker{color:var(--muted)}
.guide-reward-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.guide-reward{display:grid;align-content:start;gap:7px;border-radius:12px;padding:13px 15px;background:var(--sage)}
.guide-reward.month-example{background:var(--amber);color:var(--amber-ink)}
.month-example p,.month-example li{color:var(--amber-ink)}
.reward-title{display:flex;align-items:center;gap:8px;font-size:18px}
.reward-title svg{width:21px;height:21px}
.reward-period{font-weight:650}
.reward-equation{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0}
.reward-equation b{font:600 31px/1.15 var(--serif);font-variant-numeric:tabular-nums}
.reward-equation svg{width:16px;height:16px}
.reward-equation span{font-size:15px;font-weight:700}
.reward-samples{border-top:1px solid #bdcbb8;padding-top:7px;margin-top:3px}
.month-example .reward-samples{border-color:#d5c39d}
.reward-samples h4{margin:0 0 4px;font-size:14px}
.thresholds{display:flex;flex-wrap:wrap;gap:6px}
.thresholds span{border:1px solid #bdcbb8;background:#f5f8f1;border-radius:5px;padding:2px 6px;font-size:13px;white-space:nowrap}
.month-example .thresholds span{border-color:#d5c39d;background:#fff9e9}
.reward-reminder,.benefit-reminder{margin-top:11px;color:var(--muted);font-size:14px}
.reward-reminder strong,.benefit-reminder strong{color:var(--ink)}
.benefit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;list-style:none;margin:0;padding:0;border-block:1px solid var(--line)}
.benefit-grid li{display:flex;align-items:start;gap:9px;min-width:0;padding:10px 7px 10px 0}
.benefit-grid li:nth-child(n+4){border-top:1px solid var(--line)}
.benefit-grid svg{width:27px;height:27px;color:var(--green)}
.benefit-grid strong{display:block;font-size:15px}
.benefit-grid p{font-size:14px;color:var(--muted)}
@media(max-width:860px){
  .guide-steps>li{padding:14px 12px}
  .mini-time,.mini-points{font-size:12px}
  .task-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .task-reference-grid>li:nth-child(3){border-left:0;padding-left:0}
  .task-reference-grid>li:nth-child(n+3){border-top:1px solid var(--line)}
}
@media(max-width:700px){
  .guide-steps{grid-template-columns:1fr}
  .guide-steps>li{grid-template-rows:none;padding:13px 14px;gap:7px}
  .guide-steps>li+li{border-left:0;border-top:1px solid var(--line)}
  .guide-example{min-height:0}
  .guide-intro{display:block}
  .guide-intro .guide-date{margin-top:7px}
  .guide-reward-grid{grid-template-columns:1fr}
  .guide h2{font-size:24px}
  .guide-graphic{padding:13px 12px}
  .benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .benefit-grid li:nth-child(n+3){border-top:1px solid var(--line)}
}
@media(max-width:520px){
  .tabs{gap:2px}
  .tabs button{font-size:13px;padding-inline:1px}
  .guide{padding-top:17px}
  .guide-intro p,.graphic-caption p{font-size:14px}
  .benefit-grid li{gap:6px}
  .benefit-grid svg{width:20px;height:20px}
}
@media(max-width:350px){
  .tabs button{font-size:12px}
}
