:root {
  color-scheme: light;
  --bg: #f6f7f5;
  --panel: #ffffff;
  --ink: #183b43;
  --muted: #667b7f;
  --line: #e2e7e5;
  --green: #0b88a8;
  --green-dark: #076d89;
  --green-soft: #dff5f5;
  --amber: #f0a56c;
  --blue: #0dabb3;
  --today: #f06b64;
  --today-dark: #cf514c;
  --today-soft: #ffe7df;
  --cream: #fffddc;
  --peach: #ffd8b2;
  --coral: #f06b64;
  --teal: #0dabb3;
  --ocean: #0b88a8;
  --shadow: 0 18px 60px rgba(11, 94, 112, 0.13);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

button, input { font: inherit; }
button { color: inherit; }
svg { width: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hidden { display: none !important; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 190px minmax(0, 1fr); }

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 20px 14px;
  border-right: 1px solid var(--line);
  background: var(--panel);
}

.brand { display: flex; align-items: center; gap: 8px; padding: 0 8px; font-family: Georgia, "Songti SC", serif; font-size: 21px; font-weight: 700; letter-spacing: .06em; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 10px; color: white; background: var(--green); }
.brand-mark svg { width: 20px; }
.sidebar-greeting { margin: 20px 8px 2px; }
.sidebar-greeting .eyebrow { margin-bottom: 5px; white-space: nowrap; font-size: 9px; letter-spacing: .06em; }
.sidebar-greeting h1 { font-size: 27px; line-height: 1.15; }

.voice-card {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 9px;
  margin: 17px 0 14px;
  padding: 10px;
  border: 0;
  border-radius: 13px;
  text-align: left;
  cursor: pointer;
  color: white;
  background: var(--green);
  box-shadow: 0 8px 24px rgba(11, 136, 168, .22);
  transition: transform .2s, background .2s;
}
.voice-card:hover { transform: translateY(-2px); background: var(--green-dark); }
.voice-card.listening .voice-icon { animation: breathe 1.2s infinite; }
.voice-icon { display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; color: var(--green); background: white; }
.voice-icon svg { width: 17px; }
.voice-copy { display: grid; gap: 3px; }
.voice-copy strong { font-size: 12px; }
.voice-copy small { opacity: .75; font-size: 9px; }

.nav-list { display: grid; gap: 6px; }
.nav-item {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 9px 10px; border: 0; border-radius: 10px;
  color: #676a64; background: transparent; cursor: pointer; text-align: left;
}
.nav-item:hover, .nav-item.active { color: var(--green-dark); background: var(--green-soft); }
.summary-nav-item { color: var(--ocean); font-weight: 700; }
.nav-item svg { width: 19px; }
.nav-count { margin-left: auto; min-width: 22px; padding: 2px 6px; border-radius: 20px; text-align: center; font-size: 11px; background: rgba(13,171,179,.14); }

.sidebar-bottom { margin-top: auto; }
.section-label { margin: 0 0 10px 10px; color: #999b94; font-size: 11px; letter-spacing: .12em; }
.smart-rule { display: flex; gap: 11px; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.58); }
.smart-rule span:last-child { display: grid; gap: 3px; }
.smart-rule strong { font-size: 12px; }
.smart-rule small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.rule-icon { color: var(--amber); }
.rule-icon svg { width: 18px; }

.main { min-width: 0; padding: 20px clamp(12px, 1.8vw, 28px) 34px; }
.eyebrow { margin: 0 0 3px; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(24px, 2.2vw, 31px); font-weight: 500; }
.top-actions { display: flex; gap: 10px; }
.notification-button,
.account-button,
.icon-button { display: flex; align-items: center; justify-content: center; gap: 7px; height: 36px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: white; }
.notification-button,
.account-button { padding: 0 12px; color: var(--muted); font-size: 11px; font-weight: 600; }
.notification-button.connected,
.account-button.connected { color: var(--green-dark); border-color: #b9dfdf; background: var(--green-soft); }
.notification-button:hover,
.account-button:hover,
.icon-button:hover { border-color: var(--teal); color: var(--ocean); }
.icon-button { width: 36px; }
.today-jump-button { width: auto; padding: 0 12px; color: var(--green-dark); font-size: 11px; font-weight: 700; white-space: nowrap; }
.notification-button svg,
.account-button svg,
.icon-button svg { width: 17px; }

.category-bar { display: flex; align-items: center; justify-content: flex-start; gap: 18px; margin-top: 18px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.category-bar > div:first-child { display: grid; gap: 3px; }
.category-label { color: var(--muted); font-size: 9px; letter-spacing: .12em; }
.category-bar strong { font-size: 14px; }
.category-switch { display: flex; gap: 5px; padding: 3px; border-radius: 12px; background: #eef2f1; }
.category-switch button { display: flex; align-items: center; gap: 7px; min-height: 34px; padding: 7px 14px; border: 0; border-radius: 8px; color: #526b70; cursor: pointer; background: transparent; font-size: 13px; font-weight: 600; }
.category-switch button:hover { background: rgba(255,255,255,.6); }
.category-switch button.active { color: var(--ink); background: white; box-shadow: 0 2px 9px rgba(38,43,37,.1); font-weight: 600; }
.category-dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-all { background: linear-gradient(135deg, var(--ocean) 0 33%, var(--teal) 33% 66%, var(--coral) 66%); }
.dot-work { background: var(--ocean); }
.dot-life { background: var(--coral); }
.dot-study { background: var(--teal); }
.calendar-toolbar { display: flex; align-items: center; justify-content: flex-start; gap: 14px; margin: 14px 0 10px; }
.calendar-actions { margin-left: auto; }
.date-nav { display: flex; align-items: center; gap: 8px; }
.date-nav h2 { margin: 0 0 0 8px; font-size: 19px; font-weight: 700; }
.arrow-button { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; background: transparent; font-size: 21px; line-height: 1; }
.view-switch { order: -1; display: flex; flex: 0 0 auto; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.6); }
.view-switch button, .summary-tabs button { min-height: 34px; padding: 7px 17px; border: 0; border-radius: 7px; color: var(--muted); cursor: pointer; background: transparent; font-size: 13px; font-weight: 600; }
.view-switch button.active, .summary-tabs button.active { color: var(--ink); background: white; box-shadow: 0 2px 7px rgba(39,44,38,.08); }

.week-grid { display: grid; grid-template-columns: repeat(7, minmax(104px, 1fr)); border: 1px solid var(--line); border-radius: 16px 16px 0 0; overflow: hidden; background: white; }
.day-head { position: relative; display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 11px; border: 0; border-right: 1px solid var(--line); cursor: pointer; background: transparent; text-align: left; transition: background .2s, color .2s, box-shadow .2s; }
.day-head:last-child { border-right: 0; }
.day-head:hover { background: rgba(255,255,255,.65); }
.day-head.is-today { padding-right: 50px; color: var(--today-dark); background: white; box-shadow: inset 0 -4px 0 var(--today); }
.day-head.is-today::before { content: "今天"; position: absolute; right: 10px; top: 10px; padding: 3px 7px; border-radius: 10px; color: white; background: var(--today); font-size: 9px; font-weight: 600; }
.day-head.active { color: var(--ocean); background: var(--green-soft); box-shadow: inset 0 -4px 0 var(--ocean); }
.day-head.is-today.active { color: var(--today-dark); background: var(--today-soft); box-shadow: inset 0 -4px 0 var(--today); }
.day-name { display: inline; margin: 0; color: inherit; opacity: .78; font-size: 12px; font-weight: 600; white-space: nowrap; }
.day-number { font-family: Georgia, serif; font-size: 22px; font-weight: 700; line-height: 1; }
.day-dot { flex: 0 0 auto; width: 5px; height: 5px; margin-left: 2px; border-radius: 50%; background: var(--amber); }

.task-board { min-height: calc(100vh - 215px); padding: 18px; border: solid var(--line); border-width: 0 1px 1px; border-radius: 0 0 16px 16px; background: white; }
.board-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.board-title h3 { margin: 0; font-size: 17px; font-weight: 700; }
.board-title span { color: var(--muted); font-size: 12px; }
.board-title-actions { display: flex; align-items: center; gap: 12px; }
.back-to-week, .add-day-task { padding: 7px 11px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; background: white; font-size: 11px; }
.back-to-week { color: var(--green-dark); }
.add-day-task { color: white; border-color: var(--green); background: var(--green); }
.add-day-task:hover { background: var(--green-dark); }
.week-task-columns { display: grid; grid-template-columns: repeat(7, minmax(130px, 1fr)); gap: 8px; overflow-x: auto; padding-bottom: 5px; }
.week-task-column { min-width: 0; min-height: calc(100vh - 300px); padding: 10px; overflow: visible; border: 1px solid var(--line); border-radius: 13px; cursor: cell; background: white; transition: border-color .2s, background .2s; }
.week-task-column:hover { border-color: #bfcabe; background: rgba(244,248,244,.8); }
.week-task-column.is-today { border-color: #f4aaa2; background: #fff7f5; box-shadow: inset 0 3px 0 var(--today); }
.week-task-column.is-today .week-column-head { color: var(--today-dark); border-bottom-color: #f3c2b6; }
.week-column-head { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 10px; padding: 0 2px 8px; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; background: transparent; text-align: left; }
.week-column-head strong { font-size: 14px; }
.week-column-head span { color: var(--muted); font-size: 11px; font-weight: 600; }
.week-column-list { display: grid; min-width: 0; gap: 5px; overflow: visible; }
.week-empty { padding: 22px 4px; color: #a6a8a1; text-align: center; font-size: 10px; }
.week-empty::after { content: "点击添加"; display: block; margin-top: 5px; color: var(--green); opacity: 0; transition: opacity .2s; }
.week-task-column:hover .week-empty::after { opacity: 1; }
.week-task-card { position: relative; width: 100%; min-width: 0; max-width: 100%; padding: 4px 4px 3px 23px; overflow: visible; border: 1px solid transparent; border-radius: 8px; cursor: grab; touch-action: none; user-select: none; background: rgba(255,255,255,.9); box-shadow: 0 2px 7px rgba(49,55,48,.04); transition: border-color .2s, transform .2s, opacity .24s; }
.week-task-card:hover { border-color: #ccd5cd; transform: translateY(-1px); }
.week-task-card .task-check { position: absolute; left: 5px; top: 6px; width: 13px; height: 13px; }
.week-task-heading { display: block; min-width: 0; margin-bottom: 1px; line-height: 1; }
.week-task-card .week-task-title { display: block; min-width: 0; overflow: hidden; font-size: 12px; font-weight: 700; line-height: 1.15; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.week-task-card time { display: block; flex: 0 0 auto; color: var(--green-dark); font-size: 10px; font-weight: 800; line-height: 1; }
.week-card-actions { display: flex; align-items: center; justify-content: flex-start; min-width: 0; gap: 2px; margin-top: 2px; }
.week-card-actions button { flex: 0 0 auto; min-width: 0; min-height: 17px; padding: 2px 4px; overflow: hidden; border: 1px solid rgba(100,108,99,.17); border-radius: 4px; color: #52676b; cursor: pointer; background: rgba(255,255,255,.7); font-size: 8px; font-weight: 600; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
.week-card-actions button:first-child { color: #9a6538; background: #fff7ed; }
.week-card-actions .delete-action, .task-actions .delete-action { color: #ad4e4e; border-color: #efd1d1; background: #fff1f1; }
.week-card-actions button:hover { border-color: #9eaaa0; background: white; }
.week-task-card.completing { opacity: 0; transform: translateY(8px); }
.week-task-card.tone-green { border-left: 3px solid var(--teal); background: #e7f8f5; }
.week-task-card.tone-blue { border-left: 3px solid var(--ocean); background: #e2f3f7; }
.week-task-card.tone-purple { border-left: 3px solid #078da4; background: #e6f5f7; }
.week-task-card.tone-orange { border-left: 3px solid #efa46c; background: #fff0df; }
.week-task-card.tone-pink { border-left: 3px solid var(--coral); background: #ffebe5; }
.task-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 12px; }
.priority-group { min-width: 0; }
.priority-group-day { min-width: 0; min-height: 150px; padding: 9px; overflow: visible; border: 1px solid var(--line); border-radius: 13px; background: #f8fbfb; }
.priority-group-day.priority-group-general { background: #fffaf4; }
.priority-group-day.priority-group-postponed { background: #fff5f1; }
.priority-group-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; padding: 0 3px; color: var(--green-dark); }
.priority-group-title span { font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.priority-group-title small { color: var(--muted); font-size: 9px; }
.priority-group-general .priority-group-title { color: #8a6b4c; }
.priority-group-postponed .priority-group-title { color: var(--today-dark); }
.priority-group-items { display: grid; gap: 7px; }
.priority-group-empty { display: grid; min-height: 110px; place-items: center; color: #a6a8a1; font-size: 11px; }
.priority-group-week + .priority-group-week { margin-top: 10px; padding-top: 9px; border-top: 1px dashed var(--line); }
.priority-group-week .priority-group-title { margin-bottom: 5px; padding: 0 1px; }
.priority-group-week .priority-group-title span { font-size: 9px; }
.task-item {
  display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; column-gap: 7px; row-gap: 2px;
  width: 100%; min-width: 0; max-width: 100%; padding: 5px 7px; overflow: visible; border: 1px solid transparent; border-radius: 9px;
  cursor: grab; touch-action: none; user-select: none; background: rgba(255,255,255,.82); box-shadow: 0 3px 14px rgba(49,55,48,.04);
  transition: opacity .24s, transform .24s, max-height .3s, padding .3s, margin .3s;
}
.task-item:hover { border-color: #d9ded8; cursor: pointer; }
.task-check { position: relative; width: 16px; height: 16px; padding: 0; border: 1.5px solid #aeb4ad; border-radius: 50%; cursor: pointer; background: transparent; }
.task-check:hover { border-color: var(--green); background: var(--green-soft); }
.task-check::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; transform: scale(0); background: var(--green); transition: transform .15s; }
.task-check:active::after { transform: scale(1); }
.task-copy { min-width: 0; }
.task-copy strong { display: block; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 700; line-height: 1.25; }
.task-meta { display: none; }
.category-badge { padding: 3px 7px; border-radius: 6px; font-weight: 600; }
.category-work { color: #086d89; background: #dff2f7; }
.category-life { color: #b74944; background: #ffe5dd; }
.category-study { color: #087b81; background: #dcf5f3; }
.task-tag { padding: 3px 7px; border-radius: 6px; color: var(--green-dark); background: var(--green-soft); }
.task-time { flex: 0 0 auto; color: var(--green-dark); font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; }
.task-side { grid-column: 2; display: flex; align-items: center; justify-content: flex-start; min-width: 0; gap: 5px; }
.task-actions { display: flex; min-width: 0; gap: 3px; }
.task-actions button { min-height: 18px; padding: 2px 5px; border: 1px solid var(--line); border-radius: 5px; color: #626860; cursor: pointer; background: white; font-size: 8px; line-height: 1; }
.task-actions button:first-child { color: #9a6538; border-color: #edd9c2; background: #fff7ed; }
.task-actions button:hover { border-color: #aeb9af; box-shadow: 0 2px 7px rgba(49,55,48,.06); }
.task-item.completing { opacity: 0; transform: translateX(18px); }
.task-item.tone-green { border-left: 4px solid var(--teal); }
.task-item.tone-blue { border-left: 4px solid var(--ocean); }
.task-item.tone-purple { border-left: 4px solid #078da4; }
.task-item.tone-orange { border-left: 4px solid #efa46c; }
.task-item.tone-pink { border-left: 4px solid var(--coral); }
.task-item.tone-blue .task-tag { color: #086d89; background: #dff2f7; }
.task-item.tone-purple .task-tag { color: #08717f; background: #e0f3f5; }
.task-item.tone-orange .task-tag { color: #9c5d2f; background: #ffead4; }
.task-item.tone-pink .task-tag { color: #b74944; background: #ffe5dd; }
.empty-day { display: grid; place-items: center; min-height: 260px; color: var(--muted); text-align: center; cursor: pointer; border-radius: 14px; }
.empty-day:hover { background: rgba(230,237,231,.45); }
.empty-day span { display: block; margin: 0 auto 12px; width: 48px; height: 48px; border-radius: 50%; color: var(--green); background: var(--green-soft); font-size: 28px; line-height: 45px; }
.empty-day p { margin: 0; font-size: 13px; }

.month-grid { display: grid; grid-template-columns: repeat(7, minmax(105px, 1fr)); min-height: 540px; border: 1px solid var(--line); border-radius: 18px; overflow: auto; background: var(--panel); }
.month-weekday { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: center; min-height: 46px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #416a72; background: #e5f6f3; font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.month-weekday.weekend { color: var(--today-dark); background: #e5f6f3; }
.month-weekday:nth-child(7) { border-right: 0; }
.month-cell { min-height: 112px; padding: 10px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: cell; background: rgba(255,255,255,.7); text-align: left; }
.month-cell.column-end { border-right: 0; }
.month-cell.last-row { border-bottom: 0; }
.month-cell.weekend { background: white; }
.month-cell.weekend:hover { background: #f7faf9; }
.month-cell.weekday:hover { background: #edf9f5; }
.month-cell.other { color: #b8bab4; background: rgba(239,238,233,.72); }
.month-cell.other.weekend { background: #f1f3f2; }
.month-cell.today { position: relative; background: #fff7f5; box-shadow: inset 0 0 0 2px var(--today); }
.month-cell.today.weekend { background: #fff3ee; }
.month-cell.today .month-date { color: white; background: var(--today); }
.month-cell.today::after { content: "今天"; position: absolute; right: 8px; bottom: 8px; padding: 3px 7px; border-radius: 10px; color: white; background: var(--today); font-size: 8px; font-weight: 600; }
.month-date-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.month-date { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-family: Georgia, "Songti SC", serif; font-size: 21px; font-weight: 700; }
.lunar-date { overflow: hidden; color: #7b8989; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.month-cell.weekend .lunar-date { color: #ae6450; }
.month-cell.other .lunar-date { color: #bdbdb7; }
.month-task { margin: 5px 0; padding: 6px 7px; overflow: hidden; border-left: 3px solid var(--green); border-radius: 4px 6px 6px 4px; color: var(--green-dark); cursor: grab; touch-action: none; user-select: none; background: var(--green-soft); font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.week-task-card.dragging, .task-item.dragging, .month-task.dragging { z-index: 10; opacity: .55; cursor: grabbing; transform: scale(.98); }
[data-drop-date].drag-over, [data-drop-priority].drag-over { outline: 3px dashed var(--ocean); outline-offset: -4px; background-color: rgba(13,171,179,.16) !important; }
.month-cell.weekend .month-task { border-left-color: var(--coral); background: #ffe2d5; color: #994c43; }
.month-task.tone-green { border-left-color: var(--teal); background: #dcf5f3; color: #08767c; }
.month-task.tone-blue { border-left-color: var(--ocean); background: #dff2f7; color: #086d89; }
.month-task.tone-purple { border-left-color: #078da4; background: #e0f3f5; color: #08717f; }
.month-task.tone-orange { border-left-color: #efa46c; background: #ffead4; color: #9c5d2f; }
.month-task.tone-pink { border-left-color: var(--coral); background: #ffe5dd; color: #b74944; }
.month-more { margin-top: 5px; color: var(--muted); font-size: 9px; }

.completed-view { padding-top: 42px; }
.empty-state { padding: 90px 20px; text-align: center; color: var(--muted); }
.empty-state span { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; color: var(--green); background: var(--green-soft); font-size: 24px; }
.empty-state h3 { margin: 0 0 8px; color: var(--ink); }
.empty-state p { margin: 0; font-size: 13px; }
.completed-list { display: grid; gap: 10px; max-width: 760px; }
.completed-card { display: flex; justify-content: space-between; gap: 20px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; background: rgba(255,255,255,.7); transition: border-color .2s, box-shadow .2s, transform .2s; }
.completed-card:hover { border-color: #bdcbc0; box-shadow: 0 5px 16px rgba(49,55,48,.07); transform: translateY(-1px); }
.completed-card:focus-visible { outline: 3px solid rgba(13,171,179,.2); outline-offset: 2px; }
.completed-card strong { font-size: 14px; }
.completed-card small { display: block; margin-top: 5px; color: var(--muted); }
.completed-card-actions { display: flex; align-items: center; gap: 12px; }
.restore-button { align-self: center; border: 0; color: var(--green); cursor: pointer; background: transparent; font-size: 12px; }
.completed-delete-button { align-self: center; border: 0; color: #ad4e4e; cursor: pointer; background: transparent; font-size: 12px; }

.workbench-view { padding-top: 18px; }
.workbench-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.workbench-head h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(26px, 3vw, 38px);
}
.workbench-head p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.workbench-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 16px;
  align-items: start;
}
.workbench-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 12px 34px rgba(11, 94, 112, .06);
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.panel-title h3 { margin: 3px 0 0; font-size: 18px; }
.panel-kicker {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}
.ghost-button {
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  cursor: pointer;
  background: white;
  font-size: 11px;
}
.workbench-panel input,
.workbench-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  color: var(--ink);
  background: #fbfcfb;
}
.workbench-panel input { height: 42px; padding: 0 12px; }
.workbench-panel textarea {
  resize: vertical;
  min-height: 150px;
  margin-top: 10px;
  padding: 13px;
  line-height: 1.7;
}
.workbench-panel input:focus,
.workbench-panel textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,171,179,.12);
}
.primary-workbench-button {
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  border: 0;
  border-radius: 12px;
  color: white;
  cursor: pointer;
  background: var(--green);
  font-weight: 700;
}
.notes-list { display: grid; gap: 9px; margin-top: 14px; }
.note-card {
  display: grid;
  gap: 8px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fbfcfb;
}
.note-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}
.note-card strong { font-size: 14px; line-height: 1.4; }
.note-card time { color: var(--muted); font-size: 10px; }
.note-card p {
  margin: 0;
  color: #41585d;
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
}
.note-delete {
  flex: 0 0 auto;
  border: 0;
  color: var(--today-dark);
  cursor: pointer;
  background: transparent;
  font-size: 11px;
}
.empty-note { margin: 13px 0 0; color: var(--muted); font-size: 12px; }
.tool-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-bottom: 14px;
}
.tool-form button {
  min-height: 40px;
  border: 0;
  border-radius: 11px;
  color: white;
  cursor: pointer;
  background: var(--teal);
  font-weight: 700;
}
.tool-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.tool-card {
  position: relative;
  display: grid;
  gap: 7px;
  min-height: 88px;
  padding: 14px 34px 12px 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(135deg, #e6f5f7, #fff);
  transition: transform .2s, border-color .2s;
}
.tool-card:hover { transform: translateY(-2px); border-color: var(--teal); }
.tool-card strong { font-size: 15px; }
.tool-card small {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tool-card:nth-child(2n) { background: linear-gradient(135deg, #fff0df, #fff); }
.tool-card:nth-child(3n) { background: linear-gradient(135deg, #dcf5f3, #fff); }
.tool-delete {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(183,73,68,.18);
  border-radius: 50%;
  color: var(--today-dark);
  cursor: pointer;
  background: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1;
}

.composer {
  position: fixed; z-index: 20; left: 50%; bottom: 28px; width: min(640px, calc(100vw - 32px));
  padding: 16px; border: 1px solid rgba(255,255,255,.85); border-radius: 20px;
  opacity: 0; pointer-events: none; transform: translate(-50%, 22px);
  background: rgba(251,250,246,.94); backdrop-filter: blur(20px); box-shadow: var(--shadow);
  transition: opacity .25s, transform .25s;
}
.composer.open { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.composer-status { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 12px; }
.composer-status button { margin-left: auto; border: 0; cursor: pointer; background: transparent; font-size: 22px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: breathe 1.2s infinite; }
.composer-input-row { display: flex; gap: 8px; }
.composer input { flex: 1; min-width: 0; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; outline: none; background: white; }
.composer select { width: 88px; padding: 0 10px; border: 1px solid var(--line); border-radius: 12px; outline: none; color: var(--ink); background: white; }
#voiceLanguage { width: 100px; }
.composer input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(82,111,96,.1); }
.composer-input-row button, .copy-summary { border: 0; border-radius: 12px; color: white; cursor: pointer; background: var(--green); }
.composer-input-row button { padding: 0 17px; }
.quick-confirm { display: grid; grid-template-columns: minmax(0, 1fr) 120px 105px 112px; gap: 8px; margin-top: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.65); }
.quick-confirm label { display: grid; gap: 5px; }
.quick-confirm label span { color: var(--muted); font-size: 9px; }
.quick-confirm input { width: 100%; min-width: 0; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; outline: none; background: white; }
.quick-confirm select { width: 100%; min-width: 0; height: 38px; padding: 0 8px; border: 1px solid var(--line); border-radius: 9px; outline: none; color: var(--ink); background: white; font-size: 11px; }
.quick-confirm input:focus, .quick-confirm select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(82,111,96,.1); }
.parse-preview { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 10px 3px 0; color: var(--muted); font-size: 11px; }
.parse-preview span { display: inline-flex; gap: 2px; }
.parse-preview b { color: var(--ink); font-weight: 600; }
.parse-preview i { font-style: normal; }

.modal-backdrop { position: fixed; z-index: 30; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(29,32,28,.32); backdrop-filter: blur(4px); }
.summary-modal { width: min(620px, 100%); max-height: 88vh; overflow: auto; padding: 26px; border-radius: 22px; background: var(--panel); box-shadow: var(--shadow); }
.task-modal { width: min(620px, 100%); padding: 26px; border-radius: 22px; background: var(--panel); box-shadow: var(--shadow); }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; }
.modal-head h2 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: 28px; }
.modal-close { border: 0; cursor: pointer; background: transparent; font-size: 26px; }
.summary-tabs { display: inline-flex; margin: 24px 0 20px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; }
.summary-date-range { display: flex; align-items: end; gap: 10px; margin: -8px 0 18px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.summary-date-range label { display: grid; flex: 1; gap: 6px; }
.summary-date-range label span { color: var(--muted); font-size: 11px; font-weight: 600; }
.summary-date-range input { width: 100%; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: white; }
.summary-date-separator { padding-bottom: 11px; color: var(--muted); font-size: 12px; }
.summary-category-tabs { display: flex; gap: 6px; margin: -4px 0 16px; }
.summary-category-tabs button { min-height: 32px; padding: 6px 18px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); cursor: pointer; background: white; font-size: 13px; font-weight: 700; }
.summary-category-tabs button:hover { border-color: var(--green); color: var(--ink); }
.summary-category-tabs button.active { border-color: var(--green); color: white; background: var(--green); }
.summary-content { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.summary-range-label { margin-bottom: 14px; color: var(--green-dark); font-size: 12px; font-weight: 700; }
.summary-category-sections { display: grid; gap: 16px; }
.summary-category-section { padding: 16px; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 13px; background: #fbfcfa; }
.summary-category-section h3 { margin-bottom: 13px; }
.summary-category-section h4 { margin: 0 0 8px; font-size: 13px; }
.summary-category-work { border-left-color: var(--ocean); }
.summary-category-life { border-left-color: var(--coral); }
.summary-category-study { border-left-color: var(--teal); }
.summary-empty { padding: 28px 10px; color: var(--today-dark); text-align: center; font-size: 13px; }
.summary-content h3 { margin: 0 0 10px; font-size: 15px; }
.summary-content p { margin: 0 0 20px; color: #555a53; font-size: 13px; line-height: 1.8; }
.summary-content ul { margin: 0 0 20px; padding-left: 19px; color: #555a53; font-size: 13px; line-height: 1.9; }
.summary-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 20px; }
.stat { padding: 13px; border-radius: 12px; background: var(--bg); }
.stat strong { display: block; font-family: Georgia, serif; font-size: 23px; font-weight: 500; }
.stat small { color: var(--muted); font-size: 10px; }
.copy-summary { width: 100%; margin-top: 16px; padding: 13px; }
.task-title-field { display: grid; gap: 7px; margin-top: 24px; }
.task-title-field span { font-size: 12px; font-weight: 600; }
.task-title-field input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; outline: none; color: var(--ink); background: white; font-size: 15px; font-weight: 600; }
.task-title-field input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(82,111,96,.1); }
.task-schedule-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.58); }
.task-schedule-fields label { display: grid; gap: 7px; }
.task-schedule-fields label span { color: var(--muted); font-size: 10px; }
.task-schedule-fields input, .task-schedule-fields select { width: 100%; min-width: 0; height: 39px; padding: 0 9px; border: 1px solid var(--line); border-radius: 9px; outline: none; color: var(--ink); background: white; font-size: 12px; }
.task-schedule-fields input:focus, .task-schedule-fields select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(82,111,96,.1); }
.notes-label { display: block; margin: 14px 0 8px; font-size: 12px; font-weight: 600; }
.task-modal textarea { width: 100%; min-height: 180px; resize: vertical; padding: 14px; border: 1px solid var(--line); border-radius: 13px; outline: none; color: var(--ink); background: white; line-height: 1.7; }
.task-modal textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(82,111,96,.1); }
.task-modal-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 14px; }
.task-modal-actions span { color: var(--muted); font-size: 10px; }
.task-modal-actions button { padding: 10px 18px; border: 0; border-radius: 10px; color: white; cursor: pointer; background: var(--green); }
.confirm-modal { width: min(410px, 100%); padding: 27px; border-radius: 20px; text-align: center; background: var(--panel); box-shadow: var(--shadow); }
.confirm-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 50%; color: #b74944; background: #ffe5dd; font-family: Georgia, serif; font-size: 26px; font-weight: 700; }
.confirm-modal h2 { margin: 0 0 8px; font-family: Georgia, "Songti SC", serif; font-size: 23px; }
.confirm-modal p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.confirm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 22px; }
.confirm-actions button { min-height: 42px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: white; }
.confirm-actions .danger-button { color: white; border-color: var(--coral); background: var(--coral); }
.confirm-actions .danger-button:hover { background: var(--today-dark); }
.reminder-modal { width: min(430px, 100%); padding: 28px; border-radius: 22px; text-align: center; cursor: pointer; background: var(--panel); box-shadow: var(--shadow); }
.reminder-modal:focus-visible { outline: 3px solid rgba(13,171,179,.24); outline-offset: 3px; }
.reminder-bell { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 18px; color: var(--today-dark); background: var(--today-soft); font-size: 26px; }
.reminder-bell svg { width: 25px; }
.reminder-modal h2 { margin: 0 0 8px; font-family: Georgia, "Songti SC", serif; font-size: 25px; }
.reminder-title-row { display: flex; align-items: center; justify-content: flex-start; gap: 12px; width: 100%; margin: 0 0 10px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 14px; background: white; text-align: left; }
.reminder-title-row h2 { margin: 0; }
.reminder-title-copy { min-width: 0; }
.reminder-title-copy h2 { overflow: hidden; font-size: 22px; text-overflow: ellipsis; white-space: nowrap; }
.reminder-title-copy small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 600; }
.reminder-complete-check { display: grid; flex: 0 0 auto; place-items: center; width: 29px; height: 29px; border: 2px solid var(--teal); background: white; }
.reminder-complete-check span { color: white; font-size: 16px; font-weight: 800; line-height: 1; opacity: 0; transform: scale(.7); transition: opacity .15s, transform .15s; }
.reminder-complete-check:hover, .reminder-complete-check:focus-visible { background: var(--teal); outline: 3px solid rgba(13,171,179,.18); outline-offset: 2px; }
.reminder-complete-check:hover span, .reminder-complete-check:focus-visible span { opacity: 1; transform: scale(1); }
.reminder-modal > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 12px; }
.reminder-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 22px; }
.reminder-actions button { min-height: 42px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: white; }
.reminder-open-button { color: white; border-color: var(--green) !important; background: var(--green) !important; }
.reminder-delete-button { color: #b74944; border-color: #f3bbb3 !important; background: #fff0eb !important; }
.reminder-dismiss-button { grid-column: 1 / -1; color: var(--muted); }
.auth-modal { width: min(430px, 100%); padding: 27px; border-radius: 22px; background: var(--panel); box-shadow: var(--shadow); }
.auth-description { margin: 14px 0 20px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.auth-fields { display: grid; gap: 13px; }
.auth-fields label { display: grid; gap: 7px; }
.auth-fields label span { font-size: 12px; font-weight: 700; }
.auth-fields input { width: 100%; height: 45px; padding: 0 12px; border: 1px solid var(--line); border-radius: 11px; outline: none; background: white; font-size: 14px; }
.auth-fields input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,171,179,.12); }
.auth-message { min-height: 20px; margin: 12px 0 0; color: var(--today-dark); font-size: 11px; line-height: 1.5; }
.auth-message:not(:empty) { padding: 10px 12px; border: 1px solid #f0c9bf; border-radius: 9px; background: #fff5f1; }
.auth-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 12px; }
.auth-actions button, .auth-signed-in button { min-height: 43px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: white; }
.auth-actions button:disabled { cursor: wait; opacity: .55; }
.auth-actions .primary-auth-button, .auth-signed-in .primary-auth-button { color: white; border-color: var(--green); background: var(--green); }
.auth-link-button { grid-column: 1 / -1; color: var(--green-dark); }
.auth-signed-in { margin-top: 20px; }
.auth-signed-in p { margin: 0 0 16px; padding: 13px; border-radius: 10px; color: var(--green-dark); background: var(--green-soft); font-size: 12px; overflow-wrap: anywhere; }
.auth-signed-in button { width: 100%; margin-top: 10px; color: var(--today-dark); }

.toast { position: fixed; z-index: 50; left: 50%; top: 22px; padding: 10px 16px; border-radius: 10px; opacity: 0; transform: translate(-50%, -12px); color: white; background: var(--green-dark); box-shadow: var(--shadow); font-size: 12px; transition: .2s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

@keyframes breathe { 50% { transform: scale(1.16); opacity: .65; } }

@media (max-width: 820px) {
  .app-shell { display: block; }
  .sidebar { position: static; width: 0; height: 0; padding: 0; border: 0; }
  .brand { display: none; }
  .sidebar-greeting { position: absolute; z-index: 1; top: max(16px, env(safe-area-inset-top)); left: 12px; margin: 0; }
  .sidebar-greeting .eyebrow { margin-bottom: 3px; font-size: 10px; letter-spacing: .12em; }
  .sidebar-greeting h1 { font-size: 25px; }
  .voice-card {
    position: fixed; z-index: 25; right: 16px; bottom: calc(74px + env(safe-area-inset-bottom));
    width: 56px; height: 56px; margin: 0; padding: 0; border-radius: 50%;
    justify-content: center; box-shadow: 0 10px 28px rgba(56,82,70,.3);
  }
  .voice-card .voice-icon { width: 42px; height: 42px; }
  .voice-copy { display: none; }
  .nav-list {
    position: fixed; z-index: 24; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    padding: 7px 12px calc(7px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line); background: white;
  }
  .nav-item { justify-content: center; min-height: 48px; border-radius: 12px; gap: 6px; font-size: 12px; }
  .nav-item svg { width: 17px; }
  .summary-nav-item { font-size: 11px; }
  .sidebar-bottom { display: none; }
  .main { padding: calc(72px + env(safe-area-inset-top)) 12px calc(105px + env(safe-area-inset-bottom)); }
  .category-bar { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 0; padding: 9px; }
  .category-switch { width: 100%; overflow-x: auto; }
  .category-switch button { flex: 0 0 auto; justify-content: center; min-width: 76px; min-height: 42px; white-space: nowrap; }
  .calendar-toolbar { flex-wrap: wrap; margin-top: 13px; }
  .calendar-actions { order: 3; width: 100%; margin-left: 0; }
  .week-grid { overflow-x: auto; }
  .day-head { min-width: 82px; min-height: 44px; gap: 5px; padding: 7px 8px; }
  .day-head.is-today { padding-right: 24px; }
  .day-head.is-today::before { content: "今"; right: 5px; top: 50%; padding: 2px 4px; transform: translateY(-50%); font-size: 8px; }
  .day-head.is-today .day-dot { display: none; }
  .day-name { font-size: 11px; }
  .day-number { font-size: 20px; }
  .task-board { padding: 18px 14px; }
  .task-list { grid-template-columns: 1fr; }
  .week-task-columns { width: 100%; max-width: 100%; overflow-x: auto; grid-template-columns: repeat(7, 176px); padding-bottom: 8px; scroll-snap-type: x proximity; }
  .week-task-column { width: 176px; max-width: 176px; min-height: 410px; padding: 9px; scroll-snap-align: start; }
  .week-column-list { width: 100%; max-width: 100%; }
  .week-task-card { width: 100%; max-width: 100%; min-height: 0; padding: 4px 4px 3px 23px; }
  .week-task-card .task-check { left: 5px; }
  .week-task-heading { display: block; width: 100%; }
  .week-task-card time { padding-top: 0; font-size: 9px; line-height: 1; }
  .week-task-card .week-task-title {
    display: block; max-width: 100%; overflow: hidden; font-size: 11px; line-height: 1.15;
    white-space: nowrap; text-overflow: ellipsis;
  }
  .week-card-actions { width: 100%; max-width: 100%; }
  .week-card-actions button { min-height: 16px; padding: 2px 3px; font-size: 7px; }
  .month-grid { grid-template-columns: repeat(7, minmax(86px, 1fr)); min-height: 520px; }
  .month-cell { min-height: 98px; padding: 7px; }
  .month-weekday { min-height: 40px; font-size: 12px; }
  .month-date { width: 32px; height: 32px; font-size: 18px; }
  .month-task { padding: 5px; font-size: 10px; }
  .composer {
    bottom: calc(76px + env(safe-area-inset-bottom)); width: calc(100vw - 20px);
    padding: 14px; border-radius: 18px;
  }
  .modal-backdrop { align-items: end; padding: 0; }
  .summary-modal, .task-modal, .confirm-modal, .reminder-modal, .auth-modal {
    width: 100%; max-height: 90vh; padding: 22px 18px calc(22px + env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0;
  }
  .task-modal {
    display: flex; flex-direction: column; max-height: 92vh; overflow-y: auto;
    padding-bottom: 0; overscroll-behavior: contain;
  }
  .task-modal textarea { min-height: 150px; max-height: none; }
  .task-modal-actions {
    position: sticky; bottom: 0; z-index: 1; margin: 14px -18px 0; padding: 12px 18px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line); background: var(--panel);
  }
  .task-modal-actions span { max-width: 52%; line-height: 1.4; }
  .task-title-field input { height: 48px; font-size: 16px; }
  .task-schedule-fields input, .task-schedule-fields select { height: 46px; font-size: 16px; }
  .task-modal-actions button, .copy-summary { min-height: 46px; }
  .workbench-head { display: block; margin-top: 6px; }
  .workbench-head p { margin-top: 8px; }
  .workbench-grid { grid-template-columns: 1fr; gap: 12px; }
  .workbench-panel { padding: 15px; border-radius: 16px; }
  .tool-list { grid-template-columns: 1fr; }
  .tool-card { min-height: 76px; }
  button { touch-action: manipulation; }
}

@media (max-width: 520px) {
  .notification-button,
  .account-button { width: 38px; padding: 0; }
  .notification-button span,
  .account-button span { display: none; }
  .calendar-toolbar { align-items: flex-start; }
  .date-nav { flex-wrap: wrap; }
  .date-nav h2 { width: 100%; order: -1; margin: 0 0 7px; }
  .board-title { align-items: flex-start; gap: 8px; }
  .board-title > span { max-width: 48%; text-align: right; line-height: 1.4; }
  .priority-group-day { padding: 7px; }
  .task-item { grid-template-columns: 18px minmax(0, 1fr); }
  .completed-card { align-items: flex-start; gap: 8px; padding: 12px; }
  .completed-card-actions { flex-direction: column; align-items: flex-end; gap: 7px; }
  .composer-input-row { display: grid; grid-template-columns: 1fr 1fr; }
  .composer input { grid-column: 1 / -1; height: 46px; font-size: 16px; }
  .quick-confirm { grid-template-columns: 1fr 1fr; }
  .quick-confirm label:first-child { grid-column: 1 / -1; }
  .quick-confirm .priority-field { grid-column: 1 / -1; }
  .quick-confirm input { grid-column: auto; height: 44px; font-size: 16px; }
  .quick-confirm select { height: 44px; font-size: 15px; }
  .composer select, #voiceLanguage { width: 100%; height: 42px; }
  .composer-input-row button { grid-column: 1 / -1; min-height: 42px; padding: 10px; }
  .summary-stats { grid-template-columns: repeat(2, 1fr); }
  .task-schedule-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
