*{margin:0;padding:0;box-sizing:border-box}:root{--color-bg: #0b0f14;--color-surface: #111827;--color-surface-2: #0f172a;--color-text: #e5e7eb;--color-text-muted: #cbd5e1;--color-border: #243041;--color-primary: #3b82f6;--color-primary-600: #2563eb;--color-focus: #93c5fd;--shadow-focus: 0 0 0 3px rgba(59, 130, 246, .35);--color-hover: #22304a;--color-active: #1b2a44}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background-color:var(--color-bg);color:var(--color-text);line-height:1.5}a{text-decoration:none;color:inherit}button{background-color:var(--color-primary);color:#fff;border:1px solid var(--color-primary-600);padding:.5rem 1rem;border-radius:8px;font-size:1rem;cursor:pointer;transition:background-color .2s ease,box-shadow .2s ease}button:hover{background-color:var(--color-primary-600)}button:focus-visible{outline:none;box-shadow:var(--shadow-focus)}input,textarea,select{background-color:var(--color-surface);color:var(--color-text);border:1px solid var(--color-border);padding:.6rem .7rem;border-radius:8px;width:100%;font-size:1rem}input::placeholder,textarea::placeholder{color:var(--color-text-muted)}input:focus,textarea:focus,select:focus{outline:none;border-color:var(--color-primary-600);box-shadow:var(--shadow-focus)}table{border-collapse:collapse;width:100%;background-color:var(--color-surface)}th,td{border:1px solid var(--color-border);padding:.75rem;text-align:left;color:var(--color-text)}th{background-color:var(--color-surface-2);font-weight:700}h1,h2,h3,h4,h5,h6{font-weight:700;color:var(--color-text)}.home{min-height:100vh;background:#2b2b2b;color:#e6e6e6;display:flex;align-items:center;justify-content:center;padding:32px 16px}.home-container{width:100%;max-width:1100px}.home-header{text-align:center;margin-bottom:28px}.home-title{font-size:40px;font-weight:700;letter-spacing:.3px;color:#e6e6e6}.home-subtitle{margin-top:8px;font-size:26px;font-weight:500}.home-helper{margin-top:4px;font-size:20px;opacity:.8}.roles{margin:28px auto 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;max-width:920px}@media (max-width: 900px){.roles{grid-template-columns:1fr;max-width:520px}}.role-card{background:#363636;border:1px solid #4a4a4a;border-radius:14px;padding:28px 22px;text-align:center;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;cursor:pointer}.role-card:hover{transform:translateY(-4px);border-color:#6ea8fe;box-shadow:0 10px 20px #00000059}.role-icon{width:72px;height:72px;margin:0 auto 14px;display:grid;place-items:center;border-radius:50%;background:#2f80ed22;color:#bcd4ff;border:1px solid #3a5c91}.role-icon svg{width:42px;height:42px}.role-name{font-size:18px;font-weight:600}.role-desc{font-size:14px;opacity:.8;margin-top:6px}.role-link{text-decoration:none;color:inherit;display:block}:root{--employee-bg: #0f172a;--employee-panel: linear-gradient(180deg, #0b1220, #0c1320);--employee-text: #e6eef8;--employee-accent: #2563eb;--employee-border: rgba(255,255,255,.06);--employee-hover: rgba(255,255,255,.03)}.employee{min-height:100vh;background:var(--employee-bg);color:var(--employee-text)}.employee.admin{display:grid;grid-template-columns:1fr;grid-template-rows:64px 1fr;grid-template-areas:"topbar" "content";min-height:100vh;height:100vh}.employee .admin-topbar{grid-area:topbar}.employee .admin-content{grid-area:content;padding:32px;overflow-y:auto;overflow-x:hidden;height:calc(100vh - 64px);box-sizing:border-box;display:grid;justify-items:center}.exit-link{color:var(--employee-text);text-decoration:none;padding:8px 16px;border-radius:6px;transition:background .2s ease}.exit-link:hover{background:#ffffff1a}.employee-home{width:100%;max-width:980px;margin:0 auto;padding:12px 0 8px}.employee-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px;margin-top:24px}.employee-option-card{background:radial-gradient(1000px 300px at -10% -100%,rgba(23,35,58,.3) 0,transparent 40%),var(--employee-bg);border:1px solid var(--employee-border);border-radius:12px;padding:28px;text-decoration:none;color:var(--employee-text);transition:all .3s ease;text-align:center}.employee-option-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #02061799;border-color:var(--employee-accent)}.option-icon{display:grid;place-items:center;color:var(--employee-accent);margin-bottom:16px}.option-icon svg{width:44px;height:44px}.employee-option-card h3{font-size:20px;font-weight:600;margin-bottom:8px}.employee-option-card p{opacity:.75;font-size:14px}.employee-view{background:radial-gradient(1000px 300px at -10% -100%,rgba(23,35,58,.3) 0,transparent 40%),var(--employee-bg);border:1px solid var(--employee-border);border-radius:12px;padding:18px}.employee-form{max-width:720px;margin:0 auto}.back-row{margin-bottom:12px}.back-link{color:var(--employee-text);opacity:.9;text-decoration:none}.back-link:hover{text-decoration:underline}.employee-view input,.employee-view textarea,.employee-view button{font-size:14px}.employee-view .card{padding:12px;border-radius:8px;background:#ffffff05;border:1px solid var(--employee-border)}@media (max-width: 640px){.employee .admin-content{padding:20px}.employee-options{grid-template-columns:1fr;max-width:100%}.employee-option-card{padding:24px}}.pdf-container{width:210mm;min-height:297mm;padding:20mm;margin:0 auto;background:#fff;box-sizing:border-box;font-family:Arial,sans-serif;color:#333}.pdf-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;padding-bottom:15px;border-bottom:3px solid #2563eb}.pdf-logo{max-width:180px;max-height:80px;object-fit:contain}.pdf-title{text-align:right;flex:1;margin-left:20px}.pdf-title h1{margin:0;font-size:20px;color:#1e40af;font-weight:700;text-transform:uppercase}.pdf-title .version-info{margin-top:5px;font-size:11px;color:#666}.pdf-version-box{display:flex;gap:20px;font-size:11px;margin-top:5px}.pdf-version-item{display:flex;align-items:center;gap:5px}.pdf-version-label{font-weight:700;color:#374151}.pdf-section{margin-bottom:20px}.pdf-section-title{background-color:#dbeafe;padding:8px 12px;margin-bottom:12px;font-size:14px;font-weight:700;color:#1e40af;border-left:4px solid #2563eb}.pdf-table{width:100%;border-collapse:collapse;margin-bottom:15px;font-size:11px}.pdf-table td{padding:8px;border:1px solid #d1d5db;vertical-align:top}.pdf-table td:first-child{font-weight:700;background-color:#f3f4f6;width:35%;color:#374151}.pdf-table td:nth-child(2){width:65%}.pdf-table-row-highlight{background-color:#fef3c7}.pdf-table tr,.pdf-table tbody tr,.pdf-table thead tr{page-break-inside:avoid;break-inside:avoid}.pdf-table thead{display:table-header-group}.pdf-notes-box{border:1px solid #d1d5db;padding:10px;min-height:80px;background-color:#fafafa;font-size:11px;line-height:1.5}.pdf-checkbox-group{display:flex;gap:30px;margin:10px 0;font-size:11px}.pdf-checkbox-item{display:flex;align-items:center;gap:8px}.pdf-checkbox{width:16px;height:16px;border:2px solid #374151;display:inline-block;position:relative}.pdf-checkbox.checked:after{content:"✓";position:absolute;top:-2px;left:2px;font-size:14px;font-weight:700;color:#2563eb}.pdf-footer{margin-top:30px;padding-top:15px;border-top:1px solid #d1d5db;text-align:center;font-size:10px;color:#6b7280}@media print{.pdf-container{width:100%;min-height:auto;padding:15mm;margin:0}.pdf-header,.pdf-section{page-break-inside:avoid}@page{size:A4;margin:10mm}}.pdf-preview-modal{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000000e6;display:flex;align-items:center;justify-content:center;z-index:15000;overflow:auto;padding:20px}.pdf-preview-content{background:#fff;border-radius:8px;max-width:900px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 10px 40px #0000004d}.pdf-preview-actions{position:sticky;top:0;background:#f9fafb;padding:15px 20px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center;z-index:10}.pdf-preview-actions h3{margin:0;font-size:18px;color:#1f2937}.pdf-preview-buttons{display:flex;gap:10px}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at top,#1f2937,#0b1120 62%,#050816);padding:20px}.login-card{background:#0f172ae6;border-radius:16px;border:1px solid rgba(148,163,184,.2);box-shadow:0 24px 50px #0206178c;padding:40px;width:100%;max-width:400px;position:relative;overflow:hidden}.login-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#2563eb,#38bdf8)}.login-header{text-align:center;margin-bottom:32px}.role-icon{width:80px;height:80px;margin:0 auto 16px;display:grid;place-items:center;border-radius:50%;background:#2563eb24;color:#8fb4ff;border:1px solid rgba(143,180,255,.35)}.role-icon svg{width:46px;height:46px}.login-title{color:#e2e8f0;font-size:28px;font-weight:700;margin:0 0 8px}.login-subtitle{color:#94a3b8;font-size:16px;margin:0;font-weight:500}.login-form{margin-bottom:24px}.form-group{margin-bottom:20px}.form-label{display:block;color:#cbd5f5;font-size:14px;font-weight:600;margin-bottom:8px}.form-input{width:100%;padding:12px 16px;border:1px solid rgba(148,163,184,.35);border-radius:8px;font-size:16px;transition:all .3s ease;box-sizing:border-box;background:#0a101c99;color:#e2e8f0}.password-wrapper{position:relative}.password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:transparent;border:none;padding:6px;border-radius:6px;display:flex;align-items:center;justify-content:center;cursor:pointer}.password-toggle:focus{outline:none;box-shadow:0 0 0 4px #2563eb1f}.password-toggle svg{display:block}.form-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb2e}.form-input::placeholder{color:#94a3b8b3}.login-button{width:100%;background:linear-gradient(135deg,#2563eb,#3b82f6 55%,#38bdf8);color:#fff;border:none;padding:14px 24px;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:8px}.login-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 25px #2563eb59}.login-button:disabled{opacity:.7;cursor:not-allowed;transform:none}.login-button.loading{background:#374151}.spinner{width:20px;height:20px;border:2px solid transparent;border-top:2px solid white;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.login-footer{text-align:center}.back-button{background:none;border:1px solid transparent;color:#94a3b8;font-size:14px;cursor:pointer;padding:8px 16px;border-radius:6px;transition:all .3s ease}.back-button:hover{background:#3b82f61f;color:#cbd5f5;border-color:#3b82f659}@media (max-width: 480px){.login-container{padding:10px}.login-card{padding:24px}.login-title{font-size:24px}.role-icon{width:68px;height:68px}.role-icon svg{width:38px;height:38px}}.admin{min-height:100vh;background:var(--color-bg);color:var(--color-text);display:grid;grid-template-columns:260px 1fr;grid-template-rows:64px 1fr;grid-template-areas:"sidebar topbar" "sidebar content"}.admin-topbar{grid-area:topbar;display:flex;align-items:center;justify-content:space-between;padding:0 20px;background:linear-gradient(180deg,#111827,#0f172a);border-bottom:1px solid var(--color-border)}.topbar-left{display:flex;align-items:center;gap:15px}.collapse-toggle{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;background:transparent;border:1px solid var(--color-border);border-radius:6px;color:var(--color-text);cursor:pointer}.sidebar-toggle{display:none;background:none;border:none;cursor:pointer;padding:8px;border-radius:6px;transition:background-color .3s ease}.sidebar-toggle:hover{background-color:#ffffff1a}.sidebar-toggle .hamburger{display:flex;flex-direction:column;width:20px;height:16px;position:relative}.sidebar-toggle .hamburger span{display:block;height:2px;width:100%;background-color:#e7e7e7;border-radius:1px;transition:all .3s ease;transform-origin:center}.sidebar-toggle .hamburger span:nth-child(1){margin-bottom:4px}.sidebar-toggle .hamburger span:nth-child(2){margin-bottom:4px}.sidebar-toggle .hamburger.active span:nth-child(1){transform:rotate(45deg) translate(4px,4px)}.sidebar-toggle .hamburger.active span:nth-child(2){opacity:0}.sidebar-toggle .hamburger.active span:nth-child(3){transform:rotate(-45deg) translate(4px,-4px)}.admin-topbar .brand{font-weight:600;opacity:.95}.admin-topbar .role{opacity:.75}.admin-sidebar{grid-area:sidebar;background:linear-gradient(180deg,#0b0f14,#0c1320);border-right:1px solid var(--color-border);padding:10px 10px 18px;transition:transform .3s ease;position:sticky;top:64px;height:calc(100vh - 64px);overflow:hidden}.sidebar-logo{display:flex;align-items:center;justify-content:center;padding:4px 10px 8px;margin:-10px 0 4px;transition:padding .3s ease,margin .3s ease}.sidebar-logo img{width:100%;max-width:92px;height:auto;object-fit:contain;transition:transform .3s ease,max-width .3s ease}.sidebar-close{position:absolute;top:8px;right:8px;width:44px;height:44px;border-radius:10px;border:1px solid var(--color-border);background:#00000059;color:var(--color-text);font-size:22px;line-height:1;z-index:1000;-webkit-tap-highlight-color:transparent;touch-action:manipulation;display:none}.sidebar-close:hover{background:#00000080}.sidebar-close:active{transform:scale(.98)}.sidebar-overlay{display:none;position:fixed;top:64px;left:0;width:100%;height:calc(100vh - 64px);background-color:#00000080;z-index:998;opacity:0;pointer-events:none;transition:opacity .3s ease}.sidebar-overlay.active{opacity:1;pointer-events:auto}.side-title{font-size:20px;font-weight:700;padding:8px 10px 14px;opacity:.95}.menu{display:flex;flex-direction:column;gap:6px;margin-top:8px}.menu a{display:flex;align-items:center;gap:10px;color:var(--color-text);text-decoration:none;padding:10px 12px;border-radius:10px;transition:all .3s ease}.menu a:hover{background:var(--color-hover);transform:translate(5px)}.menu a.active{background:var(--color-active);color:var(--color-text)}.menu .icon{width:26px;height:26px;display:grid;place-items:center;opacity:.85}.menu .icon svg{width:18px;height:18px}.menu .label{white-space:nowrap}.admin-content{grid-area:content;padding:22px 26px;transition:margin-left .3s ease;height:calc(100vh - 64px);overflow:auto}.welcome{font-size:34px;font-weight:700;margin-bottom:8px}.section-title{font-size:26px;font-weight:600;margin:8px 0 16px;opacity:.95}.card{background:radial-gradient(1200px 400px at -10% -100%,#17233a 0,transparent 40%),#0f172a;border:1px solid var(--color-border);border-radius:12px;padding:18px}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:12px 10px;border-bottom:1px solid var(--color-border);text-align:left}.table th{color:var(--color-text-muted);font-weight:700;font-size:13px}.table tr:hover td{background:#0f1b2d}.muted{opacity:.8}@media (max-width: 768px){.admin{grid-template-columns:1fr;grid-template-rows:64px 1fr;grid-template-areas:"topbar" "content"}.sidebar-toggle{display:block}.admin-sidebar{position:fixed;top:64px;left:0;width:260px;height:calc(100vh - 64px);z-index:999;transform:translate(-100%);box-shadow:2px 0 10px #0000004d;overflow:auto}.admin-sidebar.active{transform:translate(0)}.sidebar-close+.sidebar-logo{margin-top:12px}.sidebar-logo{padding:8px 18px 12px}.sidebar-logo img{max-width:110px}.sidebar-overlay{display:block}.sidebar-close{display:inline-flex;align-items:center;justify-content:center}.admin-content{padding:15px 20px}.welcome{font-size:28px}.section-title{font-size:22px}.card{padding:15px}.table{font-size:14px}.table th,.table td{padding:8px 6px}}.admin.collapsed{grid-template-columns:72px 1fr}.admin.collapsed .admin-sidebar{padding:10px 6px 18px}.admin.collapsed .sidebar-logo{padding:4px 0 6px;margin-bottom:6px}.admin.collapsed .sidebar-logo img{max-width:36px}.admin.collapsed .menu a{justify-content:center;gap:0}.admin.collapsed .menu .label{display:none}@media (max-width: 480px){.admin-topbar{padding:0 15px}.admin-topbar .brand{font-size:16px}.admin-topbar .role{font-size:14px}.admin-sidebar{width:100%}.admin-content{padding:12px 15px}.welcome{font-size:24px}.section-title{font-size:20px}.menu a{padding:12px 15px;font-size:16px}.side-title{font-size:18px;padding:12px 15px 16px}}.btn-small{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;font-size:13px;border-radius:8px;border:1px solid transparent;background:transparent;color:var(--color-text);cursor:pointer}.btn-primary{background:#2563eb;color:#fff;border-color:#2563ebe6}.btn-secondary{background:#374151;color:#fff}.btn-danger{background:#dc2626;color:#fff;border-color:#dc2626e6}.btn-small:hover{opacity:.95}.table td .actions{display:inline-flex;gap:8px;align-items:center}.tech .brand{opacity:.95}.notfound-root{min-height:72vh;display:flex;align-items:center;justify-content:center;padding:3rem 1.25rem;background:linear-gradient(180deg,var(--color-surface) 0%,var(--color-bg) 100%)}.notfound-container{display:grid;grid-template-columns:1fr 520px;gap:28px;align-items:center;width:100%;max-width:1100px}.notfound-illustration{display:flex;align-items:center;justify-content:center}.notfound-illustration .orb{width:420px;height:420px;border-radius:50%;background:radial-gradient(circle at 30% 30%,rgba(59,130,246,.18),transparent 25%),radial-gradient(circle at 70% 70%,rgba(96,165,250,.12),transparent 25%),linear-gradient(180deg,#11182799,#02061733);box-shadow:0 24px 60px #02061799,inset 0 6px 30px #3b82f60f}.notfound-card{background:linear-gradient(180deg,var(--color-surface-2),rgba(15,23,42,.6));border:1px solid var(--color-border);border-radius:14px;padding:28px;color:var(--color-text);box-shadow:0 12px 40px #02061799;display:flex;gap:18px;align-items:center}.notfound-logo{width:86px;height:86px;object-fit:contain;border-radius:10px;padding:8px;background:linear-gradient(180deg,#ffffff05,#ffffff03);border:1px solid rgba(255,255,255,.02);flex-shrink:0}.notfound-content{flex:1}.notfound-code{font-size:96px;margin:0;line-height:.9;font-weight:800;background:linear-gradient(90deg,var(--color-primary),var(--color-primary-600));-webkit-background-clip:text;background-clip:text;color:transparent}.notfound-title{font-size:22px;margin:6px 0 8px;color:var(--color-text)}.notfound-desc{color:var(--color-text-muted);margin-bottom:16px;max-width:42ch}.notfound-actions{display:flex;gap:10px;align-items:center}.notfound-actions .btn-primary{background:var(--color-primary);border:1px solid var(--color-primary-600);color:#fff;padding:.7rem 1.05rem;border-radius:10px;font-weight:700}.notfound-actions .btn-secondary{background:transparent;color:var(--color-text);border:1px solid rgba(255,255,255,.06);padding:.6rem .95rem;border-radius:10px}.notfound-actions .btn-secondary:hover{background:#ffffff05}@media (max-width: 900px){.notfound-container{grid-template-columns:1fr;gap:18px}.notfound-illustration{display:none}.notfound-card{padding:20px}.notfound-code{font-size:72px}}@media (max-width: 480px){.notfound-root{padding:2rem .75rem}.notfound-code{font-size:48px}.notfound-title{font-size:18px}}
