/* Ritmoday workspace: one desktop screen, independent task and habit lists. */
body{font-feature-settings:'cv02','cv03','cv04','cv11';-webkit-font-smoothing:antialiased}
.header-inner{min-height:68px;padding:10px 28px;gap:30px}.brand{font-size:25px;letter-spacing:-1px}.brand-mark{width:38px;height:38px}.brand small{font-size:10px;margin-top:3px}.nav{padding:4px;border-radius:12px}.nav-item{min-height:34px;padding:7px 20px;font-size:13px}.header-user{gap:14px}.avatar{width:36px;height:36px}.header-user>.icon-btn{width:36px;height:36px;min-width:36px}
.main{padding:20px 28px;max-width:1600px}.workspace{grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:stretch}.workspace .planner-card.content{display:flex;flex-direction:column;min-height:0;padding:22px 24px;background:linear-gradient(125deg,#1c2b211c,transparent 48%),var(--panel);border-radius:22px;box-shadow:0 12px 40px #00000012}
.workspace .day-heading{flex-shrink:0;align-items:center;gap:20px;padding-bottom:16px;margin-bottom:12px;border-bottom:1px solid var(--line)}.day-kicker{display:block;color:var(--muted);font-size:10px;font-weight:600;letter-spacing:1.6px;margin-bottom:5px}.workspace .day-title{font-size:36px;font-weight:720;line-height:1.15;letter-spacing:-1.4px}.workspace .day-subtitle{font-size:12px;margin-top:4px}.workspace .date-controls{gap:10px}.workspace .week-date{height:48px;width:32px;min-width:32px;gap:3px}.workspace .week-date strong{height:27px;width:27px}.workspace .date-shortcuts .btn{min-height:34px;padding:7px 10px;font-size:12px}.workspace .date-picker-button{height:34px;width:34px}
.workspace .day-progress{flex-shrink:0;margin:0 0 14px;padding:0;font-size:11px;gap:12px}.workspace .day-progress .progress{max-width:none;height:4px}.workspace .quick-form{flex-shrink:0;min-height:50px;padding:6px 9px;gap:10px;border-radius:12px;background:var(--bg);border-color:var(--line)}.workspace .quick-input{font-size:14px}.workspace .quick-plus{width:26px;height:26px;background:var(--raised)}.workspace .quick-form>.icon-btn{height:34px;width:34px;min-width:34px}.workspace .quick-project select{min-height:34px}.workspace .list-toolbar{flex-shrink:0;min-height:32px;margin:12px 0 8px;gap:12px}.workspace .list-toolbar h2{font-size:12px;font-weight:600;color:var(--muted);margin:0;margin-right:auto}.workspace .list-toolbar>.icon-btn{height:30px;width:30px;min-width:30px;border:1px solid var(--line)}
.workspace-task-scroll{min-height:0;scrollbar-width:thin;scrollbar-color:var(--line) transparent;padding:0 5px 8px 0;scroll-padding-block:12px;overflow:visible}.workspace-task-scroll:focus-visible,.workspace-habits-scroll:focus-visible{outline:2px solid var(--lime);outline-offset:3px;border-radius:8px}.workspace .work-section{padding:14px;border-radius:14px;border-left-width:3px;margin:0 0 18px;background:linear-gradient(110deg,#aadd6b12,#aadd6b03)}.workspace .section-title{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:650;margin:0 0 10px}.workspace .section-title small{display:inline-flex;justify-content:center;align-items:center;min-width:22px;height:20px;border-radius:6px;background:var(--raised);font-size:11px;margin:0;color:var(--muted)}.section-status-dot{width:6px;height:6px;border-radius:50%;background:var(--lime);box-shadow:0 0 0 4px #c2f56810}.workspace .work-is-empty{display:flex;gap:18px;align-items:center;padding:11px 14px;background:var(--bg);border-color:var(--line);border-left-color:var(--line)}.workspace .work-is-empty h2{margin:0;flex-shrink:0}.workspace .work-is-empty .section-status-dot{background:var(--muted);box-shadow:none}.workspace .work-empty{padding:0;font-size:11px;line-height:1.5;margin:0}.workspace .plan-section{padding:0;margin-bottom:16px}.plan-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.workspace .plan-section-heading h2{margin:0}.workspace .plan-tools{margin:0}.workspace .plan-tools .link{font-size:11px;min-height:28px;padding:4px 0}
.workspace .task-row{border-radius:12px;min-height:62px;padding:10px 12px;margin:0 0 7px;gap:11px;background:var(--bg);border:1px solid var(--line);box-shadow:none}.workspace .task-row:hover{border-color:#45684d;background:color-mix(in srgb,var(--raised) 65%,var(--panel))}.workspace .work-section .task-row{background:color-mix(in srgb,var(--panel) 70%,var(--raised));border-color:#3b533a}.workspace .task-row .task-title{font-size:14px;font-weight:570;letter-spacing:-.2px;line-height:1.45}.workspace .task-meta{font-size:11px;margin-top:3px;color:var(--muted)}.workspace .task-start{min-height:32px;padding:6px 10px;font-size:11px;border-radius:8px;background:#c2f56808;border-color:#c2f56826}.workspace .urgency{font-size:10px;gap:5px}.workspace .badge{font-size:10px;padding:5px 9px;border-radius:7px}.workspace .badge.high{color:#d5c091;background:#d5c0910b;border-color:#d5c09122}.workspace .task-check{width:22px;height:22px;min-width:22px;border-color:#647e6d}.workspace .completed-section{margin-top:14px;padding-top:12px}.workspace .completed-section>summary{margin:0;padding:0;font-size:12px;font-weight:500;min-height:28px}.workspace .completed-section[open]>summary{margin-bottom:10px}.workspace .completed-section .task-row{background:transparent;border-color:transparent;min-height:42px}.workspace .outgoing-tasks{margin-top:16px;padding-top:12px}.workspace .overdue{margin:0 0 14px}.workspace .overdue>summary{min-height:40px;padding:9px 12px;font-size:11px}.workspace .overdue-open{font-size:10px}.workspace .attention-section{margin:14px 0;padding:12px}
.workspace-aside{display:flex;flex-direction:column;gap:16px;min-height:0}.workspace .daily-message{flex-shrink:0;position:relative;margin:0;padding:20px 22px;border:1px solid #c2f56830;border-radius:20px;background:linear-gradient(135deg,#c2f56811,transparent 85%),var(--panel);overflow:hidden}.workspace .daily-message>div{display:flex;gap:8px;align-items:center;color:var(--lime);font-size:11px;font-weight:550;letter-spacing:.2px}.workspace .daily-message p{position:relative;font-size:18px;font-weight:550;line-height:1.45;letter-spacing:-.45px;margin:12px 0;color:var(--text);padding:0}.thought-signature{font-size:10px;color:var(--muted)}.workspace-habits-scroll{min-height:0;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.workspace .pulse-habits,.workspace .pulse-calendar{border-radius:18px;background:var(--panel);padding:16px 18px;box-shadow:none}.workspace .pulse-habits-heading{margin-bottom:3px}.workspace .pulse-habits-heading h2{font-size:14px;font-weight:650}.workspace .pulse-all{font-size:11px}.workspace .pulse-habit-count{font-size:10px;margin-left:5px}.workspace .pulse-habit-row{padding:10px 0;gap:10px}.workspace .pulse-habit-icon{width:32px;height:32px;border-radius:9px}.workspace .pulse-habit-icon svg{width:18px;height:18px}.workspace .pulse-habit-name{font-size:12px;font-weight:550}.workspace .pulse-habit-main small{font-size:10px;margin:2px 0 4px}.workspace .pulse-habit-main progress{height:3px}.workspace .pulse-habit-action{min-width:30px;min-height:30px;border-radius:8px;font-size:11px}.workspace .pulse-add-habit{padding:10px 0 0;font-size:11px}.workspace .pulse-calendar{margin-top:16px}.workspace .pulse-calendar header h3{font-size:13px}.workspace .pulse-calendar-subtitle{font-size:10px;margin:0 0 12px}.workspace .pulse-calendar-grid{gap:5px}.workspace .pulse-calendar-day{height:27px;min-height:27px;max-height:27px;font-size:10px;border-radius:6px}.workspace .pulse-weekday{font-size:9px;padding-bottom:2px}.workspace .pulse-calendar-legend{margin-top:10px;font-size:9px}
[data-theme=light] .workspace .daily-message{background:linear-gradient(135deg,#91c65314,transparent),var(--panel);border-color:#739e3e40}[data-theme=light] .workspace .task-row{background:var(--panel)}[data-theme=light] .workspace .task-start{border-color:var(--line);background:var(--raised)}[data-theme=light] .workspace .badge.high{color:#7f6232}
@media(min-width:1100px) and (min-height:650px){.main:has(.workspace){padding-top:20px;padding-bottom:20px}.workspace{height:calc(100dvh - 108px)}.workspace-task-scroll{flex:1;overflow:auto;overscroll-behavior:contain}.workspace-habits-scroll{flex:1;overflow:auto;overscroll-behavior:contain}.workspace .planner-card.content{height:100%}.workspace-aside{height:100%}}
@media(min-width:1100px) and (max-height:900px){.workspace .planner-card.content{padding:18px 20px}.workspace .day-heading{padding-bottom:12px;margin-bottom:10px}.workspace .daily-message{padding:16px 18px}.workspace .daily-message p{font-size:16px;margin:10px 0}.workspace-aside{gap:12px}.workspace .pulse-habits,.workspace .pulse-calendar{padding:14px 16px}.workspace .pulse-calendar{margin-top:12px}.workspace .pulse-habit-row{padding:8px 0}.workspace .pulse-calendar-subtitle{margin-bottom:8px}}
@media(min-width:1100px) and (max-width:1300px){.workspace{grid-template-columns:minmax(0,1fr) 285px;gap:16px}.workspace .day-heading{align-items:flex-start}.workspace .date-controls{max-width:225px}.workspace .day-title{font-size:32px}.workspace .date-shortcuts{gap:5px}}
@media(max-width:1099px){.workspace{grid-template-columns:1fr;gap:16px}.workspace .planner-card.content{padding:20px}.workspace-aside{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.workspace .daily-message{height:auto}.workspace-habits-scroll{overflow:visible}.workspace .date-controls{max-width:420px}.workspace .day-title{font-size:32px}}
@media(max-width:650px){.header-inner{min-height:0;padding:12px 16px;gap:12px;flex-wrap:wrap}.header-inner .nav{order:3;width:100%;margin-top:0;justify-content:space-between}.header-inner .nav-item{flex:1;min-height:34px;padding:7px 9px}.header-user{gap:8px}.brand{font-size:23px}.main{padding:16px}.workspace .planner-card.content{padding:16px;border-radius:18px}.workspace .day-heading{flex-direction:column;align-items:flex-start;gap:12px}.workspace .day-title{font-size:32px}.workspace .date-controls{width:100%;justify-content:space-between;gap:6px}.workspace .week-strip{gap:0}.workspace .week-date{width:29px;min-width:29px}.workspace .date-shortcuts{gap:4px;flex-wrap:wrap}.workspace .date-shortcuts .btn{font-size:11px;padding:6px 8px}.workspace .week-strip{flex:1}.workspace .date-shortcuts{width:100%}.workspace .quick-form{flex-wrap:wrap}.workspace .quick-project{width:100%;order:2}.workspace .quick-project select{width:100%;max-width:none}.workspace .task-row{flex-wrap:wrap;gap:8px;min-height:66px}.workspace .task-body{flex-basis:calc(100% - 65px)}.workspace .task-row>.task-menu:not(.priority-menu){position:absolute;right:7px;top:7px}.workspace .task-start{margin-left:auto;order:5;min-height:34px;font-size:11px}.workspace .urgency{margin-left:30px}.workspace .work-is-empty{align-items:flex-start;flex-direction:column;gap:5px}.workspace-aside{display:flex}.workspace .daily-message{order:-1}.workspace .daily-message p{font-size:18px}.workspace .pulse-calendar-day{height:34px;min-height:34px;max-height:34px}.workspace .pulse-habit-action{min-width:36px;min-height:36px}.workspace .pulse-calendar-navigation button{width:34px;height:34px}}
@media(prefers-reduced-motion:reduce){.workspace *{transition:none!important}}
@media(min-width:1100px) and (max-height:900px){.workspace .pulse-habit-row{padding:6px 0}.workspace .pulse-habit-main small{line-height:12px;margin:1px 0 2px}.workspace .pulse-habit-main progress{height:2px}.workspace .pulse-calendar-day{height:25px;min-height:25px;max-height:25px}.workspace .pulse-calendar-grid{gap:4px}}
/* Account for the header border and keep the whole calendar inside its scroll region. */
@media(min-width:1100px) and (min-height:650px){.workspace{height:calc(100dvh - 109px)}}
.workspace .pulse-calendar{padding-top:14px;padding-bottom:14px}
@media(min-width:1100px) and (max-height:900px){.workspace .pulse-calendar{padding-top:12px;padding-bottom:12px}.workspace .pulse-calendar-day{height:24px;min-height:24px;max-height:24px}.workspace .pulse-calendar-subtitle{margin-bottom:6px}.workspace .pulse-calendar-legend{margin-top:8px}}
@media(max-width:1099px){.workspace-aside{display:contents}.workspace>.planner-card{grid-row:2}.workspace .daily-message{grid-row:1}.workspace-habits-scroll{grid-row:3;display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.workspace .pulse-calendar{margin-top:0}.workspace .daily-message p{margin:8px 0;font-size:17px}}
@media(max-width:650px){.workspace-habits-scroll{display:block}.workspace .pulse-calendar{margin-top:16px}.workspace .daily-message{padding:14px 16px;border-radius:16px}.workspace .daily-message p{font-size:16px}.workspace .thought-signature{display:none}}
