:root{color:#102238;font-synthesis:none;text-rendering:optimizelegibility;--navy:#071d3d;--navy-2:#0d3267;--blue:#1261d7;--blue-light:#dbeaff;--cyan:#13b9d4;--steel:#617189;--surface:#ffffffe0;--line:#11284617;--shadow:0 16px 45px #152b4914, 0 2px 8px #152b490a;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--nav-safe-bottom:max(4px, calc(var(--safe-bottom) - 8px));background:#f3f6f9;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,SF Pro Text,Segoe UI,sans-serif}*{box-sizing:border-box}html{background:#f3f6f9;min-width:320px;min-height:100%}body,#root{min-width:320px;min-height:100vh;min-height:100dvh}body{overscroll-behavior-y:none;-webkit-text-size-adjust:100%;background:radial-gradient(circle at 100% -10%,#2982f61f,#0000 34rem),#f3f6f9;margin:0}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #1261d747}body.modal-open{overflow:hidden}body.modal-open .bottom-nav{opacity:0;pointer-events:none;transform:translateY(100%)}.app-shell{min-height:100vh;min-height:100dvh}.main-content{width:100%;min-height:100vh;min-height:100dvh;padding-bottom:calc(54px + var(--nav-safe-bottom))}.page{width:min(100%,1100px);margin:0 auto;padding:18px 18px 48px}.sidebar{display:none}.mobile-header{z-index:20;padding:max(8px, var(--safe-top)) 18px 8px;-webkit-backdrop-filter:saturate(170%)blur(24px);backdrop-filter:saturate(170%)blur(24px);background:#f3f6f9c7;border-bottom:1px solid #1128460d;justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.brand{align-items:center;gap:12px;display:flex}.brand img{border-radius:14px;width:48px;height:48px;box-shadow:0 7px 18px #0a2a5b3b}.brand div{flex-direction:column;display:flex}.brand strong{letter-spacing:-.03em;font-size:20px}.brand.compact strong{font-size:19px}.avatar-button{color:#fff;background:linear-gradient(145deg, var(--blue), var(--cyan));border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;font-weight:700;display:grid;overflow:hidden}.avatar-button img{object-fit:cover;width:100%;height:100%}.avatar-fallback{place-items:center;width:100%;height:100%;display:grid}.profile-settings-button{color:#174a7d;background:#ffffffb8;border:1px solid #092b521a;border-radius:999px;align-items:center;gap:7px;min-height:38px;padding:3px 10px 3px 3px;font-size:11px;font-weight:800;display:flex;box-shadow:0 5px 14px #051b3612}.profile-settings-button>img,.profile-settings-button>.avatar-fallback{object-fit:cover;color:#fff;background:linear-gradient(145deg, var(--blue), var(--cyan));border-radius:50%;flex:none;width:32px;height:32px}.bottom-nav{z-index:30;padding:5px 6px var(--nav-safe-bottom);-webkit-backdrop-filter:saturate(180%)blur(24px);backdrop-filter:saturate(180%)blur(24px);background:#f8fafcf7;border-top:1px solid #11284614;grid-template-columns:repeat(5,1fr);transition:opacity .16s,transform .2s;display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -7px 24px #0d274c0f}.bottom-nav button{color:#7a8798;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:44px;padding:2px 1px;font-size:10.5px;font-weight:650;display:flex}.bottom-nav button span{background:#d6dce4;border-radius:99px;width:18px;height:3px;transition:width .2s,background .2s}.bottom-nav button.active{color:var(--blue)}.bottom-nav button.active span{background:linear-gradient(90deg, var(--blue), var(--cyan));width:28px}.page-intro{justify-content:space-between;align-items:flex-end;gap:16px;margin:18px 0 26px;display:flex}.page-intro h1{letter-spacing:-.055em;margin:2px 0 6px;font-size:clamp(34px,9vw,54px);line-height:.98}.page-intro>div>p:last-child{color:#6d7b8e;max-width:550px;margin:0;font-size:15px;line-height:1.45}.eyebrow{color:var(--blue);letter-spacing:.14em;margin:0 0 5px;font-size:11px;font-weight:800}.eyebrow.light{color:#82d7ff}.card{border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:24px}.dark-card{color:#fff;background:radial-gradient(circle at 90% 10%,#2acaea5c,#0000 40%),linear-gradient(145deg,#092b60,#061a37 72%);border-color:#ffffff1f}.next-duty{justify-content:space-between;align-items:flex-end;min-height:190px;padding:25px;display:flex;position:relative;overflow:hidden}.next-duty:after{content:"";border:1px solid #40d7f440;border-radius:50%;width:190px;height:190px;position:absolute;bottom:-90px;right:-74px;box-shadow:0 0 0 28px #40d7f40d,0 0 0 58px #40d7f409}.next-duty h2{letter-spacing:-.035em;max-width:230px;margin:7px 0 6px;font-size:25px;line-height:1.05}.next-duty p:last-child{color:#b8cae0;margin:0}.duty-time{z-index:1;text-align:right;flex-direction:column;align-items:baseline;display:flex;position:relative}.duty-time strong{letter-spacing:-.07em;font-size:54px;line-height:.8}.duty-time span{color:#82d7ff;margin-top:8px;font-weight:700}.section-heading{justify-content:space-between;align-items:flex-end;gap:16px;margin:32px 2px 14px;display:flex}.section-heading h2{letter-spacing:-.035em;margin:0;font-size:25px}.text-button{color:var(--blue);background:0 0;border:0;padding:5px;font-size:14px;font-weight:700}.balance-grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.balance-card{border:1px solid var(--line);background:#fff;border-radius:22px;min-height:138px;padding:17px;position:relative;overflow:hidden;box-shadow:0 9px 30px #1830500f}.balance-card:after{content:"";opacity:.08;background:currentColor;border-radius:50%;width:75px;height:75px;position:absolute;top:-27px;right:-28px}.balance-card>span{color:var(--steel);letter-spacing:.08em;font-size:12px;font-weight:800;display:block}.balance-card strong{color:var(--navy);letter-spacing:-.055em;margin-top:22px;font-size:clamp(22px,6vw,30px);line-height:1;display:block}.balance-card small{color:#8994a3;margin-top:7px;display:block}.tone-ca{color:#0f9fc1}.tone-rtc{color:#276fe4}.tone-rps{color:#5e6cd7}.tone-cet{color:#0b3c78}.action-grid{gap:12px;display:grid}.action-card{text-align:left;border:1px solid var(--line);background:#ffffffd9;border-radius:22px;flex-direction:column;justify-content:center;min-height:96px;padding:19px 21px;display:flex;box-shadow:0 9px 30px #1830500d}.action-card:nth-child(2){background:linear-gradient(135deg,#e8f8fa,#f8fdfd)}.action-card strong{letter-spacing:-.02em;font-size:17px}.action-card span{color:#758398;margin-top:5px;font-size:13px}.calendar-card{justify-content:space-between;align-items:center;gap:14px;margin-top:28px;padding:17px;display:flex}.sync-badge{color:#087554;background:#dcf5eb;border-radius:99px;flex:none;padding:7px 10px;font-size:10px;font-weight:800}.sync-badge.error{color:#a62e42;background:#fee5ea}.status-row{align-items:center;gap:11px;min-width:0;display:flex}.status-row>div{flex-direction:column;min-width:0;display:flex}.status-row strong{font-size:14px}.status-row span:last-child{color:#7b8899;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:12px;overflow:hidden}.status-dot{background:#22b888;border:2px solid #fff;border-radius:50%;flex:none;width:10px;height:10px;box-shadow:0 0 0 3px #22b88824}.status-dot.error{background:#e04a5f;box-shadow:0 0 0 3px #e04a5f24}.button{border:0;border-radius:14px;justify-content:center;align-items:center;min-height:44px;padding:10px 17px;font-size:14px;font-weight:750;text-decoration:none;transition:transform .12s,opacity .12s;display:inline-flex}.button:active{transform:scale(.98)}.button:disabled{cursor:default;opacity:.5}.button.primary{color:#fff;background:linear-gradient(145deg,#1769dd,#0d50bb);box-shadow:0 8px 20px #1261d738}.button.secondary{color:var(--blue);background:var(--blue-light)}.button.danger{color:#c52d45;background:#feecef}.button.full{width:100%}.month-toolbar{grid-template-columns:46px 1fr 46px;align-items:center;margin:14px 0 17px;padding:5px;display:grid}.month-toolbar button{height:42px;color:var(--blue);background:0 0;border:0;border-radius:14px;font-size:29px}.month-toolbar button:active{background:#edf4fc}.month-toolbar strong{text-align:center;font-size:16px}.calendar-grid{grid-template-columns:repeat(7,1fr);gap:4px;padding:13px 9px 15px;display:grid}.weekday{text-align:center;color:#94a0af;padding:8px 0;font-size:10px;font-weight:800}.calendar-cell{aspect-ratio:1;border:0;border-radius:13px;place-items:center;padding:0;font-size:13px;font-weight:650;transition:box-shadow .16s,transform .16s;display:grid;position:relative}.calendar-cell.rest{color:#abb4c0;background:0 0}.calendar-cell.rest.has-event{color:#535bbd;background:#f0efff}.calendar-cell.service{color:#164d91;background:#e9f3ff}.calendar-cell.selected{z-index:1;transform:scale(.94);box-shadow:0 0 0 3px #fff,0 0 0 6px #1261d747,0 8px 18px #1261d729}.calendar-cell i{background:currentColor;border-radius:50%;width:4px;height:4px;position:absolute;bottom:5px}.calendar-detail{scroll-margin-top:calc(68px + var(--safe-top));transform-origin:top;margin-top:13px;padding:18px;animation:.22s cubic-bezier(.2,.8,.2,1) detail-expand}.calendar-detail-header{justify-content:space-between;align-items:flex-start;gap:15px;display:flex}.calendar-detail-header h2{letter-spacing:-.03em;margin:0;font-size:20px}.calendar-detail-status{border-radius:99px;margin-top:15px;padding:7px 11px;font-size:11px;font-weight:800;display:inline-flex}.calendar-detail-status.service{color:#1557ad;background:#e9f2ff}.calendar-detail-status.absence{color:#976100;background:#fff0cf}.calendar-detail-status.rest{color:#657386;background:#eef1f5}.calendar-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0 0;display:grid}.calendar-detail-grid div{background:#f2f5f8;border-radius:14px;padding:12px}.calendar-detail-grid dt{color:#7b8899;text-transform:uppercase;font-size:10px;font-weight:750}.calendar-detail-grid dd{color:#19344f;margin:5px 0 0;font-size:13px;font-weight:700}.calendar-detail-note{border-left:3px solid var(--cyan);background:#eef9fb;border-radius:4px 14px 14px 4px;margin-top:12px;padding:14px}.calendar-detail-note strong{color:#276175;text-transform:uppercase;font-size:11px}.calendar-detail-note p{color:#34566a;white-space:pre-wrap;margin:6px 0 0;font-size:13px;line-height:1.5}.calendar-detail-note.synced{background:#f2f1ff;border-left-color:#706fe0}.calendar-detail-note.synced strong{color:#5958a8}.calendar-detail-note.synced p{color:#4e507c}.calendar-detail-empty{color:#778598;margin:16px 0 0;font-size:13px}.calendar-detail-add{margin-top:14px}.calendar-detail-actions{gap:10px;margin-top:14px;display:flex}.calendar-delete-confirm{background:#fff0f2;border-radius:15px;margin-top:14px;padding:13px}.calendar-delete-confirm p{color:#9d3044;margin:0 0 10px;font-size:12px;font-weight:700}.calendar-delete-confirm div{flex-wrap:wrap;gap:8px;display:flex}.legend{color:#768396;justify-content:center;gap:16px;padding:14px 0;font-size:11px;display:flex}.legend span{align-items:center;gap:5px;display:flex}.legend i{border-radius:3px;width:8px;height:8px}.legend i.service{background:#d8eaff}.legend i.absence{background:#ffe3ab}.legend i.rest{background:#e2e6eb}.legend i.custom{background:#c9c8ff}.agenda-list,.record-list{gap:10px;display:grid}.planning-list{margin-top:0}.day-row{align-items:center;gap:13px;padding:12px;display:flex}.date-badge{color:#1557ad;background:#e9f2ff;border-radius:15px;flex-direction:column;flex:none;justify-content:center;align-items:center;width:49px;height:51px;display:flex}.date-badge strong{font-size:19px;line-height:1}.date-badge span{text-transform:uppercase;margin-top:3px;font-size:10px}.row-main{flex-direction:column;flex:1;min-width:0;display:flex}.row-main strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.row-main span{color:#7d8999;text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:12px;overflow:hidden}.pill{color:#657386;background:#eef1f5;border-radius:99px;padding:5px 8px;font-size:10px;font-weight:750}.pill.success{color:#087554;background:#dcf5eb}.pill.warning{color:#976100;background:#fff0cf}.record-card{cursor:default;align-items:center;gap:12px;padding:14px;display:flex}.record-mark{background:linear-gradient(var(--blue), var(--cyan));border-radius:99px;flex:none;width:5px;height:38px}.record-actions{flex-direction:column;align-items:flex-end;gap:5px;display:flex}.record-actions button{color:var(--blue);background:0 0;border:0;padding:2px;font-size:11px;font-weight:700}.record-actions .danger-text{color:#cb3650}.summary-strip{grid-template-columns:repeat(2,1fr);margin-bottom:20px;padding:18px;display:grid}.summary-strip div{flex-direction:column;display:flex}.summary-strip div+div{border-left:1px solid var(--line);padding-left:17px}.summary-strip span{color:#758296;font-size:11px}.summary-strip strong{letter-spacing:-.04em;margin-top:7px;font-size:21px}.segmented{background:#e4e9ef;border-radius:14px;grid-auto-columns:1fr;grid-auto-flow:column;gap:3px;padding:4px;display:grid}.segmented button{color:#6e7a8c;background:0 0;border:0;border-radius:11px;min-height:36px;padding:6px 10px;font-size:13px;font-weight:700}.segmented button.active{color:#173455;background:#fff;box-shadow:0 2px 8px #1d304a1f}.subpage{margin-top:20px}.connection-hero{text-align:center;padding:27px 22px}.connection-hero img{border-radius:24px;width:84px;height:84px;box-shadow:0 10px 26px #0d397833}.connection-hero h2{letter-spacing:-.04em;margin:17px 0 7px;font-size:26px}.connection-hero p{color:#728096;max-width:500px;margin:0 auto 18px;font-size:14px;line-height:1.5}.connection-badge{color:#087554;background:#dcf5eb;border-radius:99px;padding:7px 11px;font-size:11px;font-weight:800;display:inline-block}.connection-badge.error{color:#a62e42;background:#fee5ea}.sync-details{gap:15px;margin:14px 0;padding:19px;display:grid}.sync-details div{justify-content:space-between;align-items:center;gap:18px;display:flex}.sync-details span{color:#788699;font-size:13px}.sync-details strong{text-align:right;font-size:13px}.sync-note{color:#788699;text-align:center;margin:14px 6px 0;font-size:12px;line-height:1.5}.settings-page{gap:16px;display:grid}.settings-page .page-intro{margin-bottom:4px}.account-card{align-items:center;gap:14px;padding:17px;display:flex}.account-card>img,.account-card>.avatar-fallback{object-fit:cover;color:#fff;background:linear-gradient(145deg, var(--blue), var(--cyan));border-radius:50%;flex:none;place-items:center;width:52px;height:52px;display:grid}.account-card>div{flex-direction:column;min-width:0;display:flex}.account-card strong{color:#0b2d52;font-size:17px}.account-card span{color:#718095;text-overflow:ellipsis;margin-top:4px;font-size:12px;overflow:hidden}.settings-card{padding:19px}.settings-card-heading{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:16px;display:flex}.settings-card-heading h2{color:#0b2d52;letter-spacing:-.03em;margin:0;font-size:21px}.settings-value{color:#15579c;background:#e3eef9;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:800}.settings-help{color:#718095;margin:12px 2px 0;font-size:12px;line-height:1.5}.settings-sync-grid{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:10px;display:grid}.settings-sync-grid>div{background:#edf2f7;border-radius:12px;flex-direction:column;min-width:0;padding:14px;display:flex}.settings-sync-grid span{color:#718095;font-size:10px;font-weight:700}.settings-sync-grid strong{overflow-wrap:anywhere;color:#0b2d52;margin-top:7px;font-size:13px}.settings-logout{margin-top:2px}.settings-danger-zone{border-color:#c52d4538;gap:16px;padding:19px;display:grid}.settings-danger-zone h2{color:#8e2438;letter-spacing:-.03em;margin:4px 0 7px;font-size:20px}.settings-danger-zone>div>p:last-child{color:#718095;margin:0;font-size:12px;line-height:1.55}.disconnect-confirm{color:#8e2438;background:#fff0f2;border:1px solid #c52d452e;border-radius:14px;padding:15px}.disconnect-confirm>strong{font-size:15px}.disconnect-confirm>p{margin:7px 0 13px;font-size:12px;line-height:1.5}.disconnect-confirm>div{flex-wrap:wrap;gap:9px;display:flex}.disconnect-confirm>div .button{flex:180px}.form{gap:16px;display:grid}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.field{flex-direction:column;gap:7px;min-width:0;display:flex}.field>span{color:#5f6d80;margin-left:2px;font-size:12px;font-weight:700}.field input,.field select,.field textarea{color:#172b44;background:#f3f6f9;border:1px solid #0e31591f;border-radius:14px;outline:0;width:100%;min-width:0;max-width:100%;min-height:48px;padding:11px 13px}.field input[type=time]{inline-size:100%;display:block}.field textarea{resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{background:#fff;border-color:#1261d780;box-shadow:0 0 0 4px #1261d714}.toggle-row{background:#f2f5f8;border-radius:15px;justify-content:space-between;align-items:center;gap:18px;padding:14px 15px;display:flex}.toggle-row>div{flex-direction:column;display:flex}.toggle-row strong{font-size:14px}.toggle-row span{color:#7d8999;margin-top:3px;font-size:11px}.toggle-row input{width:48px;height:28px;accent-color:var(--blue)}.form-error{color:#a2273c;background:#feeaee;border-radius:12px;margin:0;padding:11px;font-size:13px}.rest-event-date{color:#1c4371;background:#edf5ff;border-radius:15px;flex-direction:column;gap:4px;padding:14px;display:flex}.rest-event-date span{color:#71839a;text-transform:uppercase;font-size:10px;font-weight:800}.rest-event-date strong{font-size:15px}.form-section{border:1px solid var(--line);background:#fffc;border-radius:21px;padding:18px}.form-section h3{margin:0 0 15px;font-size:18px}.logout-button{margin-top:18px}.modal-backdrop{z-index:100;top:var(--visual-viewport-top,0px);height:var(--visual-viewport-height,100dvh);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#03102366;justify-content:center;align-items:flex-end;padding-top:12px;animation:.16s fade-in;display:flex;position:fixed;left:0;right:0}.modal{width:min(100%,620px);max-height:calc(var(--visual-viewport-height,100dvh) - 12px);padding:8px 20px max(16px, var(--safe-bottom));overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#fbfcfe;border-radius:28px 28px 0 0;scroll-padding:88px 0 96px;animation:.25s cubic-bezier(.2,.8,.2,1) slide-up;overflow:hidden auto;box-shadow:0 -20px 80px #0310233d}.modal-handle{background:#d6dce4;border-radius:99px;width:38px;height:5px;margin:2px auto 10px}.modal header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.modal h2{letter-spacing:-.04em;margin:0;font-size:24px}.modal header button{color:var(--blue);background:0 0;border:0;padding:8px 0 8px 12px;font-size:13px;font-weight:700}.modal .field,.modal .toggle-row,.modal .segmented{scroll-margin-bottom:100px}.modal .form>.button:last-child{z-index:3;margin-top:2px;position:sticky;bottom:0;box-shadow:0 10px 25px #07295138,0 -10px 22px #f3f6f9}.empty-state{text-align:center;padding:42px 24px}.empty-state h2{margin:20px 0 7px;font-size:21px}.empty-state p{color:#778598;max-width:380px;margin:0 auto 20px;font-size:14px;line-height:1.5}.empty-orbit{border:1px solid #b8d9ff;border-radius:50%;place-items:center;width:58px;height:58px;margin:0 auto;display:grid;position:relative;box-shadow:0 0 0 10px #f0f7ff}.empty-orbit:before,.empty-orbit:after,.empty-orbit span{content:"";background:var(--blue);border-radius:50%;position:absolute}.empty-orbit:before{width:11px;height:11px;top:-5px}.empty-orbit:after{background:var(--cyan);width:8px;height:8px;bottom:7px;right:-3px}.empty-orbit span{opacity:.25;width:18px;height:18px}.alert{border-radius:16px;flex-direction:column;gap:5px;margin:14px 0;padding:15px;font-size:13px;display:flex}.alert.error{color:#8f2a3c;background:#fee9ed}.alert span{opacity:.84}.skeleton-stack{gap:12px;display:grid}.skeleton-stack span{background:linear-gradient(100deg,#e8edf2 30%,#f7f9fb 45%,#e8edf2 60%) 0 0/250% 100%;border-radius:22px;height:88px;animation:1.25s linear infinite shimmer}.toast{z-index:200;right:18px;bottom:calc(82px + var(--safe-bottom));color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);text-align:center;background:#071d3df0;border:1px solid #ffffff24;border-radius:15px;max-width:480px;margin:auto;padding:13px 16px;font-size:13px;font-weight:650;animation:.2s slide-up;position:fixed;left:18px;box-shadow:0 15px 40px #03102340}.signin-page{min-height:100vh;min-height:100dvh;padding:max(18px, var(--safe-top)) 18px max(18px, var(--safe-bottom));color:#fff;background:radial-gradient(circle at 78% 12%,#128dff73,#0000 28rem),radial-gradient(circle at 8% 90%,#13b9d438,#0000 25rem),#061a37;place-items:center;display:grid;position:relative;overflow:hidden}.signin-glow{border:1px solid #77d9ff38;border-radius:50%;width:310px;height:310px;position:absolute;top:-130px;right:-130px;box-shadow:0 0 0 45px #2aa1f50a,0 0 0 95px #2aa1f506}.signin-card{-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);background:#ffffff13;border:1px solid #ffffff1f;border-radius:32px;width:min(100%,440px);padding:24px;position:relative;box-shadow:0 30px 80px #0000003d}.signin-icon{border-radius:25px;width:88px;height:88px;margin-bottom:30px;box-shadow:0 15px 35px #00000047}.signin-card h1{letter-spacing:-.065em;margin:4px 0 17px;font-size:clamp(42px,12vw,62px);line-height:.96}.signin-copy{color:#b7c9df;margin:0 0 29px;font-size:15px;line-height:1.55}.signin-card .button.primary{color:#0a2e60;background:linear-gradient(135deg,#f8fbff,#d8efff);box-shadow:0 12px 30px #0003}.privacy-note{color:#8ca4bf;text-align:center;margin:14px 0 0;font-size:10px}.loading-screen{min-height:100vh;background:#f3f6f9;place-content:center;justify-items:center;gap:20px;min-height:100dvh;display:grid}.loading-screen img{width:80px;height:80px;box-shadow:var(--shadow);border-radius:23px}.spinner{border:3px solid #d7e0e9;border-top-color:var(--blue);border-radius:50%;width:22px;height:22px;animation:.7s linear infinite spin}@media (min-width:720px){.page{padding:32px 30px 60px}.page-intro{margin-top:30px}.balance-grid{grid-template-columns:repeat(4,1fr)}.action-grid{grid-template-columns:repeat(2,1fr)}.calendar-grid{gap:8px;padding:22px}.calendar-cell{border-radius:17px;font-size:15px}.modal-backdrop{align-items:center;padding:24px}.modal{border-radius:28px;padding:10px 26px 28px}.modal-handle{display:none}}@media (min-width:980px){.app-shell{grid-template-columns:240px 1fr;display:grid}.sidebar{color:#d9e7f7;background:radial-gradient(circle at 0 0,#1478e654,#0000 22rem),#071d3d;flex-direction:column;height:100vh;padding:24px 18px;display:flex;position:sticky;top:0}.sidebar nav{gap:6px;margin-top:42px;display:grid}.nav-item{color:#9db0c7;text-align:left;background:0 0;border:0;border-radius:14px;align-items:center;gap:12px;min-height:46px;padding:10px 13px;font-size:14px;font-weight:650;display:flex}.nav-item.active{color:#fff;background:#ffffff1a;box-shadow:inset 0 0 0 1px #ffffff0f}.nav-dot{border:2px solid;border-radius:50%;width:9px;height:9px}.nav-item.active .nav-dot{background:var(--cyan);border:0;box-shadow:0 0 0 4px #13b9d426}.profile-mini{text-align:left;width:100%;min-width:0;color:inherit;background:0 0;border:0;border-top:1px solid #ffffff1a;align-items:center;gap:10px;margin-top:auto;padding:11px;display:flex}.profile-mini>img,.profile-mini>span{object-fit:cover;background:#1769dd;border-radius:50%;flex:none;place-items:center;width:36px;height:36px;display:grid}.profile-mini div{flex-direction:column;min-width:0;display:flex}.profile-mini strong{font-size:12px}.profile-mini small{color:#8298b1;text-overflow:ellipsis;margin-top:3px;font-size:9px;overflow:hidden}.mobile-header,.bottom-nav{display:none}.main-content{padding-bottom:0}.next-duty{min-height:220px}.toast{bottom:25px}}@media (hover:hover) and (pointer:fine){a[href],button:not(:disabled),select,input[type=checkbox],input[type=radio],.toggle-row,[role=button]{cursor:pointer}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (max-width:480px){.form-grid input[type=time]{appearance:none;padding-inline:8px}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes shimmer{to{background-position-x:-250%}}@keyframes fade-in{0%{opacity:0}}@keyframes slide-up{0%{opacity:0;transform:translateY(18px)}}@keyframes detail-expand{0%{opacity:0;transform:scaleY(.92)translateY(-8px)}}:root{--navy:#061a33;--navy-2:#0b315e;--blue:#155eb5;--blue-light:#e4eef9;--cyan:#3ba8d8;--steel:#617287;--surface:#fffffff0;--line:#09264821;--red:#c93d48;--paper:#edf2f7;--silver:#dce3ea;--shadow:0 15px 34px #051b3617, 0 2px 5px #051b360d}html{background:var(--paper)}body{color:#0b223c;background:linear-gradient(#fff3, #fff3), repeating-linear-gradient(135deg, #07203d05 0 1px, transparent 1px 15px), radial-gradient(circle at 100% 0, #2267b01f, transparent 32rem), var(--paper)}.main-content{isolation:isolate;position:relative}.main-content:before{z-index:-1;aspect-ratio:1;content:"";opacity:.024;filter:grayscale();pointer-events:none;background:url(/icons/icon-512.png) 50%/contain no-repeat;width:min(44vw,520px);position:fixed;bottom:-9vw;right:3vw}.mobile-header{background:#edf2f7e0;border-bottom-color:#0725481c;box-shadow:0 6px 20px #051b360a}.mobile-header:after{content:"";opacity:.8;background:linear-gradient(90deg,#175bb0 0 43%,#f5f7fa 43% 57%,#c93d48 57% 100%);height:2px;position:absolute;bottom:-1px;left:0;right:0}.brand{gap:10px}.brand img{width:56px;height:56px;box-shadow:none;filter:drop-shadow(0 6px 7px #000d1f47);border-radius:0}.brand strong{color:#092341;letter-spacing:-.025em;max-width:150px;font-size:18px;font-weight:800;line-height:1.05}.brand.compact img{border-radius:0;width:42px;height:42px}.brand.compact strong{max-width:145px;font-size:16px}.bottom-nav{background:#f8fafcf0;border-top-color:#07254824;box-shadow:0 -8px 26px #051b3612}.bottom-nav button span{background:#bdc8d4;height:4px}.bottom-nav button.active span{background:linear-gradient(90deg,#155eb5 0 42%,#f7f8fa 42% 58%,#c93d48 58%)}.page-intro{padding-left:13px;position:relative}.page-intro:before{content:"";background:linear-gradient(#155eb5 0 43%,#fff 43% 57%,#c93d48 57%);border-radius:4px;width:4px;position:absolute;top:2px;bottom:2px;left:0;box-shadow:0 0 0 1px #0725480f}.page-intro h1{color:#071f3a;letter-spacing:-.045em;font-weight:820}.eyebrow{color:#17559c;letter-spacing:.17em;font-weight:850}.card{background:var(--surface);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-color:#0a2a4e21;border-radius:18px}.next-duty{background:linear-gradient(118deg,#0d427c33,#0000 55%),radial-gradient(circle at 88% 18%,#3aa6d84d,#0000 22rem),linear-gradient(145deg,#082b55,#05172e 75%);border-radius:20px 20px 12px;min-height:185px;box-shadow:0 18px 35px #04183133}.next-duty:before{z-index:2;content:"";background:linear-gradient(90deg,#2370c8 0 42%,#f3f5f7 42% 58%,#cf3d49 58%);width:116px;height:4px;position:absolute;top:0;right:24px}.next-duty h2{font-weight:780}.duty-time strong{font-weight:760}.balance-card{border-left:4px solid;border-radius:16px;min-height:132px;box-shadow:0 10px 24px #051b360f}.balance-card:after{opacity:.07;background:0 0;border:12px solid;width:90px;height:90px;top:-45px;right:-45px}.balance-card strong{color:#092341}.action-card{border-left:3px solid #1762b8;border-radius:16px;position:relative;overflow:hidden;box-shadow:0 10px 24px #051b360e}.action-card:first-child{background:linear-gradient(120deg,#e4effa,#fbfcfd 72%)}.action-card:nth-child(2){background:linear-gradient(120deg,#e7f2f6,#fbfcfd 72%);border-left-color:#3a93bf}.action-card:after{content:"";background:#0d4b8b14;width:44px;height:44px;position:absolute;top:-18px;right:-18px;transform:rotate(45deg)}.calendar-card{border-left:3px solid #1d865f;border-radius:15px}.sync-badge,.connection-badge{border:1px solid #08755421}.button{letter-spacing:.005em;border-radius:11px;font-weight:780}.button.primary{background:linear-gradient(145deg,#1764ba,#0b3f7a);box-shadow:0 8px 18px #0c47863d,inset 0 1px #fff3}.button.secondary{color:#0b4d91;background:#e2ebf5;box-shadow:inset 0 0 0 1px #09366614}.segmented{background:#dfe6ed;border:1px solid #0826481a;border-radius:12px}.segmented button{border-radius:8px}.segmented button.active{color:#082f5d;box-shadow:0 2px 7px #0826481f,inset 0 -2px #1b65b4}.month-toolbar{border-radius:14px}.calendar-grid{border-radius:16px}.calendar-cell{border-radius:9px}.calendar-cell.service{color:#0c4e92;background:#e0ebf7;box-shadow:inset 0 0 0 1px #1155970d}.calendar-cell.absence{color:#885300;background:#f8e9ca}.calendar-cell.rest.has-event{color:#394b85;background:#e6e9f3;border-bottom:2px solid #566ca6}.calendar-cell.today{color:#fff;background:linear-gradient(145deg,#165eb3,#1784bb);box-shadow:0 6px 13px #0c4e9147}.calendar-cell.selected{box-shadow:0 0 0 2px #fff,0 0 0 5px #10579e6b,0 8px 17px #08356829}.calendar-detail{border-left:4px solid #155eb5;border-radius:14px}.day-row,.record-card{border-radius:14px}.date-badge{color:#0b4e90;background:#e1ecf8;border-radius:10px}.form-section{border-radius:15px}.field input,.field select,.field textarea{background:#eef2f6;border-radius:10px}.toggle-row{border-radius:11px}.modal{background:#f3f6f9}.connection-hero img,.signin-icon,.loading-screen img{box-shadow:none;filter:drop-shadow(0 12px 14px #02142b40);border-radius:0}.signin-page{background:linear-gradient(120deg,#12559933,#0000 45%),repeating-linear-gradient(135deg,#ffffff06 0 1px,#0000 1px 16px),radial-gradient(circle at 88% 14%,#3199ca57,#0000 27rem),#04172e}html:has(.signin-page){background:#04172e}body:has(.signin-page){background:#04172e}#root:has(.signin-page){background:#04172e}.signin-card{background:#061f3dad;border-color:#d2e1ef33;border-radius:20px 20px 8px;box-shadow:0 32px 85px #0000004d,inset 0 1px #ffffff12}.signin-card:after{content:"";opacity:.9;background:linear-gradient(90deg,#2474c7 0 42%,#fff 42% 58%,#d94752 58%);width:90px;height:3px;margin-top:18px;display:block}.signin-icon{width:112px;height:112px;margin-bottom:24px}.signin-card h1{font-weight:800}.signin-card .button.primary{color:#fff;background:linear-gradient(145deg,#2370c3,#0c4078)}.privacy-note{color:#9bb0c7}@media (display-mode:standalone){.mobile-header{background:#edf2f7f5}.bottom-nav{background:#f8fafcfa}}@supports not (height:100dvh){body,#root,.app-shell,.main-content,.signin-page,.loading-screen{min-height:-webkit-fill-available}}.record-card.clickable{cursor:pointer}.record-card.clickable:hover{border-color:#125ca338;transform:translateY(-1px);box-shadow:0 10px 24px #07274d17}.field-hint{color:#607187;margin-top:-2px;font-size:12px;font-weight:650;display:block}.data-intro{background:linear-gradient(135deg,#fffffff0,#e1eef9d1);border-left:4px solid #1764ba;align-items:flex-start;gap:16px;margin-bottom:16px;padding:20px;display:flex}.data-intro h2{color:#092d55;letter-spacing:-.025em;margin:0 0 5px;font-size:20px}.data-intro p{color:#5f7085;margin:0;font-size:13px;line-height:1.55}.rules-page{gap:16px;display:grid}.rules-hero{color:#fff;background:linear-gradient(135deg,#061c37,#0e4a85 72%,#1768a6);padding:24px;position:relative;overflow:hidden}.rules-hero:after{content:"";opacity:.1;background:url(/icons/icon-512.png) 50%/contain no-repeat;width:190px;height:190px;position:absolute;bottom:-62px;right:-48px}.rules-hero .eyebrow{color:#82d4f3}.rules-hero h2{z-index:1;letter-spacing:-.04em;margin:5px 0 8px;font-size:clamp(24px,4vw,32px);position:relative}.rules-hero p:last-child{z-index:1;color:#c8d9eb;max-width:610px;margin:0;line-height:1.55;position:relative}.rules-grid{gap:12px;display:grid}.rule-card{border-top:3px solid #1c67b5;padding:18px}.rule-card-top{justify-content:space-between;align-items:center;display:flex}.rule-index{color:#8ca0b8;letter-spacing:.12em;font-size:12px;font-weight:850}.rule-badge{letter-spacing:.08em;border-radius:999px;align-items:center;min-height:23px;padding:4px 8px;font-size:10px;font-weight:850;display:inline-flex}.rule-badge.automatic{color:#075f4a;background:#dff3eb}.rule-badge.reference{color:#744b08;background:#f7e9c9}.rule-card h3,.v1-reference h3{color:#0a315b;letter-spacing:-.02em;margin:13px 0 7px;font-size:17px}.rule-card p,.v1-reference p,.v1-reference li{color:#5f7084;margin:0;font-size:13px;line-height:1.55}.v1-reference{background:linear-gradient(135deg,#fffdf8,#f9f0dc);border-left:4px solid #d49a2c;padding:20px}.v1-reference ul{gap:9px;margin:16px 0 0;padding-left:20px;display:grid}.v1-reference li::marker{color:#c58a1f}@media (min-width:720px){.rules-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.data-intro{align-items:center}}@media (min-width:980px){.app-shell{grid-template-columns:258px 1fr}.sidebar{background:linear-gradient(160deg,#1d62a93d,#0000 38%),repeating-linear-gradient(135deg,#ffffff05 0 1px,#0000 1px 15px),#041a34;padding:24px 18px 20px;position:sticky;overflow:hidden;box-shadow:8px 0 25px #0419321a}.sidebar:before{content:"";background:linear-gradient(#1764ba 0 43%,#eff3f6 43% 57%,#cc3d48 57%);width:4px;position:absolute;top:0;bottom:0;left:0}.sidebar:after{content:"";opacity:.045;filter:grayscale()brightness(4);pointer-events:none;background:url(/icons/icon-512.png) 50%/contain no-repeat;width:230px;height:230px;position:absolute;bottom:45px;right:-105px}.sidebar .brand strong{color:#f3f7fb}.sidebar nav{margin-top:36px}.nav-item{color:#aebed0;border-radius:10px;position:relative}.nav-item.active{background:linear-gradient(90deg,#276ab057,#ffffff12);box-shadow:inset 0 0 0 1px #ffffff14}.nav-item.active:after{content:"";background:#d5444f;border-radius:2px;width:3px;height:22px;position:absolute;right:8px}.nav-dot{border-radius:3px;transform:rotate(45deg)}.nav-item.active .nav-dot{background:#67c4e7;border-radius:2px;transform:rotate(45deg)}.profile-mini{z-index:1;border-top-color:#ffffff24;padding-top:16px;position:relative}.page{padding-left:38px;padding-right:38px}.next-duty{min-height:210px}.calendar-cell{border-radius:11px}}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--paper:#07111f;--surface:#0e1d31f0;--line:#9bb8d829;--steel:#a5b5c8;--blue-light:#142d4d;--silver:#21344a;--shadow:0 16px 38px #00050e47, 0 2px 7px #00050e38;background:#07111f}html[data-theme=dark] body{color:#e8f0f8;background:repeating-linear-gradient(135deg,#9dbee005 0 1px,#0000 1px 15px),radial-gradient(circle at 100% 0,#1c69b733,#0000 32rem),#07111f}html[data-theme=dark] .main-content:before{opacity:.045;filter:grayscale()brightness(2.4)}html[data-theme=dark] .mobile-header{background:#081524eb;border-bottom-color:#a4bedb29}html[data-theme=dark] .brand strong{color:#eef5fc}html[data-theme=dark] .profile-settings-button{color:#cce5ff;background:#13273fe0;border-color:#9bbcde2e;box-shadow:0 5px 15px #0003}html[data-theme=dark] .bottom-nav{background:#081524f7;border-top-color:#a4bedb2b;box-shadow:0 -8px 26px #0003}html[data-theme=dark] .bottom-nav button{color:#8293a7}html[data-theme=dark] .bottom-nav button.active{color:#69b8ff}html[data-theme=dark] .page-intro h1,html[data-theme=dark] .section-heading h2,html[data-theme=dark] .month-toolbar strong,html[data-theme=dark] .calendar-detail-header h2,html[data-theme=dark] .form-section h3,html[data-theme=dark] .modal h2,html[data-theme=dark] .empty-state h2,html[data-theme=dark] .connection-hero h2{color:#edf5fd}html[data-theme=dark] .page-intro>div>p:last-child,html[data-theme=dark] .row-main span,html[data-theme=dark] .action-card span,html[data-theme=dark] .empty-state p,html[data-theme=dark] .connection-hero p,html[data-theme=dark] .sync-note{color:#9aacbf}html[data-theme=dark] .eyebrow{color:#69b8ff}html[data-theme=dark] .card{background:var(--surface);border-color:var(--line)}html[data-theme=dark] .balance-card{color:#63b9ef;box-shadow:var(--shadow);background:#0e1d2f;border-color:#9bb8d824}html[data-theme=dark] .balance-card strong{color:#f0f6fc}html[data-theme=dark] .balance-card small,html[data-theme=dark] .balance-card>span{color:#91a3b8}html[data-theme=dark] .action-card,html[data-theme=dark] .action-card:first-child,html[data-theme=dark] .action-card:nth-child(2){color:#e8f1fa;background:linear-gradient(120deg,#112944,#0d1c2e 72%);border-color:#60a9e740}html[data-theme=dark] .calendar-card{background:#0d1d30}html[data-theme=dark] .segmented{background:#15263a;border-color:#9cb8d621}html[data-theme=dark] .segmented button{color:#91a2b6}html[data-theme=dark] .segmented button.active{color:#eaf4ff;background:#24415f;box-shadow:0 2px 8px #00000038,inset 0 -2px #4c9de8}html[data-theme=dark] .calendar-cell.service{color:#83c5ff;background:#142b45}html[data-theme=dark] .calendar-cell.absence{color:#ffd087;background:#3a2c18}html[data-theme=dark] .calendar-cell.rest{color:#66778a}html[data-theme=dark] .calendar-cell.rest.has-event{color:#bbbfff;background:#292b4d}html[data-theme=dark] .calendar-cell.selected{box-shadow:0 0 0 2px #07111f,0 0 0 5px #4f9de894,0 8px 17px #00000042}html[data-theme=dark] .date-badge{color:#8dcbff;background:#142c46}html[data-theme=dark] .calendar-detail-grid div{background:#132438}html[data-theme=dark] .calendar-detail-grid dt{color:#91a2b6}html[data-theme=dark] .calendar-detail-grid dd{color:#e8f1fa}html[data-theme=dark] .calendar-detail-empty{color:#9aacbf}html[data-theme=dark] .calendar-detail-note{background:#12303a}html[data-theme=dark] .calendar-detail-note p{color:#b8d7df}html[data-theme=dark] .calendar-detail-note.synced{background:#242744}html[data-theme=dark] .calendar-detail-note.synced p{color:#c7c9ef}html[data-theme=dark] .form-section,html[data-theme=dark] .modal{color:#e8f1fa;border-color:var(--line);background:#0d1b2d}html[data-theme=dark] .field>span,html[data-theme=dark] .field-hint{color:#9cafc3}html[data-theme=dark] .field input,html[data-theme=dark] .field select,html[data-theme=dark] .field textarea{color:#edf5fd;background:#132438;border-color:#9fbbd933}html[data-theme=dark] .field input:focus,html[data-theme=dark] .field select:focus,html[data-theme=dark] .field textarea:focus{background:#182c43;border-color:#5babf2b8;box-shadow:0 0 0 4px #4899e11f}html[data-theme=dark] .toggle-row{background:#132438}html[data-theme=dark] .toggle-row span{color:#91a3b7}html[data-theme=dark] .rest-event-date{color:#cce6ff;background:#142b45}html[data-theme=dark] .rest-event-date span{color:#8fb0d0}html[data-theme=dark] .modal-handle{background:#42566d}html[data-theme=dark] .modal .form>.button:last-child{box-shadow:0 10px 25px #0000004d,0 -10px 22px #0d1b2d}html[data-theme=dark] .skeleton-stack span{background:linear-gradient(100deg,#122238 30%,#1b3048 45%,#122238 60%) 0 0/250% 100%}html[data-theme=dark] .data-intro{background:linear-gradient(135deg,#102640,#0c1b2d)}html[data-theme=dark] .data-intro h2,html[data-theme=dark] .rule-card h3,html[data-theme=dark] .v1-reference h3{color:#eaf4fe}html[data-theme=dark] .data-intro p,html[data-theme=dark] .rule-card p,html[data-theme=dark] .v1-reference p,html[data-theme=dark] .v1-reference li{color:#a4b5c8}html[data-theme=dark] .rule-index{color:#70869e}html[data-theme=dark] .v1-reference{background:linear-gradient(135deg,#282619,#171c25)}html[data-theme=dark] .account-card strong,html[data-theme=dark] .settings-card-heading h2,html[data-theme=dark] .settings-sync-grid strong{color:#edf5fd}html[data-theme=dark] .account-card span,html[data-theme=dark] .settings-help,html[data-theme=dark] .settings-sync-grid span{color:#9badc1}html[data-theme=dark] .settings-value{color:#a8d6ff;background:#173452}html[data-theme=dark] .settings-sync-grid>div{background:#132438}html[data-theme=dark] .settings-danger-zone{border-color:#f1687c45}html[data-theme=dark] .settings-danger-zone h2{color:#ff9aac}html[data-theme=dark] .settings-danger-zone>div>p:last-child{color:#9badc1}html[data-theme=dark] .disconnect-confirm{color:#ffacb9;background:#351923;border-color:#f1687c47}html[data-theme=dark] .loading-screen{background:#07111f}html[data-theme=dark] .spinner{border-color:#5bb0f7 #25394f #25394f}@media (display-mode:standalone){html[data-theme=dark] .mobile-header{background:#081524f7}html[data-theme=dark] .bottom-nav{background:#081524fa}}
