:root{font-family:PingFang SC,Microsoft YaHei,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172335;background:#f7f9f7;font-synthesis:none;--primary: #078b76;--primary-dark: #047260;--primary-soft: #e8f6f1;--ink: #172335;--muted: #778191;--line: #e7ebe8;--surface: #ffffff;--background: #f7f9f7;--amber: #c78115;--amber-soft: #fff4df;--danger: #d04e4e;--shadow: 0 8px 28px rgba(28, 47, 42, .07), 0 1px 3px rgba(28, 47, 42, .06)}*{box-sizing:border-box}html,body,#app{margin:0;min-height:100%;background:var(--background)}body{min-width:320px;overscroll-behavior-y:none;-webkit-tap-highlight-color:transparent}button,input,textarea{font:inherit}button{color:inherit}button,a{-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed;opacity:.55}svg{display:block;width:1.25rem;height:1.25rem}.app-shell{min-height:100dvh;max-width:620px;margin:0 auto;background:var(--background)}.main-view{min-height:100dvh;padding-bottom:calc(88px + env(safe-area-inset-bottom))}.screen-content{position:relative;min-height:calc(100dvh - 88px);padding:calc(18px + env(safe-area-inset-top)) 18px 30px}.page-header{min-height:72px;margin-bottom:18px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.page-header h1{margin:4px 0 2px;font-size:29px;line-height:1.15;letter-spacing:-.04em}.page-header p,.page-header .eyebrow{color:var(--muted);font-size:13px}.today-header h1{font-size:30px}.eyebrow{display:block}.header-action,.icon-button{border:0;background:transparent;display:grid;place-items:center;width:44px;height:44px;border-radius:14px}.header-action{background:var(--surface);box-shadow:var(--shadow)}.header-action:active,.icon-button:active{background:var(--primary-soft)}.bottom-nav{position:fixed;z-index:30;left:50%;bottom:0;transform:translate(-50%);width:min(100%,620px);height:calc(76px + env(safe-area-inset-bottom));padding:7px 9px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(5,1fr);background:#fffffff5;border-top:1px solid rgba(22,50,42,.08);box-shadow:0 -8px 30px #16322a12;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.nav-item{position:relative;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#778191;font-size:11px;font-weight:600}.nav-item.active{color:var(--primary)}.nav-icon{position:relative;width:28px;height:28px;display:grid;place-items:center}.nav-icon svg{width:22px;height:22px}.nav-item.center{padding-top:0}.nav-create{width:48px;height:48px;margin-top:-24px;border-radius:50%;color:#fff;background:linear-gradient(145deg,#13a48c,#057863);box-shadow:0 8px 22px #078b7652;border:4px solid #fff}.nav-create svg{width:25px;height:25px;stroke-width:1.7}.nav-badge{position:absolute;top:-6px;right:-10px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;color:#fff;background:#df5d54;border:2px solid #fff;font-size:9px;display:grid;place-items:center}.progress-card,.weekly-overview,.weekly-summary,.history-summary{border:1px solid var(--line);background:var(--surface);border-radius:17px;box-shadow:var(--shadow)}.progress-card{padding:18px 17px;position:relative}.metric-row{display:flex;justify-content:space-between;gap:20px;margin-bottom:16px}.metric-row div{display:flex;align-items:baseline;gap:8px}.metric-row span,.weekly-metrics span,.weekly-summary span,.history-summary span{color:#616d7c;font-size:12px}.metric-row strong{color:var(--primary);font-size:27px;letter-spacing:-.04em}.metric-row small,.weekly-metrics small,.weekly-summary small,.history-summary small{margin-left:4px;color:#697483;font-size:11px;font-weight:500}.metric-row .metric-target strong{color:var(--ink)}.progress-track{position:relative;height:8px;overflow:hidden;border-radius:8px;background:#e8eeeb}.progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#08a184,#078b76);transition:width .35s ease}.progress-track.small{height:6px}.progress-caption{display:block;margin-top:6px;text-align:right;color:var(--muted);font-size:11px}.weekly-overview{width:100%;margin-top:14px;padding:17px;border-color:var(--line);text-align:left}.section-title-row{display:flex;align-items:center;justify-content:space-between}.section-title-row div{display:flex;flex-direction:column;gap:3px}.section-title-row strong{font-size:15px}.section-title-row span{color:var(--muted);font-size:12px}.section-title-row>svg{color:var(--muted)}.weekly-metrics{margin:16px 0 12px;display:grid;grid-template-columns:repeat(3,1fr)}.weekly-metrics div{display:flex;flex-direction:column;gap:5px;border-right:1px solid var(--line)}.weekly-metrics div:nth-child(n+2){padding-left:16px}.weekly-metrics div:last-child{border-right:0}.weekly-metrics strong{font-size:21px}.list-heading{margin:24px 2px 12px;display:flex;align-items:center;justify-content:space-between}.list-heading div{display:flex;align-items:baseline;gap:8px}.list-heading h2{margin:0;font-size:18px}.list-heading span{color:var(--muted);font-size:12px}.text-button{border:0;padding:7px 5px;background:transparent;color:var(--primary);font-weight:600;font-size:13px}.card-list,.plan-list,.approval-list,.history-groups{display:flex;flex-direction:column;gap:12px}.report-card{padding:15px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:var(--shadow)}.report-card-head{display:flex;align-items:center;gap:11px}.project-mark{flex:0 0 auto;width:38px;height:38px;border-radius:11px;display:grid;place-items:center}.project-mark svg{width:21px;height:21px}.project-mark.office{color:var(--primary);background:var(--primary-soft)}.project-mark.site{color:var(--amber);background:var(--amber-soft)}.report-title{min-width:0;flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:5px}.report-title strong{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}.work-tag{display:inline-flex;padding:3px 7px;border-radius:6px;font-size:10px;font-weight:600}.work-tag.office{color:var(--primary-dark);background:var(--primary-soft)}.work-tag.site{color:#a76405;background:var(--amber-soft)}.report-hours{white-space:nowrap;font-size:17px}.report-hours small{margin-left:3px;color:var(--muted);font-size:10px;font-weight:500}.report-content{margin:13px 0 9px;color:#405063;font-size:13px;line-height:1.65;white-space:pre-wrap}.report-meta{display:flex;align-items:center;justify-content:space-between;min-height:29px;color:var(--muted);font-size:11px}.icon-button{width:30px;height:30px}.icon-button svg{width:16px;height:16px}.icon-button.danger{color:var(--danger)}.floating-create{position:sticky;bottom:92px;z-index:4;float:right;margin:18px 1px 0;border:0;border-radius:24px;height:46px;padding:0 18px;display:flex;align-items:center;gap:7px;color:#fff;background:linear-gradient(145deg,#12a58d,#047561);box-shadow:0 10px 24px #078b7647;font-weight:700}.weekly-summary{position:relative;display:grid;grid-template-columns:repeat(3,1fr);padding:18px 15px 27px;background:linear-gradient(135deg,#f0fbf7,#f8fcfa)}.weekly-summary>div:not(.progress-track){display:flex;flex-direction:column;gap:6px;padding-left:13px;border-left:1px solid #dcebe5}.weekly-summary>div:first-child{padding-left:0;border-left:0}.weekly-summary strong,.history-summary strong{font-size:23px}.weekly-summary .progress-track{position:absolute;left:15px;right:45px;bottom:12px}.weekly-summary .progress-caption{position:absolute;right:13px;bottom:7px}.segmented-control{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:12px;background:#edf0ee}.segmented-control>button{min-height:37px;border:1px solid transparent;border-radius:9px;color:#687383;background:transparent;font-size:13px}.segmented-control>button.active{color:var(--primary-dark);background:#fff;border-color:#078b769e;box-shadow:0 1px 4px #078b7614;font-weight:700}.weekly-summary+.segmented-control{margin:15px 0}.plan-card{padding:15px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:var(--shadow)}.plan-head{display:flex;align-items:center;gap:11px}.plan-head>div{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}.plan-head strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.plan-head div span{color:var(--muted);font-size:11px}.status-chip{padding:4px 7px;border-radius:7px;font-size:10px;font-weight:600}.status-chip.success{color:var(--primary-dark);background:var(--primary-soft)}.plan-hours{margin:14px 0 10px;padding:12px;display:grid;grid-template-columns:repeat(3,1fr);gap:7px;border-radius:11px;background:#f7faf8}.plan-hours span{display:flex;flex-direction:column;gap:3px;color:var(--muted);font-size:10px}.plan-hours strong{color:var(--ink);font-size:15px}.plan-card p{margin:7px 0 14px;color:#556171;font-size:12px;line-height:1.6}.primary-button,.secondary-button{min-height:44px;border-radius:12px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:700;font-size:14px}.primary-button{border:0;color:#fff;background:linear-gradient(145deg,#0c9d85,#057762);box-shadow:0 7px 18px #078b7629}.secondary-button{border:1px solid #cad8d2;color:var(--primary-dark);background:#fff}.plan-card .secondary-button{width:100%}.sticky-action{position:sticky;bottom:91px;z-index:5;width:100%;margin-top:18px;box-shadow:0 8px 26px #078b7640}.compact-header{min-height:58px;margin-bottom:10px}.report-mode{margin-bottom:18px}.report-form{display:flex;flex-direction:column;gap:17px}.field{position:relative;display:flex;flex-direction:column;gap:8px;color:#273448;font-size:13px;font-weight:600}.field input,.field textarea,.select-input{width:100%;border:1px solid #dfe5e1;border-radius:12px;outline:none;color:var(--ink);background:#fff;font-size:14px;font-weight:500;transition:border-color .2s,box-shadow .2s}.field input{height:48px;padding:0 14px}.field textarea{padding:13px 14px;resize:none;line-height:1.65}.field input:focus,.field textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px #078b7617}.field small{color:var(--muted);font-size:10px;font-weight:500}.select-input{height:50px;border-color:#dfe5e1;padding:0 12px 0 15px;display:flex;align-items:center;justify-content:space-between;text-align:left}.select-input .placeholder{color:#a0a8b2}.select-input svg{width:18px;height:18px;color:var(--muted)}.field-label-row{display:flex;justify-content:space-between;align-items:baseline}.field-label-row strong{font-size:13px}.field-label-row span{color:var(--muted);font-size:11px}.plan-choice-list{display:flex;flex-direction:column;gap:9px}.plan-choice{width:100%;padding:11px;display:flex;align-items:center;gap:10px;text-align:left;border:1px solid var(--line);border-radius:13px;background:#fff}.plan-choice.selected{border-color:var(--primary);box-shadow:0 0 0 2px #078b7612}.choice-radio,.check-control{flex:0 0 auto;width:22px;height:22px;border:1.5px solid #9eabb5;border-radius:50%;display:grid;place-items:center;background:#fff}.choice-radio svg,.check-control svg{width:14px;height:14px}.plan-choice.selected .choice-radio,.check-control.checked{color:#fff;border-color:var(--primary);background:var(--primary)}.choice-main{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}.choice-main strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.choice-main small{color:var(--muted);font-size:10px}.source-chip{align-self:flex-start;margin-top:-8px;padding:5px 8px;color:var(--primary-dark);border-radius:8px;background:var(--primary-soft);font-size:10px;font-weight:700}.selected-project-card{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fff}.selected-project-card div{padding:12px;display:flex;flex-direction:column;gap:5px}.selected-project-card div+div{border-left:1px solid var(--line)}.selected-project-card span{color:var(--muted);font-size:10px}.selected-project-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.work-type{width:100%}.number-input{height:50px;border:1px solid #dfe5e1;border-radius:12px;display:grid;grid-template-columns:50px 1fr 50px;overflow:hidden;background:#fff}.number-input button{border:0;background:#f7f9f8;color:var(--primary);font-size:19px}.number-input input{height:48px;padding:0;border:0;border-left:1px solid var(--line);border-right:1px solid var(--line);border-radius:0;text-align:center;font-size:18px;font-weight:700}.number-input input::-webkit-inner-spin-button{display:none}.char-count{position:absolute;right:11px;bottom:8px}.form-error{margin:-4px 0;padding:10px 12px;border-radius:10px;color:#b23c3c;background:#fff0f0;font-size:12px}.primary-button.large{width:100%;min-height:51px;font-size:15px}.submit-button{margin-top:3px}.sheet-layer,.modal-layer{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:flex;align-items:flex-end;justify-content:center;background:#111f1c6b;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.bottom-sheet{width:min(100%,620px);max-height:82dvh;padding:9px 18px calc(20px + env(safe-area-inset-bottom));overflow:auto;border-radius:24px 24px 0 0;background:#fff;box-shadow:0 -15px 60px #111f1c33}.sheet-handle{width:42px;height:4px;margin:0 auto 15px;border-radius:2px;background:#d7ddda}.sheet-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:14px}.sheet-header span{color:var(--muted);font-size:11px}.sheet-header h2{margin:2px 0 0;font-size:22px}.search-input{height:46px;margin-bottom:13px;padding:0 13px;display:flex;align-items:center;gap:9px;border-radius:12px;background:#f1f5f3}.search-input svg{color:var(--muted);width:18px;height:18px}.search-input input{min-width:0;flex:1;border:0;outline:0;background:transparent;font-size:13px}.project-option-list{display:flex;flex-direction:column}.project-option-list button{min-height:68px;padding:10px 2px;display:flex;align-items:center;gap:11px;border:0;border-bottom:1px solid var(--line);background:#fff;text-align:left}.project-option-list button>span:nth-child(2){min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}.project-option-list strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.project-option-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:10px}.project-option-list button>svg{color:var(--muted);width:17px;height:17px}.history-date{height:48px;margin-bottom:13px;padding:0 14px;display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:var(--shadow)}.history-date svg{color:var(--primary)}.history-date input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--ink);font-weight:600}.history-summary{margin-bottom:18px;padding:15px;display:grid;grid-template-columns:repeat(3,1fr);background:linear-gradient(135deg,#edf9f5,#f9fcfb)}.history-summary div{display:flex;flex-direction:column;gap:5px;padding-left:13px;border-left:1px solid #dcebe5}.history-summary div:first-child{padding-left:0;border-left:0}.history-group{display:flex;flex-direction:column;gap:9px}.history-group-head{display:flex;align-items:center;justify-content:space-between;padding:5px 3px 2px}.history-group-head strong{font-size:14px}.history-group-head span{color:var(--muted);font-size:11px}.approval-type{margin-bottom:14px}.approval-type button span{min-width:18px;height:18px;margin-left:4px;padding:0 4px;display:inline-grid;place-items:center;border-radius:9px;color:#fff;background:var(--amber);font-size:9px}.person-filter{margin:0 -18px 5px;padding:1px 18px 10px;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}.person-filter::-webkit-scrollbar{display:none}.person-filter button{flex:0 0 auto;min-height:36px;padding:0 11px;border:1px solid var(--line);border-radius:18px;display:flex;align-items:center;gap:5px;color:#596676;background:#fff;font-size:11px}.person-filter button.active{color:var(--primary-dark);border-color:#078b768c;background:var(--primary-soft);font-weight:700}.person-filter button i{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;color:var(--primary-dark);background:#d9f1e9;font-style:normal;font-size:10px}.person-filter button span{color:var(--muted);font-size:9px}.select-row{min-height:45px;display:flex;align-items:center;gap:9px;color:#4c5969;font-size:12px}.select-row .check-control{border-radius:50%}.select-row small{margin-left:auto;color:var(--muted)}.approval-groups{display:flex;flex-direction:column;gap:20px}.approval-group{display:flex;flex-direction:column;gap:9px}.approval-group-head{padding:0 2px;display:flex;align-items:center;gap:9px}.approval-group-head>div{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}.approval-group-head>div strong{font-size:13px}.approval-group-head>div span{color:var(--muted);font-size:10px}.approval-group-head .person-avatar{width:34px;height:34px;border-radius:10px}.approval-group-head .text-button{font-size:11px}.approval-card{padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow);transition:border-color .2s}.approval-card.selected{border-color:var(--primary)}.approval-card-head{display:flex;align-items:center;gap:10px}.approval-card-head>div{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}.approval-card-head>div strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.approval-card-head>div span{color:var(--muted);font-size:10px}.approval-hours{white-space:nowrap;color:var(--primary);font-size:17px}.approval-hours small{margin-left:3px;color:var(--muted);font-size:9px;font-weight:500}.approval-customer{margin:11px 0 0 32px;color:var(--muted);font-size:10px}.person-avatar{width:37px;height:37px;display:grid;place-items:center;border-radius:11px;color:var(--primary-dark)!important;background:var(--primary-soft);font-weight:700;font-size:14px!important}.approval-card p{margin:7px 0 12px 32px;color:#526071;font-size:12px;line-height:1.6}.approval-meta{margin-left:32px;display:flex;align-items:center;justify-content:space-between}.approval-meta>span:last-child{max-width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:9px}.profile-card{margin-bottom:14px;padding:15px;display:flex;align-items:center;gap:12px;border-radius:17px;color:#fff;background:linear-gradient(135deg,#159b84,#08715f);box-shadow:0 10px 26px #078b7633}.profile-avatar{width:45px;height:45px;flex:0 0 auto;display:grid;place-items:center;border:1px solid rgba(255,255,255,.35);border-radius:14px;background:#ffffff29;font-size:18px;font-weight:700}.profile-card>div{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}.profile-card>div strong{font-size:16px}.profile-card>div span{color:#ffffffbd;font-size:10px}.profile-card>svg{width:25px;height:25px;opacity:.45}.calendar-card{padding:14px 10px 12px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow)}.calendar-toolbar{height:43px;display:grid;grid-template-columns:44px 1fr 44px;align-items:center}.calendar-toolbar button{width:38px;height:38px;border:1px solid #edf0ee;border-radius:11px;display:grid;place-items:center;color:#77828f;background:#fff}.calendar-toolbar button:last-child{justify-self:end}.calendar-toolbar button:disabled{opacity:.3}.calendar-toolbar button svg{width:18px;height:18px}.calendar-toolbar strong{text-align:center;font-size:16px}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.calendar-weekdays{padding:9px 0 7px}.calendar-weekdays span{color:#4b5563;text-align:center;font-size:11px;font-weight:700}.calendar-day,.calendar-blank{min-width:0;min-height:56px}.calendar-day{position:relative;padding:5px 2px 3px;border:1px solid transparent;border-radius:11px;display:flex;flex-direction:column;align-items:center;gap:2px;color:#344052;background:transparent}.calendar-day .calendar-number{font-size:13px;font-weight:700}.calendar-day strong{min-height:12px;max-width:100%;overflow:hidden;color:inherit;font-size:9px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.calendar-day small{max-width:100%;overflow:hidden;color:inherit;opacity:.8;font-size:7px;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.calendar-day.filled{color:#087862;background:#d9f4ea}.calendar-day.missing{color:#c33f51;background:#fde9ec}.calendar-day.rest{color:#9198a1;background:#f2f3f3}.calendar-day.future{color:#596473}.calendar-day.today{box-shadow:inset 0 0 0 1.5px var(--primary)}.calendar-day.selected{color:#fff;border-color:var(--primary-dark);background:var(--primary);box-shadow:0 6px 14px #078b7638}.calendar-day.selected small{color:#ffffffd9}.calendar-legend{padding:12px 3px 0;display:flex;justify-content:center;gap:17px;color:var(--muted);font-size:9px}.calendar-legend span{display:flex;align-items:center;gap:5px}.calendar-legend i{width:8px;height:8px;border-radius:3px}.calendar-legend i.filled{background:#86d8bf}.calendar-legend i.missing{background:#ef9ca8}.calendar-legend i.rest{background:#ced1d3}.month-summary{margin-top:12px;padding:14px 15px;display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:15px;background:linear-gradient(135deg,#f5faf8,#fff)}.month-summary div{padding-left:13px;border-left:1px solid var(--line);display:flex;flex-direction:column;gap:4px}.month-summary div:first-child{padding-left:0;border-left:0}.month-summary span{color:var(--muted);font-size:10px}.month-summary strong{font-size:20px}.month-summary div:nth-child(2) strong{color:var(--primary)}.month-summary div:nth-child(3) strong{color:var(--danger)}.month-summary small{margin-left:3px;color:var(--muted);font-size:9px;font-weight:500}.my-history-heading{margin-top:20px}.my-history-heading>span{color:var(--primary);font-size:12px;font-weight:700}.state-block{min-height:190px;padding:30px 20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--muted);text-align:center}.state-block.compact{min-height:120px;padding:20px 15px;border:1px dashed #dce3df;border-radius:14px}.state-block strong{color:#3c4959;font-size:14px}.state-block span{max-width:290px;font-size:11px;line-height:1.6}.state-icon{width:48px;height:48px;margin-bottom:3px;display:grid;place-items:center;border-radius:16px;background:var(--primary-soft);font-size:15px}.state-icon svg{width:23px;height:23px;color:var(--primary)}.spinner,.button-spinner{border-radius:50%;border:2px solid #d7e5e0;border-top-color:var(--primary);animation:spin .75s linear infinite}.spinner{width:30px;height:30px}.button-spinner{width:17px;height:17px;border-color:#ffffff59;border-top-color:#fff}@keyframes spin{to{transform:rotate(360deg)}}.modal-layer{align-items:center;padding:20px}.modal-card{width:min(100%,360px);padding:24px;border-radius:20px;background:#fff;text-align:center;box-shadow:0 24px 70px #111f1c40}.modal-icon{width:50px;height:50px;margin:0 auto 10px;display:grid;place-items:center;border-radius:16px;background:var(--primary-soft);font-size:24px}.modal-icon svg{width:25px;height:25px;color:var(--primary)}.modal-card h3{margin:0 0 8px;font-size:19px}.modal-card p{margin:0 0 20px;color:var(--muted);font-size:12px;line-height:1.7}.modal-card>.primary-button{width:100%}.modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.toast-stack{position:fixed;z-index:200;top:calc(14px + env(safe-area-inset-top));left:50%;transform:translate(-50%);width:min(calc(100% - 36px),480px);pointer-events:none;display:flex;flex-direction:column;gap:7px}.toast{padding:12px 15px;border-radius:12px;color:#fff;background:#24443b;box-shadow:0 8px 24px #111f1c33;font-size:12px;text-align:center;animation:toast-in .25s ease-out}.toast.error{background:#b54747}@keyframes toast-in{0%{opacity:0;transform:translateY(-10px)}}.login-view{min-height:100dvh;max-width:620px;margin:0 auto;padding:calc(42px + env(safe-area-inset-top)) 22px calc(24px + env(safe-area-inset-bottom));display:flex;flex-direction:column;justify-content:center;background:radial-gradient(circle at 90% 10%,#e0f5ed 0,transparent 34%),linear-gradient(180deg,#f9fbfa,#f1f7f4)}.login-brand{margin-bottom:38px;display:flex;align-items:center;gap:14px}.brand-mark{width:54px;height:54px;border-radius:17px;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#12a58d,#057561);box-shadow:0 10px 24px #078b763d}.brand-mark svg{width:27px;height:27px}.login-brand h1{margin:0;font-size:24px}.login-brand p{margin:5px 0 0;color:var(--muted);font-size:12px}.login-card{padding:24px 20px;display:flex;flex-direction:column;gap:18px;border:1px solid rgba(255,255,255,.7);border-radius:22px;background:#ffffffe6;box-shadow:0 22px 60px #1841351a}.login-card,.login-card .field,.login-card input{min-width:0;max-width:100%}.login-heading span{color:var(--primary);font-size:11px;font-weight:700}.login-heading h2{margin:4px 0 0;font-size:22px}.login-footer{margin:22px 0 0;color:var(--muted);font-size:11px;text-align:center}@media (min-width: 621px){body{background:#e9efec}.app-shell,.login-view{box-shadow:0 0 70px #1841351f}}@media (max-width: 360px){.screen-content{padding-left:14px;padding-right:14px}.weekly-metrics div:nth-child(n+2){padding-left:9px}.metric-row strong{font-size:23px}.weekly-summary strong,.history-summary strong{font-size:19px}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
