:root{color:#182033;font-synthesis:none;--accent:#5545db;--muted:#5b667c;--line:#e6e8f1;--white:#fff;background:#f7f8fb;font-family:Inter,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline-offset:3px;outline:3px solid #8778f5}h1,h2,p{margin:0}button{color:inherit;background:0 0;border:0}.sidebar{background:var(--white);border-right:1px solid var(--line);flex-direction:column;width:224px;padding:29px 16px 20px;display:flex;position:fixed;inset:0 auto 0 0}.brand{color:#23233a;letter-spacing:-.7px;align-items:center;gap:10px;margin:0 9px 46px;font-size:19px;font-weight:800;text-decoration:none;display:flex}.brand>span:first-child{background:var(--accent);color:#fff;border-radius:11px;flex:none;place-items:center;width:36px;height:36px;display:grid}.brand .brand-dot{color:var(--accent);margin-left:-9px}nav{gap:7px;display:grid}nav button,.mode button{text-align:left;color:var(--muted);border-radius:10px;align-items:center;gap:11px;padding:12px;font-size:14px;font-weight:600;display:flex}nav button:hover,.mode button:hover{background:#f7f6fd}nav button[aria-current]{color:#5040cb;background:#edeaff}.mode{border-top:1px solid var(--line);margin-top:auto;padding-top:10px}.mode button{gap:8px;width:100%}.mode-dot{background:#279a79;border-radius:50%;flex:none;width:8px;height:8px}.mode-dot.on{background:var(--accent)}.switch{background:#dce1ec;border-radius:10px;flex:none;width:28px;height:16px;margin-left:auto;padding:3px}.switch:before{content:"";background:#fff;border-radius:50%;width:10px;height:10px;display:block}button[aria-pressed=true] .switch{background:var(--accent)}button[aria-pressed=true] .switch:before{transform:translate(12px)}main{max-width:1600px;margin-left:224px;padding:34px clamp(20px,3vw,46px) 48px}.top{justify-content:space-between;align-items:center;gap:12px;margin-bottom:25px;display:flex}.today{color:var(--muted);margin-bottom:5px;font-size:13px}.today:first-letter{text-transform:uppercase}h1{letter-spacing:-.05em;font-size:clamp(28px,4vw,39px);line-height:1.15}h2{letter-spacing:-.025em;font-size:19px;line-height:1.25}.primary{background:var(--accent);color:#fff;white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:11px 15px;font-size:14px;font-weight:700;display:inline-flex}.primary:hover{background:#4938c8}.primary.add{gap:6px}.primary.add span{margin-left:-3px}.demo-banner{color:#5040a8;background:#efedff;border:1px solid #e5dfff;border-radius:11px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:19px;padding:11px 14px;font-size:13px;display:flex}.demo-banner span,.demo-banner button,.calendar-link{align-items:center;gap:8px;display:flex}.demo-banner svg{flex:none}.demo-banner button,.text-button{color:#5140ce;font-weight:700}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:19px;display:grid}.stat,.panel{background:var(--white);border:1px solid var(--line);border-radius:16px;min-width:0}.stat{flex-direction:column;align-items:flex-start;gap:7px;padding:16px;display:flex}.stat-icon{border-radius:10px;flex:none;place-items:center;width:36px;height:36px;display:grid}.purple{color:#5845df;background:#eeeaff}.green{color:#097855;background:#e3f7ef}.orange{color:#a55021;background:#fff0e7}.blue{color:#3d56bb;background:#e9efff}.stat-title,.stat-note{color:var(--muted);font-size:13px}.stat-title{margin-top:3px}.stat>strong{letter-spacing:-.05em;overflow-wrap:anywhere;font-size:clamp(20px,2.25vw,32px)}.stat-note{font-size:12px;line-height:1.4}.dashboard{grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);align-items:start;gap:17px;display:grid}.panel{padding:20px}.panel-head{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:15px;display:flex}.panel-head p{color:var(--muted);margin-top:5px;font-size:13px;line-height:1.4}.segmented{background:#f3f4f9;border-radius:9px;flex:none;padding:3px;display:flex}.segmented button{width:34px;height:32px;color:var(--muted);border-radius:7px;place-items:center;display:grid}.segmented button[aria-pressed=true]{color:var(--accent);background:#fff;box-shadow:0 1px 3px #24234418}.filter{color:var(--muted);align-items:center;gap:9px;margin-bottom:13px;font-size:13px;display:flex}.filter select{border:1px solid var(--line);color:#343d55;background:#fff;border-radius:8px;min-width:0;max-width:100%;padding:6px 8px}.map{background:#fafaff radial-gradient(#e3dff1 1px,#0000 1px) 0 0/16px 16px;border-radius:12px;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;min-height:300px;padding:16px 10px;display:flex}.map.grid{align-content:center;align-items:flex-start}.bubble{aspect-ratio:1;color:#23233d;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:0;max-width:100%;padding:8px;transition:transform .18s,box-shadow .18s;animation:.26s both appear;display:flex}.bubble:hover{transform:translateY(-3px);box-shadow:0 6px 15px #29225320}.bubble strong{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:12px;overflow:hidden}.bubble small{white-space:nowrap;font-size:11px;font-weight:650}.bubble small span{color:var(--muted);font-weight:450}.bubble .mark{width:32px;height:32px;background:#ffffffb0!important}.grid .bubble{aspect-ratio:auto;border-radius:16px;flex-basis:132px;min-height:100px}@keyframes appear{0%{opacity:0;scale:.93}to{opacity:1;scale:1}}.mark{border-radius:11px;flex:none;place-items:center;width:38px;height:38px;font-size:18px;font-weight:800;display:grid}.rows{margin:0;padding:0;list-style:none}.rows li+li{border-top:1px solid #f0f1f5}.row{text-align:left;border-radius:8px;align-items:center;gap:10px;width:100%;min-height:60px;padding:10px 2px;display:flex}.row:hover{background:#faf9ff}.row-copy{overflow-wrap:anywhere;gap:3px;min-width:0;display:grid}.row-copy strong,.row-amount{font-size:14px}.row-copy small{color:var(--muted);font-size:12px}.row-amount{text-align:right;flex:none;margin-left:auto}.calendar-link{margin-top:12px;padding:7px 0;font-size:13px}.empty{color:var(--muted);padding:24px 16px;line-height:1.5}dialog{border:1px solid var(--line);color:#182033;border-radius:18px;width:min(100% - 28px,480px);max-height:calc(100% - 28px);padding:22px;box-shadow:0 12px 60px #1f184c30}dialog::backdrop{background:#19153560}.dialog-head,.dialog-actions{justify-content:space-between;align-items:center;gap:10px;display:flex}.dialog-head{margin-bottom:17px}.icon-button{background:#f3f3f9;border-radius:8px;place-items:center;width:36px;height:36px;display:grid}.editor fieldset{border:0;gap:13px;min-width:0;margin:0;padding:0;display:grid}.editor label{gap:5px;min-width:0;font-size:13px;font-weight:650;display:grid}.editor input:not([type=checkbox]),.editor select{width:100%;min-width:0;color:inherit;background:#fff;border:1px solid #dce0eb;border-radius:8px;padding:9px}.editor .checkbox{align-items:center;gap:6px;display:flex}.form-pair{grid-template-columns:1fr 1fr;gap:12px;display:grid}.dialog-actions{justify-content:flex-end;margin-top:18px}.delete,.error{color:#a62942}.delete{margin-right:auto;padding:7px 0;font-weight:700}.error{margin-top:12px;font-size:13px}.details div{border-bottom:1px solid var(--line);justify-content:space-between;gap:10px;padding:10px 0;display:flex}.details dt{color:var(--muted)}.details dd{text-align:right;margin:0}@media (width<=1080px){.sidebar{width:184px}main{margin-left:184px}.dashboard{grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr)}.panel{padding:15px}.stats{gap:10px}.stat{padding:13px}}@media (width<=850px){.dashboard{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.sidebar{border-right:0;border-bottom:1px solid var(--line);flex-direction:row;justify-content:space-between;align-items:center;width:auto;padding:12px 13px;position:static}.brand{gap:7px;margin:0;font-size:17px}.brand>span:first-child{width:32px;height:32px}.brand .brand-dot{margin-left:-6px}.sidebar nav{z-index:2;padding:5px 8px max(5px, env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;position:fixed;bottom:0;left:0;right:0}nav button{flex-direction:column;gap:3px;padding:7px 4px;font-size:12px}.mode{border:0;margin:0;padding:0}.mode button{gap:5px;padding:6px 0;font-size:12px}.mode-dot{display:none}main{margin:0;padding:19px 12px 83px}.top{margin-bottom:17px}.primary.add span{display:none}.demo-banner{gap:7px;padding:8px;font-size:12px}.demo-banner button{flex:none;padding:3px}.stats{gap:8px}.map{min-height:0}dialog{border-radius:18px 18px 0 0;width:100%;margin:auto auto 0}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.login-link{text-decoration:none}.auth-status{overflow-wrap:anywhere;justify-content:flex-end;align-items:center;gap:8px;margin:-8px 0 15px;font-size:13px;display:flex}.auth-status button{flex:none}@media (width<=640px){.demo-banner{flex-wrap:wrap}}.mark img{object-fit:contain;width:58%;height:58%}.payment-confirm{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;padding:0 0 10px;font-size:13px;display:flex}.login-options,.email-login-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.email-login-actions{justify-content:flex-start}.email-login-actions button{padding:5px 0;font-size:13px}.email-login-destination{overflow-wrap:anywhere}@media (width<=640px){.top:has(.login-options){flex-wrap:wrap}.login-options{justify-content:flex-start}}.color-field{font-size:13px;font-weight:650}.swatches{gap:8px;margin-top:6px;display:flex}.swatches button{border:1px solid var(--line);color:#22203a;border-radius:8px;flex:1;min-width:0;height:30px}.swatches button[aria-pressed=true]{outline-offset:2px;outline:2px solid #5b4cdf}.form-pair>label{min-width:0}.editor select{width:100%}.stat strong{overflow-wrap:anywhere}.csv-launch,.csv-summary{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;display:flex}.csv-dialog{width:min(580px,100% - 20px)}.csv-dialog p,.csv-dialog small,.csv-launch span{color:var(--muted);font-size:13px}.csv-dialog p.error{color:#a62942}.csv-rows{margin:0;padding:0;list-style:none}.csv-rows li{border-top:1px solid var(--line);overflow-wrap:anywhere;padding:12px 0}.editor .csv-choice{align-items:center;gap:8px;display:flex}.csv-edit{gap:8px;margin-top:10px;display:grid}.csv-summary{border-top:1px solid var(--line);background:#fff;position:sticky;bottom:0}.map-groups{gap:12px;display:grid}.map-group h3{color:var(--muted);margin:6px 0;font-size:13px}.map-group:has(h3) .map{min-height:0}.subscription-dialog{width:min(100% - 24px,508px);padding:24px}.subscription-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.subscription-editor fieldset{gap:18px}.subscription-editor label{color:#34405a;gap:7px}.subscription-editor label small{color:var(--muted);margin-left:5px;font-weight:400}.subscription-editor input:not([type=checkbox]),.subscription-editor select{background:#f9fafc;min-height:42px;padding:10px 11px;font-size:14px;font-weight:500}.subscription-identity{grid-template-columns:56px minmax(0,1fr);align-items:end;gap:12px;display:grid}.subscription-identity .mark{border-radius:16px;width:56px;height:56px}.subscription-billing{background:#f7f7fc;border-radius:16px;gap:13px;padding:14px;display:grid}.subscription-billing input:not([type=checkbox]),.subscription-billing select{background:#fff}.subscription-editor .swatches{gap:10px;margin-top:9px}.subscription-editor .swatches button{border-radius:100%;flex:0 30px;width:30px}.subscription-options,.calendar-settings{border-top:1px solid var(--line);padding-top:12px}.subscription-options summary,.calendar-settings summary{cursor:pointer;font-size:14px;font-weight:650}.subscription-options-body{gap:12px;margin-top:12px;display:grid}.subscription-options-body .text-button{justify-self:start;align-items:center;gap:7px;display:flex}.subscription-editor .dialog-actions{margin-top:20px}.subscription-editor .dialog-actions .primary{flex:1;min-height:44px}.subscription-editor .dialog-actions .delete{padding:8px}.month-header,.month-controls,.day-detail-heading{align-items:center;gap:8px;display:flex}.month-header,.day-detail-heading{justify-content:space-between}.month-header{margin-bottom:18px}.month-header h2:first-letter,.month-detail h3:first-letter{text-transform:uppercase}.month-header p,.month-detail p,.calendar-settings p{color:var(--muted);margin:6px 0;font-size:13px}.month-body{grid-template-columns:minmax(0,1fr) minmax(160px,24%);gap:16px;display:grid}.month-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;display:grid}.month-weekday{color:var(--muted);text-align:center;padding-bottom:5px;font-size:12px}.month-day,.month-outside{border:1px solid var(--line);background:#fafafe;border-radius:10px;flex-direction:column;align-items:stretch;gap:3px;min-width:0;min-height:94px;padding:6px;display:flex}.month-outside{opacity:.48}.month-day[aria-pressed=true]{border-color:#6e58ed;box-shadow:inset 0 0 0 1px #6e58ed}.day-number{text-align:center;border-radius:6px;align-self:flex-start;min-width:21px;font-size:12px;line-height:21px}.month-day[aria-current=date] .day-number{color:#fff;background:#5641dd}.day-charge,.day-more{white-space:nowrap;text-overflow:ellipsis;color:#292342;text-align:left;border-radius:5px;padding:2px 4px;font-size:11px;display:block;overflow:hidden}.month-detail{background:#f7f7fc;border-radius:14px;padding:14px}.month-detail h3{margin:0 0 8px;font-size:15px}.month-detail ul{margin:0;padding:0;list-style:none}.month-detail li{border-top:1px solid var(--line);padding:10px 0}.day-detail-heading{overflow-wrap:anywhere;flex-wrap:wrap;font-size:13px}.google-event{color:#4e39ce;align-items:center;gap:6px;margin-top:6px;font-size:12px;display:inline-flex}.calendar-settings{margin-top:16px}.calendar-settings input{border:1px solid var(--line);border-radius:8px;width:100%;min-width:0;margin:5px 0;padding:8px}.csv-drop{text-align:center;overflow-wrap:anywhere;background:#faf9ff;border:1px dashed #a9a0d4;border-radius:14px;justify-items:center;gap:8px;padding:20px;display:grid}.csv-drop.dragging{background:#eee8ff;border-color:#5941dd}.csv-drop .text-button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:8px 14px}@media (width<=960px){.month-body{grid-template-columns:1fr}}@media (width<=640px){.subscription-dialog{width:100%;padding:16px}.subscription-billing{padding:10px}.month-day,.month-outside{min-height:54px;padding:3px}.day-charge{height:4px;min-height:4px;padding:0;font-size:0}.day-more{padding:0;font-size:9px;line-height:1}}.mail-draft-actions{flex-wrap:wrap;gap:8px 14px;margin-top:4px;display:flex}.settings-panels{gap:16px;display:grid}.settings-panels .panel-head{flex-wrap:wrap}.account-delete-link{color:#a62942}.delete-account-form p{overflow-wrap:anywhere;line-height:1.55}.delete-account-submit{background:#a62942}.delete-account-submit:hover:not(:disabled){background:#8c1e35}
