:root{font-family:PingFang SC,Microsoft YaHei,Noto Sans CJK SC,system-ui,sans-serif;color-scheme:light;--bg: #fff8fa;--surface: #fff;--ink: #36232e;--muted: #7c626f;--line: #f0e1e7;--accent: #b93667;--accent-strong: #9e2756;--soft: #fbe7ef;--hero: #fbe2ec;--hero-ink: #442333;--chrome: #fffbfc;--shadow: 0 5px 18px #66234507;--rose-bg: #fce6ee;--rose-ink: #b93667;--lilac-bg: #f0eafa;--lilac-ink: #7451a2;--peach-bg: #fceee2;--peach-ink: #a95a31;--mint-bg: #e5f1e9;--mint-ink: #407653;--chart-fill: #f19ab9;--chart-highlight: #cf5685;--bar-shadow: #fbe6ed;background:var(--bg);color:var(--ink);font-synthesis:none}:root[data-theme=white]{--bg: #fffdf6;--surface: #fffefa;--ink: #392e22;--muted: #756757;--line: #efe7d3;--accent: #946316;--accent-strong: #74500d;--soft: #fff0cd;--hero: #fff3d9;--hero-ink: #49361f;--chrome: #fffefa;--chart-fill: #ecc56a;--chart-highlight: #ba8a2f;--bar-shadow: #f8edce}:root[data-theme=night]{color-scheme:dark;--bg: #211a25;--surface: #2d2432;--ink: #fceff6;--muted: #ccb2c1;--line: #493746;--accent: #f59fbd;--accent-strong: #ffbdd5;--soft: #482f42;--hero: #493147;--hero-ink: #fff0f7;--chrome: #291f2d;--shadow: 0 5px 18px #10081744;--rose-bg: #573448;--rose-ink: #ff9fbe;--lilac-bg: #443858;--lilac-ink: #d5baf4;--peach-bg: #533d3c;--peach-ink: #ffc6a4;--mint-bg: #33483e;--mint-ink: #b5e4c2}*{box-sizing:border-box}body{margin:0;min-width:280px}button,select,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input,select,textarea{min-width:0;color:var(--ink);accent-color:var(--accent)}p,h1,h2,h3{margin:0}button,svg{flex-shrink:0}button:where(.primary,.secondary,.text-button,.icon-button){display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;line-height:1.3;font-weight:700}.primary{border:1px solid transparent;background:#b93667;color:#fff;min-height:45px;padding:10px 17px;box-shadow:0 4px 10px #aa3d6430}.primary:hover{background:#a42e5a}[data-theme=white] .primary{background:#946316}[data-theme=white] .primary:hover{background:#74500d}[data-theme=night] .primary{background:#a53361}.secondary{min-height:43px;border:1px solid var(--line);padding:8px 13px;color:var(--ink);background:var(--surface)}.secondary:hover,.icon-button:hover{background:var(--soft);color:var(--accent)}.text-button{padding:5px 0;border:0;background:transparent;color:var(--accent);font-size:.86rem}.text-button:hover{color:var(--accent-strong);text-decoration:underline;text-underline-offset:4px}.icon-button{width:40px;height:40px;border:1px solid transparent;color:var(--muted);background:transparent;padding:0}.panel{background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);min-width:0}.skip-link{position:fixed;z-index:200;top:8px;left:8px;transform:translateY(-200%);background:var(--surface);color:var(--accent);padding:12px 20px;border-radius:10px}.skip-link:focus{transform:none}.app-shell{--sidebar-width: 228px;min-height:100dvh}.sidebar{position:fixed;inset:0 auto 0 0;z-index:5;width:var(--sidebar-width);display:flex;flex-direction:column;padding:28px 18px 20px;background:var(--chrome);border-right:1px solid var(--line)}.brand{border:0;background:transparent;color:var(--ink);text-align:left;padding:0 0 0 3px;display:flex;width:100%;align-items:center;gap:10px}.brand>span:last-child{min-width:0;overflow-wrap:anywhere}.brand-icon{position:relative;display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:var(--soft);color:var(--accent);flex-shrink:0}.brand-icon svg:last-child{position:absolute;right:6px;top:5px;background:var(--soft);border-radius:50%}.brand strong{display:block;font-size:.97rem;font-weight:760;line-height:1.45}.brand small{display:block;font-size:.72rem;color:var(--muted);margin-top:2px;letter-spacing:.04em}.navigation{display:grid;gap:6px;margin-top:42px}.nav-item{position:relative;min-height:47px;border:1px solid transparent;border-radius:12px;padding:0 13px;display:flex;gap:12px;align-items:center;background:transparent;color:var(--muted);text-align:left;font-size:.91rem;font-weight:650}.nav-item:hover{background:var(--bg);color:var(--accent)}.nav-item.active{background:var(--soft);color:var(--accent);font-weight:780}.nav-item.active:after{content:"";position:absolute;right:12px;width:5px;height:5px;background:currentColor;border-radius:100%}.sidebar-foot{margin-top:auto}.sidebar-note{padding:13px 9px;background:var(--bg);border:1px dashed var(--line);border-radius:11px;color:var(--accent);display:flex;gap:7px;align-items:center;font-size:.77rem;font-weight:650}.sidebar-zone{margin:15px 4px 0;display:flex;align-items:center;gap:7px;color:var(--muted);font-size:.75rem}.content-shell{margin-left:var(--sidebar-width);min-height:100dvh}.topbar{height:68px;padding:0 33px;display:flex;align-items:center;justify-content:space-between;background:var(--chrome);border-bottom:1px solid var(--line)}.topbar-title{display:flex;align-items:center;gap:8px;font-weight:750;font-size:1.03rem}.topbar-actions,.topbar-date{display:flex;align-items:center;gap:13px}.topbar-date{color:var(--muted);font-size:.86rem;gap:7px}.topbar-date svg{color:var(--accent)}.avatar{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:var(--soft);color:var(--accent);font-weight:760}.avatar:hover{border-color:var(--accent)}.mobile-brand{display:none}.content{width:100%;max-width:1440px;margin:0 auto;padding:26px 33px 12px;outline:none}.content-footer{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:5px 15px;margin-top:20px;font-size:.8rem;color:var(--muted);padding:6px 0}.content-footer>span{display:inline-flex;align-items:center;gap:5px}.content-footer .text-button{font-size:.78rem}.page-enter{animation:appear .25s ease-out both}@keyframes appear{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.dashboard{display:grid;gap:24px}.welcome{min-height:247px;position:relative;overflow:hidden;isolation:isolate;border-radius:24px;background:var(--hero);border:1px solid color-mix(in srgb,var(--hero) 70%,var(--accent));display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.24fr);align-items:center}.welcome-content{min-width:0;padding:28px 0 28px 32px;color:var(--hero-ink)}.welcome-kicker{display:inline-flex;align-items:center;gap:6px;color:var(--accent-strong);background:color-mix(in srgb,var(--surface) 63%,transparent);border:1px solid color-mix(in srgb,var(--accent) 12%,transparent);border-radius:99px;font-size:.8rem;line-height:1.2;font-weight:730;padding:6px 10px;letter-spacing:.04em}.welcome h1{margin:10px 0 9px;font-size:clamp(1.65rem,2.8vw,2.65rem);font-weight:820;line-height:1.23;letter-spacing:-.025em;overflow-wrap:anywhere}.hero-heart{display:inline;width:.66em;height:.66em;vertical-align:.02em;margin-left:.1em;color:#d85384;fill:#ea91b2;transform-origin:center;animation:heartbeat 3.8s infinite}@keyframes heartbeat{0%,70%,to{transform:scale(1)}80%{transform:scale(1.15)}}.welcome p{color:color-mix(in srgb,var(--hero-ink) 80%,var(--hero));font-size:.94rem;line-height:1.55}.welcome-button{margin-top:20px}.welcome-art{display:block;width:calc(100% - 32px);height:auto;margin:16px;border-radius:20px}.dashboard-overview{display:grid;gap:12px}.section-label{display:flex;align-items:center;justify-content:space-between;gap:6px 15px;flex-wrap:wrap}.section-label h2,.panel-heading h2{font-size:1.12rem;font-weight:770;line-height:1.3}.section-label>span{font-size:.8rem;color:var(--muted)}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric{padding:17px 18px 16px;display:grid;align-content:start}.icon-tile{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:12px;flex:0 0 auto;background:var(--soft);color:var(--accent)}.icon-tile.rose{background:var(--rose-bg);color:var(--rose-ink)}.icon-tile.lilac{background:var(--lilac-bg);color:var(--lilac-ink)}.icon-tile.peach{background:var(--peach-bg);color:var(--peach-ink)}.icon-tile.mint{background:var(--mint-bg);color:var(--mint-ink)}.metric-label{font-size:.87rem;font-weight:600;color:var(--muted);margin-top:13px}.metric-value{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px;margin-top:4px;font-weight:800;letter-spacing:-.038em;font-size:clamp(1.43rem,2.35vw,2.05rem);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;line-height:1.25}.metric-value span{font-size:.74rem;font-weight:660;color:var(--muted);letter-spacing:normal}.metric-sub{color:var(--muted);font-size:.76rem;margin-top:6px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.82fr) minmax(250px,1fr);gap:15px}.dashboard-stack{display:grid;grid-template-rows:1fr 1fr;gap:14px}.week-panel,.payday-panel,.savings-panel,.recent-panel{padding:18px 19px}.panel-heading{display:flex;align-items:center;gap:11px}.panel-heading>div{flex:1;min-width:0}.panel-heading p{color:var(--muted);font-size:.8rem;margin-top:3px;line-height:1.45}.jump{width:36px;height:36px}.week-chart{display:grid;grid-template-columns:31px 1fr;gap:4px;margin:19px 1px 5px;height:172px}.chart-axis{display:flex;flex-direction:column;justify-content:space-between;color:var(--muted);font-size:.7rem;padding-bottom:22px}.chart-main{display:grid;grid-template-rows:1fr 22px;position:relative}.chart-gridlines,.chart-bars{grid-area:1 / 1}.chart-gridlines{display:flex;flex-direction:column;justify-content:space-between;padding-bottom:3px}.chart-gridlines i{height:1px;background:var(--line)}.chart-bars,.chart-labels{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center}.chart-bars{z-index:1}.chart-column{display:flex;align-items:flex-end;justify-content:center}.chart-bar{width:min(55%,42px);background:linear-gradient(180deg,color-mix(in srgb,var(--chart-fill) 73%,white),var(--chart-fill));border-radius:7px 7px 2px 2px;transform-origin:center bottom;animation:grow-bars .5s ease-out both}.chart-bar.current{background:linear-gradient(180deg,var(--chart-fill),var(--chart-highlight))}@keyframes grow-bars{0%{transform:scaleY(.05)}to{transform:scaleY(1)}}.chart-labels{grid-area:2 / 1;padding-top:5px;color:var(--muted);font-size:.72rem}.chart-labels .current{color:var(--accent);font-weight:750}.goal-line{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:4px 12px;color:var(--muted);font-size:.79rem;margin:13px 0 8px}.goal-line>span{display:inline-flex;align-items:center;gap:5px}.goal-line strong{color:var(--accent);font-weight:750;font-variant-numeric:tabular-nums}.progress-track{height:8px;border-radius:10px;background:var(--bar-shadow);overflow:hidden}.progress-track>span{height:100%;display:block;background:var(--chart-highlight);border-radius:inherit;transition:width .45s ease-out}.lilac-progress{background:var(--lilac-bg)}.lilac-progress>span{background:#9a75c9}.payday-count{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;margin-top:9px;color:var(--accent);font-size:2rem;font-weight:820;line-height:1.2}.payday-count span{font-size:.84rem;font-weight:650;color:var(--muted)}.recent-list{display:grid;margin-top:10px}.recent-row{display:grid;text-align:left;align-items:center;grid-template-columns:40px minmax(0,1fr) minmax(40px,.35fr) minmax(72px,.35fr) 16px;gap:10px;background:transparent;border:0;border-top:1px solid var(--line);padding:10px 0;color:var(--ink);font-size:.86rem}.recent-row:hover{background:var(--bg)}.recent-name,.recent-name small{display:block}.recent-name{overflow-wrap:anywhere}.recent-name small{color:var(--muted);margin-top:4px}.empty-state{display:grid;gap:8px;justify-items:center;text-align:center;padding:21px 10px 9px;color:var(--muted)}.settings-page{display:grid;gap:18px;max-width:990px}.settings-heading h1{font-size:clamp(1.55rem,3vw,2.1rem)}.settings-heading p,.data-panel>p{color:var(--muted);margin-top:6px;line-height:1.6}.settings-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.settings-panel{padding:18px 20px}.settings-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:17px}.settings-fields label{display:grid;gap:6px;color:var(--muted);font-size:.86rem;font-weight:650}.settings-fields input,.settings-fields select{width:100%;min-height:44px;border:1px solid var(--line);border-radius:10px;background:var(--bg);padding:8px 10px;font-size:1rem}.settings-checkboxes,.settings-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px 14px;margin-top:16px}.settings-checkboxes label{display:flex;align-items:center;gap:6px;font-size:.88rem}.settings-checkboxes input{width:19px;height:19px}.settings-hint{display:flex;align-items:center;gap:6px;line-height:1.55;font-size:.79rem;color:var(--muted);margin-top:12px}.settings-save{grid-column:1 / -1}.data-panel>p{font-size:.93rem;margin-top:12px}.danger{color:var(--accent-strong)}.notice{margin:0 0 15px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 13px;padding:12px 14px;border-radius:12px;background:var(--peach-bg);color:var(--ink);border:1px solid var(--line);font-size:.89rem}.toast{display:flex;align-items:center;gap:8px;position:fixed;z-index:80;right:25px;bottom:25px;max-width:calc(100% - 50px);background:var(--surface);color:var(--accent);border:1px solid var(--line);border-radius:14px;padding:5px 8px 5px 13px;box-shadow:0 8px 28px #8e3c5840;font-weight:700;animation:appear .2s ease both}.heart-burst{pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;color:#e2749a}.heart-burst svg{position:absolute;animation:heart-pop 1.3s ease-out both}@keyframes heart-pop{0%{transform:translateY(0) scale(.5);opacity:0}25%{opacity:1}to{transform:translateY(-74px) rotate(28deg) scale(1.2);opacity:0}}[data-motion=off] *,[data-motion=off] *:before,[data-motion=off] *:after{animation:none!important;transition:none!important}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(max-width:1120px){.app-shell{--sidebar-width: 200px }.sidebar{padding-inline:13px}.content,.topbar{padding-inline:24px}.metric{padding-inline:14px}}@media(max-width:910px){.app-shell{--sidebar-width: 165px }.sidebar{padding-inline:10px}.brand-icon{width:35px;height:35px;border-radius:12px}.brand strong{font-size:.83rem}.content,.topbar{padding-inline:18px}.metric-grid{gap:10px}.metric{padding-inline:11px}.metric-value{font-size:1.4rem}.dashboard-grid{grid-template-columns:minmax(0,1.4fr) minmax(200px,1fr)}.settings-form{grid-template-columns:1fr}}@media(max-width:720px){.app-shell{--sidebar-width: 0px }.content-shell{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}.sidebar{inset:auto 0 0;width:100%;height:auto;padding:5px 5px calc(6px + env(safe-area-inset-bottom,0px));border:0;border-top:1px solid var(--line);box-shadow:0 -4px 14px #6a344613}.brand,.sidebar-foot{display:none}.navigation{margin:0;grid-template-columns:repeat(6,minmax(0,1fr));gap:2px}.nav-item{padding:4px 0;min-height:48px;flex-direction:column;justify-content:center;gap:3px;text-align:center;white-space:normal;font-size:clamp(.62rem,2.38vw,.76rem);line-height:1.1}.nav-item.active:after{display:none}.topbar-title{display:none}.mobile-brand{display:flex;width:auto;min-width:0;flex:1;gap:7px;padding:0}.mobile-brand .brand-icon{width:30px;height:30px;border-radius:9px}.mobile-brand .brand-icon svg:last-child{right:3px;top:3px}.mobile-brand strong,.mobile-brand small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar{gap:9px}.topbar-actions{flex:0 0 auto}.topbar{height:57px;padding-inline:14px}.topbar-actions{gap:7px}.topbar-date{font-size:.76rem;gap:4px}.avatar{width:32px;height:32px}.content{padding:14px 13px 10px}.welcome{min-height:0;grid-template-columns:minmax(0,1fr);border-radius:19px}.welcome-content{padding:17px 17px 0}.welcome h1{font-size:clamp(1.37rem,4.7vw,1.9rem)}.welcome p{font-size:.83rem}.welcome-kicker{font-size:.73rem}.welcome-art{width:calc(100% - 24px);margin:12px;border-radius:13px}.welcome-button{margin-top:13px;font-size:.86rem}.dashboard{gap:17px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{padding:12px 13px;border-radius:15px}.metric-label{margin-top:9px}.dashboard-grid{grid-template-columns:1fr;gap:11px}.dashboard-stack{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:1fr;gap:10px}.week-panel,.payday-panel,.savings-panel,.recent-panel{padding:13px}.dashboard-stack .panel-heading{gap:6px}.dashboard-stack .icon-tile{width:31px;height:31px}.dashboard-stack .jump{width:25px;height:31px}.dashboard-stack h2{font-size:.95rem}.toast{bottom:calc(75px + env(safe-area-inset-bottom,0px));right:12px;max-width:calc(100% - 24px)}}@media(max-width:370px){.topbar-date svg{display:none}.dashboard-stack,.settings-fields{grid-template-columns:1fr}.recent-row{gap:5px}}.metric-number{font-weight:inherit;max-width:100%}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.log-view{display:grid;gap:1rem}.log-page-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-block:.15rem .45rem}.log-page-heading h2,.log-dialog-heading h2{margin:0;font-size:clamp(1.45rem,4vw,2rem);letter-spacing:-.045em;line-height:1.2}.log-page-heading p,.log-dialog-heading p{margin:.42rem 0 0;color:var(--muted);font-size:.9rem}.log-panel{min-width:0;border:1px solid var(--line);border-radius:1.25rem;background:var(--surface);box-shadow:0 9px 26px color-mix(in srgb,var(--accent) 5%,transparent)}.log-primary,.log-secondary,.log-text-button,.log-icon-button{display:inline-flex;align-items:center;justify-content:center;gap:.38rem;min-height:2.65rem;border:1px solid transparent;border-radius:.8rem;padding:.55rem .85rem;color:var(--ink);font:inherit;font-weight:700;font-size:.86rem;line-height:1.15;text-align:center;cursor:pointer;white-space:nowrap}.log-primary{background:var(--accent);color:var(--on-accent, #fff);box-shadow:0 5px 12px color-mix(in srgb,var(--accent) 27%,transparent)}.log-secondary{background:var(--soft);color:var(--ink);border-color:var(--line)}.log-text-button,.log-icon-button{color:var(--muted);background:transparent}.log-icon-button{width:2.65rem;padding:.45rem}.log-primary:hover{filter:brightness(.95)}.log-secondary:hover,.log-text-button:hover,.log-icon-button:hover{border-color:var(--line);background:var(--soft);color:var(--ink)}.log-icon-button:disabled{opacity:.38;cursor:default}.log-danger:hover{color:var(--danger, #b83a68)}.log-month-bar,.log-calendar-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.55rem 1rem;padding:.8rem 1.05rem}.log-month-controls,.log-month-total,.log-month-total span,.log-time-zone{display:flex;align-items:center;gap:.35rem}.log-month-label{min-width:8ch;color:var(--ink);font-weight:750;text-align:center;white-space:nowrap}.log-month-total,.log-time-zone{color:var(--muted);font-size:.86rem}.log-month-total{column-gap:1.05rem}.log-month-total strong{color:var(--ink);font-variant-numeric:tabular-nums}.log-day-group{padding:.25rem 1.05rem}.log-record-day{display:flex;justify-content:space-between;align-items:center;gap:.55rem;padding:.65rem .1rem;flex-wrap:wrap}.log-record-day h3{display:flex;align-items:center;gap:.4rem;margin:0;font-size:.95rem}.log-record-day h3 svg{color:var(--accent)}.log-record-day>span{color:var(--muted);font-size:.8rem}.log-record{display:grid;grid-template-columns:2.55rem minmax(0,1fr) max-content max-content;gap:.55rem;align-items:center;padding:.72rem .12rem;border-top:1px solid var(--line)}.log-record-icon{display:grid;place-items:center;border-radius:.8rem;width:2.55rem;height:2.55rem;background:var(--soft);color:var(--accent);font-size:1.15rem;line-height:1}.log-record-name,.log-record-actions,.log-shift-times{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .5rem}.log-record-name{font-weight:700;line-height:1.2}.log-record-actions{gap:0}.log-employer{display:inline-flex;align-items:center;min-width:0;max-width:100%;gap:.35rem;overflow-wrap:anywhere}.log-employer-dot{flex:0 0 auto;display:inline-block;width:.45rem;height:.45rem;border-radius:50%}.log-demo{align-self:center;padding:.15rem .38rem;background:var(--soft);border-radius:.35rem;color:var(--muted);font-weight:600;font-size:.72rem;white-space:nowrap}.log-shift-times,.log-note{margin:.23rem 0 0;color:var(--muted);font-size:.8rem;line-height:1.3;overflow-wrap:anywhere}.log-shift-times span{white-space:nowrap;font-variant-numeric:tabular-nums}.log-note{white-space:pre-wrap}.log-record-pay{display:grid;gap:.1rem;text-align:right;font-variant-numeric:tabular-nums}.log-record-pay>span{color:var(--muted);font-size:.76rem;white-space:nowrap}.log-day-add{margin:.16rem 0 .35rem}.log-empty{display:grid;justify-items:center;padding:1.55rem .7rem;color:var(--muted);text-align:center}.log-empty p{margin:.65rem 0 .75rem}.log-empty-icon{display:grid;place-items:center;width:2.8rem;height:2.8rem;background:var(--soft);color:var(--accent);border-radius:50%}.log-calendar{padding:0 1.05rem 1rem}.log-calendar-toolbar{padding-inline:0}.log-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr)) minmax(0,.8fr);gap:.35rem;margin-top:.35rem}.log-calendar-labels{text-align:center;color:var(--muted);font-size:.8rem;font-weight:700;margin-bottom:.5rem}.log-calendar-day{position:relative;display:grid;grid-template-rows:1fr 1rem .45rem;place-items:center;gap:.12rem;min-width:0;min-height:3.7rem;padding:.25rem .1rem;border:1px solid var(--line);border-radius:.7rem;background:var(--surface);color:var(--ink);font:inherit;font-size:.88rem;cursor:pointer}.log-calendar-day[data-outside]{color:var(--muted);opacity:.72}.log-calendar-day[data-today] .log-calendar-number{color:var(--accent);font-weight:800}.log-calendar-day:hover,.log-calendar-day[aria-pressed=true]{border-color:var(--accent);background:var(--soft);opacity:1}.log-calendar-number{font-weight:700}.log-calendar-bunny{position:relative;display:block;width:.92rem;height:.64rem;margin-top:.28rem;border:1px solid #af7851;border-radius:52% 49% 45% 47%;background:#ffdf8d}.log-calendar-bunny:before,.log-calendar-bunny:after{position:absolute;z-index:0;top:-.42rem;width:.27rem;height:.48rem;border:1px solid #af7851;border-bottom:0;border-radius:65% 60% 12% 15%;background:#ffdf8d;content:""}.log-calendar-bunny:before{left:.02rem;transform:rotate(-13deg)}.log-calendar-bunny:after{right:.02rem;transform:rotate(11deg)}.log-calendar-bunny>span{position:absolute;top:.18rem;left:.19rem;width:.11rem;height:.11rem;border-radius:50%;background:#6e5144;box-shadow:.34rem 0 #6e5144,.17rem .18rem #e89089}.log-calendar-dots{display:flex;align-items:center;justify-content:center;gap:.12rem;min-width:0}.log-calendar-dots .log-employer-dot{width:.29rem;height:.29rem}.log-calendar-week{display:grid;align-content:center;justify-items:center;gap:.12rem;min-width:0;border-radius:.55rem;background:var(--soft);color:var(--muted);white-space:nowrap;font-size:.76rem;font-variant-numeric:tabular-nums}.log-calendar-week strong{color:var(--ink)}.log-calendar-legend{display:flex;flex-wrap:wrap;gap:.45rem 1rem;margin-top:.75rem;color:var(--muted);font-size:.8rem}.log-dialog{position:fixed;width:min(38rem,calc(100% - 1.3rem));max-width:none;max-height:min(88dvh,52rem);padding:0;overflow:hidden;border:1px solid var(--line);border-radius:1.3rem;background:var(--surface);color:var(--ink);box-shadow:0 20px 65px #32112742}.log-dialog::backdrop{background:#31213283}.log-dialog form{display:grid;grid-template-rows:min-content minmax(0,1fr) min-content;max-height:inherit;margin:0}.log-dialog-heading,.log-dialog-footer{display:flex;align-items:center;gap:.7rem;padding:.9rem 1rem;background:var(--surface)}.log-dialog-heading{border-bottom:1px solid var(--line)}.log-dialog-heading h2{font-size:1.32rem}.log-dialog-heading p{margin-top:.2rem;font-size:.8rem}.log-close{margin-left:auto}.log-dialog-body{display:grid;gap:.7rem;overflow:auto;overscroll-behavior-y:contain;padding:.9rem 1rem}.log-dialog label,.log-mood{display:grid;min-width:0;gap:.26rem;font-weight:700;font-size:.83rem}.log-dialog input:not([type=checkbox]),.log-dialog select,.log-dialog textarea{box-sizing:border-box;width:100%;min-width:0;min-height:2.65rem;border:1px solid var(--line);border-radius:.7rem;padding:.53rem .6rem;background-color:var(--surface);color:var(--ink);font-family:inherit;font-size:1rem;font-weight:500}.log-dialog input::placeholder{color:var(--muted)}.log-dialog textarea{resize:vertical}.log-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.log-common-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.log-presets{display:flex;align-items:end;flex-wrap:wrap;gap:.45rem}.log-presets>*{flex:0 1 auto}.log-presets label{max-width:100%}.log-shift{position:relative;display:grid;gap:.48rem;min-width:0;margin:.25rem 0 0;padding:.7rem;border:1px solid var(--line);border-radius:.85rem;background:var(--soft)}.log-shift legend{padding-inline:.38rem;color:var(--ink);font-weight:750;font-size:.86rem}.log-shift:has(.log-remove-segment){padding-top:1.65rem}.log-remove-segment{position:absolute;top:-.6rem;right:.3rem}.log-shift .log-checkbox{display:flex;align-items:center;gap:.32rem;color:var(--muted);min-height:2rem}.log-checkbox input{width:1rem;height:1rem;accent-color:var(--accent)}.log-new-segment{justify-self:start}.log-mood-choices{display:flex;gap:.3rem;flex-wrap:wrap}.log-mood-choice{width:2.65rem;height:2.65rem;border-radius:.7rem;border:1px solid var(--line);background:var(--surface);font:inherit;font-size:1.25rem;cursor:pointer}.log-mood-choice[aria-pressed=true]{background:var(--soft);border-color:var(--accent)}.log-dialog-body>.log-text-button{justify-self:start}.log-template-form{display:flex;flex-wrap:wrap;align-items:end;gap:.4rem}.log-template-form label{flex:1 1 12rem}.log-dialog-footer{justify-content:space-between;border-top:1px solid var(--line)}.log-dialog-total{display:grid;gap:.13rem;min-width:0}.log-dialog-total>span{color:var(--muted);font-size:.74rem}.log-dialog-total>strong{font-size:.88rem;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.log-feedback,.log-validation{margin:0;padding:.65rem .75rem;border-radius:.75rem;background:var(--soft);color:var(--ink);font-size:.85rem}.log-validation{padding-left:1.7rem}@media(max-width:600px){.log-page-heading{align-items:flex-start}.log-page-heading p{font-size:.81rem}.log-calendar{padding:0 .55rem .7rem}.log-calendar-grid{gap:.2rem}.log-calendar-day{min-height:3.2rem;border-radius:.47rem}.log-calendar-week{font-size:.67rem}.log-record-actions .log-icon-button{width:2.3rem}.log-record{grid-template-columns:1.9rem minmax(0,1fr) max-content}.log-record-icon{width:1.9rem;height:1.9rem;font-size:1rem;border-radius:.6rem}.log-record-icon svg{width:16px;height:16px}.log-record-actions{grid-column:2 / -1;justify-content:end;margin-top:-.35rem}.log-record-pay{font-size:.84rem}.log-common-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.log-common-fields label:nth-child(2){grid-column:1 / -1;grid-row:2}.log-dialog{max-height:min(92dvh,52rem)}}@media(max-width:380px){.log-day-group{padding-inline:.65rem}.log-calendar-week{gap:.03rem}.log-calendar-day{font-size:.82rem}}.insights-view{display:grid;gap:24px;min-width:0}.insights-heading,.insights-panel-heading,.insights-dialog-header,.payroll-entry-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.insights-heading h1{margin:0;font-size:clamp(1.8rem,3.6vw,2.65rem);line-height:1.2;letter-spacing:-.045em}.insights-heading p{margin:9px 0 0;color:var(--muted)}.insights-panel{min-width:0;border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:0 6px 18px #6a3d510b}.insights-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.insights-metrics.insights-four{grid-template-columns:repeat(4,minmax(0,1fr))}.insights-metric{display:flex;flex-direction:column;align-items:flex-start;padding:19px 20px;gap:6px;color:var(--muted);font-size:.875rem;line-height:1.4}.insights-metric strong{color:var(--ink);font-size:clamp(1.2rem,2.5vw,1.65rem);line-height:1.2;letter-spacing:-.035em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.insights-metric small{font-size:.78rem}.insights-icon{display:inline-grid;place-items:center;width:39px;height:39px;border-radius:13px;flex:0 0 auto;background:var(--soft);color:var(--accent)}.insights-metric .insights-icon{margin-bottom:5px}.insights-icon.peach{background:color-mix(in srgb,#ea9c6d 18%,var(--surface));color:color-mix(in srgb,#d47c47 72%,var(--ink))}.insights-icon.lavender{background:color-mix(in srgb,#a789dc 17%,var(--surface));color:color-mix(in srgb,#9166c4 70%,var(--ink))}.insights-icon.mint{background:color-mix(in srgb,#73b59b 18%,var(--surface));color:color-mix(in srgb,#579a80 70%,var(--ink))}.insights-primary,.insights-secondary,.insights-link,.insights-icon-button{display:inline-flex;justify-content:center;align-items:center;gap:7px;flex-shrink:0;font:inherit;font-weight:680;border-radius:12px;cursor:pointer;touch-action:manipulation}.insights-primary,.insights-secondary{min-height:44px;padding:10px 16px}.insights-primary{border:1px solid transparent;color:#fff;background:var(--accent)}.insights-secondary{border:1px solid var(--line);color:var(--ink);background:var(--surface)}.insights-link{min-height:32px;padding:0;border:0;color:var(--accent);background:transparent;font-size:.8rem}.insights-icon-button{width:42px;height:42px;padding:0;border:1px solid var(--line);color:var(--muted);background:var(--surface)}.insights-primary:hover{filter:brightness(.94)}.insights-secondary:hover,.insights-icon-button:hover{background:var(--soft);color:var(--ink)}.insights-link:hover{text-decoration:underline}.insights-view button:focus-visible,.insights-view input:focus-visible,.insights-view textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.payroll-history{padding:22px}.insights-panel-heading h2,.insights-dialog-header h2{margin:0;font-size:1.1rem;letter-spacing:-.02em}.insights-panel-heading>span{color:var(--muted);font-size:.82rem;flex-shrink:0}.insights-empty{display:grid;gap:11px;justify-items:center;padding:48px 12px 34px;text-align:center}.insights-empty .insights-icon{width:54px;height:54px;border-radius:18px}.insights-empty h3,.insights-empty p{margin:0}.insights-empty p{color:var(--muted);font-size:.9rem}.insights-empty.compact{padding:32px 12px 17px;color:var(--accent)}.payroll-entries{display:grid;gap:12px;margin-top:15px}.payroll-entry{display:grid;gap:13px;padding:15px;border:1px solid var(--line);border-radius:17px}.payroll-entry-title{justify-content:flex-start;gap:11px}.payroll-entry-title h3{margin:0;font-size:.98rem}.payroll-entry-title p,.payroll-notes,.payroll-footnote,.payroll-form-note{color:var(--muted);margin:4px 0 0;font-size:.82rem;line-height:1.55;overflow-wrap:anywhere}.payroll-actions{display:flex;gap:6px;flex:0 0 auto;margin-left:auto}.payroll-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}.payroll-values div{min-width:0;border-radius:12px;background:color-mix(in srgb,var(--soft) 55%,var(--surface));padding:10px}.payroll-values dt,.payroll-values small{color:var(--muted);font-size:.77rem}.payroll-values dd{margin:4px 0 0;font-weight:700;font-size:1rem;overflow-wrap:anywhere}.insights-dialog{width:min(570px,calc(100% - 24px));max-height:calc(100% - 24px);padding:0;border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--ink);box-shadow:0 24px 65px #3f1c3038;overscroll-behavior:contain}.insights-dialog::backdrop{background:#3b1d2d61}.insights-dialog form{padding:20px}.insights-dialog-header{margin-bottom:15px}.insights-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.insights-form-grid label,.insights-filter label{display:grid;justify-items:stretch;align-content:start;gap:5px;min-width:0;font-size:.875rem;color:var(--muted)}.insights-form-grid input,.insights-form-grid textarea,.insights-filter input{color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:12px;font:inherit;font-size:1rem;line-height:1.35;min-width:0;width:100%;min-height:44px;box-sizing:border-box;padding:10px;resize:vertical}.insights-form-grid input[type=date],.insights-filter input[type=date]{-moz-appearance:none;appearance:none;-webkit-appearance:none}.insights-form-grid input[type=date]::-webkit-date-and-time-value,.insights-filter input[type=date]::-webkit-date-and-time-value{text-align:start}.insights-form-wide,.payroll-form-note,.insights-filter>.insights-errors{grid-column:1 / -1}.insights-estimate{display:grid;align-content:center;gap:3px;padding:7px 11px;border-radius:12px;background:var(--soft);color:var(--muted);font-size:.81rem}.insights-estimate strong{color:var(--ink);font-size:1rem}.insights-dialog-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.insights-errors{font-size:.85rem;color:color-mix(in srgb,#d44765 63%,var(--ink));background:var(--soft);padding:8px 12px;border-radius:9px;margin:8px 0 0}ul.insights-errors{padding-inline-start:29px}.insights-filter{display:grid;grid-template-columns:minmax(max-content,1fr) minmax(0,170px) minmax(0,170px) auto;align-items:end;gap:12px;padding:15px 18px}.insights-filter-title{display:flex;gap:8px;align-items:center;align-self:center}.insights-filter-title svg{color:var(--accent)}.insights-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.insights-chart{padding:18px 20px}.insights-chart-caption{font-size:.8rem;color:var(--muted);margin:6px 0 11px}.weekly-bars{display:flex;align-items:flex-end;gap:7px;list-style:none;padding:0;margin:20px 0 0}.weekly-bars li{display:grid;justify-items:center;gap:5px;min-width:0;flex:1 1 0}.weekly-track{display:flex;align-items:end;width:min(78%,30px);height:98px;background:color-mix(in srgb,var(--soft) 52%,var(--surface));border-radius:10px;overflow:hidden}.weekly-track>span{width:100%;border-radius:inherit;background:linear-gradient(0deg,var(--accent),color-mix(in srgb,var(--accent) 58%,var(--surface)))}.weekly-label{color:var(--muted);text-align:center;font-size:.75rem;line-height:1.15;overflow-wrap:anywhere}.weekly-value{font-size:.78rem;font-weight:700}.monthly-line{display:block;width:100%;height:auto;margin-top:8px;overflow:visible}.monthly-line text{font-size:12px;fill:var(--muted)}.monthly-values{margin-top:5px;color:var(--muted);font-size:.84rem}.monthly-values summary{cursor:pointer;margin:-6px 0;padding:10px 0;color:var(--accent);font-weight:650}.monthly-values summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.monthly-values dl{display:grid;gap:3px;margin:9px 0 0}.monthly-values dl>div{display:flex;justify-content:space-between;padding:4px 0;border-top:1px solid var(--line)}.monthly-values dd{margin:0;color:var(--ink);font-variant-numeric:tabular-nums}.insights-share-track{display:flex;height:13px;overflow:hidden;border-radius:999px;margin:19px 0 13px;background:var(--soft)}.insights-share-legend{display:grid;list-style:none;margin:0;padding:0}.insights-share-legend li{display:grid;grid-template-columns:auto minmax(0,1fr) auto minmax(3.25rem,auto);align-items:baseline;gap:8px;padding:8px 0;font-size:.9rem}.insights-share-legend li+li{border-top:1px solid var(--line)}.insights-share-legend li>strong{overflow-wrap:anywhere}.insights-share-legend li>:last-child{text-align:end;color:var(--muted)}.insights-swatch{width:9px;height:9px;border-radius:50%}@media(max-width:900px){.insights-metrics.insights-four{grid-template-columns:repeat(2,minmax(0,1fr))}.insights-chart-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:560px){.insights-view{gap:16px}.insights-heading{align-items:flex-start;flex-direction:column;gap:11px}.insights-heading p{font-size:.91rem;margin-top:5px}.insights-heading .insights-primary{width:100%}.insights-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.insights-metric{padding:13px}.insights-metric .insights-icon{width:34px;height:34px;margin-bottom:3px}.insights-panel{border-radius:19px}.payroll-history,.insights-chart{padding:15px}.payroll-entry{padding:11px}.payroll-entry-title>.insights-icon{display:none}.payroll-entry-title h3{font-size:.9rem}.payroll-values{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.payroll-values>:last-child{grid-column:1 / -1}.insights-filter{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:8px;padding:12px}.insights-filter-title{grid-column:1 / -1}.insights-filter .insights-secondary{min-height:35px;justify-self:start;grid-column:1 / -1;padding:5px 11px}.insights-dialog form{padding:13px}.insights-form-grid{gap:8px}.insights-form-grid label{font-size:.82rem}.weekly-bars{gap:4px}}@media(max-width:360px){.insights-metrics:not(.insights-four),.payroll-values{grid-template-columns:minmax(0,1fr)}.insights-share-legend li{font-size:.82rem}}
