.ritmo-calendar {
  --rc-line: color-mix(in srgb, currentColor 14%, transparent);
  --rc-soft: color-mix(in srgb, currentColor 5%, transparent);
  --rc-primary: var(--accent, #5845bd);
  --fc-border-color: var(--rc-line);
  --fc-page-bg-color: transparent;
  --fc-neutral-bg-color: var(--rc-soft);
  --fc-today-bg-color: color-mix(in srgb, var(--rc-primary) 7%, transparent);
  border: 1px solid var(--rc-line);
  border-radius: 18px;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  background: var(--card, transparent);
}
.ritmo-calendar button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.ritmo-calendar button:focus-visible, .rc-time-scroll:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
.rc-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--rc-line); }
.rc-toolbar h2 { font-size: clamp(.98rem,2vw,1.2rem); margin: 0 auto 0 0; line-height: 1.4; letter-spacing: -.025em; }
.rc-nav, .rc-views { display: inline-flex; align-items: center; }
.rc-nav { border: 1px solid var(--rc-line); border-radius: 8px; overflow: hidden; }
.rc-nav button { display: grid; place-items: center; height: 33px; border: 0; background: transparent; padding: 0 9px; font-size: .86rem; }
.rc-nav button + button { border-left: 1px solid var(--rc-line); }
.rc-views { background: var(--rc-soft); padding: 3px; border-radius: 9px; gap: 2px; }
.rc-views button { border: 1px solid transparent; background: transparent; padding: 5px 9px; border-radius: 6px; font-size: .86rem; }
.rc-views button[aria-pressed=true] { border-color: var(--rc-line); background: var(--card, Canvas); box-shadow: 0 1px 3px #0001; }
.rc-toolbar .rc-new { border: 0; background: var(--rc-primary); color: white; font-weight: 600; padding: 9px 13px; border-radius: 8px; font-size: .86rem; }
.rc-nav button:hover, .rc-time-heading:hover, .rc-day-number:hover { background: var(--rc-soft); }
.rc-month { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); }
.rc-month-heading { font-size: .83rem; opacity: .8; text-align: center; padding: 11px 0; }
.rc-month-cell { min-height: 112px; padding: 4px; border-top: 1px solid var(--rc-line); border-left: 1px solid var(--rc-line); min-width: 0; }
.rc-month-cell:nth-child(7n+1) { border-left: 0; }
.rc-other-month { background: var(--rc-soft); }
.rc-other-month .rc-day-number { opacity: .55; }
.rc-day-number { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; margin: 0 0 2px; background: transparent; border: 0; }
.rc-day-number.rc-today { background: var(--rc-primary); color: white; }
.rc-chip { display: block; max-width: 100%; margin: 2px 0; border: 0; padding: 3px 4px; border-radius: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.ritmo-calendar .rc-chip,.ritmo-calendar .rc-more { font-size: .77rem; }
.rc-more { background: transparent; border: 0; }
.rc-time-scroll, .ritmo-fc-wrap { overflow-x: auto; overscroll-behavior-x: contain; }
.rc-time { display: grid; }
.rc-time-heading, .rc-time-corner { border: 0; border-right: 1px solid var(--rc-line); border-bottom: 1px solid var(--rc-line); background: transparent; }
.ritmo-calendar .rc-time-heading { display: grid; padding: 9px 0; gap: 3px; justify-items: center; font-size: .78rem; text-transform: uppercase; }
.rc-time-heading b { font-size: 1.15rem; display: grid; place-items: center; border-radius: 50%; min-width: 27px; height: 27px; }
.rc-current-day b { background: var(--rc-primary); color: white; }
.rc-hours { border-right: 1px solid var(--rc-line); }
.rc-hours span { display: block; text-align: center; padding-top: 2px; height: 52px; box-sizing: border-box; font-size: .7rem; opacity: .7; }
.rc-day-column { position: relative; border-right: 1px solid var(--rc-line); background: repeating-linear-gradient(to bottom,transparent 0px,transparent 51px,var(--rc-line) 51px,var(--rc-line) 52px); }
.rc-day-column:last-child { border-right: 0; }
.rc-empty-day { border: 0; position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; }
.rc-time-event { position: absolute; overflow: hidden; padding: 4px 5px; border: 0; border-left: 3px solid var(--rc-color); border-radius: 5px; text-align: left; display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.rc-time-event small { font-size: .68rem; white-space: nowrap; }
.rc-time-event strong { font-size: .81rem; overflow-wrap: anywhere; }
.rc-blue { --rc-color:#4c85be; }
.rc-orange { --rc-color:#ba783e; }
.rc-purple { --rc-color:#8d68b6; }
.rc-green { --rc-color:#549275; }
.ritmo-calendar .rc-chip, .ritmo-calendar .rc-time-event { background: color-mix(in srgb, var(--rc-color) 20%, var(--card, Canvas)); color: inherit; }
.ritmo-calendar .fc { font-size: .88rem; }
.ritmo-calendar .fc-theme-standard .fc-scrollgrid { border: 0; }
.ritmo-calendar .fc-col-header-cell-cushion { padding: .6rem 0; text-decoration: none; }
.ritmo-calendar .fc-event { cursor: pointer; }
@media(max-width:720px) {
  .rc-toolbar { padding: 13px; gap: 8px; }
  .rc-toolbar h2 { order: -1; width: 100%; margin-bottom: 3px; }
  .rc-toolbar .rc-new { margin-left: auto; }
  .rc-month-cell { min-height: 72px; padding: 2px; }
  .rc-chip span { display: none; }
  .rc-day-number { width: 25px; height: 25px; }
  .rc-week-overflow > div { min-width: 600px; }
}
@media(max-width:380px) { .rc-nav button, .rc-views button { padding-left: 6px; padding-right: 6px; } }

.ms-blue, .ms-empty { --ms-accent: var(--blue, #365fdf); }
.ms-purple { --ms-accent: #9362db; }
.ms-green { --ms-accent: #2d9a79; }
.ms-orange { --ms-accent: #ce7930; }
.ms-symbol {
  flex: 0 0 auto; width: 42px; height: 42px; display: inline-grid; place-items: center;
  border-radius: 13px; color: var(--ms-accent, var(--blue)); background: color-mix(in srgb, var(--ms-accent, var(--blue)) 12%, var(--surface));
}
.ms-dialog, .ms-record, .ms-lane, .ms-habit-panel, .ms-empty { color: var(--ink); }
.ms-dialog *, .ms-record *, .ms-lane *, .ms-habit-panel *, .ms-empty * { box-sizing: border-box; }
.ms-dialog button, .ms-title-button, .ms-habit-panel button, .ms-icon-btn, .ms-primary, .ms-record button { font: inherit; cursor: pointer; }
.ms-dialog {
  padding: 0; border: 1px solid var(--line); background: var(--surface); width: min(475px, calc(100vw - 28px));
  border-radius: 21px; max-height: calc(100dvh - 34px); overflow: auto; margin: auto;
  box-shadow: 0 24px 80px #10223930;
}
.ms-dialog::backdrop { background: rgb(18 28 48 / 44%); backdrop-filter: blur(3px); }
.ms-dialog-inside { padding: clamp(20px,4vw,28px); }
.ms-dialog-head, .ms-habit-head, .ms-record-heading, .ms-actions, .ms-editor-foot, .ms-range-label, .ms-progress, .ms-task-top, .ms-week-nav { display: flex; align-items: center; }
.ms-dialog-head { gap: 12px; margin-bottom: 24px; }
.ms-dialog-head h2, .ms-habit-head h2, .ms-lane h2, .ms-empty h2, .ms-confirm h3 { margin: 0; line-height: 1.24; font-weight: 650; letter-spacing: -.025em; }
.ms-dialog-head h2 { font-size: 1.32rem; flex: 1; }
.ms-icon-btn { display: inline-grid; place-items: center; border: 0; background: transparent; color: var(--muted); border-radius: 8px; width: 32px; height: 32px; padding: 0; }
.ms-icon-btn:hover, .ms-linked-toggle:hover { background: var(--soft); color: var(--ink); }
.ms-icon-btn:disabled { opacity: .38; cursor: default; }
.ms-form { display: grid; gap: 16px; }
.ms-form label, .ms-form legend { font-size: .86rem; font-weight: 580; }
.ms-form label:not(.ms-swatch) { display: grid; gap: 7px; min-width: 0; }
.ms-form input:not([type=radio]):not([type=range]), .ms-form select, .ms-form textarea, .ms-task-state {
  width: 100%; min-width: 0; min-height: 42px; padding: 9px 10px; border: 1px solid var(--line);
  border-radius: 9px; font: inherit; font-size: .94rem; font-weight: 400; color: var(--ink); background: var(--surface);
}
.ms-form input:focus-visible, .ms-form select:focus-visible, .ms-form textarea:focus-visible, .ms-task-state:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.ms-form textarea { resize: vertical; }
.ms-form select, .ms-task-state { appearance: auto; }
.ms-form input[type=range] { width: 100%; margin: 0; accent-color: var(--blue); }
.ms-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ms-field-note, .ms-confirm p { color: var(--muted); margin: 0; font-size: .875rem; line-height: 1.55; }
.ms-field-note { margin-top: -6px; }
.ms-range-label, .ms-progress, .ms-record-heading, .ms-task-top, .ms-habit-head { justify-content: space-between; }
.ms-range-label output { font-weight: 650; color: var(--blue); }
.ms-swatches { padding: 0; margin: 0; border: 0; display: flex; gap: 9px; }
.ms-swatches legend { margin-bottom: 8px; }
.ms-swatch { display: grid; place-items: center; width: 28px; height: 28px; position: relative; cursor: pointer; }
.ms-swatch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; }
.ms-swatch span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: white; background: var(--ms-accent); pointer-events: none; }
.ms-swatch input:checked + span { outline: 1px solid var(--ms-accent); outline-offset: 2px; }
.ms-swatch input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.ms-primary, .ms-secondary, .ms-danger, .ms-delete {
  min-height: 40px; padding: 9px 16px; border-radius: 9px; display: inline-flex; gap: 7px; align-items: center; justify-content: center;
  border: 1px solid transparent; font-size: .9rem; font-weight: 600;
}
.ms-primary { background: var(--blue); color: #fff; }
.ms-secondary { color: var(--ink); background: var(--surface); border-color: var(--line); }
.ms-primary:hover, .ms-danger:hover { filter: brightness(.92); }
.ms-secondary:hover { background: var(--soft); }
.ms-editor-foot { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 17px; }
.ms-editor-foot, .ms-actions { justify-content: end; gap: 9px; }
.ms-delete { margin-right: auto; color: #c14949; border-color: var(--line); background: var(--surface); padding: 7px 10px; }
.ms-confirm { display: grid; gap: 13px; }
.ms-confirm h3 { font-size: 1.08rem; overflow-wrap: anywhere; }
.ms-actions { margin-top: 11px; }
.ms-danger { background: #b73942; color: white; }
.ms-error { color: #c54848; font-size: .88rem; font-weight: 550; margin: 0; }
.ms-empty { padding: 54px 20px; border: 1px solid var(--line); background: var(--surface); border-radius: 16px; display: grid; justify-items: center; gap: 17px; text-align: center; }
.ms-empty h2 { font-size: 1.2rem; }
.ms-kanban { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 16px; }
.ms-lane { padding: 15px; border: 1px solid var(--line); border-radius: 15px; min-height: 230px; background: color-mix(in srgb, var(--soft) 50%, var(--bg)); }
.ms-lane.ms-over { background: color-mix(in srgb, var(--blue) 8%, var(--surface)); border-color: var(--blue); }
.ms-lane h2 { display: flex; gap: 8px; align-items: center; font-size: 1rem; padding: 4px 2px 17px; }
.ms-lane h2 span { color: var(--muted); font-size: .77rem; padding: 2px 7px; border-radius: 6px; background: var(--surface); font-variant-numeric: tabular-nums; }
.ms-state-dot, .ms-dot { display: inline-block; flex: 0 0 auto; height: 7px; width: 7px; border-radius: 50%; background: var(--ms-accent); }
.ms-lane-todo { --ms-accent: #8796ad; }
.ms-lane-doing { --ms-accent: #d78a3b; }
.ms-lane-done { --ms-accent: #389b78; }
.ms-task-stack, .ms-card-grid { display: grid; gap: 12px; }
.ms-task, .ms-record, .ms-habit-panel { border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.ms-task { padding: 15px; display: grid; gap: 11px; cursor: grab; min-width: 0; transition: box-shadow .12s,opacity .12s; }
.ms-task.ms-dragging { opacity: .45; }
.ms-task.ms-before { box-shadow: 0 -3px 0 var(--blue); }
.ms-task-top { min-height: 19px; }
.ms-priority { font-size: .77rem; border-radius: 6px; padding: 3px 8px; line-height: 1.3; font-weight: 600; }
.ms-priority-high { background: #fce8e7; color: #9c3938; }
.ms-priority-medium { background: #fff1d8; color: #8d5c16; }
.ms-priority-low { background: #e6f4eb; color: #367448; }
.ms-grip { color: var(--muted); display: inline-flex; }
.ms-title-button { text-align: left; width: fit-content; max-width: 100%; padding: 0; border: 0; background: transparent; overflow-wrap: anywhere; color: var(--ink); font-weight: 610; line-height: 1.4; }
.ms-title-button:hover { color: var(--blue); }
.ms-project-name, .ms-date, .ms-habit-identity { display: flex; align-items: center; gap: 7px; }
.ms-project-name, .ms-date { color: var(--muted); font-size: .82rem; overflow-wrap: anywhere; }
.ms-date svg { flex: 0 0 auto; }
.ms-date.ms-late { color: #bc543e; }
.ms-task-state { font-size: .8rem; min-height: 32px; padding: 5px 8px; border-color: var(--line); color: var(--muted); }
.ms-lane-empty { min-height: 76px; display: grid; place-items: center; color: var(--muted); font-size: .85rem; border: 1px dashed var(--line); border-radius: 10px; }
.ms-card-grid { grid-template-columns: repeat(auto-fill,minmax(min(100%,245px),1fr)); align-items: start; gap: 16px; }
.ms-record { padding: 21px; min-width: 0; }
.ms-record-heading { margin-bottom: 16px; }
.ms-record > .ms-title-button { font-size: 1.09rem; font-weight: 630; }
.ms-record-note { color: var(--muted); margin: 8px 0 0; line-height: 1.5; font-size: .92rem; white-space: pre-line; overflow-wrap: anywhere; }
.ms-record .ms-project-name, .ms-record .ms-date { margin-top: 12px; }
.ms-progress { margin: 21px 0 7px; color: var(--muted); font-size: .82rem; }
.ms-progress b { font-weight: 600; color: var(--ink); }
.ms-meter { height: 6px; border-radius: 10px; background: color-mix(in srgb,var(--ms-accent) 11%,var(--surface)); overflow: hidden; }
.ms-meter span { display: block; height: 100%; background: var(--ms-accent); border-radius: inherit; }
.ms-linked { margin-top: 15px; }
.ms-linked-toggle { background: transparent; color: var(--blue); font-size: .86rem !important; border: 0; padding: 3px 0; }
.ms-linked ul { padding: 0; margin: 9px 0 0; list-style: none; }
.ms-linked li { padding: 9px 0; display: grid; gap: 3px; border-top: 1px solid var(--line); }
.ms-linked li button { padding: 0; background: none; border: 0; text-align: left; color: var(--ink); overflow-wrap: anywhere; }
.ms-linked li span { color: var(--muted); font-size: .77rem; }
.ms-habit-panel { padding: 0 22px; }
.ms-habit-head { padding: 20px 0; gap: 12px; border-bottom: 1px solid var(--line); }
.ms-habit-head h2 { font-size: 1.1rem; }
.ms-week-nav { color: var(--muted); font-size: .86rem; gap: 3px; white-space: nowrap; }
.ms-week-nav .ms-icon-btn { font-size: 1.35rem; }
.ms-habit { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; }
.ms-habit + .ms-habit { border-top: 1px solid var(--line); }
.ms-habit-identity { gap: 12px; min-width: 0; }
.ms-habit-identity small { display: block; margin-top: 4px; color: var(--muted); font-size: .8rem; }
.ms-days { display: grid; grid-template-columns: repeat(7,minmax(0, 1fr)); gap: 6px; }
.ms-day { display: grid; justify-items: center; gap: 5px; }
.ms-day > span { color: var(--muted); font-size: .75rem; }
.ms-day button { border-radius: 9px; background: var(--soft); border: 1px solid transparent; color: var(--ink); width: 35px; height: 35px; display: grid; place-items: center; font-size: .82rem; padding: 0; }
.ms-day.ms-today button { border-color: var(--ms-accent); }
.ms-day button:disabled { opacity: .45; cursor: default; }
.ms-day button.is-checked { background: var(--ms-accent); color: white; }
@media (max-width: 920px) {
  .ms-kanban { gap: 10px; } .ms-lane { padding: 10px; } .ms-task { padding: 11px; }
}
@media (max-width: 720px) {
  .ms-kanban { grid-template-columns: 1fr; gap: 16px; } .ms-lane { min-height: 100px; padding: 14px; }
  .ms-task { padding: 15px; }
  .ms-habit { align-items: flex-start; flex-direction: column; gap: 13px; }
  .ms-days { width: 100%; } .ms-day button { width: min(100%,42px); height: 39px; }
}
@media (max-width: 460px) {
  .ms-pair { gap: 9px; } .ms-habit-panel { padding: 0 15px; }
  .ms-habit-head { align-items: flex-start; flex-direction: column; gap: 7px; }
  .ms-days { gap: 3px; } .ms-habit-head h2 { font-size: 1.04rem; }
}
@media (prefers-reduced-motion: reduce) { .ms-task { transition: none; } }

:root{color-scheme:light;--bg:#f6f7fb;--surface:#fff;--ink:#1d263b;--muted:#646f83;--line:#e4e7ef;--blue:#345be4;--soft:#eef2ff;--hover:#f6f8fc;--green:#218567;--shadow:0 2px 6px #26375704;--rail:222px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;color:var(--ink);background:var(--bg)}
:root[data-theme=dark]{color-scheme:dark;--bg:#121722;--surface:#1a2130;--ink:#eef1f9;--muted:#adb6c9;--line:#30394a;--blue:#94aaff;--soft:#2b3656;--hover:#242d40;--green:#81d0af;--shadow:none}
*{box-sizing:border-box}body{margin:0;min-width:300px}button,input,select,textarea{font:inherit}button{color:inherit;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #6f98fc;outline-offset:3px}button:disabled{opacity:.55;cursor:default}button{border:0;background:transparent}h1,h2,h3,p{margin:0}button,select{-webkit-tap-highlight-color:transparent}button svg{flex-shrink:0}svg{vertical-align:middle}.shell{min-height:100vh}.sidebar{width:var(--rail);background:var(--surface);border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;z-index:15;display:flex;flex-direction:column;padding:0 15px}.brand{display:flex;align-items:center;gap:11px;height:82px;padding-left:13px;margin-bottom:26px}.brand b{font-size:30px;font-weight:745;letter-spacing:-1.6px}.brand b span{color:var(--blue)}.brand-icon{filter:drop-shadow(0 3px 4px #2f53e31c)}.nav-label{text-transform:uppercase;letter-spacing:1.55px;font-weight:700;font-size:10px;color:var(--muted);padding:0 14px;margin-bottom:12px}.nav-group+.nav-group{margin-top:33px}.nav-link{width:100%;display:flex;gap:13px;align-items:center;color:var(--muted);padding:11px 14px;border-radius:8px;min-height:43px;font-weight:530;font-size:14px;text-align:left;margin-bottom:3px}.nav-link.current{background:var(--soft);color:var(--blue);font-weight:650}.nav-link:hover:not(.current),.icon-btn:hover,.arrow-btn:hover{background:var(--hover)}.nav-link small{margin-left:auto;background:var(--hover);border:1px solid var(--line);color:var(--muted);min-width:21px;text-align:center;border-radius:6px;padding:1px 5px;font-size:11px}.side-bottom{margin-top:auto;padding-top:25px}.workspace-id{display:flex;align-items:center;gap:11px;margin:12px 0 0;padding:19px 6px 21px;border-top:1px solid var(--line)}.workspace-mark{width:36px;height:36px;display:grid;place-items:center;background:var(--soft);color:var(--blue);border-radius:11px}.workspace-id strong{display:block;font-size:13px;font-weight:650}.workspace-id small{display:flex;align-items:center;gap:6px;font-size:11.5px;color:var(--muted);margin-top:4px}.workspace-id i{height:6px;width:6px;border-radius:50%;background:#32aa81}.main-wrap{margin-left:var(--rail)}.topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 clamp(20px,3vw,48px);background:var(--surface);border-bottom:1px solid var(--line);height:68px}.crumb,.top-actions,.primary,.new-menu button,.icon-btn,.text-button,.arrow-btn,.card-add,.add-slot,.button-line,.settings-card button,.welcome-date{display:flex;align-items:center}.crumb{gap:12px;font-size:13px;color:var(--muted)}.crumb>svg{color:#7d8aa4}.crumb i{font-style:normal;color:#a6afbf}.crumb b{font-weight:580;color:var(--ink)}.top-actions{gap:15px}.icon-btn{justify-content:center;height:34px;width:34px;color:var(--muted);border-radius:7px}.action-divider{height:21px;border-left:1px solid var(--line)}.primary{gap:8px;justify-content:center;color:white;background:#345be4;border:1px solid #3257de;border-radius:8px;padding:9px 14px;font-size:13px;font-weight:630;box-shadow:0 2px 3px #2548c219;min-height:37px}.primary:hover{background:#254bcf}.new-wrap{position:relative}.new-menu{z-index:12;position:absolute;right:0;top:calc(100% + 8px);min-width:170px;border:1px solid var(--line);padding:5px;border-radius:11px;background:var(--surface);box-shadow:0 12px 36px #17295724}.new-menu button{padding:10px;width:100%;gap:10px;text-align:left;border-radius:7px;font-size:14px}.new-menu button:hover{background:var(--soft);color:var(--blue)}.content{max-width:1530px;margin:auto;padding:28px clamp(20px,3vw,48px) 48px}.welcome{overflow:hidden;isolation:isolate;position:relative;display:flex;align-items:center;min-height:191px;border-radius:17px;background:linear-gradient(112deg,#2444be 0%,#3158db 48%,#4777f2 100%);color:white;box-shadow:inset 0 0 0 1px #ffffff12}.welcome-content{position:relative;padding:28px 33px;max-width:86%;z-index:1}.welcome-date{font-size:11px;text-transform:uppercase;letter-spacing:1.35px;font-weight:630;gap:8px;color:#e3ebff;margin-bottom:16px}.welcome h1{font-size:clamp(34px,3.55vw,59px);line-height:1.06;font-weight:580;letter-spacing:-2.1px}.welcome h1 span{color:#b4c9ff}.welcome p{color:#e1e9ff;font-size:14px;margin-top:12px;line-height:1.45}.contours{position:absolute;inset:-1px 0 -1px 40%;overflow:hidden;pointer-events:none;mask-image:linear-gradient(to right,transparent,#000 26%)}.contours i{position:absolute;left:77%;top:61%;translate:-50% -50%;border:1.15px solid #c1e0ff60;border-radius:39% 61% 40% 60% / 59% 43% 57% 41%;box-shadow:0 1px 0 #86aef526}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:19px 0 23px}.stat,.card,.settings-card{border:1px solid var(--line);border-radius:13px;background:var(--surface);box-shadow:var(--shadow)}.stat{display:flex;align-items:center;gap:14px;text-align:left;min-height:90px;padding:17px 19px;transition:border-color .15s,transform .15s}.stat:hover{border-color:#aab8f7;transform:translateY(-1px)}.symbol{width:39px;height:39px;border-radius:11px;display:grid;place-items:center;flex-shrink:0}.blue{--tone:#3e63df;--tint:#edf1ff;--edge:#6081ed}.purple{--tone:#8953c8;--tint:#f3edfd;--edge:#a57bdb}.orange{--tone:#cf752a;--tint:#fff2e5;--edge:#e5a56d}.green{--tone:#248663;--tint:#e7f6ef;--edge:#55ac89}.symbol{color:var(--tone);background:var(--tint)}.stat-text{display:flex;flex-direction:column;gap:3px}.stat-text strong{font-size:27px;font-weight:660;letter-spacing:-1.25px;line-height:1.1;font-variant-numeric:tabular-nums}.stat-text>span{font-size:12px;color:var(--muted);line-height:1.35}.dash-columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:20px;align-items:start}.dash-right{display:grid;gap:20px}.card{overflow:hidden}.card-head{min-height:62px;padding:0 21px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px}.card-head h2{display:flex;align-items:center;gap:9px;font-size:17px;font-weight:640;letter-spacing:-.55px}.card-head h2 svg{color:var(--muted)}.text-button{gap:3px;color:var(--blue);font-size:12px;font-weight:570;white-space:nowrap;padding:8px 0 8px 4px}.text-button:hover{text-decoration:underline}.agenda-body{padding:17px 21px 16px}.week-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.week-heading strong{font-size:14px;font-weight:620}.week-heading>div{display:flex;gap:5px}.arrow-btn{height:24px;width:25px;justify-content:center;border:1px solid var(--line);border-radius:6px;color:var(--muted);padding:0}.date-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:13px 0 19px;padding:4px;border-radius:11px;background:var(--hover)}.date-strip button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:8px;min-height:64px;color:var(--ink);padding:4px}.date-strip button>span{text-transform:uppercase;letter-spacing:.65px;font-size:10px;color:var(--muted);font-weight:600}.date-strip strong{font-size:17px;font-weight:650}.date-strip i{height:3px;width:3px;border-radius:50%}.date-strip .has-events{background:#aab9e2}.date-strip .chosen{background:#365ce1;color:white;box-shadow:0 2px 5px #365ce12b}.date-strip .chosen span{color:#edf1ff}.date-strip .chosen i{background:white}.date-strip .today{box-shadow:inset 0 0 0 1px var(--blue)}.date-strip button:not(.chosen):hover{background:var(--soft)}.day-label{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--muted);margin-bottom:13px}.day-label span{color:#929eb3}.schedule{display:grid;gap:9px}.slot{display:grid;grid-template-columns:40px 1fr;width:100%;align-items:center;text-align:left;gap:12px;padding:0}.slot-time{display:flex;flex-direction:column;gap:6px;align-items:flex-start;font-size:12px;font-weight:650;font-variant-numeric:tabular-nums}.slot-time small{font-size:11px;color:var(--muted);font-weight:430}.slot-card{display:flex;align-items:center;justify-content:space-between;gap:8px;align-self:stretch;background:var(--tint);border-radius:7px;color:var(--tone);padding:12px 13px 11px 15px;position:relative;overflow:hidden}.slot-card:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:var(--edge)}.slot-main strong{font-size:14px;font-weight:610;color:var(--ink);display:block}.slot-main small{display:flex;gap:5px;align-items:center;color:var(--tone);font-size:11px;margin-top:5px}.slot-card>svg{opacity:.8}.slot:hover .slot-card{box-shadow:inset 0 0 0 1px var(--edge)}.add-slot,.card-add{justify-content:center;gap:6px;font-size:12px;font-weight:580;color:var(--muted);padding:10px 12px}.add-slot{margin-top:15px;border:1px dashed var(--line);border-radius:7px;width:100%}.add-slot:hover,.card-add:hover{color:var(--blue);background:var(--soft)}.task-list,.habit-list{padding:0 20px}.task-row,.habit-row{display:flex;align-items:center;gap:11px;min-height:66px}.task-row+.task-row,.habit-row+.habit-row{border-top:1px solid var(--line)}.tickbox{width:16px;height:16px;flex-shrink:0;border:1.5px solid #bdc5d3;border-radius:5px;padding:0;display:grid;place-items:center}.tickbox.done,.habit-check.active{background:#345be4;color:white;border-color:#345be4}.task-title,.habit-title{text-align:left;font-size:14px;font-weight:540;line-height:1.35;padding:0;min-width:0;overflow-wrap:anywhere}.task-title small{display:block;color:var(--muted);font-size:11.5px;font-weight:400;margin-top:4px}.crossed{text-decoration:line-through;color:var(--muted)}.priority{margin-left:auto;border-radius:5px;padding:3px 7px;font-size:10.5px;font-weight:600;white-space:nowrap}.high{background:#fcece9;color:#b24c40}.medium{background:#fcf2df;color:#956b22}.low{background:#e8f4ed;color:#3e8061}.card-add{border-top:1px solid var(--line);width:100%}.habit-row{min-height:58px}.habit-row .symbol{width:31px;height:31px;border-radius:8px}.habit-row .symbol svg{width:16px;height:16px}.habit-check{margin-left:auto;width:25px;height:25px;border:1px solid var(--line);color:#afb6c5;border-radius:50%;display:grid;place-items:center;padding:0}.habit-check:hover,.tickbox:hover{border-color:var(--blue);color:var(--blue)}.empty-text{color:var(--muted);padding:18px 0;font-size:14px}
.page-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:9px 0 25px}.page-title h1{font-size:33px;letter-spacing:-1.5px;font-weight:650}.page-title p,.settings-card p,.sync-panel p{font-size:14px;line-height:1.6;color:var(--muted);margin:7px 0}.page-title .primary{white-space:nowrap}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.settings-card{padding:22px;min-width:0}.settings-card h2,.settings-card h3{margin:12px 0 4px;font-size:18px;letter-spacing:-.5px}.settings-card p{margin:7px 0 15px}.settings-card button{border:1px solid var(--line);border-radius:7px;gap:7px;justify-content:center;font-size:13px;padding:8px 10px}.settings-card button:hover,.settings-card button.picked{color:var(--blue);background:var(--soft);border-color:var(--blue)}.theme-choices,.button-line,.sync-actions{display:flex;gap:8px;flex-wrap:wrap}.sync-form{display:grid;gap:10px}.sync-form label{font-size:13px;font-weight:550}.sync-form input{margin-top:4px;display:block;width:100%;padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:var(--bg);color:var(--ink)}.confirm-import{margin-top:12px}.confirm-import button{display:inline-flex}.alert{background:#fff1df;color:#724218;border:1px solid #e6bf8c;border-radius:8px;padding:12px 14px;margin-bottom:12px;font-size:14px}.toast{position:fixed;bottom:20px;left:calc(50% + var(--rail)/2);transform:translateX(-50%);z-index:25;display:flex;gap:8px;align-items:center;color:white;border-radius:9px;background:#1f304e;box-shadow:0 4px 24px #1729572a;padding:10px 16px;font-size:13px}.mobile-menu,.mobile-close,.nav-shade{display:none}
[data-theme=dark] .blue{--tint:#263453;--tone:#a9bcff}[data-theme=dark] .purple{--tint:#352c4c;--tone:#ccaeff}[data-theme=dark] .green{--tint:#233c34;--tone:#9ad5b6}[data-theme=dark] .orange{--tint:#453528;--tone:#f7be87}[data-theme=dark] .high{color:#f2ada8;background:#482d31}[data-theme=dark] .medium{color:#efcc8e;background:#463c2a}[data-theme=dark] .low{color:#a1dbbd;background:#263f35}
@media(min-width:1550px){:root{--rail:245px}.welcome{min-height:216px}.stat{min-height:100px}.card-head{min-height:70px}.agenda-body{padding:23px}.slot-card{padding:16px 18px}.task-row{min-height:74px}}
@media(max-width:1180px){:root{--rail:185px}.sidebar{padding:0 10px}.content{padding:22px 23px 42px}.topbar{padding:0 23px}.dash-columns{gap:14px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.dash-right{gap:14px}.stat{padding:13px 12px;gap:9px;min-height:80px}.stats{gap:11px}.symbol{width:34px;height:34px}.card-head{padding:0 16px}.agenda-body{padding:15px}.task-list,.habit-list{padding:0 14px}.task-row,.habit-row{gap:8px}.card-head h2{font-size:16px}}
@media(max-width:930px){:root{--rail:0px}.sidebar{width:232px;transform:translateX(-100%);transition:transform .2s;z-index:32}.sidebar.shown{transform:translateX(0)}.nav-shade{display:block;position:fixed;inset:0;z-index:30;background:#17274466;border:0}.mobile-menu,.mobile-close{display:flex}.mobile-close{margin-left:auto}.crumb>svg{display:none}.welcome h1{font-size:42px}.content{padding:20px}.topbar{height:60px;padding:0 20px}.stat-text>span{font-size:12px}}
@media(max-width:680px){.topbar{padding:0 13px;height:56px}.crumb{gap:7px}.crumb>span,.crumb>i{display:none}.top-actions{gap:6px}.action-divider{display:none}.create-button{min-height:34px;padding:7px 10px;font-size:12px}.content{padding:15px 13px 32px}.welcome{min-height:168px;border-radius:13px}.welcome-content{padding:23px 19px;max-width:94%}.welcome-date{font-size:9.5px;letter-spacing:1px;margin-bottom:12px}.welcome h1{font-size:clamp(29px,7vw,41px);letter-spacing:-1.5px}.welcome p{font-size:13px;max-width:85%}.contours{inset:0 0 0 35%;opacity:.55}.contours i{left:130%}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0}.stat{min-height:70px;padding:9px 12px;gap:10px}.stat-text strong{font-size:23px}.dash-columns,.settings-grid{grid-template-columns:minmax(0,1fr)}.card-head{min-height:54px}.stat-text>span{font-size:11.5px}.task-title,.habit-title{font-size:14px}.page-title{margin:8px 0 20px;align-items:flex-start;flex-wrap:wrap}.page-title h1{font-size:29px}.page-title p{margin-bottom:0}.page-title .primary{padding:8px 10px}.toast{max-width:90vw;white-space:nowrap}.date-strip{gap:2px}.settings-card{padding:17px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
