/* 日程模块：局部无彩色主题。只覆盖视觉，不接管日历/菜单的运动与业务事件。
   Routes = 四个日程路由；Forms = 两种日程表单。黑卡沿用统一静态光影材质。 */
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) {
  --minimal-accent:#202324; --minimal-accent-rgb:32,35,36;
  --minimal-accent-soft:#f3f3f3; --minimal-accent-light:#fff;
  --accent-yellow:#202324; --accent-yellow-soft:#f3f3f3;
  --accent-purple:#202324; --accent-purple-ink:#202324;
  --danger:#202324; --success:#202324;
  --minimal-soft:#f3f3f3; --minimal-schedule-canvas:var(--v2-canvas,#f5f5f5);
  --minimal-calendar-selection:#202324; --muted:#61666b;
  background:var(--v2-canvas,#f5f5f5)!important;
}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) :is(.app-shell,#v2Header,#appView) { background:var(--v2-canvas,#f5f5f5)!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView.ui-view { padding-inline:16px!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView :is(.schedule-day-view,.schedule-month-view,.projects-page,.all-schedules-page,.schedule-detail-page) { min-width:0; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView :is(.calendar,.week-strip,.daily-list,.archive-tile,.milestone-card,.requirements-card,.pipeline-summary) {
  background:#fff!important; border:0!important;
  box-shadow:0 6px 24px rgba(0,0,0,.035)!important;
}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-route="schedule"] .app-shell>#appView.ui-view { padding-top:8px!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .date-hero { margin-bottom:12px;padding:0 2px 8px; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .date-hero>div>strong { font-variant-numeric:tabular-nums; }
/* Compact painted surface; each native button also owns the transparent space above and below. */
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-route="schedule"] #appView .schedule-view-switch { width:max-content; min-height:0!important; gap:0!important; padding:2px!important; overflow:visible!important; background:#fff!important; border-radius:999px!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-route="schedule"] #appView .schedule-view-switch > button { position:relative; box-sizing:border-box; width:44px!important; min-width:44px!important; height:28px!important; min-height:28px!important; padding:0!important; border-radius:999px!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-route="schedule"] #appView .schedule-view-switch > button::after { content:""; position:absolute; inset:-8px 0; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .schedule-view-switch:not(.calendar-view-motion-ready) button.active { background:#202324!important; color:#fff!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .round-add { background:#202324!important; color:#fff!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView :is(.calendar-dot,.week-event-dot).shooting { background:#202324!important; border:0!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView :is(.calendar-dot,.week-event-dot).reminder { background:#fff!important; border:1px solid #202324!important; box-sizing:border-box; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .calendar-dot.video { background:#202324!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .calendar-dot.order { background:#202324!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .schedule-add-menu { color:#202324!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .schedule-add-menu small { color:#61666b!important; }
/* 深底上的强调必须转成白色；不可只替换黄色 token，否则会黑底黑字。 */
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView :is(.shoot-card,.project-progress-panel,.shoot-empty-panel) {
  background-color:var(--dark-card-floor)!important;
  background-image:var(--dark-card-sheen)!important;
  color:#fff!important; box-shadow:0 12px 28px rgba(0,0,0,.14)!important;
}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .shoot-card :is(.shoot-progress>b,.card-countdown) { color:#fff!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .shoot-card .shoot-progress>span>i { background:#fff!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .shoot-card .shoot-tags .shoot-tag-order { background:#fff!important; color:#202324!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .shoot-card>strong { font-size:19px!important; line-height:1.5!important; font-weight:650!important; overflow-wrap:anywhere; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .shoot-card>small { display:flex; flex-wrap:wrap; gap:4px; line-height:1.7; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .shoot-card .card-countdown { margin-left:0; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .project-progress-panel .progress-copy>strong { color:#fff!important; font-size:32px!important; font-weight:650!important; line-height:1.2; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .project-progress-panel .progress-copy strong small { font-size:12px!important; color:rgba(255,255,255,.72)!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .project-progress-panel .progress-track i { background:#fff!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .project-progress-panel .hero-meta b { background:#fff!important; color:#202324!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .shoot-empty-panel .empty-state { background:transparent!important; box-shadow:none!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .shoot-empty-panel .empty-state :is(h3,p) { color:#fff!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .shoot-empty-panel .empty-state p { opacity:.72; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .shoot-empty-panel .empty-state button { background:#fff!important; color:#202324!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .agenda-card-heading { align-items:center; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .daily-list { padding:20px!important; border-radius:24px!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .daily-row { min-height:64px; gap:12px; padding:12px 0!important; text-align:left; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .daily-row>span { min-width:0; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .daily-row strong { font-size:15px!important; line-height:1.55; font-weight:600!important; overflow-wrap:anywhere; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .daily-row small { display:flex; flex-wrap:wrap; gap:4px; font-size:12px!important; line-height:1.8; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .daily-row small em { color:#202324!important; background:#f3f3f3!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .task-check { background:#fff!important; border:1.5px solid #bfc1c3!important; color:#202324!important; flex-shrink:0; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .task-check.done { background:#202324!important; color:#fff!important; border-color:#202324!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .daily-row.completed strong { color:#61666b!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .schedule-archives { gap:12px; margin-top:20px; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .archive-tile { border-radius:24px!important; padding:16px!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .archive-tile-label { font-size:13px!important; font-weight:600!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .all-schedules-group { display:flex; align-items:center; justify-content:space-between; margin:16px 0 4px; padding-bottom:8px; border-bottom:1px solid #ededed; font-size:13px; color:#61666b; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .all-schedules-group:first-child { margin-top:0; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .all-schedules-group b { color:#202324; font-variant-numeric:tabular-nums; }
/* 项目库：摘要/搜索/筛选分工清楚，各个项目仍是独立卡片。 */
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .pipeline-summary { padding:20px!important; border-radius:24px!important; margin-bottom:16px; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .pipeline-summary strong { font-size:36px!important; font-weight:650!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .project-search { width:100%; min-width:0; min-height:48px; background:#fff!important; border-radius:16px!important; box-sizing:border-box; font-size:16px!important; margin-bottom:16px; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .project-filter-bar { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:16px; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .project-filters { flex:1 1 100%; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .project-filters button { min-width:0; min-height:44px; padding:0 6px!important; font-size:13px!important; white-space:nowrap; background:transparent!important; color:#61666b!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .project-filters button.active { background:#202324!important; color:#fff!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .project-filters button i { color:inherit!important; background:transparent!important; font-style:normal; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .project-add-inline { margin-left:auto; min-height:44px; padding:0 16px; border-radius:999px!important; background:#202324!important; color:#fff!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .project-list { display:grid; gap:16px; }
/* 项目详情：标题、摘要、里程碑与内容生产共用对齐线。 */
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .project-hero { padding:0!important; background:transparent!important; box-shadow:none!important; margin:0 0 20px; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .project-heading { margin:0 0 16px; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .project-heading h2 { margin:0 0 12px!important; font-size:24px!important; font-weight:650!important; line-height:1.4!important; overflow-wrap:anywhere; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .hero-kicker { flex-wrap:wrap; gap:8px!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .hero-kicker :is(span,b) { font-size:12px!important; color:#61666b!important; background:transparent!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .project-progress-panel { padding:20px!important; border-radius:24px!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView :is(.milestone-card,.requirements-card) { padding:20px!important; border-radius:24px!important; margin-bottom:20px; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .row-between { gap:12px; align-items:center; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .row-between h3 { margin:0; font-size:18px!important; font-weight:600!important; line-height:1.5; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .row-between>span { font-size:12px!important; color:#61666b!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .timeline { margin-top:20px; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .timeline-row { grid-template-columns:24px minmax(0,1fr); gap:12px; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .timeline-row>i { background:#fff!important; border:1.5px solid #bfc1c3!important; color:#202324!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .timeline-row.done>i { background:#202324!important; border-color:#202324!important; color:#fff!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .timeline-row.current>i { background:#202324!important; border-color:#202324!important; color:#fff!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .timeline-row.current>div { background:#f3f3f3!important; border-radius:16px!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .timeline-row strong { font-size:15px!important; line-height:1.6; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .timeline-row p { display:flex; flex-wrap:wrap; gap:4px 12px; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .timeline-row time { color:#61666b!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .timeline-row small { font-size:12px!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .pipeline-row { padding:12px 0!important; background:transparent!important; gap:10px; grid-template-columns:20px minmax(0,1fr) auto; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .pipeline-row+.pipeline-row { border-top:1px solid #ededed!important; border-radius:0!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .pipeline-row>i { width:20px;height:20px; background:#fff!important; border:1px solid #bfc1c3!important; color:#202324!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .pipeline-row.done>i { background:#202324!important; border-color:#202324!important; color:#fff!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .pipeline-copy strong { font-size:14px!important; line-height:1.6; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .pipeline-copy small { font-size:12px!important; line-height:1.7; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .pipeline-action { padding-inline:12px!important; white-space:nowrap; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .requirement { background:#f3f3f3!important; border-radius:16px!important; padding:16px!important; margin-top:16px; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .requirement b { font-size:13px!important; color:#202324!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .requirement p { font-size:14px!important; line-height:1.8; color:#61666b!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .payment-check:checked { background:#202324!important; border-color:#202324!important; box-shadow:none!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .payment-check:checked::after { border-color:#fff!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .detail-sticky-actions { border-radius:999px!important; background:#fff!important; box-shadow:0 4px 24px rgba(0,0,0,.08)!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .detail-sticky-actions>button { min-height:44px; font-size:13px!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .detail-sticky-actions>button.delete { color:#202324!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .work-menu>button { color:#202324!important; background:transparent!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #confirmDialog .button { border-radius:999px!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #confirmDialog .danger { background:#202324!important; color:#fff!important; }
/* 表单以白纸承载，独立滚动内容 + 固定头尾；保留原生字段和自绘日期显示。 */
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) {
  --minimal-accent:#202324; --minimal-accent-rgb:32,35,36;
  --accent-yellow-soft:#f3f3f3; --minimal-soft:#f3f3f3; --danger:#202324;
  box-sizing:border-box; inset:auto 0 12px!important; width:min(420px,calc(100vw - 24px))!important;
  min-width:0!important; max-width:calc(100vw - 24px)!important;
  max-height:calc(100dvh - 32px)!important; margin:0 auto!important; padding:0!important;
  background:#fff!important; border-radius:28px!important;
  box-shadow:0 16px 48px rgba(0,0,0,.16)!important;
}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) form { min-width:0; max-height:calc(100dvh - 32px)!important; display:flex; flex-direction:column; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .dialog-head { position:relative!important; top:auto!important; inset-inline:auto; margin:0!important; flex:0 0 auto; min-height:68px; padding:12px 20px!important; align-items:center; background:#fff!important; backdrop-filter:none!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .dialog-head h2 { font-size:18px!important; line-height:1.5; font-weight:600!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .dialog-head .icon-button { flex-shrink:0; width:44px;height:44px; background:transparent!important; color:#202324!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .dialog-fields { padding:4px 20px 16px!important; min-height:0; overflow-y:auto; overscroll-behavior:contain; scroll-padding-block:12px; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .form-section { padding:0!important; margin:16px 0 28px!important; background:transparent!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .form-section:last-child { margin-bottom:0!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .form-group-title { font-size:16px!important; font-weight:600!important; line-height:1.5; margin:0 0 16px!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .field { min-width:0; gap:8px; margin-bottom:20px!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .field>label { font-size:13px!important; line-height:1.6; color:#202324!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .field-required { color:#61666b!important; font-size:11px!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .field-help { font-size:12px!important; line-height:1.8!important; color:#61666b!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .field :is(input:not([type=checkbox]):not([type=radio]),textarea) { min-width:0; font-size:16px!important; border-radius:16px!important; box-shadow:none!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .field input:focus-visible,html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) textarea:focus-visible { outline:2px solid #202324!important; outline-offset:2px; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .option-chip span { padding:0 8px!important; font-size:13px!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .option-chip input:checked+span { background:#202324!important; color:#fff!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .dialog-actions { flex-shrink:0; display:grid; grid-template-columns:1fr 1.6fr; gap:12px; padding:12px 20px 20px!important; background:#fff!important; border-top:1px solid #ededed; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .dialog-actions button{  border-radius:999px!important; font-size:14px!important; position:relative!important;box-sizing:border-box;min-width:44px!important;min-height:var(--mf-control-footer)!important;height:auto!important;padding:0 14px!important;line-height:20px!important;}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .dialog-actions button::after{content:"";position:absolute;inset:calc((var(--mf-control-footer) - var(--mf-control-hit))/2) 0;border-radius:inherit;}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .dialog-actions .primary { background:#202324!important; color:#fff!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .dialog-actions .secondary { background:#f3f3f3!important; color:#202324!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) #pickerPopover { box-sizing:border-box; max-width:calc(100% - 24px); padding:12px; border-radius:20px!important; background:#fff!important; box-shadow:0 8px 32px rgba(0,0,0,.18)!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) #pickerPopover :is(.picker-cal-grid,.picker-cal-head) { grid-template-columns:repeat(7,minmax(0,1fr)); }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) #pickerPopover .picker-day { min-width:0; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) #pickerPopover .picker-day-num { width:min(36px,100%); }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) #pickerPopover .picker-cal-nav button { width:44px;height:44px; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) #pickerPopover .picker-day.selected .picker-day-num { background:#202324!important; color:#fff!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) :is(button,input,textarea):focus-visible { outline:2px solid #202324!important; outline-offset:3px; }
@media (max-width:350px) {
  html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .shoot-card>strong { font-size:18px!important; }
  html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView :is(.daily-list,.milestone-card,.requirements-card,.project-progress-panel) { padding:16px!important; }
  html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .project-heading h2 { font-size:22px!important; }
  html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .pipeline-row { gap:8px; }
  html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .pipeline-action { padding-inline:10px!important; }
  html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .dialog-head { padding:12px 16px!important; }
  html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .dialog-fields { padding-inline:16px!important; }
  html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .dialog-actions { padding:12px 16px 16px!important; }
}

/* 二级页只由外壳提供一个返回，隐藏旧标题副本和对话快捷返回。 */
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #v2Header>.mf-return-chat:not(.mf-return-chat-source) { display:none!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #appView.ui-view :is(.projects-page,.all-schedules-page,.schedule-detail-page)>.detail-nav { display:none!important; }

/* 单一间距来源，避免旧 grid gap 与新 margin 叠加。 */
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .dialog-fields { display:block; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .form-section { gap:16px; margin:0 0 24px!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .form-group-title { margin:0!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .field { margin:0!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) #pickerPopover { width:304px; overflow:auto; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #confirmDialog .danger-solid { background:#202324!important; color:#fff!important; }

@media(max-width:350px){
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-route="schedule"] #appView .week-strip { column-gap:2px!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-route="schedule"] #appView .week-strip>.week-day { width:calc((100vw - 56px)/7)!important; min-width:0!important; flex:0 0 auto!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-route="schedule"] #appView .week-day>strong { width:min(36px,100%)!important; }
}

html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .schedule-list-tools { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 16px; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .schedule-list-tools>span { font-size:13px; color:#61666b; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .schedule-list-tools>button { min-height:44px; padding:0 20px; border:0; border-radius:999px!important; background:#202324!important; color:#fff!important; font-size:14px; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #appView .daily-row small em { font-style:normal; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) input:is([type="date"],[type="time"])::-webkit-datetime-edit { opacity:0; }

/* 补齐：表单头尾不继承旧整页编辑器的-15px偏移，节点日期只保留一层输入面。 */
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) form { height:auto!important; padding:0!important; margin:0!important; overflow:hidden!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .dialog-head>div { min-width:0; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .dialog-head h2 { font-size:17px!important; line-height:26px!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .dialog-head .icon-button { order:0!important; font-size:24px!important; box-shadow:none!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .form-section:first-child { margin-top:4px!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .form-group-title { font-size:15px!important; line-height:24px!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .milestone-entry.stage-date-row { padding:0!important; min-height:44px; background:transparent!important; border:0!important; box-shadow:none!important; grid-template-columns:40px minmax(0,1fr); gap:8px; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .stage-date-row .milestone-entry-label { font-size:13px!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .stage-date-row input[type="date"] { height:44px; border-radius:12px!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .stage-dates { gap:8px; margin-top:4px; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #editorDialog:is([data-form-kind="schedule"],[data-form-kind="reminder"],[data-form-kind="review-date"]) .dialog-actions { position:static!important; margin:0!important; backdrop-filter:none!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #confirmDialog form { height:auto!important; max-height:none!important; overflow:visible!important; padding:0!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #confirmDialog .dialog-head { position:static!important; top:auto!important; margin:0!important; padding:12px 16px 8px 20px!important; min-height:64px; align-items:center; background:#fff!important; backdrop-filter:none!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #confirmDialog .dialog-head h2 { font-size:17px!important; font-weight:600!important; line-height:26px!important; margin:0!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #confirmDialog .dialog-head .icon-button { order:0!important; margin:0!important; width:44px; height:44px; border:0; background:transparent!important; box-shadow:none!important; color:#61666b!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #confirmDialog .confirm-message { margin:0!important; padding:4px 20px 20px!important; color:#61666b!important; font-size:14px!important; line-height:24px!important; }
html[data-visual-mode="minimal"] body.theme-liquid.v2-app:is([data-v2-route="schedule"],[data-v2-route="projects"],[data-v2-route="all-schedules"],[data-v2-route="schedule-detail"]) #confirmDialog .dialog-actions { position:static!important; margin:0!important; padding:12px 20px 20px!important; background:#fff!important; backdrop-filter:none!important; border:0; }

/* Completion has its own full-size target; reading a reminder never changes it. */
body.theme-liquid.v2-app #appView .daily-row.static{display:flex;align-items:center;cursor:default;gap:8px}
body.theme-liquid.v2-app #appView .reminder-complete{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:22px;background:transparent;box-shadow:none;color:#202324}
body.theme-liquid.v2-app #appView .reminder-complete .task-check{display:grid;place-items:center;width:20px;height:20px;margin:0;border-radius:6px}
body.theme-liquid.v2-app #appView .reminder-complete svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
body.theme-liquid.v2-app #appView .reminder-complete:focus-visible{outline:2px solid #292d2d;outline-offset:0}
body.theme-liquid.v2-app #appView .reminder-complete:disabled{opacity:.5;cursor:progress}

/* Project count and creation form one header; cards retain approved color/glow. */
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #appView.ui-view .project-library-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #appView.ui-view .project-library-heading h2{margin:0;font-size:18px!important;line-height:28px}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #appView.ui-view .project-library-heading h2 span{margin-left:6px;color:#72767b;font-size:13px;font-weight:400}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #appView.ui-view .project-library-heading p{margin:4px 0 0;font-size:12px;color:#72767b}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #appView.ui-view .project-library-heading>.project-add-inline{flex:none;min-height:44px;padding:0 16px;border:0;border-radius:22px;background:#292d2d!important;color:#fff!important;font:inherit;font-size:13px}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app #appView.ui-view .project-filter-bar{margin:8px 0 16px!important}


/* The add menu is a text menu; leave no empty pictogram column. */
body.v2-app[data-v2-route="schedule"] #scheduleAddMenu { width:min(176px,calc(100vw - 32px)); }
body.v2-app[data-v2-route="schedule"] #scheduleAddMenu > button { grid-template-columns:minmax(0,1fr); gap:0; min-height:48px; padding:8px 12px; }

/* Date context stays compact; archive counts are secondary navigation. */
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-route="schedule"] #appView.ui-view .schedule-date-selection{display:flex;align-items:center;gap:12px}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-route="schedule"] #appView.ui-view .schedule-date-selection>strong{font-size:44px!important;line-height:1!important;letter-spacing:-.03em}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-route="schedule"] #appView.ui-view .schedule-date-context{display:grid;gap:0}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-route="schedule"] #appView.ui-view .schedule-date-context>b{font:500 12px/20px var(--mf-type-family)!important;color:#363636}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-route="schedule"] #appView.ui-view .schedule-date-context>span{font:400 12px/20px var(--mf-type-family);color:#666}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-route="schedule"] #appView.ui-view .schedule-archives{gap:12px;margin-top:16px}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-route="schedule"] #appView.ui-view .schedule-archives .archive-tile{padding:14px 16px!important;border-radius:20px!important;min-height:0!important;gap:6px}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-route="schedule"] #appView.ui-view .archive-tile-metric{display:flex;align-items:baseline;gap:4px;margin-top:0!important}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-route="schedule"] #appView.ui-view .schedule-archives .archive-tile-metric>strong{font-size:24px!important;line-height:30px!important}

/* Date context stays on the canvas, separate from the original week calendar. */
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-route="schedule"] #appView.ui-view .schedule-day-view>.date-hero{margin:0 0 16px!important;padding:8px 4px 12px!important;min-height:0;align-items:center}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-route="schedule"] #appView.ui-view .schedule-day-view>.date-hero .date-tools{gap:8px}
