:root{
 --bg:#f5f6f8;--panel:#fff;--panel2:#fafbfc;--text:#161b22;--muted:#747d8c;--line:#e5e8ed;
 --dark:#12171d;--dark2:#1a2129;--lime:#c7f000;--lime-deep:#99bb00;--green:#21875b;--red:#c44747;--amber:#b77a15;--blue:#315fb6;
 --shadow:0 10px 30px rgba(22,27,34,.07);--shadow-lg:0 24px 70px rgba(18,23,29,.15);--radius:14px;
}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,"Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--text)}body{font-size:14px}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}img{max-width:100%}
.app-shell{min-height:100vh}.sidebar{position:fixed;left:0;top:0;bottom:0;width:252px;padding:20px 16px;background:var(--dark);color:#d8dde5;display:flex;flex-direction:column;z-index:30;border-right:1px solid #222a33}.brand{display:block;padding:3px 6px 17px;border-bottom:1px solid rgba(255,255,255,.08)}.brand img{display:block;width:176px;height:42px;object-fit:contain;object-position:left center;filter:brightness(0) invert(1)}.brand-system{display:block;margin-top:4px;color:#858f9c;font-size:9px;letter-spacing:.18em;text-transform:uppercase}.company-context{margin:16px 4px 14px;padding:13px 12px;background:#171d24;border:1px solid #252e38;border-radius:12px}.company-context small{display:block;color:#697583;font-size:8px;letter-spacing:.13em;font-weight:800}.company-context b{display:block;margin-top:5px;font-size:12px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.company-context a{display:inline-block;margin-top:7px;color:var(--lime);font-size:10px}.nav{display:grid;gap:5px}.nav a{min-height:43px;padding:8px 10px;border-radius:10px;display:flex;align-items:center;gap:10px;color:#aeb6c1;font-size:12px;font-weight:650;transition:.18s}.nav a:hover{background:#1a2129;color:#fff}.nav a.active{background:#202833;color:#fff;box-shadow:inset 3px 0 var(--lime)}.nav-ico{width:25px;height:25px;border:1px solid #343d47;border-radius:7px;display:grid;place-items:center;font-size:10px;font-weight:900;color:#adb7c3}.nav a.active .nav-ico{background:var(--lime);border-color:var(--lime);color:#12171d}.nav-divider{height:1px;background:#252d36;margin:9px 4px}.sidebar-spacer{margin-top:auto}.sidebar-footnote{padding:14px 7px 0;border-top:1px solid #252d36;color:#626e7b;font-size:9px;letter-spacing:.08em}
.main{margin-left:252px;min-height:100vh}.topbar{height:78px;padding:0 28px;background:rgba(255,255,255,.94);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;z-index:20;backdrop-filter:blur(12px)}.topbar-left{display:flex;align-items:center;min-width:0}.topbar-title{min-width:0}.topbar-eyebrow{display:block;font-size:8px;letter-spacing:.14em;color:#9a7b00;font-weight:900;margin-bottom:4px}.topbar h1{font-size:20px;line-height:1.05;margin:0}.topbar p{margin:5px 0 0;color:var(--muted);font-size:10px}.menu-toggle{display:none;width:38px;height:38px;border:1px solid var(--line);background:#fff;border-radius:10px;margin-right:12px;cursor:pointer}.content{padding:24px;max-width:1640px;margin:0 auto}.user-dropdown-wrap{position:relative}.user-trigger{min-width:196px;border:1px solid var(--line);background:#fff;border-radius:11px;padding:6px 9px;display:flex;align-items:center;gap:9px;cursor:pointer;text-align:left}.top-avatar{width:34px;height:34px;min-width:34px;border-radius:9px;background:var(--dark);color:var(--lime);display:grid;place-items:center;font-weight:900}.top-user-copy{display:flex;flex-direction:column;min-width:0;flex:1}.top-user-copy b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-user-copy small{font-size:9px;color:var(--muted);margin-top:2px}.chevron{font-size:13px;color:#9199a5}.user-menu{display:none;position:absolute;right:0;top:calc(100% + 8px);width:230px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow-lg);z-index:60}.user-dropdown-wrap.open .user-menu{display:block}.user-menu-head{padding:8px 10px 11px}.user-menu-kicker{font-size:8px!important;letter-spacing:.14em;color:#a0a8b3!important;font-weight:800}.user-menu-head b{display:block;margin-top:4px;font-size:12px}.user-menu-head span{display:block;margin-top:2px;font-size:9px;color:var(--muted)}.user-menu a{display:flex;align-items:center;justify-content:space-between;padding:9px 10px;border-radius:8px;font-size:11px}.user-menu a:hover{background:#f4f6f8}.user-menu-line{height:1px;background:var(--line);margin:4px 0}.danger-link{color:var(--red)}
.grid{display:grid;gap:16px}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px;min-width:0}.stat{display:flex;align-items:flex-start;justify-content:space-between}.stat .label{font-size:9px;color:var(--muted);font-weight:800;letter-spacing:.07em}.stat .value{font-size:28px;font-weight:850;margin-top:8px}.stat .sub{font-size:10px;color:#9aa1aa;margin-top:4px}.stat-icon{width:40px;height:40px;border-radius:11px;background:#f0f2f4;border:1px solid #e5e8eb;display:grid;place-items:center;font-weight:900;color:#343b44}.card-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.card-title h2{font-size:14px;margin:0}.card-title p{font-size:10px;color:var(--muted);margin:4px 0 0}.toolbar{display:flex;justify-content:space-between;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:15px}.filters{display:flex;gap:9px;align-items:end;flex-wrap:wrap}.form-group{display:grid;gap:6px}.form-group label{font-size:9px;letter-spacing:.04em;font-weight:800;color:#697383}.input,.select,textarea{width:100%;min-height:38px;padding:9px 11px;border:1px solid #dfe4ea;border-radius:9px;background:#fff;color:var(--text);font-size:12px;outline:none;transition:.15s}.input:focus,.select:focus,textarea:focus{border-color:#a6b44c;box-shadow:0 0 0 3px rgba(199,240,0,.12)}textarea{resize:vertical}.btn{border:1px solid transparent;border-radius:9px;min-height:36px;padding:8px 12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:10.5px;font-weight:800;cursor:pointer;white-space:nowrap}.btn-primary{background:var(--dark);color:#fff}.btn-primary:hover{background:#242c35}.btn-light{background:#f2f4f6;border-color:#e1e5e9;color:#3d4651}.btn-outline{background:#fff;border-color:#dfe4e9;color:#36404b}.btn-danger{background:#fff2f2;border-color:#f1d4d4;color:#b13b3b}.btn-success{background:#edf8f2;border-color:#d6eadf;color:#267354}.btn-warning{background:#fff7e8;border-color:#f2dfb8;color:#9a6711}.btn-sm{min-height:30px;padding:6px 9px;font-size:9.5px}.actions{display:flex;gap:5px;flex-wrap:wrap}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:800;white-space:nowrap}.badge.success{background:#eaf6ef;color:#287652}.badge.danger{background:#faeded;color:#af3d3d}.badge.warning{background:#fff5df;color:#9d6a11}.badge.info{background:#eaf4f8;color:#276c86}.badge.primary{background:#eef2fb;color:#3459a1}.badge.muted{background:#f0f2f4;color:#747d88}.alert{border:1px solid transparent;border-radius:10px;padding:10px 12px;margin-bottom:14px;font-size:11px;transition:.3s}.alert.success{background:#eff8f3;border-color:#d9ece2;color:#246c4d}.alert.danger{background:#fff1f1;border-color:#f0d7d7;color:#ad3c3c}.alert.hide{opacity:0;transform:translateY(-5px);pointer-events:none}.muted{font-size:9px;color:var(--muted);margin-top:2px}.empty{text-align:center;color:#9098a3;padding:24px!important;font-size:11px}.small-note{font-size:9px;color:var(--muted);margin-top:12px;line-height:1.5}.table-wrap{width:100%;overflow:auto;border:1px solid #edf0f2;border-radius:10px}.table{width:100%;border-collapse:collapse;min-width:720px;background:#fff}.table th{padding:9px 10px;background:#fafbfc;border-bottom:1px solid var(--line);color:#7c8591;font-size:8.5px;letter-spacing:.04em;text-align:left;text-transform:uppercase}.table td{padding:10px;border-bottom:1px solid #eef1f3;font-size:10.5px;vertical-align:middle}.table tr:last-child td{border-bottom:0}.employee-name{display:flex;align-items:center;gap:8px;min-width:0}.employee-avatar{width:30px;height:30px;min-width:30px;border-radius:8px;background:#1d242c;color:var(--lime);display:grid;place-items:center;font-weight:900;font-size:11px}.employee-name b{font-size:10.5px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.full{grid-column:1/-1}.employee-form-card{max-width:980px}.report-summary{display:flex;gap:6px;flex-wrap:wrap}.mini-kpi{display:inline-flex;align-items:center;padding:7px 9px;background:#f3f5f7;border:1px solid #e7eaee;border-radius:8px;font-size:9px;font-weight:800}.dashboard-card{min-width:0}.dashboard-card .table-wrap{overflow:hidden}.dashboard-card .table{min-width:0;table-layout:fixed}.dashboard-card .table th,.dashboard-card .table td{white-space:normal;overflow-wrap:anywhere}.compact-table{min-width:600px}
/* Attendance */
.attendance-card{padding:16px}.attendance-help{background:#fafbf5;border:1px solid #e7ebcf;border-left:3px solid var(--lime-deep);border-radius:9px;padding:9px 11px;font-size:10px;color:#5d645d;line-height:1.5;margin-bottom:12px}.attendance-list{display:grid;gap:7px}.attendance-row{display:grid;grid-template-columns:minmax(190px,1fr) auto minmax(130px,180px);align-items:center;gap:12px;padding:9px 10px;border:1px solid #e7eaed;border-radius:11px;background:#fff}.attendance-person{display:flex;align-items:center;gap:8px;min-width:0}.attendance-person-text{min-width:0}.attendance-person-text b{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attendance-options{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:center}.status-choice{position:relative;cursor:pointer}.status-choice input{position:absolute;opacity:0;pointer-events:none}.status-choice .status-icon{width:30px;height:30px;border:1px solid #dfe4e8;background:#f7f8f9;border-radius:8px;display:grid;place-items:center;font-size:10px;font-weight:900;color:#68717c;transition:.13s}.status-choice small{position:absolute;left:50%;bottom:calc(100% + 7px);transform:translateX(-50%);background:#161b22;color:#fff;border-radius:6px;padding:5px 7px;font-size:8px;white-space:nowrap;opacity:0;pointer-events:none;transition:.13s;z-index:5}.status-choice:hover small{opacity:1}.status-choice input:checked+.status-icon{background:#161b22;border-color:#161b22;color:var(--lime);box-shadow:0 0 0 2px rgba(199,240,0,.18)}.status-present input:checked+.status-icon{background:#1f6f50;border-color:#1f6f50;color:#fff}.status-absent input:checked+.status-icon{background:#b64444;border-color:#b64444;color:#fff}.status-sick input:checked+.status-icon{background:#2d748e;border-color:#2d748e;color:#fff}.status-weekly_off input:checked+.status-icon{background:#59616b;border-color:#59616b;color:#fff}.attendance-note .input{min-height:34px;padding:7px 9px;font-size:10px}.attendance-save{display:flex;justify-content:flex-end;margin-top:12px}.selection-toast{position:fixed;top:92px;right:24px;max-width:360px;background:#161b22;color:#fff;border-left:4px solid var(--lime);border-radius:10px;padding:10px 13px;font-size:10.5px;box-shadow:var(--shadow-lg);z-index:100;opacity:0;transform:translateY(-8px);pointer-events:none;transition:.2s}.selection-toast.show{opacity:1;transform:translateY(0)}
/* Definitions */
.settings-workspace{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:calc(100vh - 126px);margin:-24px}.settings-sidebar{background:#fff;border-right:1px solid var(--line);padding:24px 14px}.settings-sidebar-head{padding:0 8px 16px;border-bottom:1px solid #edf0f2}.settings-sidebar-head span{display:block;font-size:8px;letter-spacing:.13em;color:#939ca7;font-weight:900}.settings-sidebar-head b{display:block;font-size:13px;margin-top:5px}.settings-sidebar nav{display:grid;gap:6px;margin-top:14px}.settings-sidebar nav>a,.settings-coming{display:flex;align-items:center;gap:9px;padding:9px;border-radius:9px}.settings-sidebar nav>a{border:1px solid transparent}.settings-sidebar nav>a:hover{background:#f6f7f8}.settings-sidebar nav>a.active{background:#f6f8ee;border-color:#e3e8ca}.settings-nav-icon,.settings-coming>span{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;background:#f0f2f3;font-size:10px;font-weight:900}.settings-sidebar a.active .settings-nav-icon{background:var(--lime);color:#161b22}.settings-sidebar nav div div{min-width:0;flex:1}.settings-sidebar nav b{display:block;font-size:10.5px}.settings-sidebar nav small{display:block;font-size:8.5px;color:var(--muted);margin-top:2px}.settings-sidebar nav em{font-style:normal;color:#8d96a1}.settings-coming{opacity:.5;border:1px dashed #dfe4e8}.settings-content{padding:28px;min-width:0}.settings-page-head{max-width:760px;margin-bottom:18px}.settings-page-head h2{font-size:22px;margin:5px 0 7px}.settings-page-head p{font-size:11px;color:var(--muted);line-height:1.6;margin:0}.definition-card{max-width:980px}.weekdays-picker{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-bottom:15px}.weekday-choice{position:relative}.weekday-choice input{position:absolute;opacity:0}.weekday-choice span{display:block;padding:12px 9px;border:1px solid #dfe4e8;border-radius:10px;background:#fbfcfc;cursor:pointer}.weekday-choice b{display:block;font-size:10.5px}.weekday-choice small{display:block;margin-top:4px;color:var(--muted);font-size:8.5px}.weekday-choice input:checked+span{background:#f5f9df;border-color:#cfdb8a;box-shadow:inset 0 0 0 1px rgba(153,187,0,.1)}.definition-note{padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:#f8f9fa;color:#68727d;font-size:10px;line-height:1.55;margin-bottom:14px}
/* Auth */
.auth-body{background:#fff}.auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(430px,.92fr)}.auth-showcase{position:relative;overflow:hidden;background:#11161b;color:#fff;padding:56px 7vw 34px;display:flex;flex-direction:column;justify-content:space-between}.auth-showcase:before{content:"";position:absolute;width:420px;height:420px;border:1px solid rgba(199,240,0,.15);border-radius:50%;right:-130px;top:-120px}.auth-showcase:after{content:"";position:absolute;width:210px;height:210px;border:1px solid rgba(255,255,255,.08);border-radius:50%;right:90px;top:105px}.auth-showcase-inner{position:relative;z-index:2;max-width:720px}.auth-main-logo{width:310px;height:80px;object-fit:contain;object-position:left center;filter:brightness(0) invert(1)}.auth-system-badge{display:inline-flex;margin-top:72px;border-left:3px solid var(--lime);padding-left:10px;font-size:9px;letter-spacing:.18em;color:#b9c1ca;font-weight:900}.auth-showcase h1{font-size:clamp(34px,4vw,62px);line-height:1.04;letter-spacing:-.04em;margin:21px 0 18px;max-width:820px}.auth-showcase p{max-width:630px;font-size:13px;line-height:1.75;color:#a7b0ba;margin:0}.auth-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#2a3138;margin-top:44px;max-width:600px;border:1px solid #2a3138}.auth-metrics div{background:#151b21;padding:15px}.auth-metrics b{display:block;font-size:16px;color:var(--lime)}.auth-metrics span{display:block;font-size:9px;color:#8e99a5;margin-top:6px}.auth-signature{position:relative;z-index:2;font-size:8.5px;color:#66717d;letter-spacing:.12em;text-transform:uppercase}.auth-panel{display:grid;place-items:center;padding:36px;background:#fff}.auth-panel-inner{width:min(430px,100%)}.auth-mobile-brand{display:none}.auth-copy .eyebrow,.eyebrow{font-size:8px;letter-spacing:.15em;color:#8e7700;font-weight:900}.auth-copy h2{font-size:27px;letter-spacing:-.03em;margin:7px 0 8px}.auth-copy p{font-size:11px;color:var(--muted);line-height:1.55;margin:0 0 26px}.auth-form{display:grid;gap:14px}.auth-input{min-height:46px;border-radius:10px;background:#fbfcfc;font-size:12px}.auth-submit{min-height:45px;margin-top:4px;background:var(--dark);justify-content:space-between;padding:0 15px}.auth-submit span{color:var(--lime);font-size:17px}.auth-separator{display:flex;align-items:center;gap:10px;margin:24px 0 14px;color:#9ba3ad;font-size:9px}.auth-separator:before,.auth-separator:after{content:"";height:1px;background:#e8ebee;flex:1}.auth-create-link{display:flex;align-items:center;justify-content:space-between;border:1px solid #e1e5e9;border-radius:11px;padding:12px 13px;transition:.15s}.auth-create-link:hover{border-color:#b9c472;background:#fcfdf7}.auth-create-link span b{display:block;font-size:11px}.auth-create-link span small{display:block;margin-top:3px;color:var(--muted);font-size:9px}.auth-create-link>b{color:#768013}.auth-footer-note{margin-top:28px;font-size:8.5px;color:#a0a7b0}.auth-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.auth-back-link{display:inline-block;margin-top:18px;color:#5f6874;font-size:10px}.register-panel{max-width:500px}
/* Company admin */
.company-select-page{background:#f5f6f8;min-height:100vh}.company-select-shell{max-width:1500px;margin:auto;padding:0 30px 42px}.company-select-header{height:78px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e1e5e9}.company-admin-brand{display:flex;align-items:center;gap:13px}.company-admin-brand img{width:180px;height:48px;object-fit:contain;object-position:left center}.company-admin-brand span{font-size:9px;letter-spacing:.14em;color:#7b8490;border-left:1px solid #d8dde2;padding-left:13px}.company-admin-user{display:flex;gap:7px;align-items:center}.company-admin-user span{font-size:10px;font-weight:800;margin-right:4px}.company-admin-user a{border:1px solid #e0e4e8;background:#fff;border-radius:8px;padding:7px 9px;font-size:9px}.company-select-main{padding-top:34px}.company-select-title{display:flex;align-items:end;justify-content:space-between;gap:20px}.company-select-title h1{font-size:30px;margin:5px 0 7px;letter-spacing:-.03em}.company-select-title p{font-size:10.5px;color:var(--muted);margin:0}.company-search{display:flex;gap:7px;width:min(430px,100%)}.company-search .input{flex:1}.company-overview{display:flex;gap:8px;margin:20px 0}.company-overview>div{min-width:120px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 12px}.company-overview span{display:block;font-size:8px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}.company-overview b{display:block;font-size:20px;margin-top:4px}.company-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.company-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:15px;box-shadow:0 8px 25px rgba(18,23,29,.04)}.company-card-top{display:flex;align-items:center;justify-content:space-between}.company-logo-letter{width:40px;height:40px;border-radius:10px;background:#151b21;color:var(--lime);display:grid;place-items:center;font-size:15px;font-weight:900}.company-card-body{padding:13px 0}.company-id{font-size:7.5px;letter-spacing:.12em;color:#9aa2ac;font-weight:800}.company-card h3{font-size:14px;margin:5px 0 4px}.company-card p{font-size:9.5px;color:var(--muted);margin:0;min-height:14px}.company-meta{display:flex;gap:18px;border-top:1px solid #edf0f2;margin-top:12px;padding-top:10px;font-size:9px;color:#76808b}.company-meta b{color:#222831}.company-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.company-card-actions form{display:contents}.company-card-actions .btn{width:100%}.modal-backdrop{position:fixed;inset:0;background:rgba(18,23,29,.5);display:grid;place-items:center;padding:20px;z-index:100}.modal-card{width:min(660px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:15px;padding:20px;box-shadow:var(--shadow-lg)}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.modal-head h2{font-size:18px;margin:4px 0 0}.modal-close{width:34px;height:34px;border:1px solid var(--line);border-radius:9px;display:grid;place-items:center;font-size:18px}.modal-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:4px}
.password-card{max-width:520px}.password-form{display:grid;gap:13px}.standalone-form{min-height:100vh;display:grid;place-items:center;padding:20px;background:#f5f6f8}.standalone-form .password-card{width:min(480px,100%)}
@media(max-width:1180px){.grid-4{grid-template-columns:repeat(2,1fr)}.company-grid{grid-template-columns:repeat(2,1fr)}.weekdays-picker{grid-template-columns:repeat(4,1fr)}.attendance-row{grid-template-columns:minmax(170px,1fr) auto}.attendance-note{grid-column:1/-1}.attendance-note .input{max-width:360px}}
@media(max-width:900px){.sidebar{transform:translateX(-100%);transition:.2s}.sidebar.open{transform:translateX(0)}.main{margin-left:0}.menu-toggle{display:grid;place-items:center}.auth-layout{grid-template-columns:1fr}.auth-showcase{display:none}.auth-panel{min-height:100vh;padding:28px}.auth-mobile-brand{display:flex;flex-direction:column;gap:5px;margin-bottom:40px}.auth-mobile-brand img{width:210px;height:55px;object-fit:contain;object-position:left center}.auth-mobile-brand span{font-size:8px;letter-spacing:.14em;color:#8b939d}.settings-workspace{margin:-24px;grid-template-columns:190px minmax(0,1fr)}}
@media(max-width:700px){html,body{overflow-x:hidden}.topbar{height:68px;padding:0 12px}.topbar h1{font-size:16px}.topbar-title p{max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-eyebrow{display:none}.user-trigger{min-width:0;padding:5px}.top-user-copy,.chevron{display:none}.top-avatar{width:32px;height:32px;min-width:32px}.content{padding:12px}.grid-4,.grid-2{grid-template-columns:1fr}.dashboard-card .table-wrap{overflow:visible;border:0}.dashboard-card .table{min-width:0!important;table-layout:fixed}.dashboard-card .table th,.dashboard-card .table td{padding:8px 5px;font-size:9px}.dashboard-card .employee-avatar{display:none}.dashboard-card .employee-name{gap:0}.toolbar{align-items:stretch}.filters{width:100%}.filters .form-group{flex:1;min-width:130px}.form-grid,.auth-form-grid{grid-template-columns:1fr}.form-grid .full,.auth-form-grid .full{grid-column:auto}.table-wrap{max-width:100%;overflow-x:auto}.attendance-card{padding:10px}.attendance-row{grid-template-columns:1fr auto;gap:7px;padding:7px 8px}.attendance-person{min-width:0}.attendance-person .employee-avatar{width:27px;height:27px;min-width:27px;border-radius:7px;font-size:9px}.attendance-person-text b{font-size:10px;max-width:140px}.attendance-person-text .muted{font-size:7.5px}.attendance-options{gap:3px;max-width:150px;justify-content:flex-end}.status-choice .status-icon{width:25px;height:25px;border-radius:7px;font-size:8px}.status-choice small{display:none}.attendance-note{grid-column:1/-1}.attendance-note .input{max-width:none;min-height:30px}.attendance-save .btn{width:100%}.selection-toast{top:78px;right:10px;left:10px;max-width:none}.settings-workspace{margin:-12px;display:block;min-height:auto}.settings-sidebar{border-right:0;border-bottom:1px solid var(--line);padding:10px}.settings-sidebar-head{display:none}.settings-sidebar nav{display:flex;overflow:auto;margin:0}.settings-sidebar nav>a{min-width:160px}.settings-coming{display:none}.settings-content{padding:16px 12px}.settings-page-head h2{font-size:18px}.weekdays-picker{grid-template-columns:repeat(2,1fr)}.company-select-shell{padding:0 14px 28px}.company-select-header{height:auto;padding:13px 0;align-items:flex-start;gap:10px}.company-admin-brand{display:block}.company-admin-brand img{width:150px;height:40px}.company-admin-brand span{display:block;border:0;padding:0;margin-top:1px;font-size:7px}.company-admin-user span{display:none}.company-admin-user a{padding:6px 7px;font-size:8px}.company-select-title{flex-direction:column;align-items:stretch}.company-select-title h1{font-size:24px}.company-overview{overflow:auto}.company-overview>div{min-width:105px}.company-grid{grid-template-columns:1fr}.modal-card{padding:15px}.modal-actions{flex-direction:column}.modal-actions .btn{width:100%}.auth-panel{padding:22px 18px}.auth-mobile-brand{margin-bottom:32px}.auth-copy h2{font-size:24px}}
@media(max-width:420px){.attendance-row{grid-template-columns:minmax(0,1fr) 132px}.attendance-options{max-width:132px}.status-choice .status-icon{width:24px;height:24px}.attendance-person-text b{max-width:115px}.company-card-actions{grid-template-columns:1fr 1fr}}
/* V5 logo and attendance legend refinements */
.brand img{background:#fff;border-radius:8px;padding:3px 5px;filter:none}
.auth-main-logo{background:#fff;border-radius:10px;padding:6px 9px;filter:none}
.attendance-legend{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}.attendance-legend span{display:inline-flex;align-items:center;gap:5px;color:#6c7480;font-size:8.5px}.attendance-legend i{width:20px;height:20px;border:1px solid #dde2e7;border-radius:6px;display:grid;place-items:center;background:#fff;color:#333b44;font-style:normal;font-weight:900}
@media(max-width:700px){.attendance-legend{overflow:auto;flex-wrap:nowrap;padding-bottom:2px}.attendance-legend span{white-space:nowrap}.attendance-legend i{width:18px;height:18px}}
/* V6 auth / puantaj iyileştirmeleri */
.auth-showcase{padding:42px 6.5vw 34px;justify-content:center;min-height:100vh}
.auth-showcase-inner{width:100%;max-width:760px;display:flex;flex-direction:column;gap:0;transform:translateY(-1vh)}
.auth-brand-stack{display:block;width:max-content;max-width:100%;margin-bottom:54px}
.auth-main-logo{display:block;width:305px;height:auto;max-height:82px;object-fit:contain;object-position:left center;filter:none;background:#fff;border-radius:10px;padding:8px 12px}
.auth-system-badge{display:block;width:max-content;margin:8px 0 0 18px;border-left:3px solid var(--lime);padding:4px 0 4px 9px;font-size:8px;letter-spacing:.19em;color:#c5ccd3;font-weight:900}
.auth-pitch{max-width:720px}
.auth-eyebrow{color:var(--lime)!important}
.auth-showcase h1{font-size:clamp(38px,4vw,60px);margin:12px 0 16px;max-width:760px}
.auth-showcase p{font-size:14px;line-height:1.72;max-width:680px;color:#b4bdc6}
.auth-metrics{margin-top:32px;max-width:680px}
.auth-metrics div{padding:14px 15px;min-height:78px}
.auth-metrics span{font-size:9.5px;line-height:1.45}
.auth-signature{position:absolute;left:6.5vw;bottom:24px}
.auth-panel-inner{width:min(440px,100%)}
.label-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.label-row a{font-size:9px;color:#78830a;font-weight:800}.label-row a:hover{text-decoration:underline}
.form-hint{display:block;margin-top:5px;font-size:9px;color:var(--muted);line-height:1.45}

@media(max-width:900px){
 .auth-showcase{display:none}.auth-panel{min-height:100vh}
}

/* Mobil puantaj: standart okunabilir yazılar, yatay taşma yok */
@media(max-width:700px){
 .attendance-card{padding:12px}
 .attendance-help{font-size:12px;line-height:1.55;padding:10px 11px}
 .attendance-legend{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;overflow:visible!important;width:100%;padding:0;margin-bottom:12px}
 .attendance-legend span{white-space:normal!important;min-width:0;font-size:11px;line-height:1.25;background:#fafbfc;border:1px solid #e5e8eb;border-radius:7px;padding:6px}
 .attendance-legend i{width:23px;height:23px;min-width:23px;font-size:10px}
 .attendance-row{grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:10px 9px}
 .attendance-person .employee-avatar{width:32px;height:32px;min-width:32px;font-size:11px}
 .attendance-person-text b{font-size:12px;max-width:155px;line-height:1.3}
 .attendance-person-text .muted{font-size:9px;line-height:1.3}
 .attendance-options{gap:4px;max-width:168px}
 .status-choice .status-icon{width:28px;height:28px;font-size:10px}
 .attendance-note .input{font-size:12px;min-height:36px;padding:8px 10px}
 .attendance-toolbar label,.attendance-toolbar .mini-kpi{font-size:10px}
}
@media(max-width:420px){
 .attendance-row{grid-template-columns:minmax(0,1fr) 150px}
 .attendance-options{max-width:150px}
 .attendance-person-text b{max-width:125px}
 .status-choice .status-icon{width:27px;height:27px}
}
/* V7 SMTP yönetimi */
.smtp-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);gap:16px;align-items:start}.smtp-card,.smtp-test-card{box-shadow:0 8px 28px rgba(18,23,29,.04)}.smtp-card .section-head{margin-bottom:18px}.smtp-card .section-head h2,.smtp-test-card h2{margin:0 0 6px;font-size:18px}.smtp-card .section-head p,.smtp-test-card>p,.smtp-notes p{font-size:10px;line-height:1.6;color:var(--muted);margin:0}.switch-row{display:flex;align-items:flex-start;gap:11px;border:1px solid var(--line);border-radius:10px;padding:12px;background:#fafbfc;cursor:pointer}.switch-row input{margin-top:3px;accent-color:#11161b}.switch-row span{display:grid;gap:3px}.switch-row b{font-size:11px}.switch-row small{font-size:9px;color:var(--muted);line-height:1.45}.smtp-test-card{position:sticky;top:18px}.smtp-test-card form{display:grid;gap:10px;margin-top:18px}.smtp-test-card .btn{width:100%}.smtp-notes{margin-top:18px;border-top:1px solid var(--line);padding-top:14px}.smtp-notes b{font-size:10px}.smtp-notes p{margin-top:5px}
@media(max-width:850px){.smtp-layout{grid-template-columns:1fr}.smtp-test-card{position:static}}

/* V9 - Genel okunabilirlik ve Personel formu masaüstü yerleşimi */
body{font-size:15px}
.topbar h1{font-size:22px}
.topbar p{font-size:12px}
.card-title h2{font-size:18px;line-height:1.25}
.card-title p{font-size:13px;line-height:1.5;margin-top:6px}
.form-group{gap:7px}
.form-group label{font-size:13px;line-height:1.35;letter-spacing:0;font-weight:700;color:#505b68}
.input,.select,textarea{min-height:42px;padding:10px 12px;font-size:14px}
textarea{line-height:1.5}
.btn{font-size:13px;min-height:39px;padding:9px 13px}
.btn-sm{font-size:12px;min-height:33px;padding:7px 10px}
.alert{font-size:13px;line-height:1.45}
.muted{font-size:12px;line-height:1.4}
.empty{font-size:13px}
.small-note{font-size:12px}
.badge{font-size:11.5px;padding:5px 9px}
.mini-kpi{font-size:12px}

/* Tüm standart tablolar daha okunabilir */
.table th{padding:11px 12px;font-size:12px;line-height:1.35;letter-spacing:.02em;font-weight:800}
.table td{padding:12px;font-size:14px;line-height:1.45}
.employee-name b{font-size:14px;line-height:1.35}
.employee-avatar{font-size:13px}

/* Personel ekleme/düzenleme kartı artık içerik alanının tamamını kullanır */
.employee-form-card{max-width:none!important;width:100%}
.employee-form-card .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 18px}
.employee-form-card .form-group.full{grid-column:1/-1}
.employee-form-card form>.form-grid>.full{grid-column:1/-1}

/* Filtre alanları da küçük görünmesin */
.filters .form-group label{font-size:12px}
.toolbar{gap:14px}

/* Diğer içerik başlıkları */
.settings-page-head h2,.section-head h2,.smtp-card .section-head h2,.smtp-test-card h2{font-size:20px}
.settings-page-head p,.section-head p,.smtp-card .section-head p,.smtp-test-card>p{font-size:13px;line-height:1.55}

@media(max-width:1180px){
 .employee-form-card .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
 body{font-size:14px}
 .topbar h1{font-size:18px}
 .card-title h2{font-size:17px}
 .card-title p{font-size:12.5px}
 .form-group label{font-size:13px}
 .input,.select,textarea{font-size:14px;min-height:42px}
 .employee-form-card .form-grid{grid-template-columns:1fr;gap:13px}
 .employee-form-card .form-group.full,.employee-form-card form>.form-grid>.full{grid-column:auto}
 .table th{font-size:12px;padding:10px 9px}
 .table td{font-size:13.5px;padding:11px 9px}
 .muted{font-size:11.5px}
 .employee-name b{font-size:13.5px}
 .btn{font-size:12.5px}
 .btn-sm{font-size:11.5px}
 /* Dashboard tablolarında eski küçük mobil font override'ını geçersiz kıl */
 .dashboard-card .table th{font-size:11.5px!important}
 .dashboard-card .table td{font-size:13px!important}
}

/* V10 - Personel giriş tarihi otomatik puantaj açıklaması */
.field-help{display:block;margin-top:7px;font-size:13px;line-height:1.45;color:var(--muted,#6b7280)}
.field-help b{font-weight:700;color:inherit}

/* V11 - Popup personel kartı, avans ve maaş yönetimi */
.modal-overlay{position:fixed;inset:0;background:rgba(10,14,18,.58);display:none;align-items:center;justify-content:center;padding:24px;z-index:120;backdrop-filter:blur(3px)}
.modal-overlay.show{display:flex}.modal-card{position:relative;width:min(680px,100%);max-height:92vh;overflow:auto;background:#fff;border:1px solid #e1e5e9;border-radius:16px;padding:22px;box-shadow:0 30px 90px rgba(9,13,18,.25)}
.modal-card-sm{width:min(480px,100%)}.modal-card-md{width:min(650px,100%)}.modal-card-lg{width:min(900px,100%)}.modal-card-xl{width:min(1120px,100%)}
.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #edf0f2}.modal-head h2{font-size:22px;line-height:1.2;margin:4px 0 6px}.modal-head p{font-size:13px;line-height:1.5;color:var(--muted);margin:0;max-width:720px}.modal-kicker{font-size:10px;letter-spacing:.13em;color:#899400;font-weight:900}.modal-close{flex:0 0 auto;width:38px;height:38px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#4d5762;display:grid;place-items:center;font-size:22px;line-height:1;cursor:pointer}.modal-close:hover{background:#f3f5f7}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px;padding-top:16px;border-top:1px solid #edf0f2}.modal-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:15px 18px!important}.one-col{grid-template-columns:1fr!important}
.employee-link-btn{display:inline-flex;border:0;background:transparent;padding:0;margin:0;text-align:left;cursor:pointer;color:inherit}.employee-link-btn:hover .employee-name b{color:#879400;text-decoration:underline}.employee-link-btn .muted{display:block}.money-input{position:relative}.money-input .input{padding-right:42px}.money-input>span{position:absolute;right:13px;top:50%;transform:translateY(-50%);font-weight:800;color:#7f8893}
.salary-actions-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px;padding:19px 21px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.salary-actions-bar h2{font-size:20px;margin:0 0 5px}.salary-actions-bar p{font-size:13px;color:var(--muted);margin:0;line-height:1.5}.salary-grid{align-items:start}.salary-grid .table{min-width:600px}.period-info{display:grid;gap:5px;margin-top:14px;padding:12px 13px;background:#fafbf5;border:1px solid #e5e9cd;border-radius:10px}.period-info b{font-size:13px}.period-info span{font-size:12px;color:#68717c;line-height:1.5}
.employee-picker{position:relative}.employee-picker-results{display:none;position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:8;max-height:250px;overflow:auto;padding:6px;background:#fff;border:1px solid #dfe4e9;border-radius:10px;box-shadow:0 16px 45px rgba(18,23,29,.13)}.employee-picker.open .employee-picker-results{display:block}.employee-picker-results button{width:100%;display:grid;gap:2px;padding:9px 10px;border:0;border-radius:8px;background:#fff;text-align:left;cursor:pointer}.employee-picker-results button:hover{background:#f3f5f7}.employee-picker-results button b{font-size:13px}.employee-picker-results button span{font-size:11px;color:var(--muted)}.employee-picker-results button[hidden]{display:none}.employee-picker-search.is-selected{border-color:#adb95d;background:#fbfcf5}
@media(max-width:1000px){.modal-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.salary-actions-bar{align-items:flex-start;flex-direction:column}.salary-actions-bar .actions{width:100%}}
@media(max-width:700px){.modal-overlay{padding:10px;align-items:flex-end}.modal-card{width:100%;max-height:94vh;border-radius:16px 16px 10px 10px;padding:16px}.modal-head{margin-bottom:15px;padding-bottom:13px}.modal-head h2{font-size:19px}.modal-head p{font-size:12px}.modal-form-grid{grid-template-columns:1fr!important}.modal-actions{position:sticky;bottom:-16px;background:#fff;margin-left:-16px;margin-right:-16px;padding:13px 16px 16px;z-index:3}.salary-actions-bar{padding:15px}.salary-actions-bar h2{font-size:18px}.salary-actions-bar .actions{display:grid;grid-template-columns:1fr;width:100%}.salary-actions-bar .btn{width:100%}.salary-grid .table{min-width:560px}}
/* V13 - dönem kilidi ve otomatik puantaj */
.status-choice.is-disabled{opacity:.55;cursor:not-allowed;filter:grayscale(.25)}
.status-choice.is-disabled input{cursor:not-allowed}
.attendance-row.is-saving{opacity:.72}
.attendance-row.is-saved{box-shadow:inset 3px 0 0 rgba(25,135,84,.45)}
.attendance-row.is-save-error{box-shadow:inset 3px 0 0 rgba(220,53,69,.75)}
.salary-filter-box{padding:14px 0 16px;border-bottom:1px solid var(--border,#e7e9ee);margin-bottom:8px}
.salary-filter-box .filters{align-items:end;gap:10px;flex-wrap:wrap}
.salary-filter-box .form-group{min-width:150px;flex:1 1 150px}
.salary-filter-box .person-filter{min-width:210px;flex:1.4 1 210px}
.salary-warning-list{margin-bottom:16px}
.salary-warning-list ul{margin:8px 0 0 20px}
@media(max-width:700px){.salary-filter-box .form-group,.salary-filter-box .person-filter{min-width:100%;flex-basis:100%}.salary-filter-box .btn{width:100%}}

/* V14 - Maaş takip yerleşimi */
.salary-sections{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;width:100%;min-width:0}
.salary-sections>.card{width:100%;min-width:0;margin:0}
.salary-sections .table-wrap,.salary-period-card .table-wrap{width:100%;max-width:100%;overflow-x:auto}
.salary-sections .table{width:100%;min-width:760px}
.salary-filter-box{padding:14px 0 16px;margin-bottom:10px}
.salary-filter-box .filters{display:grid;grid-template-columns:minmax(160px,190px) minmax(160px,190px) minmax(220px,1fr) auto;align-items:end;gap:12px;width:100%}
.salary-filter-box .form-group,.salary-filter-box .person-filter{min-width:0;flex:none}
.salary-filter-box .btn{min-height:42px}
.table-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;white-space:nowrap}
.actions-col{min-width:170px}.locked-action{display:inline-flex;align-items:center;min-height:31px;padding:0 9px;border-radius:8px;background:#f1f3f5;color:#8a929b;font-size:12px;font-weight:800;border:1px solid #e3e7ea}
.salary-warning-list{max-width:none}
@media(max-width:900px){.salary-filter-box .filters{grid-template-columns:repeat(2,minmax(0,1fr))}.salary-filter-box .person-filter{grid-column:1/-1}.salary-filter-box .btn{width:100%}}
@media(max-width:700px){.salary-filter-box .filters{grid-template-columns:1fr}.salary-filter-box .person-filter{grid-column:auto}.salary-sections .table{min-width:700px}.table-actions{flex-wrap:nowrap}.actions-col{min-width:165px}}

/* V16 - Maaş Takip sayfası tamamen yeniden tasarlandı */
.salary-v16{display:grid;gap:16px;min-width:0}
.salary-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 24px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}
.salary-hero-copy{min-width:0}.salary-eyebrow,.salary-section-kicker{display:block;margin-bottom:6px;font-size:10px;line-height:1;letter-spacing:.13em;font-weight:900;color:#8b9400}.salary-hero h2{margin:0;font-size:22px;line-height:1.2}.salary-hero p{margin:6px 0 0;color:var(--muted);font-size:13px;line-height:1.5}.salary-hero-actions{display:flex;gap:9px;flex:0 0 auto}
.salary-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.salary-kpi{min-height:82px;padding:14px 16px;background:#fff;border:1px solid var(--line);border-radius:14px;display:flex;align-items:center;gap:12px;box-shadow:0 5px 18px rgba(22,27,34,.04)}.salary-kpi-icon{width:38px;height:38px;flex:0 0 38px;border-radius:10px;display:grid;place-items:center;background:#151b21;color:var(--lime);font-size:13px;font-weight:900}.salary-kpi>div{display:grid;gap:2px;min-width:0}.salary-kpi small{font-size:11px;color:var(--muted);font-weight:700}.salary-kpi strong{font-size:21px;line-height:1.1}.salary-kpi em{font-size:11px;color:#68717d;font-style:normal}.salary-kpi.is-warning{border-color:#efd9ab;background:#fffdf8}.salary-kpi.is-warning .salary-kpi-icon{background:#fff1d7;color:#9d6510}
.salary-alert-details{background:#fffaf0;border:1px solid #edd9ad;border-radius:13px;overflow:hidden}.salary-alert-details summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:13px 16px;user-select:none}.salary-alert-details summary::-webkit-details-marker{display:none}.salary-alert-mark{width:30px;height:30px;flex:0 0 30px;border-radius:8px;background:#fff0ce;color:#9d6510;display:grid;place-items:center;font-weight:900}.salary-alert-details summary>span:nth-child(2){display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}.salary-alert-details summary b{font-size:13px}.salary-alert-details summary small{font-size:12px;color:#8b7859}.salary-alert-chevron{margin-left:auto;font-size:18px;color:#8b7859;transition:.2s}.salary-alert-details[open] .salary-alert-chevron{transform:rotate(180deg)}.salary-alert-body{padding:0 16px 15px 58px;display:flex;gap:7px;flex-wrap:wrap}.salary-person-chip{display:inline-flex;align-items:center;min-height:28px;padding:5px 9px;border:1px solid #eadcc0;background:#fff;border-radius:8px;font-size:12px;color:#5f5544}
.salary-primary-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(380px,.9fr);gap:16px;align-items:start;min-width:0}.salary-panel{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);padding:20px;min-width:0}.salary-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.salary-panel-head h3{margin:0;font-size:18px;line-height:1.25}.salary-panel-head p{margin:5px 0 0;font-size:12px;line-height:1.45;color:var(--muted)}.salary-count-badge{display:inline-flex;align-items:center;justify-content:center;min-height:29px;padding:5px 10px;border-radius:9px;background:#f0f2f4;color:#5e6874;font-size:11px;font-weight:800;white-space:nowrap}.salary-count-warn{background:#fff3db;color:#9b6510}
.salary-filter-row{display:grid;grid-template-columns:150px 150px minmax(180px,1fr) auto;gap:9px;align-items:end;padding:13px;margin-bottom:12px;background:#f8f9fa;border:1px solid #eceff2;border-radius:12px}.salary-filter-row .form-group{min-width:0}.salary-filter-row label{font-size:11px}.salary-filter-row .input{min-height:39px;font-size:13px;background:#fff}.salary-filter-btn{min-height:39px}.salary-filter-compact{grid-template-columns:1fr 1fr}.salary-filter-compact .salary-search-field{grid-column:1/-1}.salary-filter-compact .salary-filter-btn{grid-column:1/-1;width:100%}
.salary-table-shell{width:100%;max-width:100%;overflow-x:auto;border:1px solid #edf0f2;border-radius:12px}.salary-table{width:100%;min-width:0;border-collapse:separate;border-spacing:0}.salary-table th{background:#fafbfc;border-bottom:1px solid #e8ebee;color:#68727f;font-size:11px;text-transform:uppercase;letter-spacing:.025em;padding:11px 12px;white-space:nowrap}.salary-table td{padding:12px;border-bottom:1px solid #edf0f2;font-size:13px;vertical-align:middle}.salary-table tbody tr:last-child td{border-bottom:0}.salary-table tbody tr:hover{background:#fcfcfd}.salary-person{display:grid;gap:3px;min-width:135px}.salary-person b{font-size:13px}.salary-person small{font-size:11px;color:var(--muted)}.salary-money{white-space:nowrap}.salary-status{display:inline-flex;align-items:center;justify-content:center;min-height:27px;padding:5px 8px;border-radius:8px;font-size:10.5px;font-weight:800;white-space:nowrap}.salary-status.success{background:#edf8f2;color:#267354}.salary-status.warning{background:#fff3dc;color:#9a6410}.salary-status.neutral{background:#f1f3f5;color:#737d88}.salary-row-actions{display:flex;align-items:center;gap:6px;white-space:nowrap}.salary-lock-badge{display:inline-flex;align-items:center;min-height:31px;padding:6px 9px;border-radius:8px;background:#f1f3f5;border:1px solid #e3e7ea;color:#89919a;font-size:11px;font-weight:800}.salary-empty{padding:22px 12px;text-align:center;color:var(--muted);font-size:12px}.salary-empty-lg{display:grid;gap:5px;padding:30px 12px}.salary-empty-lg b{font-size:14px;color:#4e5965}.salary-empty-lg span{font-size:12px}
.salary-period-panel{padding:20px}.salary-period-table{min-width:940px}.salary-period-name{display:grid;gap:4px}.salary-period-name b{font-size:14px}.salary-period-name small{display:flex;align-items:center;gap:6px;color:#6f7985;font-size:10.5px}.salary-period-name small span{width:7px;height:7px;border-radius:50%;background:#bdcf00}.salary-advance-table{min-width:0}
@media(max-width:1220px){.salary-primary-grid{grid-template-columns:1fr}.salary-filter-compact{grid-template-columns:150px 150px minmax(180px,1fr) auto}.salary-filter-compact .salary-search-field{grid-column:auto}.salary-filter-compact .salary-filter-btn{grid-column:auto;width:auto}.salary-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.salary-hero{align-items:flex-start;flex-direction:column}.salary-hero-actions{width:100%}.salary-hero-actions .btn{flex:1}.salary-filter-row,.salary-filter-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.salary-search-field{grid-column:1/-1!important}.salary-filter-btn{grid-column:1/-1!important;width:100%!important}.salary-panel-main .salary-table{min-width:760px}.salary-advance-table{min-width:520px}}
@media(max-width:620px){.salary-v16{gap:12px}.salary-hero,.salary-panel{padding:15px;border-radius:13px}.salary-hero h2{font-size:19px}.salary-hero-actions{display:grid;grid-template-columns:1fr}.salary-kpis{grid-template-columns:1fr 1fr;gap:8px}.salary-kpi{padding:11px;min-height:72px}.salary-kpi-icon{width:34px;height:34px;flex-basis:34px}.salary-kpi strong{font-size:18px}.salary-alert-details summary{padding:11px 12px}.salary-alert-details summary small{display:none}.salary-alert-body{padding:0 12px 12px}.salary-filter-row,.salary-filter-compact{grid-template-columns:1fr;padding:10px}.salary-search-field,.salary-filter-btn{grid-column:auto!important}.salary-panel-head{margin-bottom:12px}.salary-panel-head h3{font-size:17px}.salary-panel-head p{font-size:11.5px}.salary-period-panel{padding:15px}}

/* V17 - Maaş Takip: bağımsız, cache-safe ve zorunlu yerleşim */
.salary-v17{display:flex!important;flex-direction:column!important;gap:18px!important;width:100%!important;min-width:0!important}
.salary-v17 .salary-hero{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;width:100%!important;padding:24px 26px!important;background:linear-gradient(135deg,#151b21 0%,#202831 100%)!important;border:0!important;border-radius:16px!important;box-shadow:0 12px 34px rgba(18,23,29,.14)!important;color:#fff!important}
.salary-v17 .salary-hero-copy{min-width:0!important;max-width:820px!important}
.salary-v17 .salary-eyebrow{display:block!important;margin:0 0 8px!important;font-size:11px!important;line-height:1!important;letter-spacing:.14em!important;font-weight:900!important;color:var(--lime)!important}
.salary-v17 .salary-hero h2{margin:0!important;font-size:25px!important;line-height:1.18!important;color:#fff!important}
.salary-v17 .salary-hero p{margin:8px 0 0!important;font-size:14px!important;line-height:1.55!important;color:#bfc7d0!important}
.salary-v17 .salary-hero-actions{display:flex!important;align-items:center!important;gap:10px!important;flex:0 0 auto!important}
.salary-v17 .salary-hero-actions .btn-light{background:#fff!important;border-color:#fff!important;color:#171c22!important}
.salary-v17 .salary-hero-actions .btn-primary{background:var(--lime)!important;border-color:var(--lime)!important;color:#11161b!important}

.salary-v17 .salary-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;width:100%!important}
.salary-v17 .salary-kpi{display:flex!important;align-items:center!important;gap:13px!important;min-height:94px!important;padding:17px 18px!important;background:#fff!important;border:1px solid #e3e7eb!important;border-radius:14px!important;box-shadow:0 7px 24px rgba(18,23,29,.055)!important}
.salary-v17 .salary-kpi-icon{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;flex:0 0 42px!important;border-radius:10px!important;background:#171d23!important;color:var(--lime)!important;font-size:14px!important;font-weight:900!important}
.salary-v17 .salary-kpi>div{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important}
.salary-v17 .salary-kpi small{font-size:12px!important;line-height:1.25!important;color:#77818d!important;font-weight:700!important}
.salary-v17 .salary-kpi strong{font-size:23px!important;line-height:1.1!important;color:#171d23!important;font-weight:850!important}
.salary-v17 .salary-kpi em{font-size:12px!important;color:#697480!important;font-style:normal!important}
.salary-v17 .salary-kpi.is-warning{background:#fffaf0!important;border-color:#ead7aa!important}
.salary-v17 .salary-kpi.is-warning .salary-kpi-icon{background:#fff0cc!important;color:#9b6510!important}

.salary-v17 .salary-alert-details{display:block!important;width:100%!important;background:#fffaf0!important;border:1px solid #ead8b2!important;border-radius:13px!important;overflow:hidden!important}
.salary-v17 .salary-alert-details summary{display:flex!important;align-items:center!important;gap:12px!important;min-height:58px!important;padding:12px 16px!important;cursor:pointer!important;list-style:none!important}
.salary-v17 .salary-alert-details summary::-webkit-details-marker{display:none!important}
.salary-v17 .salary-alert-mark{display:grid!important;place-items:center!important;width:32px!important;height:32px!important;flex:0 0 32px!important;border-radius:8px!important;background:#f6dfae!important;color:#85540b!important;font-weight:900!important}
.salary-v17 .salary-alert-details summary>span:nth-child(2){display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;min-width:0!important}
.salary-v17 .salary-alert-details summary b{font-size:13.5px!important;color:#4f3b19!important}
.salary-v17 .salary-alert-details summary small{font-size:12px!important;color:#8b7859!important}
.salary-v17 .salary-alert-chevron{margin-left:auto!important;color:#8b7859!important;font-size:18px!important}
.salary-v17 .salary-alert-body{display:flex!important;gap:7px!important;flex-wrap:wrap!important;padding:0 16px 15px 60px!important}
.salary-v17 .salary-person-chip{display:inline-flex!important;align-items:center!important;padding:6px 9px!important;background:#fff!important;border:1px solid #e5d6b7!important;border-radius:8px!important;font-size:12px!important;color:#5b4e3d!important}

.salary-v17 .salary-primary-grid{display:grid!important;grid-template-columns:minmax(0,1.65fr) minmax(360px,.85fr)!important;gap:18px!important;align-items:start!important;width:100%!important;min-width:0!important}
.salary-v17 .salary-panel{width:100%!important;min-width:0!important;margin:0!important;padding:21px!important;background:#fff!important;border:1px solid #e3e7eb!important;border-radius:15px!important;box-shadow:0 8px 28px rgba(18,23,29,.055)!important}
.salary-v17 .salary-panel-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;margin:0 0 16px!important;padding:0!important}
.salary-v17 .salary-section-kicker{display:block!important;margin:0 0 6px!important;font-size:10px!important;letter-spacing:.12em!important;font-weight:900!important;color:#8a9300!important}
.salary-v17 .salary-panel-head h3{margin:0!important;font-size:19px!important;line-height:1.2!important;color:#171d23!important}
.salary-v17 .salary-panel-head p{margin:6px 0 0!important;font-size:13px!important;line-height:1.45!important;color:#74808c!important}
.salary-v17 .salary-count-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:30px!important;padding:6px 10px!important;border-radius:9px!important;background:#eef1f3!important;color:#5f6975!important;font-size:11.5px!important;font-weight:800!important;white-space:nowrap!important}
.salary-v17 .salary-count-warn{background:#fff2d8!important;color:#93600e!important}

.salary-v17 .salary-filter-row{display:grid!important;grid-template-columns:160px 160px minmax(190px,1fr) auto!important;gap:10px!important;align-items:end!important;width:100%!important;margin:0 0 14px!important;padding:13px!important;background:#f7f8f9!important;border:1px solid #e7eaee!important;border-radius:11px!important}
.salary-v17 .salary-filter-row .form-group{display:grid!important;gap:6px!important;min-width:0!important}
.salary-v17 .salary-filter-row label{font-size:12px!important;font-weight:700!important;color:#596572!important}
.salary-v17 .salary-filter-row .input{min-height:41px!important;font-size:13.5px!important;background:#fff!important}
.salary-v17 .salary-filter-btn{min-height:41px!important}
.salary-v17 .salary-filter-compact{grid-template-columns:1fr 1fr!important}
.salary-v17 .salary-filter-compact .salary-search-field{grid-column:1/-1!important}
.salary-v17 .salary-filter-compact .salary-filter-btn{grid-column:1/-1!important;width:100%!important}

.salary-v17 .salary-table-shell{display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;border:1px solid #e8ebee!important;border-radius:11px!important;background:#fff!important}
.salary-v17 .salary-table{width:100%!important;min-width:0!important;border-collapse:collapse!important;background:#fff!important}
.salary-v17 .salary-table th{padding:12px 13px!important;background:#f8f9fa!important;border-bottom:1px solid #e5e8eb!important;color:#65717d!important;font-size:11.5px!important;line-height:1.3!important;text-align:left!important;text-transform:uppercase!important;letter-spacing:.025em!important;white-space:nowrap!important}
.salary-v17 .salary-table td{padding:13px!important;border-bottom:1px solid #edf0f2!important;font-size:13.5px!important;line-height:1.4!important;vertical-align:middle!important;color:#20262d!important}
.salary-v17 .salary-table tbody tr:last-child td{border-bottom:0!important}
.salary-v17 .salary-table tbody tr:hover{background:#fbfcfc!important}
.salary-v17 .salary-person{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:135px!important}
.salary-v17 .salary-person b{font-size:13.5px!important;color:#14191f!important}
.salary-v17 .salary-person small{font-size:11.5px!important;color:#7a8591!important}
.salary-v17 .salary-money{white-space:nowrap!important}
.salary-v17 .salary-status{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:28px!important;padding:5px 9px!important;border-radius:8px!important;font-size:11px!important;font-weight:800!important;white-space:nowrap!important}
.salary-v17 .salary-status.success{background:#eaf7f0!important;color:#24704f!important}
.salary-v17 .salary-status.warning{background:#fff2d8!important;color:#95620f!important}
.salary-v17 .salary-status.neutral{background:#eef1f3!important;color:#69747f!important}
.salary-v17 .salary-row-actions{display:flex!important;align-items:center!important;gap:6px!important;white-space:nowrap!important}
.salary-v17 .salary-empty{padding:24px 12px!important;text-align:center!important;color:#7c8792!important;font-size:13px!important}
.salary-v17 .salary-period-panel{width:100%!important;padding:21px!important}
.salary-v17 .salary-period-table{min-width:920px!important}
.salary-v17 .salary-period-name{display:flex!important;flex-direction:column!important;gap:3px!important}
.salary-v17 .salary-period-name b{font-size:14px!important}
.salary-v17 .salary-period-name small{display:flex!important;align-items:center!important;gap:6px!important;font-size:11px!important;color:#6e7984!important}
.salary-v17 .salary-period-name small span{display:inline-block!important;width:7px!important;height:7px!important;border-radius:50%!important;background:#b6cd00!important}
.salary-v17 .salary-lock-badge{display:inline-flex!important;align-items:center!important;padding:6px 9px!important;border:1px solid #e2e6e9!important;border-radius:8px!important;background:#f1f3f5!important;color:#858e98!important;font-size:11px!important;font-weight:800!important}
.salary-v17 .salary-empty-lg{display:flex!important;flex-direction:column!important;gap:5px!important;padding:30px 12px!important}
.salary-v17 .salary-empty-lg b{font-size:14px!important;color:#4f5964!important}
.salary-v17 .salary-empty-lg span{font-size:12px!important;color:#7d8791!important}

@media(max-width:1240px){
 .salary-v17 .salary-primary-grid{grid-template-columns:1fr!important}
 .salary-v17 .salary-filter-compact{grid-template-columns:160px 160px minmax(190px,1fr) auto!important}
 .salary-v17 .salary-filter-compact .salary-search-field{grid-column:auto!important}
 .salary-v17 .salary-filter-compact .salary-filter-btn{grid-column:auto!important;width:auto!important}
}
@media(max-width:900px){
 .salary-v17 .salary-hero{align-items:flex-start!important;flex-direction:column!important}
 .salary-v17 .salary-hero-actions{width:100%!important}
 .salary-v17 .salary-hero-actions .btn{flex:1!important}
 .salary-v17 .salary-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .salary-v17 .salary-filter-row,.salary-v17 .salary-filter-compact{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .salary-v17 .salary-search-field{grid-column:1/-1!important}
 .salary-v17 .salary-filter-btn{grid-column:1/-1!important;width:100%!important}
 .salary-v17 .salary-panel-main .salary-table{min-width:760px!important}
 .salary-v17 .salary-advance-table{min-width:560px!important}
}
@media(max-width:620px){
 .salary-v17{gap:12px!important}
 .salary-v17 .salary-hero,.salary-v17 .salary-panel{padding:15px!important;border-radius:12px!important}
 .salary-v17 .salary-hero h2{font-size:20px!important}
 .salary-v17 .salary-hero-actions{display:grid!important;grid-template-columns:1fr!important}
 .salary-v17 .salary-kpis{grid-template-columns:1fr 1fr!important;gap:8px!important}
 .salary-v17 .salary-kpi{min-height:80px!important;padding:12px!important}
 .salary-v17 .salary-kpi-icon{width:35px!important;height:35px!important;flex-basis:35px!important}
 .salary-v17 .salary-kpi strong{font-size:19px!important}
 .salary-v17 .salary-kpi small{font-size:10.5px!important}
 .salary-v17 .salary-alert-details summary small{display:none!important}
 .salary-v17 .salary-alert-body{padding:0 12px 12px!important}
 .salary-v17 .salary-filter-row,.salary-v17 .salary-filter-compact{grid-template-columns:1fr!important;padding:10px!important}
 .salary-v17 .salary-search-field,.salary-v17 .salary-filter-btn{grid-column:auto!important}
 .salary-v17 .salary-panel-head h3{font-size:18px!important}
 .salary-v17 .salary-panel-head p{font-size:12px!important}
}

/* V18 Salary usability */
.salary-v17 .salary-primary-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important;gap:18px!important}
.salary-v17 .salary-panel-side{min-width:0!important}
.salary-v17 .salary-panel-side .salary-filter-compact{grid-template-columns:1fr 1fr minmax(220px,1.25fr) auto!important}
.salary-v17 .salary-panel-side .salary-filter-compact .salary-search-field{grid-column:auto!important}
.salary-v17 .salary-panel-side .salary-filter-compact .salary-filter-btn{grid-column:auto!important;width:auto!important}
.salary-v17 .salary-advance-table{min-width:620px!important}
.salary-v17 .salary-advance-table th:nth-child(1){width:31%}
.salary-v17 .salary-advance-table th:nth-child(2){width:20%}
.salary-v17 .salary-advance-table th:nth-child(3){width:20%}
.salary-v17 .salary-advance-table th:nth-child(4){width:29%}
@media(max-width:1350px){.salary-v17 .salary-primary-grid{grid-template-columns:1fr!important}.salary-v17 .salary-panel-side .salary-filter-compact{grid-template-columns:160px 160px minmax(220px,1fr) auto!important}}
@media(max-width:900px){.salary-v17 .salary-panel-side .salary-filter-compact{grid-template-columns:repeat(2,minmax(0,1fr))!important}.salary-v17 .salary-panel-side .salary-filter-compact .salary-search-field{grid-column:1/-1!important}.salary-v17 .salary-panel-side .salary-filter-compact .salary-filter-btn{grid-column:1/-1!important;width:100%!important}}


/* V19 - Puantaj boş seçim + eksik kayıt uyarısı */
.attendance-missing-alert{margin:0 0 12px;background:#fffaf0;border:1px solid #ead7aa;border-radius:11px;overflow:hidden}
.attendance-missing-alert summary{display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer;list-style:none;user-select:none}.attendance-missing-alert summary::-webkit-details-marker{display:none}
.attendance-missing-icon{width:28px;height:28px;flex:0 0 28px;border-radius:8px;background:#fff0cc;color:#95620f;display:grid;place-items:center;font-weight:900}
.attendance-missing-alert summary>span:nth-child(2){display:flex;flex-direction:column;gap:2px;min-width:0}.attendance-missing-alert summary b{font-size:12.5px;color:#503c1a}.attendance-missing-alert summary small{font-size:11px;color:#8a7654}.attendance-missing-chevron{margin-left:auto;color:#8a7654;font-size:17px}
.attendance-missing-body{display:grid;gap:6px;padding:0 12px 11px 50px}.attendance-missing-item{display:flex;gap:8px;align-items:baseline;padding:7px 9px;border:1px solid #eee2ca;border-radius:8px;background:#fff;color:#515962;text-decoration:none}.attendance-missing-item:hover{border-color:#d9c69d;background:#fffdf9}.attendance-missing-item b{font-size:11.5px;white-space:nowrap}.attendance-missing-item span{font-size:11px;color:#747b82}.attendance-missing-item.is-all{border-left:3px solid #d19931}

/* V19 - Maaş mobil yerleşim ve filtre ergonomisi */
.salary-v17 .salary-filter-v19{grid-template-columns:minmax(300px,330px) minmax(180px,1fr) auto!important}
.salary-v17 .salary-filter-v19 .salary-date-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px;min-width:0}
.salary-v17 .salary-filter-v19 .salary-search-field{grid-column:auto!important}
.salary-v17 .salary-filter-v19 .salary-filter-btn{grid-column:auto!important;width:auto!important;min-width:82px!important}
.salary-v17 .salary-filter-icon{display:none;font-size:18px;line-height:1}.salary-v17 .salary-filter-text{display:inline}
@media(max-width:620px){
 .salary-v17{gap:9px!important}
 .salary-v17 .salary-hero{padding:12px!important;gap:11px!important}
 .salary-v17 .salary-eyebrow{font-size:9px!important;margin-bottom:5px!important}
 .salary-v17 .salary-hero h2{font-size:18px!important}
 .salary-v17 .salary-hero-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;width:100%!important}
 .salary-v17 .salary-hero-actions .btn{width:100%!important;min-height:38px!important;padding:8px 7px!important;font-size:10.5px!important;white-space:nowrap!important}
 .salary-v17 .salary-kpis{grid-template-columns:1fr 1fr!important;gap:6px!important}
 .salary-v17 .salary-kpi{min-height:58px!important;padding:7px 9px!important;gap:8px!important;border-radius:10px!important}
 .salary-v17 .salary-kpi-icon{width:28px!important;height:28px!important;flex-basis:28px!important;border-radius:8px!important;font-size:11px!important}
 .salary-v17 .salary-kpi small{font-size:9px!important;line-height:1.15!important}.salary-v17 .salary-kpi strong{font-size:16px!important}.salary-v17 .salary-kpi em{font-size:9px!important}
 .salary-v17 .salary-alert-details summary{min-height:46px!important;padding:8px 10px!important;gap:8px!important}.salary-v17 .salary-alert-mark{width:27px!important;height:27px!important;flex-basis:27px!important}.salary-v17 .salary-alert-details summary b{font-size:11px!important;line-height:1.25!important}
 .salary-v17 .salary-panel{padding:12px!important}.salary-v17 .salary-panel-head{margin-bottom:9px!important}.salary-v17 .salary-section-kicker{font-size:8.5px!important;margin-bottom:4px!important}.salary-v17 .salary-panel-head h3{font-size:16px!important}.salary-v17 .salary-panel-head p{font-size:10.5px!important;margin-top:4px!important}
 .salary-v17 .salary-filter-v19,.salary-v17 .salary-panel-side .salary-filter-v19{display:grid!important;grid-template-columns:minmax(0,1fr) 42px!important;gap:7px!important;padding:8px!important}
 .salary-v17 .salary-filter-v19 .salary-date-pair,.salary-v17 .salary-panel-side .salary-filter-v19 .salary-date-pair{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}
 .salary-v17 .salary-filter-v19 .salary-search-field,.salary-v17 .salary-panel-side .salary-filter-v19 .salary-search-field{grid-column:1/2!important;min-width:0!important}
 .salary-v17 .salary-filter-v19 .salary-filter-btn,.salary-v17 .salary-panel-side .salary-filter-v19 .salary-filter-btn{grid-column:2/3!important;width:42px!important;min-width:42px!important;height:39px!important;min-height:39px!important;padding:0!important;align-self:end!important;justify-self:end!important;display:grid!important;place-items:center!important}
 .salary-v17 .salary-filter-v19 label{font-size:9.5px!important}.salary-v17 .salary-filter-v19 .input{min-height:39px!important;font-size:11px!important;padding-left:9px!important;padding-right:9px!important}
 .salary-v17 .salary-filter-icon{display:inline!important}.salary-v17 .salary-filter-text{display:none!important}
 .attendance-missing-alert summary{padding:9px 10px}.attendance-missing-alert summary b{font-size:11.5px}.attendance-missing-alert summary small{font-size:9.5px}.attendance-missing-body{padding:0 10px 10px;gap:5px}.attendance-missing-item{display:grid;gap:2px;padding:7px}.attendance-missing-item b{font-size:10.5px}.attendance-missing-item span{font-size:10px}
}

/* V20 - Maaş filtreleri: iki kartta birebir aynı, tamamen akışkan */
.salary-v17 .salary-filter-v20,
.salary-v17 .salary-panel-side .salary-filter-v20{
  display:grid!important;
  grid-template-columns:minmax(220px,.95fr) minmax(140px,1fr) auto!important;
  gap:9px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  align-items:end!important;
}
.salary-v17 .salary-filter-v20>*{min-width:0!important;max-width:100%!important}
.salary-v17 .salary-filter-v20 .salary-date-pair{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:9px!important;
  min-width:0!important;
}
.salary-v17 .salary-filter-v20 .form-group{min-width:0!important;width:100%!important}
.salary-v17 .salary-filter-v20 .input{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
.salary-v17 .salary-filter-v20 .salary-search-field{grid-column:auto!important;min-width:0!important}
.salary-v17 .salary-filter-v20 .salary-filter-btn{
  grid-column:auto!important;
  width:auto!important;
  min-width:74px!important;
  max-width:88px!important;
  padding-left:10px!important;
  padding-right:10px!important;
  white-space:nowrap!important;
}
.salary-v17 .salary-primary-grid>*{min-width:0!important;max-width:100%!important}
.salary-v17 .salary-panel{overflow:hidden!important}

@media(max-width:1150px){
  .salary-v17 .salary-filter-v20,
  .salary-v17 .salary-panel-side .salary-filter-v20{
    grid-template-columns:minmax(200px,.9fr) minmax(130px,1fr) auto!important;
  }
}

/* V20 - Mobil maaş üst kutuları yeniden ferah */
@media(max-width:620px){
  .salary-v17 .salary-kpis{grid-template-columns:1fr 1fr!important;gap:8px!important}
  .salary-v17 .salary-kpi{
    min-height:80px!important;
    padding:12px!important;
    gap:10px!important;
    border-radius:12px!important;
  }
  .salary-v17 .salary-kpi-icon{
    width:35px!important;height:35px!important;flex-basis:35px!important;
    border-radius:9px!important;font-size:12px!important;
  }
  .salary-v17 .salary-kpi small{font-size:10.5px!important;line-height:1.2!important}
  .salary-v17 .salary-kpi strong{font-size:19px!important;line-height:1.15!important}
  .salary-v17 .salary-kpi em{font-size:10.5px!important}

  .salary-v17 .salary-filter-v20,
  .salary-v17 .salary-panel-side .salary-filter-v20{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 42px!important;
    gap:7px!important;
    padding:9px!important;
  }
  .salary-v17 .salary-filter-v20 .salary-date-pair,
  .salary-v17 .salary-panel-side .salary-filter-v20 .salary-date-pair{
    grid-column:1/-1!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:7px!important;
  }
  .salary-v17 .salary-filter-v20 .salary-search-field,
  .salary-v17 .salary-panel-side .salary-filter-v20 .salary-search-field{grid-column:1/2!important}
  .salary-v17 .salary-filter-v20 .salary-filter-btn,
  .salary-v17 .salary-panel-side .salary-filter-v20 .salary-filter-btn{
    grid-column:2/3!important;
    width:42px!important;min-width:42px!important;max-width:42px!important;
    height:42px!important;min-height:42px!important;padding:0!important;
    display:grid!important;place-items:center!important;
  }
  .salary-v17 .salary-filter-v20 .salary-filter-icon{display:inline!important}
  .salary-v17 .salary-filter-v20 .salary-filter-text{display:none!important}
  .salary-v17 .salary-filter-v20 label{font-size:10.5px!important}
  .salary-v17 .salary-filter-v20 .input{font-size:12px!important;min-height:42px!important;padding:9px!important}
}

/* V20 - Tüm tablolar için mobil uygulama tipi açılır satır görünümü */
@media(max-width:760px){
  .table-wrap,
  .salary-table-shell{overflow:visible!important;max-width:100%!important;width:100%!important}

  table.table.mobile-accordion{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    table-layout:auto!important;
    border-collapse:separate!important;
  }
  table.table.mobile-accordion thead{display:none!important}
  table.table.mobile-accordion tbody{
    display:grid!important;
    width:100%!important;
    gap:8px!important;
  }
  table.table.mobile-accordion tbody tr.mobile-accordion-row{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    border:1px solid #e3e7eb!important;
    border-radius:12px!important;
    background:#fff!important;
    overflow:hidden!important;
    box-shadow:0 2px 8px rgba(18,23,29,.025)!important;
  }
  table.table.mobile-accordion tbody tr.mobile-accordion-row>td{
    display:none!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    border:0!important;
    border-top:1px solid #eef1f3!important;
    padding:10px 12px!important;
    font-size:13px!important;
    line-height:1.35!important;
    background:#fff!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  table.table.mobile-accordion tbody tr.mobile-accordion-row>td:first-child{
    display:block!important;
    position:relative!important;
    border-top:0!important;
    padding:12px 42px 12px 12px!important;
    cursor:pointer!important;
    min-height:48px!important;
  }
  table.table.mobile-accordion tbody tr.mobile-accordion-row:not(.mobile-empty-row)>td:first-child::after{
    content:'⌄';
    position:absolute;right:13px;top:50%;transform:translateY(-50%);
    width:25px;height:25px;border-radius:8px;background:#f1f3f5;color:#59636e;
    display:grid;place-items:center;font-size:15px;font-weight:800;
    transition:transform .18s ease,background .18s ease;
  }
  table.table.mobile-accordion tbody tr.mobile-accordion-row.mobile-open>td:first-child::after{
    transform:translateY(-50%) rotate(180deg);background:#171d23;color:#c6ef00;
  }
  table.table.mobile-accordion tbody tr.mobile-accordion-row.mobile-open>td:not(:first-child){
    display:grid!important;
    grid-template-columns:minmax(90px,.7fr) minmax(0,1.3fr)!important;
    align-items:center!important;
    gap:12px!important;
  }
  table.table.mobile-accordion tbody tr.mobile-accordion-row.mobile-open>td:not(:first-child)::before{
    content:attr(data-mobile-label);
    display:block;
    color:#7b8590;
    font-size:10.5px;
    font-weight:800;
    letter-spacing:.02em;
    text-transform:uppercase;
  }
  table.table.mobile-accordion tbody tr.mobile-empty-row>td:first-child{
    cursor:default!important;padding-right:12px!important;text-align:center!important;color:#747d87!important
  }
  table.table.mobile-accordion .salary-row-actions,
  table.table.mobile-accordion .table-actions{justify-content:flex-end!important;flex-wrap:wrap!important}
  table.table.mobile-accordion .btn{min-height:34px!important}
  table.table.mobile-accordion .employee-name{min-width:0!important}
  table.table.mobile-accordion .employee-name b,
  table.table.mobile-accordion .salary-person b{font-size:13.5px!important}

  /* Eski tablolardan gelen zorunlu minimum genişlikleri geçersiz kıl */
  .salary-v17 .salary-table,
  .salary-v17 .salary-advance-table,
  .salary-v17 .salary-period-table,
  .report-table,
  .compact-table,
  .dashboard-card .table,
  .salary-grid .table,
  .salary-sections .table{
    min-width:0!important;width:100%!important;max-width:100%!important
  }

  /* Mobilde kart ve içerik hissi */
  .content{overflow-x:hidden!important}
  .card,.salary-panel{max-width:100%!important}
}


/* V21 - Mobil tablo kartları: tam genişlik, yatay kayma yok, kurumsal chevron */
@media(max-width:760px){
  html,body,.app-shell,.main,.content{max-width:100vw!important;overflow-x:hidden!important}
  .table-wrap,.salary-table-shell{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}
  table.table.mobile-accordion,table.table.mobile-accordion tbody,table.table.mobile-accordion tbody tr.mobile-accordion-row{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow:hidden!important}
  table.table.mobile-accordion tbody tr.mobile-accordion-row>td:first-child{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;padding-right:52px!important}
  table.table.mobile-accordion .salary-person,table.table.mobile-accordion .employee-name{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}
  table.table.mobile-accordion .salary-person b,table.table.mobile-accordion .employee-name b{display:block;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  table.table.mobile-accordion tbody tr.mobile-accordion-row:not(.mobile-empty-row)>td:first-child::after{content:''!important;right:12px!important;width:30px!important;height:30px!important;border-radius:10px!important;background:#171d23!important;border:1px solid #2b353f!important;box-shadow:0 3px 10px rgba(13,18,23,.12)!important;transform:translateY(-50%)!important}
  table.table.mobile-accordion tbody tr.mobile-accordion-row:not(.mobile-empty-row)>td:first-child::before{content:'';position:absolute;z-index:2;right:22px;top:calc(50% - 3px);width:7px;height:7px;border-right:2px solid #c6ef00;border-bottom:2px solid #c6ef00;transform:rotate(45deg);transition:transform .18s ease,top .18s ease}
  table.table.mobile-accordion tbody tr.mobile-accordion-row.mobile-open>td:first-child::before{top:calc(50% + 1px);transform:rotate(225deg)}
  table.table.mobile-accordion tbody tr.mobile-accordion-row.mobile-open>td:not(:first-child){width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
  table.table.mobile-accordion .badge,.mobile-accordion-row .badge{width:max-content!important;max-width:100%!important;justify-self:start!important;align-self:center!important;display:inline-flex!important}
}

/* V21 - Maaş ekranı aksiyonları */
.salary-v17 .salary-hero-actions{flex-wrap:wrap!important}
@media(min-width:761px){.salary-v17 .salary-hero-actions .btn{min-width:128px}}
@media(max-width:620px){
 .salary-v17 .salary-hero-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;width:100%!important}
 .salary-v17 .salary-hero-actions .btn{width:100%!important;min-width:0!important;padding:8px 5px!important;font-size:9.5px!important;white-space:normal!important;line-height:1.2!important}
}

/* V21 - Dashboard */
.dashboard-v21{display:grid;gap:16px}.dashboard-hero-v21{background:linear-gradient(120deg,#171d23,#202932);border:1px solid #2c3640;border-radius:18px;padding:24px 26px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:0 14px 34px rgba(17,23,29,.12)}.dashboard-kicker,.dashboard-section-kicker{display:block;color:#bde500;font-size:9px;font-weight:900;letter-spacing:.12em;margin-bottom:7px}.dashboard-hero-v21 h2{font-size:27px;line-height:1.1;margin:0 0 8px}.dashboard-hero-v21 p{margin:0;color:#c4ccd4;font-size:12.5px;max-width:650px;line-height:1.5}.dashboard-quick-actions{display:flex;gap:8px;flex-wrap:wrap}.dashboard-stat-grid-v21{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.dashboard-stat-v21{background:#fff;border:1px solid #e1e5e9;border-radius:15px;padding:17px;display:flex;align-items:center;gap:13px;box-shadow:0 7px 22px rgba(17,23,29,.05)}.dashboard-stat-icon{width:42px;height:42px;min-width:42px;border-radius:12px;background:#171d23;color:#c6ef00;display:grid;place-items:center;font-weight:900}.dashboard-stat-v21 div{display:grid;gap:2px}.dashboard-stat-v21 small{font-size:10px;color:#747e89;font-weight:800}.dashboard-stat-v21 strong{font-size:24px;line-height:1.05}.dashboard-stat-v21 em{font-style:normal;color:#9aa2ab;font-size:9.5px}.dashboard-focus-grid-v21{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);gap:12px}.dashboard-progress-card-v21,.dashboard-payroll-card-v21{background:#fff;border:1px solid #e1e5e9;border-radius:15px;padding:18px;box-shadow:0 7px 22px rgba(17,23,29,.045)}.dashboard-card-head-v21{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.dashboard-card-head-v21 span,.dashboard-payroll-card-v21>div>span{font-size:9px;font-weight:900;letter-spacing:.1em;color:#89939d}.dashboard-card-head-v21 h3,.dashboard-payroll-card-v21 h3{margin:5px 0 0;font-size:16px}.dashboard-card-head-v21>b{font-size:23px}.dashboard-progress-track{height:9px;background:#edf0f2;border-radius:99px;overflow:hidden;margin:18px 0 10px}.dashboard-progress-track i{display:block;height:100%;background:#c6ef00;border-radius:inherit}.dashboard-progress-meta{display:flex;justify-content:space-between;gap:12px;color:#69737e;font-size:11px}.dashboard-card-link{margin-top:15px;padding-top:13px;border-top:1px solid #edf0f2;display:flex;justify-content:space-between;color:#1c242c;font-size:11px;font-weight:800}.dashboard-card-link span{color:#95ac00;font-size:16px}.dashboard-payroll-card-v21{display:flex;flex-direction:column;justify-content:space-between}.dashboard-payroll-card-v21 strong{display:block;font-size:23px;margin-top:10px}.dashboard-payroll-card-v21 small{display:block;color:#818b95;font-size:10.5px;margin-top:4px}.dashboard-list-grid-v21{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dashboard-card-v21{padding:18px}.dashboard-card-v21 .card-title{margin-bottom:12px}
@media(max-width:1000px){.dashboard-stat-grid-v21{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-list-grid-v21,.dashboard-focus-grid-v21{grid-template-columns:1fr}}
@media(max-width:700px){.dashboard-v21{gap:10px}.dashboard-hero-v21{padding:17px;border-radius:14px;display:grid}.dashboard-hero-v21 h2{font-size:21px}.dashboard-hero-v21 p{font-size:11.5px}.dashboard-quick-actions{display:grid;grid-template-columns:1fr 1fr}.dashboard-stat-grid-v21{gap:8px}.dashboard-stat-v21{padding:12px;gap:9px}.dashboard-stat-icon{width:35px;height:35px;min-width:35px;border-radius:10px}.dashboard-stat-v21 strong{font-size:19px}.dashboard-stat-v21 small{font-size:9.5px}.dashboard-focus-grid-v21{gap:8px}.dashboard-progress-card-v21,.dashboard-payroll-card-v21{padding:14px}.dashboard-list-grid-v21{gap:8px}.dashboard-card-v21{padding:13px}}

/* =========================================================
   V22 - Kesin mobil tablo, filtre ve personel hizalama düzeltmeleri
   ========================================================= */

/* Personel kodu her görünümde personel adının altında */
.employee-name > span:last-child{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  min-width:0!important;
  line-height:1.25!important;
}
.employee-name > span:last-child > b{display:block!important;max-width:100%!important}
.employee-name > span:last-child > .muted{
  display:block!important;
  width:auto!important;
  margin:3px 0 0!important;
  line-height:1.15!important;
}

/* Modern filtre butonu */
.salary-v17 .salary-filter-icon-btn{
  min-width:96px!important;
  max-width:none!important;
  min-height:42px!important;
  padding:0 14px!important;
  border:1px solid #202831!important;
  border-radius:10px!important;
  background:#171d23!important;
  color:#fff!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  box-shadow:0 4px 12px rgba(17,23,29,.10)!important;
  transition:background .16s ease,transform .16s ease,box-shadow .16s ease!important;
}
.salary-v17 .salary-filter-icon-btn:hover{
  background:#222b34!important;
  transform:translateY(-1px)!important;
  box-shadow:0 6px 16px rgba(17,23,29,.14)!important;
}
.salary-filter-funnel{
  position:relative!important;
  display:block!important;
  width:15px!important;
  height:13px!important;
  flex:0 0 15px!important;
}
.salary-filter-funnel::before{
  content:""!important;
  position:absolute!important;
  left:1px!important;
  top:1px!important;
  width:13px!important;
  height:8px!important;
  border:2px solid #c6ef00!important;
  border-top-width:2px!important;
  border-radius:3px 3px 5px 5px!important;
  clip-path:polygon(0 0,100% 0,64% 100%,36% 100%)!important;
  box-sizing:border-box!important;
}
.salary-filter-funnel::after{
  content:""!important;
  position:absolute!important;
  left:6px!important;
  bottom:0!important;
  width:3px!important;
  height:4px!important;
  border-radius:0 0 2px 2px!important;
  background:#c6ef00!important;
}

@media(max-width:760px){
  /* Maaş tanımları dahil tüm mobil accordion tablolarında gerçek sıfır yatay taşma */
  .salary-v17 .salary-panel,
  .salary-v17 .salary-panel-main,
  .salary-v17 .salary-panel-side,
  .salary-v17 .salary-table-shell,
  .salary-v17 .table-wrap,
  .table-wrap{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:hidden!important;
    overflow-y:visible!important;
    box-sizing:border-box!important;
  }

  .salary-v17 table.table.mobile-accordion,
  table.table.mobile-accordion{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    border:0!important;
    table-layout:fixed!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  .salary-v17 table.table.mobile-accordion tbody,
  table.table.mobile-accordion tbody{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  .salary-v17 table.table.mobile-accordion tbody tr.mobile-accordion-row,
  table.table.mobile-accordion tbody tr.mobile-accordion-row{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 0 8px!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  .salary-v17 table.table.mobile-accordion tbody tr.mobile-accordion-row:last-child,
  table.table.mobile-accordion tbody tr.mobile-accordion-row:last-child{margin-bottom:0!important}

  .salary-v17 table.table.mobile-accordion tbody tr.mobile-accordion-row > td,
  table.table.mobile-accordion tbody tr.mobile-accordion-row > td{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .salary-v17 table.table.mobile-accordion tbody tr.mobile-accordion-row > td:first-child,
  table.table.mobile-accordion tbody tr.mobile-accordion-row > td:first-child{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:13px 54px 13px 13px!important;
    overflow:hidden!important;
    white-space:normal!important;
    box-sizing:border-box!important;
  }

  /* Maaş tanımlarında geçmiş min-width kurallarını kesin olarak kapat */
  .salary-v17 .salary-panel-main .salary-table,
  .salary-v17 .salary-table,
  .salary-v17 .salary-advance-table,
  .salary-v17 .salary-period-table,
  .salary-v17 table.salary-table.mobile-accordion{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  .salary-v17 .salary-person{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  .salary-v17 .salary-person b,
  .salary-v17 .salary-person small{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  /* Tüm mobil accordion okları: kutunun optik merkezinde */
  table.table.mobile-accordion tbody tr.mobile-accordion-row:not(.mobile-empty-row)>td:first-child::after{
    content:""!important;
    position:absolute!important;
    right:12px!important;
    top:50%!important;
    width:32px!important;
    height:32px!important;
    transform:translateY(-50%)!important;
    border-radius:10px!important;
    background:#171d23!important;
    border:1px solid #2d3741!important;
    box-shadow:0 3px 10px rgba(13,18,23,.10)!important;
    box-sizing:border-box!important;
  }
  table.table.mobile-accordion tbody tr.mobile-accordion-row:not(.mobile-empty-row)>td:first-child::before{
    content:""!important;
    position:absolute!important;
    z-index:3!important;
    right:23px!important;
    top:50%!important;
    width:7px!important;
    height:7px!important;
    border-right:2px solid #c6ef00!important;
    border-bottom:2px solid #c6ef00!important;
    transform:translateY(-70%) rotate(45deg)!important;
    transform-origin:center!important;
    transition:transform .18s ease!important;
    box-sizing:border-box!important;
  }
  table.table.mobile-accordion tbody tr.mobile-accordion-row.mobile-open>td:first-child::before{
    transform:translateY(-25%) rotate(225deg)!important;
  }

  /* Mobil filtre düğmesi kompakt ve modern */
  .salary-v17 .salary-filter-v20 .salary-filter-icon-btn,
  .salary-v17 .salary-panel-side .salary-filter-v20 .salary-filter-icon-btn{
    width:44px!important;
    min-width:44px!important;
    max-width:44px!important;
    height:42px!important;
    min-height:42px!important;
    padding:0!important;
    border-radius:10px!important;
  }
  .salary-v17 .salary-filter-v20 .salary-filter-text{display:none!important}

  /* Üst işlem butonlarının yazılarını standart okunabilir boyuta getir */
  .salary-v17 .salary-hero-actions .btn{
    font-size:11.5px!important;
    font-weight:800!important;
    line-height:1.2!important;
    min-height:38px!important;
    padding:8px 7px!important;
  }
}

/* V23 - Günlük Puantaj personel detay popup */
.attendance-person-open{appearance:none;border:0;background:transparent;padding:0;margin:0;display:block;max-width:100%;font:inherit;font-weight:800;font-size:12px;line-height:1.3;color:#151b21;text-align:left;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.attendance-person-open:hover{color:#829500;text-decoration:underline;text-underline-offset:3px}
.attendance-detail-card{width:min(920px,100%);padding:0!important;overflow:hidden!important}
.attendance-detail-head{margin:0!important;padding:22px 24px 18px!important;background:#171e25;border-bottom:0!important;color:#fff}.attendance-detail-head h2{color:#fff!important}.attendance-detail-head p{color:#aeb8c2!important}.attendance-detail-head .modal-close{border-color:#3b4650;color:#fff;background:#212a33}
.attendance-detail-kpis{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:18px 22px 0}.attendance-detail-kpi{border:1px solid #e4e8eb;border-radius:13px;padding:14px 16px;background:#f8f9fa;display:grid;gap:4px}.attendance-detail-kpi span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:#7b8691}.attendance-detail-kpi b{font-size:22px;color:#171d23}.attendance-detail-kpi small{font-size:11px;color:#7a8590}
.attendance-detail-section{padding:18px 22px;border-top:1px solid #edf0f2;margin-top:18px}.attendance-detail-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:13px}.attendance-detail-section-head h3{font-size:17px;margin:3px 0 0}.attendance-detail-section-head>small{font-size:10px;color:#8a949e}
.attendance-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.attendance-day-box{min-width:0;min-height:62px;border:1px solid #e5e9ec;border-radius:10px;background:#fff;padding:7px;display:flex;flex-direction:column;justify-content:space-between;gap:5px}.attendance-day-box strong{font-size:11px;color:#66717c}.attendance-day-box span{display:flex;align-items:center;gap:5px;min-width:0;font-size:9px;font-weight:800;color:#4f5964;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.attendance-day-box i{width:18px;height:18px;flex:0 0 18px;border-radius:6px;display:grid;place-items:center;background:#eef1f3;color:#77818b;font-style:normal;font-size:8px;font-weight:900}.attendance-day-box.status-present i{background:#e0f2e9;color:#24704f}.attendance-day-box.status-absent i{background:#fde9e9;color:#a73e3e}.attendance-day-box.status-weekly_off i{background:#eceff2;color:#59616b}.attendance-day-box.status-annual_leave i,.attendance-day-box.status-paid_leave i{background:#f1f7d4;color:#6d7d00}.attendance-day-box.status-unpaid_leave i{background:#fff0d9;color:#9a6612}.attendance-day-box.status-sick i{background:#e2f1f6;color:#2d748e}.attendance-day-box.status-empty{background:#fafbfb;border-style:dashed}.attendance-day-box.status-empty span{color:#a1a9b1;font-weight:600}
.attendance-month-legend{display:flex;flex-wrap:wrap;gap:9px 13px;margin-top:12px}.attendance-month-legend span{display:flex;align-items:center;gap:5px;font-size:9px;color:#707b85}.attendance-day-dot{width:8px;height:8px;border-radius:50%;background:#c8cfd5}.attendance-day-dot.status-present{background:#3f936e}.attendance-day-dot.status-absent{background:#bf5555}.attendance-day-dot.status-weekly_off{background:#737d87}.attendance-day-dot.status-annual_leave,.attendance-day-dot.status-paid_leave{background:#93a700}.attendance-day-dot.status-unpaid_leave{background:#c48325}.attendance-day-dot.status-sick{background:#3885a2}.attendance-day-dot.status-empty{background:#d6dbe0}
.attendance-detail-advances{display:grid;gap:7px}.attendance-advance-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:#f8f9fa;border:1px solid #e7eaed;border-radius:9px}.attendance-advance-row span{font-size:11px;color:#69747e}.attendance-advance-row b{font-size:12px}.attendance-advance-empty{padding:16px;text-align:center;border:1px dashed #dfe4e8;border-radius:10px;color:#8a949d;font-size:11px}
@media(max-width:700px){.attendance-person-open{font-size:10.5px;max-width:145px}.attendance-detail-modal{padding:10px}.attendance-detail-card{max-height:94vh!important;border-radius:14px!important}.attendance-detail-head{padding:17px 16px 14px!important}.attendance-detail-head h2{font-size:18px!important}.attendance-detail-kpis{grid-template-columns:1fr 1fr;gap:8px;padding:12px 12px 0}.attendance-detail-kpi{padding:11px}.attendance-detail-kpi b{font-size:17px}.attendance-detail-kpi small{font-size:9px}.attendance-detail-section{padding:14px 12px;margin-top:12px}.attendance-detail-section-head{align-items:flex-start;flex-direction:column;gap:3px}.attendance-detail-section-head>small{display:none}.attendance-month-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.attendance-day-box{min-height:49px;padding:5px 3px;border-radius:7px;align-items:center;text-align:center}.attendance-day-box strong{font-size:9px}.attendance-day-box span{display:block;font-size:0}.attendance-day-box i{margin:auto;width:20px;height:20px;flex-basis:20px;border-radius:6px;font-size:8px}.attendance-month-legend{gap:6px 9px}.attendance-month-legend span{font-size:8px}.attendance-advance-row{padding:9px 10px}}


/* V24 ------------------------------------------------------- */
.user-trigger{align-items:center!important}
.user-trigger .chevron{align-self:center!important;display:flex!important;align-items:center!important;justify-content:center!important;height:20px!important;line-height:1!important;margin-top:0!important}
.user-menu a{justify-content:flex-start!important}
.user-menu a>b{display:none!important}

.attendance-filter-bar,.report-filter-bar,.leave-filter-panel{display:grid!important;grid-template-columns:minmax(170px,220px) minmax(220px,1fr) auto;gap:12px;align-items:end}
.leave-filter-panel{grid-template-columns:minmax(155px,190px) minmax(155px,190px) minmax(220px,1fr) auto;margin:18px 0}
.btn-filter-modern{background:#17212b!important;color:#fff!important;border:1px solid #17212b!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;white-space:nowrap}
.btn-filter-modern .filter-icon{width:22px;height:22px;border-radius:7px;background:#c9f400;color:#111;display:inline-flex;align-items:center;justify-content:center;font-weight:900;font-size:15px}
.btn-filter-modern:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(18,30,40,.12)}

.attendance-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.attendance-summary-box{border:1px solid #e0e6eb;border-radius:14px;padding:12px;background:#f8fafb;display:flex;align-items:center;gap:10px;min-width:0}
.attendance-summary-symbol{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#edf2f5;font-weight:900;flex:0 0 34px}
.attendance-summary-box small{display:block;color:#6d7884;font-size:12px;font-weight:700}
.attendance-summary-box b{font-size:19px;line-height:1.1;color:#16202a}
.attendance-summary-box b em{font-style:normal;font-size:11px;font-weight:700;color:#7c8792}
.attendance-summary-box.status-present .attendance-summary-symbol{background:#dff5ea;color:#238b5b}
.attendance-summary-box.status-absent .attendance-summary-symbol{background:#fde6e6;color:#c84c4c}
.attendance-summary-box.status-weekly_off .attendance-summary-symbol{background:#e9eef3;color:#52606d}
.attendance-summary-box.status-annual_leave .attendance-summary-symbol{background:#f7f2d6;color:#9a8500}
.attendance-summary-box.status-paid_leave .attendance-summary-symbol{background:#eef8d5;color:#6f8e00}
.attendance-summary-box.status-unpaid_leave .attendance-summary-symbol{background:#fff0d9;color:#a96b00}
.attendance-summary-box.status-sick .attendance-summary-symbol{background:#dff1f3;color:#357f87}
.attendance-advance-head{align-items:center!important}
.attendance-advance-modal-card{max-width:560px}
.leave-page-title{align-items:center}
.filter-person-grow{min-width:0}
.leave-filter-panel .form-group,.attendance-filter-bar .form-group,.report-filter-bar .form-group{min-width:0}
.leave-filter-panel .input,.attendance-filter-bar .input,.report-filter-bar .input{width:100%;min-width:0}

@media(max-width:900px){
  .attendance-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .attendance-filter-bar,.report-filter-bar{grid-template-columns:minmax(150px,190px) minmax(0,1fr) auto}
  .leave-filter-panel{grid-template-columns:repeat(2,minmax(0,1fr))}
  .leave-filter-panel .filter-person-grow{grid-column:1/2}
}
@media(max-width:760px){
  .attendance-filter-bar,.report-filter-bar{grid-template-columns:1fr 1fr!important}
  .attendance-filter-bar .attendance-person-filter,.report-filter-bar .report-person-filter{grid-column:1/-1}
  .attendance-filter-bar .btn-filter-modern,.report-filter-bar .btn-filter-modern{grid-column:1/-1}
  .leave-filter-panel{grid-template-columns:1fr 1fr!important}
  .leave-filter-panel .filter-person-grow{grid-column:1/-1}
  .leave-filter-panel .btn-filter-modern{grid-column:1/-1}
  .attendance-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .attendance-summary-box{padding:10px}
  .attendance-summary-box b{font-size:17px}
  .leave-page-title{gap:12px}
  .leave-page-title .btn{width:auto!important}
}


/* V25 - Günlük Puantaj Toplu İşlem */
.attendance-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}
.btn-bulk-attendance{background:#17212b;color:#fff;border:1px solid #17212b;display:inline-flex;align-items:center;gap:8px;position:relative;white-space:nowrap}
.btn-bulk-attendance:hover{background:#0f171e;color:#fff;transform:translateY(-1px)}
.btn-bulk-attendance:disabled{opacity:.5;cursor:not-allowed;transform:none}
.bulk-btn-icon{width:25px;height:25px;border-radius:8px;background:#c9f400;color:#111;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:900;letter-spacing:-2px;padding-right:2px}
.btn-bulk-attendance em{font-style:normal;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#c9f400;color:#15202a;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:900}
.bulk-attendance-modal{max-width:680px}
.bulk-attendance-info{display:flex;align-items:center;gap:13px;border:1px solid #dfe7ec;background:#f7fafb;border-radius:15px;padding:14px 16px;margin-bottom:18px}
.bulk-info-number{width:46px;height:46px;border-radius:13px;background:#17212b;color:#c9f400;font-size:21px;font-weight:900;display:flex;align-items:center;justify-content:center;flex:0 0 46px}
.bulk-attendance-info b{display:block;color:#17212b;font-size:14px}
.bulk-attendance-info small{display:block;color:#78838d;margin-top:3px;line-height:1.35}
.bulk-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:7px}
.bulk-status-option{position:relative;border:1px solid #dfe6eb;border-radius:13px;background:#fff;min-height:82px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;cursor:pointer;padding:9px;text-align:center;transition:.16s ease}
.bulk-status-option:hover{border-color:#b8c5cd;box-shadow:0 5px 16px rgba(17,31,42,.07)}
.bulk-status-option input{position:absolute;opacity:0;pointer-events:none}
.bulk-status-option:has(input:checked){border-color:#17212b;box-shadow:0 0 0 2px #c9f400}
.bulk-status-icon{width:31px;height:31px;border-radius:9px;background:#edf2f5;display:flex;align-items:center;justify-content:center;font-weight:900}
.bulk-status-option b{font-size:12px;line-height:1.2;color:#29343e}
.bulk-status-option.status-present .bulk-status-icon{background:#dcf4e8;color:#238b5b}
.bulk-status-option.status-absent .bulk-status-icon{background:#fde6e6;color:#c64d4d}
.bulk-status-option.status-annual_leave .bulk-status-icon,.bulk-status-option.status-paid_leave .bulk-status-icon{background:#f1f8d9;color:#7b9100}
.bulk-status-option.status-sick .bulk-status-icon{background:#def1f3;color:#357e86}
@media(max-width:900px){
  .attendance-toolbar{align-items:stretch}
  .attendance-toolbar-actions{justify-content:space-between}
}
@media(max-width:760px){
  .attendance-toolbar-actions{width:100%;display:grid;grid-template-columns:1fr auto;gap:8px}
  .attendance-toolbar-actions .report-summary{min-width:0}
  .btn-bulk-attendance{padding:9px 11px}
  .btn-bulk-attendance>span:nth-child(2){font-size:13px}
  .bulk-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bulk-attendance-modal{width:min(94vw,680px)}
}

/* V26 */
.report-card>.toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}
.report-filter-bar{display:grid!important;grid-template-columns:110px 150px minmax(220px,340px) auto!important;align-items:end!important;gap:10px!important;flex:0 1 auto!important}
.report-filter-bar .btn-filter-modern{height:42px;align-self:end!important}
.report-card>.toolbar>.report-summary{margin-left:auto;align-self:end}

.leave-year-filter{display:grid!important;grid-template-columns:120px minmax(220px,360px) auto!important;gap:10px;align-items:end;margin:18px 0}
.leave-year-filter .form-group{min-width:0}.leave-year-filter .input{width:100%}
.leave-year-filter .btn-filter-modern{height:42px}
.clickable-row{cursor:pointer}.clickable-row:hover td{background:#f8fafb}
.leave-detail-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:16px}
.leave-detail-kpis>div,.leave-year-summary>div{border:1px solid #e0e6eb;background:#f8fafb;border-radius:13px;padding:12px}
.leave-detail-kpis small,.leave-year-summary small{display:block;color:#74808b;font-size:11px;font-weight:700}.leave-detail-kpis b,.leave-year-summary b{display:block;margin-top:4px;font-size:18px}
.leave-detail-section{border-top:1px solid #e5eaee;padding:16px}.leave-year-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:10px}
.leave-detail-list{display:grid;gap:8px;margin-top:10px}.leave-detail-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #e1e7eb;border-radius:12px;padding:11px 12px}.leave-detail-row>div:first-child{min-width:0}.leave-detail-row b,.leave-detail-row span,.leave-detail-row small{display:block}.leave-detail-row span{font-size:12px;color:#596672;margin-top:3px}.leave-detail-row small{font-size:11px;color:#87919a;margin-top:3px}.leave-detail-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.btn-print-leave{background:#17212b!important;color:#fff!important;border-color:#17212b!important}

/* Maaş popup tarih alanları aynı yükseklik */
#salaryModal .form-grid:not(.one-col)>.form-group{align-self:start!important}
#salaryModal input[type=date]{height:44px!important;min-height:44px!important}
#salaryModal .field-help{display:block;min-height:0;margin-top:6px;line-height:1.3}
#salaryModal .form-grid:not(.one-col){align-items:start!important}

/* V24 stale layout overrides */
@media(min-width:901px){
 .leave-year-filter{max-width:650px}
}
@media(max-width:900px){
 .report-filter-bar{grid-template-columns:100px 135px minmax(180px,1fr) auto!important;width:100%!important}
 .report-card>.toolbar>.report-summary{margin-left:0}
 .leave-detail-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 .report-filter-bar{grid-template-columns:1fr 1fr!important}
 .report-filter-bar .report-person-filter{grid-column:1/-1}
 .report-filter-bar .btn-filter-modern{grid-column:1/-1}
 .leave-year-filter{grid-template-columns:105px minmax(0,1fr) auto!important}
 .leave-year-filter .btn-filter-modern span:last-child{display:none}
 .leave-year-filter .btn-filter-modern{width:44px;padding:0}
 .leave-detail-kpis,.leave-year-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
 .leave-detail-row{align-items:flex-start;flex-direction:column}.leave-detail-actions{width:100%;justify-content:flex-start}
}

/* V27 */
.employee-filter-bar{display:grid!important;grid-template-columns:minmax(240px,360px) 150px auto!important;gap:10px;align-items:end}
.employee-filter-bar .form-group{min-width:0}.employee-filter-bar .input,.employee-filter-bar .select{width:100%}
.employee-filter-bar .btn-filter-modern{height:42px}
#employeeModal .modal-form-grid{align-items:start!important}
#employeeModal .modal-form-grid>.form-group{align-self:start!important;min-height:0!important;height:auto!important}
#employeeModal .modal-form-grid .input,#employeeModal .modal-form-grid .select{height:44px!important;min-height:44px!important}
#employeeModal .modal-form-grid textarea{min-height:92px}
#employeeModal .modal-form-grid .field-help{display:block;margin-top:6px;line-height:1.35;min-height:0!important}
.leave-opening-area{padding:0 16px 16px}.leave-opening-area .btn{width:auto}
.leave-opening-set{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid #dfe6eb;border-radius:12px;background:#f8fafb}.leave-opening-set span,.leave-opening-set small{color:#75818b;font-size:11px}.leave-opening-set b{font-size:14px}
@media(max-width:760px){
 .employee-filter-bar{grid-template-columns:1fr auto!important}
 .employee-filter-bar .form-group:first-child{grid-column:1/-1}
 .employee-filter-bar .btn-filter-modern span:last-child{display:none}
 .employee-filter-bar .btn-filter-modern{width:44px;padding:0}
}

/* V28 - İzin sahipliği, sekmeler ve yazdırma */
.attendance-row.is-leave-locked{background:#fafbf7;border-color:#dfe6c6}
.attendance-owner-note{font-size:10px;color:#7b8700;font-weight:800;margin-top:3px}
.leave-tabs{display:flex;gap:6px;padding:12px 16px 0;border-top:1px solid #edf0f2}
.leave-tab{border:1px solid #dfe5e9;background:#f7f9fa;color:#596570;border-radius:10px;padding:9px 14px;font-weight:800;font-size:12px;cursor:pointer}
.leave-tab.active{background:#17212b;border-color:#17212b;color:#fff;box-shadow:inset 0 -3px 0 #c9f400}
.leave-tab-panel{display:none}.leave-tab-panel.active{display:block}
.leave-opening-area{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.leave-movement-filter{display:grid;grid-template-columns:190px 190px auto;gap:10px;align-items:end;padding:16px;border-bottom:1px solid #e6ebee}
.leave-movement-filter .form-group{min-width:0}.leave-movement-filter .input{width:100%}
.leave-movement-section{border-top:0}
.leave-source-label{font-weight:700;color:#8b959d!important}
.modal-card-print{width:min(1080px,96vw)!important;max-width:1080px!important;height:min(92vh,920px);display:flex;flex-direction:column}
.leave-print-frame-wrap{flex:1;min-height:0;background:#dfe3e6;padding:10px}
.leave-print-frame-wrap iframe{width:100%;height:100%;border:0;background:#fff;border-radius:8px}
.modal-card-print .modal-actions{flex:0 0 auto}
#annualOpeningModal .alert{margin-top:12px}

@media(max-width:760px){
 .leave-tabs{padding:10px 12px 0}.leave-tab{flex:1;text-align:center;padding:9px 8px}
 .leave-movement-filter{grid-template-columns:1fr 1fr;padding:12px}
 .leave-movement-filter .btn-filter-modern{grid-column:1/-1}
 .modal-card-print{height:94vh;width:96vw!important}
}

/* V29 - Yıllık izin başlangıç bakiyesi kilidi */
.leave-opening-lock{display:flex;align-items:center;gap:10px;border:1px solid #ead9a6;background:#fff9e9;border-radius:12px;padding:10px 12px;max-width:430px}
.leave-opening-lock>span{width:34px;height:34px;border-radius:10px;background:#17212b;color:#c9f400;display:flex;align-items:center;justify-content:center;flex:0 0 34px;font-size:14px}
.leave-opening-lock b{display:block;font-size:12px;color:#2a333b}
.leave-opening-lock small{display:block;margin-top:3px;color:#7e7560;font-size:10.5px;line-height:1.35}
@media(max-width:760px){.leave-opening-lock{width:100%;max-width:none}}

/* V30 - İzin hareketleri filtre butonu standart genişlik */
.leave-movement-filter .btn-filter-modern{
 width:auto; min-width:118px; max-width:max-content; justify-self:start; align-self:end; white-space:nowrap;
}
@media(max-width:760px){
 .leave-movement-filter .btn-filter-modern{grid-column:auto;width:auto;min-width:108px;max-width:max-content;justify-self:start;}
}


/* V31 - Personel özlük, tanımlar ve doğum günü */
.employee-list-card{overflow:hidden}
.employee-toolbar{align-items:flex-end}
.employee-filter-bar{display:grid!important;grid-template-columns:minmax(260px,1fr) 145px 170px auto!important;gap:10px;align-items:end;flex:1;max-width:860px}
.employee-filter-bar .form-group{min-width:0}.employee-filter-bar .input,.employee-filter-bar .select{width:100%}
.employee-filter-bar .btn-filter-modern{height:44px}
.employee-main-table{table-layout:auto}
.employee-main-table th,.employee-main-table td{vertical-align:middle}
.employee-main-table th:first-child{min-width:220px}
.employee-main-table th:nth-child(2){min-width:190px}
.employee-main-table th:nth-child(3),.employee-main-table th:nth-child(4){white-space:nowrap}
.employee-actions-head,.employee-actions-cell{text-align:right!important}
.employee-actions-cell .actions{justify-content:flex-end;flex-wrap:nowrap}
.employee-main-table .employee-name>span:last-child{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:2px}
.employee-main-table .employee-name .muted{display:block!important;margin:0!important}

.employee-official-modal{max-width:1100px!important}
.employee-official-head{background:linear-gradient(135deg,#151f28,#202d37);color:#fff;border-radius:16px 16px 0 0;padding:20px 22px}
.employee-official-head .modal-kicker{color:#c9f400}.employee-official-head p{color:#b9c2c9}.employee-official-head .modal-close{color:#fff}
.employee-form-section{margin:16px 18px 0;border:1px solid #e0e6ea;border-radius:15px;background:#fff;overflow:hidden}
.employee-form-section-head{display:flex;align-items:center;gap:12px;padding:13px 16px;background:#f6f8f9;border-bottom:1px solid #e5eaed}
.employee-form-section-head>span{width:32px;height:32px;border-radius:9px;background:#17212b;color:#c9f400;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:900;flex:0 0 32px}
.employee-form-section-head h3{margin:0;font-size:14px;color:#18222b}.employee-form-section-head p{margin:3px 0 0;font-size:11px;color:#78838c}
.employee-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 14px;padding:16px}
.employee-form-grid .form-group{min-width:0;align-self:start}.employee-form-grid .form-group.full{grid-column:1/-1}
.employee-form-grid .input,.employee-form-grid .select{width:100%;height:44px!important;min-height:44px!important}
.employee-form-grid textarea{width:100%;min-height:88px}
.employee-no-readonly{background:#eef2f4!important;color:#34414b!important;font-weight:800!important;cursor:not-allowed}
.employee-form-actions{padding:16px 18px 18px;border-top:0}
.employee-form-actions .btn-primary{min-width:150px}

.definition-management-grid{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:16px}
.definition-add-card{align-self:start}.definition-add-card h3{margin:0 0 14px;font-size:15px}
.definition-list{display:grid;gap:8px}.definition-list>div:not(.empty){display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e3e8eb;border-radius:11px;padding:10px 12px;background:#fafbfc}
.settings-sidebar nav a{position:relative}.settings-sidebar nav a.active:after{content:'';position:absolute;right:0;top:10px;bottom:10px;width:3px;border-radius:3px;background:#c9f400}

.dashboard-birthday-card{margin-top:16px;border:1px solid #dfe5e9;border-radius:17px;background:linear-gradient(135deg,#fff,#f8faf8);padding:16px 18px;box-shadow:0 7px 24px rgba(17,31,42,.05)}
.dashboard-birthday-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.dashboard-birthday-head h3{margin:3px 0 2px;font-size:17px}.dashboard-birthday-head p{margin:0;color:#7a858e;font-size:11px}
.birthday-count{min-width:34px;height:34px;border-radius:10px;background:#17212b;color:#c9f400;font-weight:900;display:flex;align-items:center;justify-content:center}
.birthday-person-list{display:flex;gap:9px;flex-wrap:wrap;margin-top:13px}.birthday-person{display:flex;align-items:center;gap:9px;border:1px solid #e0e7e9;background:#fff;border-radius:12px;padding:9px 10px;min-width:220px}
.birthday-avatar{width:34px;height:34px;border-radius:10px;background:#17212b;color:#c9f400;display:flex;align-items:center;justify-content:center;font-weight:900}
.birthday-person b,.birthday-person small{display:block}.birthday-person b{font-size:12px}.birthday-person small{font-size:10px;color:#7b8790;margin-top:2px}.birthday-icon{margin-left:auto;color:#9fbe00;font-size:18px}
.birthday-empty{display:flex;align-items:center;gap:11px;margin-top:12px;padding:10px 12px;border-radius:12px;background:#f7f9f9;color:#77828a}.birthday-empty>span{font-size:21px;color:#9db500}.birthday-empty b,.birthday-empty small{display:block}.birthday-empty b{font-size:12px}.birthday-empty small{font-size:10px;margin-top:2px}

@media(max-width:1050px){
 .employee-filter-bar{grid-template-columns:minmax(220px,1fr) 135px 155px auto!important}
 .employee-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 .employee-toolbar{align-items:stretch}
 .employee-filter-bar{grid-template-columns:1fr 1fr!important;max-width:none;width:100%}
 .employee-search-box{grid-column:1/-1}
 .employee-filter-bar .btn-filter-modern{width:44px;min-width:44px;padding:0;justify-self:end}
 .employee-filter-bar .btn-filter-modern span:last-child{display:none}
 .employee-toolbar>a.btn-primary{width:100%;justify-content:center}
 .employee-form-section{margin:10px 10px 0}
 .employee-form-grid{grid-template-columns:1fr;padding:12px}
 .employee-form-grid .form-group.full{grid-column:auto}
 .employee-official-head{border-radius:12px 12px 0 0;padding:16px}
 .definition-management-grid{grid-template-columns:1fr}
 .birthday-person-list{display:grid;grid-template-columns:1fr}.birthday-person{min-width:0;width:100%}
}


/* V32 - Sekmeli personel kartı ve durum switch */
.employee-official-modal{max-height:88vh!important;display:flex;flex-direction:column;overflow:hidden!important}
.employee-official-modal>form{display:flex;flex-direction:column;min-height:0;flex:1}
.employee-tabs{display:flex;gap:6px;padding:12px 18px 0;background:#fff;border-bottom:1px solid #e7ebee;flex:0 0 auto}
.employee-tab{border:1px solid #dfe5e9;border-bottom:0;background:#f6f8f9;color:#64707a;padding:10px 14px;border-radius:10px 10px 0 0;font-size:12px;font-weight:800;cursor:pointer}
.employee-tab.active{background:#17212b;color:#fff;border-color:#17212b;box-shadow:inset 0 -3px 0 #c9f400}
.employee-tab-panels{min-height:0;flex:1;overflow:hidden;background:#f7f9fa}
.employee-tab-panel{display:none;height:100%}
.employee-tab-panel.active{display:block}
.compact-tab-section{margin:14px 18px!important;height:auto}
.compact-tab-section .employee-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 14px;padding:14px}
.employee-form-actions{flex:0 0 auto;background:#fff;border-top:1px solid #e4e9ec;margin-top:0!important}
.employee-modal-close{width:34px!important;height:34px!important;border-radius:10px!important;background:#fff!important;color:#17212b!important;border:1px solid rgba(255,255,255,.9)!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:22px!important;font-weight:800!important;opacity:1!important;text-shadow:none!important;box-shadow:0 3px 12px rgba(0,0,0,.16)}
.employee-modal-close:hover{background:#c9f400!important;color:#111!important}

.status-switch{display:inline-flex;align-items:center;gap:8px;cursor:pointer;user-select:none}
.status-switch input{position:absolute;opacity:0;pointer-events:none}
.status-switch-track{width:42px;height:23px;border-radius:999px;background:#c9d0d5;position:relative;transition:.2s;flex:0 0 42px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}
.status-switch-track i{position:absolute;width:17px;height:17px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.22);transition:.2s}
.status-switch input:checked + .status-switch-track{background:#17212b}
.status-switch input:checked + .status-switch-track i{transform:translateX(19px);background:#c9f400}
.status-switch-label{font-size:11px;min-width:28px;color:#55616b}
.status-switch input:checked ~ .status-switch-label{color:#26323b}
.status-switch input:disabled + .status-switch-track{opacity:.55}

@media(max-width:900px){
 .compact-tab-section .employee-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 .employee-official-modal{max-height:94vh!important}
 .employee-tabs{overflow-x:auto;padding:9px 10px 0;gap:5px;scrollbar-width:none}
 .employee-tabs::-webkit-scrollbar{display:none}
 .employee-tab{white-space:nowrap;padding:9px 11px}
 .compact-tab-section{margin:10px!important}
 .compact-tab-section .employee-form-grid{grid-template-columns:1fr;padding:12px}
 .employee-tab-panels{overflow-y:auto}
 .employee-modal-close{width:32px!important;height:32px!important}
}


/* V33 - Personeller mobil filtre butonu */
@media(max-width:760px){
  .employee-filter-bar{
    grid-template-columns:1fr 1fr!important;
    width:100%!important;
  }
  .employee-filter-bar .employee-search-box{
    grid-column:1/-1!important;
  }
  .employee-filter-bar .btn-filter-modern{
    grid-column:1/-1!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:44px!important;
    padding:0 16px!important;
    justify-self:stretch!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
  }
  .employee-filter-bar .btn-filter-modern span:last-child{
    display:inline!important;
  }
}


/* V36 - Taksitli avans yönetimi ve A-Z tablo düzeni */
.report-year-input{width:100%;height:42px}

.salary-advance-head-v36{align-items:center}
.salary-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.advance-pay-method{display:block;margin-top:4px;font-size:10px;color:#7c8790;font-weight:700}
.salary-advance-table .salary-money small{display:block;margin-top:4px;font-size:10px;color:#78838d;font-weight:700}
.inline-form{display:inline-flex;margin:0}
.is-hidden{display:none!important}

.installment-advance-modal{max-width:1050px!important}
.installment-people-list{padding:14px 16px 18px;display:grid;gap:9px;max-height:68vh;overflow-y:auto}
.installment-person-card{border:1px solid #dfe6ea;border-radius:14px;background:#fff;overflow:hidden}
.installment-person-head{width:100%;border:0;background:#fff;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;text-align:left}
.installment-person-head:hover{background:#f8fafb}
.installment-person-summary{display:flex;align-items:center;gap:10px;white-space:nowrap}
.installment-person-summary>span{font-size:10px;font-weight:800;padding:5px 8px;border-radius:999px;background:#f0f3f5;color:#596670}
.installment-person-summary>b{font-size:12px;color:#1d2932}
.installment-person-summary>i{font-style:normal;width:27px;height:27px;border-radius:8px;background:#17212b;color:#c9f400;display:flex;align-items:center;justify-content:center;transition:.18s}
.installment-person-card.open .installment-person-summary>i{transform:rotate(180deg)}
.installment-person-detail{display:none;border-top:1px solid #e6ebee;background:#f8fafb;padding:12px}
.installment-person-card.open .installment-person-detail{display:block}
.installment-person-tools{display:flex;justify-content:flex-end;margin-bottom:9px}
.installment-loan-block{border:1px solid #dde5e9;border-radius:12px;background:#fff;margin-bottom:10px;overflow:hidden}
.installment-loan-block:last-child{margin-bottom:0}
.installment-loan-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:#f5f8f9;border-bottom:1px solid #e4e9ec}
.installment-loan-head b,.installment-loan-head small{display:block}
.installment-loan-head b{font-size:12px}.installment-loan-head small{font-size:10px;color:#75818a;margin-top:3px}
.installment-schedule{display:grid}
.installment-row{display:grid;grid-template-columns:90px 90px minmax(100px,1fr) 90px auto;align-items:center;gap:10px;padding:9px 12px;border-bottom:1px solid #edf0f2;font-size:11px}
.installment-row:last-child{border-bottom:0}
.installment-row.is-paid{background:#f7fbf8;color:#66736b}
.installment-row b{font-size:11px}
.installment-no{font-weight:800}
.installment-state{font-weight:800;color:#a56c00}
.installment-row.is-paid .installment-state{color:#268158}
.installment-row form{margin:0}
.installment-row>small{font-size:9px;color:#7b8790}
.advance-smart-form .period-info{margin-top:2px}

@media(max-width:900px){
  .installment-row{grid-template-columns:75px 80px minmax(90px,1fr) 82px auto}
}
@media(max-width:760px){
  .salary-advance-head-v36{align-items:flex-start}
  .salary-head-actions{width:100%;justify-content:flex-start}
  .installment-people-list{padding:10px;max-height:72vh}
  .installment-person-head{align-items:flex-start;flex-direction:column}
  .installment-person-summary{width:100%;display:grid;grid-template-columns:auto auto 1fr auto;gap:6px}
  .installment-person-summary>b{text-align:right}
  .installment-loan-head{align-items:flex-start;flex-direction:column}
  .installment-row{grid-template-columns:1fr 1fr;gap:5px 8px;padding:10px}
  .installment-row .installment-state{justify-self:end}
  .installment-row form{grid-column:1/-1}
  .installment-row form .btn{width:100%}
  .installment-row>small{grid-column:1/-1}
  .installment-person-tools .btn{width:100%}
  .installment-person-tools form{width:100%}
}


/* ==========================================================
   V37 - iOS / Android WebView hazırlık ve mobil dayanıklılık
   ========================================================== */
:root{
  --safe-top:env(safe-area-inset-top,0px);
  --safe-right:env(safe-area-inset-right,0px);
  --safe-bottom:env(safe-area-inset-bottom,0px);
  --safe-left:env(safe-area-inset-left,0px);
  --app-visual-height:100dvh;
  --app-visual-offset-top:0px;
}
html{width:100%;max-width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{width:100%;max-width:100%;overflow-x:hidden;overscroll-behavior-x:none}
.app-shell,.main,.content,.card,.toolbar,.filters,.grid,.table-wrap,form,section,main{min-width:0;max-width:100%}
img,svg,video,canvas,iframe{max-width:100%}
input,select,textarea,button{max-width:100%}
pre,code{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}
.long-text,.muted,.field-help,.small-note{overflow-wrap:anywhere}

.app-legal-footer{margin-left:252px;padding:0 24px calc(12px + var(--safe-bottom));display:flex;justify-content:center;gap:14px;color:#8a949d;font-size:9px}
.app-legal-footer a:hover{color:#4d5962}

/* Tüm popup'lar görünür viewport içinde kalır. */
.modal-overlay{
  position:fixed!important;
  inset:0!important;
  padding:
    max(10px,calc(var(--safe-top) + 8px))
    max(10px,calc(var(--safe-right) + 8px))
    max(10px,calc(var(--safe-bottom) + 8px))
    max(10px,calc(var(--safe-left) + 8px))!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}
.modal-overlay.show{display:flex!important}
.modal-card{
  max-width:100%!important;
  max-height:calc(var(--app-visual-height) - var(--safe-top) - var(--safe-bottom) - 20px)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}
.modal-head{position:sticky;top:0;z-index:5;background:#fff}
.employee-official-head{background:linear-gradient(135deg,#151f28,#202d37)!important}
.modal-actions{position:sticky;bottom:0;z-index:4;background:#fff;padding-bottom:max(12px,var(--safe-bottom))}
.modal-card-print{max-height:calc(var(--app-visual-height) - var(--safe-top) - var(--safe-bottom) - 20px)!important}
.leave-print-frame-wrap iframe{min-height:420px}

/* Ağ bağlantısı */
.network-overlay{display:none;position:fixed;left:0;right:0;bottom:calc(14px + var(--safe-bottom));z-index:9999;padding:0 max(12px,var(--safe-right)) 0 max(12px,var(--safe-left));pointer-events:none}
.network-overlay.show{display:flex;justify-content:center}
.network-overlay-card{pointer-events:auto;max-width:560px;width:100%;display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center;background:#171f27;color:#fff;border:1px solid #2b3741;border-radius:14px;padding:10px 11px;box-shadow:0 18px 44px rgba(0,0,0,.25)}
.network-overlay-card>span{width:34px;height:34px;border-radius:10px;background:#c7f000;color:#10161b;display:flex;align-items:center;justify-content:center;font-weight:900}
.network-overlay-card b,.network-overlay-card small{display:block}
.network-overlay-card b{font-size:11px}.network-overlay-card small{font-size:9px;color:#aeb7bf;margin-top:3px}
.network-overlay-card button{border:1px solid #39454f;background:#222d36;color:#fff;border-radius:8px;padding:7px 9px;font-size:9px;font-weight:800}
body.is-offline form button[type=submit],body.is-offline .js-attendance-note{opacity:.65}

/* Hesap ve veri yönetimi */
.account-data-page{display:grid;gap:16px}
.account-profile-card{display:flex;align-items:center;justify-content:space-between;gap:14px}
.account-profile-card h2,.account-data-page h3{margin:4px 0}.account-profile-card p{margin:4px 0 0;color:var(--muted)}
.account-data-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:16px}
.account-count-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}
.account-count-grid>div{border:1px solid var(--line);border-radius:11px;padding:11px;background:#fafbfc}
.account-count-grid b,.account-count-grid span{display:block}.account-count-grid b{font-size:20px}.account-count-grid span{font-size:9px;color:var(--muted);margin-top:3px}
.account-link-list{display:grid;gap:7px;margin-top:12px}.account-link-list a{border:1px solid var(--line);border-radius:10px;padding:10px 11px;font-size:11px;font-weight:750;background:#fafbfc}
.account-delete-card{border-color:#efdcdc}.account-delete-card>p{color:var(--muted);max-width:780px}

/* Hukuki/public ekranlar */
.legal-body,.offline-body{min-height:100dvh;background:#f3f5f6;padding:max(16px,var(--safe-top)) max(16px,var(--safe-right)) max(20px,var(--safe-bottom)) max(16px,var(--safe-left))}
.legal-shell{max-width:960px;margin:0 auto}.legal-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}
.legal-brand{display:flex;align-items:center;gap:10px;font-size:11px;font-weight:800}.legal-brand img{width:118px;height:34px;object-fit:contain}
.legal-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px;box-shadow:var(--shadow)}
.legal-card h1{margin:6px 0 20px;font-size:28px}.legal-card h2{font-size:14px;margin:22px 0 7px}.legal-card p{font-size:12px;line-height:1.7;color:#56616b}
.legal-updated{margin-top:26px;padding-top:13px;border-top:1px solid var(--line);font-size:9px;color:#8c969e}
.legal-footer{display:flex;justify-content:center;gap:15px;margin-top:14px;font-size:10px;color:#75808a}
.offline-body{display:grid;place-items:center}.offline-card{width:min(440px,100%);background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px;text-align:center;box-shadow:var(--shadow-lg)}
.offline-card img{width:145px;height:42px;object-fit:contain}.offline-icon{width:52px;height:52px;border-radius:15px;background:#17212b;color:#c7f000;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:900;margin:22px auto 12px}
.offline-card h1{font-size:22px;margin:0}.offline-card p{font-size:11px;line-height:1.6;color:#77818a;margin:9px auto 18px;max-width:330px}

/* Auth ekranlarında mağaza yasal bağlantıları */
.auth-legal-links{position:fixed;z-index:4;right:max(18px,var(--safe-right));bottom:max(10px,var(--safe-bottom));display:flex;gap:12px;font-size:9px;color:#8f99a2}
.auth-consent-note{font-size:9px;line-height:1.5;color:#7c8790;margin:12px 0}.auth-consent-note a{text-decoration:underline;font-weight:700}

/* Mobile: yatay scroll kesin olarak kapalı; tablo accordion genişliği ekranı aşamaz. */
@media(max-width:760px){
  html,body{overflow-x:hidden!important;max-width:100vw!important}
  .app-shell,.main,.content,.card,.toolbar,.filters,.filter-panel,.salary-v17,.salary-panel,.settings-workspace,.settings-content,.table-wrap{width:100%!important;max-width:100%!important;min-width:0!important}
  .main{margin-left:0!important}
  .content{padding:14px max(12px,var(--safe-right)) calc(20px + var(--safe-bottom)) max(12px,var(--safe-left))!important}
  .topbar{
    min-height:calc(66px + var(--safe-top))!important;
    height:auto!important;
    padding:var(--safe-top) max(12px,var(--safe-right)) 0 max(12px,var(--safe-left))!important;
  }
  .sidebar{
    top:0!important;bottom:0!important;
    height:100dvh!important;
    padding-top:calc(14px + var(--safe-top))!important;
    padding-bottom:calc(14px + var(--safe-bottom))!important;
  }
  .app-legal-footer{margin-left:0;padding:0 12px calc(12px + var(--safe-bottom));flex-wrap:wrap}

  .table-wrap,.salary-table-shell{overflow-x:hidden!important;max-width:100%!important}
  table.table,table.table.mobile-accordion,table.salary-table{
    width:100%!important;max-width:100%!important;min-width:0!important;
    table-layout:fixed!important;
  }
  table.table.mobile-accordion thead{display:none!important}
  table.table.mobile-accordion tbody{display:block!important;width:100%!important;max-width:100%!important}
  table.table.mobile-accordion tr.mobile-accordion-row{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}
  table.table.mobile-accordion tr.mobile-accordion-row>td{
    max-width:100%!important;min-width:0!important;width:100%!important;
    overflow-wrap:anywhere!important;word-break:normal!important;
  }
  table.table.mobile-accordion tr.mobile-accordion-row>td:first-child{display:block!important}
  table.table.mobile-accordion tr.mobile-accordion-row:not(.mobile-open)>td:not(:first-child){display:none!important}
  table.table.mobile-accordion tr.mobile-accordion-row.mobile-open>td:not(:first-child){display:grid!important;grid-template-columns:minmax(90px,38%) minmax(0,1fr)!important}
  table.table.mobile-accordion td::before{max-width:100%!important}
  .employee-name,.salary-person,.actions,.salary-row-actions{min-width:0!important;max-width:100%!important}
  .employee-name b,.salary-person b{white-space:normal!important;overflow-wrap:anywhere}

  /* Grid/form alanları ekrandan taşamaz */
  .form-grid,.employee-form-grid,.salary-filter-row,.attendance-filter-bar,.report-filter-bar,.leave-year-filter,.leave-movement-filter{
    max-width:100%!important;min-width:0!important;
  }
  .form-grid>*,
  .employee-form-grid>*,
  .salary-filter-row>*{min-width:0!important;max-width:100%!important}
  .input,.select,textarea{font-size:16px!important} /* iOS input focus zoomunu engeller */
  input[type=date],input[type=month],input[type=number],input[type=search]{min-width:0!important;width:100%!important}

  /* Popup: klavye açıkken görünür viewport içinde kalır */
  .modal-overlay{
    align-items:flex-start!important;
    padding-top:max(8px,calc(var(--safe-top) + var(--app-visual-offset-top) + 6px))!important;
    padding-bottom:max(8px,calc(var(--safe-bottom) + 6px))!important;
  }
  .modal-card{
    width:100%!important;
    margin:0!important;
    max-height:calc(var(--app-visual-height) - var(--safe-top) - var(--safe-bottom) - 12px)!important;
    border-radius:14px!important;
  }
  .modal-head{padding-top:13px!important}
  .modal-actions{padding-bottom:max(12px,calc(var(--safe-bottom) + 8px))!important}
  .employee-official-modal,.modal-card-print{max-height:calc(var(--app-visual-height) - var(--safe-top) - var(--safe-bottom) - 12px)!important}
  .leave-print-frame-wrap iframe{min-height:calc(var(--app-visual-height) - 220px)}

  .account-profile-card{align-items:flex-start;flex-direction:column}
  .account-data-grid{grid-template-columns:1fr}
  .account-count-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

  .legal-card{padding:18px}.legal-card h1{font-size:22px}
  .legal-head{align-items:flex-start}.legal-head .btn{display:none}
  .auth-body{padding-top:var(--safe-top)!important;padding-bottom:var(--safe-bottom)!important}
  .auth-panel{min-height:calc(100dvh - var(--safe-top) - var(--safe-bottom))!important}
  .auth-legal-links{position:static;justify-content:center;padding:10px 12px calc(10px + var(--safe-bottom));background:#fff;flex-wrap:wrap}
}

/* Çok dar telefonlar */
@media(max-width:380px){
  .content{padding-left:9px!important;padding-right:9px!important}
  .account-count-grid{grid-template-columns:1fr 1fr}
  .network-overlay-card{grid-template-columns:34px 1fr}.network-overlay-card button{grid-column:1/-1;width:100%}
}


/* V37 mobil diagnostik */
.mobile-diagnostic-card{max-width:920px;margin:0 auto}
.mobile-check-list,.mobile-runtime-checks{display:grid;gap:8px;margin-top:14px}
.mobile-runtime-checks{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}
.mobile-check-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:11px;align-items:center;border:1px solid var(--line);border-radius:11px;padding:10px 11px;background:#fafbfc}
.mobile-check-state{width:30px;height:30px;border-radius:9px;display:flex;align-items:center;justify-content:center;font-weight:900}
.mobile-check-state.ok{background:#e7f6ed;color:#267b53}.mobile-check-state.bad{background:#fff0e2;color:#a96d11}
.mobile-check-row b,.mobile-check-row small{display:block}.mobile-check-row b{font-size:11px}.mobile-check-row small{font-size:9px;color:var(--muted);margin-top:3px}
.mobile-check-row em{font-style:normal;font-size:9px;font-weight:800;color:#68747d}
@media(max-width:760px){.mobile-check-row{grid-template-columns:32px minmax(0,1fr)}.mobile-check-row em{grid-column:2}}

/* V40 - MleySoft markalı global bekleme / geçiş ekranı */
.mley-global-loader{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:max(18px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));background:rgba(18,23,29,.94);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,visibility .18s ease}
.mley-global-loader.show{opacity:1;visibility:visible;pointer-events:all}
.mley-loader-card{width:min(420px,92vw);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.mley-loader-logo-wrap{position:relative;width:min(330px,78vw);padding:20px 18px;border-radius:18px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.28);overflow:hidden;animation:mleyLogoFloat 1.9s ease-in-out infinite}
.mley-loader-logo{display:block;width:100%;height:auto;object-fit:contain}
.mley-loader-logo-wrap:after{content:"";position:absolute;left:-45%;top:0;width:32%;height:100%;background:linear-gradient(90deg,transparent,rgba(200,240,0,.26),transparent);transform:skewX(-18deg);animation:mleyLogoSweep 1.8s ease-in-out infinite}
.mley-loader-progress{width:min(230px,58vw);height:4px;margin-top:25px;border-radius:999px;background:rgba(255,255,255,.13);overflow:hidden}
.mley-loader-progress span{display:block;width:42%;height:100%;border-radius:inherit;background:#c8f000;box-shadow:0 0 16px rgba(200,240,0,.45);animation:mleyLoaderMove 1.05s ease-in-out infinite}
.mley-loader-text{margin-top:13px;color:#fff;font-size:13px;font-weight:700;letter-spacing:.1px}.mley-loader-sub{margin-top:4px;color:#9da8b2;font-size:10px}
body.mley-loading{overflow:hidden!important}
@keyframes mleyLogoFloat{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-4px) scale(1.012)}}
@keyframes mleyLogoSweep{0%{left:-45%}60%,100%{left:120%}}
@keyframes mleyLoaderMove{0%{transform:translateX(-120%)}50%{transform:translateX(95%)}100%{transform:translateX(245%)}}
@media(max-width:600px){.mley-loader-logo-wrap{width:min(285px,78vw);padding:15px 14px;border-radius:15px}.mley-loader-text{font-size:12px}.mley-loader-progress{margin-top:20px}}
@media(prefers-reduced-motion:reduce){.mley-loader-logo-wrap,.mley-loader-logo-wrap:after,.mley-loader-progress span{animation:none}.mley-loader-progress span{width:100%}}


/* V41 - Maaş Takip masaüstü responsive tablo sıkıştırma
   1366/1440 gibi ekranlarda iki kart yan yana kalırken içerik kart dışına taşmaz. */
@media (min-width:901px) and (max-width:1500px){
  .salary-v17 .salary-primary-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:12px!important;
  }
  .salary-v17 .salary-panel{
    padding:14px!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  .salary-v17 .salary-panel-head{
    gap:8px!important;
    margin-bottom:11px!important;
  }
  .salary-v17 .salary-panel-head h3{
    font-size:16px!important;
  }
  .salary-v17 .salary-panel-head p{
    font-size:10.5px!important;
    line-height:1.35!important;
  }
  .salary-v17 .salary-count-badge{
    min-height:25px!important;
    padding:4px 7px!important;
    font-size:9.5px!important;
  }
  .salary-v17 .salary-head-actions{
    gap:5px!important;
  }
  .salary-v17 .salary-head-actions .btn{
    min-height:31px!important;
    padding:6px 8px!important;
    font-size:9.5px!important;
  }

  /* Her iki filtre kartın kullanılabilir genişliğine göre küçülür. */
  .salary-v17 .salary-filter-v20,
  .salary-v17 .salary-panel-side .salary-filter-v20{
    grid-template-columns:minmax(178px,.95fr) minmax(100px,.72fr) 42px!important;
    gap:6px!important;
    padding:9px!important;
  }
  .salary-v17 .salary-filter-v20 .salary-date-pair{
    gap:5px!important;
  }
  .salary-v17 .salary-filter-v20 label{
    font-size:9px!important;
  }
  .salary-v17 .salary-filter-v20 .input{
    min-height:36px!important;
    height:36px!important;
    padding-left:7px!important;
    padding-right:7px!important;
    font-size:10.5px!important;
  }
  .salary-v17 .salary-filter-v20 .salary-filter-btn{
    width:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    height:36px!important;
    min-height:36px!important;
    padding:0!important;
    display:grid!important;
    place-items:center!important;
    justify-self:end!important;
  }
  .salary-v17 .salary-filter-v20 .salary-filter-text{
    display:none!important;
  }
  .salary-v17 .salary-filter-v20 .salary-filter-funnel{
    margin:0!important;
  }

  /* Masaüstünde yatay scroll yerine kolonları kart genişliğine uydur. */
  .salary-v17 .salary-table-shell{
    overflow-x:hidden!important;
    width:100%!important;
    min-width:0!important;
  }
  .salary-v17 .salary-table{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    table-layout:fixed!important;
  }
  .salary-v17 .salary-table th{
    padding:8px 6px!important;
    font-size:9px!important;
    line-height:1.15!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  .salary-v17 .salary-table td{
    padding:8px 6px!important;
    font-size:10.5px!important;
    line-height:1.25!important;
    overflow-wrap:anywhere!important;
    min-width:0!important;
  }
  .salary-v17 .salary-person{
    min-width:0!important;
    width:100%!important;
    gap:2px!important;
  }
  .salary-v17 .salary-person b{
    font-size:10.5px!important;
    line-height:1.2!important;
    white-space:normal!important;
  }
  .salary-v17 .salary-person small,
  .salary-v17 .advance-pay-method{
    font-size:8.5px!important;
    line-height:1.2!important;
  }
  .salary-v17 .salary-money{
    white-space:normal!important;
  }
  .salary-v17 .salary-money b{
    font-size:10.5px!important;
    white-space:nowrap!important;
  }
  .salary-v17 .salary-status{
    min-height:22px!important;
    padding:3px 5px!important;
    font-size:8.5px!important;
    line-height:1.1!important;
    white-space:normal!important;
    text-align:center!important;
  }
  .salary-v17 .salary-row-actions{
    gap:4px!important;
    white-space:normal!important;
    flex-wrap:wrap!important;
    justify-content:flex-start!important;
  }
  .salary-v17 .salary-row-actions .btn{
    min-height:27px!important;
    padding:4px 6px!important;
    font-size:8.5px!important;
  }

  /* Maaş Tanımları kolon oranları */
  .salary-v17 .salary-panel-main .salary-table th:nth-child(1){width:25%!important}
  .salary-v17 .salary-panel-main .salary-table th:nth-child(2){width:16%!important}
  .salary-v17 .salary-panel-main .salary-table th:nth-child(3){width:15%!important}
  .salary-v17 .salary-panel-main .salary-table th:nth-child(4){width:15%!important}
  .salary-v17 .salary-panel-main .salary-table th:nth-child(5){width:13%!important}
  .salary-v17 .salary-panel-main .salary-table th:nth-child(6){width:16%!important}

  /* Açık Avanslar kolon oranları */
  .salary-v17 .salary-advance-table{
    min-width:0!important;
  }
  .salary-v17 .salary-advance-table th:nth-child(1){width:23%!important}
  .salary-v17 .salary-advance-table th:nth-child(2){width:16%!important}
  .salary-v17 .salary-advance-table th:nth-child(3){width:17%!important}
  .salary-v17 .salary-advance-table th:nth-child(4){width:15%!important}
  .salary-v17 .salary-advance-table th:nth-child(5){width:11%!important}
  .salary-v17 .salary-advance-table th:nth-child(6){width:18%!important}
}

/* Yan yana iki panel için asıl kırılma artık daha dar masaüstünde olur. */
@media (min-width:901px) and (max-width:1120px){
  .salary-v17 .salary-primary-grid{
    grid-template-columns:1fr!important;
  }
}

/* 1500px üstünde önceki ferah masaüstü görünüm devam eder. */

.status-late_entry .status-icon,.status-early_exit .status-icon{color:#b37a00}.shift-employee-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;margin:12px 0}.qr-workspace #qrcode img{max-width:100%;height:auto}

.dual-employee-picker{display:grid;grid-template-columns:minmax(0,1fr) 110px minmax(0,1fr);gap:14px;align-items:stretch;margin:14px 0}.dual-box{border:1px solid #dfe5e8;border-radius:16px;background:#fff;overflow:hidden}.dual-box-head{padding:12px;border-bottom:1px solid #e8edef;display:grid;gap:8px}.dual-select{width:100%;height:320px;border:0;padding:8px;background:#fff;outline:0}.dual-select option{padding:9px;border-radius:8px;margin:2px 0}.dual-select option:checked{background:#dff66a;color:#12171d}.dual-actions{display:flex;flex-direction:column;gap:8px;justify-content:center}.shift-assignment-card{overflow:hidden}
@media(max-width:800px){.dual-employee-picker{grid-template-columns:1fr}.dual-actions{flex-direction:row;justify-content:center}.dual-select{height:230px}}
