@font-face{font-family:Interface;src:local('Inter'),local('SF Pro Display'),local('Segoe UI')}*{box-sizing:border-box}html{color-scheme:light;--bg:#f5f6fa;--surface:#fff;--ink:#202334;--muted:#7a7f91;--line:#e9eaf0;--accent:#535edb;--soft:#eef0ff;--green:#198671;--red:#bd4059;--shadow:0 12px 38px #25335206;font-family:Interface,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px}html[data-theme=dark]{color-scheme:dark;--bg:#11131d;--surface:#1a1d2a;--ink:#eff0fa;--muted:#a0a6bc;--line:#303449;--accent:#9199ff;--soft:#282d4d;--green:#64d7b5;--red:#ff829a;--shadow:none}@media(prefers-color-scheme:dark){html:not([data-theme=light]){color-scheme:dark;--bg:#11131d;--surface:#1a1d2a;--ink:#eff0fa;--muted:#a0a6bc;--line:#303449;--accent:#9199ff;--soft:#282d4d;--green:#64d7b5;--red:#ff829a;--shadow:none}}body{margin:0;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:var(--accent);text-decoration:none}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:32px;letter-spacing:-1.1px;font-weight:680}h2{font-size:18px;letter-spacing:-.3px}h3{font-size:15px}p{line-height:1.6}.muted{color:var(--muted)}.eyebrow{font-size:11px;font-weight:650;letter-spacing:1.6px;text-transform:uppercase}.brand{display:flex;align-items:center;gap:11px;font-size:23px;font-weight:700;letter-spacing:-.8px}.brand-mark{display:grid;place-items:center;background:var(--accent);color:white;width:38px;height:38px;border-radius:12px;font-size:30px;line-height:1;font-weight:700}.sidebar{position:fixed;inset:0 auto 0 0;width:228px;background:var(--surface);border-right:1px solid var(--line);padding:33px 22px;display:flex;flex-direction:column;z-index:10}.sidebar .brand{margin:0 10px 49px}.nav-label{font-size:10px;letter-spacing:1.6px;color:var(--muted);margin:0 15px 12px}.nav{display:flex;flex-direction:column;gap:7px}.nav button{border:0;background:transparent;text-align:left;display:flex;align-items:center;gap:13px;padding:13px 15px;border-radius:10px;color:var(--muted);font-weight:550;min-height:46px}.nav button:hover,.nav button.active{background:var(--soft);color:var(--accent)}.nav svg{width:19px;height:19px}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:20px}.profile-mini{display:flex;gap:10px;align-items:center;border:0;background:none;color:var(--ink);width:100%;text-align:left;padding:8px}.avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--soft);color:var(--accent);font-size:12px;font-weight:700;flex-shrink:0}.profile-mini small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.workspace{margin-left:228px}.topbar{height:83px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 44px;background:var(--surface);gap:14px}.topbar-left{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:9px}.topbar-left strong{color:var(--ink);font-weight:550}.topbar-right{display:flex;align-items:center;gap:16px}.icon-btn{border:1px solid var(--line);background:var(--surface);border-radius:10px;min-width:40px;height:40px;display:inline-grid;place-items:center;color:var(--ink)}svg{vertical-align:middle}.icon-btn svg{width:19px;height:19px}.main{padding:37px 44px 55px;max-width:1500px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-head p{color:var(--muted);margin-top:8px;font-size:13px}.btn{background:var(--accent);color:#fff;border:1px solid transparent;border-radius:10px;padding:12px 18px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:600;font-size:12px;white-space:nowrap}.btn svg{width:16px;height:16px}.btn.secondary{border-color:var(--line);background:var(--surface);color:var(--ink)}.btn.ghost{background:transparent;color:var(--accent)}.btn.danger{background:var(--red)}.btn.small{min-height:34px;padding:8px 11px;font-size:11px}.grid{display:grid;gap:20px}.dashboard-top{grid-template-columns:1.65fr 1fr}.hero{border-radius:18px;background:#4d58d0;color:white;padding:30px 32px;position:relative;overflow:hidden;box-shadow:0 12px 30px #4d58d01c}.hero:after{content:'';position:absolute;right:-110px;top:-120px;width:420px;height:420px;border:1px solid #ffffff12;border-radius:50%;box-shadow:0 0 0 58px #ffffff04,0 0 0 110px #ffffff03;pointer-events:none}.hero-top{display:flex;justify-content:space-between;align-items:center;gap:8px;position:relative;z-index:1}.hero .eyebrow{color:#dce0ff}.pill{display:inline-block;padding:6px 10px;border-radius:20px;background:var(--soft);color:var(--accent);font-size:10px;font-weight:600}.hero .pill{color:white;background:#ffffff19;border:1px solid #ffffff26}.hero-amount{font-size:clamp(36px,4.7vw,60px);line-height:1.2;font-weight:630;letter-spacing:-2.4px;margin-top:22px;position:relative;z-index:1}.hero-amount span{font-size:24px;font-weight:400;letter-spacing:-.4px;color:#ccd1ff}.hero-caption{font-size:12px;color:#d9ddff;margin-top:7px}.hero-breakdown{display:flex;gap:40px;border-bottom:1px solid #ffffff20;padding:24px 0 20px;margin-bottom:18px}.hero-breakdown small{display:block;color:#c8ceff;font-size:11px;margin-bottom:6px}.hero-breakdown strong{font-weight:550;font-size:16px}.hero-progress{height:5px;background:#ffffff20;border-radius:5px;overflow:hidden;margin:12px 0}.hero-progress i{display:block;height:100%;background:#b3f0d9;border-radius:5px}.hero-progress-caption{display:flex;justify-content:space-between;font-size:10px;color:#dce0ff}.card{background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:24px;box-shadow:var(--shadow)}.card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}.card-head a,.text-btn{font-size:11px;color:var(--accent);font-weight:600}.text-btn{border:0;background:none;padding:6px;cursor:pointer}.next-date{color:var(--muted);font-size:12px}.next-time{font-size:30px;letter-spacing:-1px;margin:14px 0 7px;font-weight:600}.workplace-dot{width:7px;height:7px;border-radius:50%;display:inline-block;margin-right:7px;background:var(--accent)}.divider{height:1px;background:var(--line);margin:22px 0}.mini-row{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:12px}.stats-grid{grid-template-columns:repeat(4,1fr);margin:20px 0}.stat{padding:20px 22px}.stat-label{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted)}.stat-label svg{width:17px;height:17px;color:#a0a5bd}.stat-value{font-size:26px;font-weight:630;letter-spacing:-.9px;margin-top:16px}.stat-sub{font-size:10px;color:var(--muted);margin-top:9px}.positive{color:var(--green)}.negative{color:var(--red)}.dashboard-bottom{grid-template-columns:1.65fr 1fr}.chart{display:flex;gap:12px;align-items:flex-end;height:190px;padding-top:20px}.chart-col{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:9px;position:relative}.chart-bar{width:70%;max-width:36px;min-height:2px;background:var(--soft);border-radius:5px 5px 0 0;transition:height .25s}.chart-col:last-child .chart-bar{background:var(--accent)}.chart-label{font-size:10px;color:var(--muted)}.chart-value{font-size:9px;color:var(--muted)}.chart-col:hover .chart-bar{background:var(--accent)}.legend{display:flex;gap:17px;font-size:10px;color:var(--muted);margin:16px 0 0}.goal-amount{font-size:26px;font-weight:600;letter-spacing:-.7px;margin-top:22px}.goal-amount span{font-size:12px;font-weight:400;color:var(--muted);letter-spacing:0}.progress{height:7px;background:var(--soft);border-radius:10px;overflow:hidden;margin:17px 0 12px}.progress i{display:block;height:100%;background:var(--accent);border-radius:10px}.goal-icon{width:40px;height:40px;border-radius:12px;background:var(--soft);display:grid;place-items:center;color:var(--accent)}.goal-icon svg{width:20px;height:20px}.list-card{margin-top:20px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{color:var(--muted);font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.6px;padding:0 12px 14px;border-bottom:1px solid var(--line)}td{padding:16px 12px;border-bottom:1px solid var(--line)}tr:last-child td{border-bottom:0}td small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.status{font-size:10px;padding:5px 9px;border-radius:5px;background:var(--soft);color:var(--accent)}.status.completed{background:#24a08013;color:var(--green)}.status.absence{background:#c7597113;color:var(--red)}.footnote{font-size:10px;color:var(--muted);margin:20px 0;line-height:1.7}.empty{text-align:center;padding:35px 20px;color:var(--muted)}.empty p{font-size:12px;margin:8px 0 18px}.empty h3{color:var(--ink)}.empty svg{width:27px;height:27px;color:var(--accent);margin-bottom:12px}.mobile-nav{display:none}.toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:22px}.toolbar input,.toolbar select{max-width:200px}.segments{display:inline-flex;background:var(--surface);border:1px solid var(--line);padding:4px;border-radius:10px}.segments button{background:none;border:0;border-radius:7px;color:var(--muted);padding:9px 12px;font-size:11px}.segments button.active{background:var(--soft);color:var(--accent)}.calendar{display:grid;grid-template-columns:repeat(7,1fr);border-left:1px solid var(--line);border-top:1px solid var(--line);background:var(--surface);border-radius:12px;overflow:hidden}.cal-header{padding:14px;text-align:center;font-size:11px;color:var(--muted);border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.cal-day{min-height:120px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:9px;cursor:pointer}.cal-day:hover{background:var(--bg)}.cal-day.outside{opacity:.35}.cal-day.today .day-no{background:var(--accent);color:white}.day-no{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;font-size:11px;margin-bottom:8px}.cal-event{display:block;width:100%;text-align:left;border:0;background:var(--soft);color:var(--accent);font-size:10px;border-radius:5px;padding:6px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-height:30px}.cal-event.completed{border-left:3px solid var(--green)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:550}.field.full{grid-column:1/-1}input,select,textarea{border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--ink);padding:12px;outline:none;min-width:0;width:100%;font-size:13px}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--soft)}input[type=checkbox]{width:17px;height:17px;accent-color:var(--accent)}input[type=range]{padding:0;accent-color:var(--accent)}input[type=color]{height:44px;padding:5px}textarea{min-height:85px;resize:vertical}.check{display:flex;align-items:center;gap:9px;font-size:12px}.hint{font-size:10px;font-weight:400;color:var(--muted);line-height:1.6}.form-section{margin:26px 0 15px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.note{background:var(--soft);color:var(--accent);padding:14px 16px;border-radius:9px;font-size:12px;line-height:1.6}.note.warn{background:#cb9b1e15;color:#94721a}.error{color:var(--red);font-size:12px;margin-top:12px}.break-row{display:grid;grid-template-columns:1fr 1fr auto auto;align-items:end;gap:10px;margin-bottom:12px}.row{display:flex;gap:12px;align-items:center}.spread{justify-content:space-between}.stack{display:flex;flex-direction:column;gap:18px}.cols2{display:grid;grid-template-columns:1fr 1fr;gap:20px}.cols3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.settings-nav{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}.offline{background:#ffe5b2;color:#775016;text-align:center;padding:9px;font-size:12px}.auth{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh}.auth-art{padding:55px 65px;background:#4d58d0;color:#fff;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-art .brand-mark{background:#ffffff20}.auth-art h1{font-size:clamp(40px,5vw,70px);line-height:1.09;letter-spacing:-3px;max-width:520px;margin:65px 0 25px}.auth-art p{color:#d3d8ff;max-width:370px;font-size:15px}.auth-art .orbit{width:330px;height:330px;border:1px solid #ffffff2a;border-radius:50%;align-self:center;display:grid;place-items:center;margin:35px 0}.auth-art .orbit span{font-size:100px;font-weight:300;letter-spacing:-5px}.auth-art small{color:#c5cafa;font-size:11px}.auth-form{display:flex;align-items:center;justify-content:center;padding:45px}.auth-inner{width:100%;max-width:370px}.auth-inner h1{font-size:28px;margin-bottom:10px}.auth-inner>p{color:var(--muted);font-size:13px;margin-bottom:30px}.auth-inner form{display:flex;flex-direction:column;gap:17px}.auth-inner .btn{width:100%;margin-top:5px}.auth-links{display:flex;justify-content:space-between;margin:22px 0;font-size:11px}.auth-inner .brand{display:none}.loading{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;color:var(--muted)}dialog{padding:0;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--ink);width:min(680px,calc(100vw - 32px));max-height:90dvh;box-shadow:0 30px 90px #151a3c40}dialog::backdrop{background:#10152b66;backdrop-filter:blur(4px)}#modal-content{padding:28px}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;gap:15px}.modal-head h2{font-size:22px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 22px;border-radius:12px;background:var(--ink);color:var(--surface);box-shadow:0 7px 30px #0002;z-index:99;font-size:12px;max-width:90%;display:none}#toast.visible{display:block}.skip{position:fixed;top:-100px;left:15px;background:var(--surface);z-index:100;padding:12px}.skip:focus{top:10px}.admin-wrap{max-width:1180px;padding:35px;margin:auto}.admin-wrap pre{white-space:pre-wrap}.report-number{font-variant-numeric:tabular-nums}.hidden{display:none!important}.no-wrap{white-space:nowrap}.compare{font-size:30px;letter-spacing:-1px;margin:15px 0}.chart svg{width:100%;height:100%}@media(min-width:1500px){.main{padding-top:44px}.dashboard-top,.dashboard-bottom{grid-template-columns:1.8fr 1fr}.hero{padding:34px 38px}}@media(max-width:1150px){.sidebar{width:200px;padding:30px 15px}.workspace{margin-left:200px}.main{padding:30px 25px}.topbar{padding:0 25px}.hero{padding:25px}.dashboard-top,.dashboard-bottom{grid-template-columns:1.4fr 1fr}.stats-grid{gap:12px}.stat{padding:17px}.stat-value{font-size:23px}.cols3{grid-template-columns:1fr 1fr}}@media(max-width:850px){.sidebar{width:78px;padding:25px 12px}.sidebar .brand{margin:0 7px 35px}.sidebar .brand>span,.sidebar .nav-label,.sidebar .nav span,.sidebar .profile-mini>div:not(.avatar){display:none}.nav button{justify-content:center;padding:14px}.workspace{margin-left:78px}.sidebar-bottom .profile-mini{justify-content:center}.hero-amount{font-size:43px}.dashboard-top,.dashboard-bottom{grid-template-columns:1.3fr 1fr}.card{padding:20px}.auth-art{padding:40px}.auth-art h1{font-size:48px}.auth-art .orbit{width:230px;height:230px}.cal-day{min-height:100px;padding:5px}}@media(max-width:650px){.sidebar{display:none}.workspace{margin-left:0}.topbar{height:65px;padding:0 21px;border-bottom:0;background:var(--bg)}.topbar-left{font-size:15px;font-weight:700}.topbar-left .crumb{display:none}.topbar-right{gap:9px}.topbar .btn{display:none}.topbar .icon-btn{border:0;background:transparent}.main{padding:14px 20px calc(100px + env(safe-area-inset-bottom));}.page-head{margin-bottom:23px;align-items:flex-start}.page-head h1{font-size:28px}.page-head p{font-size:12px;max-width:240px}.page-head>.btn{display:none}.dashboard-top,.dashboard-bottom,.cols2,.cols3{grid-template-columns:1fr}.dashboard-top{gap:17px}.hero{padding:25px;border-radius:17px}.hero-amount{font-size:48px;margin-top:20px}.hero-breakdown{padding:21px 0 18px}.hero .eyebrow{font-size:10px}.stats-grid{grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.stat{padding:18px}.stat-value{font-size:24px;margin-top:12px}.stat-sub{font-size:10px}.card-head{margin-bottom:17px}.next-card{padding:21px}.next-time{font-size:25px;margin:10px 0}.next-card .divider{margin:16px 0}.dashboard-bottom{gap:16px}.list-card{margin-top:16px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:20;display:flex;justify-content:space-around;align-items:center;background:var(--surface);border-top:1px solid var(--line);padding:10px 5px calc(9px + env(safe-area-inset-bottom))}.mobile-nav button{border:0;background:none;color:var(--muted);font-size:9px;min-width:55px;min-height:43px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.mobile-nav svg{width:20px;height:20px}.mobile-nav button.active{color:var(--accent)}.mobile-nav .add-tab{background:var(--accent);color:white;width:45px;min-width:45px;height:45px;border-radius:14px;transform:translateY(-4px)}.auth{display:block}.auth-art{display:none}.auth-form{padding:40px 25px;min-height:100dvh}.auth-inner .brand{display:flex;margin-bottom:55px}.form-grid{gap:15px}.form-actions .btn{flex:1}.calendar .cal-header{padding:10px 1px;font-size:10px}.cal-day{min-height:89px;padding:3px}.cal-event{padding:4px 3px;font-size:8px;border-radius:3px;min-height:23px}.day-no{font-size:10px;width:22px;height:22px;margin-bottom:4px}.toolbar{gap:8px}.toolbar input,.toolbar select{max-width:145px}.toolbar .segments{width:100%;justify-content:center}.segments button{flex:1}.break-row{grid-template-columns:1fr 1fr}.break-row .check{grid-column:1}.cal-title{font-size:17px}.list-card td,.list-card th{padding-left:5px;padding-right:5px}.hide-mobile{display:none}.card{padding:21px}.footnote{font-size:10px}#modal-content{padding:23px 20px}dialog{max-height:94dvh;width:calc(100vw - 18px)}#toast{bottom:100px}.admin-wrap{padding:20px}.hero-amount span{font-size:21px}.chart{height:175px}.row.wrap{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
.widget-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:20px;margin-top:20px}.widget-grid>[data-widget=stats],.widget-grid>[data-widget=shifts]{grid-column:1/-1;margin:0}.widget-grid>[data-widget]{min-width:0}@media(max-width:650px){.widget-grid{grid-template-columns:1fr;gap:16px;margin-top:16px}.widget-grid>[data-widget]{grid-column:1!important}}
