:root{--bg:#f8fafd;--surface:#fff;--text:#1f1f1f;--muted:#444746;--line:#dde3ea;--hover:#e9edf6;--blue:#0b57d0;--today:#0b57d0;font-family:Arial,sans-serif}[data-theme=dark]{--bg:#1b1b1b;--surface:#131314;--text:#e3e3e3;--muted:#c4c7c5;--line:#333537;--hover:#303134;--blue:#a8c7fa;--today:#a8c7fa}body{background:var(--bg)}.topbar{border:0;background:var(--bg);gap:4px;padding:0 16px;height:64px}.identity{min-width:188px;font-size:22px;letter-spacing:-.6px}.calicon{width:32px;height:34px;background:linear-gradient(140deg,#1867d3,#4c94ed 70%,#174da0);border-radius:5px;box-shadow:inset 0 7px #99c4ff;font-size:20px;padding-top:6px}.icon{display:inline-flex;align-items:center;justify-content:center;color:var(--muted)}.icon svg,.rail svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.today{border-radius:24px;padding:8px 24px;font-size:15px;min-height:40px;border-color:#747775;background:transparent}.topbar h1{font-size:24px;letter-spacing:-.5px;margin-left:20px;white-space:nowrap}.topbar #prevBtn,.topbar #nextBtn{width:32px;height:32px}.topbar select{border-radius:24px;border-color:#747775;padding:9px 26px 9px 18px;background:transparent;font-weight:600;max-width:120px}.topbar select option{background:var(--surface)}.avatar{margin-left:12px;border:3px solid var(--bg);outline:1px solid var(--line);width:36px;height:36px}.layout{grid-template-columns:256px minmax(0,1fr) 60px;height:calc(100vh - 64px);padding-bottom:12px}.sidebar{border:0;padding:12px 16px;background:var(--bg)}#calendarSurface{border-radius:26px;outline:none;background:var(--surface)}.rail{border:0;background:var(--bg);gap:16px}.rail button{display:flex;align-items:center;justify-content:center}.rail button[title=Tasks]{color:#4285f4}.rail button[title=Notes]{color:#fbbc04}.rail button[title=Contacts]{color:#4285f4}.rail button[title=Locations]{color:#34a853}.create{border-radius:16px;box-shadow:0 1px 3px #0002;background:#c2e7ff;color:#001d35;height:56px;min-width:148px;padding:0 18px;display:flex;align-items:center;gap:14px;font-size:16px;font-weight:600}.create svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2}.create .chevron{width:14px;margin-left:4px}.create:hover{box-shadow:0 3px 8px #0003}[data-theme=dark] .create{background:#37393b;color:var(--text)}.mini{margin:28px 8px 14px}.mini header{font-size:14px;justify-content:space-between;gap:4px}.mini header span{order:-1;flex:1}.mini header button{color:var(--muted)}.mini table{margin-top:8px;font-size:11px}.mini th{font-weight:400;font-size:10px}.mini td,.mini th{height:28px}.mini button{color:var(--text);cursor:pointer;width:26px;height:26px}.mini .active{background:#d3e3fd;color:#041e49}.sidebar h2{font-size:14px;font-weight:600;margin:24px 8px 10px}.calendar-item{font-size:14px;gap:12px;padding:7px 10px}.calendar-item input{width:18px;height:18px;margin:0;cursor:pointer}.sidebar .textbtn{font-size:13px}.people-search{background:var(--hover);border:0;border-radius:4px;width:100%;padding:12px 14px;text-align:left;display:flex;gap:12px;align-items:center;color:var(--muted);font-size:13px}.people-search svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}.section-title{display:flex;align-items:center;justify-content:space-between}.section-title .icon{width:28px;height:28px}.month-grid{grid-template-rows:32px repeat(6,minmax(105px,1fr));min-height:100%;height:100%}.month-weekday{font-size:11px;border:0;color:var(--muted)}.month-day{padding:2px 4px;border-color:var(--line)}.month-day.other{background:var(--surface);color:var(--muted)}.month-day:nth-child(7n){border-right:0}.day-number{height:25px;width:25px;font-size:12px}.day-number.today{background:#c2e7ff;color:#001d35}.month-event{font-size:12px;line-height:18px;padding:1px 7px;margin:2px 0;border-radius:4px;font-weight:500}.week-head{border-bottom:1px solid var(--line);height:76px}.week-head div{border-left:0;font-size:11px;padding-top:12px}.week-head b{font-size:26px}.week-head .today-head b{background:#c2e7ff;color:#001d35}.time-label{font-size:10px}.event{font-size:12px;border-left:0;border:1px solid var(--surface);border-radius:6px;padding:4px 8px}.all-day-strip{border-color:var(--line)}.all-day-event{font-size:12px;padding:3px 7px}.account-menu{border-radius:20px;background:var(--bg);border:1px solid var(--line)}.searchbar{top:8px;height:48px;left:260px;right:300px;background:var(--hover);box-shadow:none;border-radius:24px}.searchbar input{font-size:16px}.toast{border-radius:8px}.floating-menu{position:fixed;z-index:40;min-width:180px;padding:8px 0;border-radius:6px;background:var(--surface);box-shadow:0 6px 18px #0004;border:1px solid var(--line)}.floating-menu button{width:100%;padding:12px 18px;border:0;text-align:left;background:transparent;color:var(--text);cursor:pointer;display:flex;align-items:center;gap:12px;font-size:14px}.floating-menu button:hover{background:var(--hover)}.floating-menu svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}.floating-menu hr{border:0;border-top:1px solid var(--line)}dialog{border-radius:24px;background:var(--surface);box-shadow:0 8px 30px #0004}dialog::backdrop{background:#0003}#eventDialog{max-width:500px}#eventDialog form{padding:16px 24px 20px}#eventDialog header{height:32px}#eventDialog header h2{font-size:12px;color:var(--muted);font-weight:400}#eventTitle{font-size:26px;padding:6px 0;border-bottom:2px solid var(--blue)}#eventDialog label{font-size:12px;margin:16px 0}#eventDialog label:has(#eventTitle){font-size:0;margin-top:8px}#eventDialog input,#eventDialog textarea,#eventDialog select{background:transparent;font-size:14px;padding:9px 0}#eventDialog #eventTitle{font-size:26px}#eventDialog footer{margin-top:26px}#eventDialog footer button{border-radius:22px;font-size:14px;padding:11px 24px;font-weight:600}.primary{background:#c2e7ff!important;color:#001d35!important}.event-tabs{display:flex;gap:8px;margin:12px 0}.event-tabs button{border:0;border-radius:7px;padding:10px 14px;background:var(--hover);color:var(--text);cursor:pointer}.event-tabs button.selected{background:#c2e7ff;color:#001d35}.detail-line{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13px}.detail-line svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}#toolDialog{position:fixed;margin:0;left:auto;right:62px;top:72px;height:calc(100vh - 90px);width:340px;max-height:none;border-radius:16px;background:var(--surface);border:1px solid var(--line);box-shadow:0 1px 8px #0002}#toolDialog::backdrop{background:transparent}#toolDialog h2{font-size:18px}#toolDialog>header{margin-bottom:16px}.tool-item{font-size:14px}.tool-item strong{font-weight:500}#settingsDialog{width:680px;padding:24px}#settingsDialog h2,#helpDialog h2,#trashDialog h2{font-size:22px;font-weight:500}#settingsDialog .settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}#settingsDialog label{font-size:13px}#trashDialog,#helpDialog{padding:24px;width:560px}#trashItems article{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:12px;gap:16px}#trashItems button{border:0;border-radius:20px;padding:9px 16px;background:var(--hover);color:var(--blue);cursor:pointer}.more-events{border:0;background:transparent;font-size:12px;padding:3px 8px;cursor:pointer;color:var(--text)}.mode-switch{display:flex;border:1px solid #747775;border-radius:24px;overflow:hidden;margin-left:8px}.mode-switch button{border:0;border-radius:0;background:transparent;width:48px;height:38px}.mode-switch button:first-child{background:#c2e7ff;color:#001d35}#calendarList{margin-bottom:4px}.year-grid{gap:26px;padding:28px}.year-month h3{font-weight:500;font-size:14px}.year-month td{height:22px;cursor:pointer}.year-month td:hover{background:var(--hover);border-radius:50%}@media(max-width:1100px){.identity{min-width:140px}.topbar h1{font-size:21px;min-width:150px;margin-left:8px}.mode-switch{display:none}.layout{grid-template-columns:230px minmax(0,1fr) 50px}.sidebar{padding:12px}.searchbar{left:180px;right:150px}}@media(max-width:750px){.topbar #helpBtn,.topbar #themeBtn,.mode-switch{display:none}.topbar .identity{display:none}.topbar h1{min-width:0;font-size:16px}.layout{grid-template-columns:minmax(0,1fr) 44px}.sidebar{display:none}.rail{display:flex;width:44px}.rail button{width:34px}#calendarSurface{border-radius:16px}.searchbar{left:8px;right:8px}.topbar{padding:0 6px}.topbar .today{padding:8px 12px}.topbar .avatar{margin-left:2px}.topbar select{padding:8px;max-width:90px}#settingsDialog .settings-grid{grid-template-columns:1fr}#toolDialog{right:8px;width:min(340px,calc(100vw - 16px));top:70px}.sidebar:not(.closed){display:none}.sidebar.mobile-open{display:block!important;position:fixed;left:0;top:64px;bottom:0;width:240px;z-index:20;box-shadow:0 4px 16px #0003}.topbar .icon{width:30px}.topbar h1{display:none}}
@media print{.topbar,.sidebar,.rail,.searchbar,.toast{display:none!important}.layout{display:block;height:auto;padding:0}body{overflow:visible;background:white;color:black}#calendarSurface{overflow:visible;border-radius:0}.month-grid{height:850px}.event,.month-event,.all-day-event{print-color-adjust:exact}}
.topbar select{max-width:none;min-width:130px;width:130px}.event-tabs button{font-size:14px}.mini table{table-layout:fixed}
.topbar #themeBtn{display:none}#detailDialog{width:440px;padding:20px 24px;border-radius:20px}#detailDialog header{display:flex;justify-content:flex-end}#detailDialog header>span{flex:1}#detailDialog h2{font-size:24px;font-weight:400;overflow-wrap:anywhere;margin:18px 0 24px}#detailDialog p{line-height:1.6}#detailDescription{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.detail-line span{flex:1}.event-tabs{font-size:14px}
.day-number.today{padding:0;min-height:0;border:0;width:25px;height:25px;border-radius:50%}#detailDialog::backdrop{background:transparent}
.mini button.other{opacity:.45}.mini button.selected{outline:1px solid var(--blue);outline-offset:-2px}#calendarDialog{width:460px;padding:24px}#calendarDialog form{padding:0}#calendarDialog header{display:flex;align-items:center;justify-content:space-between}#calendarDialog h2{font-size:22px;font-weight:500;margin:0}#calendarDialog input[type=color]{width:64px;height:40px;padding:3px;border:1px solid var(--line);border-radius:8px;cursor:pointer}#calendarDialog footer button{border-radius:22px;padding:10px 20px}#calendarCreateStatus{font-size:13px;color:#d93025}.event{box-sizing:border-box;min-width:0}
.topbar #viewSelect{flex:0 0 150px;width:150px;min-width:150px;max-width:none;padding:9px 32px 9px 18px;font-size:15px;line-height:20px;white-space:nowrap}@media(max-width:750px){.topbar #viewSelect{flex-basis:126px;width:126px;min-width:126px;padding:9px 24px 9px 12px;font-size:14px}}
