:root {
  color-scheme: light;
  --ink: #1d2b35;
  --muted: #85919a;
  --soft: #aab3b9;
  --line: #e9edef;
  --paper: #fff;
  --canvas: #f6f7f8;
  --blue: #287ca7;
  --blue-dark: #1f6387;
  --blue-pale: #eaf3f8;
  --mint: #4a9d83;
  --mint-pale: #e7f3ef;
  --orange: #e69458;
  --orange-pale: #fff1e6;
  --red: #d77770;
  --red-pale: #fff0ef;
  --shadow: 0 12px 32px rgb(34 53 66 / 7%);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

.key-fingerprint {
  display: block;
  overflow-wrap: anywhere;
  word-break: break-all;
  max-width: 100%;
  padding: 12px;
  background: var(--canvas);
  border-radius: 10px;
}

.report-section-heading { margin: 28px 0 14px; }
.report-section-heading h2 { margin: 6px 0; font: 700 18px "Manrope", "Segoe UI", sans-serif; }
.report-planning-review { margin-top: 16px; }
.report-review-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.report-review-metrics div { min-width: 0; padding: 14px; border-radius: 10px; background: var(--canvas); }
.report-review-metrics dt { color: #53636b; font-size: 11px; }
.report-review-metrics dd { margin: 8px 0 0; font-size: 20px; font-weight: 700; overflow-wrap: anywhere; }
.report-details > summary { min-height: 44px; padding: 12px 0; cursor: pointer; font-weight: 600; }
.timesheet-context { padding: 14px; border-radius: 10px; background: var(--blue-pale); line-height: 1.8; overflow-wrap: anywhere; }
.timesheet-panel h3 { margin-top: 22px; font-size: 13px; }
.timesheet-cell-label { display: none; }
.timesheet-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.timesheet-fields label { display: grid; gap: 8px; min-width: 0; }
.timesheet-fields input, .timesheet-fields select { width: 100%; min-width: 0; }
.timesheet-selectors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 18px 0; }
.timesheet-selectors fieldset { min-width: 0; max-height: 260px; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.timesheet-selectors legend { padding: 0 4px; }
.timesheet-selectors label, .timesheet-options label { display: flex; align-items: center; gap: 10px; min-height: 44px; overflow-wrap: anywhere; }
.timesheet-selectors input, .timesheet-options input { flex: none; width: 18px; height: 18px; accent-color: var(--blue); }
.timesheet-preview { max-width: 100%; overflow-x: auto; margin: 16px 0; }
.timesheet-preview table { width: 100%; border-collapse: collapse; font-size: 12px; }
.timesheet-preview caption { padding: 0 0 12px; text-align: left; color: #53636b; }
.timesheet-preview th, .timesheet-preview td { padding: 10px; text-align: left; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.timesheet-panel .data-actions { flex-wrap: wrap; }
@media (max-width: 700px) {
  .timesheet-fields, .timesheet-selectors { grid-template-columns: minmax(0, 1fr); }
  .timesheet-panel .data-actions > button[type="submit"] { width: 100%; min-height: 48px; }
  .timesheet-preview { overflow-x: visible; }
  .timesheet-preview table, .timesheet-preview caption, .timesheet-preview tbody { display: block; }
  .timesheet-preview thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .timesheet-preview tr { display: block; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; }
  .timesheet-preview td { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 8px 0; }
  .timesheet-preview td:last-child { border-bottom: 0; font-weight: 700; }
  .timesheet-preview td > span { min-width: 0; overflow-wrap: anywhere; }
  .timesheet-cell-label { display: block; color: #53636b; font-weight: 500; }
  .report-review-metrics { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .report-review-metrics div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .report-review-metrics dd { margin: 0; font-size: 18px; }
  .report-hero { grid-template-columns: minmax(0, 1fr); }
  .report-hero .report-comparison { padding: 12px 0 0; border-left: 0; border-top: 1px solid rgb(255 255 255 / 30%); }
  .session-row > div { flex-basis: 100%; }
}

.calendar-rule-form {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.availability-block {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  margin: 8px 0;
  border-radius: 10px;
  background: var(--blue-pale);
}
.availability-private, .badge-private {
  background: #e9edef;
  color: #53616b;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgb(40 124 167 / 27%); outline-offset: 2px; }
a { color: inherit; text-decoration: none; }
.app-shell { min-height: 100vh; }

.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 4; width: 248px; display: flex; flex-direction: column; padding: 29px 19px 17px; background: var(--paper); border-right: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; margin: 2px 0 39px 7px; }
.brand-mark { width: 37px; height: 37px; display: inline-grid; place-items: center; border-radius: 12px; background: var(--blue); position: relative; flex: none; }
.brand-mark::before { content: ""; width: 20px; height: 20px; border: 2px solid white; border-radius: 50%; }
.brand-mark::after { content: ""; position: absolute; width: 2px; height: 8px; top: 12px; left: 18px; border-radius: 2px; background: white; }
.brand-mark span { width: 6px; height: 2px; position: absolute; top: 19px; left: 19px; background: white; transform: rotate(38deg); transform-origin: left center; }
.brand-name { font: 800 20px/1 "Manrope", "Segoe UI", sans-serif; letter-spacing: -1.2px; color: var(--ink); }
.brand-name > span { color: var(--blue); }
.brand-name small { display: block; margin-top: 5px; font: 600 8px/1 "DM Sans", "Segoe UI", sans-serif; color: #a1aab0; letter-spacing: 1.4px; }
.workspace-label, .eyebrow { color: #a0a9ae; font-size: 9px; font-weight: 700; letter-spacing: 1.2px; }
.workspace-label { margin: 0 0 10px 9px; }
.workspace-switcher { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 11px; background: white; text-align: left; cursor: pointer; }
.workspace-avatar, .avatar, .avatar-button { display: inline-grid; place-items: center; color: #226787; background: #e5f1f5; font-weight: 700; }
.workspace-avatar { width: 31px; height: 31px; flex: none; border-radius: 9px; font-size: 11px; }
.workspace-member { min-width: 0; flex: 1; }
.workspace-member strong, .workspace-member small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.workspace-member strong { font-size: 12px; font-weight: 600; }
.workspace-member small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.switcher-chevron { color: #9aa4aa; font-size: 14px; }
.primary-nav { display: grid; gap: 5px; margin-top: 31px; }
.primary-nav a, .nav-settings { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 0; border-radius: 9px; background: transparent; color: #75828a; font-size: 12px; text-align: left; transition: background .16s, color .16s; cursor: pointer; }
.primary-nav a:hover, .nav-settings:hover { background: #f7f9fa; color: var(--ink); }
.primary-nav a.active { color: var(--blue); background: var(--blue-pale); font-weight: 600; }
.nav-icon { width: 18px; display: inline-block; font-size: 17px; text-align: center; }
.sidebar-bottom { margin-top: auto; }
.sidebar-note { padding: 14px 14px 12px; border-radius: 11px; background: #f8f8f5; }
.note-spark { color: var(--orange); font-size: 16px; }
.sidebar-note p { margin: 8px 0 0; color: #818a8d; font: italic 11px/1.6 Georgia, serif; }
.nav-settings { width: 100%; margin-top: 12px; }
.sidebar-footer { display: flex; align-items: center; gap: 7px; margin: 16px 3px 0; color: #a0a9ae; font-size: 9px; }
.online-dot { width: 6px; height: 6px; border-radius: 50%; background: #64b392; }

.main-area { min-height: 100vh; margin-left: 248px; }
.topbar { height: 67px; display: flex; align-items: center; justify-content: space-between; padding: 0 43px; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 84%); }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: #9aa4aa; font-size: 11px; }
.breadcrumb strong { color: #46555d; font-weight: 600; }
.breadcrumb-separator { color: #d0d5d8; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.icon-button { width: 34px; height: 34px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: white; color: #67757d; font-size: 18px; cursor: pointer; }
.icon-button:hover { border-color: #cbd9df; color: var(--blue); }
.avatar-button { width: 32px; height: 32px; border: 0; border-radius: 50%; font-size: 11px; cursor: pointer; }
.mobile-brand { display: none; }
.page-content { max-width: 1280px; margin: auto; padding: 34px 43px 70px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 25px; }
.page-heading h1 { margin: 5px 0 0; font: 700 clamp(23px, 2.8vw, 29px)/1.2 Manrope, sans-serif; letter-spacing: -1.1px; }
.page-heading p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.heading-actions { display: flex; align-items: center; gap: 9px; }
.eyebrow { margin: 0; }
.button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 1px solid transparent; border-radius: 8px; font-size: 11px; font-weight: 600; cursor: pointer; transition: background .15s, transform .15s; }
.button:active { transform: translateY(1px); }
.button-primary { background: var(--blue); color: white; box-shadow: 0 3px 8px rgb(40 124 167 / 15%); }
.button-primary:hover { background: var(--blue-dark); }
.button-quiet { border-color: var(--line); background: white; color: #637078; }
.button-quiet:hover { background: #f8fafb; }
.button-small { min-height: 31px; padding: 0 10px; font-size: 10px; }
.button-danger { color: var(--red); }

.welcome-card { min-height: 183px; display: flex; align-items: center; justify-content: space-between; overflow: hidden; position: relative; padding: 27px 33px; border-radius: 15px; color: white; background: linear-gradient(110deg, #287ba4 0%, #327fa4 62%, #438a9e 100%); }
.welcome-card::before, .welcome-card::after { content: ""; position: absolute; border: 1px solid rgb(255 255 255 / 12%); border-radius: 50%; pointer-events: none; }
.welcome-card::before { width: 260px; height: 260px; right: 12%; top: -158px; }
.welcome-card::after { width: 205px; height: 205px; right: -14px; bottom: -156px; }
.welcome-copy { position: relative; z-index: 1; }
.welcome-copy .eyebrow { color: rgb(255 255 255 / 63%); }
.welcome-copy h2 { margin: 8px 0 6px; font: 700 23px/1.3 "Manrope", "Segoe UI", sans-serif; letter-spacing: -.7px; }
.welcome-copy p { margin: 0; color: rgb(255 255 255 / 78%); font-size: 11px; }
.welcome-metric { position: relative; z-index: 1; min-width: 180px; padding-left: 22px; border-left: 1px solid rgb(255 255 255 / 27%); }
.welcome-metric span { display: block; color: rgb(255 255 255 / 70%); font-size: 10px; }
.welcome-metric strong { display: block; margin-top: 5px; font: 600 28px "Manrope", "Segoe UI", sans-serif; letter-spacing: -1px; }
.welcome-metric small { display: block; margin-top: 3px; color: rgb(255 255 255 / 72%); font-size: 10px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(240px, .85fr); gap: 17px; margin-top: 17px; }
.stack { display: grid; align-content: start; gap: 17px; min-width: 0; }
.panel { min-width: 0; padding: 19px 20px; border: 1px solid #edf0f1; border-radius: 12px; background: white; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.panel-heading h2 { margin: 0; font: 700 13px "Manrope", "Segoe UI", sans-serif; letter-spacing: -.2px; }
.panel-link { border: 0; padding: 0; color: var(--blue); background: transparent; font-size: 10px; cursor: pointer; }
.panel-link:hover { text-decoration: underline; }
.muted-label { color: var(--muted); font-size: 10px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.stat-card { min-height: 99px; padding: 13px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.stat-label { display: flex; align-items: center; gap: 6px; color: #89949a; font-size: 10px; }
.stat-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.stat-dot.orange { background: var(--orange); }
.stat-dot.mint { background: var(--mint); }
.stat-value { display: block; margin-top: 11px; font: 700 21px "Manrope", "Segoe UI", sans-serif; letter-spacing: -.7px; }
.stat-sub { display: block; margin-top: 4px; color: #a0a8ad; font-size: 9px; }
.progress-track { height: 5px; overflow: hidden; border-radius: 6px; background: #edf0f1; }
.progress-fill { height: 100%; border-radius: inherit; background: var(--blue); transition: width .3s ease; }
.progress-fill.mint { background: var(--mint); }
.progress-fill.orange { background: var(--orange); }
.goal-row { display: flex; justify-content: space-between; gap: 10px; margin: 14px 0 8px; color: #748188; font-size: 10px; }
.goal-row strong { color: var(--ink); font-weight: 600; }
.advice-card { position: relative; overflow: hidden; padding: 18px; border: 1px solid #f1e7d8; border-radius: 12px; background: #fffcf6; }
.advice-title { display: flex; align-items: center; gap: 8px; font: 700 12px "Manrope", "Segoe UI", sans-serif; }
.advice-icon { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; color: #b97c37; background: #fff0d4; }
.advice-card p { margin: 10px 0 0; color: #7c7b70; font-size: 11px; line-height: 1.65; }
.advice-card strong { color: #594f3d; }

.timer-panel { padding-bottom: 15px; }
.timer-list, .task-list, .project-list { display: grid; }
.timer-row { display: grid; grid-template-columns: 35px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 12px 0; border-top: 1px solid #f0f2f3; }
.timer-row:first-child { border-top: 0; }
.timer-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--blue); background: var(--blue-pale); font-size: 15px; }
.timer-info { min-width: 0; }
.timer-info strong, .timer-info small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.timer-info strong { font-size: 11px; font-weight: 600; }
.timer-info small { margin-top: 4px; color: #97a1a6; font-size: 9px; }
.timer-controls { display: flex; align-items: center; gap: 8px; }
.timer-clock { font: 600 13px/1.3 "Manrope", "Segoe UI", sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; }
.timer-control { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: white; color: #69767d; cursor: pointer; }
.timer-control:hover { color: var(--blue); border-color: #c9dbe3; }
.timer-control.finish:hover { color: var(--mint); border-color: #b9daca; }
.timer-list .timer-row { grid-template-columns: 42px minmax(0, 1fr); gap: 8px 12px; padding: 16px 0; }
.timer-list .timer-icon { width: 40px; height: 40px; background: #edf7f1; color: #26734e; }
.timer-worker { width: 36px; height: 36px; }
.timer-running .timer-worker-motion { transform-origin: 17px 30px; animation: timer-dig 1.8s ease-in-out infinite; }
.timer-state { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: #26734e; font-size: 10px; font-weight: 600; }
.timer-state-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.timer-running .timer-state-dot { animation: timer-pulse 2s ease-in-out infinite; }
.timer-paused .timer-state { color: #66757d; }
.timer-list .timer-paused .timer-icon { color: #66757d; background: #f0f3f5; }
.timer-list .timer-controls { grid-column: 2; flex-wrap: wrap; gap: 8px; }
.timer-list .timer-clock { flex: 1 0 100%; color: var(--ink); font-size: 22px; }
.timer-list .timer-control { display: inline-flex; justify-content: center; gap: 6px; width: auto; min-width: 44px; height: auto; min-height: 44px; padding: 8px 12px; font-size: 11px; font-weight: 600; }
.timer-list .timer-pause { color: #893b10; background: #fff0df; border-color: #e5ae73; }
.timer-list .timer-pause:hover { color: #71300c; background: #ffe3c3; border-color: #c8823c; }
.timer-list .timer-resume { color: #216645; background: #edf7f1; border-color: #a7cfb9; }
.timer-list .timer-resume:hover { color: #184c33; background: #dcefe4; border-color: #7fb698; }
.timer-list .timer-control:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@keyframes timer-pulse { 50% { opacity: .4; } }
@keyframes timer-dig { 50% { transform: rotate(12deg) translateY(1px); } }
@media (prefers-reduced-motion: reduce) {
  .timer-running .timer-state-dot, .timer-running .timer-worker-motion { animation: none; }
}
.timer-empty, .empty-state { padding: 19px 10px; color: #97a1a6; text-align: center; font-size: 11px; line-height: 1.6; }
.timer-empty span, .empty-state span { display: block; margin-bottom: 6px; font-size: 22px; opacity: .7; }
.activity-list { display: grid; gap: 14px; }
.activity-row { display: grid; grid-template-columns: 25px 1fr auto; align-items: center; gap: 9px; }
.activity-mark { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 7px; background: var(--blue-pale); color: var(--blue); font-size: 11px; }
.activity-copy strong, .activity-copy small { display: block; }
.activity-copy strong { font-size: 10px; font-weight: 600; }
.activity-copy small { margin-top: 3px; color: #9aa3a8; font-size: 9px; }
.activity-time { color: #68757d; font-size: 10px; font-weight: 600; }

.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 5px; }
.filter-chip { min-height: 29px; padding: 0 11px; border: 1px solid transparent; border-radius: 20px; color: #89949a; background: transparent; font-size: 10px; cursor: pointer; }
.filter-chip.active { border-color: #dbeaf0; color: var(--blue); background: #edf5f8; font-weight: 600; }
.search-input { width: min(230px, 100%); min-height: 33px; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: white; font-size: 10px; }
.project-card { padding: 15px 0; border-top: 1px solid #f0f2f3; }
.project-card:first-child { border-top: 0; padding-top: 3px; }
.project-topline { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.project-name-wrap { min-width: 0; display: flex; gap: 11px; align-items: start; }
.project-color { width: 9px; height: 9px; margin-top: 5px; border-radius: 3px; flex: none; }
.project-name-wrap h3 { margin: 0; font: 600 12px "Manrope", "Segoe UI", sans-serif; }
.project-name-wrap p { margin: 4px 0 0; color: #929da2; font-size: 9px; line-height: 1.5; }
.project-meta { display: flex; flex-wrap: wrap; gap: 7px 13px; margin: 10px 0 11px 20px; color: #8e999f; font-size: 9px; }
.project-progress { margin-left: 20px; }
.project-progress .goal-row { margin: 0 0 6px; font-size: 9px; }
.project-actions { display: flex; align-items: center; gap: 6px; }
.small-icon-button { width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 7px; background: white; color: #738087; cursor: pointer; }
.small-icon-button:hover { color: var(--blue); }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 5px; color: #61737a; background: #f1f3f4; font-size: 8px; font-weight: 600; white-space: nowrap; }
.badge-personal { color: #668f7d; background: #eaf4ef; }
.badge-pro { color: #5584a0; background: #eaf3f8; }
.badge-warning { color: #b57937; background: #fff3e3; }
.badge-overdue { color: #bf625e; background: #fff0ef; }

.task-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: start; gap: 10px; padding: 13px 0; border-top: 1px solid #f0f2f3; }
.task-row:first-child { border-top: 0; }
[data-edit-task-id] { cursor: pointer; }
.task-title-button { display: block; max-width: 100%; padding: 0; border: 0; color: inherit; background: none; font: inherit; text-align: left; cursor: pointer; }
.task-title-button:hover { text-decoration: underline; }
.task-title-button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 2px; }
.task-title-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 8px; min-width: 0; }
.task-title-line > .task-title-button { min-width: 0; }
.task-project-badge { display: inline-block; max-width: 100%; padding: 3px 7px; border: 1px solid #dce5ea; border-radius: 6px; background: #f0f5f8; color: #466272; font-size: 10px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.timer-info .task-title-button { min-height: 44px; }
.timer-info .task-title-button strong { white-space: normal; overflow-wrap: anywhere; }
.task-check { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--mint); cursor: pointer; }
.task-main { min-width: 0; }
.task-main strong { display: block; font-size: 11px; font-weight: 600; }
.task-main small { display: block; margin-top: 4px; color: #96a0a5; font-size: 9px; line-height: 1.4; }
.task-side { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.task-duration { color: #738087; font-size: 9px; white-space: nowrap; }
.task-main.completed strong { color: #a4adb1; text-decoration: line-through; }
.badge-done { color: #4f7f6a; background: #edf6f1; }
.badge-planned { margin-top: 5px; max-width: 100%; color: #276650; background: #e6f4ee; white-space: normal; }
.routine-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 18px; padding: 12px 0 8px; border-top: 1px solid var(--line); }
.routine-heading:first-child { margin-top: 0; border-top: 0; }
.routine-heading .panel-link { font-size: 11px; font-weight: 600; min-height: 32px; }
.routine-heading small { color: var(--muted); font-size: 9px; }
.series-card { margin: 8px 0; padding: 10px 12px; border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 9px; background: #fbfcfd; }
.series-head { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px 9px; }
.series-icon { font-size: 13px; line-height: 1.3; }
.series-title { flex: 1 1 160px; min-width: 0; }
.series-title strong { display: block; font-size: 11px; font-weight: 600; overflow-wrap: anywhere; }
.series-title small { display: block; margin-top: 2px; color: #7d8a91; font-size: 9px; }
.series-counters { display: flex; flex-wrap: wrap; gap: 4px; }
.series-card .occurrence-row { padding: 8px 0; }
.series-card > .occurrence-row { border-top: 0; }
.occurrence-row .task-main strong { font-weight: 500; }
.series-toggle { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; font-size: 10px; }
.series-occurrences { padding-left: 10px; border-left: 1px dashed #d8e2e7; }
.series-occurrences h4 { margin: 10px 0 2px; color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.series-occurrences .occurrence-row:first-of-type { border-top: 0; }

.report-controls { display: flex; align-items: center; gap: 10px; }
.report-controls select, .field select, .field input, .field textarea, .timesheet-fields input, .timesheet-fields select { min-height: 38px; padding: 0 11px; border: 1px solid #e4e9eb; border-radius: 8px; color: #34434c; background: white; font-size: 11px; }
.report-controls select, .timesheet-fields input, .timesheet-fields select { height: 44px; min-height: 44px; line-height: normal; font-weight: 400; }
@media (max-width: 700px) {
  .report-controls { flex-wrap: wrap; gap: 6px; }
  .page-heading:has(.report-controls), .page-heading:has([data-action="day-new"]) { flex-wrap: wrap; gap: 12px; }
}
.report-hero { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 21px; border-radius: 12px; color: white; background: linear-gradient(110deg, #2d799c, #3f8a9e); }
.report-hero span { color: rgb(255 255 255 / 72%); font-size: 10px; }
.report-hero strong { display: block; margin-top: 5px; font: 700 26px "Manrope", "Segoe UI", sans-serif; }
.report-hero .report-comparison { padding-left: 17px; border-left: 1px solid rgb(255 255 255 / 30%); }
.report-hero .report-comparison strong { font-size: 15px; }
.chart { height: 188px; display: flex; align-items: stretch; gap: 8px; padding: 8px 0 0; }
.chart-day { min-width: 0; flex: 1; display: flex; flex-direction: column; justify-content: end; align-items: center; gap: 7px; }
.chart-value { color: #7e8b91; font-size: 8px; }
.chart-bar-wrap { width: min(28px, 70%); flex: 1; display: flex; align-items: end; }
.chart-bar { width: 100%; min-height: 3px; border-radius: 5px 5px 2px 2px; background: #c6dce5; transition: height .25s ease; }
.chart-bar.today { background: var(--blue); }
.chart-label { color: #929da2; font-size: 8px; }
.category-row { display: grid; grid-template-columns: 90px 1fr 54px; align-items: center; gap: 10px; margin: 13px 0; }
.category-label { overflow: hidden; color: #65737b; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.category-hours { color: #65737b; font-size: 9px; text-align: right; }
.category-segments { height: 8px; display: flex; overflow: hidden; border-radius: 10px; background: #f0f2f2; }
.category-segments span { height: 100%; }
.insight-item { display: flex; gap: 10px; padding: 12px 0; border-top: 1px solid #f0f2f3; }
.insight-item:first-child { border-top: 0; padding-top: 0; }
.insight-symbol { width: 26px; height: 26px; display: grid; place-items: center; flex: none; border-radius: 8px; color: #97733d; background: #fff3df; }
.insight-item p { margin: 0; color: #7a8589; font-size: 10px; line-height: 1.6; }
.insight-item strong { color: #49585f; }

.settings-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr); gap: 16px; align-items: start; }
.settings-section { padding: 18px 0; border-top: 1px solid #eff1f2; }
.settings-section:first-of-type { border-top: 0; padding-top: 0; }
.settings-section h3 { margin: 0 0 5px; font: 600 12px "Manrope", "Segoe UI", sans-serif; }
.settings-section > p { margin: 0 0 14px; color: #929da2; font-size: 10px; }
.inline-setting { display: flex; align-items: center; gap: 9px; color: #65737b; font-size: 10px; }
.inline-setting input { width: 83px; min-height: 34px; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; }
.setting-list { display: grid; margin: 0 0 8px; border: 1px solid #eff1f2; border-radius: 9px; overflow: hidden; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 7px 11px; border-top: 1px solid #eff1f2; }
.setting-row:first-child { border-top: 0; }
.setting-row label { flex: 1; min-width: 0; color: #4f5d65; font-size: 11px; font-weight: 600; }
.setting-control { display: flex; align-items: center; gap: 7px; flex: none; }
.setting-control input { width: 92px; min-height: 36px; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; font-size: 13px; text-align: right; }
.setting-control input[type="time"] { width: 112px; text-align: left; }
.setting-unit { width: 26px; color: #8a969c; font-size: 10px; }
.settings-section .field-inline { margin-bottom: 8px; }
.settings-section .field-hint { display: block; margin: 0 0 12px; line-height: 1.45; }
@media (min-width: 1100px) { .setting-list-days { grid-template-columns: 1fr 1fr; } .setting-list-days .setting-row:nth-child(2) { border-top: 0; } .setting-list-days .setting-row:nth-child(even) { border-left: 1px solid #eff1f2; } }
.member-row { display: flex; align-items: center; gap: 9px; padding: 10px 0; border-top: 1px solid #f0f2f3; }
.member-row:first-child { border-top: 0; }
.member-row .avatar { width: 29px; height: 29px; border-radius: 50%; font-size: 9px; flex: none; }
.member-row-copy { flex: 1; min-width: 0; }
.member-row-copy strong, .member-row-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-row-copy strong { font-size: 10px; font-weight: 600; }
.member-row-copy small { margin-top: 3px; color: #9ba4a8; font-size: 9px; }
.data-actions { display: grid; gap: 8px; }
.data-actions .button { justify-content: flex-start; }
.privacy-note { margin-top: 14px; padding: 12px; border-radius: 8px; color: #77868b; background: #f4f7f7; font-size: 9px; line-height: 1.6; }
.privacy-note strong { color: #50636a; }

.editor-dialog { width: min(470px, calc(100% - 28px)); max-height: min(90vh, 760px); padding: 0; overflow-y: auto; border: 1px solid #edf0f1; border-radius: 15px; color: var(--ink); background: white; box-shadow: 0 24px 80px rgb(21 41 52 / 23%); }
.editor-dialog::backdrop { background: rgb(23 39 48 / 38%); backdrop-filter: blur(2px); }
.editor-dialog form { padding: 23px; }
.dialog-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 20px; }
.dialog-heading h2 { margin: 5px 0 0; font: 700 20px "Manrope", "Segoe UI", sans-serif; }
.icon-button.close-dialog { font-size: 20px; }
.dialog-fields { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label, .timesheet-fields label, .timesheet-selectors legend, .timesheet-selectors label, .timesheet-options label, .report-controls .muted-label { color: #738087; font-size: 10px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; }
.field textarea { min-height: 72px; padding: 9px 11px; resize: vertical; }
.field-hint { color: #a1aaae; font-size: 9px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.field-inline { display: flex; align-items: center; gap: 8px; color: #758188; font-size: 10px; }
.field-inline input { width: 17px; min-height: 17px; accent-color: var(--blue); }
.color-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.color-swatch { width: 23px; height: 23px; border: 2px solid white; border-radius: 50%; box-shadow: 0 0 0 1px #dce2e5; cursor: pointer; }
.color-swatch.selected { box-shadow: 0 0 0 2px var(--blue); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 23px; }
.repeat-weekdays { display: flex; flex-wrap: wrap; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
.repeat-weekdays legend { font-size: 10px; color: #738087; font-weight: 600; }
.repeat-options { display: grid; gap: 14px; }
.repeat-rule-fields { display: grid; gap: 14px; min-width: 0; margin: 0; padding: 0; border: 0; }
.repeat-rule-fields:disabled { opacity: .65; }
.toast { position: fixed; z-index: 10; right: 22px; bottom: 22px; max-width: calc(100% - 30px); padding: 11px 15px; border-radius: 9px; color: white; background: #263d49; box-shadow: var(--shadow); font-size: 11px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.visible { opacity: 1; transform: translateY(0); }
.mobile-nav { display: none; }

@media (min-width: 1450px) {
  .page-content { padding-right: 55px; padding-left: 55px; }
  .topbar { padding-right: 55px; padding-left: 55px; }
}
@media (max-width: 1050px) {
  .sidebar { width: 215px; padding-right: 14px; padding-left: 14px; }
  .main-area { margin-left: 215px; }
  .topbar { padding-right: 28px; padding-left: 28px; }
  .page-content { padding-right: 28px; padding-left: 28px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1.3fr) minmax(215px, .8fr); gap: 13px; }
  .panel { padding-right: 15px; padding-left: 15px; }
}
@media (max-width: 760px) {
  body { padding-bottom: calc(67px + env(safe-area-inset-bottom)); }
  .sidebar { display: none; }
  .main-area { margin-left: 0; min-height: 100vh; }
  .topbar { height: 57px; padding: 0 17px; }
  .mobile-brand { display: flex; align-items: center; gap: 8px; }
  .mobile-brand .brand-mark { width: 28px; height: 28px; border-radius: 9px; }
  .mobile-brand .brand-mark::before { width: 16px; height: 16px; border-width: 1.5px; }
  .mobile-brand .brand-mark::after { width: 1.5px; height: 6px; top: 9px; left: 13px; }
  .mobile-brand .brand-mark span { width: 5px; height: 1.5px; top: 15px; left: 14px; }
  .mobile-brand .brand-name { font-size: 17px; }
  .breadcrumb { margin-left: auto; font-size: 10px; }
  .breadcrumb > span:first-child, .breadcrumb-separator { display: none; }
  .breadcrumb strong { display: none; }
  .topbar-actions { gap: 8px; margin-left: 11px; }
  .topbar-actions .icon-button { width: 30px; height: 30px; }
  .avatar-button { width: 29px; height: 29px; }
  .page-content { padding: 24px 17px 30px; }
  .page-heading { align-items: center; margin-bottom: 18px; }
  .page-heading h1 { font-size: 23px; }
  .page-heading p { max-width: 260px; font-size: 10px; line-height: 1.5; }
  .page-heading .eyebrow { font-size: 8px; }
  .heading-actions { gap: 6px; }
  .heading-actions .button { width: 37px; min-width: 37px; height: 37px; padding: 0; font-size: 0; }
  .heading-actions .button span { font-size: 17px; }
  .welcome-card { min-height: 145px; padding: 20px; border-radius: 12px; }
  .welcome-copy h2 { max-width: 240px; font-size: 19px; }
  .welcome-copy p { max-width: 230px; font-size: 9px; line-height: 1.5; }
  .welcome-metric { min-width: 100px; padding-left: 13px; }
  .welcome-metric span { font-size: 8px; }
  .welcome-metric strong { font-size: 21px; }
  .welcome-metric small { font-size: 8px; }
  .dashboard-grid, .settings-grid { grid-template-columns: 1fr; gap: 13px; margin-top: 13px; }
  .dashboard-grid .stack { gap: 13px; }
  .panel { padding: 16px; border-radius: 11px; }
  .stat-grid { gap: 7px; }
  .stat-card { min-height: 88px; padding: 10px 9px; }
  .stat-label { gap: 5px; font-size: 8px; }
  .stat-value { margin-top: 10px; font-size: 18px; }
  .stat-sub { font-size: 8px; }
  .timer-row { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 8px; }
  .timer-icon { width: 31px; height: 31px; }
  .timer-info strong { font-size: 10px; }
  .timer-info small { font-size: 8px; }
  .timer-controls { gap: 5px; }
  .timer-clock { font-size: 11px; }
  .timer-control { width: 25px; height: 25px; }
  .mobile-nav { position: fixed; inset: auto 0 0; z-index: 5; height: calc(63px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(6, 1fr); padding: 5px 9px calc(5px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgb(255 255 255 / 96%); backdrop-filter: blur(12px); }
  .mobile-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #929da2; font-size: 8px; }
  .mobile-nav a span { font-size: 18px; line-height: 1; }
  .mobile-nav a.active { color: var(--blue); font-weight: 600; }
  .toast { right: 14px; bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (max-width: 430px) {
  .welcome-card { align-items: flex-start; padding: 17px; }
  .welcome-copy h2 { max-width: 195px; font-size: 17px; }
  .welcome-metric { min-width: 85px; margin-top: 6px; padding-left: 10px; }
  .welcome-metric strong { font-size: 18px; }
  .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-card { padding-right: 6px; padding-left: 7px; }
  .stat-label { display: block; }
  .stat-dot { display: inline-block; margin-right: 3px; vertical-align: middle; }
  .filter-bar { align-items: stretch; }
  .search-input { width: 100%; }
  .field-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

[hidden] { display: none !important; }
.auth-screen { min-height: 100vh; display: grid; place-items: center; padding: 28px 18px; background: radial-gradient(ellipse at 50% 0%, #e8f1f5 0, var(--canvas) 53%); }
.auth-loading { display: grid; justify-items: center; gap: 12px; color: #78868d; font-size: 12px; }
.auth-loading p { margin: 0; }
.auth-card { width: min(100%, 430px); padding: 32px; border: 1px solid #e9edef; border-radius: 17px; background: white; box-shadow: 0 18px 55px rgb(34 53 66 / 8%); }
.auth-brand { width: fit-content; margin: 0 0 27px; }
.auth-heading { margin: 0 0 20px; }
.auth-heading h1, .auth-intro h1 { margin: 7px 0 6px; font: 700 25px/1.2 "Manrope", "Segoe UI", sans-serif; letter-spacing: -1px; }
.auth-heading > p:last-child, .auth-intro > p:last-child { margin: 0; color: #87939a; font-size: 11px; line-height: 1.6; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 20px; border-radius: 9px; background: #f3f5f6; }
.auth-tabs button { min-height: 33px; border: 0; border-radius: 7px; color: #839098; background: transparent; font-size: 10px; cursor: pointer; }
.auth-tabs button.active { color: var(--blue); background: white; box-shadow: 0 1px 4px rgb(34 53 66 / 10%); font-weight: 600; }
.auth-form { display: grid; gap: 14px; }
.auth-form .field input { min-height: 42px; }
.auth-submit { width: 100%; min-height: 42px; margin-top: 2px; }
.auth-submit:disabled { opacity: .7; cursor: progress; }
.auth-footnote, .auth-privacy { margin: 0; color: #98a2a7; font-size: 9px; line-height: 1.6; text-align: center; }
.auth-privacy { margin-top: 22px; color: #869398; }
.auth-message { padding: 10px 12px; margin-bottom: 15px; border: 1px solid #f2d9d4; border-radius: 8px; color: #a44f49; background: #fff6f4; font-size: 10px; line-height: 1.5; }
.auth-message-success { border-color: #d1e5dc; color: #326d58; background: #f0f8f4; }
.day-settings, .day-suggestions { padding: 20px; margin-bottom: 18px; }
.day-settings .field-row { display: flex; flex-wrap: wrap; gap: 14px; }
.day-settings .field { flex: 1 1 130px; }
.day-warning { padding: 10px; background: #fff6f4; color: #a44f49; border-radius: 8px; }
.day-help { padding: 0 18px; }
.day-item { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-top: 1px solid var(--line); }
.day-item-main { flex: 1; min-width: 0; }
.day-item-completed { background: #f6f9f8; }
.day-item-completed .day-task-title { text-decoration: line-through; color: #53636b; }
.day-completed-badge { margin-top: 6px; background: var(--mint-pale); color: #24644f; }
.day-item-main strong, .day-suggestion strong { display: block; overflow-wrap: anywhere; }
.day-item-main small, .day-suggestion small { display: block; color: #78868d; margin: 6px 0; }
.day-drag { touch-action: none; cursor: grab; border: 1px solid var(--line); border-radius: 8px; min-width: 40px; min-height: 44px; background: #f3f5f6; font-size: 22px; }
.day-drag.dragging { background: #d1e5dc; }
.day-drop-target { background: #f0f8f4; box-shadow: inset 0 3px var(--mint); }
.project-reorder { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.project-card[data-open-project] { cursor: pointer; }
.project-title-button { display: block; max-width: 100%; padding: 0; border: 0; color: inherit; background: none; text-align: left; cursor: pointer; }
.project-title-button:hover h3 { text-decoration: underline; }
.project-title-button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 2px; }
.project-detail { margin-bottom: 16px; }
.project-reorder .small-icon-button { min-width: 44px; min-height: 44px; }
.planning-toolbar, .planning-navigation { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.planning-toolbar { justify-content: space-between; margin-bottom: 16px; }
.planning-toolbar .filter-chip, .planning-navigation .button { min-height: 44px; font-size: 12px; }
.planning-navigation .report-controls { min-width: 0; }
.planning-navigation input { min-width: 0; min-height: 44px; max-width: 100%; font: inherit; font-size: 12px; line-height: normal; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; background: white; }
.planning-navigation input::-webkit-datetime-edit { font: inherit; }
.planning-navigation input::-webkit-date-and-time-value { font: inherit; text-align: left; }
.planning-grid { display: grid; gap: 10px; margin: 16px 0; }
.planning-week { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.planning-month { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.planning-grid .panel { padding: 12px; min-width: 0; }
.planning-day-title { min-height: 44px; font-size: 12px; text-align: left; text-transform: capitalize; }
.planning-current { border: 2px solid var(--blue); }
.planning-event, .planning-deadline { margin: 10px 0; padding: 8px; border-left: 3px solid var(--blue); border-radius: 5px; background: #f0f5f8; overflow-wrap: anywhere; }
.planning-event small, .planning-deadline small { display: block; color: #53636b; font-size: 10px; margin-bottom: 6px; }
.planning-event .panel-link { min-height: 44px; text-align: left; }
.planning-event strong, .planning-deadline strong { font-size: 11px; }
.planning-done .task-title-button { text-decoration: line-through; color: #53636b; }
.planning-deadline { border-color: #b67730; background: #fff7eb; }
:is(.day-item, .planning-event, .planning-deadline)[data-task-status="backlog"] { background: #f3f4f6; }
:is(.day-item, .planning-event, .planning-deadline)[data-task-status="todo"] { background: #f0f5f8; }
:is(.day-item, .planning-event, .planning-deadline)[data-task-status="in_progress"] { background: var(--orange-pale); }
:is(.day-item, .planning-event, .planning-deadline)[data-task-status="review"] { background: #f2eef8; }
:is(.day-item, .planning-event, .planning-deadline)[data-task-status="done"] { background: #f6f9f8; }
.planning-weekday { text-align: center; color: #66757d; font-size: 11px; }
.planning-grid .button { white-space: normal; max-width: 100%; min-height: 44px; padding: 8px; }
@media (max-width: 1100px) {
  .planning-week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .planning-month { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .planning-weekday, .planning-spacer { display: none; }
}
@media (max-width: 700px) {
  .planning-week, .planning-month { grid-template-columns: minmax(0, 1fr); }
  .planning-toolbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .planning-toolbar .filter-group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .planning-navigation { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 6px; min-width: 0; }
  .planning-navigation .report-controls { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
  .planning-navigation input { width: 100%; }
}
.day-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.day-status { display: grid; gap: 5px; margin-top: 12px; color: #78868d; font-size: 11px; }
.day-completion { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--ink); font-size: 12px; cursor: pointer; }
.day-completion input { width: 20px; height: 20px; margin: 0; accent-color: var(--mint); cursor: pointer; }
.day-completion:has(input:disabled) { cursor: default; opacity: .65; }
.day-completion input:disabled { cursor: default; }
.day-status select { width: 100%; max-width: 180px; min-width: 0; min-height: 44px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: white; font: inherit; color: var(--ink); }
.day-controls label { display: grid; gap: 5px; color: #78868d; font-size: 11px; }
.day-controls input { min-height: 42px; max-width: 125px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; color: var(--ink); }
.day-actions { display: flex; flex-wrap: wrap; gap: 6px; max-width: 100px; }
.day-actions button { min-width: 40px; min-height: 40px; }
.day-suggestion { display: flex; align-items: center; gap: 14px; justify-content: space-between; border-top: 1px solid var(--line); padding: 14px 0; }
.day-suggestion > div, .availability-block .task-title-line { min-width: 0; flex: 1; }
.day-suggestion > button { flex-shrink: 0; }
.day-suggestion .task-title-button { min-height: 44px; }
.day-suggestion .task-title-line .task-project-badge, .activity-copy .task-title-line .task-project-badge, .session-row .task-title-line .task-project-badge { display: inline-block; }
.google-panel .data-actions { margin: 14px 0; }
.google-source { padding: 14px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.google-source h4 { margin: 0 0 8px; }
.google-panel summary { min-height: 44px; padding: 12px 0; cursor: pointer; color: var(--blue); font-size: 12px; }
.google-panel details { min-width: 0; }
.session-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.session-row > div { min-width: 0; flex: 1 1 180px; overflow-wrap: anywhere; }
.session-row small { display: block; margin-top: 6px; color: #53636b; }
.session-row button, .member-row .panel-link { min-height: 44px; }
.appointment-reminder { position: fixed; z-index: 20; right: 20px; top: 80px; width: min(360px, calc(100vw - 32px)); max-height: 40vh; overflow-y: auto; padding: 14px 16px; border: 1px solid #b7d5e4; border-radius: 12px; background: var(--paper); box-shadow: var(--shadow); font-size: 12px; overflow-wrap: anywhere; }
.appointment-reminder-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.appointment-reminder .panel-link { min-height: 44px; }
.appointment-reminder-item { padding: 8px 0; border-top: 1px solid var(--line); }
.appointment-reminder-item p { margin: 4px 0; line-height: 1.6; }
.appointment-reminder small { color: #53636b; }
.reminder-item { padding: 8px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.reminder-panel .reminder-item:first-of-type { border-top: 0; }
.reminder-open { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border: 0; background: none; color: inherit; font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.reminder-open:hover .reminder-message, .reminder-open:focus-visible .reminder-message { text-decoration: underline; }
.reminder-message { font-size: inherit; line-height: 1.5; }
.reminder-go { color: var(--blue); font-weight: 700; }
.reminder-actions { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.reminder-actions .panel-link { min-height: 44px; }
.reminder-item-hidden { opacity: .78; }
.reminder-hidden { border-top: 1px solid var(--line); padding-top: 4px; }
.reminder-hidden > .panel-link { min-height: 44px; }
.reminder-target { outline: 3px solid #f2b84b; outline-offset: 2px; transition: outline-color .4s; }
@media (max-width: 700px) {
  .appointment-reminder { right: 16px; top: calc(70px + env(safe-area-inset-top)); max-height: 32vh; }
}
#sync-status { overflow-wrap: anywhere; }
.member-row { flex-wrap: wrap; }
.day-actions .panel-link { overflow-wrap: anywhere; }
.google-panel .field select { width: 100%; min-width: 0; }
.google-panel .field-hint { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .day-item { gap: 8px; padding: 14px 10px; }
  .day-actions { max-width: 44px; }
  .filter-bar .filter-group { flex-wrap: wrap; }
  .task-row { grid-template-columns: 22px minmax(0, 1fr); }
  .task-side { grid-column: 2; align-items: flex-start; }
  .task-side .badge { white-space: normal; overflow-wrap: anywhere; }
  .task-side .project-actions { flex-wrap: wrap; }
  .task-main strong { overflow-wrap: anywhere; }
}
.auth-intro { margin-bottom: 18px; }
.auth-invite-mark { display: block; margin-bottom: 11px; color: var(--blue); font-size: 23px; }
.auth-back { border: 0; padding: 3px; color: var(--blue); background: transparent; font-size: 10px; cursor: pointer; }
.account-menu { display: flex; align-items: center; gap: 10px; }
.account-email { max-width: 210px; overflow: hidden; color: #7d8990; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.workspace-switcher:disabled { cursor: default; }
.workspace-switcher:disabled:hover { border-color: var(--line); }
@media (max-width: 760px) {
  .auth-screen { min-height: 100svh; padding: 18px; }
  .auth-card { padding: 25px 21px; border-radius: 14px; }
  .auth-brand { margin-bottom: 22px; }
  .auth-heading h1, .auth-intro h1 { font-size: 22px; }
  .account-email { display: none; }
}
