:root{color-scheme:light;--bg:#b7b7b7;--card:#bdbdbd;--surface:#c8c8c8;--muted:#5e5e5e;--line:#a6a6a6}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:#111;font:12px 'DM Sans',sans-serif;-webkit-font-smoothing:antialiased}.app{max-width:590px;margin:auto;padding:12px 8px}header{padding:4px 6px;margin-bottom:10px}.brand{color:var(--muted);font-size:13px;font-weight:700;letter-spacing:.22em;text-decoration:none}.nav{display:flex;gap:5px;margin-top:6px}.chip,button{border:0;border-radius:3px;background:var(--surface);color:#111;font:inherit;cursor:pointer}.chip{font-size:10px;font-weight:700;letter-spacing:.16em;text-decoration:none;padding:4px 6px}.chip.active{background:#111;color:#fff}.card{padding:12px;border:1px solid var(--line);border-radius:4px;background:var(--card)}button:hover{background:#111;color:#fff}button:disabled{cursor:default;opacity:.45}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #596274;outline-offset:2px}[hidden]{display:none!important}.month-head{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;margin-bottom:10px}.month-head h1{margin:0;font-size:12px;line-height:24px;font-weight:700;text-transform:uppercase;white-space:nowrap}.controls{display:flex;gap:3px}.controls button{display:grid;place-items:center;width:23px;height:23px;padding:0;font-size:17px;font-weight:700}.controls svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.work-controls{position:relative;display:flex;gap:6px;align-items:center;min-width:0}.work-toggle{display:flex;align-items:center;gap:4px;font-size:9px;font-weight:700;white-space:nowrap;cursor:pointer}.work-toggle input,.event-check{appearance:none;-webkit-appearance:none;width:13px;height:13px;margin:0;border:1px solid #929292;border-radius:3px;background:#dedede;cursor:pointer;flex:none}.work-toggle input:checked,.event-check:checked{background:#596274;border-color:#596274;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-size:11px;background-position:center;background-repeat:no-repeat}.work-category{display:flex;gap:4px;align-items:center;padding:0;max-width:85px;min-width:0;background:transparent;font-size:9px;color:#555}.work-category span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.work-category i{display:block;flex:0 0 6px;width:6px;height:6px;border-radius:50%;background:#68aee8}.work-category:hover{background:transparent;color:#111}.category-panel{position:absolute;right:0;top:26px;z-index:5;width:200px;padding:9px;background:#dedede;border:1px solid #aaa;border-radius:4px;box-shadow:2px 3px 10px #0003}.category{display:grid;grid-template-columns:15px minmax(0,1fr) 24px;gap:5px;align-items:center;margin-bottom:6px}.swatch{width:10px;height:10px;padding:0;border-radius:50%;background:var(--color)}.swatch.selected{box-shadow:0 0 0 2px #dedede,0 0 0 3px #596274}.category input{min-width:0;width:100%;background:transparent;border:0;border-bottom:1px solid transparent;font:11px 'DM Sans',sans-serif;padding:3px 0;color:#111}.category input:focus{border-color:#777;outline:0}.category .count{text-align:right;font-size:9px;color:#555}.add-category{width:21px;height:21px;padding:0;font-weight:700;font-size:17px;background:#c8c8c8}.week,.days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.week{margin-bottom:4px;text-align:center;font-size:9px;color:#5e5e5e}.day{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:37px;width:100%;padding:1px 0 0;background:transparent;touch-action:manipulation;border-radius:3px;user-select:none}.day:hover{background:#ffffff25;color:inherit}.day.other{color:#929292;cursor:default;opacity:.7}.date-number{display:grid;place-items:center;width:25px;height:25px;flex:none;border-radius:50%;font-size:11px;line-height:25px;font-weight:500}.day.today .date-number{outline:1px solid #596274;outline-offset:1px;font-weight:700}.day.selected .date-number{outline:1.5px solid #111;outline-offset:1px}.day.has-events .date-number{background:var(--event-color);color:var(--event-ink,#111);font-weight:700}.work-dots{position:absolute;bottom:3px;display:flex;gap:2px;height:5px}.work-dot{display:block;width:5px;height:5px;flex:none;border-radius:50%;background:var(--dot,#68aee8)}.work-dot.half{background:linear-gradient(90deg,var(--dot,#68aee8) 50%,#e3e3e3 50%)}.event-count{position:absolute;top:0;right:calc(50% - 20px);font-size:7px;font-weight:700;color:#555}.agenda-head{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #aaa;margin-top:8px;padding-top:5px;min-height:26px}.agenda-head #addEvent{margin-left:auto;width:22px;height:22px;display:grid;place-items:center;padding:0;font-size:18px;font-weight:700;background:transparent}.agenda-head #addEvent:hover{background:#111;color:#fff}#clearFilter{padding:3px 5px;font-size:9px;background:#d8d8d8}.agenda{display:flex;flex-direction:column;gap:5px;max-height:180px;overflow:auto;margin-top:4px;min-width:0}.event-row{display:flex;align-items:center;gap:8px;flex:none;min-height:52px;padding:7px;background:#dedede;border-radius:4px;min-width:0}.event-date{display:flex;flex-direction:column;width:30px;height:34px;padding:0;background:#fff;color:#111;flex:0 0 30px;overflow:hidden;border:1px solid #bbb;border-radius:3px}.event-date:hover{background:#fff;color:#111}.event-month{height:11px;flex:none;display:grid;place-items:center;background:#c83f43;color:#fff;font-size:7px;font-weight:700;letter-spacing:.2px}.event-day{flex:1;display:grid;place-items:center;font-size:16px;font-weight:700}.event-info{flex:1;min-width:0}.event-title{display:block;width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0;background:transparent;text-align:left;font-size:11px;font-weight:700;line-height:16px}.event-title:hover{background:transparent;color:#111}.event-type{display:block;font-size:9px;line-height:12px;color:#666}.event-time{display:flex;align-items:center;gap:4px;white-space:nowrap;font-size:10px;font-weight:700}.event-time svg{width:12px;height:12px;fill:none;stroke:#2c7df7;stroke-width:1.8}.event-remove{display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px;padding:0;border:0;background:#b53935;color:#fff;opacity:0}.event-remove svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round}.event-row:hover .event-remove,.event-row:focus-within .event-remove{opacity:1}.event-check{width:15px;height:15px}.event-row.done{opacity:.55}.event-row.done .event-title{text-decoration:line-through}.event-row.overdue{box-shadow:inset 2px 0 #bc5550}.agenda-empty{display:grid;place-items:center;min-height:52px;font-size:10px;color:#666;background:#d3d3d3;border-radius:4px}.event-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.75fr) minmax(0,1fr);gap:5px;padding:6px 0 5px}.event-form input,.event-form select{min-width:0;width:100%;height:27px;border:0;border-radius:3px;background:#dedede;color:#111;font:11px 'DM Sans',sans-serif;padding:4px}.event-form #eventTitle{grid-column:1/-1}.form-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:5px}.form-actions button{padding:4px 7px;font-size:9px;font-weight:700}.form-actions #saveEvent{background:#596274;color:#fff}#status{font-size:9px;color:#666;margin:6px 0 0;min-height:0}#status:empty{display:none}#status.error{color:#a33131}svg{pointer-events:none}.days[aria-busy=true]{opacity:.6;pointer-events:none}*{scrollbar-width:thin;scrollbar-color:#929292 transparent}*::-webkit-scrollbar{width:5px;height:5px}*::-webkit-scrollbar-thumb{background:#929292;border-radius:4px}html.embedded,html.embedded body{background:#c8c8c8;margin:0;overflow:hidden}html.embedded header{display:none}html.embedded .app{max-width:none;padding:7px}html.embedded .card{border:0;padding:0;margin:0;background:#c8c8c8}@media(max-width:420px){.app{padding:10px 7px}.card{padding:9px}.month-head{gap:5px}.month-head h1{font-size:11px}.controls{gap:2px}.controls button{width:20px;height:22px}.work-controls{gap:4px}.work-category{max-width:63px;font-size:8px}.work-toggle{font-size:8px;gap:3px}.work-toggle input{width:12px;height:12px}.day{height:34px}.date-number{width:23px;height:23px;line-height:23px}.work-dots{bottom:2px}.agenda{max-height:160px}.event-row{gap:6px}.event-title{font-size:10px}.event-type{font-size:8px}.event-time{font-size:9px}.brand{font-size:11px}}@media(hover:none){.event-remove{opacity:1}}

.event-form{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.event-form #eventType{grid-column:1}.event-form .form-actions{grid-column:2;align-items:center}.drive-delete-dialog .drive-window-head{display:flex;align-items:center;background:#596274;color:#fff}.drive-delete-dialog svg{fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round}

.work-dots{max-width:100%;overflow:hidden}.category-panel{max-height:230px;overflow:auto}

/* Quiet date cells and a compact WORK mode. */
.days{gap:3px}.day{background:#ffffff12;justify-content:center;padding:0 0 5px;border-radius:3px}.day.other{background:transparent}.day:hover{background:#ffffff38}.date-number{width:21px;height:21px;line-height:21px;font-size:10px}.day.today .date-number{background:#454545;color:#fff;font-weight:800;outline:none}.day.selected:not(.today) .date-number{outline:1px solid #777;outline-offset:1px}.day.today.has-events:after{content:'';position:absolute;bottom:3px;right:5px;width:4px;height:4px;border-radius:50%;background:var(--event-color)}.event-count{right:calc(50% - 17px)}.work-toggle{position:relative;gap:0;color:#666;padding:4px 5px;border-radius:3px;font-size:9px;letter-spacing:.04em}.work-toggle input{position:absolute;opacity:0;width:100%;height:100%;inset:0;cursor:pointer}.work-toggle:has(input:checked){background:#454545;color:#fff}.work-toggle:has(input:focus-visible){outline:2px solid #596274;outline-offset:2px}.work-category{font-size:9px}.work-controls{gap:4px}.work-controls:not(:has(#workMode:checked)) .work-category{opacity:.55}.work-dot{width:4px;height:4px}.work-dots{height:4px;bottom:3px}@media(max-width:420px){.date-number{width:20px;height:20px;line-height:20px}.work-toggle{font-size:8px}.work-category{font-size:8px}}

.agenda-head{border-top:0;margin-top:5px;padding-top:0}.work-category{padding:4px 5px;font-size:9px;font-weight:700;letter-spacing:.04em;color:#555;opacity:1!important}.work-category.active{background:#454545;color:#fff}.work-category:hover{background:#111;color:#fff}.category-panel .work-toggle{display:inline-flex;margin-bottom:8px;padding:4px 6px}.category-panel .work-toggle:has(input:checked){background:#454545;color:#fff}

.day{background:#c4c4c4}.day:nth-child(even){background:#cfcfcf}.day.past{background:#a8a8a8}.day.past:nth-child(even){background:#b0b0b0}.day.other{background:transparent}.day:hover{filter:brightness(1.07)}.category{grid-template-columns:15px minmax(0,1fr) 22px 18px}.work-remove{display:grid;place-items:center;width:18px;height:18px;padding:0;background:transparent;color:#777}.work-remove svg{width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}.work-remove:hover{background:#b53935;color:#fff}

.month-head h1{justify-self:start;background:#111;color:#fff;font-weight:800;border-radius:3px;padding:0 6px;line-height:24px}.week{font-size:10px;font-weight:700}@media(max-width:420px){.month-head h1{padding:0 5px;line-height:22px}.week{font-size:10px}}

/* Uniform dates, separated by a quiet grid. */
.days{gap:0;border-top:1px solid #0000000b;border-left:1px solid #0000000b}.day,.day:nth-child(even){background:transparent;border-radius:0;border-right:1px solid #0000000b;border-bottom:1px solid #0000000b}.day.past,.day.past:nth-child(even){background:#0000000c}.day.other,.day.other:nth-child(even){background:transparent}.day.other.past{background:#00000007}.day:hover{background:#ffffff1c;filter:none}.day.past:hover{background:#00000012}.work-category.active{color:#fff}

.day{padding:0;justify-content:center;align-items:center}.work-dots{right:3px;bottom:3px;max-width:calc(100% - 6px)}

.day.has-events .date-number,.day.today .date-number{width:26px;height:26px;line-height:26px}.controls button{font-size:21px}.controls svg{width:16px;height:16px}@media(max-width:420px){.day.has-events .date-number,.day.today .date-number{width:25px;height:25px;line-height:25px}.controls button{font-size:20px}.controls svg{width:15px;height:15px}}

.month-head h1{font-size:10px}@media(max-width:420px){.month-head h1{font-size:10px}}

.event-types{grid-column:1/-1;display:flex;gap:5px;flex-wrap:wrap}.event-type-choice{display:flex;align-items:center;background:#dedede;border-radius:3px;overflow:hidden}.event-type-choice.active{background:#596274;color:#fff}.event-type-choice button{background:transparent;color:inherit;height:25px;padding:4px 6px;font-size:10px}.event-type-choice button:hover{background:#111;color:#fff}.event-icon-pick{display:grid;place-items:center;width:26px}.event-icon-pick svg,.event-icons svg,.event-type svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.event-icons{grid-column:1/-1;display:grid;grid-template-columns:repeat(6,26px);gap:4px;padding:5px;background:#d5d5d5;border-radius:3px;justify-self:start}.event-icons button{width:26px;height:26px;padding:0;display:grid;place-items:center;background:#eee}.event-icons button:hover,.event-icons button[aria-pressed=true]{background:#111;color:#fff}.event-type{display:flex;align-items:center;gap:4px}.event-type span{display:flex}.event-type svg{width:10px;height:10px}.event-form .form-actions{grid-column:1/-1}

.add-event-type{width:25px;height:25px;padding:0;font-size:18px;font-weight:700}.new-event-type{grid-column:1/-1;display:flex;align-items:center;gap:5px}.new-event-type input{flex:1;min-width:0}.new-event-type button{font-size:9px;font-weight:700;padding:5px}.new-event-type #saveType{background:#596274;color:#fff}

.event-types{position:relative;grid-column:2;display:block;min-width:0}.event-type-trigger{display:flex;align-items:center;gap:6px;width:100%;height:27px;padding:4px 6px;background:#dedede;text-align:left;font-size:11px}.event-type-trigger>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.event-type-trigger>span:first-child{display:flex}.type-chevron{margin-left:auto;color:#666}.event-type-menu{position:absolute;right:0;top:31px;z-index:8;min-width:170px;max-width:260px;max-height:190px;overflow:auto;background:#e1e1e1;padding:4px;border-radius:3px;box-shadow:0 3px 10px #0003}.event-type-option{display:flex;align-items:center}.event-type-option .event-type-label{flex:1;min-width:0;text-align:left;padding:5px;font-size:11px;background:transparent}.event-type-option .event-type-label[aria-pressed=true]{font-weight:700}.event-type-option button:hover{background:#ccc;color:#111}.event-type-menu .add-event-type{width:100%;height:26px;font-size:10px;text-align:left;padding:5px;margin-top:3px;background:#ccc}.event-type-trigger svg,.event-type-option svg{width:13px;height:13px;fill:none;stroke:var(--icon-color);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.event-icon-pick{border:0;background:transparent}.event-icons button svg,.event-type svg{stroke:var(--icon-color)}.event-icons button[aria-pressed=true]{box-shadow:inset 0 0 0 1px #111;background:#eee;color:#111}.event-type-trigger:hover{background:#d5d5d5;color:#111}

.event-type-menu{position:relative;top:0;right:auto;min-width:0;max-width:none;width:100%;margin-top:4px;box-shadow:none}.event-type-menu .event-type-label{overflow-wrap:anywhere}.event-type-menu .add-event-type{white-space:nowrap}

.month-head h1{background:transparent;color:#111;font-weight:800;padding:0}

.month-head{align-items:center;min-height:24px}.month-head h1{display:flex;align-items:center;height:24px;line-height:1}.controls,.work-controls{height:24px;align-items:center}.controls button{height:24px;line-height:1;display:flex;align-items:center;justify-content:center}.controls svg{display:block;flex:none;width:16px;height:16px}.work-category{height:24px;line-height:1;display:flex;align-items:center;justify-content:center;padding:0 5px}.category-panel{top:28px}@media(max-width:420px){.month-head h1,.controls,.work-controls,.controls button,.work-category{height:24px;line-height:1}.controls svg{width:16px;height:16px}}

.work-dot{width:5px;height:5px}.work-dots{height:5px}

.event-icons{width:100%;justify-self:stretch;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;padding:6px}.event-icons button{width:100%;height:30px}.event-icons svg{width:15px;height:15px}

.day.has-events .date-number{color:#fff}

.day.today,.day.today:nth-child(even){background:#454545;color:#fff}.day.today:hover{background:#505050}.day.today .date-number{background:transparent;color:#fff}

.day.past,.day.past:nth-child(even){background:#00000024}.day.other.past{background:#00000018}.day.past:hover{background:#0000002c}

.date-number{font-size:12px}@media(max-width:420px){.date-number{font-size:12px}}

.date-number{font-size:18px}@media(max-width:420px){.date-number{font-size:18px}}

.days .day .date-number{font-size:16px;line-height:28px;width:30px;height:30px}.days .day.has-events .date-number,.days .day.today .date-number{width:30px;height:30px;line-height:30px}

.swatch.selected{box-shadow:0 0 0 2px #454545}
