*{box-sizing:border-box}body{font-family:Poppins,sans-serif;background:#f5f7fb;color:#1f2937;margin:0}.app-shell{display:flex;min-height:100vh}.sidebar{width:250px;background:#17251f;color:#fff;position:fixed;inset:0 auto 0 0;padding:22px 15px;display:flex;flex-direction:column;z-index:20}.brand,.survey-brand{display:flex;align-items:center;gap:10px;padding:8px 10px;margin-bottom:25px}.brand img{width:42px;height:42px;object-fit:contain}.brand b,.survey-brand b{font-size:22px;color:#ffc107;display:block}.brand small,.survey-brand small{display:block;color:#cbd5e1;font-size:10px}.sidebar nav{display:flex;flex-direction:column;gap:4px}.sidebar a{color:#d7e0dc;text-decoration:none;padding:11px 13px;border-radius:10px;font-size:13px}.sidebar a:hover,.sidebar a.active{background:#243a31;color:#ffc107}.sidebar a i{width:22px}.nav-title{font-size:9px;color:#94a3b8;letter-spacing:1.5px;margin:18px 10px 5px}.sidebar-bottom{margin-top:auto}.user-mini{display:flex;gap:9px;align-items:center;padding:12px 8px}.avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#ffc107;color:#17251f;font-weight:800}.user-mini b,.user-mini small{display:block}.user-mini b{font-size:11px}.user-mini small{font-size:9px;color:#9fb0a8}.logout{display:block!important;background:#202f29;margin-top:4px}.main-content{margin-left:250px;width:calc(100% - 250px);padding:25px 30px 70px}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.topbar h1{font-size:20px;margin:3px 0;font-weight:700}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.5px;color:#0f766e}.period-pill{background:#fff;border:1px solid #e5e7eb;border-radius:999px;padding:9px 13px;font-size:11px}.period-pill i{color:#16a34a;font-size:8px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stat-card,.panel,.period-card{background:#fff;border:1px solid #e7eaf0;border-radius:16px;box-shadow:0 8px 24px rgba(15,23,42,.04)}.stat-card{padding:19px;position:relative;overflow:hidden}.stat-card span{display:block;color:#64748b;font-size:11px}.stat-card b{font-size:30px}.stat-card i{position:absolute;right:18px;top:20px;font-size:26px;color:#d6e7e1}.section-head{display:flex;justify-content:space-between;align-items:end;margin:30px 0 14px}.section-head h2{font-size:19px;margin:3px 0}.section-head p{font-size:11px;color:#64748b;margin:0}.panel{padding:18px}.chart-panel{min-height:330px}.table-panel{padding:8px 14px}.table thead th{font-size:10px;text-transform:uppercase;color:#64748b;border-bottom:1px solid #e5e7eb}.table td{font-size:12px}.employee-thumb{width:42px;height:42px;border-radius:11px;object-fit:cover;background:#eef2f7}.person-cell{display:flex;gap:10px;align-items:center}.person-cell small{display:block;color:#64748b;font-size:9px}.badge-soft{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:700}.badge-soft.success{background:#dcfce7;color:#166534}.badge-soft.warning{background:#fef3c7;color:#92400e}.badge-soft.info{background:#dbeafe;color:#1d4ed8}.badge-soft.muted{background:#e5e7eb;color:#475569}.active-link{display:flex;justify-content:space-between;gap:10px;align-items:center}.link-text{font-size:11px;color:#0f766e;word-break:break-all}.period-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.period-card{padding:18px}.period-top{display:flex;justify-content:space-between;font-size:10px;color:#64748b}.period-card h3{font-size:17px;margin:15px 0}.link-box{font-size:10px;background:#f8fafc;border:1px dashed #cbd5e1;padding:10px;border-radius:9px;word-break:break-all;color:#475569}.period-actions{margin-top:14px;display:flex;gap:6px;flex-wrap:wrap}.footer{position:fixed;bottom:0;left:250px;right:0;background:#17251f;color:#cbd5e1;border-top:2px solid #ffc107;text-align:center;padding:8px;font-size:10px}.modal-content{border:0;border-radius:18px;box-shadow:0 20px 60px rgba(0,0,0,.18)}label{font-size:11px;font-weight:600;margin-bottom:6px}.form-control,.form-select{border-radius:10px;border-color:#dbe1e8;font-size:12px}.btn{border-radius:10px;font-size:12px;font-weight:600}.btn-primary{background:#0f766e;border-color:#0f766e}.login-wrap{min-height:80vh;display:grid;place-items:center}.login-card{width:min(440px,100%);background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:32px;box-shadow:0 18px 60px rgba(15,23,42,.08)}.login-logo{text-align:center;margin-bottom:10px}.login-logo img{width:90px;height:90px;object-fit:contain}.login-card h2{font-size:24px}.login-card p{font-size:11px;color:#64748b}.login-note{font-size:9px;color:#64748b;background:#f8fafc;padding:10px;border-radius:10px;margin-top:14px}.survey-body{background:linear-gradient(135deg,#f0fdf4,#f8fafc);min-height:100vh}.survey-page{max-width:900px;margin:auto;padding:30px 15px}.survey-card{background:#fff;border-radius:24px;padding:35px;box-shadow:0 20px 70px rgba(15,23,42,.08);text-align:center}.survey-card.wide{text-align:left}.survey-brand{padding:0;margin-bottom:25px}.survey-brand img{width:55px;height:55px;object-fit:contain}.survey-card h1{font-size:25px;margin:5px 0}.survey-card .lead{font-size:11px;color:#64748b}.survey-icon{width:68px;height:68px;border-radius:50%;background:#e5e7eb;display:grid;place-items:center;margin:10px auto 18px;font-size:25px}.survey-icon.success{background:#dcfce7;color:#16a34a}.success-screen{text-align:center;padding:60px 15px}.employee-picker{margin:20px 0}.picker-btn{width:100%;border:1px solid #dbe1e8;background:#fff;border-radius:12px;padding:14px;text-align:left;display:flex;justify-content:space-between}.picker-btn span{color:#94a3b8;font-size:12px}.picker-btn span.selected{color:#1f2937;font-weight:700}.criteria-area{display:grid;gap:10px}.criteria-card{display:flex;justify-content:space-between;gap:15px;align-items:center;border:1px solid #e7eaf0;border-radius:14px;padding:15px}.criteria-card b{font-size:12px}.criteria-card p{font-size:10px;color:#64748b;margin:4px 0 0}.score-input{display:flex;align-items:center;gap:4px;min-width:105px}.score-input input{width:75px;text-align:center;font-weight:700}.score-input span{font-size:10px;color:#64748b}.survey-info{display:flex;gap:8px;background:#f8fafc;border-radius:12px;padding:11px;margin-top:15px;font-size:9px;color:#64748b}.employee-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.employee-option{border:1px solid #e5e7eb;background:#fff;border-radius:14px;padding:10px;display:flex;align-items:center;gap:10px;text-align:left}.employee-option:hover{border-color:#0f766e;background:#f0fdfa}.employee-option img{width:48px;height:48px;object-fit:cover;border-radius:10px}.employee-option b{display:block;font-size:11px}.employee-option small{display:block;font-size:9px;color:#64748b}.empty{text-align:center;color:#94a3b8;padding:30px;font-size:12px}@media(max-width:900px){.sidebar{width:210px}.main-content{margin-left:210px;width:calc(100% - 210px)}.footer{left:210px}.stats-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.sidebar{position:relative;width:100%;height:auto}.app-shell{display:block}.main-content{margin-left:0;width:100%;padding:15px 12px 55px}.footer{left:0;position:relative}.sidebar nav{display:grid;grid-template-columns:repeat(2,1fr)}.sidebar-bottom{display:none}.topbar{align-items:flex-start}.top-actions{display:none}.stats-grid{grid-template-columns:1fr 1fr}.period-grid{grid-template-columns:1fr}.section-head{align-items:flex-start;gap:10px}.employee-grid{grid-template-columns:1fr}.criteria-card{align-items:flex-start}.score-input{min-width:90px}.login-wrap{min-height:75vh}.survey-card{padding:22px 16px}.survey-page{padding:15px}.survey-card h1{font-size:20px}}
@media print{.sidebar,.topbar,.footer,.section-head .btn,.section-head select{display:none!important}.main-content{margin:0;width:100%;padding:0}.panel{box-shadow:none;border:0}.table-panel{padding:0}}
/* Standalone authentication page: never display the application sidebar. */
.login-body{min-height:100vh;background:linear-gradient(135deg,#eef8f4 0%,#f5f7fb 52%,#eef2f7 100%);display:flex;flex-direction:column;margin:0}
.login-body .login-wrap{flex:1;width:100%;min-height:0;padding:35px 15px;display:grid;place-items:center}
.login-body .login-card{margin:auto}
.auth-footer{border-top:2px solid #ffc107;background:#17251f;color:#cbd5e1;text-align:center;padding:10px;font-size:10px}
@media(max-width:576px){.login-body .login-wrap{padding:20px 12px}.login-body .login-card{padding:24px 20px}.auth-footer{font-size:9px}}

/* ===== SPPg Modern Technology Theme ===== */
:root{--tech-green:#0f766e;--tech-dark:#10231d;--tech-gold:#ffc107;--tech-blue:#2563eb;--tech-purple:#7c3aed;--tech-cyan:#0891b2}
body{background:radial-gradient(circle at 80% 0%,rgba(15,118,110,.06),transparent 28%),#f4f7fb}
.main-content{background-image:linear-gradient(rgba(15,118,110,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(15,118,110,.025) 1px,transparent 1px);background-size:30px 30px}
.tech-stats{gap:18px}
.tech-stats .stat-card{min-height:145px;color:#fff;border:0;box-shadow:0 14px 35px rgba(15,23,42,.12);overflow:hidden;isolation:isolate;transition:.25s transform,.25s box-shadow}
.tech-stats .stat-card:hover{transform:translateY(-4px);box-shadow:0 20px 42px rgba(15,23,42,.18)}
.tech-stats .stat-card span,.tech-stats .stat-card small{color:rgba(255,255,255,.8);position:relative;z-index:2}
.tech-stats .stat-card b{display:block;color:#fff;font-size:34px;line-height:1.1;margin-top:8px;position:relative;z-index:2}
.tech-stats .stat-card small{display:block;font-size:9px;margin-top:5px;position:relative;z-index:2}
.tech-stats .stat-icon{position:absolute;right:18px;top:17px;width:48px;height:48px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.12);backdrop-filter:blur(8px);border-radius:14px;display:grid;place-items:center;font-size:20px;z-index:3}
.stat-glow{position:absolute;width:160px;height:160px;border-radius:50%;right:-45px;bottom:-70px;background:rgba(255,255,255,.18);filter:blur(2px);z-index:1}
.stat-green{background:linear-gradient(135deg,#075e57,#13a68e)}
.stat-blue{background:linear-gradient(135deg,#1d4ed8,#0891b2)}
.stat-purple{background:linear-gradient(135deg,#5b21b6,#8b5cf6)}
.stat-gold{background:linear-gradient(135deg,#b45309,#eab308)}
.panel{backdrop-filter:blur(8px);background:rgba(255,255,255,.92)}
.btn-light{background:#eef2f7;border-color:#d6dde7;color:#334155}
.btn-light:hover{background:#e2e8f0;border-color:#cbd5e1;color:#0f172a}
.btn-danger{background:#dc3545;border-color:#dc3545;color:#fff}
.btn-warning{background:#f59e0b;border-color:#f59e0b;color:#17251f}
.modal-footer .btn-secondary,.modal-footer .btn-light{background:#64748b;border-color:#64748b;color:#fff}
.modal-footer .btn-secondary:hover,.modal-footer .btn-light:hover{background:#475569;border-color:#475569;color:#fff}
.modal-footer .btn-primary{background:#0f766e;border-color:#0f766e;color:#fff}

/* Survey star rating */
.survey-modern-card{border:1px solid rgba(15,118,110,.12);box-shadow:0 24px 80px rgba(15,23,42,.10);position:relative;overflow:hidden}
.survey-modern-card:before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:linear-gradient(90deg,#0f766e,#ffc107,#0f766e)}
.live-badge{margin-left:auto;font-size:9px;font-weight:700;color:#166534;background:#dcfce7;border:1px solid #bbf7d0;padding:7px 10px;border-radius:999px;white-space:nowrap}.live-badge i{font-size:7px;margin-right:4px}
.criteria-info{display:flex;align-items:flex-start;gap:12px;flex:1}.criteria-number{width:30px;height:30px;border-radius:10px;background:#e6fffa;color:#0f766e;display:grid;place-items:center;font-size:11px;font-weight:800;flex:0 0 30px}.rating-card{padding:17px;background:linear-gradient(135deg,#fff,#fbfefd);transition:.2s border,.2s box-shadow,.2s transform}.rating-card:hover{border-color:#99f6e4;box-shadow:0 8px 24px rgba(15,118,110,.08);transform:translateY(-1px)}
.star-rating{display:flex;align-items:center;gap:2px;flex-wrap:wrap;justify-content:flex-end}.star-btn{border:0;background:transparent;color:#cbd5e1;padding:3px;font-size:21px;line-height:1;cursor:pointer;transition:.15s transform,.15s color}.star-btn:hover{color:#f59e0b;transform:scale(1.15)}.star-btn.active{color:#f59e0b;text-shadow:0 2px 7px rgba(245,158,11,.25)}.rating-value{min-width:43px;text-align:right;font-size:9px;font-weight:700;color:#64748b;margin-left:5px}.rating-legend{display:flex;justify-content:space-between;gap:8px;margin-top:12px;padding:9px 12px;border-radius:10px;background:#f8fafc;color:#64748b;font-size:9px}.rating-legend i{color:#f59e0b}.status-chip{display:inline-block;border-radius:999px;padding:6px 10px;font-size:9px;font-weight:800;margin-bottom:10px}.status-open{background:#dcfce7;color:#166534}.status-draft{background:#fef3c7;color:#92400e}.status-closed{background:#e5e7eb;color:#475569}

@media(max-width:700px){.tech-stats .stat-card{min-height:125px}.tech-stats .stat-card b{font-size:28px}.tech-stats .stat-icon{width:40px;height:40px;font-size:16px}.live-badge{font-size:8px}.criteria-card{flex-direction:column}.star-rating{width:100%;justify-content:flex-start}.rating-value{margin-left:4px}.rating-legend{flex-direction:column;gap:4px}.survey-brand{flex-wrap:wrap}.live-badge{margin-left:65px}}

/* ===== v5 Technology Headers & Suggestion ===== */
.tech-header{position:relative;padding:18px 20px 20px;margin:-5px -5px 28px;border-radius:18px;background:linear-gradient(115deg,rgba(15,118,110,.98),rgba(10,78,68,.98) 55%,rgba(23,37,31,.98));color:#fff;box-shadow:0 16px 38px rgba(15,118,110,.18);overflow:hidden;border:1px solid rgba(255,255,255,.12)}
.tech-header:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);background-size:24px 24px;mask-image:linear-gradient(90deg,#000,transparent 85%);pointer-events:none}
.tech-header:after{content:"";position:absolute;width:260px;height:260px;right:-90px;top:-150px;border-radius:50%;border:1px solid rgba(255,193,7,.35);box-shadow:0 0 0 20px rgba(255,193,7,.04),0 0 0 40px rgba(255,193,7,.025)}
.tech-header>*{position:relative;z-index:2}.tech-header .eyebrow{color:#a7f3d0}.tech-header h1{color:#fff;font-size:24px;letter-spacing:-.3px}.tech-line{display:flex;align-items:center;gap:7px}.tech-dot{width:7px;height:7px;background:#ffc107;border-radius:50%;box-shadow:0 0 12px rgba(255,193,7,.85)}.tech-subtitle{font-size:8px;letter-spacing:1.8px;color:rgba(255,255,255,.65);margin-top:7px}.tech-subtitle i{color:#ffc107;margin-right:5px}
.tech-header .period-pill{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.2);color:#fff;backdrop-filter:blur(10px)}.tech-header .period-pill i{color:#86efac}
.tech-survey-header{margin:0 -35px 25px;padding:18px 35px 16px;background:linear-gradient(120deg,#0b4f47,#0f766e 58%,#12332b);border-radius:24px 24px 0 0;position:relative;overflow:hidden;box-shadow:inset 0 -1px rgba(255,255,255,.12)}
.tech-survey-header:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);background-size:22px 22px;opacity:.7}.tech-survey-header>*{position:relative;z-index:2}.survey-brand-main{display:flex;align-items:center;gap:10px}.tech-survey-header img{filter:drop-shadow(0 4px 10px rgba(0,0,0,.2))}.tech-survey-header b{color:#ffc107}.tech-survey-header small{color:rgba(255,255,255,.72)}.survey-header-meta{margin-left:auto;display:flex;align-items:center;gap:8px}.tech-scan{font-size:8px;letter-spacing:1px;color:#a7f3d0;border:1px solid rgba(167,243,208,.25);background:rgba(255,255,255,.07);padding:7px 9px;border-radius:999px}.tech-scan i{color:#ffc107;margin-right:4px}
.suggestion-box{margin-top:14px;padding:16px;border-radius:15px;border:1px solid #dce7e4;background:linear-gradient(135deg,#f8fffd,#f7fafc);box-shadow:0 8px 20px rgba(15,118,110,.045)}.suggestion-title{display:flex;align-items:center;gap:10px;margin-bottom:10px}.suggestion-title b{display:block;font-size:12px}.suggestion-title small{display:block;color:#64748b;font-size:9px;margin-top:2px}.suggestion-icon{width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#0f766e,#0891b2);color:#fff;display:grid;place-items:center;box-shadow:0 6px 14px rgba(15,118,110,.18)}.suggestion-input{resize:vertical;min-height:95px;background:#fff;border-color:#d8e4e1;font-size:11px;line-height:1.6}.suggestion-input:focus{border-color:#0f766e;box-shadow:0 0 0 3px rgba(15,118,110,.1)}.suggestion-counter{display:flex;justify-content:space-between;margin-top:6px;color:#94a3b8;font-size:8px}.suggestion-report{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:14px;font-size:11px;line-height:1.7;white-space:pre-wrap;min-height:90px}
@media(max-width:700px){.tech-header{margin:0 0 18px;padding:15px}.tech-header h1{font-size:19px}.tech-header .period-pill{display:none}.tech-survey-header{margin:0 -16px 22px;padding:16px}.survey-header-meta{width:100%;margin:8px 0 0 65px;justify-content:flex-start}.tech-scan{font-size:7px}.suggestion-box{padding:13px}}

.form-hint{font-size:9px;color:#64748b;margin-top:6px}.form-hint i{margin-right:4px}.photo-upload-box{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:14px;padding:13px}.photo-upload-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.photo-upload-head small{display:block;color:#64748b;font-size:9px;margin-top:3px}.photo-preview-wrap{margin-top:10px;display:flex;align-items:center;gap:10px;color:#64748b;font-size:9px}.photo-preview-wrap img{width:64px;height:64px;border-radius:12px;object-fit:cover;border:2px solid #d1fae5}.btn-secondary{background:#64748b;border-color:#64748b;color:#fff}.btn-secondary:hover{background:#475569;border-color:#475569;color:#fff}.btn-light{background:#f1f5f9;border-color:#e2e8f0}.btn-light:hover{background:#e2e8f0}

/* Modal fallback: keeps Tambah/Edit Pegawai functional if Bootstrap JS is unavailable. */
.modal-fallback-open{display:block!important;position:fixed;inset:0;z-index:1055;background:rgba(15,23,42,.58);overflow:auto;padding:30px 15px}.modal-fallback-open .modal-dialog{margin:0 auto;max-width:500px}.modal-fallback-open .modal-content{animation:modalIn .18s ease-out}@keyframes modalIn{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}


/* ===== v8 Login Premium Technology ===== */
.login-body{position:relative;overflow-x:hidden;background:#071a16!important;color:#0f172a}
.login-body:before{content:"";position:fixed;inset:0;pointer-events:none;background-image:linear-gradient(rgba(45,212,191,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(45,212,191,.055) 1px,transparent 1px);background-size:34px 34px;mask-image:linear-gradient(to bottom,#000,transparent 85%)}
.login-body:after{content:"";position:fixed;width:560px;height:560px;right:-220px;top:-220px;border-radius:50%;border:1px solid rgba(255,193,7,.16);box-shadow:0 0 0 35px rgba(255,193,7,.025),0 0 0 70px rgba(255,193,7,.015);pointer-events:none}
.login-body .login-wrap{position:relative;z-index:2;padding:45px 18px}
.login-card{position:relative;width:min(455px,100%);padding:38px 38px 30px;background:rgba(255,255,255,.97);border:1px solid rgba(255,255,255,.55);border-radius:26px;box-shadow:0 30px 90px rgba(0,0,0,.30);overflow:hidden}
.login-card:before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:linear-gradient(90deg,#0f766e,#0891b2,#ffc107,#0f766e)}
.login-logo{width:96px;height:96px;margin:0 auto 17px;display:grid;place-items:center;border-radius:24px;background:linear-gradient(145deg,#ecfdf5,#f8fafc);border:1px solid #d7eee8;box-shadow:0 12px 28px rgba(15,118,110,.12)}
.login-logo img{width:76px;height:76px;object-fit:contain}
.login-card .eyebrow{text-align:center;color:#0f766e;font-size:9px;letter-spacing:2px}
.login-card h2{text-align:center;font-size:25px;font-weight:800;margin:8px 0 6px;color:#10231d}
.login-card>p{text-align:center;font-size:10px;line-height:1.7;color:#64748b;max-width:330px;margin:0 auto 23px}
.login-card form{background:#f8fafc;border:1px solid #e8eef0;border-radius:17px;padding:18px}
.login-card label{display:block;color:#334155;font-size:10px;margin-bottom:7px}
.login-card .form-control{height:48px;border-radius:12px;background:#fff;border:1px solid #dbe5e8;padding:10px 13px;font-size:12px}
.login-card .form-control:focus{border-color:#0f766e;box-shadow:0 0 0 4px rgba(15,118,110,.10)}
.login-card .btn-primary{height:48px;border-radius:12px;background:linear-gradient(135deg,#0f766e,#087f73);border:0;box-shadow:0 10px 22px rgba(15,118,110,.20);font-size:12px}
.login-card .btn-primary:hover{transform:translateY(-1px);box-shadow:0 13px 28px rgba(15,118,110,.25)}
.login-note{display:flex;gap:9px;align-items:flex-start;background:#f0fdfa;border:1px solid #ccfbf1;color:#53706a;border-radius:12px;padding:11px 12px;margin-top:15px;line-height:1.55}
.login-note i{color:#0f766e;margin-top:1px}.auth-footer{position:relative;z-index:2;border-top:1px solid rgba(255,193,7,.55);background:rgba(7,26,22,.9);color:#a9bbb5;padding:11px;font-size:9px}
.modal-open-fallback{overflow:hidden}
@media(max-width:576px){.login-body .login-wrap{padding:25px 12px}.login-card{padding:32px 18px 24px;border-radius:21px}.login-logo{width:82px;height:82px}.login-logo img{width:66px;height:66px}.login-card h2{font-size:22px}.login-card form{padding:14px}}
/* Reliable employee modal fallback / native modal */
#employeeModal.sppg-modal-open{display:block!important;position:fixed;inset:0;z-index:1080;background:rgba(8,20,30,.72);overflow:auto;padding:30px 12px;backdrop-filter:blur(6px)}
#employeeModal.sppg-modal-open .modal-dialog{margin:40px auto;max-width:560px;min-height:calc(100% - 80px);display:flex;align-items:center;pointer-events:none}
#employeeModal.sppg-modal-open .modal-content{pointer-events:auto;width:100%;background:#fff;border-radius:20px;box-shadow:0 30px 90px rgba(0,0,0,.3)}
body.sppg-modal-lock{overflow:hidden}

/* Native employee modal: independent from Bootstrap JS */
.sppg-native-modal{position:fixed;inset:0;z-index:2000;background:rgba(5,15,25,.78);backdrop-filter:blur(8px);padding:20px 12px;overflow-y:auto}
.sppg-native-modal[hidden]{display:none!important}
.sppg-native-modal .modal-dialog{max-width:560px;margin:30px auto;display:flex;align-items:center;min-height:calc(100% - 60px)}
.sppg-native-modal .modal-content{width:100%;background:#fff;border-radius:22px;box-shadow:0 30px 100px rgba(0,0,0,.35)}
body.sppg-modal-lock{overflow:hidden!important}

/* Fix: native employee modal must never be clipped on short screens */
.sppg-native-modal{display:block;height:100dvh;box-sizing:border-box}
.sppg-native-modal .modal-dialog{width:min(560px,100%);max-height:calc(100dvh - 40px);min-height:0;height:auto;margin:20px auto;display:flex;align-items:stretch}
.sppg-native-modal .modal-content{display:flex;flex-direction:column;max-height:calc(100dvh - 40px);overflow:hidden}
.sppg-native-modal .modal-header{flex:0 0 auto}
.sppg-native-modal .modal-body{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding:20px}
.sppg-native-modal .modal-footer{flex:0 0 auto;background:#fff;border-top:1px solid #e5e7eb;position:relative}
@media(max-width:700px){
  .sppg-native-modal{padding:10px 8px}
  .sppg-native-modal .modal-dialog{width:100%;max-height:calc(100dvh - 20px);margin:10px auto}
  .sppg-native-modal .modal-content{max-height:calc(100dvh - 20px);border-radius:16px}
  .sppg-native-modal .modal-body{padding:16px}
  .sppg-native-modal .modal-header,.sppg-native-modal .modal-footer{padding:12px 16px}
}

/* ===== SPPg v12 - Modal Pegawai: always fully visible ===== */
html.sppg-modal-html, body.sppg-modal-lock{overflow:hidden!important}
.sppg-native-modal{position:fixed!important;inset:0!important;z-index:99999!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;padding:16px!important;overflow-y:auto!important;background:rgba(5,15,25,.80)!important;backdrop-filter:blur(10px)}
.sppg-native-modal[hidden]{display:none!important}
.sppg-native-modal .modal-dialog{width:min(680px,100%)!important;max-width:680px!important;height:auto!important;max-height:none!important;min-height:0!important;margin:16px auto!important;display:block!important}
.sppg-native-modal .modal-content{width:100%!important;height:auto!important;max-height:calc(100vh - 32px)!important;max-height:calc(100dvh - 32px)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;border:1px solid rgba(255,255,255,.65)!important;border-radius:24px!important;background:#fff!important;box-shadow:0 30px 100px rgba(0,0,0,.42)!important}
.sppg-native-modal .modal-header{flex:0 0 auto!important;min-height:76px!important;padding:16px 22px!important;border-bottom:1px solid #e8edf2!important;background:linear-gradient(135deg,#ffffff 0%,#f5fbfa 100%)!important;position:relative!important}
.sppg-native-modal .modal-header .modal-title{font-size:22px!important;line-height:1.2!important}
.sppg-native-modal .modal-body{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:20px 22px!important;-webkit-overflow-scrolling:touch!important}
.sppg-native-modal .modal-footer{flex:0 0 auto!important;min-height:68px!important;padding:12px 22px!important;border-top:1px solid #e8edf2!important;background:#fff!important;display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:8px!important}
.sppg-native-modal .modal-footer .btn{min-width:96px!important}
.sppg-native-modal .photo-upload-box{margin-bottom:0!important}
@media(max-height:620px){.sppg-native-modal{padding:8px!important}.sppg-native-modal .modal-dialog{margin:8px auto!important}.sppg-native-modal .modal-content{max-height:calc(100vh - 16px)!important;max-height:calc(100dvh - 16px)!important;border-radius:18px!important}.sppg-native-modal .modal-header{min-height:60px!important;padding:10px 16px!important}.sppg-native-modal .modal-body{padding:12px 16px!important}.sppg-native-modal .modal-footer{min-height:58px!important;padding:8px 16px!important}}
@media(max-width:576px){.sppg-native-modal{padding:8px!important}.sppg-native-modal .modal-dialog{width:100%!important;margin:8px auto!important}.sppg-native-modal .modal-content{max-height:calc(100vh - 16px)!important;max-height:calc(100dvh - 16px)!important;border-radius:18px!important}.sppg-native-modal .modal-header{padding:12px 16px!important}.sppg-native-modal .modal-body{padding:14px 16px!important}.sppg-native-modal .modal-footer{padding:9px 16px!important}.sppg-native-modal .modal-header .modal-title{font-size:19px!important}}

/* ===== SPPg v13 - One Link, All Employees, One Submission ===== */
.survey-all-page{max-width:1120px}
.survey-all-page .survey-card{padding:28px}
.survey-progress-panel{margin:18px 0 20px;padding:14px 16px;border:1px solid #d9ece8;border-radius:14px;background:linear-gradient(135deg,#f0fdfa,#f8fafc)}
.survey-progress-panel>div:first-child{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:9px;font-size:10px;color:#64748b}.survey-progress-panel strong{color:#0f766e;font-size:11px}
.progress-track{height:9px;background:#dbe7e5;border-radius:99px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#0f766e,#14b8a6,#ffc107);border-radius:99px;transition:width .25s ease}
.all-employees-list{display:grid;gap:18px}
.employee-rating-card{border:1px solid #dfe8e6;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 8px 28px rgba(15,23,42,.055);scroll-margin-top:16px}
.employee-rating-card.is-complete{border-color:#99d8c8;box-shadow:0 10px 30px rgba(15,118,110,.08)}
.employee-rating-header{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:20px 18px;background:linear-gradient(115deg,#f3fbf9,#fff);text-align:center}
.employee-profile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-width:0;width:100%;text-align:center}.employee-profile img{width:120px;height:180px;aspect-ratio:2/3;object-fit:cover;border-radius:10px;border:2px solid #d7eee8;background:#eef5f3;box-shadow:0 8px 22px rgba(15,23,42,.10)}.employee-profile h2{font-size:16px;margin:2px 0 2px;line-height:1.3}.employee-profile p{font-size:10px;color:#64748b;margin:0}.employee-number{font-size:8px;font-weight:800;letter-spacing:1.2px;color:#0f766e;text-transform:uppercase}
.employee-status{white-space:nowrap;font-size:9px;font-weight:800;color:#64748b;background:#f1f5f9;border-radius:999px;padding:7px 10px}.employee-status i{margin-right:4px}.employee-rating-card.is-complete .employee-status{color:#166534;background:#dcfce7}
.employee-criteria-list{padding:13px 16px 0;display:grid;gap:9px}.employee-criteria-list .criteria-card{margin:0;background:#fbfdfd}.employee-criteria-list .criteria-card.needs-rating{border-color:#fca5a5;box-shadow:0 0 0 3px rgba(239,68,68,.07)}
.employee-suggestion-box{margin:13px 16px 16px}
@media(max-width:700px){.survey-all-page .survey-card{padding:18px 12px}.employee-rating-header{align-items:center;flex-direction:column}.employee-status{align-self:center}.employee-profile img{width:100px;height:150px}.employee-profile h2{font-size:14px}.employee-criteria-list{padding:10px 10px 0}.employee-criteria-list .criteria-card{flex-direction:column;align-items:stretch}.employee-criteria-list .star-rating{justify-content:flex-start;padding-top:2px}.employee-suggestion-box{margin:10px}.survey-progress-panel>div:first-child{align-items:flex-start;flex-direction:column;gap:3px}}

.chart-live-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:-2px 0 8px;padding:8px 10px;border-radius:10px;background:#f0fdfa;color:#0f766e;font-size:10px}.chart-live-bar small{color:#64748b;font-size:9px}@media(max-width:700px){.chart-live-bar{align-items:flex-start;flex-direction:column;gap:3px}}

/* SPPg v15: evaluation detail + chart fallback */
.chart-panel{min-height:360px;position:relative}.chart-panel canvas{height:300px!important}.fallback-bar-row{display:grid;grid-template-columns:minmax(120px,1fr) 3fr 70px;gap:10px;align-items:center;margin:9px 0;font-size:10px}.fallback-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fallback-track{height:12px;background:#e9eef3;border-radius:99px;overflow:hidden}.fallback-fill{height:100%;background:linear-gradient(90deg,#0f766e,#22c55e);border-radius:99px}.fallback-value{text-align:right}.evaluation-detail-head{display:flex;justify-content:space-between;gap:18px;align-items:center;background:#f6faf9;border:1px solid #dcece8;border-radius:14px;padding:16px;margin-bottom:16px}.evaluation-detail-person{display:flex;align-items:center;gap:14px}.evaluation-detail-person img{width:72px;height:108px;object-fit:cover;border-radius:10px}.evaluation-detail-person h3{margin:2px 0;font-size:19px}.evaluation-detail-person p{margin:0;color:#64748b;font-size:11px}.evaluation-detail-score{text-align:right}.evaluation-detail-score span,.evaluation-detail-score small{display:block;color:#64748b;font-size:10px}.evaluation-detail-score strong{display:block;color:#0f766e;font-size:25px}.evaluation-submission{border:1px solid #e5e7eb;border-radius:12px;padding:12px;margin:10px 0}.submission-head{display:flex;justify-content:space-between;margin-bottom:9px;font-size:11px}.submission-head span{color:#64748b}.submission-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.stars-small{display:flex;gap:3px;align-items:center;margin-top:4px}.stars-small b{font-size:10px;margin-left:5px}.submission-suggestion{background:#f8fafc;border-left:3px solid #0f766e;padding:9px;margin-top:10px;font-size:11px}.submission-suggestion.muted{color:#94a3b8;border-left-color:#cbd5e1}.suggestion-report{white-space:pre-wrap;line-height:1.7}.no-print{white-space:nowrap}@media(max-width:700px){.evaluation-detail-head{flex-direction:column;align-items:flex-start}.evaluation-detail-score{text-align:left}.submission-grid{grid-template-columns:1fr}.fallback-bar-row{grid-template-columns:90px 1fr 55px}}
@media print{.no-print,.sidebar,.topbar,.footer{display:none!important}.main-content{margin:0;width:100%}}
.dashboard-chart-note{font-size:10px;color:#64748b;margin-top:6px}.chart-panel{overflow:hidden}.chart-panel canvas{display:block;width:100%!important;height:320px!important}@media(max-width:700px){.chart-panel canvas{height:260px!important}}

/* ===== Modern Table Headers & Suggestion Highlights ===== */
.table-panel .table{--bs-table-bg:transparent;border-collapse:separate;border-spacing:0 4px;margin-bottom:0}
.table-panel .table thead th{
  background:linear-gradient(135deg,#0f766e 0%,#155e75 52%,#2563eb 100%);
  color:#fff!important;
  border:0!important;
  padding:13px 12px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.55px;
  text-transform:uppercase;
  white-space:nowrap;
  box-shadow:inset 0 -2px 0 rgba(255,255,255,.12);
}
.table-panel .table thead th:first-child{border-radius:12px 0 0 12px}
.table-panel .table thead th:last-child{border-radius:0 12px 12px 0}
.table-panel .table tbody tr{background:#fff;transition:.2s ease;box-shadow:0 3px 12px rgba(15,23,42,.035)}
.table-panel .table tbody tr:hover{background:#f8fffd;box-shadow:0 6px 18px rgba(15,118,110,.08)}
.table-panel .table tbody td{border-top:1px solid #edf1f5;border-bottom:1px solid #edf1f5;padding:11px 12px;vertical-align:middle}
.table-panel .table tbody td:first-child{border-left:1px solid #edf1f5;border-radius:11px 0 0 11px}
.table-panel .table tbody td:last-child{border-right:1px solid #edf1f5;border-radius:0 11px 11px 0}
.table-panel .table thead th:nth-child(2n){background:linear-gradient(135deg,#115e59 0%,#164e63 55%,#1d4ed8 100%)}

.suggestion-cell{min-width:145px}
.suggestion-badge{
  display:inline-flex;align-items:center;gap:7px;
  padding:7px 10px;border-radius:12px;
  background:linear-gradient(135deg,#fff7ed,#ffedd5);
  border:1px solid #fed7aa;color:#c2410c;
  font-size:10px;font-weight:800;
  box-shadow:0 4px 10px rgba(234,88,12,.08)
}
.suggestion-badge i{width:24px;height:24px;display:grid;place-items:center;border-radius:8px;background:#fff;color:#ea580c;font-size:11px}
.suggestion-badge small{display:block;font-size:8px;color:#9a3412;font-weight:600;margin-top:1px}
.suggestion-empty{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:10px;background:#f8fafc;border:1px dashed #cbd5e1;color:#94a3b8;font-size:9px}

/* Tables rendered inside the evaluation detail modal */
.evaluation-detail-head + .table-responsive .table thead th{background:linear-gradient(135deg,#0f766e,#2563eb);color:#fff;border-color:transparent}
.evaluation-detail-head + .table-responsive .table tbody tr:hover{background:#f0fdfa}

@media(max-width:700px){
  .table-panel .table thead th{padding:11px 9px;font-size:9px}
  .table-panel .table tbody td{padding:9px;font-size:11px}
  .suggestion-cell{min-width:125px}
}

/* ===== SPPg v18 - Survey lock + premium table headers + suggestion field ===== */
.table-panel .table thead th,
.evaluation-detail-head + .table-responsive .table thead th{
  background:linear-gradient(135deg,#0b3b36 0%,#0f766e 42%,#2563eb 100%) !important;
  color:#fff !important;
  font-weight:800 !important;
  text-transform:uppercase;
  letter-spacing:.65px;
  border:0 !important;
  box-shadow:inset 0 -3px 0 rgba(255,255,255,.14), 0 5px 14px rgba(15,118,110,.14);
  position:relative;
}
.table-panel .table thead th::after,
.evaluation-detail-head + .table-responsive .table thead th::after{
  content:"";
  display:block;
  height:2px;
  margin-top:5px;
  border-radius:99px;
  background:linear-gradient(90deg,rgba(255,255,255,.08),rgba(255,255,255,.55),rgba(255,255,255,.08));
}
.table-panel .table thead th:nth-child(2n),
.evaluation-detail-head + .table-responsive .table thead th:nth-child(2n){
  background:linear-gradient(135deg,#115e59 0%,#155e75 48%,#1d4ed8 100%) !important;
}
.table-panel .table tbody tr{border-radius:14px}

/* Saran pada halaman Isi Penilaian Pegawai */
.employee-suggestion-box{
  border:1px solid #fed7aa !important;
  border-radius:16px !important;
  background:linear-gradient(135deg,#fffaf3 0%,#fff7ed 52%,#fffbeb 100%) !important;
  box-shadow:0 7px 22px rgba(234,88,12,.08) !important;
  padding:14px !important;
}
.employee-suggestion-box .suggestion-title b{
  color:#c2410c !important;
  font-weight:800 !important;
  font-size:12px;
}
.employee-suggestion-box .suggestion-title small{
  color:#9a3412 !important;
  font-weight:600;
}
.employee-suggestion-box .suggestion-icon{
  background:linear-gradient(135deg,#f97316,#f59e0b) !important;
  color:#fff !important;
  box-shadow:0 5px 12px rgba(234,88,12,.2);
}
.employee-suggestion-box .suggestion-input{
  border:2px solid #fdba74 !important;
  background:#fff !important;
  color:#7c2d12 !important;
  font-weight:700 !important;
  border-radius:12px !important;
  min-height:86px;
  transition:.2s ease;
}
.employee-suggestion-box .suggestion-input::placeholder{color:#c2410c;opacity:.58;font-weight:500}
.employee-suggestion-box .suggestion-input:focus{
  border-color:#f97316 !important;
  box-shadow:0 0 0 4px rgba(249,115,22,.12) !important;
  outline:0;
}
.employee-suggestion-box .suggestion-counter{color:#9a3412;font-weight:600}

/* Notifikasi browser sudah pernah mengisi periode */
.survey-already-notice{
  display:flex;
  align-items:center;
  gap:13px;
  margin:18px 0;
  padding:15px 17px;
  border:1px solid #f5c2c7;
  border-left:5px solid #dc3545;
  border-radius:15px;
  background:linear-gradient(135deg,#fff5f5,#fff1f2);
  color:#7f1d1d;
  box-shadow:0 8px 22px rgba(220,53,69,.09);
  animation:surveyNoticeIn .35s ease both;
}
.survey-already-icon{
  flex:0 0 40px;
  width:40px;height:40px;border-radius:12px;
  display:grid;place-items:center;
  background:linear-gradient(135deg,#dc3545,#b91c1c);
  color:#fff;font-size:16px;
  box-shadow:0 5px 13px rgba(185,28,28,.2);
}
.survey-already-notice strong{display:block;font-size:13px;font-weight:800;margin-bottom:2px}
.survey-already-notice span{display:block;font-size:10px;line-height:1.55;color:#991b1b;font-weight:600}
.survey-local-block{margin:18px 0 0}
@keyframes surveyNoticeIn{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:translateY(0)}}

@media(max-width:700px){
  .employee-suggestion-box{padding:11px !important}
  .employee-suggestion-box .suggestion-input{font-size:12px !important}
  .survey-already-notice{align-items:flex-start;padding:13px}
  .survey-already-icon{width:36px;height:36px;flex-basis:36px}
}


/* Detail penilaian - Saran & Masukan dibuat lebih menonjol */
.submission-suggestion.suggestion-highlight{
  margin-top:14px !important;
  padding:0 !important;
  border:1px solid #fed7aa !important;
  border-left:5px solid #f97316 !important;
  border-radius:14px !important;
  background:linear-gradient(135deg,#fffaf3 0%,#fff7ed 55%,#fffbeb 100%) !important;
  box-shadow:0 8px 22px rgba(234,88,12,.10) !important;
  overflow:hidden;
  color:#7c2d12 !important;
}
.suggestion-highlight-head{
  display:flex;
  align-items:center;
  gap:10px;
  padding:11px 13px;
  background:linear-gradient(90deg,rgba(249,115,22,.13),rgba(245,158,11,.07));
  border-bottom:1px solid rgba(249,115,22,.16);
}
.suggestion-highlight-icon{
  width:34px;height:34px;flex:0 0 34px;
  display:grid;place-items:center;
  border-radius:10px;
  background:linear-gradient(135deg,#f97316,#f59e0b);
  color:#fff;
  font-size:14px;
  box-shadow:0 5px 12px rgba(234,88,12,.22);
}
.suggestion-highlight-head b{
  display:block;
  color:#c2410c;
  font-size:10px;
  font-weight:900;
  letter-spacing:.7px;
}
.suggestion-highlight-head small{
  display:block;
  margin-top:2px;
  color:#9a3412;
  font-size:9px;
  font-weight:600;
}
.suggestion-highlight-text{
  padding:12px 14px 14px;
  color:#7c2d12;
  font-size:11px;
  line-height:1.75;
  font-weight:800;
  white-space:normal;
}
.submission-suggestion.muted{
  font-weight:600;
}
.submission-suggestion.muted b{font-weight:800;color:#64748b}

/* Survey: tampilkan halaman "sudah pernah diisi" tanpa flash form */
html.survey-client-locked .survey-form-area{display:none !important}
html.survey-client-locked .survey-client-locked-message{display:flex !important}
.survey-client-locked-message{display:none}
@media(max-width:700px){
  .suggestion-highlight-text{font-size:10.5px;padding:11px 12px 13px}
  .suggestion-highlight-head{padding:10px 11px}
}

/* ===== SPPg v20 - Green table headers + reliable dashboard chart ===== */
.table-panel .table thead th,
.evaluation-detail-head + .table-responsive .table thead th,
.table thead th{
  background:linear-gradient(135deg,#064e3b 0%,#0f766e 55%,#15803d 100%) !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:800 !important;
  letter-spacing:.35px;
  text-transform:none !important;
  padding:14px 13px !important;
  border:0 !important;
  box-shadow:inset 0 -3px 0 rgba(255,255,255,.16),0 4px 12px rgba(6,78,59,.12);
}
.table-panel .table thead th:nth-child(2n),
.evaluation-detail-head + .table-responsive .table thead th:nth-child(2n){
  background:linear-gradient(135deg,#065f46 0%,#0f766e 58%,#15803d 100%) !important;
}
.table-panel .table thead th::after,
.evaluation-detail-head + .table-responsive .table thead th::after{display:none !important}
.table-panel .table tbody td{font-size:12px}
.chart-panel{min-height:390px !important;padding:16px 18px 20px !important}
.chart-panel canvas{height:320px !important}
.chart-empty-state{height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#64748b;text-align:center}
.chart-empty-state i{font-size:38px;color:#0f766e;margin-bottom:4px}
.chart-empty-state b{font-size:15px;color:#334155}
.chart-empty-state span{font-size:10px}
.fallback-bar-row{font-size:11px;margin:11px 0}
.fallback-label{font-weight:600}
.fallback-value{font-size:11px}
@media(max-width:700px){
 .table-panel .table thead th,.evaluation-detail-head + .table-responsive .table thead th,.table thead th{font-size:11px !important;padding:11px 9px !important}
 .chart-panel{min-height:330px !important}
 .chart-panel canvas,.chart-empty-state{height:260px !important}
}

/* ===== SPPg v22 - Dashboard graph tanpa ketergantungan Chart.js ===== */
.score-graph{display:grid;gap:11px;padding:8px 4px 4px;max-height:325px;overflow-y:auto}
.score-graph-row{display:grid;grid-template-columns:minmax(150px,26%) 1fr 62px;gap:12px;align-items:center}
.score-graph-name{font-size:11px;font-weight:700;color:#334155;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.score-graph-track{height:22px;background:#eef4f1;border:1px solid #dbe9e3;border-radius:999px;overflow:hidden;box-shadow:inset 0 1px 2px rgba(15,23,42,.04)}
.score-graph-fill{height:100%;min-width:0;border-radius:999px;background:linear-gradient(90deg,#0f766e 0%,#16a34a 100%);box-shadow:0 3px 9px rgba(15,118,110,.16);transition:width .45s ease}
.score-graph-value{font-size:11px;color:#0f766e;text-align:right}
@media(max-width:700px){.score-graph{max-height:300px}.score-graph-row{grid-template-columns:105px 1fr 48px;gap:7px}.score-graph-name{font-size:9px}.score-graph-track{height:18px}.score-graph-value{font-size:9px}}

/* ===== SPPg v23 - Vertical score bars by criterion ===== */
.criteria-column-chart{display:flex;gap:22px;align-items:stretch;overflow-x:auto;padding:12px 6px 4px;min-height:350px}
.criteria-column-group{min-width:170px;flex:1;display:flex;flex-direction:column;gap:8px}
.criteria-plot{height:275px;position:relative;border-bottom:1px solid #cbd5e1;border-left:1px solid #cbd5e1;padding-left:2px}
.criteria-grid-lines{position:absolute;inset:0 0 0 0;pointer-events:none}
.criteria-grid-lines span{position:absolute;left:-20px;font-size:9px;color:#64748b;line-height:1;transform:translateY(50%)}
.criteria-grid-lines span::after{content:"";position:absolute;left:23px;bottom:3px;width:calc(100vw - 100px);max-width:190px;border-top:1px dashed #e2e8f0;z-index:0}
.criteria-bars{height:100%;display:flex;align-items:flex-end;justify-content:center;gap:7px;padding:0 7px;position:relative;z-index:1}
.criteria-bar-item{height:100%;min-width:25px;max-width:52px;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;position:relative;gap:3px}
.criteria-bar{width:100%;min-height:0;border-radius:7px 7px 2px 2px;box-shadow:0 5px 12px rgba(15,23,42,.12);transition:height .45s ease;position:relative}
.criteria-bar-item>b{font-size:9px;color:#334155;min-height:12px}
.criteria-bar-item>span{font-size:8px;color:#64748b;white-space:nowrap;max-width:58px;overflow:hidden;text-overflow:ellipsis;transform:rotate(-42deg);transform-origin:top center;margin-top:5px}
.criteria-column-title{text-align:center;font-size:11px;color:#0f766e;font-weight:800;min-height:32px;display:flex;justify-content:center;align-items:flex-start}
.criteria-legend{display:flex;gap:12px;flex-wrap:wrap;padding:8px 4px 0;margin-top:2px;border-top:1px solid #eef2f7}
.criteria-legend span{font-size:9px;color:#475569;display:inline-flex;align-items:center;gap:5px}
.criteria-legend i{width:9px;height:9px;border-radius:3px;display:inline-block}
@media(max-width:700px){.criteria-column-chart{gap:14px;min-height:325px}.criteria-column-group{min-width:145px}.criteria-plot{height:245px}.criteria-bars{gap:4px;padding:0 5px}.criteria-bar-item>span{font-size:7px;max-width:46px}.criteria-column-title{font-size:10px}.criteria-grid-lines span{font-size:8px;left:-17px}}
.dashboard-chart-filters{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.dashboard-chart-filters .form-select{min-width:145px;font-weight:700;border-radius:10px}.dashboard-chart-filters .form-select:focus{border-color:#0f766e;box-shadow:0 0 0 3px rgba(15,118,110,.12)}
@media(max-width:800px){.dashboard-chart-filters{width:100%;justify-content:stretch}.dashboard-chart-filters .form-select{flex:1;min-width:130px}}

/* ===== SPPg v25.1 - Dashboard filter modernisasi ===== */
.dashboard-chart-filters{display:grid;grid-template-columns:145px minmax(190px,230px) minmax(180px,1fr);gap:10px;align-items:end;justify-content:stretch;padding:10px;background:#f7faf9;border:1px solid #e2ece8;border-radius:14px;box-shadow:0 5px 18px rgba(15,118,110,.05)}
.chart-filter-item{min-width:0}
.chart-filter-item label{display:flex;align-items:center;gap:5px;margin:0 0 5px 2px;font-size:9px;font-weight:800;letter-spacing:.35px;text-transform:uppercase;color:#64748b}
.chart-filter-item label i{color:#0f766e;font-size:10px}
.dashboard-chart-filters .form-select{width:100%;min-width:0;height:39px;padding:0 34px 0 11px;border:1px solid #d6e3df;border-radius:10px;background-color:#fff;color:#1f2937;font-size:11px;font-weight:700;box-shadow:0 2px 7px rgba(15,23,42,.04);cursor:pointer}
.dashboard-chart-filters .form-select:hover{border-color:#9cc8bb}
.dashboard-chart-filters .form-select:focus{border-color:#0f766e;box-shadow:0 0 0 3px rgba(15,118,110,.12);outline:0}
.chart-filter-period .form-select{border-color:#a7d8c9;background:#fbfffd}
@media(max-width:900px){.dashboard-chart-filters{grid-template-columns:1fr 1.3fr 1fr}}
@media(max-width:700px){.dashboard-chart-filters{grid-template-columns:1fr;gap:8px;padding:10px}.chart-filter-item label{font-size:8px}.dashboard-chart-filters .form-select{height:42px;font-size:12px}}


/* ===== SPPg v30 - Table header centered, chart period info, employee action labels ===== */
.table thead th,
.table-panel .table thead th,
.evaluation-detail-head + .table-responsive .table thead th{
  text-align:center !important;
  vertical-align:middle !important;
}
.chart-period-description{
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:3px;
  margin:0 0 14px;padding:10px 14px;border:1px solid #cfe8df;border-radius:12px;
  background:linear-gradient(135deg,#f0fdf4 0%,#ecfeff 100%);
  color:#334155;font-size:11px;line-height:1.5;text-align:center;
}
.chart-period-description i{color:#0f766e;font-size:13px;margin-right:3px}
.chart-period-description strong{color:#0f766e;font-weight:800}
.table-panel td:last-child .btn{min-width:34px}
.table-panel td:last-child{white-space:nowrap}
@media(max-width:700px){.chart-period-description{font-size:10px;padding:9px 10px}.table-panel td:last-child .btn{min-width:32px}}

/* ===== SPPg v31 - Dashboard cards & centered table headers ===== */
.tech-stats .stat-card{
  position:relative;
  min-height:148px;
  padding:20px 86px 18px 20px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  isolation:isolate;
}
.tech-stats .stat-card > span,
.tech-stats .stat-card > b,
.tech-stats .stat-card > small{position:relative;z-index:4;max-width:100%;}
.tech-stats .stat-card > span{font-size:11px;line-height:1.35;margin:0 0 2px;}
.tech-stats .stat-card > b{font-size:34px;line-height:1.05;margin:5px 0 0;}
.tech-stats .stat-card > small{font-size:9px;line-height:1.4;margin:5px 0 0;}
.tech-stats .stat-card .stat-icon{
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  width:50px;
  height:50px;
  margin:0;
  flex:0 0 50px;
  display:grid;
  place-items:center;
  border-radius:15px;
  z-index:5;
  font-size:21px;
  line-height:1;
  box-sizing:border-box;
}
.tech-stats .stat-card .stat-icon i{display:block;line-height:1;margin:0;}
.tech-stats .stat-card .stat-glow{pointer-events:none;}

/* Semua header tabel rata tengah */
.table thead th,
.table-panel .table thead th,
.evaluation-detail-head + .table-responsive .table thead th{
  text-align:center !important;
  vertical-align:middle !important;
}
.table thead th .text-start,
.table-panel .table thead th .text-start{ text-align:center !important; }

@media(max-width:900px){
  .tech-stats .stat-card{padding-right:76px;min-height:140px;}
  .tech-stats .stat-card .stat-icon{right:14px;width:44px;height:44px;flex-basis:44px;font-size:18px;border-radius:13px;}
}
@media(max-width:700px){
  .tech-stats{gap:10px;}
  .tech-stats .stat-card{min-height:126px;padding:16px 62px 14px 15px;border-radius:14px;}
  .tech-stats .stat-card > b{font-size:28px;}
  .tech-stats .stat-card > span{font-size:10px;}
  .tech-stats .stat-card > small{font-size:8px;}
  .tech-stats .stat-card .stat-icon{right:11px;width:38px;height:38px;flex-basis:38px;font-size:15px;border-radius:11px;}
}

/* ===== SPPg v32 - Fix icon position inside dashboard statistic cards ===== */
.tech-stats .stat-card .stat-icon i,
.tech-stats .stat-card .stat-icon > i,
.tech-stats .stat-card .stat-icon svg{
  position:static !important;
  inset:auto !important;
  top:auto !important;
  right:auto !important;
  bottom:auto !important;
  left:auto !important;
  transform:none !important;
  display:block !important;
  width:auto;
  height:auto;
  margin:0 !important;
  line-height:1 !important;
  text-align:center;
}
.tech-stats .stat-card .stat-icon{
  top:50% !important;
  right:18px !important;
  transform:translateY(-50%) !important;
  display:grid !important;
  place-items:center !important;
  overflow:hidden;
}
@media(max-width:900px){
  .tech-stats .stat-card .stat-icon{right:14px !important;}
}
@media(max-width:700px){
  .tech-stats .stat-card .stat-icon{right:11px !important;}
}

/* Periode & Link Survei - filter tahun modern */
.period-section-head{align-items:flex-end}
.period-head-actions{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.period-year-filter{min-width:190px}
.period-year-filter label{display:flex;align-items:center;gap:6px;color:#475569;font-size:10px;font-weight:700;margin:0 0 6px 2px}
.period-year-filter label i{color:#0f766e}
.period-year-filter .form-select{height:38px;padding:0 34px 0 12px;background:#fff;font-weight:600;color:#1f2937;box-shadow:0 4px 14px rgba(15,118,110,.06)}
.period-create-btn{height:38px;display:inline-flex;align-items:center}
.period-filter-summary{display:flex;align-items:center;gap:8px;margin:-3px 0 14px;padding:9px 12px;border:1px solid #d9eeea;background:#f0fdfa;color:#475569;border-radius:10px;font-size:10px}
.period-filter-summary i{color:#0f766e}
.period-filter-summary b{color:#0f766e}
.period-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;gap:6px;background:#fff;border:1px dashed #cbd5e1;border-radius:16px;padding:42px 20px}.period-empty i{font-size:28px;color:#94a3b8}.period-empty strong{font-size:14px;color:#334155}.period-empty span{font-size:10px;color:#94a3b8}
.period-reopen-disabled{background:#eef1f4!important;border-color:#d9dee5!important;color:#8b95a3!important;cursor:not-allowed!important;box-shadow:none!important}
.period-reopen-disabled:hover{transform:none!important}
@media(max-width:700px){.period-section-head{display:flex}.period-head-actions{width:100%;align-items:stretch}.period-year-filter{width:100%;min-width:0}.period-create-btn{width:100%;justify-content:center}.period-filter-summary{margin-top:0}}
