.employee-list{display:grid;gap:10px}.employee-card{position:relative;width:100%;display:grid;grid-template-columns:48px minmax(0,1fr) auto auto;align-items:center;gap:14px;border:1px solid #e4e0d8;border-radius:16px;padding:15px 17px;background:#fff;color:#17201d;font:inherit;text-align:left;cursor:pointer;box-shadow:0 5px 18px rgba(16,43,45,.045);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.employee-card:before{content:"";position:absolute;inset:12px auto 12px 0;width:3px;border-radius:0 3px 3px 0;background:#f05a3d;opacity:0;transition:opacity .18s}.employee-card:hover{transform:translateY(-2px);border-color:#b8c8c1;box-shadow:0 12px 26px rgba(16,43,45,.1)}.employee-card:hover:before{opacity:1}.employee-card .employee-avatar{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:#e5f0e9;color:#102b2d;font-size:17px;font-weight:900}.employee-card strong{display:block;font-size:15px}.employee-card p{margin:4px 0 0;color:#6e7772;font-size:12px}.card-arrow{font-size:12px;font-weight:850;color:#68736d}.credentials-box{border:1px solid #b6cb71;border-radius:14px;background:#f5ffd4;padding:16px;display:grid;gap:9px}.credentials-box code{white-space:pre-wrap;font-size:14px;color:#102b2d}.credentials-box button{border:0;border-radius:10px;background:#102b2d;color:white;font-weight:800;padding:11px;cursor:pointer}.credentials-box small{color:#53602e}
.employee-profile-dialog{width:min(1080px,calc(100% - 28px));max-height:94vh;border:0;border-radius:26px;padding:0;background:#f3f0e9!important;color:#17201d!important;box-shadow:0 34px 100px rgba(7,25,26,.38);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.employee-profile-dialog::backdrop{background:rgba(9,29,30,.72);backdrop-filter:blur(7px)}.profile-hero{background:radial-gradient(circle at 78% 0,rgba(134,165,41,.3),transparent 32%),linear-gradient(135deg,#102b2d 0%,#173e3b 100%);color:#fff}.profile-dialog-head{display:flex;justify-content:space-between;gap:20px;padding:32px 36px 24px}.profile-dialog-head .section-label{color:#bddc71}.profile-dialog-head h2{font-size:38px;line-height:1.05;margin:8px 0 6px;color:#fff}.profile-dialog-head p{color:rgba(255,255,255,.68);margin:0}.dialog-close{width:44px;height:44px;border:1px solid rgba(255,255,255,.24);border-radius:50%;background:rgba(255,255,255,.08);color:#fff;font-size:28px;line-height:1;cursor:pointer;align-self:flex-start}.dialog-close:hover{background:rgba(255,255,255,.16)}.profile-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(255,255,255,.14);border-top:1px solid rgba(255,255,255,.13)}.profile-stats div{background:rgba(7,30,31,.34);padding:17px 36px}.profile-stats span{display:block;color:rgba(255,255,255,.58);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.profile-stats strong{display:block;margin-top:4px;font-size:26px;color:#fff}
.profile-form{display:grid;gap:16px;padding:22px;background:#f3f0e9}.profile-section{border:1px solid #e3ded4;border-radius:20px;background:#fff;padding:22px 24px;box-shadow:0 8px 24px rgba(16,43,45,.04)}.profile-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #ece8df}.profile-section-head>div{display:flex;align-items:center;gap:11px}.profile-section-head>div>span{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#e9f1e6;color:#31564c;font-size:10px;font-weight:900}.profile-section-head h3{margin:0;font-size:19px;color:#17201d}.profile-section-head p{margin:4px 0 0;color:#7a837e;font-size:12px}.profile-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 18px}.profile-form label{font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.055em;color:#57615c}.profile-form input,.profile-form select,.profile-form textarea{box-sizing:border-box;width:100%;margin-top:7px;border:1px solid #d9d8d1;border-radius:11px;background:#fbfaf7;color:#17201d;padding:12px 13px;font:inherit;outline:none;transition:border-color .16s,box-shadow .16s}.profile-form input:focus,.profile-form select:focus,.profile-form textarea:focus{border-color:#547b6c;box-shadow:0 0 0 3px rgba(84,123,108,.12)}.profile-wide{grid-column:1/-1}.profile-actions{display:flex;gap:10px;align-items:center;margin-top:18px;padding-top:18px;border-top:1px solid #ece8df}.form-message{margin:10px 0 0}
.schedule-section{border-color:#d4dfcf}.schedule-head{align-items:center}.auto-switch{display:flex!important;align-items:center;gap:9px;text-transform:none!important;letter-spacing:0!important;cursor:pointer}.auto-switch input,.day-toggle input{position:absolute;opacity:0;pointer-events:none}.auto-switch i,.day-toggle i{position:relative;display:block;width:42px;height:24px;border-radius:20px;background:#c9cec9;transition:.2s}.auto-switch i:after,.day-toggle i:after{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.22);transition:.2s}.auto-switch input:checked+i,.day-toggle input:checked+i{background:#466f60}.auto-switch input:checked+i:after,.day-toggle input:checked+i:after{transform:translateX(18px)}.auto-switch b{color:#26332e;font-size:12px}.schedule-summary{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px 12px;margin:-2px 0 16px;padding:13px 15px;border-radius:13px;background:#f2f6ef}.schedule-summary p{margin:0;color:#46524c;font-size:13px}.schedule-summary small{grid-column:1/-1;color:#78827c}.schedule-badge{border-radius:999px;padding:7px 10px;background:#e4e5e1;color:#68706b;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.schedule-badge.ready{background:#f1e8ce;color:#795f22}.schedule-badge.live{background:#dff0c4;color:#3d5e18}.schedule-grid{display:grid;gap:7px}.schedule-day{display:grid;grid-template-columns:minmax(170px,1fr) auto;align-items:center;gap:18px;padding:10px 12px;border:1px solid #e7e3da;border-radius:12px;background:#fdfcf9}.day-toggle{display:flex!important;align-items:center;gap:10px;text-transform:none!important;letter-spacing:0!important}.day-toggle i{width:36px;height:21px}.day-toggle i:after{width:15px;height:15px}.day-toggle input:checked+i:after{transform:translateX(15px)}.day-toggle strong{font-size:13px;color:#27322d}.time-range{display:grid;grid-template-columns:112px auto 112px;align-items:center;gap:8px}.time-range input{margin:0!important;padding:9px 10px!important}.time-range span{color:#909792}.schedule-day:has(.schedule-enabled:not(:checked)){opacity:.55}.schedule-actions{display:flex;align-items:center;gap:14px;margin-top:16px}.schedule-actions .form-message{margin:0}
@media(max-width:720px){.employee-card{grid-template-columns:46px 1fr}.employee-card .role-tag,.employee-card .card-arrow{grid-column:2}.employee-profile-dialog{width:100%;max-height:100vh;height:100vh;border-radius:0}.profile-dialog-head{padding:24px 20px 20px}.profile-dialog-head h2{font-size:31px}.profile-stats{grid-template-columns:1fr 1fr}.profile-stats div{padding:14px 20px}.profile-form{padding:12px}.profile-section{padding:18px 15px}.profile-field-grid{grid-template-columns:1fr}.profile-wide{grid-column:1}.profile-section-head{display:block}.schedule-head .auto-switch{margin-top:15px}.schedule-day{grid-template-columns:1fr;gap:10px}.time-range{grid-template-columns:1fr auto 1fr}.schedule-actions,.profile-actions{display:grid}.schedule-summary{grid-template-columns:1fr}.schedule-summary small{grid-column:1}}
.employee-profile-dialog::-webkit-scrollbar{width:11px}.employee-profile-dialog::-webkit-scrollbar-track{background:#e7e2d8}.employee-profile-dialog::-webkit-scrollbar-thumb{background:#547b6c;border:3px solid #e7e2d8;border-radius:999px}.employee-profile-dialog{scrollbar-width:thin;scrollbar-color:#547b6c #e7e2d8}body.employee-dialog-open{overflow:hidden!important;overscroll-behavior:none}
