:root {
  color-scheme: light;
  --ink: #263647; --muted: #64706f; --paper: #f7f6f2; --panel: #fffefa;
  --line: #e4e5dc; --accent: #b34c38; --green: #386250; --radius: 14px;
  font-family: "Segoe UI", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; background: var(--panel); padding: 10px 14px; min-height: 44px; }
button:disabled { cursor: default; opacity: .55; }
button, input, select, textarea { border: 1px solid var(--line); border-radius: 8px; }
button:hover:not(:disabled) { background: #eeeee7; }
a { color: inherit; text-decoration: none; }
button, a, input, textarea, select { touch-action: manipulation; }
:focus-visible { outline: 3px solid #b34c3890; outline-offset: 3px; }
::selection { background: #efd3c9; color: #263647; }
input, textarea { caret-color: var(--accent); }
::placeholder { color: #727970; }
svg { width: 20px; height: 20px; flex: none; vertical-align: middle; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 30px; line-height: 1.35; letter-spacing: -.025em; margin-bottom: 7px; }
h2 { font-size: 19px; margin-bottom: 16px; }
h3 { font-size: 15px; margin-bottom: 10px; }
p { line-height: 1.8; }
small { font-size: 12px; }
.muted, .subtitle { color: var(--muted); }
.subtitle { margin-bottom: 0; }
.skip-link { position: fixed; top: -80px; left: 12px; z-index: 90; background: white; padding: 12px; }
.skip-link:focus { top: 12px; }
.shell { display: grid; grid-template-columns: 218px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 32px 18px 20px; background: #eeeee6; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 32px; }
.brand { display: flex; gap: 10px; align-items: center; font-size: 23px; letter-spacing: -.025em; font-weight: 750; }
.brand-mark { width: 31px; height: 31px; background: var(--accent); border-radius: 10px 10px 10px 2px; color: white; display: grid; place-items: center; }
.sidebar .brand { padding-left: 10px; }
.side-nav { display: grid; gap: 6px; }
.nav-link { display: flex; gap: 12px; align-items: center; min-height: 47px; padding: 10px 14px; border-radius: 8px; color: #616d67; }
.nav-link:hover { background: #e5e6dc; }
.nav-link.active { background: var(--panel); color: var(--accent); font-weight: 650; }
.side-goals { border-top: 1px solid #dcded3; padding: 24px 12px; }
.side-goals p { font-size: 12px; color: var(--muted); }
.side-goals a { display: flex; gap: 9px; align-items: center; font-size: 13px; padding: 11px 0; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #b96651; flex: none; }
.dot.course { background: #62978c; }
.dot.research { background: #a99a64; }
.side-bottom { margin-top: auto; }
.profile { display: flex; gap: 12px; align-items: center; padding-top: 20px; margin-top: 10px; border-top: 1px solid #dcded3; }
.avatar { display: grid; place-items: center; background: #d6dfd3; width: 35px; height: 35px; border-radius: 50%; color: #386250; }
.profile small { display: block; margin-top: 3px; color: var(--muted); }
.workspace { min-width: 0; }
.topbar { height: 70px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; padding: 0 36px; gap: 10px; }
.topbar .brand { display: none; }
.top-meta { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 13px; }
.demo-label { display: inline-flex; align-items: center; gap: 6px; color: #5f6a60; font-size: 11px; background: #e9ece3; padding: 5px 8px; border-radius: 5px; }
.top-actions, .actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; background: transparent; border-color: transparent; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; background: var(--panel); }
.primary { background: var(--ink); border-color: var(--ink); color: white; }
.primary:hover:not(:disabled) { background: #384d60; }
.accent-button { background: var(--accent); border-color: var(--accent); color: white; }
.accent-button:hover:not(:disabled) { background: #943e2e; }
.text-button { background: transparent; border-color: transparent; color: var(--accent); }
.full { width: 100%; }
main { padding: 30px 36px 48px; max-width: 1620px; margin: 0 auto; min-width: 0; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.page-heading .subtitle { font-size: 13px; }
.status-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #e9eee5; border-radius: 10px; padding: 13px 18px; margin-bottom: 24px; color: #355947; }
.status-banner p { margin: 0; font-size: 13px; }
.status-banner strong { margin-right: 10px; }
.status-banner button { background: transparent; border-color: #c5d3c1; color: #355947; white-space: nowrap; }
.planner-layout { display: grid; grid-template-columns: minmax(0, 1fr) 282px; gap: 24px; align-items: start; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.calendar-toolbar { padding: 18px 20px 14px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.calendar-toolbar h2 { margin: 0; font-size: 17px; }
.segmented { display: flex; padding: 3px; gap: 3px; background: #eeeee7; border-radius: 8px; }
.segmented button { border: 0; background: transparent; color: var(--muted); padding: 7px 13px; min-height: 36px; }
.segmented button.selected { background: var(--panel); color: var(--ink); box-shadow: 0 2px 4px #2636470a; }
.calendar-legend { display: flex; gap: 15px; flex-wrap: wrap; padding: 0 20px 15px; font-size: 11px; color: #606b65; }
.calendar-legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend-square { width: 9px; height: 9px; border-radius: 3px; }
.legend-square.course { background: #c5e2dc; }
.legend-square.task { background: #efd2c5; }
.legend-square.research { background: #e7debb; }
.legend-square.rest { background: #e4e7e1; }
.date-strip { display: grid; grid-template-columns: 49px repeat(7,minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px 10px 8px 0; }
.month-label { align-self: center; text-align: center; font-size: 11px; color: var(--muted); }
.date-tab { border: 0; background: transparent; padding: 5px 0; min-height: 53px; display: grid; gap: 5px; color: var(--muted); justify-items: center; }
.date-tab span { font-size: 11px; }
.date-tab b { font-size: 15px; font-weight: 550; }
.date-tab.selected { color: var(--accent); background: #f8e9e2; }
.calendar-scroll { height: 590px; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c8cdc1 transparent; }
.time-grid { display: grid; grid-template-columns: 49px minmax(0,1fr); position: relative; padding-right: 10px; }
.time-labels { position: relative; height: 1008px; }
.time-label { position: absolute; right: 9px; font-size: 10px; font-variant-numeric: tabular-nums; color: #69736c; transform: translateY(-5px); }
.time-label:first-child { transform: translateY(2px); }
.day-columns { display: grid; grid-template-columns: repeat(var(--days), minmax(0,1fr)); }
.day-column { position: relative; height: 1008px; border-left: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0, transparent 71px, #e5e8df 71px, #e5e8df 72px); }
.calendar-event { position: absolute; left: 5px; right: 5px; min-height: 0; border: none; border-radius: 7px; padding: 7px 10px; text-align: left; overflow: hidden; display: flex; flex-direction: column; align-items: start; gap: 3px; }
.calendar-event strong { font-size: 13px; font-weight: 650; line-height: 1.45; overflow-wrap: anywhere; }
.calendar-event small { font-size: 11px; }
.calendar-event .event-meta { opacity: .9; }
.calendar-event.course, .course-fill { color: #275c50; background: #dceee7; }
.calendar-event.task, .task-fill { color: #803e30; background: #f5ded3; }
.calendar-event.research, .research-fill { color: #6a5925; background: #eee7c9; }
.calendar-event.rest, .rest-fill { color: #5b645e; background: #ebeee7; }
.calendar-event.review { color: #4b507f; background: #e8e8f4; }
.calendar-event:hover { filter: brightness(.965); }
.calendar-event.completed { opacity: .65; }
.calendar-event.completed strong { text-decoration: line-through; }
.calendar-overlap { position: absolute; left: 2px; right: 2px; border: 1px solid #8c9988; border-radius: 8px; }
.week-grid .calendar-event { left: 3px; right: 3px; padding: 7px 6px; }
.week-grid .calendar-event strong { font-size: 11px; }
.week-grid .calendar-event small { font-size: 10px; }
.week-grid .event-meta { display: none; }
.now-line { position: absolute; top: 90px; left: 0; right: 0; border-top: 1px solid #b34c38; z-index: 2; pointer-events: none; }
.now-line::before { content: ''; position: absolute; left: -4px; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: #b34c38; }
.now-line span { position: absolute; right: 3px; top: -17px; font-size: 10px; color: #9d3e2d; background: var(--panel); padding: 1px 4px; white-space: nowrap; }
.week-grid .now-line span { font-size: 9px; }
.calendar-event.short .event-meta { display: none; }
.calendar-footer { padding: 11px 18px; color: var(--muted); font-size: 11px; border-top: 1px solid var(--line); }
.right-rail { display: grid; gap: 24px; }
.next-card { padding: 22px; background: #283e38; color: #f4f7ef; border-radius: var(--radius); }
.next-card .next-label { display: flex; gap: 8px; align-items: center; font-size: 12px; color: #c4d6bc; margin-bottom: 18px; }
.next-card h2 { font-size: 20px; line-height: 1.6; margin-bottom: 12px; }
.next-card p { font-size: 12px; color: #d0ddd0; }
.next-card button { background: #e2ecd7; border-color: transparent; color: #283e38; margin-top: 8px; }
.rail-section { padding: 0 4px; }
.rail-section h3 { display: flex; align-items: center; justify-content: space-between; }
.rail-section h3 small { color: var(--muted); font-weight: 400; }
.task-row { display: flex; gap: 12px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); width: 100%; text-align: left; background: none; border-radius: 0; border-top: 0; border-left: 0; border-right: 0; }
.task-row .row-text { flex: 1; min-width: 0; }
.task-row strong { font-size: 13px; display: block; line-height: 1.6; }
.task-row small { display: block; color: var(--muted); margin-top: 4px; line-height: 1.6; }
.task-row svg:last-child { width: 16px; }
.tag { font-size: 11px; display: inline-block; padding: 4px 7px; border-radius: 5px; background: #e8eee3; color: #456041; }
.locked-tag { margin-left: 6px; background: #e6ecef; color: #425d69; }
.local-status { margin-bottom: 18px; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.local-status:has(strong) { padding: 16px; background: #f6e5dd; color: #803e30; }
.local-status .actions { margin-top: 10px; }
.settings-list + .settings-list { margin-top: 24px; }
.settings-list .actions { flex-wrap: wrap; }
.settings-list .actions > button { white-space: normal; }
.settings-row input[type=time] { width: 140px; flex: none; }
#scheduleDate { width: 165px; }
.focus-panel select { max-width: 220px; margin: auto; }
.calendar-toolbar { flex-wrap: wrap; }
.tag.urgent { background: #f6e5dd; color: #91452e; }
.note { padding: 14px 16px; background: #eeefe7; border-radius: 8px; font-size: 12px; line-height: 1.8; color: #59674f; }
.empty { padding: 32px 20px; text-align: center; color: var(--muted); }
.goal-list { display: grid; gap: 18px; }
.goal-card { padding: 24px; display: grid; grid-template-columns: minmax(0,1fr) 200px auto; align-items: center; gap: 32px; }
.goal-card h2 { margin: 10px 0; }
.goal-card p { margin: 0; font-size: 13px; color: var(--muted); }
progress { height: 7px; width: 100%; border: 0; border-radius: 4px; background: #e8e9df; accent-color: #54785d; }
progress::-webkit-progress-bar { background: #e8e9df; border-radius: 4px; }
progress::-webkit-progress-value { background: #54785d; border-radius: 4px; }
.progress-caption { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 12px; color: var(--muted); }
.back-link { display: inline-flex; gap: 6px; align-items: center; min-height: 44px; color: var(--muted); margin-bottom: 14px; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 24px; }
.padded { padding: 24px; }
.milestones { list-style: none; padding: 0; margin: 0; }
.milestone { display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 15px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.step-number { width: 30px; height: 30px; border-radius: 50%; background: #e8eee2; color: #43664b; display: grid; place-items: center; }
.milestone h3 { margin: 3px 0 6px; }
.milestone p { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.milestone .actions { margin-top: 8px; }
.facts { display: grid; gap: 18px; }
.facts div { display: flex; justify-content: space-between; gap: 15px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; }
.bottom-nav { display: none; }
dialog { color: var(--ink); background: var(--panel); border: 0; border-radius: 16px; padding: 0; width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 40px); box-shadow: 0 24px 70px #17272030; }
dialog::backdrop { background: #1b2a3655; }
.dialog-heading { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--panel); z-index: 2; }
.dialog-heading h2 { margin: 0; }
.dialog-body { padding: 24px; }
.dialog-body>p { color: var(--muted); font-size: 13px; }
.field { display: grid; gap: 8px; margin: 0 0 18px; font-size: 13px; font-weight: 600; }
input:not([type=checkbox]), select, textarea { width: 100%; min-width: 0; background: white; color: var(--ink); min-height: 44px; padding: 10px 12px; font-weight: 400; }
textarea { min-height: 100px; resize: vertical; line-height: 1.7; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.check-item { display: flex; align-items: start; gap: 12px; min-height: 46px; padding: 10px 0; line-height: 1.7; }
input[type=checkbox] { accent-color: #56795e; width: 18px; height: 18px; margin-top: 3px; flex: none; }
.check-item:has(input:checked) span { color: #6c7868; text-decoration: line-through; }
.dialog-actions { display: flex; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 22px; }
.error { color: #a13128; line-height: 1.7; font-size: 13px; }
.error:empty { display: none; }
.meta-line { display: flex; align-items: center; gap: 9px; color: var(--muted); margin: 12px 0 20px; }
.focus-panel { text-align: center; max-width: 620px; margin: 25px auto; padding: 38px; }
.timer { font-size: 76px; font-variant-numeric: tabular-nums; letter-spacing: -.03em; font-weight: 350; margin: 40px 0 16px; }
.focus-panel .actions { justify-content: center; margin-bottom: 32px; }
.focus-panel .check-item { text-align: left; }
.review-grid { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 24px; }
.review-form { padding: 28px; }
.review-form h2 { margin-top: 24px; }
.review-form h2:first-child { margin-top: 0; }
.review-summary { padding: 18px; background: #e9eee3; border-radius: 8px; color: #456046; margin-bottom: 24px; }
.review-history article { border-bottom: 1px solid var(--line); padding: 20px 0; }
.review-history article:first-child { padding-top: 0; }
.review-history p { font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.review-history small { color: var(--muted); }
.assistant-layout { max-width: 880px; margin: auto; }
.assistant-intro { margin: 20px 0 30px; }
.assistant-intro h2 { font-size: 25px; }
.suggestions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.chat-message { padding: 18px 0; border-bottom: 1px solid var(--line); }
.chat-message.user { border: 0; background: #e8eee1; margin: 18px 0 0 auto; padding: 14px 18px; border-radius: 12px; max-width: 85%; }
.chat-message p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.chat-access { margin-bottom: 20px; }
.chat-access summary { cursor: pointer; }
.chat-context { margin-top: 16px; }
.chat-plan-actions { margin-top: 20px; flex-wrap: wrap; }
.chat-message small { display: block; margin-bottom: 6px; }
.research-result { padding-top: 20px; }
.research-result ol { padding-left: 22px; line-height: 2; }
.source-link { display: block; padding: 12px 0; text-decoration: underline; text-underline-offset: 4px; font-size: 13px; }
.chat-composer { display: flex; gap: 12px; align-items: end; margin-top: 28px; padding: 14px; }
.chat-composer textarea { min-height: 70px; border: 0; resize: vertical; }
.settings-list { max-width: 720px; }
.settings-row { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; align-items: center; border-bottom: 1px solid var(--line); }
.settings-row p { font-size: 12px; color: var(--muted); margin: 6px 0 0; }
.settings-row select { width: 130px; flex: none; }
.notification { padding: 18px 0; border-bottom: 1px solid var(--line); }
.notification p { font-size: 13px; color: var(--muted); margin: 8px 0; }
#toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); background: var(--ink); color: white; padding: 12px 20px; border-radius: 9px; max-width: calc(100% - 28px); z-index: 100; font-size: 13px; pointer-events: none; opacity: 0; transition: opacity 160ms; }
#toast.show { opacity: 1; }
.preview-page { margin: 0; background: #dedfd6; min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 18px; gap: 14px; }
.preview-controls { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center; }
.phone-frame { width: 393px; max-width: 100%; height: min(852px, calc(100dvh - 95px)); border: 7px solid #263a32; border-radius: 28px; background: var(--paper); box-shadow: 0 22px 60px #26364720; }
@media (min-width: 1500px) { .planner-layout { grid-template-columns: minmax(0,1fr) 320px; gap: 32px; } }
@media (max-width: 1180px) { .shell { grid-template-columns: 185px minmax(0,1fr); } .sidebar { padding-left: 12px; padding-right: 12px; } main { padding: 26px 24px; } .topbar { padding: 0 24px; } .planner-layout { grid-template-columns: minmax(0,1fr) 245px; gap: 18px; } .goal-card { grid-template-columns: minmax(0,1fr) 160px; gap: 20px; } .goal-card .button { grid-column: 1/-1; justify-self: start; } }
@media (max-width: 1000px) { .planner-layout { grid-template-columns: minmax(0,1fr); } .right-rail { grid-template-columns: 1fr 1fr; } .next-card { grid-row: span 2; } .detail-layout, .review-grid { grid-template-columns: minmax(0,1fr); } .calendar-scroll { height: 640px; } }
@media (max-width: 720px) {
  .shell { display: block; } .sidebar { display: none; }
  .topbar { height: 61px; padding: 0 16px; } .topbar .brand { display: flex; font-size: 20px; }
  .brand-mark { width: 27px; height: 27px; } .top-meta, .preview-link { display: none; }
  main { padding: 23px 16px 105px; } h1 { font-size: 25px; }
  .page-heading { gap: 12px; align-items: start; flex-wrap: wrap; margin-bottom: 18px; }
  .page-heading .actions { width: 100%; } .page-heading .actions>* { flex: 1; }
  .page-heading .subtitle { font-size: 12px; }
  .status-banner { padding: 12px; gap: 8px; margin-bottom: 18px; }
  .status-banner strong { display: block; } .status-banner p { font-size: 12px; }
  .status-banner button { padding: 7px 10px; }
  .calendar-toolbar { padding: 14px 12px; } .calendar-toolbar h2 { font-size: 16px; }
  .segmented button { padding: 7px 12px; min-height: 40px; }
  .calendar-legend { padding: 0 12px 13px; gap: 12px; font-size: 10px; }
  .calendar-scroll { height: 600px; }
  .time-grid { grid-template-columns: 42px minmax(0,1fr); padding-right: 6px; }
  .date-strip { grid-template-columns: 42px repeat(7,minmax(0,1fr)); padding-right: 6px; }
  .date-tab span { font-size: 10px; } .date-tab b { font-size: 14px; }
  .week-grid .calendar-event { left: 1px; right: 1px; padding: 5px 2px; border-radius: 4px; min-height: 44px; }
  .week-grid .calendar-event strong { font-size: 10px; line-height: 1.5; }
  .week-grid .calendar-event small { display: none; }
  .week-grid .now-line span { display: none; }
  .time-label { font-size: 9px; right: 6px; } .calendar-footer { padding: 10px 12px; line-height: 1.7; }
  .right-rail { display: grid; grid-template-columns: minmax(0,1fr); gap: 22px; margin-top: 4px; }
  .next-card { grid-row: auto; padding: 20px; } .next-card h2 { font-size: 18px; }
  .bottom-nav { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); position: fixed; bottom: 0; left: 0; right: 0; background: var(--panel); border-top: 1px solid var(--line); padding: 7px 6px max(7px, env(safe-area-inset-bottom)); z-index: 8; }
  .bottom-nav .nav-link { flex-direction: column; gap: 5px; font-size: 10px; min-height: 54px; padding: 7px 0; }
  .bottom-nav .nav-link.active { background: #f5eae3; }
  .goal-card { grid-template-columns: minmax(0,1fr); gap: 20px; padding: 20px; } .goal-card .button { width: 100%; }
  .padded, .review-form { padding: 20px; } .detail-layout, .review-grid { grid-template-columns: minmax(0,1fr); }
  dialog { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 18px 18px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .dialog-heading { padding: 13px 18px; } .dialog-body { padding: 18px; }
  input:not([type=checkbox]), select, textarea { font-size: 16px; }
  .focus-panel { padding: 24px 18px; } .timer { font-size: 64px; }
  .assistant-intro h2 { font-size: 22px; } .chat-composer { gap: 4px; padding: 8px; } .chat-composer button { padding: 10px; }
  .settings-row { gap: 12px; } #toast { bottom: 90px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.today-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; grid-template-areas: "current notes" "timeline priorities"; gap: 28px; align-items: start; }
.current-section { grid-area: current; min-width: 0; }
.current-task { padding: 26px; border-radius: 14px; background: #283e38; color: #f5f7ef; }
.current-label { display: flex; align-items: center; gap: 8px; color: #c4d6bc; font-size: 13px; }
.current-label>span { margin-left: auto; font-variant-numeric: tabular-nums; }
.current-task h2 { font-size: 24px; margin: 20px 0 12px; line-height: 1.5; }
.current-task>p { color: #d0ddd0; font-size: 13px; }
.current-task .button, .current-task button { color: #263e32; background: #e2ecd7; border-color: transparent; }
.current-task .actions>button { background: transparent; color: #e2ecd7; border-color: #748677; }
.current-step { border-top: 1px solid #647768; padding: 18px 0; display: grid; gap: 8px; }
.current-step span, .current-step small { color: #c4d6bc; font-size: 12px; }
.current-step strong { font-size: 15px; font-weight: 500; }
.up-next { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 19px 6px 0; }
.up-next .muted { font-size: 12px; }
.up-next h3 { margin: 7px 0; }
.up-next p { margin-bottom: 0; color: var(--muted); font-size: 12px; }
.up-next>button { flex: none; }
.quick-capture { grid-area: notes; padding: 20px; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.section-title h2 { margin: 0; }
.quick-capture .section-title { flex-wrap: wrap; }
.section-title>span { font-size: 11px; }
.quick-capture textarea { min-height: 130px; }
.capture-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.capture-actions small { font-size: 10px; }
.capture-actions button { flex: none; }
.capture-empty { color: var(--muted); font-size: 12px; margin: 22px 0 2px; padding-top: 16px; border-top: 1px solid var(--line); }
.note-list { max-height: 290px; overflow-y: auto; scrollbar-width: thin; }
.capture-entry { padding: 18px 0 10px; border-top: 1px solid var(--line); margin-top: 14px; }
.capture-entry p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0; font-size: 13px; }
.capture-entry .text-button { padding: 6px 8px; font-size: 12px; }
.day-timeline { grid-area: timeline; min-width: 0; }
.timeline-list { margin: 0; padding: 0; list-style: none; }
.timeline-item { display: grid; grid-template-columns: 52px 15px minmax(0,1fr); column-gap: 14px; position: relative; padding-bottom: 14px; align-items: start; }
.timeline-time { padding-top: 17px; font-size: 12px; font-variant-numeric: tabular-nums; display: grid; gap: 7px; }
.timeline-time span { color: var(--muted); font-size: 11px; }
.timeline-dot { margin-top: 23px; width: 9px; height: 9px; border: 2px solid #c0c8bc; border-radius: 50%; justify-self: center; z-index: 1; background: var(--paper); }
.timeline-item:not(:last-child)::after { content: ''; position: absolute; top: 28px; bottom: -24px; left: 73px; width: 1px; background: #dce1d6; }
.is-current .timeline-dot { background: var(--accent); border-color: var(--accent); }
.is-done .timeline-dot { background: #62806b; border-color: #62806b; }
.timeline-event { display: flex; width: 100%; align-items: center; gap: 12px; text-align: left; padding: 17px; background: transparent; border-color: transparent; border-bottom-color: var(--line); border-radius: 0; }
.timeline-copy { flex: 1; min-width: 0; }
.timeline-heading { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.timeline-heading strong { font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.timeline-status { color: var(--muted); font-size: 11px; white-space: nowrap; padding-top: 3px; }
.timeline-copy>small { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; }
.timeline-event>svg { width: 16px; color: var(--muted); }
.is-current .timeline-event { background: #eef1e7; border-color: transparent; border-radius: 10px; }
.is-current .timeline-status { color: #42623b; }
.is-done .timeline-heading strong { text-decoration: line-through; color: var(--muted); }
.today-priorities { grid-area: priorities; display: grid; gap: 24px; min-width: 0; }
@media (max-width: 1180px) { .today-layout { grid-template-columns: minmax(0,1fr) 260px; gap: 24px; } .current-task { padding: 22px; } }
@media (max-width: 1000px) { .today-layout { grid-template-columns: minmax(0,1fr); grid-template-areas: "current" "notes" "timeline" "priorities"; } .quick-capture textarea { min-height: 90px; } .capture-empty { display: none; } }
@media (max-width: 720px) { .current-task { padding: 20px; } .current-task h2 { font-size: 21px; } .quick-capture { padding: 18px; } .timeline-item { grid-template-columns: 42px 10px minmax(0,1fr); gap: 10px; } .timeline-item:not(:last-child)::after { left: 57px; } .timeline-event { padding: 14px 8px; gap: 5px; } .timeline-heading { flex-wrap: wrap; gap: 2px 8px; } .timeline-heading strong { font-size: 13px; } .timeline-copy>small { font-size: 11px; } .section-title h2 { font-size: 18px; } .section-title>.button { font-size: 12px; padding: 8px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
