main{display:flex;flex-direction:column}.workspace{width:100%;margin-top:clamp(65px,12vh,150px)}header{width:100%}.design-footer{display:flex;justify-content:center;margin-top:auto;padding-top:80px;padding-bottom:4px}.design-switch{display:flex;gap:5px;border:1px solid #493057;border-radius:14px;padding:5px;background:#1d122b}.design-switch button{background:transparent;color:#b8a9ce;border-radius:10px;padding:10px 24px;font-size:.875rem}.design-switch button[aria-pressed=true]{background:#382147;color:var(--lime)}.snap-control{display:flex;gap:7px;align-items:center}.snap-control select{background:#21142f;border:1px solid #513361;color:#e6dcef;border-radius:8px;padding:8px 9px;font-size:.8125rem}.times label{gap:8px}.times select{border:0;background:transparent;color:#f7f3ff;font-size:.875rem;padding:4px 0;min-width:100px}.time-nudge{background:#39244d;border-radius:7px;color:#d8c9e7;width:28px;height:30px;flex-shrink:0;font-size:1.05rem;padding:0}.time-nudge:hover{background:#513361}.handle{width:24px;top:-7px;bottom:-7px;z-index:2}.handle.left{left:-9px}.handle.right{right:-9px}.handle.left:after{left:12px;top:25px}.handle.right:after{right:12px;top:25px}.block.dragging{will-change:left,width,bottom}.task-label{position:relative;z-index:2}.task-edit{z-index:4}
@media(prefers-reduced-motion:no-preference){.block,.block.dragging,.block.draft{transition:bottom 140ms cubic-bezier(.2,.8,.2,1)}.block:not(.dragging):not(.draft){transition:left 90ms ease-out,width 90ms ease-out,bottom 140ms cubic-bezier(.2,.8,.2,1)}.task-drawer{animation:drawer-slide 220ms cubic-bezier(.2,.8,.2,1);opacity:1}@keyframes drawer-slide{from{clip-path:inset(0 0 0 100%)}to{clip-path:inset(0 0 0 0)}}}
[data-design=daybook]{color-scheme:light;--lime:#926039;--pink:#eed9b5;--violet:#e4cfd1;--muted:#877a64;--line:#e4dccb;background:#faf6ed;color:#4b4132}
[data-design=daybook] .app{background:#faf6ed}[data-design=daybook] .drawer{background:#eee8db;border-color:#e4dccb}[data-design=daybook] .brand{font-family:Georgia,serif;font-weight:400;font-style:italic}[data-design=daybook] .primary{background:#e6dbc6;color:#4b4132;box-shadow:0 3px 0 #c6b69b}[data-design=daybook] .primary:hover{background:#ddcdb2}[data-design=daybook] .plan-item.selected{background:#e6dbc6;box-shadow:inset 3px 0 #926039}[data-design=daybook] nav button{color:#6c5e49}[data-design=daybook] nav button:hover{background:#e6dbc6}[data-design=daybook] nav .selected .plan-select{color:#4b4132}[data-design=daybook] #day-title{font-family:Georgia,serif;color:#4b4132;font-weight:400}[data-design=daybook] #day-title:hover{color:#926039}[data-design=daybook] .times label{background:#f2ecdf;border-color:#e4dccb}[data-design=daybook] .times select{color:#4b4132}[data-design=daybook] .time-nudge{background:#e6dbc6;color:#6c5e49}[data-design=daybook] .time-nudge:hover{background:#ddcdb2}[data-design=daybook] .grid-button,[data-design=daybook] .snap-control select{background:#eee8db;border-color:#dacdb7;color:#6c5e49}[data-design=daybook] .add-button{background:#e6dbc6;color:#4b4132;box-shadow:0 3px 0 #c6b69b}[data-design=daybook] .grid{background-image:linear-gradient(to right,#d5cbb954 1px,transparent 1px)}[data-design=daybook] .grid.off{background:none}[data-design=daybook] .block{background:#dce2c7;color:#4b4132;box-shadow:0 2px 3px #493a2010,0 5px 12px #493a2012,inset 0 1px 0 #fff7;border-radius:7px}[data-design=daybook] .block.pink{background:#eed9b5;box-shadow:0 2px 3px #493a2010,0 5px 12px #493a2012,inset 0 1px 0 #fff7}[data-design=daybook] .block.violet{background:#e4cfd1;box-shadow:0 2px 3px #493a2010,0 5px 12px #493a2012,inset 0 1px 0 #fff7}[data-design=daybook] .task-edit{background:#fffaf1;color:#6c5e49;box-shadow:0 2px 6px #493a2025}[data-design=daybook] .ticks{color:#877a64}[data-design=daybook] .task-drawer,[data-design=daybook] dialog{background:#f2ecdf;color:#4b4132;border-color:#d5c7af}[data-design=daybook] .task-drawer label,[data-design=daybook] dialog label,[data-design=daybook] legend{color:#6c5e49}[data-design=daybook] .task-drawer input:not([type=radio]),[data-design=daybook] .task-drawer select,[data-design=daybook] dialog input:not([type=radio]){background:#fffaf1;border-color:#d5c7af;color:#4b4132}[data-design=daybook] .quiet{color:#6c5e49}[data-design=daybook] .quiet:hover{background:#e6dbc6;color:#4b4132}[data-design=daybook] .inline-name{background:#fffaf1;color:#4b4132}[data-design=daybook] .heading .inline-name{color:#4b4132}[data-design=daybook] .design-switch{background:#eee8db;border-color:#dacdb7}[data-design=daybook] .design-switch button{color:#877a64}[data-design=daybook] .design-switch button[aria-pressed=true]{background:#e6dbc6;color:#4b4132}[data-design=daybook] .colors input:checked+.swatch,[data-design=daybook] .colors input:focus-visible+.swatch{outline-color:#926039}[data-design=daybook] .swatch.lime{background:#dce2c7}[data-design=daybook] .swatch{color:#4b4132}[data-design=daybook] .error{color:#9d315b!important}
header{margin:0 auto}
@media(max-width:900px){.workspace{margin-top:65px}.design-footer{padding-top:90px}}
@media(max-width:760px){.times label{gap:6px;padding:8px 10px}.times select{font-size:1rem;min-width:110px}.design-footer{padding-top:80px}.workspace{margin-top:65px}.task-drawer{animation:none}}
/* Keep native option popups legible on Windows in both appearances. */
.times select,.snap-control select{color-scheme:dark;background-color:#21142f;color:#f7f3ff}.times select option,.snap-control select option{background:#21142f;color:#f7f3ff}
.time-edit{background:#39244d;color:#d8c9e7;border-radius:8px;width:30px;height:30px;font-size:1.1rem;padding:0}.time-edit:hover{background:#513361}.times .exact-time{background:#21142f;border:1px solid #584065;border-radius:5px;min-width:100px;width:110px;color:#fff;padding:4px}.times [hidden]{display:none}
.plan-item{border:1px solid #3a254a;background:#21142e}.plan-item:hover{background:#30203f;border-color:#5a3a6f}.plan-item.selected{border-color:#513361}.drawer-label{text-transform:none;letter-spacing:.3px;font-size:.875rem}
.task-edit{right:35px}.task-delete{position:absolute;right:4px;top:-15px;width:27px;height:27px;border-radius:9px;background:#f3eaff;color:#802451;box-shadow:0 2px 5px #0005;font-size:1.2rem;opacity:0;pointer-events:none;transform:translateY(4px);z-index:4}.block:hover .task-delete,.block:focus-within .task-delete{opacity:1;pointer-events:auto;transform:none}.block.dragging .task-delete{opacity:0;pointer-events:none}
/* Row transitions are animated directly from the block's current visual position. */
.block,.block.dragging,.block.draft{transition-property:left,width}.block.dragging,.block.draft{transition:none}
[data-design=daybook]{background:#eee7d9}[data-design=daybook] .app{background:#eee7d9}[data-design=daybook] .drawer{background:#e3dac9}[data-design=daybook] .plan-item{background:#ede5d5;border-color:#cfc1a8}[data-design=daybook] .plan-item:hover{background:#e6dbc6;border-color:#b8a589}[data-design=daybook] .plan-item.selected{background:#ddcfb7;border-color:#b8a589}[data-design=daybook] .times select,[data-design=daybook] .snap-control select{color-scheme:light;background:#eee8db;color:#4b4132}[data-design=daybook] .times select option,[data-design=daybook] .snap-control select option{background:#eee8db;color:#4b4132}[data-design=daybook] .time-edit{background:#dfd1b9;color:#6c5e49}[data-design=daybook] .times .exact-time{background:#fffaf1;color:#4b4132;border-color:#cbbb9e}[data-design=daybook] .task-delete{background:#fffaf1;color:#9d315b;box-shadow:0 2px 6px #493a2025}
.block{isolation:isolate;z-index:0}.block.dragging{z-index:8}
.account-position{position:absolute;top:36px;right:clamp(22px,4vw,68px)}.account-button{display:flex;align-items:center;gap:10px;background:#f7f3ff;color:#30203f;border:1px solid #daccdf;border-radius:24px;padding:10px 16px;font-size:.875rem;box-shadow:0 3px 0 #7a658a;max-width:240px}.account-button:hover{background:#fff}.account-button span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.google-letter{font-family:Arial,sans-serif;font-weight:700;color:#4285f4;font-size:1.25rem;background:#fff;border-radius:50%;width:27px;height:27px;display:grid;place-items:center}.heading{padding-right:240px}#google-sign-in{display:flex;justify-content:center;min-height:44px}#google-sign-in[hidden]{display:none}#account-dialog .error:empty{display:none}[data-design=daybook] .account-button{background:#fffaf1;color:#4b4132;box-shadow:0 3px 0 #c6b69b;border-color:#d5c7af}
@media(max-width:1100px){.account-position{top:25px;right:24px}.heading{padding-right:210px}.account-button{font-size:.8125rem;padding:8px 12px}}
@media(max-width:760px){.account-position{position:static;display:flex;justify-content:flex-end;margin-bottom:20px}.heading{padding-right:0}.account-button{font-size:.8125rem}.drawer-open .heading{padding-right:0}}
@media(hover:none){.task-delete{opacity:1;pointer-events:auto;transform:none}}
