@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700;800&display=swap');

:root{
  --navy:#07132f;
  --text:#243a67;
  --muted:#6f82aa;
  --blue:#146dff;
  --blue-2:#357ff7;
  --blue-soft:#edf5ff;
  --green:#28ad68;
  --green-soft:#e9f9f0;
  --red:#ef3f3f;
  --red-soft:#ffe8e8;
  --yellow:#f5aa18;
  --yellow-soft:#fff7dd;
  --purple:#6a2be8;
  --purple-soft:#efe6ff;
  --line:#dfe8f3;
  --line-2:#e9eff6;
  --bg:#f7fbff;
  --white:#ffffff;
  --shadow:0 10px 28px rgba(31,73,125,.06);
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--navy);background:var(--bg)}
a{color:inherit}
button,input,select{font:inherit}
button{cursor:pointer}

/* ===== shared decorative background ===== */
.saas-bg{position:relative;min-height:calc(100vh - 92px);overflow:hidden;background:linear-gradient(180deg,#fbfdff 0%,#f7fbff 100%)}
.saas-bg::before,.saas-bg::after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.saas-bg::before{width:330px;height:330px;left:-145px;top:82px;background:rgba(214,230,255,.55)}
.saas-bg::after{width:390px;height:390px;right:-175px;bottom:70px;background:rgba(218,247,233,.62)}
.dot-grid{position:absolute;width:170px;height:108px;opacity:.62;pointer-events:none;background-image:radial-gradient(circle,#b7cff2 3px,transparent 3.2px);background-size:28px 28px}
.dot-grid.left{left:53px;top:310px}.dot-grid.right{right:62px;bottom:130px;background-image:radial-gradient(circle,#b9dfcd 3px,transparent 3.2px)}

/* ===== header ===== */
.site-header{height:92px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 70px;border-bottom:1px solid #edf1f6;position:relative;z-index:40}
.brand{display:flex;align-items:center;gap:22px;text-decoration:none}
.brand-logo{width:60px;height:60px;object-fit:cover;display:block}
.brand-name{font-family:Poppins,Inter,sans-serif;font-weight:700;font-size:32px;line-height:1;color:var(--navy);letter-spacing:-1.2px}
.brand-tag{font-size:16px;color:#7284a6;display:flex;align-items:center;gap:22px}
.brand-tag::after{content:"";width:1px;height:30px;background:#e1e6ee;display:block}
.logout-btn{background:#050505;color:#fff;text-decoration:none;border-radius:4px;padding:12px 26px;font-weight:600;font-size:16px;box-shadow:0 3px 8px rgba(0,0,0,.12)}

/* ===== landing ===== */
.landing-main{position:relative;z-index:2;text-align:center;padding:44px 24px 40px;min-height:calc(100vh - 92px)}
.eyebrow{margin:0 0 17px;font-size:14px;letter-spacing:6px;font-weight:700;color:#7087b4}
.landing-title{font-family:Poppins,Inter,sans-serif;font-weight:800;font-size:62px;line-height:1.06;letter-spacing:-2px;margin:0;color:var(--navy)}
.landing-subtitle{font-size:23px;line-height:1.4;color:#7584a4;margin:22px auto 35px;max-width:760px}
.role-grid{display:grid;grid-template-columns:448px 448px;gap:38px;justify-content:center;position:relative;z-index:2}
.role-card{height:476px;background:#fff;border:1px solid #edf1f5;border-radius:18px;box-shadow:var(--shadow);padding:18px 28px 28px;display:flex;flex-direction:column;align-items:center;text-decoration:none;transition:.15s ease}
.role-card:hover{transform:translateY(-2px);box-shadow:0 14px 36px rgba(31,73,125,.10)}
.role-image{width:100%;height:270px;object-fit:contain;display:block}
.role-card h2{font-family:Poppins,Inter,sans-serif;font-size:32px;line-height:1;margin:7px 0 10px;color:var(--navy)}
.role-card p{font-size:14px;color:#6c7da2;margin:0 0 18px}
.role-cta{margin-top:auto;width:100%;height:58px;border-radius:13px;color:#fff;display:flex;align-items:center;justify-content:center;gap:24px;font-weight:700;font-size:17px}
.role-cta.admin{background:linear-gradient(90deg,#2d7af0,#2576ed)}
.role-cta.worker{background:linear-gradient(90deg,#28ad68,#2bb16d)}
.role-cta .arrow{font-size:23px;line-height:1}

/* ===== auth login ===== */
.auth-main{position:relative;z-index:2;min-height:calc(100vh - 92px);padding:82px 20px 50px;text-align:center}
.auth-title{font-family:Poppins,Inter,sans-serif;font-weight:800;font-size:62px;line-height:1.05;letter-spacing:-2px;margin:0 0 45px;color:var(--navy)}
.auth-card{width:648px;max-width:calc(100vw - 40px);margin:0 auto;background:#fff;border:1px solid #edf1f5;border-radius:18px;box-shadow:var(--shadow);text-align:left;padding:46px 48px 48px}
.auth-card.worker-card{width:684px;padding:24px 40px 36px;text-align:left}
.auth-card h2{font-family:Poppins,Inter,sans-serif;font-size:34px;line-height:1.1;margin:0 0 10px;color:var(--navy)}
.auth-card.worker-card h2{text-align:center;margin:14px 0 25px}
.auth-desc{font-size:15px;color:#7182a7;margin-bottom:30px}
.auth-illustration{display:block;width:240px;height:168px;object-fit:contain;margin:0 auto}
.form-field{margin-bottom:22px}
.form-field label{display:block;font-weight:700;color:#405579;margin:0 0 10px;font-size:16px}
.input-wrap{position:relative}
.input-wrap svg{position:absolute;left:20px;top:50%;transform:translateY(-50%);width:24px;height:24px;stroke:#64799f;fill:none;stroke-width:1.8}
.form-input,.form-select{width:100%;height:64px;border:1px solid #cbd8ea;background:#fff;border-radius:14px;padding:0 18px;font-size:18px;color:var(--navy);outline:none}
.input-wrap .form-input{padding-left:74px}
.form-input::placeholder{color:#9aa8c0}
.form-input:focus,.form-select:focus{border-color:#8fb7f6;box-shadow:0 0 0 3px rgba(20,109,255,.08)}
.auth-submit{width:100%;height:64px;border:none;border-radius:12px;background:linear-gradient(90deg,#1d70ff,#2c79f1);color:#fff;font-weight:700;font-size:19px}
.worker-actions{display:flex;gap:14px;margin-top:4px}
.worker-actions .auth-submit{width:138px}
.secondary-link{height:64px;min-width:166px;border:1px solid #cbd8ea;border-radius:12px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;color:var(--navy);font-weight:700;font-size:18px;background:#fff}
.auth-flash{margin-bottom:18px;padding:11px 14px;border-radius:10px;background:#fff1f1;color:#a93535;font-size:14px}

/* ===== admin / worker app shell ===== */
.app-shell{display:flex;min-height:calc(100vh - 92px);background:var(--bg);position:relative;overflow:hidden}
.sidebar{width:244px;flex:0 0 244px;background:#fff;border-right:1px solid #edf1f5;padding:48px 14px 28px;position:relative;z-index:4}
.sidebar.worker-sidebar{width:236px;flex-basis:236px;padding-top:30px}
.nav-link{height:58px;border-radius:10px;display:flex;align-items:center;gap:20px;padding:0 24px;text-decoration:none;color:#435779;font-size:18px;font-weight:500;margin-bottom:10px}
.nav-link svg{width:28px;height:28px;stroke:#68799b;fill:none;stroke-width:1.8;flex:0 0 auto}
.nav-link.active{background:#eef5ff;color:#0667f3;font-weight:600}
.nav-link.active svg{stroke:#0d6efd}
.page-area{flex:1;min-width:0;position:relative;z-index:2;padding:32px 34px 42px;background:linear-gradient(180deg,#f9fcff 0%,#f7fbff 100%)}
.page-area::before,.page-area::after{content:"";position:absolute;border-radius:50%;pointer-events:none;z-index:-1}
.page-area::before{width:260px;height:260px;left:-70px;top:-86px;background:rgba(216,231,255,.52)}
.page-area::after{width:300px;height:300px;right:-110px;top:-90px;background:rgba(216,248,232,.62)}
.page-dots{position:absolute;pointer-events:none;width:155px;height:100px;background-image:radial-gradient(circle,#bdd3f3 2.8px,transparent 3px);background-size:25px 25px;opacity:.62}
.page-dots.top-left{left:60px;top:20px}.page-dots.top-right{right:45px;top:70px;background-image:radial-gradient(circle,#b7dfcc 2.8px,transparent 3px)}.page-dots.bottom-right{right:28px;bottom:20px}
.content-wrap{position:relative;z-index:2;max-width:1400px;margin:0 auto}
.page-title{font-family:Poppins,Inter,sans-serif;font-weight:800;font-size:58px;letter-spacing:-2px;line-height:1.02;margin:0;color:var(--navy)}
.page-subtitle{font-size:18px;color:#667dad;margin:8px 0 28px}
.dashboard-title{text-align:center;font-size:60px;margin:74px 0 45px}

.panel{background:#fff;border:1px solid #edf1f5;border-radius:16px;box-shadow:var(--shadow)}
.panel.pad{padding:28px 32px}
.section-title{font-family:Poppins,Inter,sans-serif;font-weight:700;font-size:28px;line-height:1.2;margin:0;color:var(--navy)}
.section-note{font-size:15px;color:#7184ad;margin:7px 0 0}

/* ===== buttons / fields / tables ===== */
.btn{border:none;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:9px;height:46px;padding:0 22px;background:var(--blue);color:#fff;font-weight:600;white-space:nowrap}
.btn:hover{filter:brightness(.98)}
.btn.secondary{background:#eef5ff;color:#0870f8}
.btn.outline{background:#fff;color:#324a75;border:1px solid #ccd9ea}
.btn.green{background:#2cb36e}.btn.red{background:#ee3f40}.btn.small{height:34px;padding:0 12px;font-size:13px}.btn.icon-only{width:40px;padding:0}
.filter-grid{display:grid;grid-template-columns:1.25fr 1.15fr 1.15fr 1.3fr auto auto;gap:18px;align-items:end}
.field label{display:block;color:#36507b;font-size:13px;font-weight:600;margin:0 0 8px}
.field input,.field select{width:100%;height:42px;border:1px solid #cad8eb;border-radius:9px;background:#fff;padding:0 14px;color:#203763;outline:none;font-size:14px}
.field input:focus,.field select:focus{border-color:#8fb7f6;box-shadow:0 0 0 3px rgba(20,109,255,.06)}
.search-box{position:relative}.search-box input{padding-left:42px}.search-box svg{position:absolute;left:14px;bottom:11px;width:20px;height:20px;stroke:#647aa2;fill:none;stroke-width:2}
.table-card{padding:12px 16px 18px;margin-top:18px}
.table-toolbar{display:flex;justify-content:space-between;align-items:center;padding:4px 5px 12px;gap:20px}
.table-title{font-family:Poppins,Inter,sans-serif;font-size:19px;font-weight:700;display:flex;align-items:center;gap:12px}
.table-title svg{width:24px;height:24px;stroke:#62779e;fill:none;stroke-width:1.8}
.table-meta{font-size:13px;color:#7183aa;display:flex;align-items:center;gap:28px}
.table-wrap{overflow:auto;border:1px solid #e1e9f3;border-radius:8px;background:#fff}
.table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:13px;color:#243b67}
.table th{background:#edf5fd;padding:10px 13px;text-align:left;font-weight:600;color:#243a67;border-bottom:1px solid #dee8f2}
.table td{padding:10px 13px;border-bottom:1px solid #e8eef5;vertical-align:middle}
.table tr:last-child td{border-bottom:0}
.pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:5px 16px;font-size:12px;font-weight:600;min-width:84px}
.pill.good{background:#dcf6e8;color:#168a50}.pill.bad{background:#ffe4e4;color:#e23b3b}.pill.warn{background:#fff0c7;color:#e18b00}.pill.info{background:#e1f0ff;color:#0b70db}.pill.purple{background:#eee4ff;color:#6422dd}
.pager{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.page-btn{width:36px;height:36px;border-radius:8px;border:1px solid #d6e2f0;background:#fff;color:#29416e}.page-btn.active{background:#116bff;color:#fff;border-color:#116bff}

/* ===== dashboard ===== */
.dashboard-panel{padding:34px 36px 38px;max-width:1250px;margin:0 auto}
.dashboard-panel .section-title{font-size:38px;margin-bottom:24px}
.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.stat-card{height:148px;border:1px solid #dce6f1;border-radius:14px;display:flex;align-items:center;padding:0 28px;background:#fff}
.icon-bubble{width:86px;height:86px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:0 0 auto;margin-right:34px}
.icon-bubble.blue{background:#eef5ff}.icon-bubble.green{background:#e9faef}
.icon-bubble svg{width:42px;height:42px;stroke-width:1.9;fill:none}.icon-bubble.blue svg{stroke:#1a73f7}.icon-bubble.green svg{stroke:#25a765}
.stat-label{font-size:18px;color:#7283a5}.stat-value{font-family:Poppins,Inter,sans-serif;font-size:34px;font-weight:700;margin-top:4px}
.flow-card{margin-top:26px;min-height:190px;border:1px solid #dce6f1;border-radius:14px;display:flex;align-items:flex-start;padding:28px;background:#fff}
.flow-card .icon-bubble{width:82px;height:82px;margin-right:32px}.flow-card h3{font-family:Poppins,Inter,sans-serif;font-size:25px;margin:10px 0 10px}.flow-card p{font-size:18px;line-height:1.5;color:#7183a9;margin:0;max-width:900px}

/* ===== worker attendance ===== */
.worker-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}
.worker-greeting{display:flex;align-items:center;gap:18px}.worker-greeting-text{font-size:12px;color:#6e81a7}.worker-greeting-name{font-size:18px;font-weight:700;color:var(--navy);margin:2px 0}.worker-avatar{width:90px;height:90px;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 5px 14px rgba(48,83,127,.12)}
.worker-page-title{font-family:Poppins,Inter,sans-serif;font-size:50px;letter-spacing:-1.5px;margin:0}.worker-page-subtitle{font-size:16px;color:#687da8;margin:4px 0 0}
.attendance-panel{padding:16px 22px 18px}.attendance-panel .section-title{font-size:31px;margin-bottom:14px}
.identity-strip{height:72px;border:1px solid #dce7f2;border-radius:11px;background:#fbfdff;display:flex;align-items:center;padding:0 20px;margin-bottom:12px}
.avatar-circle{width:48px;height:48px;border-radius:50%;background:#edf5ff;display:flex;align-items:center;justify-content:center;margin-right:20px}.avatar-circle svg{width:30px;height:30px;stroke:#0d70ff;fill:#0d70ff;stroke-width:1.2}
.identity-label{font-size:12px;color:#6f83a9}.identity-value{font-size:23px;font-weight:700;color:var(--navy)}.identity-name{margin-left:48px;padding-left:42px;border-left:1px solid #d9e3ef}
.attendance-selects{display:grid;grid-template-columns:1fr .8fr 1.2fr .8fr 1.55fr 1fr;gap:16px;border:1px solid #e3eaf3;border-radius:10px;padding:10px 14px 8px;margin-bottom:12px}.attendance-selects .field label{margin-bottom:5px}.attendance-selects .field select{height:36px}
.scan-grid{display:grid;grid-template-columns:1.75fr 1.05fr;gap:12px}.scan-left{border:1px solid #dce7f2;border-radius:11px;padding:14px;display:grid;grid-template-columns:1.8fr 1fr;gap:14px}.camera-box{min-height:215px;background:#f0f5fb;border-radius:9px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.camera-box video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#111}.camera-placeholder{position:relative;z-index:2;text-align:center;color:#68799a}.camera-placeholder svg{width:72px;height:72px;stroke:#68799a;fill:none;stroke-width:1.7}.camera-placeholder strong{display:block;font-size:18px;margin:8px 0 6px}.camera-placeholder span{font-size:13px;line-height:1.45}.action-stack{display:grid;gap:9px;align-content:start}.action-stack .btn{width:100%}.status-panel{border:1px solid #dce7f2;border-radius:11px;padding:14px 18px}.status-row{display:grid;grid-template-columns:44px 1fr auto;gap:10px;align-items:start;padding:0 0 12px;border-bottom:1px solid #e7edf5}.status-row+.status-row{padding-top:12px}.status-row:last-child{border-bottom:0;padding-bottom:0}.status-icon{width:38px;height:38px;border-radius:50%;background:#eef5ff;display:flex;align-items:center;justify-content:center}.status-icon.warn{background:#fff6d8}.status-icon svg{width:22px;height:22px;stroke:#2678ee;fill:none;stroke-width:2}.status-icon.warn svg{stroke:#f0a400}.status-label{font-weight:700;font-size:13px}.status-desc{font-size:11px;color:#7285a8;margin-top:6px;line-height:1.4}.status-badge{padding:5px 10px;border-radius:9px;background:#ffe5e5;color:#e34040;font-size:11px;font-weight:600}.status-badge.neutral{background:#e4ebf5;color:#263a61}
.worker-history{margin-top:14px;padding:10px 0 0}.worker-history .table-toolbar{padding:0 4px 8px}.worker-history .table-title{font-size:18px}.worker-history .table th,.worker-history .table td{padding:6px 12px;font-size:12px}

/* ===== employees ===== */
.employees-header{display:flex;justify-content:space-between;align-items:center;gap:20px}.employee-total{display:flex;align-items:center;gap:18px;margin-right:34px}.employee-total .icon-bubble{width:80px;height:80px;margin:0}.employee-total small{font-size:13px;color:#7184a9}.employee-total strong{display:block;font-size:30px;line-height:1.05;margin:3px 0}
.employee-card{padding:18px 20px}.employee-topbar{display:flex;justify-content:space-between;gap:18px;margin-bottom:16px}.employee-search{width:585px;max-width:65%}.employee-table input{height:32px;border:1px solid #d5e1ef;border-radius:7px;padding:0 8px;width:130px}.action-buttons{display:flex;gap:7px}.action-icon{width:36px;height:32px;border-radius:8px;border:0;display:inline-flex;align-items:center;justify-content:center;background:#eef5ff;color:#0870f8}.action-icon.danger{background:#ffe8e8;color:#ed3f3f}.action-icon svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:2}.edit-row{display:none;background:#fbfdff}.edit-row.open{display:table-row}.edit-box{padding:12px;display:flex;gap:10px;align-items:end;flex-wrap:wrap}.edit-box .field{min-width:170px}.edit-box .field input{width:180px}

/* ===== projects ===== */
.page-heading-row{display:flex;justify-content:space-between;align-items:center;gap:20px}.project-card{padding:22px}.project-tools{display:flex;justify-content:space-between;gap:18px;margin-bottom:18px}.project-search{width:448px;max-width:60%}.status-select{width:210px}.project-name{font-weight:700;color:var(--navy)}.subtle{font-size:12px;color:#7284aa;margin-top:3px}.shift-pill{background:#e1efff;color:#0e6cf2;border-radius:8px;padding:6px 15px;display:inline-block}.shift-pill.night{background:#efe5ff;color:#5a23d7}.project-action-form{display:inline}.kebab{width:42px;height:40px;border-radius:8px;border:1px solid #dce6f1;background:#f6faff;color:#34507e;font-weight:700}
.project-create-box{display:none;margin-bottom:18px;border:1px solid #dce6f1;border-radius:12px;padding:14px;background:#fbfdff}.project-create-box.open{display:block}.project-create-form{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end}

/* ===== data payroll ===== */
.payroll-grid{display:grid;grid-template-columns:1fr 1.03fr;gap:20px}.payroll-card{padding:24px 28px;min-height:360px}.payroll-card-head{display:flex;align-items:flex-start;gap:22px}.file-icon,.upload-icon{width:82px;height:82px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:0 0 auto}.file-icon{background:#edf5ff;color:#116bff}.upload-icon{background:#e9faef;color:#25aa64}.file-icon svg,.upload-icon svg{width:40px;height:40px;stroke:currentColor;fill:none;stroke-width:1.9}.payroll-card h2{font-family:Poppins,Inter,sans-serif;font-size:27px;margin:6px 0 8px}.payroll-card p{font-size:15px;color:#7184aa;line-height:1.45;margin:0}.download-big{margin-top:24px;width:100%;height:62px;font-size:18px}.upload-form{margin-top:12px}.upload-form .field{margin-bottom:12px}.upload-row{display:grid;grid-template-columns:1fr 138px}.upload-row input{border-radius:9px 0 0 9px;border-right:0}.file-picker{height:42px;border:1px solid #cad8eb;border-radius:0 9px 9px 0;background:#eef5ff;color:#203763;font-weight:600;display:flex;align-items:center;justify-content:center;cursor:pointer}.upload-form input[type=file]{display:none}.upload-btn{width:100%;margin-top:12px}.upload-history{margin-top:20px;padding:18px 20px}.upload-history h2{font-family:Poppins,Inter,sans-serif;font-size:24px;margin:0}.upload-history p{font-size:14px;color:#7183aa;margin:4px 0 14px}

/* ===== payroll calculate ===== */
.calculate-wrap{max-width:1260px;margin:40px auto 0}.calculate-panel{padding:24px 32px 26px}.calculate-panel h2,.result-panel h2{font-family:Poppins,Inter,sans-serif;font-size:28px;margin:0}.calculate-panel p,.result-panel>p{font-size:15px;color:#7183aa;margin:6px 0 22px}.calc-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.calc-help{font-size:12px;color:#7183aa;margin-top:6px}.calculate-btn{margin-top:24px;width:290px;height:62px;font-size:18px}.result-panel{margin-top:20px;padding:22px 32px}.download-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.download-card{border:1px solid #dce6f1;border-radius:10px;padding:14px 16px;display:grid;grid-template-columns:76px 1fr auto;gap:16px;align-items:center}.excel-icon{width:70px;height:70px;border-radius:50%;background:#e6faef;display:flex;align-items:center;justify-content:center;color:#14a95d}.excel-icon svg{width:38px;height:38px;stroke:currentColor;fill:none;stroke-width:1.8}.download-card h3{font-size:15px;margin:0 0 5px}.download-card p{font-size:13px;color:#7183aa;margin:0;line-height:1.4}.download-card .btn{background:#eef5ff;color:#086df2}

/* ===== hidden/dev functionality preserved below primary screenshot area ===== */
.dev-tools{margin-top:24px}.dev-tools summary{cursor:pointer;color:#7083a8;font-size:13px}.dev-tools .panel{margin-top:10px;padding:18px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.inline-form{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.flash{margin-bottom:14px;padding:12px 14px;border-radius:10px}.flash.success{background:#e8f8f0;color:#11814e}.flash.error{background:#fff0f0;color:#ad3030}

/* ===== responsive ===== */
@media(max-width:1180px){
  .site-header{padding:0 28px}.landing-title,.auth-title{font-size:48px}.role-grid{grid-template-columns:1fr 1fr;max-width:900px;margin:auto}.role-card{width:100%}
  .sidebar{width:210px;flex-basis:210px}.page-title{font-size:48px}.filter-grid{grid-template-columns:repeat(2,1fr)}.payroll-grid,.download-grid{grid-template-columns:1fr}.scan-grid{grid-template-columns:1fr}.scan-left{grid-template-columns:1fr}.attendance-selects{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:820px){
  .site-header{height:76px;padding:0 18px}.brand-logo{width:46px;height:46px}.brand-name{font-size:26px}.brand{gap:12px}.brand-tag{display:none}.logout-btn{padding:9px 14px;font-size:14px}
  .saas-bg{min-height:calc(100vh - 76px)}.landing-main{padding-top:36px}.eyebrow{font-size:11px;letter-spacing:3px}.landing-title,.auth-title{font-size:36px;letter-spacing:-1px}.landing-subtitle{font-size:17px}.role-grid{grid-template-columns:1fr;max-width:430px;gap:20px}.role-card{height:auto}.role-image{height:230px}
  .auth-main{padding-top:50px}.auth-card,.auth-card.worker-card{padding:28px 22px}.auth-card h2{font-size:28px}.form-input{height:56px}.auth-submit,.secondary-link{height:56px}
  .app-shell{display:block}.sidebar{display:none}.page-area{padding:22px 14px}.page-title,.worker-page-title{font-size:38px}.dashboard-title{font-size:40px;margin:20px 0 24px}.dashboard-panel{padding:22px}.stats-grid{grid-template-columns:1fr}.flow-card{padding:20px}.attendance-selects{grid-template-columns:repeat(2,1fr)}.worker-head{align-items:flex-start}.worker-greeting{display:none}.calc-grid{grid-template-columns:1fr}.download-card{grid-template-columns:64px 1fr}.download-card .btn{grid-column:1/-1}.employee-topbar,.project-tools,.page-heading-row{align-items:stretch;flex-direction:column}.employee-search,.project-search,.status-select{width:100%;max-width:none}
}


/* ===== NO-IMAGE EDITION ===== */
/* Semua elemen visual di bawah dibuat dengan CSS/teks. Tidak ada file gambar yang diperlukan. */
.brand-mark{width:60px;height:60px;background:#ef3f35;color:#fff;border-radius:0;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:.9;font-family:Arial,sans-serif;font-size:17px;font-weight:800;letter-spacing:-1px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.brand-mark span{display:block;white-space:nowrap}
.flash-stack{position:fixed;z-index:100;top:102px;right:18px;width:min(420px,calc(100vw - 36px))}
.nav-symbol{width:26px;display:inline-flex;align-items:center;justify-content:center;font-size:25px;line-height:1;color:#6f82aa;font-family:Arial,sans-serif}
.nav-link.active .nav-symbol{color:#1470ff}
.role-visual{width:100%;height:270px;border-radius:16px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(circle at 50% 52%,#eaf3ff 0 42%,transparent 43%)}
.role-worker{background:radial-gradient(circle at 50% 52%,#e7f8ee 0 42%,transparent 43%)}
.role-emoji{font-size:174px;line-height:1;filter:saturate(.95)}
.role-chip{position:absolute;width:66px;height:66px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:29px;background:#eef4ff;color:#4d7ce8;border:1px solid #e0e9f7}
.role-chip.chart{left:38px;top:115px}.role-chip.gear{right:35px;top:120px;font-size:38px}.role-chip.checklist{right:34px;top:118px;background:#f2f6ff;color:#3d6ed8}
.auth-avatar{width:160px;height:132px;border-radius:50%;background:#eaf3ff;margin:-5px auto 12px;display:flex;align-items:center;justify-content:center;font-size:108px;line-height:1;overflow:hidden}
.worker-avatar-css{width:84px;height:84px;border-radius:50%;background:#eef6ff;border:3px solid #fff;display:flex;align-items:center;justify-content:center;font-size:54px;line-height:1;overflow:hidden}
.input-symbol{position:absolute;left:24px;top:50%;transform:translateY(-50%);color:#60779e;font-size:24px;z-index:2;line-height:1}.input-wrap .form-input{padding-left:74px}
.bubble-symbol{font-family:Inter,Arial,sans-serif;font-weight:800;font-size:24px;line-height:1;color:currentColor}.file-icon .bubble-symbol,.upload-icon .bubble-symbol{font-size:18px}.file-icon .bubble-symbol{background:#176fff;color:#fff;padding:9px 6px;border-radius:4px}.upload-icon .bubble-symbol{font-size:40px}
.ui-symbol,.title-symbol,.search-symbol,.status-symbol,.camera-symbol{display:inline-flex;align-items:center;justify-content:center;line-height:1;font-family:Arial,sans-serif}.title-symbol{width:25px;color:#667b9f;font-size:20px}.search-symbol{position:absolute;left:16px;bottom:14px;color:#61779c;font-size:25px;z-index:2}.status-symbol{font-size:18px;color:#2975ec}.status-icon.warn .status-symbol{color:#efa400}.camera-symbol{font-size:64px;color:#68799a;margin-bottom:4px}.excel-text{font-weight:800;font-size:13px;color:#13a960;background:#fff;border-radius:4px;padding:8px 4px;border:2px solid currentColor}
.action-icon{font-size:16px;font-weight:700}.action-icon::before{content:'•'}.action-icon.danger::before{content:'×'}
.search-box{position:relative}
.worker-auth-main{padding-top:72px}.worker-auth-title{margin-bottom:36px}
@media(max-width:820px){.brand-mark{width:46px;height:46px;font-size:13px}.role-emoji{font-size:145px}.worker-avatar-css{width:64px;height:64px;font-size:42px}}

/* ===== FIX MENU MOBILE ADMIN/PEKERJA ===== */
@media (max-width: 820px) {
  .app-shell{
    display:block;
  }

  .sidebar,
  .sidebar.worker-sidebar{
    display:flex !important;
    width:100% !important;
    height:auto;
    flex-basis:auto;
    padding:10px 12px;
    gap:8px;
    overflow-x:auto;
    overflow-y:hidden;
    border-right:none;
    border-bottom:1px solid #edf1f5;
    background:#ffffff;
    white-space:nowrap;
    position:relative;
    z-index:5;
  }

  .sidebar::-webkit-scrollbar{
    height:4px;
  }

  .nav-link{
    flex:0 0 auto;
    height:46px;
    margin:0;
    padding:0 14px;
    gap:8px;
    font-size:14px;
  }

  .nav-symbol{
    width:20px;
    font-size:19px;
  }

  .page-area{
    width:100%;
    padding:22px 14px;
  }
}
