@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700&family=DM+Sans:wght@400;500;600;700&display=swap');
:root {
  --bg: #F7F5F0; --card: #FFFFFF; --text: #1A1A1A; --muted: #6B6B6B;
  --accent: #C43B2A; --accent-light: #FFF0EE; --border: #E5E0D8;
  --copy-flash: #2EAA4A; --shadow: 0 1px 4px rgba(0,0,0,0.06);
  --focus-ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
  --tab-height: 56px;
}
* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family:'DM Sans',-apple-system,BlinkMacSystemFont,sans-serif;
  background:var(--bg); color:var(--text); -webkit-font-smoothing:antialiased;
  padding-bottom:calc(var(--tab-height) + env(safe-area-inset-bottom, 0px));
  touch-action:manipulation;
}

/* Skip link */
.skip-link { position:absolute; top:-100%; left:16px; z-index:999; background:var(--accent); color:#fff; padding:8px 16px; border-radius:6px; font-size:13px; font-weight:600; text-decoration:none; }
.skip-link:focus { top:8px; }

/* ── Trip Selector ──────────────────────────────────────── */
.trip-selector { padding:calc(60px + env(safe-area-inset-top, 0px)) 20px 40px; max-width:600px; margin:0 auto; }
.trip-selector h1 { font-size:22px; font-weight:700; margin-bottom:4px; }
.trip-selector .ts-sub { font-size:13px; color:var(--muted); margin-bottom:24px; }
.trip-card { background:var(--card); border-radius:14px; border:1px solid var(--border); padding:20px; margin-bottom:14px; box-shadow:var(--shadow); cursor:pointer; transition:transform .15s,box-shadow .15s; display:block; width:100%; text-align:left; font-family:inherit; }
.trip-card:focus-visible { outline:none; box-shadow:var(--focus-ring); }
.trip-card:active { transform:scale(0.98); }
.trip-card .tc-color { width:40px; height:4px; border-radius:2px; margin-bottom:12px; }
.trip-card .tc-name { font-size:17px; font-weight:700; margin-bottom:2px; }
.trip-card .tc-dates { font-size:12px; color:var(--muted); }
.trip-card .tc-cities { font-size:11px; color:var(--muted); margin-top:6px; }

/* ── Bottom Tab Bar ─────────────────────────────────────── */
.tab-bar { position:fixed; bottom:0; left:0; right:0; z-index:100; background:var(--card); border-top:1px solid var(--border); display:flex; height:var(--tab-height); padding-bottom:env(safe-area-inset-bottom, 0px); }
.tab-btn { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; background:none; border:none; font-family:inherit; font-size:10px; font-weight:600; color:var(--muted); cursor:pointer; padding:4px 0; transition:color .2s; -webkit-tap-highlight-color:transparent; }
.tab-btn:focus-visible { outline:none; box-shadow:inset 0 -2px 0 var(--accent); }
.tab-btn.active { color:var(--accent); }
.tab-btn svg { width:22px; height:22px; }
.tab-btn.active svg { stroke-width:2.5; }

/* ── View Container ─────────────────────────────────────── */
.view { display:none; }
.view.active { display:block; }

/* ── City Pills (used in Schedule, Food, Practical) ────── */
.city-pills { display:flex; gap:6px; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding:16px 16px 0; }
.city-pills::-webkit-scrollbar { display:none; }
.city-pill { flex-shrink:0; padding:6px 14px; font-size:12px; font-weight:600; background:var(--card); border:1px solid var(--border); border-radius:20px; cursor:pointer; white-space:nowrap; transition:background .2s,color .2s,border-color .2s; font-family:inherit; }
.city-pill:focus-visible { outline:none; box-shadow:var(--focus-ring); }
.city-pill.active { color:#fff; }

/* ── Day Pills ──────────────────────────────────────────── */
.day-nav { display:flex; gap:6px; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding:10px 16px; }
.day-nav::-webkit-scrollbar { display:none; }
.day-pill { flex-shrink:0; padding:6px 11px; font-size:11px; font-weight:600; background:var(--card); border:1px solid var(--border); border-radius:20px; cursor:pointer; white-space:nowrap; transition:background .2s,color .2s,border-color .2s; user-select:none; font-family:inherit; }
.day-pill:focus-visible { outline:none; box-shadow:var(--focus-ring); }
.day-pill.active { background:var(--accent); color:white; border-color:var(--accent); }
.pill-date { font-weight:400; opacity:.7; font-size:10px; }

/* ── Page Content ───────────────────────────────────────── */
.page { padding:16px; padding-left:calc(16px + env(safe-area-inset-left, 0px)); padding-right:calc(16px + env(safe-area-inset-right, 0px)); max-width:600px; margin:0 auto; }
.page-title { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:1px; margin-bottom:4px; }
.page-date { font-size:19px; font-weight:700; margin-bottom:2px; text-wrap:balance; }
.page-subtitle { font-size:13px; color:var(--muted); margin-bottom:14px; }

/* ── Overview ───────────────────────────────────────────── */
.overview-header { padding:calc(20px + env(safe-area-inset-top, 0px)) 16px 8px; max-width:600px; margin:0 auto; }
.overview-header h1 { font-size:20px; font-weight:700; }
.overview-header .oh-dates { font-size:12px; color:var(--muted); margin-top:2px; }
.section-label { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:var(--accent); padding:16px 16px 8px; max-width:600px; margin:0 auto; display:block; }
.overview-day { display:flex; align-items:center; gap:12px; padding:10px 16px; max-width:600px; margin:0 auto; cursor:pointer; background:none; border:none; width:100%; text-align:left; font-family:inherit; border-bottom:1px solid var(--border); transition:background .15s; -webkit-tap-highlight-color:transparent; }
.overview-day:focus-visible { outline:none; box-shadow:var(--focus-ring); border-radius:6px; }
.overview-day:active { background:#F0EDE6; }
.od-dot { width:10px; height:10px; border-radius:50%; flex-shrink:0; }
.od-info { flex:1; min-width:0; }
.od-day { font-size:13px; font-weight:600; }
.od-sub { font-size:11px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.od-date { font-size:11px; color:var(--muted); flex-shrink:0; font-variant-numeric:tabular-nums; }

.booking-card { background:var(--card); border-radius:10px; border:1px solid var(--border); padding:12px 16px; margin:6px 16px; max-width:568px; box-shadow:var(--shadow); display:flex; align-items:center; gap:12px; }
.booking-card .bc-icon { font-size:18px; flex-shrink:0; }
.booking-card .bc-info { flex:1; min-width:0; }
.booking-card .bc-route { font-size:13px; font-weight:600; }
.booking-card .bc-detail { font-size:11px; color:var(--muted); }
.booking-card .bc-date { font-size:11px; color:var(--muted); flex-shrink:0; font-variant-numeric:tabular-nums; }

/* ── Cards ──────────────────────────────────────────────── */
.card { background:var(--card); border-radius:10px; border:1px solid var(--border); padding:14px 16px; margin-bottom:12px; box-shadow:var(--shadow); }
.card-label { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:var(--accent); margin-bottom:6px; }
.card h3 { font-size:15px; font-weight:700; margin-bottom:3px; text-wrap:balance; }
.card .sub { font-size:12px; color:var(--muted); margin-bottom:6px; line-height:1.4; }

.copy-block { background:#FAF8F5; border:1px dashed var(--border); border-radius:8px; padding:10px 12px; display:flex; align-items:center; justify-content:space-between; gap:10px; cursor:pointer; transition:border-color .2s,background .2s; margin-top:6px; -webkit-tap-highlight-color:transparent; width:100%; text-align:left; font-family:inherit; font-size:inherit; color:inherit; }
.copy-block:focus-visible { outline:none; box-shadow:var(--focus-ring); }
.copy-block:active { background:#F0EDE6; }
.copy-block.copied { border-color:var(--copy-flash); background:#F0FFF4; }
.copy-zh { font-family:'Noto Sans SC',sans-serif; font-size:16px; font-weight:700; line-height:1.3; color:var(--text); }
.copy-icon { flex-shrink:0; width:18px; height:18px; color:var(--muted); }
.copy-block.copied .copy-icon { color:var(--copy-flash); }
.copy-hint { font-size:10px; color:var(--muted); margin-top:2px; margin-bottom:4px; }

/* Timeline */
.tl-item { display:flex; gap:12px; padding:8px 0; border-bottom:1px solid #F0EDE8; }
.tl-item:last-child { border-bottom:none; }
.tl-time { flex-shrink:0; width:52px; font-size:11px; font-weight:700; color:var(--accent); padding-top:1px; font-variant-numeric:tabular-nums; }
.tl-content { flex:1; min-width:0; }
.tl-content strong { font-size:13px; font-weight:600; display:block; margin-bottom:1px; }
.tl-content .tl-desc { font-size:11px; color:var(--muted); line-height:1.4; }
.tl-transit { display:flex; gap:12px; padding:4px 0; }
.tl-transit .tl-time { color:var(--border); }
.tl-transit .transit-text { font-size:10px; color:var(--muted); font-style:italic; padding:2px 8px; background:#FAF8F5; border-radius:4px; line-height:1.3; }

.transport { display:inline-flex; align-items:center; gap:6px; background:var(--accent-light); color:var(--accent); font-size:11px; font-weight:600; padding:4px 10px; border-radius:6px; margin-top:6px; }
.placeholder { background:#FFF8E1; border:1px dashed #E0C97F; border-radius:8px; padding:8px 12px; font-size:11px; color:#8B7730; margin-top:6px; }
.note { background:#F0F7FF; border:1px solid #C8DDFB; border-radius:8px; padding:8px 12px; font-size:11px; color:#3A6BA5; line-height:1.4; margin-top:6px; }
.tip { background:#FFF8F0; border:1px solid #F0D8B0; border-radius:8px; padding:8px 12px; font-size:11px; color:#8B6914; line-height:1.4; margin-top:6px; }
.option-card { background:#FAFAFA; border:1px solid var(--border); border-radius:8px; padding:10px 12px; margin-top:6px; }
.option-card .opt-label { font-size:9px; font-weight:700; text-transform:uppercase; letter-spacing:0.5px; color:var(--muted); margin-bottom:3px; }
.option-card h4 { font-size:13px; font-weight:600; margin-bottom:2px; }
.option-card .opt-desc { font-size:11px; color:var(--muted); line-height:1.3; }
.book-ahead { background:#FFF0EE; border:1px solid #F5C4BC; border-radius:8px; padding:10px 12px; margin-top:6px; }
.book-ahead .ba-label { font-size:9px; font-weight:700; text-transform:uppercase; color:var(--accent); margin-bottom:3px; }
.book-ahead .ba-text { font-size:11px; line-height:1.4; }

/* Food items */
.food-item { padding:8px 0; border-bottom:1px solid #F0EDE8; }
.food-item:last-child { border-bottom:none; }
.food-name { font-size:13px; font-weight:600; }
.food-zh { font-family:'Noto Sans SC',sans-serif; font-size:14px; font-weight:700; color:var(--accent); }
.food-desc { font-size:11px; color:var(--muted); line-height:1.3; margin-top:2px; }

/* Phrase rows */
.phrase-row { display:flex; justify-content:space-between; align-items:center; padding:7px 0; border-bottom:1px solid #F0EDE8; }
.phrase-row:last-child { border-bottom:none; }
.phrase-zh { font-family:'Noto Sans SC',sans-serif; font-size:15px; font-weight:700; }
.phrase-en { color:var(--muted); font-size:11px; }
.phrase-pinyin { color:var(--accent); font-size:10px; font-style:italic; }

/* Toast */
.toast { position:fixed; bottom:calc(var(--tab-height) + 12px + env(safe-area-inset-bottom, 0px)); left:50%; transform:translateX(-50%); background:#1A1A1A; color:#fff; font-size:12px; font-weight:600; padding:10px 20px; border-radius:20px; opacity:0; transition:opacity .3s; pointer-events:none; z-index:200; max-width:90vw; text-align:center; }
.toast.show { opacity:1; }

/* Empty state */
.empty-state { text-align:center; padding:40px 20px; color:var(--muted); font-size:13px; }

/* ── Edit Mode ────────────────────────────────────────────── */

/* Edit FAB */
.edit-fab { position:fixed; bottom:calc(var(--tab-height) + 16px + env(safe-area-inset-bottom, 0px)); right:16px; width:48px; height:48px; border-radius:50%; background:var(--card); border:1px solid var(--border); box-shadow:0 2px 8px rgba(0,0,0,0.12); display:flex; align-items:center; justify-content:center; z-index:150; cursor:pointer; transition:background .2s,border-color .2s; }
.edit-fab svg { width:20px; height:20px; stroke:var(--muted); transition:stroke .2s; }
.edit-fab.active { background:var(--accent); border-color:var(--accent); }
.edit-fab.active svg { stroke:#fff; }

/* Editable fields */
.editable { outline:none; border:1px dashed var(--accent); border-radius:6px; padding:4px 8px; min-height:1.4em; }
.editable:focus { border-style:solid; background:var(--accent-light); }

/* Reorder buttons */
.reorder-btns { display:none; flex-direction:column; gap:2px; margin-right:6px; }
.edit-mode .reorder-btns { display:flex; }
.reorder-btn { width:24px; height:20px; border:1px solid var(--border); background:var(--card); border-radius:4px; font-size:10px; line-height:1; cursor:pointer; color:var(--muted); display:flex; align-items:center; justify-content:center; }
.reorder-btn:active { background:var(--accent-light); }

/* Move card button */
.move-card-btn { display:none; float:right; font-size:10px; font-weight:600; color:var(--accent); background:var(--accent-light); border:1px solid var(--accent); border-radius:10px; padding:2px 8px; cursor:pointer; }
.edit-mode .move-card-btn { display:inline-block; }
.move-card-btn:active { background:var(--accent); color:#fff; }

/* Move overlay */
.move-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.4); z-index:300; display:flex; align-items:flex-end; justify-content:center; }
.move-panel { background:var(--card); border-radius:16px 16px 0 0; padding:20px 16px calc(16px + env(safe-area-inset-bottom, 0px)); max-height:70vh; overflow-y:auto; width:100%; max-width:420px; }
.move-title { font-size:14px; font-weight:600; margin-bottom:12px; color:var(--text); }
.move-day-btn { display:flex; justify-content:space-between; align-items:center; width:100%; padding:12px 12px; margin:4px 0; border:1px solid var(--border); border-radius:8px; background:var(--card); font-size:13px; cursor:pointer; text-align:left; }
.move-day-btn:active { background:var(--accent-light); }
.move-day-btn.current { opacity:0.4; }
.move-date { color:var(--muted); font-size:11px; }
.move-cancel-btn { width:100%; margin-top:12px; padding:14px; border:none; background:var(--muted); color:#fff; border-radius:10px; font-size:14px; font-weight:600; cursor:pointer; }

/* Add note button */
.add-note-btn { display:block; margin:12px 16px; padding:10px 16px; border:1px dashed var(--border); border-radius:8px; background:transparent; color:var(--muted); font-size:12px; cursor:pointer; width:calc(100% - 32px); text-align:center; }
.add-note-btn:active { background:var(--accent-light); color:var(--accent); border-color:var(--accent); }

/* ── Activity Timeline ─────────────────────────────────────── */

/* Activity row (tappable) */
.act-row { display:flex; gap:10px; padding:10px 0; border-bottom:1px solid #F0EDE8; cursor:pointer; -webkit-tap-highlight-color:transparent; align-items:flex-start; }
.act-row:last-child { border-bottom:none; }
.act-row:active { background:#F8F6F2; border-radius:8px; margin:0 -4px; padding:10px 4px; }

/* Time column */
.act-time-col { width:48px; flex-shrink:0; display:flex; flex-direction:column; align-items:flex-end; padding-top:2px; font-variant-numeric:tabular-nums; }
.act-from { font-size:12px; font-weight:700; color:var(--text); }
.act-to { font-size:10px; color:var(--muted); font-weight:400; }

/* Activity icon */
.act-icon { width:28px; height:28px; flex-shrink:0; display:flex; align-items:center; justify-content:center; border-radius:8px; background:#F5F3EE; }
.act-icon svg { width:16px; height:16px; }

/* Activity content */
.act-content { flex:1; min-width:0; }
.act-title { font-size:13px; font-weight:600; margin-bottom:1px; }
.act-desc { font-size:11px; color:var(--muted); line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.act-type-badge { display:inline-block; font-size:9px; font-weight:700; text-transform:uppercase; letter-spacing:0.5px; padding:1px 6px; border-radius:4px; margin-bottom:3px; }

/* Commute row (condensed) */
.act-commute { display:flex; gap:10px; padding:3px 0; align-items:center; cursor:default; }
.act-commute .act-time-col { width:48px; }
.act-dur { font-size:10px; color:var(--muted); font-weight:400; text-align:right; display:block; width:48px; }
.act-commute-line { display:flex; align-items:center; gap:6px; flex:1; }
.act-commute-icon { width:16px; height:16px; color:var(--muted); display:flex; align-items:center; justify-content:center; }
.act-commute-icon svg { width:14px; height:14px; }
.act-commute-text { font-size:10px; color:var(--muted); font-style:italic; background:#FAF8F5; padding:2px 8px; border-radius:4px; line-height:1.3; }
.act-commute-connector { width:1px; height:8px; background:var(--border); margin-left:72px; }

/* Placeholder meal slots */
.act-placeholder { opacity:0.5; }
.act-placeholder .act-row { border:1px dashed var(--border); border-radius:8px; margin:4px 0; padding:10px; border-bottom:1px dashed var(--border); }
.act-placeholder .act-title { font-weight:500; }
.act-placeholder .act-desc { font-style:italic; }

/* Options group in timeline */
.act-options-group { background:var(--card); border:1px solid var(--border); border-radius:10px; padding:10px; margin:6px 0; }
.act-options-title { font-size:12px; font-weight:600; margin-bottom:6px; display:flex; justify-content:space-between; align-items:center; }
.act-options-time { font-size:10px; color:var(--muted); font-variant-numeric:tabular-nums; }
.act-option-item { display:flex; align-items:center; gap:8px; padding:6px 0; border-bottom:1px solid #F0EDE8; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.act-option-item:last-child { border-bottom:none; }
.act-option-item:active { background:#F8F6F2; border-radius:4px; }
.act-option-check { width:18px; height:18px; border:2px solid var(--border); border-radius:50%; flex-shrink:0; display:flex; align-items:center; justify-content:center; }
.act-option-check.chosen { background:var(--accent); border-color:var(--accent); }
.act-option-check.chosen::after { content:''; display:block; width:6px; height:6px; background:#fff; border-radius:50%; }
.act-option-title { font-size:12px; font-weight:600; }
.act-option-desc { font-size:10px; color:var(--muted); }

/* ── Activity Detail Page ─────────────────────────────────── */

.act-detail { padding:16px; padding-top:0; max-width:600px; margin:0 auto; }
.act-detail-back { display:flex; align-items:center; gap:6px; background:none; border:none; font-family:inherit; font-size:13px; font-weight:600; color:var(--accent); cursor:pointer; padding:12px 0; -webkit-tap-highlight-color:transparent; }
.act-detail-back svg { width:18px; height:18px; }
.act-detail-back:focus-visible { outline:none; box-shadow:var(--focus-ring); border-radius:6px; }

.act-detail-header { display:flex; gap:12px; align-items:flex-start; margin-bottom:16px; }
.act-detail-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.act-detail-icon svg { width:22px; height:22px; }
.act-detail-title { font-size:18px; font-weight:700; margin-bottom:2px; }
.act-detail-type { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:0.5px; }

.act-detail-field { margin-bottom:14px; }
.act-detail-label { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:0.5px; color:var(--muted); margin-bottom:4px; }
.act-detail-value { font-size:13px; line-height:1.5; }
.act-detail-time { font-size:15px; font-weight:600; font-variant-numeric:tabular-nums; }
.act-detail-duration { font-size:11px; color:var(--muted); margin-left:8px; }

/* Options detail view */
.act-detail-option { background:var(--card); border:1px solid var(--border); border-radius:10px; padding:12px 14px; margin-bottom:8px; cursor:pointer; transition:border-color .15s; -webkit-tap-highlight-color:transparent; }
.act-detail-option:active { background:#F8F6F2; }
.act-detail-option.chosen { border-color:var(--accent); border-width:2px; }
.act-detail-option-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:4px; }
.act-detail-option h4 { font-size:14px; font-weight:600; }
.act-detail-option .act-detail-option-desc { font-size:12px; color:var(--muted); line-height:1.4; }

/* ── Reference Cards (collapsible) ────────────────────────── */

.ref-cards { margin-top:16px; }
.ref-cards summary { font-size:11px; font-weight:600; color:var(--muted); cursor:pointer; padding:8px 0; list-style:none; display:flex; align-items:center; gap:6px; -webkit-tap-highlight-color:transparent; }
.ref-cards summary::-webkit-details-marker { display:none; }
.ref-cards summary::before { content:''; width:0; height:0; border-left:5px solid var(--muted); border-top:4px solid transparent; border-bottom:4px solid transparent; transition:transform .2s; }
.ref-cards[open] summary::before { transform:rotate(90deg); }

/* ── Edit Mode (activities) ───────────────────────────────── */

.act-edit-controls { display:none; flex-direction:column; gap:2px; flex-shrink:0; padding-top:2px; }
.edit-mode .act-edit-controls { display:flex; }
.act-reorder-btn { width:24px; height:20px; border:1px solid var(--border); background:var(--card); border-radius:4px; font-size:10px; cursor:pointer; color:var(--muted); display:flex; align-items:center; justify-content:center; }
.act-reorder-btn:active { background:var(--accent-light); }

.act-move-btn { display:none; font-size:10px; font-weight:600; color:var(--accent); background:var(--accent-light); border:1px solid var(--accent); border-radius:10px; padding:2px 8px; cursor:pointer; margin-top:4px; flex-shrink:0; }
.edit-mode .act-move-btn { display:inline-block; }
.act-move-btn:active { background:var(--accent); color:#fff; }

.act-delete-btn { width:24px; height:24px; border:1px solid #E5C0C0; background:#FFF5F5; border-radius:50%; font-size:14px; cursor:pointer; color:#C43B2A; display:flex; align-items:center; justify-content:center; margin-top:4px; }
.act-delete-btn:active { background:#FFE0E0; }

/* Add activity button */
.add-act-btn { display:block; margin:16px 0; padding:12px 16px; border:1px dashed var(--border); border-radius:10px; background:transparent; color:var(--muted); font-size:12px; font-weight:600; cursor:pointer; width:100%; text-align:center; font-family:inherit; }
.add-act-btn:active { background:var(--accent-light); color:var(--accent); border-color:var(--accent); }

/* Add activity type picker overlay */
.type-picker-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.4); z-index:300; display:flex; align-items:flex-end; justify-content:center; }
.type-picker { background:var(--card); border-radius:16px 16px 0 0; padding:20px 16px calc(16px + env(safe-area-inset-bottom, 0px)); width:100%; max-width:420px; }
.type-picker-title { font-size:14px; font-weight:600; margin-bottom:12px; }
.type-picker-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:8px; margin-bottom:16px; }
.type-picker-btn { display:flex; flex-direction:column; align-items:center; gap:4px; padding:12px 8px; border:1px solid var(--border); border-radius:10px; background:var(--card); cursor:pointer; font-family:inherit; font-size:10px; font-weight:600; color:var(--text); }
.type-picker-btn:active { background:var(--accent-light); border-color:var(--accent); }
.type-picker-btn svg { width:22px; height:22px; }

/* Time input in edit mode */
.act-time-input { width:60px; font-size:12px; font-weight:600; border:1px solid var(--border); border-radius:4px; padding:2px 4px; font-family:inherit; font-variant-numeric:tabular-nums; background:var(--card); }
.act-time-input:focus { outline:none; border-color:var(--accent); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration:0.01ms !important; animation-duration:0.01ms !important; }
}
