:root{color:#17201c;background:#edf3f0;font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;font-synthesis:none;--green: #169b5b;--green-dark: #087944;--blue: #2f7eea;--orange: #f58536;--violet: #7764e8;--line: #e2ebe6;--muted: #748078;--panel: rgba(255, 255, 255, .96);letter-spacing:0}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#edf3f0}button,input,textarea{font:inherit}button{color:inherit}.app-shell{width:min(100%,460px);min-height:100vh;margin:0 auto;background:#f6faf8;box-shadow:0 0 42px #1c412f21}.app-content{min-height:100vh;padding-bottom:86px}.login-view{display:grid;min-height:100vh;padding:28px 18px;place-items:center}.login-panel{position:relative;z-index:1;width:min(100%,420px);padding:28px 22px;border-radius:18px;background:#fffffff7;box-shadow:0 18px 45px #1c412f29}.login-panel h1{margin:18px 0 8px;font-size:30px}.login-subtitle{margin:0 0 24px;color:var(--muted)}.login-panel form,.login-panel label{display:grid;gap:10px}.login-panel form{gap:16px}.login-panel label span{display:flex;align-items:center;gap:8px;font-weight:700}.login-panel input{width:100%;min-height:48px;padding:0 13px;border:1px solid #ccd9d2;border-radius:10px;outline-color:var(--green)}.login-error{padding:10px 12px;color:#a92e28;background:#fff0ee;border-radius:8px}.home-view,.dashboard-view,.form-view,.stocktake-view{min-height:100vh}.scenic-hero,.scenic-strip,.scenic-panel{position:relative;overflow:hidden}.scenic-hero:after,.scenic-strip:after,.scenic-panel:after{position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,#f4fcf9fa 8%,#f4fcf9bf 52%,#f4fcf91f),url(/assets/scenic-header.png) right center / cover no-repeat;content:""}.scenic-hero{min-height:154px;padding:18px 18px 16px}.scenic-hero:after{background:linear-gradient(90deg,#f4fcf9fc 12%,#f4fcf9e0 62%,#f4fcf95c),url(/assets/scenic-header.png) right center / cover no-repeat}.hero-copy,.page-header>*,.dashboard-header>*,.task-progress>*{position:relative;z-index:1}.hero-copy h1{max-width:330px;margin:10px 0 14px;font-size:27px;line-height:1.12}.home-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.home-date{margin:0;color:#5f6b65;font-size:13px;font-weight:700}.edition-tag,.department-tag{display:inline-flex;margin:0;padding:5px 10px;border-radius:8px;color:var(--green-dark);background:#dff2e8;font-weight:700}.employee-line{display:flex;align-items:center;gap:10px}.employee-line .avatar{display:grid;width:42px;height:42px;place-items:center;border:2px solid white;border-radius:50%;color:#fff;background:linear-gradient(145deg,#2e8b5b,#79bc88);box-shadow:0 5px 12px #0d4d2f2e;font-size:15px;font-weight:800}.employee-line strong{display:block;max-width:290px;font-size:16px;line-height:1.25}.employee-line p{margin:4px 0 0;color:#68746e;font-size:13px;font-weight:700}.action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:-22px 14px 16px;padding:18px 12px;border-radius:18px;background:var(--panel);box-shadow:0 10px 30px #23523a17;position:relative;z-index:2}.home-view>.section-title{margin:18px 18px 8px}.grouped-actions{margin:0 14px 12px;grid-template-columns:repeat(4,minmax(0,1fr))}.action-item{min-width:0;padding:0;border:0;background:transparent;cursor:pointer}.action-icon{display:grid;width:56px;height:56px;margin:0 auto 8px;place-items:center;border-radius:14px;color:#fff;box-shadow:inset 0 1px #ffffff59,0 8px 14px #264f3921}.action-item strong{display:block;overflow-wrap:anywhere;font-size:14px;line-height:1.25}.green{background:linear-gradient(145deg,#65d08b,#159f59)}.blue{background:linear-gradient(145deg,#68a5fa,#2876e2)}.orange{background:linear-gradient(145deg,#ffb173,#f27a31)}.violet{background:linear-gradient(145deg,#a190fb,#6d58e0)}.teal{background:linear-gradient(145deg,#55cbd0,#159da4)}.amber{background:linear-gradient(145deg,#ffd56c,#f5a91f)}.sky{background:linear-gradient(145deg,#75b7ff,#347ee6)}.focus-section,.dashboard-section{margin:14px;padding:16px 14px;border-radius:18px;background:var(--panel);box-shadow:0 8px 24px #28483912}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.section-title h2{display:flex;align-items:center;gap:8px;margin:0;font-size:19px}.section-title h2 span{width:4px;height:21px;border-radius:4px;background:var(--green)}.section-title button{border:0;color:var(--muted);background:transparent;cursor:pointer}.focus-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.focus-card{min-width:0;padding:14px 10px;border-radius:14px}.focus-card div{display:flex;align-items:baseline;justify-content:space-between;margin:8px 0}.focus-card span,.focus-card p{color:#59665f}.focus-card strong{font-size:27px}.focus-card small{margin-left:2px;font-size:12px}.focus-card p{margin:0;font-size:12px;line-height:1.35}.green-card{color:#179657;background:#eaf7f0}.orange-card{color:#ef762b;background:#fff1e7}.blue-card{color:#2b78e6;background:#eaf2ff}.bottom-nav{position:fixed;z-index:20;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(4,1fr);width:min(100%,460px);height:78px;margin:0 auto;padding:8px max(8px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fffffff7;backdrop-filter:blur(18px)}.nav-item{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:3px;border:0;color:#7a837e;background:transparent;font-size:12px;cursor:pointer}.nav-item.active{color:var(--green);font-weight:700}.nav-icon{position:relative;display:inline-flex}.notification-dot{position:absolute;top:-2px;right:-3px;width:8px;height:8px;border:2px solid white;border-radius:50%;background:#f04438}.page-header{display:grid;grid-template-columns:44px 1fr auto;align-items:start;min-height:136px;padding:28px 18px 18px}.page-header h1{margin:2px 0 12px;font-size:28px}.icon-button{display:grid;width:42px;height:42px;padding:0;place-items:center;border:0;border-radius:50%;background:#fff9;cursor:pointer}.product-summary,.business-form,.stocktake-card,.stocktake-summary,.task-progress{margin:0 14px 14px;border-radius:18px;background:#fff;box-shadow:0 8px 24px #234c3714}.product-summary{display:grid;grid-template-columns:120px 1fr;gap:16px;padding:14px}.product-summary img,.stocktake-product img{width:100%;aspect-ratio:1;border-radius:12px;object-fit:cover}.product-summary h2,.stocktake-product h2{margin:8px 0 14px;font-size:22px}.product-summary p{display:flex;align-items:center;gap:7px;margin:9px 0;color:var(--muted)}.product-summary strong{color:var(--green);font-size:21px}.business-form{padding:4px 16px 18px}.form-row{display:grid;grid-template-columns:94px minmax(0,1fr);align-items:center;min-height:76px;gap:10px;border-bottom:1px solid var(--line);font-weight:700}.form-row:last-of-type{border-bottom:0}.stepper,.select-field{display:flex;align-items:center;min-width:0;height:48px;border:1px solid #dfe8e3;border-radius:10px;background:#fbfdfc}.stepper button{display:grid;width:54px;height:100%;padding:0;place-items:center;border:0;color:var(--green);background:#eaf6ef;cursor:pointer}.stepper input{min-width:0;width:100%;border:0;outline:0;text-align:center;background:transparent;font-size:25px;font-weight:800}.select-field{justify-content:space-between;padding:0 13px;color:#4d5852;font-weight:500}.photo-row{align-items:start;padding:16px 0}.photo-row>span:first-child{padding-top:18px}.upload-box{display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:130px;border:1px dashed #cbd9d2;border-radius:12px;color:var(--green);background:#fbfdfc}.upload-box strong{margin:8px 0 4px;color:#4f5b55}.upload-box small,.upload-inline small{color:#8a948f;font-weight:400}.form-row textarea{min-height:52px;resize:vertical;border:1px solid #dfe8e3;border-radius:10px;outline-color:var(--green);padding:14px}.form-actions,.sticky-actions{display:grid;grid-template-columns:.85fr 1.15fr;gap:12px;margin-top:18px}.primary-button,.secondary-button{min-height:54px;border-radius:12px;font-size:18px;font-weight:800;cursor:pointer}.primary-button{border:0;color:#fff;background:linear-gradient(135deg,#199c5b,#0b874b);box-shadow:0 8px 18px #108f5033}.secondary-button{border:1px solid #cfe5d8;color:var(--green-dark);background:#edf8f2}.toast{position:fixed;z-index:40;bottom:94px;left:50%;margin:0;padding:10px 18px;transform:translate(-50%);border-radius:8px;color:#fff;background:#12231be6;white-space:nowrap}.error-toast{background:#aa2626eb}.state-card,.future-panel{margin:0 14px 14px;padding:18px;border-radius:14px;color:var(--muted);background:#fff;box-shadow:0 8px 24px #234c3714;text-align:center}.state-card.denied{color:#b25b13;background:#fff6eb}.state-card.error{color:#c0362c;background:#fff0ee}.inventory-business-view input,.search-input{min-width:0;width:100%;min-height:46px;padding:0 12px;border:1px solid #dfe8e3;border-radius:10px;outline-color:var(--green);background:#fbfdfc}.header-mark{position:relative;z-index:1;color:var(--green)}.three-actions{grid-template-columns:.8fr .8fr 1.2fr}.compact-metrics{margin-top:-20px}.list-panel{display:grid;gap:10px;padding-top:16px}.record-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:64px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fbfdfc;text-align:left;cursor:pointer}.operations-mobile-view .record-row{grid-template-columns:minmax(0,1fr) auto 18px}.record-row b.urgent{color:#bd3b32}.inline-state{margin:0;box-shadow:none}.account-card{display:flex;align-items:center;gap:14px;margin:-18px 14px 14px;padding:18px;border-radius:16px;background:#fff;box-shadow:0 8px 24px #234c3714}.account-avatar{display:grid;width:58px;height:58px;place-items:center;border-radius:50%;color:#fff;background:var(--green);font-size:24px;font-weight:800}.account-card h2,.account-card p{margin:0}.account-card p{margin-top:5px;color:var(--muted)}.account-details{display:grid;gap:4px;padding-top:14px}.account-details p{display:flex;justify-content:space-between;gap:12px;margin:0;padding:14px 0;border-bottom:1px solid var(--line)}.account-details strong{display:flex;align-items:center;gap:6px;text-align:right}.account-details button{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:12px}.record-row span,.future-panel{display:flex;flex-direction:column;gap:5px}.record-row strong,.record-row small{overflow-wrap:anywhere}.record-row small,.hint-text,.future-panel p{color:var(--muted)}.record-row b{padding:5px 8px;border-radius:7px;color:var(--green-dark);background:#e6f5ed;font-size:12px;white-space:nowrap}.alert-row b{color:#c45d18;background:#fff0e1}.future-panel{align-items:center}.future-panel svg{color:var(--green)}.stocktake-view .page-header{min-height:92px;align-items:center;padding-bottom:10px}.stocktake-view .page-header h1{margin:0;text-align:center;font-size:24px}.status-pill,.live-tag{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #bce0ca;border-radius:999px;color:var(--green-dark);background:#edf8f2;font-weight:700}.status-pill i{width:8px;height:8px;border-radius:50%;background:var(--green)}.task-progress{min-height:188px;padding:24px 20px}.task-progress h2{margin:0 0 9px;font-size:24px}.task-progress p{color:var(--muted)}.progress-label{margin-top:30px;font-size:17px}.progress-label strong{margin-left:5px;color:var(--green);font-size:33px}.progress-label span{color:var(--muted);font-size:18px}.progress-track{width:72%;height:9px;margin-top:8px;border-radius:99px;background:#dce8e2;overflow:hidden}.progress-track span{display:block;width:45%;height:100%;border-radius:inherit;background:var(--green)}.stocktake-card{padding:16px}.stocktake-product{display:grid;grid-template-columns:110px 1fr;align-items:center;gap:16px;padding-bottom:16px;border-bottom:1px solid var(--line)}.stocktake-product p{margin:0;color:var(--muted)}.count-row{display:grid;grid-template-columns:1fr 50px 62px 50px 28px;align-items:center;gap:7px;padding:20px 0;border-bottom:1px solid var(--line)}.count-row button{display:grid;width:48px;height:48px;padding:0;place-items:center;border:0;border-radius:10px;color:#fff;background:var(--green);cursor:pointer}.count-row strong{text-align:center;font-size:32px}.stocktake-field{display:grid;grid-template-columns:90px 1fr;align-items:start;gap:10px;padding:18px 0;border-bottom:1px solid var(--line)}.stocktake-field:last-child{border-bottom:0}.stocktake-field>span{padding-top:11px;font-weight:700}.upload-inline{display:flex;align-items:center;gap:12px;min-height:82px;padding:12px;border:1px dashed #cbd9d2;border-radius:10px;color:var(--green);background:#fbfdfc;text-align:left}.upload-inline span{display:flex;flex-direction:column;gap:5px;color:#455149}.reason-options{display:flex;flex-wrap:wrap;gap:8px}.reason-options button{display:inline-flex;align-items:center;gap:3px;min-height:38px;padding:0 12px;border:1px solid #d8e1dc;border-radius:8px;background:#fff;cursor:pointer}.reason-options button.selected{border-color:var(--green);color:var(--green-dark);background:#edf8f2}.stocktake-tabs{display:flex;gap:8px;margin:0 14px 14px;overflow-x:auto}.stocktake-tabs button{flex:0 0 auto;min-height:38px;padding:0 12px;border:1px solid #d8e1dc;border-radius:8px;color:#4d5852;background:#fff}.stocktake-tabs button.selected,.stocktake-list .record-row.selected{border-color:var(--green);background:#edf8f2}.stocktake-note{display:grid;grid-template-columns:90px 1fr;gap:10px;padding-top:16px;font-weight:700}.stocktake-note span{padding-top:12px}.stocktake-note textarea{min-height:74px;resize:vertical;border:1px solid #dfe8e3;border-radius:10px;outline-color:var(--green);padding:12px}.stocktake-list{display:grid;gap:10px;margin:0 14px 14px}.stocktake-submit-hint{margin:8px 14px 14px;text-align:center}.stocktake-summary{display:grid;grid-template-columns:1fr 1fr;padding:16px}.stocktake-summary>div{display:flex;align-items:center;gap:12px;padding:0 8px;color:var(--green)}.stocktake-summary>div+div{border-left:1px solid var(--line);color:#ed8b25}.stocktake-summary span{display:flex;flex-direction:column;color:#68736d;font-size:13px}.stocktake-summary strong{color:currentColor;font-size:27px}.stocktake-summary small{margin-left:3px;font-size:12px}.sticky-actions{margin:0;padding:12px 14px;border-top:1px solid var(--line);background:#fff}.dashboard-header{min-height:185px;padding:34px 18px 26px}.title-line{display:flex;align-items:center;gap:9px}.title-line h1{margin:0;font-size:29px}.live-tag{padding:4px 8px;border:0;font-size:12px}.dashboard-filters{display:grid;grid-template-columns:.9fr 1.4fr;gap:8px;margin-top:28px}.dashboard-filters button{min-width:0;min-height:42px;border:1px solid rgba(181,202,192,.8);border-radius:8px;color:#4e5b54;background:#ffffffc7;font-size:12px}.metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:-20px 14px 14px;position:relative;z-index:2}.metric-card{display:grid;grid-template-columns:58px 1fr;align-items:center;gap:10px;min-width:0;padding:14px;border-radius:14px;background:#fff;box-shadow:0 8px 22px #234c3714;border:0;text-align:left;cursor:pointer}.metric-icon{display:grid;width:54px;height:54px;place-items:center;border-radius:12px;color:#fff}.metric-card p,.metric-card small{margin:0;color:var(--muted);font-size:12px}.hr-mobile-view{min-height:100vh}.hr-menu-panel,.hr-card,.hr-form,.profile-panel,.approval-detail,.manager-shortcuts,.filter-panel{margin:0 14px 14px;padding:16px;border-radius:18px;background:#fff;box-shadow:0 8px 24px #234c3714}.hr-menu-panel{display:grid;gap:10px}.hr-menu-panel>button,.manager-shortcuts button,.hr-list>button{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:70px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fbfdfc;text-align:left}.hr-menu-panel button span,.hr-list article span,.hr-list button span,.result-banner span{display:flex;min-width:0;flex-direction:column;gap:4px}.hr-menu-panel small,.hr-list small,.result-banner small,.detail-identity span{color:var(--muted)}.menu-icon{display:grid!important;width:46px;height:46px;place-items:center;border-radius:12px;color:#fff}.manager-entry{padding-top:14px;border-top:1px solid var(--line)}.manager-entry>strong{display:block;margin-bottom:12px}.manager-entry>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.manager-entry button{display:flex;min-width:0;min-height:76px;align-items:center;flex-direction:column;justify-content:center;gap:7px;padding:8px 4px;border:1px solid #d8e5de;border-radius:10px;color:var(--green-dark);background:#f2faf5;font-size:12px}.attendance-clock{display:flex;min-height:178px;margin:0 14px 14px;align-items:center;flex-direction:column;justify-content:center;border-radius:18px;color:#fff;background:#137f4b;box-shadow:0 10px 24px #12704433}.attendance-clock strong{margin:10px 0;font-size:48px}.attendance-clock small{color:#dcf4e7}.hr-status-grid,.manager-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 14px 14px}.hr-status-grid article,.manager-metrics article{min-width:0;padding:15px;border-radius:14px;background:#fff;box-shadow:0 7px 20px #234c3712}.hr-status-grid span,.manager-metrics span{display:block;margin-bottom:8px;color:var(--muted)}.hr-status-grid strong{overflow-wrap:anywhere;font-size:14px}.manager-metrics strong{color:var(--green-dark);font-size:28px}.manager-metrics .warning strong{color:#d96d24}.manager-metrics .danger strong{color:#c84238}.status-line,.calculated-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.status-line b,.hr-list b{padding:6px 9px;border-radius:8px;color:var(--green-dark);background:#e7f6ee;font-size:12px;white-space:nowrap}.status-LATE,.status-EARLY_LEAVE,.status-LATE_AND_EARLY_LEAVE,.status-MISSING_PUNCH,.status-PENDING_MANAGER,.status-PENDING_HR,.status-DUE_30_DAYS{color:#b85b1c!important;background:#fff0e3!important}.status-ABSENT,.status-REJECTED,.status-EXPIRED,.status-DUE_7_DAYS{color:#b4322c!important;background:#ffebe9!important}.full-action{width:100%;margin-top:14px}.compact-action{min-height:42px;margin-top:10px;padding:0 16px;font-size:15px}.text-action{display:block;margin:12px auto 0;border:0;color:var(--green-dark);background:transparent}.result-banner{display:flex;align-items:center;gap:12px;margin:0 14px 14px;padding:14px 16px;border:1px solid #bce0ca;border-radius:14px;color:var(--green-dark);background:#eaf7f0}.hr-form{display:grid;gap:14px}.hr-form>label,.filter-panel label,.review-field{display:grid;gap:8px;color:#455149;font-weight:700}.hr-form input,.hr-form select,.hr-form textarea,.filter-panel input,.review-field textarea{width:100%;min-height:48px;padding:10px 12px;border:1px solid #d7e2dc;border-radius:10px;outline-color:var(--green);background:#fbfdfc}.hr-form textarea,.review-field textarea{min-height:92px;resize:vertical}.file-field{padding:13px;border:1px dashed #bdd2c6;border-radius:10px;color:var(--green-dark)!important;background:#f7fbf9}.file-field input{min-height:38px;padding:4px}.file-field small,.privacy-note{color:var(--muted);font-weight:400}.privacy-note{margin:0;padding:11px;border-left:4px solid var(--blue);background:#edf4ff;line-height:1.5}.geofence-location,.location-warning{display:flex;align-items:flex-start;gap:10px;margin-top:14px;padding:13px;border:1px solid #cfe0d6;border-radius:10px;background:#f5faf7}.geofence-location>span,.location-warning>span,.location-status-panel>div span{display:grid;min-width:0;gap:4px}.geofence-location svg{flex:0 0 auto;color:var(--green-dark)}.geofence-location small,.location-warning small,.location-status-panel small,.location-status-panel dt{color:var(--muted)}.location-warning{border-color:#edc9a9;color:#8a4518;background:#fff6ed}.location-status-panel{margin-top:12px;padding:13px;border:1px solid var(--line);border-radius:10px}.location-status-panel>div{display:flex;align-items:center;gap:10px}.location-status-panel dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 0}.location-status-panel dl div{padding:9px;border-radius:8px;background:#f4f7f5}.location-status-panel dt,.location-status-panel dd{margin:0;font-size:13px}.location-status-panel dd{margin-top:4px;font-weight:700}.location-refresh{display:flex;align-items:center;justify-content:center;gap:8px}.correction-link{color:#a64d18}.hr-list{display:grid;gap:10px;margin:0 14px 14px}.hr-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:72px;padding:13px;border:1px solid var(--line);border-radius:12px;background:#fff}.hr-list>button{grid-template-columns:minmax(0,1fr) auto;background:#fff}.hr-list em{color:#c84238;font-style:normal}.profile-identity,.detail-identity{display:flex;align-items:center;flex-direction:column;padding:10px 0 20px;border-bottom:1px solid var(--line)}.profile-identity>span{display:grid;width:64px;height:64px;margin-bottom:10px;place-items:center;border-radius:50%;color:#fff;background:var(--green);font-size:24px;font-weight:800}.profile-identity strong,.detail-identity strong{margin-bottom:5px;font-size:22px}.profile-panel dl,.approval-detail dl{margin:0}.profile-panel dl div,.approval-detail dl div{display:grid;grid-template-columns:94px minmax(0,1fr);gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.profile-panel dt,.approval-detail dt{color:var(--muted)}.profile-panel dd,.approval-detail dd{margin:0;overflow-wrap:anywhere;text-align:right}.manager-shortcuts{display:grid;gap:9px}.manager-shortcuts button{grid-template-columns:28px minmax(0,1fr) auto;min-height:58px}.review-field{margin-top:16px}.review-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.metric-card strong{display:block;margin:4px 0;color:#17201c;font-size:18px;overflow-wrap:anywhere;white-space:nowrap}.metric-card small b{color:var(--green)}.alert-list{display:flex;flex-direction:column}.alert-list button{display:grid;grid-template-columns:28px 1fr auto 42px;align-items:center;gap:8px;min-height:48px;padding:5px 0;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left}.alert-list button:last-child{border-bottom:0}.alert-list svg{color:#ef6a45}.alert-list b{padding:4px 6px;border:1px solid #f1baaa;border-radius:7px;color:#e85c3e;font-size:10px}.alert-list small{color:var(--muted)}.department-grid,.quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.department-grid span{display:flex;align-items:center;flex-direction:column;gap:5px;padding:10px 4px;border:1px solid var(--line);border-radius:10px;font-size:12px}.department-grid i{width:8px;height:8px;border-radius:50%}.department-grid .ok{background:var(--green)}.department-grid .warn{background:#f0a31d}.department-grid .danger{background:#e84d45}.department-grid span:nth-child(1) strong,.department-grid span:nth-child(4) strong{color:var(--green)}.department-grid span:nth-child(2) strong{color:#dc9112}.department-grid span:nth-child(3) strong{color:#df4942}.quick-grid button{display:flex;align-items:center;flex-direction:column;gap:7px;min-height:76px;padding:12px 4px;border:0;border-radius:12px;color:#1f6e49;background:#eaf7f0;cursor:pointer}.quick-grid button:nth-child(2){color:#276ecf;background:#eaf2ff}.quick-grid button:nth-child(3){color:#e77428;background:#fff1e7}.quick-grid button:nth-child(4){color:#6651d1;background:#f0edff}.compact-home-hero{min-height:96px;padding:16px;background:#f6faf8}.compact-home-hero:after{background:linear-gradient(135deg,#f6faf8,#eaf6ef)}.home-module{margin:0 16px 12px;padding:16px;border-radius:12px;background:var(--panel);box-shadow:0 8px 20px #2848390f}.home-module>.section-title{margin-bottom:12px}.home-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.status-card{display:grid;min-height:92px;padding:16px;border:1px solid #e3ece7;border-radius:12px;background:#fbfdfc;text-align:left}button.status-card{cursor:pointer}.status-card span,.status-card small{color:var(--muted);font-size:13px}.status-card strong{margin:6px 0;color:#17201c;font-size:26px;line-height:1.1}.home-module .action-grid{margin:0;padding:0;border-radius:12px;box-shadow:none}.home-module .action-icon,.metric-icon{border-radius:12px}.home-module .focus-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-module .focus-card,.metric-card,.dashboard-section,.business-form,.stocktake-card,.account-card,.state-card,.future-panel{border-radius:12px}.identity-switcher{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}.identity-switcher span{flex-basis:100%;color:#4d6258;font-size:13px}.identity-switcher button{min-height:44px;padding:0 12px;border:1px solid #cfe1d7;border-radius:10px;color:var(--green-dark);background:#fff;font-weight:800}.identity-switcher button.selected{color:#fff;background:var(--green);border-color:var(--green)}.inline-success,.inline-error{margin:10px 0 0;padding:10px 12px;border-radius:10px;font-size:14px;font-weight:700}.inline-success{color:#17643c;background:#e9f7ef}.inline-error{color:#b42318;background:#fff0f0}.compact-empty-focus{min-height:68px;grid-column:1 / -1}.compact-empty-focus p{display:none}.work-panel{display:grid;gap:12px;padding-top:16px}.work-panel h2{margin:0;font-size:18px}.work-group{display:grid;gap:10px;padding-top:6px}.work-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.work-action-grid button{min-height:48px;border:1px solid #d7e7df;border-radius:10px;color:var(--green-dark);background:#f1faf5;font-weight:800}@media(max-width:340px){.action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.focus-grid{grid-template-columns:1fr}.form-row,.stocktake-field{grid-template-columns:1fr;padding:14px 0}.photo-row>span:first-child,.stocktake-field>span{padding-top:0}.metric-grid{grid-template-columns:1fr}}
