:root{--bg:#f8f3f5;--card:#fff;--text:#2b1720;--muted:#74616a;--line:#eadde2;--primary:#8b1e3f;--primary2:#6f1732;--danger:#b4232f;--success:#16835d;--warning:#a76600;--nav:#4a1024;--shadow:0 14px 40px rgba(79,18,41,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;background:var(--bg);color:var(--text)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.center-page{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card{width:min(440px,100%);background:var(--card);border:1px solid var(--line);border-radius:22px;padding:30px;box-shadow:var(--shadow)}.brand-mark{width:54px;height:54px;border-radius:16px;background:var(--primary);color:#fff;display:grid;place-items:center;font-weight:850;margin-bottom:18px}.auth-card h1{font-size:28px;margin:0 0 8px}.muted{color:var(--muted)}.small{font-size:12px}.required{color:var(--danger)}
.field{margin:14px 0}.field label{font-weight:700;font-size:14px;display:block;margin-bottom:7px}.input,select,textarea{width:100%;padding:12px 13px;border:1px solid #d9c6cd;border-radius:12px;background:#fff;outline:none}.input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(139,30,63,.14)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:11px;padding:11px 16px;font-weight:750;cursor:pointer}.btn.primary{background:var(--primary);color:#fff}.btn.primary:hover{background:var(--primary2)}.btn.secondary{background:#f5e9ed;color:#542338}.btn.ghost{background:#fff;border:1px solid var(--line);color:#344054}.btn.danger{background:#fdeceb;color:var(--danger)}.btn.full{width:100%}.btn-large{min-height:48px;padding-inline:22px}.btn:disabled{opacity:.6;cursor:not-allowed}
.alert{padding:12px 14px;border-radius:11px;margin:14px 0}.alert.success{background:#e8f7f1;color:#0e6849}.alert.danger{background:#fdeceb;color:#9c281f}.alert.warning{background:#fff5dd;color:#7b5200}.alert.mini{padding:9px 11px;margin:8px 0;font-size:12px}
.app{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--nav);color:#d9e3f5;padding:24px 17px;position:sticky;top:0;height:100vh;z-index:20;overflow-y:auto;overscroll-behavior:contain}.sidebar .logo{font-size:20px;font-weight:850;color:#fff;padding:7px 10px 22px}.nav{display:flex;flex-direction:column;gap:4px}.nav a{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:10px}.nav a span{width:20px;text-align:center}.nav a:hover,.nav a.active{background:#7a1b38;color:#fff}.nav a b{font-weight:650}.nav-more-toggle{display:none;background:transparent;color:inherit;border:0}.mobile-more{display:none}.main{padding:27px;min-width:0}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.topbar h1{font-size:27px;margin:0}
.card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:20px;box-shadow:0 8px 24px rgba(79,18,41,.05)}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.stats-6{grid-template-columns:repeat(6,minmax(0,1fr))}.stats-8{grid-template-columns:repeat(4,minmax(0,1fr))}.stats-9{grid-template-columns:repeat(3,minmax(0,1fr))}.stat .value{font-size:30px;font-weight:850;margin-top:5px;letter-spacing:-.03em}.stat .small-value{font-size:22px}.stat .label{color:var(--muted);font-size:13px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:25px 0 12px}.section-title h2{font-size:18px;margin:0}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;min-width:760px}.table th,.table td{text-align:left;padding:12px;border-bottom:1px solid var(--line);font-size:14px;vertical-align:top}.table th{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}.table.compact th,.table.compact td{padding:10px}.badge{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:750;white-space:nowrap}.badge.success{background:#e7f6ef;color:#107451}.badge.warning{background:#fff4da;color:#8b5d00}.badge.danger{background:#fdeceb;color:#9c281f}.badge.muted{background:#eff2f6;color:#556070}.actions{display:flex;gap:8px;flex-wrap:wrap}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px}.footer-note{font-size:12px;color:var(--muted);margin-top:20px}
.attendance-panel{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(290px,.9fr);gap:18px}.attendance-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.clock{font-size:44px;font-weight:850;letter-spacing:-2px}.location-box{padding:13px;background:#fbf6f8;border-radius:12px;margin:12px 0}.camera-box{padding:12px;border:1px solid var(--line);border-radius:14px;background:#fcf7f9}.camera-preview{display:block;width:100%;max-height:390px;aspect-ratio:3/4;object-fit:cover;border-radius:12px;background:#111;transform:scaleX(-1)}.photo-preview{width:100%;max-height:390px;aspect-ratio:3/4;object-fit:cover;border-radius:12px;margin-top:10px;display:none}.camera-status{margin-top:9px}.camera-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.device-note{padding:9px 11px;border-radius:10px;background:#f7edf1;color:#5f3a49}.today-row{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line)}
.dashboard-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.segmented{display:inline-flex;gap:4px;background:#efe3e7;padding:4px;border-radius:12px;max-width:100%;overflow:auto}.segmented a{padding:8px 12px;border-radius:9px;font-size:13px;font-weight:750;white-space:nowrap;color:#536071}.segmented a.active{background:#fff;color:#172033;box-shadow:0 2px 8px rgba(79,18,41,.09)}.leader-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.leader{display:flex;flex-direction:column;gap:7px}.leader span{color:var(--muted);font-size:13px}.leader b{font-size:18px}.leader small{color:#475467}.settings-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);gap:16px}.policy-box{padding:12px 14px;border-radius:12px;background:#f9ecef;color:#6d2338;margin:10px 0}
.capture-mode .sidebar,.capture-mode .topbar,.capture-mode .dashboard-toolbar .btn,.capture-mode .footer-note{display:none!important}.capture-mode .app{display:block}.capture-mode .main{padding:12px}.capture-mode{background:#fff}
.public-body{background:#f6f0f2;min-height:100vh}.public-wrap{width:min(1220px,calc(100% - 28px));margin:0 auto;padding:24px 0 38px}.public-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.public-head h1{margin:4px 0 5px;font-size:30px}.eyebrow{font-size:12px;letter-spacing:.14em;font-weight:850;color:var(--primary)}.public-tabs{margin-bottom:16px}.public-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px}.public-summary-5{grid-template-columns:repeat(5,minmax(0,1fr))}.public-table{min-width:680px}.public-note{text-align:center;color:var(--muted);font-size:12px;margin-top:18px}.period-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.period-title span{color:var(--muted);font-size:13px}
code{background:#f3f5f8;border-radius:7px;padding:2px 6px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}
@media(max-width:1180px){.stats-6,.stats-8,.stats-9{grid-template-columns:repeat(3,1fr)}.leader-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.app{grid-template-columns:1fr}.sidebar{height:auto;position:sticky;top:0;padding:10px 12px}.sidebar .logo{display:none}.nav{flex-direction:row;overflow:auto;gap:5px}.nav a{white-space:nowrap;padding:9px 11px}.main{padding:18px}.grid{grid-template-columns:repeat(2,1fr)}.attendance-panel{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr}.public-summary{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){body{padding-bottom:72px}.app{min-height:calc(100vh - 72px)}.sidebar{position:fixed;left:0;right:0;bottom:0;top:auto;height:68px;padding:6px 8px;background:#4a1024;border-top:1px solid rgba(255,255,255,.08)}.nav{height:100%;display:flex;flex-direction:row;overflow-x:auto;align-items:center;justify-content:flex-start}.nav a,.nav-more-toggle{min-width:66px;height:56px;padding:6px 8px;flex-direction:column;gap:2px;justify-content:center;align-items:center;border-radius:10px;font-size:11px}.nav a span,.nav-more-toggle span{font-size:18px;line-height:1}.nav a b,.nav-more-toggle b{font-size:10px;max-width:64px;overflow:hidden;text-overflow:ellipsis}.nav .mobile-secondary{display:none}.nav-more-toggle{display:flex}.mobile-more{position:fixed;right:10px;bottom:76px;z-index:60;width:min(240px,calc(100% - 20px));background:#fff;border:1px solid var(--line);border-radius:16px;padding:8px;box-shadow:0 18px 50px rgba(79,18,41,.20)}.more-open .mobile-more{display:grid}.mobile-more a{padding:12px;border-radius:10px;font-weight:700}.mobile-more a:hover{background:#f8eef2}.main{padding:14px}.topbar{align-items:flex-start;gap:10px}.topbar h1{font-size:22px}.topbar>div:last-child{font-size:12px}.grid,.stats-6,.stats-8,.stats-9,.two-col,.leader-grid{grid-template-columns:1fr 1fr}.clock{font-size:36px}.camera-preview,.photo-preview{max-height:56vh}.dashboard-toolbar{align-items:stretch;flex-direction:column}.dashboard-toolbar .segmented{width:100%}.dashboard-toolbar .segmented a{flex:1;text-align:center}.public-wrap{width:min(100% - 18px,1220px);padding-top:14px}.public-head{align-items:center}.public-head h1{font-size:23px}.public-head .btn{padding:9px 12px}.public-tabs{display:flex;width:100%}.public-tabs a{flex:1;text-align:center}.public-summary{grid-template-columns:1fr 1fr}.public-summary .card{padding:14px}.public-summary .value{font-size:25px}.period-title{align-items:flex-start;gap:6px;flex-direction:column}}
@media(max-width:430px){.grid,.stats-6,.stats-8,.stats-9,.leader-grid,.two-col{grid-template-columns:1fr}.card{padding:16px}.clock{font-size:32px}.attendance-head{align-items:center}.public-summary{grid-template-columns:1fr 1fr}.segmented a{padding:8px 9px}}
@media(orientation:landscape) and (max-height:560px) and (max-width:950px){.attendance-panel{grid-template-columns:1fr 1fr}.camera-preview,.photo-preview{max-height:54vh;aspect-ratio:4/3}.sidebar{height:58px}.nav a{height:48px}.main{padding-bottom:66px}.clock{font-size:31px}}
.capture-report-head{display:none;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 16px;padding:0 0 14px;border-bottom:2px solid var(--line)}.capture-report-head>div:first-child{display:flex;flex-direction:column;gap:4px}.capture-report-head b{font-size:22px}.capture-report-head>div:last-child{text-align:right;color:var(--muted);font-size:13px}.compact-btn{padding:7px 10px;font-size:12px}.capture-mode .capture-report-head{display:flex}.capture-mode .section-title .btn,.capture-mode .card form{display:none!important}.capture-mode .card{box-shadow:none;border-color:#d8dee8}.capture-mode .table{font-size:12px}.capture-mode .table th,.capture-mode .table td{padding:8px}.capture-mode .section-title{margin-top:14px}
@media(max-width:640px){.capture-report-head{flex-direction:column}.capture-report-head>div:last-child{text-align:left}.capture-mode .leader-grid,.capture-mode .stats-6,.capture-mode .stats-8,.capture-mode .stats-9{grid-template-columns:repeat(2,1fr)}}

/* Branding kantor v1.2.7 */
.office-brand{display:flex!important;align-items:center;gap:11px;min-width:0}.office-brand img{width:46px;height:46px;object-fit:contain;background:#fff;border-radius:12px;padding:4px;flex:0 0 auto}.office-brand>div{min-width:0}.office-brand strong{display:block;font-size:17px;color:#fff;line-height:1.1}.office-brand small{display:block;font-size:10px;color:#e7cdd6;margin-top:4px;line-height:1.25;white-space:normal}.topbar-brand{display:flex;align-items:center;gap:11px;min-width:0}.topbar-brand>img{width:44px;height:44px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:12px;padding:3px;flex:0 0 auto}.topbar-brand h1{line-height:1.05}.login-brand{display:flex;align-items:center;gap:13px;margin-bottom:20px;padding-bottom:17px;border-bottom:1px solid var(--line)}.login-brand img{width:64px;height:64px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:16px;padding:4px}.login-brand b{display:block;font-size:16px;line-height:1.25}.login-brand span{display:block;color:var(--muted);font-size:12px;margin-top:4px}.public-brand{display:flex;align-items:center;gap:14px;min-width:0}.public-brand img{width:62px;height:62px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:15px;padding:4px;flex:0 0 auto}.branding-preview{display:flex;align-items:center;gap:13px;padding:13px;border:1px solid var(--line);border-radius:14px;background:#fbf7f8}.branding-preview img{width:76px;height:76px;object-fit:contain;background:#fff;border-radius:14px;padding:5px;border:1px solid var(--line)}.capture-brand{display:flex;align-items:center;gap:10px}.capture-brand img{width:48px;height:48px;object-fit:contain;border-radius:9px;padding:2px}.capture-brand>div{display:flex;flex-direction:column}.capture-brand span{font-size:12px;color:var(--muted);margin-top:3px}
@media(max-width:900px){.sidebar .logo.office-brand{display:none!important}.topbar-brand>img{width:38px;height:38px}.topbar-brand .small{max-width:58vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
@media(max-width:640px){.public-brand img{width:50px;height:50px}.public-brand{gap:9px}.login-brand img{width:56px;height:56px}.topbar-brand>img{width:34px;height:34px}.capture-brand img{width:42px;height:42px}}

/* Izin & Manual Admin v1.2.8 */
.request-layout,.manual-layout{align-items:start}.request-list{display:grid;gap:10px;max-height:620px;overflow:auto}.request-item{border:1px solid var(--line);border-radius:13px;padding:13px;background:#fcfafb}.request-item p{margin:9px 0;line-height:1.5}.request-item-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.request-admin-list{display:grid;gap:14px}.request-admin-card{max-width:980px}.request-meta{display:flex;gap:14px;flex-wrap:wrap;margin:10px 0;color:var(--muted);font-size:12px}.approval-form{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.check-line{display:flex;gap:9px;align-items:flex-start;margin:14px 0;padding:11px;border:1px solid var(--line);border-radius:11px;background:#fbf7f8;font-size:13px}.check-line input{margin-top:3px}.public-summary-5 .value{font-size:28px}
@media(max-width:900px){.public-summary-5{grid-template-columns:repeat(3,1fr)}}
@media(max-width:640px){.public-summary-5{grid-template-columns:repeat(2,1fr)}.request-item-head{align-items:flex-start}.request-meta{gap:7px 12px}.request-admin-card{padding:15px}}


/* BANAU HADIR v1.2.10 · Logo Brand Default + Adaptive Menu */
.employee-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.quick-action{display:flex;flex-direction:column;gap:5px;padding:16px;border:1px solid var(--line);border-radius:15px;background:#fff;text-decoration:none;min-height:112px;justify-content:center}.quick-action span{font-size:26px;line-height:1}.quick-action b{font-size:17px}.quick-action small{color:var(--muted)}.quick-action.primary-action{background:#7b1737;color:#fff;border-color:#7b1737}.quick-action.primary-action small{color:#f2dbe3}.quick-action.secondary-action{background:#fff7f9;border-color:#d9a8b8;color:#68132f}.quick-action.permit-action{background:#fff;border-color:#dfcfd5;color:#3e2630}.attendance-action-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:8px 0 10px}.attendance-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.attendance-action-card{appearance:none;border:1px solid var(--line);border-radius:15px;background:#fff;padding:15px 12px;text-align:left;display:flex;flex-direction:column;gap:5px;cursor:pointer;color:#3d2630;font:inherit;text-decoration:none;min-height:110px;transition:.15s ease}.attendance-action-card:hover{transform:translateY(-1px);box-shadow:0 7px 20px rgba(74,16,36,.08)}.attendance-action-card .action-icon{font-size:25px;line-height:1}.attendance-action-card b{font-size:17px}.attendance-action-card small{color:var(--muted)}.attendance-action-card.action-in{border-color:#bc7188}.attendance-action-card.action-out{border-color:#d6b7c1}.attendance-action-card.action-permit{border-color:#d9d0d3}.attendance-action-card.selected{outline:3px solid rgba(139,30,63,.14);border-color:#8b1e3f}.attendance-action-card.completed{background:#f4f6f5;border-color:#bad0c4}.attendance-action-card.completed b:after{content:' ✓';color:#28734b}.attendance-action-card:disabled{cursor:not-allowed;opacity:.68;transform:none}.action-hint{margin-top:9px;min-height:18px}.topbar-brand .muted{line-height:1.35}
@media(max-width:640px){.employee-quick-actions,.attendance-action-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.quick-action,.attendance-action-card{padding:12px 9px;min-height:96px}.quick-action b,.attendance-action-card b{font-size:15px}.quick-action small,.attendance-action-card small{font-size:10px}.quick-action span,.attendance-action-card .action-icon{font-size:22px}.attendance-action-title{align-items:flex-start;flex-direction:column;gap:2px}}
@media(max-width:360px){.employee-quick-actions,.attendance-action-grid{grid-template-columns:1fr}.quick-action,.attendance-action-card{min-height:auto}}

/* STPK report branding v1.2.11 */
.report-letterhead{padding:18px 22px 14px;margin-bottom:14px}.report-letterhead-main{display:flex;gap:18px;align-items:center}.report-letterhead-logo{flex:0 0 108px;display:flex;justify-content:center;align-items:center}.report-letterhead-logo img{max-width:100px;max-height:100px;object-fit:contain}.report-letterhead-text{flex:1 1 auto;text-align:center;color:#111}.report-letterhead-text .lh-1,.report-letterhead-text .lh-2,.report-letterhead-text .lh-3{font-family:Georgia,"Times New Roman",serif;font-weight:800;line-height:1.06;text-transform:uppercase}.report-letterhead-text .lh-1{font-size:18px}.report-letterhead-text .lh-2{font-size:17px}.report-letterhead-text .lh-3{font-size:18px;margin-bottom:6px}.report-letterhead-text .lh-4,.report-letterhead-text .lh-5{font-family:Georgia,"Times New Roman",serif;font-weight:700;font-size:12px;line-height:1.25}.report-letterhead-text .lh-6,.report-letterhead-text .lh-7{font-size:11px;line-height:1.3}.report-letterhead-line{border-top:3px solid #111;border-bottom:1px solid #111;height:4px;margin-top:10px}.report-meta-head{padding-top:12px;margin-bottom:0}.public-brand.public-brand-report img{width:68px;height:68px}.public-brand.public-brand-report .eyebrow{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#7b1737}.public-brand.public-brand-report h1{margin-bottom:4px}
@media(max-width:760px){.report-letterhead{padding:14px}.report-letterhead-main{align-items:flex-start;gap:12px}.report-letterhead-logo{flex-basis:74px}.report-letterhead-logo img{max-width:72px;max-height:72px}.report-letterhead-text .lh-1{font-size:13px}.report-letterhead-text .lh-2{font-size:13px}.report-letterhead-text .lh-3{font-size:14px}.report-letterhead-text .lh-4,.report-letterhead-text .lh-5{font-size:10px}.report-letterhead-text .lh-6,.report-letterhead-text .lh-7{font-size:9px}.public-brand.public-brand-report img{width:56px;height:56px}}

/* Export laporan resmi v1.2.12 */
.official-letterhead-card{padding:12px 16px 10px}.official-letterhead-img{display:block;width:100%;height:auto;max-height:190px;object-fit:contain;background:#fff}.report-actions{display:flex;flex-wrap:wrap;gap:8px}.report-actions .btn{min-width:76px;text-align:center}
@media(max-width:640px){.official-letterhead-card{padding:8px}.official-letterhead-img{max-height:145px}.report-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.report-actions .btn{width:100%;min-width:0}}
@media print{.report-actions,.dashboard-toolbar,.sidebar,.topbar,.mobile-bottom-nav{display:none!important}.official-letterhead-card{border:0;box-shadow:none;padding:0}.official-letterhead-img{max-height:150px}.content{padding:0!important}.main{margin:0!important}}


/* Modern login v1.2.13 */
.login-page{background:
radial-gradient(circle at top left,rgba(139,30,63,.18),transparent 34%),
radial-gradient(circle at 85% 12%,rgba(183,121,145,.14),transparent 22%),
linear-gradient(135deg,#f7eff2 0%,#fbf8fa 52%,#f3e6eb 100%);position:relative;overflow-x:hidden}
.login-page:before,.login-page:after{content:"";position:fixed;pointer-events:none;inset:auto;z-index:0;border-radius:999px;filter:blur(8px)}
.login-page:before{width:240px;height:240px;left:-70px;top:-60px;background:rgba(139,30,63,.10)}
.login-page:after{width:280px;height:280px;right:-90px;bottom:-80px;background:rgba(111,23,50,.08)}
.login-shell{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);width:min(1160px,100%);background:rgba(255,255,255,.56);border:1px solid rgba(255,255,255,.65);box-shadow:0 26px 80px rgba(71,19,38,.12);backdrop-filter:blur(8px);border-radius:30px;overflow:hidden}
.login-showcase{position:relative;padding:36px;background:linear-gradient(155deg,#6f1732 0%,#8b1e3f 48%,#4a1024 100%);color:#fff;min-height:700px;display:flex}
.login-showcase:before{content:"";position:absolute;inset:0;background:
linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px),
linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px);
background-size:26px 26px;opacity:.22;mask-image:linear-gradient(to bottom,rgba(0,0,0,.8),transparent 88%)}
.login-showcase:after{content:"";position:absolute;right:28px;top:26px;width:180px;height:180px;border:1px solid rgba(255,255,255,.16);border-radius:28px;background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.03));box-shadow:inset 0 1px 0 rgba(255,255,255,.16)}
.login-showcase-inner{position:relative;z-index:1;display:flex;flex-direction:column;gap:20px;width:100%}
.showcase-pill{display:inline-flex;align-self:flex-start;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18);font-size:12px;font-weight:750;letter-spacing:.03em;text-transform:uppercase}
.modern-brand{border:0;padding:0;margin:0}.modern-brand img{background:rgba(255,255,255,.95);border-color:rgba(255,255,255,.35)}.modern-brand b{color:#fff;font-size:18px}.modern-brand span{color:#f6dfe6;font-size:12px}
.login-showcase h1{font-size:40px;line-height:1.1;margin:4px 0 0;max-width:11.2ch;letter-spacing:-.04em}
.showcase-text{max-width:540px;line-height:1.65;color:#f7e7ec;font-size:15px;margin:0}
.showcase-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:4px}
.showcase-item{display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:18px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12)}
.showcase-item span{font-size:22px;line-height:1.1}.showcase-item b{display:block;margin-bottom:4px}.showcase-item small{display:block;color:#f3d8e1;line-height:1.45}
.showcase-footer{margin-top:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.showcase-badge{padding:14px 12px;border-radius:16px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14)}
.showcase-badge span{display:block;font-size:11px;color:#f8dfe7;text-transform:uppercase;letter-spacing:.05em;margin-bottom:6px}.showcase-badge b{font-size:15px}
.modern-auth-card{width:auto;min-height:700px;border:0;border-radius:0;padding:38px 34px;background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.98));box-shadow:none;display:flex;flex-direction:column;justify-content:center}
.auth-head{margin-bottom:12px}.auth-head .eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#8b1e3f;margin-bottom:8px}.auth-head h2{font-size:31px;line-height:1.15;margin:0 0 8px;letter-spacing:-.03em}
.modern-login-form{margin-top:8px}.modern-login-form .input{padding:14px 15px;border-radius:14px;background:#fff}.modern-login-form .field{margin:15px 0}
.login-links{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:center;font-size:13px;color:var(--muted);margin-top:18px}.login-links a{color:#6f1732}
.login-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}.meta-box{padding:14px;border-radius:16px;background:#faf6f7;border:1px solid var(--line)}.meta-box b{display:block;font-size:14px;margin-bottom:5px}.meta-box small{display:block;color:var(--muted);line-height:1.45}
@media(max-width:1080px){.login-shell{grid-template-columns:1fr;max-width:760px}.login-showcase{min-height:auto;padding:28px 26px}.login-showcase h1{max-width:none;font-size:34px}.showcase-footer{margin-top:6px}.modern-auth-card{min-height:auto;padding:30px 24px}}
@media(max-width:640px){.center-page.login-page{padding:12px}.login-shell{border-radius:22px}.login-showcase{padding:22px 18px}.login-showcase:after{display:none}.showcase-pill{font-size:11px;padding:7px 12px}.login-showcase h1{font-size:28px}.showcase-text{font-size:14px}.showcase-grid{grid-template-columns:1fr}.showcase-footer{grid-template-columns:1fr}.modern-auth-card{padding:22px 18px}.auth-head h2{font-size:26px}.login-meta{grid-template-columns:1fr}.login-links{justify-content:flex-start}}


/* Screenshot & Excel layout fix v1.2.15 */
.capture-mode .dashboard-toolbar,.capture-mode .report-filter-card{display:none!important}
.capture-mode .official-letterhead-card{margin-bottom:14px}
.capture-mode .section-title{margin-top:16px}
.capture-mode .section-title>a{display:none!important}


/* Pulang tanpa Masuk + camera timestamp v1.2.16 */
.camera-frame{position:relative;border-radius:12px;overflow:hidden;background:#111}.camera-frame .camera-preview,.camera-frame .photo-preview{border-radius:0;margin-top:0}.camera-time-overlay{position:absolute;left:0;right:0;bottom:0;z-index:3;padding:12px 14px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.78));color:#fff;pointer-events:none;text-shadow:0 1px 2px rgba(0,0,0,.5);display:flex;flex-direction:column;gap:2px;min-height:116px;justify-content:flex-end}.camera-time-overlay b{font-size:16px;letter-spacing:.04em}.camera-time-overlay span{font-size:14px;font-weight:700}.camera-time-overlay small{font-size:11px;color:#f5e9ed;line-height:1.35}.photo-preview[style*="display: block"]~.camera-time-overlay{display:flex}.camera-box .photo-preview{width:100%}
@media(max-width:640px){.camera-time-overlay{padding:10px 11px;min-height:100px}.camera-time-overlay b{font-size:14px}.camera-time-overlay span{font-size:12px}.camera-time-overlay small{font-size:10px}}


/* Audit & integrity v1.2.19 */
.audit-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:12px;align-items:end}.audit-filters .field{margin:0}.audit-filter-action{display:flex;align-items:end}.audit-table .audit-detail{min-width:280px;white-space:normal;line-height:1.45}.audit-table code{display:inline-block;margin-top:5px;color:#7b5060}.audit-note{margin-top:14px}.alert.info{background:#eef5ff;color:#244a73}
@media(max-width:1000px){.audit-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.audit-filter-action{grid-column:span 2}.audit-filter-action .btn{width:100%}}
@media(max-width:640px){.audit-filter-card{padding:14px}.audit-filters{grid-template-columns:1fr}.audit-filter-action{grid-column:auto}.audit-table{min-width:720px}}


/* v1.2.21 · Liveness dasar, retensi selfie, dan lock presensi */
.attendance-toast{position:fixed;top:18px;right:18px;z-index:9999;width:min(390px,calc(100vw - 28px));padding:14px 16px;border-radius:15px;background:#fff;border:1px solid var(--line);box-shadow:0 18px 48px rgba(58,16,31,.18);display:flex;flex-direction:column;gap:5px;opacity:0;transform:translateY(-12px);pointer-events:none;transition:.2s ease}.attendance-toast.show{opacity:1;transform:translateY(0)}.attendance-toast b{font-size:15px}.attendance-toast span{font-size:13px;line-height:1.45;color:var(--muted)}.attendance-toast.success{border-left:5px solid var(--success)}.attendance-toast.warning{border-left:5px solid var(--warning)}.attendance-toast.danger{border-left:5px solid var(--danger)}
.attendance-complete{line-height:1.55}.attendance-complete small{display:block;margin-top:4px}.attendance-action-card.locked{background:#f4f4f5;border-color:#ddd;color:#777;cursor:pointer;box-shadow:none;transform:none}.attendance-action-card.locked:hover{transform:none;box-shadow:none}.attendance-action-card.busy{pointer-events:none;opacity:.65}
.liveness-box{margin-top:11px;padding:12px;border-radius:12px;background:#fbf7f8;border:1px solid var(--line)}.liveness-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:7px}.liveness-progress{height:6px;background:#eadde2;border-radius:999px;overflow:hidden;margin-top:10px}.liveness-progress span{display:block;height:100%;width:0;background:var(--primary);transition:width .16s linear}.camera-frame{position:relative}.camera-time-overlay{pointer-events:none}
.quick-action.completed{background:#edf7f2!important;border-color:#b9d8c9!important;color:#27624a!important}.quick-action.completed small{color:#527363!important}
@media(max-width:640px){.attendance-toast{top:10px;right:10px}.liveness-box{padding:10px}.liveness-head{align-items:flex-start}.attendance-complete{font-size:13px}}


/* UAT perangkat & storage v1.2.21 */
.uat-check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.uat-check{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid var(--line);border-radius:13px;background:#fcfafb}.uat-check>span{font-size:21px}.uat-check b{display:block;font-size:13px;margin-bottom:4px}.uat-check small{display:block;line-height:1.4}.uat-ok{color:var(--success)!important}.uat-bad{color:var(--danger)!important}.uat-preview-box{border:1px solid var(--line);border-radius:14px;padding:13px;background:#fbf7f8}.uat-preview-box video{display:none;width:100%;max-height:300px;aspect-ratio:4/3;object-fit:cover;border-radius:11px;background:#111;transform:scaleX(-1);margin-bottom:10px}.uat-gps-result{min-height:72px;padding:13px;border-radius:11px;background:#fff;border:1px solid var(--line);font-size:13px;line-height:1.55;margin-bottom:12px}.storage-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.storage-summary .stat{padding:13px;border:1px solid var(--line);border-radius:13px;background:#fcfafb}.storage-meta{display:flex;gap:18px;flex-wrap:wrap;margin:12px 0 14px;color:var(--muted);font-size:12px}
@media(max-width:900px){.uat-check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.uat-live-area{grid-template-columns:1fr}.storage-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.uat-check-grid{grid-template-columns:1fr}.storage-summary{grid-template-columns:1fr 1fr}.uat-device-card{padding:15px}.storage-summary .value{font-size:24px}}


/* v1.2.23 · Print/Screenshot layout hardening */
.capture-mode .attendance-report-wrap,.capture-mode .leave-report-wrap{overflow:visible!important}
.capture-mode .attendance-report-table,.capture-mode .leave-report-table{width:100%!important;min-width:0!important;table-layout:fixed}
.capture-mode .attendance-report-table th,.capture-mode .attendance-report-table td{white-space:normal;overflow-wrap:anywhere;word-break:normal;font-size:10px;padding:7px 5px}
.capture-mode .attendance-report-table th{font-size:9px;line-height:1.25}
.capture-mode .attendance-report-table .badge{white-space:normal;padding:3px 5px;font-size:9px}
.capture-mode .attendance-report-table th:nth-child(1){width:7%}.capture-mode .attendance-report-table th:nth-child(2){width:9%}.capture-mode .attendance-report-table th:nth-child(3){width:5%}.capture-mode .attendance-report-table th:nth-child(4){width:5%}.capture-mode .attendance-report-table th:nth-child(5){width:8.5%}.capture-mode .attendance-report-table th:nth-child(6){width:9%}.capture-mode .attendance-report-table th:nth-child(7){width:9%}.capture-mode .attendance-report-table th:nth-child(8){width:9%}.capture-mode .attendance-report-table th:nth-child(9){width:10%}.capture-mode .attendance-report-table th:nth-child(10){width:6%}.capture-mode .attendance-report-table th:nth-child(11){width:6%}.capture-mode .attendance-report-table th:nth-child(12){width:10%}.capture-mode .attendance-report-table th:nth-child(13){width:6.5%}
.capture-mode .leave-report-table th,.capture-mode .leave-report-table td{white-space:normal;overflow-wrap:anywhere;font-size:10px;padding:7px 6px}

@page{size:A4 landscape;margin:0}
@media print{
  html,body{width:100%!important;min-width:0!important;background:#fff!important}
  body{margin:0!important;padding:7mm 8mm!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
  .app,.main,.content{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important}
  .sidebar,.topbar,.mobile-bottom-nav,.dashboard-toolbar,.report-filter-card,.footer-note,.report-actions,.section-title>a{display:none!important}
  .official-letterhead-card{border:0!important;box-shadow:none!important;padding:0!important;margin:0 0 3mm!important;break-inside:avoid-page}
  .official-letterhead-img{display:block!important;width:100%!important;max-width:none!important;max-height:34mm!important;object-fit:contain!important}
  .capture-report-head{display:flex!important;margin:0 0 3mm!important;padding:0 0 2.5mm!important;border-bottom:1px solid #cbbbc1!important}
  .capture-report-head b{font-size:13pt!important}.capture-report-head span,.capture-report-head>div:last-child{font-size:7.5pt!important}
  .section-title{display:flex!important;margin:3mm 0 2mm!important;break-after:avoid-page}
  .section-title h2{font-size:10pt!important;line-height:1.2!important}.section-title .small{font-size:7pt!important}
  .card{box-shadow:none!important}
  .table-wrap,.attendance-report-wrap,.leave-report-wrap{overflow:visible!important;width:100%!important;max-width:none!important;min-width:0!important;padding:0!important;border-radius:0!important;border-left:0!important;border-right:0!important}
  .table,.attendance-report-table,.leave-report-table{width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse!important}
  .attendance-report-table th,.attendance-report-table td{font-size:6.4pt!important;line-height:1.25!important;padding:1.45mm .8mm!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;vertical-align:top!important}
  .attendance-report-table th{font-size:5.9pt!important;letter-spacing:0!important}
  .attendance-report-table .small{font-size:5.8pt!important}.attendance-report-table .badge{font-size:5.3pt!important;line-height:1.15!important;padding:.45mm .7mm!important;white-space:normal!important}
  .attendance-report-table a{display:none!important}
  .attendance-report-table th:nth-child(1){width:7%!important}.attendance-report-table th:nth-child(2){width:9%!important}.attendance-report-table th:nth-child(3){width:5%!important}.attendance-report-table th:nth-child(4){width:5%!important}.attendance-report-table th:nth-child(5){width:8.5%!important}.attendance-report-table th:nth-child(6){width:9%!important}.attendance-report-table th:nth-child(7){width:9%!important}.attendance-report-table th:nth-child(8){width:9%!important}.attendance-report-table th:nth-child(9){width:10%!important}.attendance-report-table th:nth-child(10){width:6%!important}.attendance-report-table th:nth-child(11){width:6%!important}.attendance-report-table th:nth-child(12){width:10%!important}.attendance-report-table th:nth-child(13){width:6.5%!important}
  .leave-report-table th,.leave-report-table td{font-size:7pt!important;line-height:1.25!important;padding:1.5mm 1mm!important;white-space:normal!important;overflow-wrap:anywhere!important}
  .leave-report-table th{font-size:6.3pt!important;letter-spacing:0!important}
  .table tr{break-inside:avoid-page}
}

/* v1.2.28 logout visibility hotfix */
.topbar-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}.topbar-logout{white-space:nowrap;padding:9px 12px}.topbar-date{white-space:nowrap}
@media(max-width:640px){.topbar-actions{gap:6px}.topbar-date{display:none}.topbar-logout{padding:8px 10px;font-size:12px}.sidebar{overflow-y:visible}}

/* v1.2.29 - Rotating Hero Quotes */
.login-showcase:after{
  content:"“";
  right:30px;
  top:18px;
  width:auto;
  height:auto;
  border:0;
  border-radius:0;
  background:none;
  box-shadow:none;
  font-family:Georgia,"Times New Roman",serif;
  font-size:180px;
  line-height:.8;
  font-weight:700;
  color:rgba(255,255,255,.075);
  pointer-events:none;
}
.quote-rotator{position:relative;min-height:270px;margin-top:2px;padding-right:18px;display:flex;flex-direction:column;justify-content:flex-start}
.hero-quote{--quote-accent:#ffd166;position:absolute;left:0;right:18px;top:0;opacity:0;visibility:hidden;transform:translateY(18px) scale(.985);transition:opacity .55s ease,transform .55s cubic-bezier(.22,.75,.25,1),visibility .55s;pointer-events:none}
.hero-quote.is-active{position:relative;right:auto;opacity:1;visibility:visible;transform:translateY(0) scale(1);pointer-events:auto;animation:quoteGlowIn .7s ease both}
.hero-quote h1{max-width:12.7ch!important;font-size:38px!important;line-height:1.08!important;letter-spacing:-.042em!important;margin:4px 0 0!important;text-wrap:balance}
.quote-accent{color:var(--quote-accent);text-shadow:0 0 24px color-mix(in srgb,var(--quote-accent) 34%,transparent);transition:color .45s ease,text-shadow .45s ease}
.quote-caption{max-width:520px;margin:15px 0 0;color:#f8e6ec;font-size:14px;line-height:1.65;font-weight:540}
.quote-theme-gold{--quote-accent:#ffd166}.quote-theme-mint{--quote-accent:#78f0c6}.quote-theme-sky{--quote-accent:#8fd3ff}.quote-theme-rose{--quote-accent:#ffb4ce}.quote-theme-lime{--quote-accent:#c8f58b}.quote-theme-amber{--quote-accent:#ffca80}.quote-theme-cyan{--quote-accent:#83edf0}.quote-theme-violet{--quote-accent:#d6bcff}.quote-theme-peach{--quote-accent:#ffc1a6}.quote-theme-ice{--quote-accent:#dff7ff}
.quote-dots{display:flex;align-items:center;gap:7px;margin-top:18px;min-height:10px}
.quote-dot{appearance:none;border:0;width:7px;height:7px;border-radius:999px;padding:0;background:rgba(255,255,255,.32);cursor:pointer;transition:width .28s ease,background .28s ease,transform .28s ease;box-shadow:none}
.quote-dot:hover,.quote-dot:focus-visible{background:rgba(255,255,255,.68);transform:scale(1.15);outline:none}
.quote-dot.is-active{width:24px;background:#fff;transform:none}
@keyframes quoteGlowIn{0%{filter:blur(2px)}100%{filter:blur(0)}}
@media(max-width:1080px){.quote-rotator{min-height:200px;padding-right:0}.hero-quote{right:0}.hero-quote h1{max-width:20ch!important;font-size:34px!important}.login-showcase:after{font-size:130px;right:20px;top:16px}}
@media(max-width:640px){.quote-rotator{min-height:215px}.hero-quote h1{max-width:none!important;font-size:28px!important;line-height:1.1!important}.quote-caption{font-size:13px;margin-top:12px}.quote-dots{margin-top:14px}.login-showcase:after{display:block;font-size:92px;right:12px;top:14px;color:rgba(255,255,255,.06)}}
@media(prefers-reduced-motion:reduce){.hero-quote,.hero-quote.is-active,.quote-dot{transition:none!important;animation:none!important}.quote-accent{text-shadow:none}}


/* v1.2.30 - Single viewport rotating quote (one quote only, no stacked quote scroll) */
.quote-stage{position:relative;height:250px;min-height:250px;overflow:hidden;margin-top:2px;padding-right:18px;display:flex;align-items:flex-start}
.single-hero-quote{--quote-accent:#ffd166;width:100%;opacity:1;transform:translateY(0);transition:opacity .28s ease,transform .28s ease;will-change:opacity,transform}
.single-hero-quote.is-changing{opacity:0;transform:translateY(10px)}
.single-hero-quote h1{max-width:12.7ch!important;font-size:38px!important;line-height:1.08!important;letter-spacing:-.042em!important;margin:4px 0 0!important;text-wrap:balance}
.quote-status{position:absolute;left:0;bottom:8px;width:min(300px,74%);display:flex;align-items:center;gap:10px;font-size:10px;font-weight:800;letter-spacing:.12em;color:rgba(255,255,255,.68)}
.quote-line{position:relative;display:block;flex:1;height:2px;border-radius:99px;overflow:hidden;background:rgba(255,255,255,.18)}
.quote-line i{position:absolute;inset:0 auto 0 0;width:0;background:var(--quote-accent);border-radius:inherit}
@keyframes quoteProgress{from{width:0}to{width:100%}}
/* Old v1.2.29 multi-card elements are explicitly disabled if browser cache contains old markup. */
.quote-rotator .hero-quote:not(.is-active){display:none!important}
.quote-rotator .hero-quote.is-active{display:block!important;position:relative!important}
@media(max-width:1080px){.quote-stage{height:185px;min-height:185px;padding-right:0}.single-hero-quote h1{max-width:20ch!important;font-size:34px!important}.quote-status{bottom:2px}}
@media(max-width:640px){.quote-stage{height:190px;min-height:190px}.single-hero-quote h1{max-width:none!important;font-size:28px!important;line-height:1.1!important}.quote-status{bottom:6px;width:min(260px,82%)}}
@media(prefers-reduced-motion:reduce){.single-hero-quote{transition:none!important}.quote-line i{animation:none!important;width:100%}}


/* v1.2.31 - Clean hero + multi-color quote typography */
/* Hapus total ornamen/bayangan kotak atau tanda kutip kanan atas agar hero bersih. */
.login-showcase:after{content:none!important;display:none!important;background:none!important;border:0!important;box-shadow:none!important}
.quote-stage{padding-right:0!important}
.single-hero-quote h1{max-width:14.5ch!important;text-shadow:0 2px 18px rgba(0,0,0,.08)}
.single-hero-quote h1 span{display:inline;color:inherit;transition:color .35s ease,text-shadow .35s ease}
.quote-gold{color:#ffd166!important;text-shadow:0 0 18px rgba(255,209,102,.20)}
.quote-mint{color:#84f0c9!important;text-shadow:0 0 18px rgba(132,240,201,.18)}
.quote-sky{color:#9edcff!important;text-shadow:0 0 18px rgba(158,220,255,.18)}
.quote-rose{color:#ffc0d5!important;text-shadow:0 0 18px rgba(255,192,213,.17)}
.quote-lime{color:#d5f79e!important;text-shadow:0 0 18px rgba(213,247,158,.16)}
.quote-violet{color:#ddc8ff!important;text-shadow:0 0 18px rgba(221,200,255,.17)}
.quote-ice{color:#e9fbff!important;text-shadow:0 0 16px rgba(233,251,255,.14)}
.quote-status{opacity:.84}
@media(max-width:1080px){.single-hero-quote h1{max-width:22ch!important}}
@media(max-width:640px){.single-hero-quote h1{max-width:19ch!important;font-size:27px!important;line-height:1.08!important}.quote-stage{height:178px!important;min-height:178px!important}}
@media(prefers-reduced-motion:reduce){.single-hero-quote h1 span{text-shadow:none!important}}

/* v1.2.32 - Clean single quote layout: no overlap, no progress line */
.quote-status,.quote-line{display:none!important}
.quote-stage{
  height:154px!important;
  min-height:154px!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  padding:0!important;
  margin-top:0!important;
}
.single-hero-quote{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
}
.single-hero-quote h1{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  font-size:clamp(30px,3.35vw,38px)!important;
  line-height:1.08!important;
  letter-spacing:-.038em!important;
  text-wrap:pretty!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
@media(max-width:1080px){
  .quote-stage{height:132px!important;min-height:132px!important}
  .single-hero-quote h1{font-size:31px!important;line-height:1.09!important}
}
@media(max-width:640px){
  .quote-stage{height:116px!important;min-height:116px!important}
  .single-hero-quote h1{font-size:25px!important;line-height:1.10!important;letter-spacing:-.03em!important}
}
@media(max-width:390px){
  .quote-stage{height:112px!important;min-height:112px!important}
  .single-hero-quote h1{font-size:24px!important;line-height:1.10!important}
}


/* v1.2.33 - Hero space optimization: live WIT clock + compact system status */
@media(min-width:1081px){
  .login-showcase{padding:30px 34px!important}
  .login-showcase-inner{gap:13px!important}
  .quote-stage{height:138px!important;min-height:138px!important}
  .single-hero-quote h1{font-size:clamp(30px,3vw,37px)!important;line-height:1.06!important}
  .showcase-grid{gap:10px!important;margin-top:0!important}
  .showcase-item{padding:11px 12px!important;border-radius:16px!important}
  .showcase-item span{font-size:20px!important}
  .showcase-item b{font-size:14px!important;margin-bottom:2px!important}
  .showcase-item small{font-size:11.5px!important;line-height:1.35!important}
  .showcase-footer{gap:8px!important}
  .showcase-badge{padding:10px 11px!important;border-radius:14px!important}
  .showcase-badge span{margin-bottom:3px!important;font-size:10px!important}
  .showcase-badge b{font-size:13px!important}
}
.hero-live-panel{
  display:grid;
  grid-template-columns:minmax(150px,.78fr) minmax(0,1.55fr);
  gap:10px;
  align-items:stretch;
  width:100%;
}
.hero-clock{
  min-width:0;
  padding:11px 13px;
  border-radius:17px;
  background:linear-gradient(145deg,rgba(255,255,255,.15),rgba(255,255,255,.075));
  border:1px solid rgba(255,255,255,.15);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.hero-clock-time{display:flex;align-items:baseline;gap:7px;line-height:1}
.hero-clock-time strong{font-size:27px;letter-spacing:-.045em;font-variant-numeric:tabular-nums;color:#fff}
.hero-clock-time span{font-size:10px;font-weight:850;letter-spacing:.12em;color:#ffd166}
.hero-clock-date{margin-top:6px;font-size:11px;line-height:1.28;color:#f7dfe7;text-transform:capitalize;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero-system-chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.hero-system-chip{position:relative;min-width:0;padding:10px 10px 9px 24px;border-radius:15px;background:rgba(255,255,255,.085);border:1px solid rgba(255,255,255,.12);display:flex;flex-direction:column;justify-content:center}
.hero-system-chip .chip-dot{position:absolute;left:10px;top:13px;width:7px;height:7px;border-radius:50%;background:#84f0c9;box-shadow:0 0 0 4px rgba(132,240,201,.11),0 0 12px rgba(132,240,201,.28)}
.hero-system-chip b{font-size:12px;line-height:1.15;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero-system-chip small{margin-top:3px;font-size:9.5px;line-height:1.2;color:#efccd8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1080px){
  .hero-live-panel{grid-template-columns:minmax(165px,.7fr) minmax(0,1.3fr);margin-top:2px}
  .hero-clock-time strong{font-size:25px}
  .hero-system-chip{padding-left:23px}
}
@media(max-width:640px){
  .hero-live-panel{grid-template-columns:1fr;gap:8px}
  .hero-clock{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px}
  .hero-clock-time strong{font-size:23px}
  .hero-clock-date{margin-top:0;text-align:right;font-size:10px;white-space:normal;max-width:50%}
  .hero-system-chips{gap:6px}
  .hero-system-chip{padding:8px 6px 8px 19px;border-radius:12px}
  .hero-system-chip .chip-dot{left:7px;top:11px;width:6px;height:6px}
  .hero-system-chip b{font-size:10.5px}
  .hero-system-chip small{font-size:8.5px}
}
@media(max-width:390px){
  .hero-system-chip small{display:none}
  .hero-system-chip{min-height:34px;justify-content:center}
}

/* v1.2.34 - Proportional login hero + forced fresh stylesheet */
/* Keep the quote visually dominant, while the clock/status becomes one compact information strip. */
.hero-live-panel{
  margin-top:2px!important;
  grid-template-columns:minmax(168px,.72fr) minmax(0,1.45fr)!important;
  gap:9px!important;
  align-items:stretch!important;
}
.hero-clock{
  padding:10px 12px!important;
  border-radius:15px!important;
  background:rgba(255,255,255,.105)!important;
  border:1px solid rgba(255,255,255,.14)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important;
}
.hero-clock-time{gap:5px!important}
.hero-clock-time strong{font-size:24px!important;line-height:1!important}
.hero-clock-time span{font-size:9px!important;letter-spacing:.11em!important}
.hero-clock-date{margin-top:5px!important;font-size:10.5px!important;line-height:1.25!important}
.hero-system-chips{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
.hero-system-chip{
  min-height:54px!important;
  padding:9px 8px 8px 22px!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.075)!important;
  border:1px solid rgba(255,255,255,.11)!important;
}
.hero-system-chip .chip-dot{left:9px!important;top:12px!important;width:6px!important;height:6px!important}
.hero-system-chip b{font-size:11.5px!important;line-height:1.1!important}
.hero-system-chip small{font-size:9px!important;line-height:1.15!important;margin-top:3px!important}

/* Tablet / single-column login: remove decorative feature duplication and keep the hero concise. */
@media(max-width:1080px){
  .login-showcase{padding:24px 26px!important}
  .login-showcase-inner{gap:12px!important}
  .quote-stage{height:130px!important;min-height:130px!important}
  .single-hero-quote h1{font-size:32px!important;line-height:1.07!important;max-width:18ch!important}
  .showcase-grid,.showcase-footer{display:none!important}
  .hero-live-panel{grid-template-columns:minmax(165px,.65fr) minmax(0,1.35fr)!important;margin-top:0!important}
}

/* Phone / narrow tablet: clock + statuses stay on ONE ROW instead of falling down the page. */
@media(max-width:640px){
  .center-page.login-page{padding:8px!important}
  .login-shell{border-radius:20px!important}
  .login-showcase{padding:20px 18px 18px!important}
  .login-showcase-inner{gap:11px!important}
  .showcase-pill{width:max-content;max-width:100%;font-size:10px!important;padding:7px 12px!important}
  .modern-brand{margin-top:1px!important}
  .quote-stage{height:146px!important;min-height:146px!important;align-items:center!important}
  .single-hero-quote h1{font-size:clamp(27px,7.1vw,34px)!important;line-height:1.06!important;max-width:16ch!important;letter-spacing:-.038em!important}
  .hero-live-panel{display:grid!important;grid-template-columns:minmax(150px,.72fr) minmax(0,1.28fr)!important;gap:7px!important;width:100%!important}
  .hero-clock{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:0!important;padding:9px 10px!important;min-height:56px!important}
  .hero-clock-time strong{font-size:21px!important}
  .hero-clock-time span{font-size:8px!important}
  .hero-clock-date{margin-top:4px!important;text-align:left!important;font-size:9px!important;white-space:nowrap!important;max-width:100%!important}
  .hero-system-chips{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
  .hero-system-chip{min-height:56px!important;padding:8px 5px 7px 17px!important;border-radius:11px!important}
  .hero-system-chip .chip-dot{left:6px!important;top:10px!important;width:5px!important;height:5px!important;box-shadow:0 0 0 3px rgba(132,240,201,.09)!important}
  .hero-system-chip b{font-size:9.5px!important}
  .hero-system-chip small{font-size:7.5px!important;white-space:normal!important;line-height:1.08!important}
}

/* Very small phones: keep a compact two-row composition without overflow. */
@media(max-width:430px){
  .login-showcase{padding:18px 15px 16px!important}
  .quote-stage{height:138px!important;min-height:138px!important}
  .single-hero-quote h1{font-size:26px!important;max-width:15ch!important}
  .hero-live-panel{grid-template-columns:1fr!important;gap:6px!important}
  .hero-clock{min-height:48px!important;display:grid!important;grid-template-columns:auto 1fr!important;align-items:center!important;column-gap:10px!important}
  .hero-clock-date{margin-top:0!important;text-align:right!important;white-space:normal!important;font-size:8.8px!important}
  .hero-system-chip{min-height:38px!important}
  .hero-system-chip small{display:none!important}
}

/* v1.2.35 - Compact login panel: smaller, focused, and proportional */
@media(min-width:1081px){
  .login-shell{
    grid-template-columns:minmax(0,1.38fr) minmax(350px,.62fr)!important;
    width:min(1180px,100%)!important;
  }
  .compact-auth-card{
    min-height:700px!important;
    padding:30px 28px!important;
    justify-content:center!important;
  }
  .compact-auth-inner{
    width:100%!important;
    max-width:390px!important;
    margin:0 auto!important;
  }
}
.compact-auth-head .eyebrow{font-size:11px!important;letter-spacing:.11em!important;margin-bottom:8px!important}
.compact-auth-head h2{font-size:30px!important;line-height:1.08!important;margin:0 0 8px!important;letter-spacing:-.025em!important}
.compact-auth-head p{font-size:13px!important;line-height:1.45!important;margin:0!important;max-width:34ch!important}
.compact-login-form{margin-top:20px!important}
.compact-login-form .field{margin:10px 0!important}
.compact-login-form .field label{font-size:12.5px!important;margin-bottom:6px!important}
.compact-login-form .input{min-height:46px!important;padding:11px 13px!important;border-radius:12px!important;font-size:14px!important}
.compact-login-form .btn-large{min-height:46px!important;margin-top:6px!important;border-radius:11px!important;font-size:14.5px!important}
.compact-login-link{margin-top:14px!important;text-align:center!important;font-size:12.5px!important}
.compact-login-link a{color:#7d1738!important;font-weight:750!important}
.compact-login-link a:hover{text-decoration:underline!important}
/* Remove legacy login extras if stale markup survives browser cache / partial render. */
.compact-auth-card .login-meta{display:none!important}
.compact-auth-card .login-links{display:none!important}
@media(max-width:1080px){
  .compact-auth-card{padding:24px 22px!important;min-height:auto!important}
  .compact-auth-inner{max-width:460px!important;margin:0 auto!important;width:100%!important}
  .compact-auth-head h2{font-size:27px!important}
  .compact-login-form{margin-top:16px!important}
}
@media(max-width:640px){
  .compact-auth-card{padding:20px 18px!important}
  .compact-auth-head h2{font-size:25px!important}
  .compact-auth-head p{font-size:12px!important}
  .compact-login-form .input,.compact-login-form .btn-large{min-height:44px!important}
}


/* v1.2.36 - Adaptive Device Login: PC / laptop / tablet / phone */
/* One server + one dataset; only the presentation changes by viewport. */
.login-page{min-height:100dvh}
.login-shell,.login-showcase,.compact-auth-card{min-width:0}

/* Tablet landscape / small laptop: preserve two balanced columns. */
@media (min-width:820px) and (max-width:1080px){
  .center-page.login-page{padding:14px!important}
  .login-shell{
    width:min(1000px,100%)!important;
    grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr)!important;
    border-radius:24px!important;
    min-height:min(690px,calc(100dvh - 28px))!important;
  }
  .login-showcase{
    min-height:100%!important;
    padding:26px 28px!important;
  }
  .login-showcase-inner{gap:12px!important}
  .showcase-pill{font-size:10px!important;padding:7px 12px!important}
  .modern-brand img{width:54px!important;height:54px!important}
  .modern-brand b{font-size:17px!important}
  .quote-stage{height:124px!important;min-height:124px!important}
  .single-hero-quote h1{font-size:clamp(28px,3.4vw,34px)!important;max-width:none!important}
  .hero-live-panel{grid-template-columns:minmax(145px,.7fr) minmax(0,1.3fr)!important}
  .showcase-grid,.showcase-footer{display:none!important}
  .compact-auth-card{
    min-height:100%!important;
    padding:25px 24px!important;
  }
  .compact-auth-inner{max-width:360px!important}
}

/* Tablet portrait: compact stacked composition without desktop feature duplication. */
@media (min-width:641px) and (max-width:819px){
  .center-page.login-page{padding:12px!important;align-items:start!important}
  .login-shell{
    width:min(680px,100%)!important;
    grid-template-columns:1fr!important;
    border-radius:24px!important;
    overflow:hidden!important;
  }
  .login-showcase{min-height:auto!important;padding:20px 24px 16px!important}
  .login-showcase-inner{gap:9px!important}
  .showcase-pill{font-size:9.5px!important;padding:6px 11px!important}
  .modern-brand img{width:48px!important;height:48px!important;border-radius:13px!important}
  .modern-brand b{font-size:16px!important}
  .modern-brand span{font-size:10.5px!important}
  .quote-stage{height:88px!important;min-height:88px!important}
  .single-hero-quote h1{font-size:clamp(25px,4.4vw,31px)!important;line-height:1.04!important;max-width:24ch!important}
  .hero-live-panel{grid-template-columns:minmax(145px,.7fr) minmax(0,1.3fr)!important;gap:7px!important}
  .hero-clock,.hero-system-chip{min-height:48px!important}
  .hero-clock-time strong{font-size:20px!important}
  .showcase-grid,.showcase-footer{display:none!important}
  .compact-auth-card{min-height:auto!important;padding:20px 24px 22px!important}
  .compact-auth-inner{max-width:470px!important}
  .compact-auth-head h2{font-size:25px!important}
  .compact-auth-head p{font-size:12px!important}
  .compact-login-form{margin-top:12px!important}
}

/* Phone: dedicated one-screen login rather than a shrunken desktop page. */
@media (max-width:640px){
  html,body{min-height:100%;}
  body.login-page{padding-bottom:0!important;overflow-x:hidden}
  .center-page.login-page{
    min-height:100dvh!important;
    height:auto!important;
    padding:0!important;
    display:block!important;
    background:#fff!important;
  }
  .login-shell{
    width:100%!important;
    max-width:none!important;
    min-height:100dvh!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:auto 1fr!important;
    overflow:visible!important;
    background:#fff!important;
  }
  .login-showcase{
    min-height:0!important;
    padding:12px 16px 11px!important;
    border-radius:0 0 22px 22px!important;
  }
  .login-showcase-inner{gap:7px!important}
  .showcase-pill{
    font-size:8px!important;
    padding:5px 9px!important;
    letter-spacing:.035em!important;
  }
  .modern-brand{display:flex!important;align-items:center!important;gap:10px!important}
  .modern-brand img{width:42px!important;height:42px!important;border-radius:11px!important}
  .modern-brand b{font-size:15px!important;line-height:1.05!important}
  .modern-brand span{font-size:9.5px!important;margin-top:3px!important}
  .quote-stage{
    height:66px!important;
    min-height:66px!important;
    margin:0!important;
    align-items:center!important;
  }
  .single-hero-quote h1{
    font-size:clamp(20px,5.7vw,25px)!important;
    line-height:1.03!important;
    letter-spacing:-.034em!important;
    max-width:25ch!important;
    text-wrap:balance!important;
  }
  .hero-live-panel{
    display:grid!important;
    grid-template-columns:minmax(112px,.78fr) minmax(0,1.55fr)!important;
    gap:5px!important;
    margin:0!important;
  }
  .hero-clock{
    min-height:38px!important;
    padding:6px 8px!important;
    border-radius:10px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
  }
  .hero-clock-time strong{font-size:17px!important}
  .hero-clock-time span{font-size:7px!important}
  .hero-clock-date{font-size:7.8px!important;margin-top:2px!important;white-space:nowrap!important;text-align:left!important;max-width:100%!important}
  .hero-system-chips{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important}
  .hero-system-chip{
    min-height:38px!important;
    padding:6px 3px 5px 14px!important;
    border-radius:9px!important;
  }
  .hero-system-chip .chip-dot{left:5px!important;top:8px!important;width:5px!important;height:5px!important}
  .hero-system-chip b{font-size:8.5px!important;line-height:1!important}
  .hero-system-chip small{display:none!important}
  .showcase-grid,.showcase-footer{display:none!important}

  .compact-auth-card{
    width:100%!important;
    min-height:0!important;
    border:0!important;
    padding:13px 16px max(14px,env(safe-area-inset-bottom))!important;
    display:flex!important;
    justify-content:flex-start!important;
    background:#fff!important;
  }
  .compact-auth-inner{width:100%!important;max-width:440px!important;margin:0 auto!important}
  .compact-auth-head .eyebrow{font-size:8.5px!important;margin-bottom:4px!important}
  .compact-auth-head h2{font-size:21px!important;line-height:1.02!important;margin:0 0 3px!important}
  .compact-auth-head p{font-size:10.5px!important;line-height:1.25!important;max-width:none!important}
  .compact-login-form{margin-top:8px!important}
  .compact-login-form .field{margin:6px 0!important}
  .compact-login-form .field label{font-size:10.5px!important;margin-bottom:4px!important}
  .compact-login-form .input{
    min-height:40px!important;
    height:40px!important;
    padding:8px 11px!important;
    border-radius:10px!important;
    font-size:13px!important;
  }
  .compact-login-form .btn-large{
    min-height:40px!important;
    height:40px!important;
    margin-top:4px!important;
    border-radius:10px!important;
    font-size:13px!important;
  }
  .compact-login-link{margin-top:8px!important;font-size:10.5px!important}
}

/* Very short phones / landscape phones: keep essential login controls visible. */
@media (max-width:640px) and (max-height:700px){
  .login-showcase{padding-top:8px!important;padding-bottom:8px!important}
  .showcase-pill{display:none!important}
  .login-showcase-inner{gap:5px!important}
  .modern-brand img{width:38px!important;height:38px!important}
  .modern-brand b{font-size:14px!important}
  .quote-stage{height:54px!important;min-height:54px!important}
  .single-hero-quote h1{font-size:19px!important;line-height:1.02!important;max-width:27ch!important}
  .hero-live-panel{grid-template-columns:106px 1fr!important}
  .hero-clock,.hero-system-chip{min-height:34px!important}
  .hero-clock-time strong{font-size:15px!important}
  .compact-auth-card{padding-top:9px!important}
  .compact-auth-head .eyebrow{display:none!important}
  .compact-auth-head h2{font-size:19px!important}
  .compact-auth-head p{display:none!important}
  .compact-login-form{margin-top:5px!important}
  .compact-login-form .field{margin:5px 0!important}
  .compact-login-form .input,.compact-login-form .btn-large{height:38px!important;min-height:38px!important}
}

/* Landscape phone: use two columns so the page remains one-screen. */
@media (max-width:950px) and (max-height:560px) and (orientation:landscape){
  .center-page.login-page{padding:0!important}
  .login-shell{
    min-height:100dvh!important;
    grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr)!important;
    grid-template-rows:1fr!important;
  }
  .login-showcase{height:100dvh!important;border-radius:0!important;padding:12px 16px!important}
  .showcase-pill{display:none!important}
  .modern-brand img{width:40px!important;height:40px!important}
  .quote-stage{height:68px!important;min-height:68px!important}
  .single-hero-quote h1{font-size:21px!important;max-width:25ch!important}
  .hero-live-panel{grid-template-columns:105px 1fr!important}
  .compact-auth-card{height:100dvh!important;overflow:auto!important;padding:10px 18px!important;justify-content:center!important}
  .compact-auth-head p{display:none!important}
  .compact-login-form{margin-top:6px!important}
}

/* Touch devices get comfortable hit areas without changing desktop density. */
@media (pointer:coarse){
  .compact-login-form .input,.compact-login-form .btn{touch-action:manipulation}
}


/* Public v1.0.1 / internal build 1.2.38 - Employee management + LongkoY branding */
.developer-credit{margin-top:14px;text-align:center;font-size:11px;letter-spacing:.035em;color:#9b7c87}.developer-credit b{color:#7b1837}.footer-note b{color:inherit}.employee-actions{display:flex;gap:7px;align-items:center;justify-content:flex-end;white-space:nowrap}.employee-list-card{min-width:0}.danger-zone{border-color:#ebc5cd;background:linear-gradient(180deg,#fff,#fff8fa)}.history-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.history-mini-grid>div{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #ead8de;background:#fff;border-radius:10px;padding:9px 10px}.history-mini-grid span{font-size:11px;color:#836a73}.history-mini-grid b{font-size:15px;color:#4a1024}
@media(max-width:640px){
  .employee-management{display:block!important}.employee-add-card{margin-bottom:12px}.employee-list-card{overflow:visible!important}.employee-table{display:block!important;min-width:0!important}.employee-table thead{display:none!important}.employee-table tbody{display:block!important}.employee-table tr{display:block!important;border:1px solid #ead8de!important;border-radius:14px!important;padding:10px 12px!important;margin:0 0 10px!important;background:#fff!important}.employee-table td{display:grid!important;grid-template-columns:88px minmax(0,1fr)!important;gap:8px!important;align-items:center!important;border:0!important;padding:6px 0!important;white-space:normal!important}.employee-table td:before{content:attr(data-label);font-size:10px;text-transform:uppercase;letter-spacing:.06em;font-weight:800;color:#936c78}.employee-table td[data-label="Aksi"]{display:block!important;padding-top:9px!important;border-top:1px solid #f0e1e6!important;margin-top:4px!important}.employee-table td[data-label="Aksi"]:before{display:none}.employee-actions{justify-content:stretch}.employee-actions .btn{width:100%;text-align:center}.employee-edit-layout{display:block!important}.employee-edit-layout>aside{margin-top:12px}.history-mini-grid{grid-template-columns:1fr 1fr}.developer-credit{margin-top:9px;font-size:10px}
}


/* Public v1.0.2 / build 1.2.39 */
.settings-toggle-row{display:flex;flex-wrap:wrap;gap:12px 18px;margin:10px 0}.settings-toggle-row label{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:700}.schedule-editor{display:grid;gap:7px;margin:10px 0 18px}.schedule-row{display:grid;grid-template-columns:minmax(88px,.7fr) repeat(3,minmax(110px,1fr));gap:8px;align-items:center}.schedule-row .input{margin:0}.schedule-head{font-size:10px;text-transform:uppercase;letter-spacing:.045em;color:#896d76;padding:0 4px}.hero-live-panel.clock-hidden{grid-template-columns:1fr!important}.hero-live-panel.clock-hidden .hero-system-chips{width:100%}
@media(max-width:640px){
  /* Slightly lower composition on phones for better visual balance. */
  .login-showcase{padding-top:20px!important;padding-bottom:13px!important}
  .compact-auth-card{padding-top:17px!important}
  .developer-credit{margin-top:10px!important}
  .schedule-row{grid-template-columns:1fr 1fr;gap:6px}.schedule-head{display:none}.schedule-row>b{grid-column:1/-1;margin-top:7px}.schedule-row .input{min-height:38px}.settings-toggle-row{display:grid;grid-template-columns:1fr}
}
@media(max-width:640px) and (max-height:700px){.login-showcase{padding-top:12px!important}.compact-auth-card{padding-top:11px!important}}
