@font-face{font-family:"Mectto Geometric";src:url("/fonts/Michroma-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
:root{--ink:#102c31;--muted:#687d80;--paper:#f6f7f2;--white:#fff;--teal:#0d6f70;--teal-dark:#073f46;--aqua:#78d5c3;--gold:#e3b65d;--brand-orange:#FF5A00;--line:#dce5e1;--danger:#b44545;--shadow:0 24px 70px rgba(4,36,39,.15);--radius:18px;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper)}
.workspace-view[data-module="master"] .landing-panel p,.workspace-view[data-module="hrms"] .landing-panel p{max-width:820px;margin:20px auto 0;color:#486a6d;font-size:clamp(18px,1.45vw,23px);font-weight:650;line-height:1.45;text-wrap:balance}
*{box-sizing:border-box}body{margin:0;min-width:320px;background:var(--paper)}button,input,select,textarea{font:inherit}button{cursor:pointer}.eyebrow{margin:0 0 12px;color:var(--teal);font-weight:800;font-size:11px;letter-spacing:.18em}.muted{color:var(--muted)}.techbott-india{color:var(--brand-orange)!important;font-family:"Mectto Geometric",Bahnschrift,"Arial Black",sans-serif!important;font-weight:400!important;font-synthesis:none;letter-spacing:.06em!important;-webkit-text-stroke:0;white-space:nowrap;word-break:keep-all}[hidden]{display:none!important}
.login-screen{min-height:100vh;display:grid;grid-template-columns:1.08fr .92fr;position:relative;background:var(--white)}.login-brand{min-height:100vh;padding:9vh 9vw 11vh;display:flex;flex-direction:column;justify-content:center;color:#e9fffb;background:radial-gradient(circle at 15% 85%,rgba(52,161,145,.42),transparent 32%),radial-gradient(circle at 85% 10%,rgba(227,182,93,.12),transparent 28%),linear-gradient(135deg,#07373f,#0b5d5f 62%,#0a4b50);position:relative;overflow:hidden}.login-brand:before,.login-brand:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.08);border-radius:50%}.login-brand:before{width:520px;height:520px;right:-280px;top:-220px}.login-brand:after{width:360px;height:360px;left:-220px;bottom:-120px}.brand-orbit{width:82px;height:82px;border:1px solid rgba(255,255,255,.35);border-radius:50%;display:grid;place-items:center;margin-bottom:54px;position:relative}.brand-orbit:after{content:"";position:absolute;width:98px;height:98px;border:1px dashed rgba(120,213,195,.35);border-radius:50%}.brand-orbit span{font-family:Georgia,serif;font-size:28px;color:var(--gold);letter-spacing:-.08em}.login-brand .login-display-title{font-size:clamp(44px,5vw,78px);line-height:1.02;max-width:700px}.login-brand .company-title{margin:0 0 18px}.login-brand .welcome-title{font-family:Georgia,"Times New Roman",serif;font-weight:400;margin:0 0 24px;letter-spacing:-.035em;color:#e9fffb}.login-brand .eyebrow{color:var(--aqua);margin-bottom:0}.brand-copy{font-size:16px;line-height:1.7;color:#bbd7d4;max-width:510px;margin:38px 0 0}.system-strip{position:absolute;left:9vw;right:5vw;bottom:8vh;display:flex;justify-content:space-between;border-top:1px solid rgba(255,255,255,.16);padding-top:18px;font-size:12px;color:#b9d5d2;letter-spacing:.06em}.status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#65d59a;box-shadow:0 0 0 4px rgba(101,213,154,.13);margin-right:9px}.login-panel{display:grid;place-items:center;padding:60px;background:linear-gradient(160deg,#fff,#f4f7f3)}.login-card{width:min(420px,100%)}.login-card h3{font-family:Georgia,serif;font-weight:500;font-size:36px;margin:0 0 9px;letter-spacing:-.02em}.login-card>.muted{font-size:14px;margin:0 0 34px}.login-card label,.modal label{display:block;font-size:12px;font-weight:800;margin:20px 0 9px;letter-spacing:.02em}.input-wrap{height:52px;border:1px solid #ccd9d5;border-radius:11px;background:#fff;display:flex;align-items:center;transition:.2s}.input-wrap:focus-within{border-color:var(--teal);box-shadow:0 0 0 4px rgba(13,111,112,.09)}.input-wrap input{border:0;outline:0;flex:1;height:100%;min-width:0;background:transparent}.field-icon{padding:0 14px;color:#78918d;font-weight:800}.reveal{border:0;background:transparent;color:var(--teal);font-size:11px;font-weight:800;padding:14px}.button{border:0;border-radius:9px;padding:12px 18px;font-weight:750;font-size:13px;transition:transform .16s,box-shadow .16s,background .16s}.button:hover{transform:translateY(-1px)}.button-primary{background:var(--teal);color:#fff;box-shadow:0 8px 22px rgba(13,111,112,.2)}.button-primary:hover{background:#095c5d}.button-block{width:100%;margin-top:24px}.button-block span{float:right}.button-link{background:transparent;color:var(--teal);margin-top:8px}.button-ghost{border:1px solid var(--line);background:#fff;color:var(--ink)}.button-secondary{background:#dfeae6;color:var(--ink)}.button-danger{background:#fbe9e7;color:#9a3232;border:1px solid #f1c8c2}.form-error{background:#fff0ed;border:1px solid #f2cbc5;color:#9b3838;border-radius:8px;padding:11px 13px;margin-top:14px;font-size:12px}.security-note{display:flex;gap:12px;border-top:1px solid var(--line);margin-top:25px;padding-top:22px;color:var(--muted)}.security-note span{color:var(--teal);font-size:20px}.security-note p{font-size:11px;line-height:1.6;margin:0}.security-note strong{color:var(--ink)}.login-footer{position:absolute;left:0;bottom:18px;width:54%;text-align:center;font-size:13px;font-weight:600;color:#d5e7e4;letter-spacing:.035em}.mobile-logo{display:none}
.toast{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%) scale(.96);z-index:1000;background:#0d3338;color:#fff;padding:16px 24px;border-radius:11px;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:.24s;font-size:14px;line-height:1.5;text-align:center;max-width:min(92vw,480px)}.toast.show{opacity:1;transform:translate(-50%,-50%) scale(1)}.toast.error{background:#973b3b}
.app-shell{min-height:100vh;min-height:100dvh;padding-bottom:0}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 34px;position:sticky;top:0;z-index:20}.brand-button{border:0;background:transparent;display:flex;align-items:center;gap:12px;padding:0;color:var(--ink)}.brand-mark{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--teal-dark);color:var(--gold);font-family:Georgia,serif;font-size:16px}.brand-button>span:last-child{display:flex;flex-direction:column;text-align:left}.brand-button strong{font-size:14px;letter-spacing:.1em}.brand-button small{font-size:8px;color:var(--muted);letter-spacing:.14em;margin-top:3px}.topbar-context{margin:auto;display:flex;align-items:center;gap:16px;color:var(--muted);font-size:11px;font-weight:700}.live-chip{font-size:9px;color:#26815e;background:#e7f8ef;border-radius:20px;padding:5px 9px}.live-chip i{display:inline-block;width:5px;height:5px;border-radius:50%;background:#55c989;margin-right:5px}.account{display:flex;align-items:center;gap:10px}.avatar{width:34px;height:34px;border-radius:50%;background:#d9ece7;color:var(--teal);display:grid;place-items:center;font-weight:800;font-size:11px}.account-copy{display:flex;flex-direction:column;min-width:120px}.account-copy strong{font-size:12px}.account-copy small{font-size:10px;color:var(--muted);margin-top:2px}.button-logout{background:#fff;border:1px solid var(--line);margin-left:8px;padding:9px 13px;color:var(--ink)}
.home-view{max-width:1320px;margin:auto;padding:66px 46px 40px}.hero-row{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:45px}.hero-row h1{font-family:Georgia,serif;font-size:44px;font-weight:400;margin:0 0 12px;letter-spacing:-.03em}.hero-row>div>p:last-child{margin:0;color:var(--muted);font-size:14px}.date-card{width:88px;height:96px;border:1px solid var(--line);border-radius:14px;background:#fff;text-align:center;padding:12px;box-shadow:0 8px 24px rgba(12,56,58,.06)}.date-card span{display:block;font-family:Georgia,serif;font-size:33px;line-height:1}.date-card strong{font-size:10px;letter-spacing:.16em;color:var(--teal)}.date-card small{display:block;color:var(--muted);font-size:9px;margin-top:6px}.workspace-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.workspace-card{text-align:left;border:1px solid var(--line);border-radius:18px;padding:27px 28px 25px;background:#fff;min-height:240px;position:relative;overflow:hidden;color:var(--ink);transition:.22s}.workspace-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--teal)}.workspace-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(12,57,59,.12);border-color:#bfd6d0}.workspace-card .module-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:#e5f4f0;color:var(--teal);font-size:24px;margin-bottom:25px}.module-number{position:absolute;right:25px;top:25px;font-family:Georgia,serif;font-size:35px;color:#e4ebe8}.module-db{display:block;font-size:9px;font-weight:850;letter-spacing:.16em;color:var(--teal);margin-bottom:9px}.workspace-card strong{display:block;font-family:Georgia,serif;font-size:22px;font-weight:500;max-width:80%;line-height:1.25}.workspace-card small{display:block;color:var(--muted);font-size:12px;line-height:1.55;max-width:82%;margin:11px 0 21px}.open-link{font-size:11px;font-weight:800;color:var(--teal)}.open-link b{margin-left:8px}.master-card:before{background:#b78b38}.master-card .module-icon{background:#fbf2df;color:#a47725}.master-card .module-db,.master-card .open-link{color:#9b7025}.hrms-card:before{background:#557d9f}.hrms-card .module-icon{background:#e9f0f6;color:#426f94}.hrms-card .module-db,.hrms-card .open-link{color:#426f94}.reports-card:before{background:#7c6797}.reports-card .module-icon{background:#f0ebf6;color:#70568e}.reports-card .module-db,.reports-card .open-link{color:#70568e}.home-status{display:flex;justify-content:space-between;margin-top:35px;padding-top:20px;border-top:1px solid var(--line);font-size:10px;color:#80918e;letter-spacing:.04em}
.workspace-view{display:grid;grid-template-columns:270px 1fr;min-height:calc(100vh - 76px);min-height:calc(100dvh - 76px)}.sidebar{background:#083d44;color:#dff4f0;padding:24px 18px;display:flex;flex-direction:column;min-height:calc(100vh - 76px);min-height:calc(100dvh - 76px)}.sidebar-back{border:0;background:transparent;color:#9bc6bf;font-size:12px;font-weight:700;text-align:left;padding:10px 9px 24px;border-bottom:1px solid rgba(255,255,255,.1);width:100%}.sidebar-heading{padding:28px 10px 19px}.sidebar-heading p{font-size:8px;letter-spacing:.18em;color:#74c6b8;font-weight:800;margin:0 0 7px}.sidebar-heading h2{font-family:Georgia,serif;font-size:23px;font-weight:400;margin:0}.sidebar-heading small{display:block;color:#83aaa5;margin-top:7px}.employee-heading{margin:0 10px 10px;padding:9px 10px;border-radius:7px;background:rgba(120,213,195,.1);color:#8dd7ca;font-size:9px;font-weight:850;letter-spacing:.14em}.table-list{display:flex;flex-direction:column;gap:3px;overflow:auto}.table-button{border:0;background:transparent;color:#a8c7c3;text-align:left;border-radius:8px;padding:10px 11px;font-size:11px;display:flex;align-items:center;gap:9px}.table-button:before{content:"";width:5px;height:5px;border:1px solid #73a9a2;border-radius:50%}.table-button:hover{background:rgba(255,255,255,.07);color:#fff}.table-button.active{background:#f6f7f2;color:#113b3d;font-weight:800}.table-button.active:before{background:var(--teal);border-color:var(--teal)}.sidebar-db{margin-top:auto;padding:18px 9px 3px;border-top:1px solid rgba(255,255,255,.1);display:flex;align-items:center}.sidebar-db span{display:flex;flex-direction:column}.sidebar-db strong{font-size:10px}.sidebar-db small{font-size:8px;color:#82aaa4;margin-top:3px}.work-area{min-width:0;padding:35px 38px 25px}.work-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:26px}.breadcrumb{font-size:9px;color:var(--teal);font-weight:800;letter-spacing:.1em;margin:0 0 8px}.work-header h1{font-family:Georgia,serif;font-size:32px;font-weight:400;margin:0}.work-header p:last-child{margin:7px 0 0;color:var(--muted);font-size:12px}.operation-tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);overflow-x:auto;margin-bottom:24px}.operation-tab{border:0;background:transparent;padding:12px 14px;color:#738684;font-size:11px;font-weight:750;white-space:nowrap;border-bottom:2px solid transparent}.operation-tab.active{color:var(--teal);border-color:var(--teal)}.landing-panel{min-height:460px;border:1px dashed #cddbd7;border-radius:16px;display:grid;place-content:center;text-align:center;background:rgba(255,255,255,.5)}.landing-glyph{font-size:38px;color:#9ab7b2}.landing-panel h2{font-family:Georgia,serif;font-size:26px;font-weight:400;margin:15px 0 7px}.landing-panel p{color:var(--muted);font-size:12px}.editor-panel{background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 10px 32px rgba(16,55,57,.06);overflow:hidden}.editor-toolbar{min-height:82px;display:grid;grid-template-columns:minmax(260px,1fr) minmax(220px,.7fr) 90px;gap:20px;align-items:end;padding:16px 20px;background:#f9faf7;border-bottom:1px solid var(--line)}.editor-toolbar label{display:block;font-size:9px;font-weight:800;color:#637875;margin-bottom:6px;text-transform:uppercase;letter-spacing:.08em}.record-picker select,.toolbar-search input{width:100%;height:37px;border:1px solid #cedbd7;border-radius:7px;background:#fff;padding:0 10px;font-size:11px;color:var(--ink);outline:none}.toolbar-search>div{display:flex}.toolbar-search input{border-radius:7px 0 0 7px}.toolbar-search button{border:0;background:var(--teal-dark);color:#fff;border-radius:0 7px 7px 0;padding:0 13px;font-size:10px}.record-count{text-align:center;border-left:1px solid var(--line)}.record-count strong{display:block;font-family:Georgia,serif;font-size:24px}.record-count span{font-size:9px;color:var(--muted)}.form-meta{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid #edf1ef}.form-meta>div:first-child{display:flex;align-items:center;gap:10px}.form-meta strong{font-size:13px}.action-badge{font-size:8px;font-weight:850;letter-spacing:.12em;color:var(--teal);background:#e4f5f1;padding:5px 8px;border-radius:5px}.field-progress{text-align:right}.field-progress>span{display:block;font-size:9px;color:var(--muted);margin-bottom:5px}.field-progress>div{width:120px;height:3px;background:#e7ecea;border-radius:5px}.field-progress i{display:block;width:30%;height:100%;background:var(--teal);border-radius:5px;transition:.2s}.data-form{min-height:320px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:20px 24px;padding:28px 24px}.form-field label{display:flex;justify-content:space-between;font-size:10px;font-weight:800;color:#405955;margin-bottom:7px}.form-field label small{font-weight:500;color:#94a5a2}.form-field input,.form-field select,.form-field textarea{width:100%;height:42px;border:1px solid #cfdbd8;border-radius:8px;padding:8px 11px;background:#fff;color:var(--ink);font-size:12px;outline:none}.form-field textarea{resize:vertical;min-height:70px}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(13,111,112,.08)}.form-field input:disabled,.form-field select:disabled,.form-field textarea:disabled{background:#f1f4f2;color:#6e817e}.required{color:#b24d42}.form-empty{height:320px;display:grid;place-content:center;text-align:center}.form-empty span{font-size:32px;color:#a3b9b5}.form-empty h3{font-family:Georgia,serif;font-weight:400;margin:10px 0 4px}.form-empty p{font-size:11px;color:var(--muted)}.form-actions{display:flex;align-items:center;gap:9px;padding:16px 20px;background:#f9faf7;border-top:1px solid var(--line)}.form-actions>span{font-size:9px;color:var(--muted);margin-right:auto}.report-panel{display:block}.report-kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.report-kpi{background:#fff;border:1px solid var(--line);border-radius:12px;padding:17px}.report-kpi small{color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.08em}.report-kpi strong{font-family:Georgia,serif;font-size:29px;font-weight:400;display:block;margin-top:7px}.report-table-wrap{background:#fff;border:1px solid var(--line);border-radius:14px;margin-top:18px;overflow:auto}.report-table-head{padding:17px 19px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between}.report-table-head h3{font-family:Georgia,serif;margin:0;font-weight:400}.report-table-head small{color:var(--muted)}table{width:100%;border-collapse:collapse;font-size:11px}th{text-align:left;background:#f6f8f5;color:#607572;text-transform:uppercase;font-size:8px;letter-spacing:.08em;padding:11px 14px}td{padding:12px 14px;border-top:1px solid #edf1ef}.status-pill{display:inline-block;padding:4px 7px;border-radius:20px;background:#e6f5ec;color:#277554;font-size:8px;font-weight:800}.status-pill.inactive{background:#faeae7;color:#a3423a}.app-footer{height:48px;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 34px;color:#8a9d99;font-size:9px;z-index:12}
.modal{border:0;border-radius:18px;padding:30px;width:min(470px,calc(100% - 30px));box-shadow:var(--shadow);color:var(--ink)}.modal::backdrop{background:rgba(5,30,34,.62);backdrop-filter:blur(4px)}.modal-close{position:absolute;right:16px;top:12px;border:0;background:transparent;font-size:24px;color:#829692}.modal-mark{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#e4f5f1;color:var(--teal);font-size:20px;margin-bottom:18px}.modal-mark.warning{background:#fff1de;color:#b27620}.modal h2{font-family:Georgia,serif;font-weight:400;font-size:28px;margin:0 0 10px}.stepper{display:flex;align-items:center;margin:25px 0}.stepper span{width:29px;height:29px;border-radius:50%;background:#eef2f0;color:#8ca09d;display:grid;place-items:center;font-size:10px;font-weight:800;position:relative}.stepper span.active{background:var(--teal);color:#fff}.stepper span small{position:absolute;top:35px;color:var(--muted);font-size:7px;text-transform:uppercase}.stepper i{flex:1;height:1px;background:var(--line)}.forgot-step{margin-top:36px}.modal label input{width:100%;height:45px;margin-top:8px;border:1px solid #ccd9d5;border-radius:8px;padding:0 11px;outline:none}.modal-help{font-size:11px;color:var(--muted);line-height:1.5;background:#f3f7f5;padding:10px;border-radius:7px}.compact-modal{text-align:center}.compact-modal .modal-mark{margin:0 auto 16px}.compact-modal p{color:var(--muted);font-size:12px;line-height:1.6}.dialog-actions{display:flex;justify-content:center;gap:8px;margin-top:22px}
.security-denied-modal{width:min(680px,calc(100vw - 40px));max-height:calc(100vh - 40px);margin:auto;padding:44px 40px;text-align:center}.security-denied-modal[open]{display:flex;flex-direction:column;align-items:center;justify-content:center}.security-denied-text{margin:0;font-family:Arial,Helvetica,sans-serif;font-weight:700;font-size:clamp(20px,3.2vw,30px);line-height:1.45;color:var(--danger);text-align:center;text-wrap:balance}
@media(max-width:1000px){.login-screen{grid-template-columns:1fr}.login-brand{display:none}.login-panel{min-height:100vh;padding:70px 25px}.login-footer{width:100%;font-size:12px;color:#6f8581}.mobile-logo{display:flex;align-items:center;gap:10px;margin-bottom:48px;font-size:12px;letter-spacing:.1em}.mobile-logo span{width:36px;height:36px;border-radius:50%;background:var(--teal-dark);color:var(--gold);display:grid;place-items:center;font-family:Georgia,serif}.workspace-view{grid-template-columns:220px 1fr}.work-area{padding:28px 22px}.report-kpis{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.topbar{padding:0 14px}.topbar-context,.account-copy{display:none}.account{margin-left:auto}.home-view{padding:40px 18px}.hero-row h1{font-size:34px}.workspace-grid{grid-template-columns:1fr}.home-status{gap:15px;flex-wrap:wrap}.workspace-view{display:block}.sidebar{min-height:auto;padding:12px}.sidebar-heading,.sidebar-db{display:none}.sidebar-back{padding:8px}.employee-heading{margin-top:9px}.table-list{flex-direction:row;overflow:auto;padding:8px 0}.table-button{white-space:nowrap;background:rgba(255,255,255,.05)}.work-area{padding:23px 14px}.work-header{display:block}.db-home{margin-top:13px}.editor-toolbar{grid-template-columns:1fr}.record-count{display:none}.data-form{grid-template-columns:1fr;padding:20px 16px}.form-actions{flex-wrap:wrap}.form-actions>span{width:100%;order:-1}.report-kpis{grid-template-columns:repeat(2,1fr)}.app-footer{padding:0 15px}.app-footer span:first-child{display:none}.dialog-actions{flex-direction:column}}

/* Viewport-fitting home screens */
html,body{width:100%;min-height:100%;overflow-x:hidden}.login-screen{min-height:100dvh;height:100dvh;overflow:hidden}.login-brand{min-height:100dvh;height:100dvh;padding:clamp(24px,5.5vh,72px) clamp(38px,7vw,120px) clamp(90px,13vh,130px)}.brand-orbit{width:clamp(54px,8vh,82px);height:clamp(54px,8vh,82px);margin-bottom:clamp(22px,5vh,54px)}.brand-orbit:after{width:calc(100% + 16px);height:calc(100% + 16px)}.login-brand .login-display-title{font-size:clamp(30px,min(4.7vw,7.4vh),70px);max-width:100%}.login-brand .company-title{margin-bottom:clamp(10px,2vh,18px)}.login-brand .welcome-title{margin-bottom:clamp(14px,2.5vh,24px)}.brand-copy{margin-top:clamp(18px,4vh,38px);font-size:clamp(13px,1.1vw,16px)}.system-strip{bottom:clamp(48px,8vh,76px)}.login-panel{height:100dvh;min-height:0;overflow:auto;padding:clamp(26px,5vw,60px)}.login-footer{font-size:clamp(11px,1vw,13px)}
.home-view{width:100%;max-width:1440px;height:calc(100dvh - 76px);overflow:auto;padding:clamp(22px,5vh,58px) clamp(20px,3.5vw,50px) clamp(20px,3vh,38px)}.hero-row{margin-bottom:clamp(18px,4vh,38px)}.hero-row h1{font-size:clamp(31px,3.2vw,44px)}.workspace-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,1.4vw,20px)}.workspace-card{min-height:clamp(180px,27vh,240px);padding:clamp(18px,2vw,27px)}.workspace-card .module-icon{width:clamp(38px,3.5vw,48px);height:clamp(38px,3.5vw,48px);margin-bottom:clamp(13px,2.4vh,25px)}.workspace-card strong{font-size:clamp(17px,1.45vw,22px);max-width:92%}.workspace-card small{max-width:94%;margin:clamp(7px,1.4vh,11px) 0 clamp(12px,2vh,21px)}.home-status{margin-top:clamp(14px,3vh,30px);padding-top:clamp(10px,2vh,18px)}
@media(max-width:1100px){.workspace-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-card{min-height:clamp(165px,24vh,220px)}}
@media(max-height:700px) and (min-width:761px){.login-brand{padding-top:24px;padding-bottom:82px}.brand-orbit{margin-bottom:18px}.login-brand .login-display-title{font-size:clamp(28px,min(4vw,6.6vh),48px)}.brand-copy{margin-top:16px;line-height:1.45}.system-strip{bottom:43px;padding-top:10px}.login-footer{bottom:11px}.login-card h3{font-size:30px}.login-card>.muted{margin-bottom:18px}.login-card label{margin-top:13px}.security-note{margin-top:15px;padding-top:14px}.home-view{padding-top:18px;padding-bottom:14px}.hero-row{margin-bottom:14px}.hero-row h1{font-size:30px}.workspace-grid{gap:12px}.workspace-card{min-height:145px;padding:15px 17px}.workspace-card .module-icon{width:34px;height:34px;margin-bottom:9px;font-size:18px}.workspace-card small{display:none}.workspace-card strong{font-size:17px}.open-link{display:block;margin-top:12px}.home-status{margin-top:10px;padding-top:9px}}
@media(max-width:760px){.login-screen{height:auto;min-height:100dvh;overflow:auto}.login-panel{height:auto;min-height:100dvh;padding:clamp(40px,8vh,70px) 22px 74px}.home-view{height:calc(100dvh - 76px);padding:28px 16px 24px}.hero-row{align-items:center}.workspace-grid{grid-template-columns:1fr}.workspace-card{min-height:190px}.home-status{padding-bottom:12px}}

/* Larger authenticated header branding */
.brand-mark{font-size:18px}.brand-button strong.techbott-india{font-size:17px;line-height:1.15}.brand-button small{font-size:9px;line-height:1.2;margin-top:5px}
@media(max-width:420px){.brand-button strong.techbott-india{font-size:15px}.brand-button small{font-size:8.5px}}

/* Larger live status and IST clock */
.topbar-context{gap:18px;font-size:14px;font-weight:800}.live-chip{font-size:11px;padding:7px 11px}.live-chip i{width:6px;height:6px;margin-right:6px}

/* Login branding typography */
.login-brand{justify-content:flex-start;padding-top:clamp(72px,16.5vh,216px)}
.login-brand .login-display-title{width:100%;max-width:none;text-align:left;white-space:nowrap}
.login-brand .company-title{display:flex;flex-direction:column;align-items:flex-start;width:fit-content;max-width:100%;font-size:clamp(54px,min(5.475vw,10.8vh),108px);font-weight:700!important;letter-spacing:.035em!important;line-height:1.02;-webkit-text-stroke:.35px currentColor;white-space:normal}
.login-brand .company-title span{display:block;white-space:nowrap}
.login-brand .company-title span:last-child{align-self:center}
.login-brand .welcome-title{position:absolute;top:50%;left:clamp(38px,7vw,120px);right:clamp(38px,7vw,120px);transform:translateY(-50%);font-family:"Mectto Geometric",Bahnschrift,"Arial Black",sans-serif;font-size:clamp(22px,min(2.15vw,4.4vh),42px);font-weight:400;letter-spacing:.015em;line-height:1.3;margin:0}
.login-brand .eyebrow,.login-brand .brand-copy{font-family:"Mectto Geometric",Bahnschrift,"Arial Black",sans-serif;font-synthesis:none;font-weight:400}
.login-brand .eyebrow{position:absolute;top:calc(50% + 58px);left:clamp(38px,7vw,120px);right:clamp(38px,7vw,120px);margin:0}
.login-brand .brand-copy{position:absolute;top:calc(50% + 102px);left:clamp(38px,7vw,120px);right:clamp(38px,7vw,120px);max-width:580px;font-size:clamp(11px,.85vw,14px);line-height:1.85;margin:0}
.system-strip #loginClock{margin-left:auto}
@media(max-height:700px) and (min-width:761px){.login-brand{padding-top:72px}.login-brand .company-title{font-size:clamp(51px,min(5.25vw,10.2vh),87px)}.login-brand .welcome-title{font-size:clamp(21px,min(2.05vw,4vh),34px)}}

/* Dedicated ERPSecurity user operation windows */
.security-user-page,.security-user-page button,.security-user-page input,.security-user-page select,.security-user-page textarea,.security-user-page table{font-family:Arial,sans-serif}.security-user-page .tenant-record-topbar strong.techbott-india{font-size:18px;font-weight:700!important;-webkit-text-stroke:.35px currentColor}.security-user-page .tenant-record-heading h1,.security-user-page .security-access-section h2{font-family:Arial,sans-serif}
.security-user-identity select{width:min(410px,38vw);height:38px;margin-top:5px;border:1px solid #c9d8d4;border-radius:8px;background:#fff;padding:0 10px;color:var(--ink);font-size:11px}.security-user-content{grid-template-rows:auto minmax(0,1fr)}.security-user-content>.tenant-record-message,.security-user-content>.security-user-grid,.security-user-content>.security-permissions-panel{grid-row:2}.security-field-summary{color:var(--muted);font-size:9px}.security-user-grid{min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:13px 16px;padding:16px;overflow-y:auto;scrollbar-gutter:stable}.security-user-grid .tenant-record-field input,.security-user-grid .tenant-record-field select,.security-role-form .tenant-record-field input,.security-role-form .tenant-record-field select{width:100%;height:40px;border:1px solid #cfdbd8;border-radius:7px;padding:6px 10px;background:#f1f4f2;color:#506764;font-size:11px;outline:none}.security-user-page.tenant-record-editable .security-user-grid [data-field]:not([readonly]),.security-user-page.tenant-record-editable .security-role-form input,.security-user-page.tenant-record-editable .security-role-form select{background:#fff;color:var(--ink)}.security-user-page.tenant-record-editable .security-user-grid [data-field]:focus,.security-user-page.tenant-record-editable .security-role-form input:focus,.security-user-page.tenant-record-editable .security-role-form select:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(13,111,112,.08)}.security-user-actions>span{min-width:0;margin-right:auto;text-align:left}.security-user-actions .tenant-save-status{margin-left:8px}.security-permissions-panel{min-height:0;padding:15px;overflow:auto}.security-permission-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.security-permission-summary>div{padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:#f8faf7}.security-permission-summary small{display:block;color:var(--muted);font-size:8px;text-transform:uppercase;letter-spacing:.08em}.security-permission-summary strong{display:block;margin-top:5px;overflow:hidden;text-overflow:ellipsis;font-size:11px;white-space:nowrap}.security-role-form{display:grid;grid-template-columns:1.1fr 1fr 1fr auto;gap:12px;align-items:end;padding:14px;border:1px solid #cfe0db;border-radius:11px;background:#f4f8f6}.security-role-form .button{height:40px;white-space:nowrap}.security-access-section{margin-top:16px}.security-access-section h2{margin:0 0 8px;font-family:Georgia,serif;font-size:18px;font-weight:400}.security-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:10px;background:#fff}.security-table-wrap table{min-width:760px}.security-table-wrap th{position:sticky;top:0}.security-table-wrap td{white-space:nowrap}.security-empty{margin:0;padding:18px;color:var(--muted);font-size:11px;text-align:center}.security-user-page .status-pill{white-space:nowrap}
@media(max-width:900px){.security-user-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.security-permission-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.security-role-form{grid-template-columns:1fr 1fr}.security-role-form .button{align-self:end}}
@media(max-width:650px){.security-user-identity select{width:min(100%,420px)}.security-user-grid{grid-template-columns:1fr}.security-permission-summary,.security-role-form{grid-template-columns:1fr}.security-user-actions>span{width:100%}}

/* Shared in-app warning for unsaved changes */
.erp-unsaved-dialog{width:min(470px,calc(100% - 30px));border:0;border-radius:18px;padding:30px;color:var(--ink);box-shadow:var(--shadow)}.erp-unsaved-dialog::backdrop{background:rgba(5,30,34,.62);backdrop-filter:blur(4px)}.erp-unsaved-icon{width:42px;height:42px;display:grid;place-items:center;margin-bottom:17px;border-radius:50%;background:#fff0ed;color:var(--danger);font-size:22px;font-weight:900}.erp-unsaved-eyebrow{margin:0 0 8px;color:var(--danger);font-size:9px;font-weight:850;letter-spacing:.16em}.erp-unsaved-dialog h2{margin:0;font-family:Arial,sans-serif;font-size:25px;line-height:1.3}.erp-unsaved-copy{margin:12px 0 0;color:var(--muted);font-size:12px;line-height:1.65}.erp-unsaved-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px}.erp-unsaved-actions .button{min-width:120px}@media(max-width:480px){.erp-unsaved-actions{flex-direction:column}.erp-unsaved-actions .button{width:100%}}

/* Current date placed horizontally before LIVE and IST time */
.topbar-date{height:52px;min-width:112px;display:flex;align-items:center;justify-content:center;gap:10px;padding:5px 12px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 5px 16px rgba(12,56,58,.07)}.topbar-date>span:first-child{font-family:Georgia,"Times New Roman",serif;font-size:28px;font-weight:400;line-height:1;color:var(--ink)}.topbar-date-meta{display:flex;flex-direction:column;align-items:flex-start;line-height:1}.topbar-date-meta strong{font-size:10px;letter-spacing:.14em;color:var(--teal)}.topbar-date-meta small{margin-top:6px;font-size:9px;font-weight:500;color:var(--muted)}
@media(max-width:900px){.topbar-context{gap:10px;font-size:12px}.topbar-date{min-width:98px;padding:5px 8px}.topbar-date>span:first-child{font-size:24px}.live-chip{padding:6px 9px}}

/* MasterDepartments: vertically stacked field sections */
.editor-panel.departments-editor .editor-toolbar{display:none}.data-form.vertical-fields{grid-template-columns:minmax(0,720px);justify-content:start;align-content:start;gap:16px;min-height:260px}.data-form.vertical-fields .form-field{padding:14px 16px;border:1px solid #dbe5e1;border-radius:10px;background:#f9faf7}

/* MasterTenant actions aligned beside the table heading */
.work-header-actions{display:flex;align-items:flex-end;justify-content:flex-end;gap:14px}.work-header.tenant-inline-header{align-items:flex-end;gap:22px;flex-wrap:wrap}.operation-tabs.inline-tenant-tabs{margin:0;border-bottom:1px solid var(--line);flex:0 1 auto}.operation-tabs.inline-tenant-tabs .operation-tab{padding:11px 12px}.tenant-inline-header .work-header-actions{flex:1;min-width:520px}
@media(max-width:1180px){.tenant-inline-header .work-header-actions{min-width:100%;justify-content:flex-start}.operation-tabs.inline-tenant-tabs{order:1}.tenant-inline-header .db-home{margin-left:auto;order:2}}
@media(max-width:760px){.work-header-actions{margin-top:12px;align-items:center;flex-wrap:wrap}.tenant-inline-header .work-header-actions{min-width:0}.operation-tabs.inline-tenant-tabs{width:100%;order:2}.tenant-inline-header .db-home{margin-left:0;order:1}}

/* Compact MasterTenant header and high-density 106-field viewer */
.work-header.tenant-inline-header{align-items:flex-start;margin-bottom:12px}.tenant-inline-header .work-header-actions{align-self:flex-start;align-items:flex-start}.operation-tabs.inline-tenant-tabs{align-self:flex-start}.editor-panel.tenant-editor .editor-toolbar{display:none}.tenant-code-bar{display:flex;align-items:center;gap:14px;padding:10px 16px;background:#f9faf7;border-bottom:1px solid var(--line)}.tenant-code-bar label{font-size:9px;font-weight:800;color:#637875;text-transform:uppercase;letter-spacing:.08em;white-space:nowrap}.tenant-code-bar select{width:min(520px,100%);height:38px;border:1px solid #cedbd7;border-radius:7px;background:#fff;padding:0 10px;font-size:11px;color:var(--ink);outline:none}.editor-panel.tenant-editor .form-meta{padding:11px 18px}.editor-panel.tenant-editor .data-form{grid-template-columns:repeat(var(--tenant-grid-columns,2),minmax(0,1fr));padding:12px 16px;gap:10px 16px;min-height:0}.editor-panel.tenant-editor .form-field label{margin-bottom:5px;font-size:9px}.editor-panel.tenant-editor .form-field input,.editor-panel.tenant-editor .form-field select,.editor-panel.tenant-editor .form-field textarea{height:36px;padding:6px 10px;font-size:11px}.editor-panel.tenant-editor .form-actions{padding:10px 16px}

@media(max-width:760px){.tenant-code-bar{align-items:stretch;flex-direction:column;gap:6px}.tenant-code-bar select{width:100%}}

/* Dedicated full-screen MasterTenant record tab */
.tenant-record-page{min-height:100dvh;background:#f4f6f2;overflow:hidden}.tenant-record-shell{height:100dvh;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;padding-bottom:0}.tenant-record-topbar{min-height:58px;display:flex;align-items:center;justify-content:space-between;padding:8px 22px;background:#fff;border-bottom:1px solid var(--line)}.tenant-record-topbar>div{display:flex;flex-direction:column}.tenant-record-topbar strong{font-size:15px}.tenant-record-topbar span{margin-top:2px;color:var(--muted);font-size:8px;letter-spacing:.15em}.tenant-record-topbar .button{padding:9px 14px;font-size:11px}.tenant-record-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px 22px;background:#f8f9f5;border-bottom:1px solid var(--line)}.tenant-record-heading p{margin:0 0 3px;color:var(--teal);font-size:8px;font-weight:800;letter-spacing:.1em}.tenant-record-heading h1{margin:0;font-family:Georgia,serif;font-size:27px;font-weight:400}.tenant-record-identity{min-width:220px;padding-left:18px;border-left:1px solid var(--line)}.tenant-record-identity small{display:block;color:var(--muted);font-size:8px;text-transform:uppercase;letter-spacing:.1em}.tenant-record-identity strong{display:block;margin-top:3px;font-size:14px}.tenant-record-content{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);margin:10px 16px 0;background:#fff;border:1px solid var(--line);border-radius:14px 14px 0 0;overflow:hidden}.tenant-record-meta{display:flex;align-items:center;justify-content:space-between;padding:9px 14px;border-bottom:1px solid var(--line)}.tenant-record-meta>div:first-child{display:flex;align-items:center;gap:10px}.tenant-record-meta strong{font-size:12px}.tenant-record-grid{min-height:0;display:grid;grid-template-columns:repeat(var(--record-grid-columns,2),minmax(0,1fr));align-content:start;gap:10px 14px;padding:12px 14px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.tenant-record-field label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px;color:#405955;font-size:9px}.tenant-record-field label small{color:#94a5a2;font-weight:500}.tenant-record-field input{width:100%;height:36px;border:1px solid #cfdbd8;border-radius:7px;padding:6px 10px;background:#f1f4f2;color:#506764;font-size:11px;outline:none;text-overflow:ellipsis}.tenant-record-message{display:grid;place-content:center;padding:30px;text-align:center;color:var(--muted);font-size:12px}.tenant-record-message.error{color:#973b3b}.tenant-record-actions{display:flex;align-items:center;justify-content:center;gap:14px;min-height:60px;padding:8px 18px;background:#fff;border-top:1px solid var(--line)}.tenant-record-actions span{min-width:90px;text-align:center;color:var(--muted);font-size:10px}.tenant-record-actions .button{padding:9px 14px;font-size:11px}.tenant-record-actions button:disabled{cursor:not-allowed;opacity:.45;transform:none}
@media(max-width:650px){.tenant-record-page{overflow:auto}.tenant-record-shell{min-height:100dvh;height:auto}.tenant-record-heading{align-items:flex-start;flex-direction:column;gap:8px}.tenant-record-identity{min-width:0;padding:0;border:0}.tenant-record-content{min-height:420px}.tenant-record-grid{overflow:auto}.tenant-record-actions{position:sticky;bottom:0;flex-wrap:wrap}}

.tenant-record-editable .tenant-record-field input:not(:disabled),.tenant-record-editable .tenant-record-field select:not(:disabled){width:100%;height:36px;border:1px solid #c4d5d1;border-radius:7px;padding:6px 10px;background:#fff;color:var(--ink);font-size:11px;outline:none}.tenant-record-editable .tenant-record-field input:not(:disabled):focus,.tenant-record-editable .tenant-record-field select:not(:disabled):focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(13,111,112,.08)}.tenant-record-field label i{margin-left:4px;color:#b24d42;font-style:normal}.tenant-record-actions #tenantSave{margin-left:10px}.tenant-save-status{max-width:320px;color:#277554;font-size:10px}.tenant-save-status.error{color:#a3423a}
.tenant-tab-link{display:inline-flex;align-items:center;text-decoration:none}
.tenant-record-identity select{width:min(330px,42vw);height:36px;margin-top:4px;border:1px solid #c4d5d1;border-radius:7px;padding:0 10px;background:#fff;color:var(--ink);font-size:11px;outline:none}.tenant-record-identity select:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(13,111,112,.08)}

/* MasterTenant operation group centered across the page */
.operation-tabs.inline-tenant-tabs{justify-content:center;gap:8px}.operation-tabs.inline-tenant-tabs .operation-tab{display:inline-flex;align-items:center;justify-content:center;min-width:126px;min-height:48px;text-align:center}
@media(min-width:1280px){.work-header.tenant-inline-header{position:relative}.tenant-inline-header .work-header-actions{position:absolute;top:0;left:0;right:0;display:flex;justify-content:center;min-width:0;pointer-events:none}.tenant-inline-header .operation-tabs.inline-tenant-tabs{pointer-events:auto}.tenant-inline-header .db-home{position:absolute;top:0;right:0;pointer-events:auto}}
@media(min-width:761px) and (max-width:1279px){.work-header.tenant-inline-header{display:flex;flex-direction:column}.tenant-inline-header .work-header-actions{position:relative;width:100%;min-width:0;justify-content:center}.tenant-inline-header .operation-tabs.inline-tenant-tabs{margin-inline:auto}.tenant-inline-header .db-home{position:absolute;right:0}}
@media(max-width:760px){.operation-tabs.inline-tenant-tabs{justify-content:flex-start}.operation-tabs.inline-tenant-tabs .operation-tab{min-width:118px}}

/* MasterTenant delete uses only Tenant Code selection and confirmation */
.editor-panel.tenant-delete-simple .form-meta,.editor-panel.tenant-delete-simple .data-form,.editor-panel.tenant-delete-simple .form-empty{display:none!important}.editor-panel.tenant-delete-simple .tenant-code-bar{justify-content:center;padding:22px 24px}.editor-panel.tenant-delete-simple .tenant-code-bar select{width:min(680px,70%)}.editor-panel.tenant-delete-simple .form-actions{justify-content:center;padding:18px 20px;border-top:1px solid var(--line)}.editor-panel.tenant-delete-simple #previousFields,.editor-panel.tenant-delete-simple #fieldPageText,.editor-panel.tenant-delete-simple #nextFields,.editor-panel.tenant-delete-simple #saveButton,.editor-panel.tenant-delete-simple #deactivateButton,.editor-panel.tenant-delete-simple #formHomeButton{display:none!important}.editor-panel.tenant-delete-simple #deleteButton{margin:0;min-width:170px}.editor-panel.tenant-delete-simple #deleteButton:disabled{cursor:not-allowed;opacity:.45}
@media(max-width:760px){.editor-panel.tenant-delete-simple .tenant-code-bar{align-items:stretch}.editor-panel.tenant-delete-simple .tenant-code-bar select{width:100%}}

/* MasterCompany uses a compact selector instead of the generic search toolbar */
.editor-panel.company-editor .editor-toolbar{display:none}.company-record-bar{display:flex;align-items:center;gap:14px;padding:14px 18px;background:#f9faf7;border-bottom:1px solid var(--line)}.company-record-bar label{font-size:9px;font-weight:800;color:#637875;text-transform:uppercase;letter-spacing:.08em;white-space:nowrap}.company-record-bar select{width:min(680px,100%);height:40px;border:1px solid #cedbd7;border-radius:7px;background:#fff;padding:0 10px;font-size:11px;color:var(--ink);outline:none}.company-record-bar select:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(13,111,112,.08)}
@media(max-width:760px){.company-record-bar{align-items:stretch;flex-direction:column;gap:6px}.company-record-bar select{width:100%}}

/* MasterCompany actions and dedicated full-screen action tabs */
.operation-tabs.company-operation-tabs{justify-content:center;gap:8px}.operation-tabs.company-operation-tabs .operation-tab{display:inline-flex;align-items:center;justify-content:center;min-width:176px;text-align:center}
.company-delete-mode .tenant-record-meta{display:none}.company-delete-mode .tenant-record-content{grid-template-rows:minmax(0,1fr)}.company-delete-mode #companyRecordGrid,.company-delete-mode #companyPrevious,.company-delete-mode #companyPageText,.company-delete-mode #companyNext,.company-delete-mode #companySave,.company-delete-mode #companySaveStatus{display:none!important}.company-delete-mode .tenant-record-actions{justify-content:center}.company-delete-mode #companyDelete{min-width:180px}
@media(max-width:760px){.operation-tabs.company-operation-tabs{justify-content:flex-start;overflow-x:auto}.operation-tabs.company-operation-tabs .operation-tab{min-width:158px}}

/* MasterDepartments action tabs and dedicated record window */
.operation-tabs.departments-operation-tabs{justify-content:center;gap:8px}.operation-tabs.departments-operation-tabs .operation-tab{display:inline-flex;align-items:center;justify-content:center;min-width:210px;text-align:center}
.department-record-table{min-height:0;overflow:auto;scrollbar-gutter:stable}.department-record-table table{font-size:12px}.department-record-table th{position:sticky;top:0;z-index:1;padding:13px 18px;font-size:9px}.department-record-table td{padding:13px 18px}.department-record-table td:first-child{width:34%;font-weight:800;color:var(--teal)}
.department-record-form{min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:18px;padding:24px;overflow:auto}.department-record-form .tenant-record-field input{height:44px}.department-record-selector{width:min(440px,42vw)!important}.department-view-mode .tenant-record-actions{display:none}.department-delete-mode .tenant-record-meta{display:none}.department-delete-mode .tenant-record-content{grid-template-rows:minmax(0,1fr)}.department-delete-mode #departmentSave{display:none!important}.department-delete-mode #departmentDelete{min-width:180px}
@media(max-width:900px){.operation-tabs.departments-operation-tabs{justify-content:flex-start;overflow-x:auto}.operation-tabs.departments-operation-tabs .operation-tab{min-width:190px}}
@media(max-width:650px){.department-record-form{grid-template-columns:1fr;padding:16px}.department-record-selector{width:100%!important}.department-record-table td,.department-record-table th{padding:11px 12px}}

/* MasterDesignations action tabs and dedicated record window */
.operation-tabs.designations-operation-tabs{justify-content:center;gap:8px}.operation-tabs.designations-operation-tabs .operation-tab{display:inline-flex;align-items:center;justify-content:center;min-width:176px;text-align:center}
.designation-view-mode .tenant-record-actions{display:none}.designation-delete-mode .tenant-record-meta{display:none}.designation-delete-mode .tenant-record-content{grid-template-rows:minmax(0,1fr)}.designation-delete-mode #designationSave{display:none!important}.designation-delete-mode #designationDelete{min-width:180px}
@media(max-width:760px){.operation-tabs.designations-operation-tabs{justify-content:flex-start;overflow-x:auto}.operation-tabs.designations-operation-tabs .operation-tab{min-width:160px}}

/* MasterAuthorization action tabs and dedicated record window */
.operation-tabs.authorization-operation-tabs{justify-content:center;gap:8px}.operation-tabs.authorization-operation-tabs .operation-tab{display:inline-flex;align-items:center;justify-content:center;min-width:176px;text-align:center}
.authorization-view-mode .tenant-record-actions{display:none}.authorization-delete-mode .tenant-record-meta{display:none}.authorization-delete-mode .tenant-record-content{grid-template-rows:minmax(0,1fr)}.authorization-delete-mode #authorizationSave{display:none!important}.authorization-delete-mode #authorizationDelete{min-width:180px}
@media(max-width:760px){.operation-tabs.authorization-operation-tabs{justify-content:flex-start;overflow-x:auto}.operation-tabs.authorization-operation-tabs .operation-tab{min-width:160px}}

/* MasterTitle action tabs and dedicated record window */
.operation-tabs.title-operation-tabs{justify-content:center;gap:8px}.operation-tabs.title-operation-tabs .operation-tab{display:inline-flex;align-items:center;justify-content:center;min-width:176px;text-align:center}
.title-view-mode .tenant-record-actions{display:none}.title-delete-mode .tenant-record-meta{display:none}.title-delete-mode .tenant-record-content{grid-template-rows:minmax(0,1fr)}.title-delete-mode #titleSave{display:none!important}.title-delete-mode #titleDelete{min-width:180px}
@media(max-width:760px){.operation-tabs.title-operation-tabs{justify-content:flex-start;overflow-x:auto}.operation-tabs.title-operation-tabs .operation-tab{min-width:160px}}

/* MasterEmployeeType action tabs and dedicated record window */
.operation-tabs.employee-type-operation-tabs{justify-content:center;gap:8px}.operation-tabs.employee-type-operation-tabs .operation-tab{display:inline-flex;align-items:center;justify-content:center;min-width:190px;text-align:center}
.employee-type-view-mode .tenant-record-actions{display:none}.employee-type-delete-mode .tenant-record-meta{display:none}.employee-type-delete-mode .tenant-record-content{grid-template-rows:minmax(0,1fr)}.employee-type-delete-mode #employeeTypeSave{display:none!important}.employee-type-delete-mode #employeeTypeDelete{min-width:180px}
@media(max-width:760px){.operation-tabs.employee-type-operation-tabs{justify-content:flex-start;overflow-x:auto}.operation-tabs.employee-type-operation-tabs .operation-tab{min-width:174px}}

/* MasterSalaryType action tabs and dedicated record window */
.operation-tabs.salary-type-operation-tabs{justify-content:center;gap:8px}.operation-tabs.salary-type-operation-tabs .operation-tab{display:inline-flex;align-items:center;justify-content:center;min-width:184px;text-align:center}
.salary-type-view-mode .tenant-record-actions{display:none}.salary-type-delete-mode .tenant-record-meta{display:none}.salary-type-delete-mode .tenant-record-content{grid-template-rows:minmax(0,1fr)}.salary-type-delete-mode #salaryTypeSave{display:none!important}.salary-type-delete-mode #salaryTypeDelete{min-width:180px}
@media(max-width:760px){.operation-tabs.salary-type-operation-tabs{justify-content:flex-start;overflow-x:auto}.operation-tabs.salary-type-operation-tabs .operation-tab{min-width:168px}}

/* MasterAttendanceType action tabs and dedicated record window */
.operation-tabs.attendance-type-operation-tabs{justify-content:center;gap:8px}.operation-tabs.attendance-type-operation-tabs .operation-tab{display:inline-flex;align-items:center;justify-content:center;min-width:204px;text-align:center}
.attendance-type-view-mode .tenant-record-actions{display:none}.attendance-type-delete-mode .tenant-record-meta{display:none}.attendance-type-delete-mode .tenant-record-content{grid-template-rows:minmax(0,1fr)}.attendance-type-delete-mode #attendanceTypeSave{display:none!important}.attendance-type-delete-mode #attendanceTypeDelete{min-width:180px}
@media(max-width:760px){.operation-tabs.attendance-type-operation-tabs{justify-content:flex-start;overflow-x:auto}.operation-tabs.attendance-type-operation-tabs .operation-tab{min-width:184px}}

/* EmployeeAuthorization dedicated full-record tabs */
.operation-tabs.employee-authorization-operation-tabs{flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;padding:14px 0 16px}.operation-tabs.employee-authorization-operation-tabs .operation-tab{display:flex;align-items:center;justify-content:center;width:min(660px,calc(100% - 32px));min-width:0;min-height:52px;padding:13px 20px;text-align:center;white-space:normal;line-height:1.35;font-size:clamp(14px,1.1vw,16px)}
.employee-authorization-grid{min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:12px 16px;padding:16px;overflow-y:auto;scrollbar-gutter:stable}.employee-authorization-grid .tenant-record-field label{margin-bottom:5px}.employee-authorization-grid .tenant-record-field input,.employee-authorization-grid .tenant-record-field select{height:40px}.employee-authorization-view-mode .tenant-record-actions{display:none}.employee-authorization-deactivate-mode .tenant-record-meta{display:none}.employee-authorization-deactivate-mode .tenant-record-content{grid-template-rows:minmax(0,1fr)}.employee-authorization-deactivate-mode #employeeAuthorizationSave{display:none!important}.employee-authorization-deactivate-mode #employeeAuthorizationDeactivate{min-width:190px}
.employee-title-note{flex:0 1 auto;margin-left:7px;color:#9a5b16!important;font-size:10px!important;font-weight:800!important;line-height:1.25;text-transform:none;letter-spacing:0}.employee-authorization-grid .tenant-record-field label:has(.employee-title-note),.form-field label:has(.employee-title-note){align-items:center;flex-wrap:wrap;justify-content:flex-start}
.employee-authorization-grid input[type=file]{padding:6px;background:#fff}.employee-photo-status{display:block;margin-top:5px;color:var(--muted);font-size:9px;line-height:1.35}.employee-photo-status.ready{color:#277554;font-weight:700}.employee-photo-status.error{color:#a3423a;font-weight:700}
.employee-authorization-status-display{width:100%;height:40px;border:1px solid #b9d8cf;border-radius:7px;background:#e7f5ef;color:#277554;font:800 11px Arial,sans-serif;text-align:left;padding:0 12px;cursor:default}.employee-authorization-final-field{border:1px solid #b9d8cf;border-radius:9px;padding:10px;background:#f3faf7}.employee-authorization-pending-mode .tenant-record-identity{min-width:320px}.employee-authorization-pending-mode #employeeAuthorizationSave,.employee-authorization-pending-mode #employeeAuthorizationGenerateId{min-width:220px}
.employee-authorization-access-denied .tenant-record-heading .tenant-record-identity,.employee-authorization-access-denied .tenant-record-meta,.employee-authorization-access-denied .tenant-record-actions{display:none}.employee-authorization-access-denied .tenant-record-content{grid-template-rows:minmax(0,1fr);margin-bottom:16px;border-radius:14px}.employee-authorization-denied-message{display:grid!important;min-height:100%;place-content:center;padding:clamp(28px,6vw,80px);color:var(--danger)!important;font:900 clamp(20px,3vw,34px)/1.45 Arial,Helvetica,sans-serif!important;text-align:center;text-wrap:balance}
.employee-authorization-date-display{border-color:#cbd9d5;background:#f1f5f3;color:#506764;font-weight:700}
.employee-authorization-selector-area{display:grid;grid-template-columns:minmax(180px,.72fr) minmax(280px,1.28fr);gap:12px;width:min(720px,58vw);min-width:520px}.employee-authorization-selector-area>div{min-width:0}.employee-authorization-selector-area select{width:100%}.employee-authorization-pending-mode .employee-authorization-selector-area{grid-template-columns:1fr;width:min(720px,58vw)}.employee-authorization-pending-mode #employeeAuthorizationIdentityLabel{font-weight:900;line-height:1.35}.employee-authorization-grid textarea{width:100%;min-height:78px;resize:vertical;border:1px solid #cfdbd8;border-radius:7px;padding:9px 10px;background:#fff;color:var(--ink);font:11px Arial,sans-serif;line-height:1.45;outline:none}.employee-authorization-grid textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(13,111,112,.08)}.employee-authorization-grid textarea:disabled,.employee-authorization-grid textarea[readonly]{background:#f1f4f2;color:#506764}.employee-authorization-section-heading{grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:4px;padding:10px 12px;border-top:2px solid var(--teal);border-radius:7px 7px 0 0;background:#edf7f3;color:#184d49}.employee-authorization-section-heading strong{font-size:12px}.employee-authorization-section-heading span{color:#607a76;font-size:9px}.employee-authorization-employment-field{padding:8px;border:1px solid #d6e5e0;border-radius:8px;background:#fbfdfc}.employee-separation-limit{display:block;margin-top:4px;color:var(--muted);font-size:9px;text-align:right}.employee-authorization-status-display.status-approved,.employee-authorization-status-display.status-active{border-color:#9dcbb6;background:#e1f3e9;color:#17613f}.employee-authorization-status-display.status-pending,.employee-authorization-status-display.status-on-notice{border-color:#dfc37e;background:#fff6dc;color:#75550c}.employee-authorization-status-display.status-rejected,.employee-authorization-status-display.status-terminated{border-color:#dda9a5;background:#fde9e7;color:#8d302d}.employee-authorization-status-display.status-resigned,.employee-authorization-status-display.status-retired,.employee-authorization-status-display.status-inactive{border-color:#bcc8c5;background:#edf1f0;color:#4e605d}
.employee-authorization-filter-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.employee-authorization-filter-pair>div{min-width:0}.employee-authorization-filter-pair small{display:block;min-height:18px}
.employee-authorization-grid input[type=date][data-field="AuthorizationDueBy"],.employee-authorization-grid input[type=date][data-field="CTC_Effective_Date"]{cursor:pointer}.employee-authorization-success-dialog{position:fixed;inset:0;width:min(760px,calc(100vw - 32px));max-height:calc(100vh - 32px);margin:auto;padding:clamp(38px,6vw,72px);border:0;border-radius:22px;background:#fff;color:var(--ink);box-shadow:0 32px 100px rgba(3,36,42,.42);text-align:center}.employee-authorization-success-dialog[open]{display:flex;flex-direction:column;align-items:center;justify-content:center}.employee-authorization-success-dialog::backdrop{background:rgba(3,30,35,.72);backdrop-filter:blur(5px)}.employee-authorization-success-mark{display:grid;place-items:center;width:72px;height:72px;margin-bottom:25px;border-radius:50%;background:#e1f3e9;color:#17613f;font:900 38px Arial,sans-serif}.employee-authorization-success-dialog p{max-width:680px;margin:0;color:#184d49;font:900 clamp(30px,4.2vw,48px)/1.2 Arial,sans-serif;text-wrap:balance}.employee-authorization-success-dialog>strong{display:block;margin:22px 0 34px;color:#e3480b;font:900 clamp(52px,7vw,82px)/1.05 Arial,sans-serif;overflow-wrap:anywhere}.employee-authorization-success-dialog .button{min-width:160px;padding:13px 24px;font-size:16px}
.employee-photo-policy{display:block;margin-top:6px;color:#405955;font-size:9px;font-weight:700;line-height:1.4}.employee-photo-actions{display:flex;align-items:center;margin-top:7px}.employee-photo-view{border:1px solid var(--teal);border-radius:6px;padding:6px 10px;background:#fff;color:var(--teal);font:700 9px Arial,sans-serif;cursor:pointer}.employee-photo-view:hover{background:#edf7f5}.employee-photo-dialog{width:min(560px,calc(100vw - 32px));padding:0;border:0;border-radius:14px;box-shadow:0 24px 70px rgba(3,36,42,.3)}.employee-photo-dialog::backdrop{background:rgba(3,30,35,.65)}.employee-photo-dialog-head{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--line);font-family:Arial,sans-serif}.employee-photo-dialog-head button{width:34px;height:34px;border:0;border-radius:50%;background:#edf2ef;color:var(--ink);font-size:22px;cursor:pointer}.employee-photo-dialog-body{min-height:260px;display:grid;place-items:center;padding:18px;background:#f4f6f2;color:var(--muted);font:600 11px Arial,sans-serif}.employee-photo-dialog-body img{display:block;max-width:100%;max-height:65vh;border-radius:8px;object-fit:contain;background:#fff}
@media(min-width:1550px){.employee-authorization-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1000px){.employee-authorization-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-authorization-selector-area{width:min(620px,64vw);min-width:360px;grid-template-columns:1fr}}
@media(max-width:650px){.employee-authorization-grid{grid-template-columns:1fr}.operation-tabs.employee-authorization-operation-tabs .operation-tab{width:calc(100% - 20px);font-size:14px}.employee-authorization-selector-area{width:100%;min-width:0}.employee-authorization-filter-pair{grid-template-columns:1fr}.employee-authorization-section-heading{align-items:flex-start;flex-direction:column;gap:3px}}

/* EmployeePerInfo uses the action-specific form without the generic record/search toolbar */
.editor-panel.employee-per-info-editor .editor-toolbar{display:none}

/* Employee personal-information employment-age validation */
.tenant-record-field input.employee-age-invalid,.tenant-record-field input.employee-date-sequence-invalid{border-color:#b44545;background:#fff3f1;box-shadow:0 0 0 3px rgba(180,69,69,.1)}.employee-authorization-grid [data-age-gate-locked="true"],.employee-authorization-grid [data-date-sequence-gate-locked="true"]{width:100%;height:40px;border:1px solid #d8dfdc;border-radius:7px;padding:6px 10px;background:#ecefec;color:#8a9693;opacity:.7;cursor:not-allowed}
.employee-age-dialog{position:fixed;inset:0;width:min(460px,calc(100vw - 32px));margin:auto;padding:30px 34px;border:0;border-radius:16px;background:#fff;color:var(--ink);box-shadow:0 24px 70px rgba(3,36,42,.3);text-align:center}.employee-age-dialog::backdrop{background:rgba(3,30,35,.58);backdrop-filter:blur(2px)}.employee-age-dialog-icon{display:grid;place-items:center;width:46px;height:46px;margin:0 auto 14px;border-radius:50%;background:#fff0ed;color:#b44545;font:800 24px Arial,sans-serif}.employee-age-dialog-icon-success{background:#e7f5ee;color:#257052}.employee-age-dialog h2{margin:0;font:700 20px Arial,sans-serif}.employee-age-dialog p{margin:13px 0 22px;color:#536c69;font:500 14px/1.55 Arial,sans-serif}.employee-age-dialog p:empty{margin:13px 0 0}.employee-age-dialog .button{min-width:110px}

/* EmployeePerInfo dedicated full-record tabs */
.operation-tabs.employee-per-info-operation-tabs{flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;padding:14px 0 16px;overflow:visible}.operation-tabs.employee-per-info-operation-tabs .operation-tab{display:flex;align-items:center;justify-content:center;width:min(660px,calc(100% - 32px));min-width:0;min-height:52px;padding:13px 20px;text-align:center;white-space:normal;line-height:1.35;font-size:clamp(14px,1.1vw,16px)}.employee-per-info-view-mode .tenant-record-actions{display:none}.employee-per-info-deactivate-mode .tenant-record-meta{display:none}.employee-per-info-deactivate-mode .tenant-record-content{grid-template-rows:minmax(0,1fr)}.employee-per-info-deactivate-mode #employeePerInfoSave{display:none!important}.employee-per-info-deactivate-mode #employeePerInfoDeactivate{min-width:190px}
@media(max-width:650px){.operation-tabs.employee-per-info-operation-tabs .operation-tab{width:calc(100% - 20px);font-size:14px}}

/* EmployeeFamilyInfo uses a compact action-only landing layout */
.editor-panel.employee-family-info-editor .editor-toolbar{display:none}.operation-tabs.employee-family-info-operation-tabs{flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;padding:14px 0 16px;overflow:visible}.operation-tabs.employee-family-info-operation-tabs .operation-tab{display:flex;align-items:center;justify-content:center;width:min(660px,calc(100% - 32px));min-width:0;min-height:52px;padding:13px 20px;text-align:center;white-space:normal;line-height:1.35;font-size:clamp(14px,1.1vw,16px)}
@media(max-width:650px){.operation-tabs.employee-family-info-operation-tabs .operation-tab{width:calc(100% - 20px);font-size:14px}}

/* EmployeeQualification uses a compact action-only landing layout */
.editor-panel.employee-qualification-editor .editor-toolbar{display:none}.operation-tabs.employee-qualification-operation-tabs{flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;padding:14px 0 16px;overflow:visible}.operation-tabs.employee-qualification-operation-tabs .operation-tab{display:flex;align-items:center;justify-content:center;width:min(660px,calc(100% - 32px));min-width:0;min-height:52px;padding:13px 20px;text-align:center;white-space:normal;line-height:1.35;font-size:clamp(14px,1.1vw,16px)}
@media(max-width:650px){.operation-tabs.employee-qualification-operation-tabs .operation-tab{width:calc(100% - 20px);font-size:14px}}

/* EmployeeWorkExperience uses a compact action-only landing layout */
.editor-panel.employee-work-experience-editor .editor-toolbar{display:none}.operation-tabs.employee-work-experience-operation-tabs{flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;padding:14px 0 16px;overflow:visible}.operation-tabs.employee-work-experience-operation-tabs .operation-tab{display:flex;align-items:center;justify-content:center;width:min(660px,calc(100% - 32px));min-width:0;min-height:52px;padding:13px 20px;text-align:center;white-space:normal;line-height:1.35;font-size:clamp(14px,1.1vw,16px)}
@media(max-width:650px){.operation-tabs.employee-work-experience-operation-tabs .operation-tab{width:calc(100% - 20px);font-size:14px}}

/* EmployeeLanguages uses a compact action-only landing layout */
.editor-panel.employee-languages-editor .editor-toolbar{display:none}.operation-tabs.employee-languages-operation-tabs{flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;padding:14px 0 16px;overflow:visible}.operation-tabs.employee-languages-operation-tabs .operation-tab{display:flex;align-items:center;justify-content:center;width:min(660px,calc(100% - 32px));min-width:0;min-height:52px;padding:13px 20px;text-align:center;white-space:normal;line-height:1.35;font-size:clamp(14px,1.1vw,16px)}
@media(max-width:650px){.operation-tabs.employee-languages-operation-tabs .operation-tab{width:calc(100% - 20px);font-size:14px}}

/* EmployeeJoiningDetails uses a compact action-only landing layout */
.editor-panel.employee-joining-details-editor .editor-toolbar{display:none}.operation-tabs.employee-joining-details-operation-tabs{flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;padding:14px 0 16px;overflow:visible}.operation-tabs.employee-joining-details-operation-tabs .operation-tab{display:flex;align-items:center;justify-content:center;width:min(660px,calc(100% - 32px));min-width:0;min-height:52px;padding:13px 20px;text-align:center;white-space:normal;line-height:1.35;font-size:clamp(14px,1.1vw,16px)}
@media(max-width:650px){.operation-tabs.employee-joining-details-operation-tabs .operation-tab{width:calc(100% - 20px);font-size:14px}}

/* EmployeeAttendance and EmployeePayRoll use compact non-scrolling vertical action menus */
.operation-tabs.employee-attendance-operation-tabs{flex-direction:column;align-items:center;justify-content:flex-start;gap:clamp(7px,1.2vh,10px);padding:clamp(7px,1.2vh,14px) 0 clamp(9px,1.5vh,16px);margin-bottom:0;overflow:visible;border-bottom:0}.operation-tabs.employee-attendance-operation-tabs .operation-tab{display:flex;align-items:center;justify-content:center;width:min(660px,calc(100% - 32px));min-width:0;min-height:clamp(44px,6.5vh,52px);padding:11px 20px;text-align:center;white-space:normal;line-height:1.3;font-size:clamp(14px,1.1vw,16px)}
@media(max-width:650px){.operation-tabs.employee-attendance-operation-tabs .operation-tab{width:calc(100% - 20px);font-size:14px}}

/* Rebuilt EmployeePayRollCalculator and EmployeePayRoll action dashboard. */
.operation-tabs.employee-payroll-operation-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:4px 0 26px;padding:22px;border:1px solid #c9dfda;border-radius:18px;background:linear-gradient(145deg,#f4faf8 0%,#eef7f5 58%,#f9fbf8 100%);overflow:visible;box-shadow:0 12px 34px rgba(8,61,68,.07)}
.operation-tabs.employee-payroll-operation-tabs[data-payroll-table="calculator"]{grid-template-columns:minmax(0,1fr);gap:9px;margin-bottom:8px;padding:12px 16px}
.operation-tabs.employee-payroll-operation-tabs .operation-tab.payroll-operation-card{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) 34px;align-items:center;gap:16px;width:100%;min-width:0;min-height:138px;padding:20px 18px;text-align:left;white-space:normal;color:#123d42;background:#fff;border:1px solid #c9dcd8;border-radius:14px;box-shadow:0 8px 20px rgba(8,61,68,.055);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.operation-tabs.employee-payroll-operation-tabs[data-payroll-table="calculator"] .operation-tab.payroll-operation-card{grid-template-columns:38px minmax(0,1fr) 28px;gap:12px;min-height:92px;padding:10px 16px}
.operation-tabs.employee-payroll-operation-tabs .operation-tab.payroll-operation-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;border-radius:14px 0 0 14px;background:#0f7777}
.operation-tabs.employee-payroll-operation-tabs .operation-tab.payroll-operation-card:hover,.operation-tabs.employee-payroll-operation-tabs .operation-tab.payroll-operation-card:focus-visible{transform:translateY(-3px);border-color:#75aaa2;box-shadow:0 15px 28px rgba(8,61,68,.12);outline:none}
.payroll-operation-index{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#def1ed;color:#0d7070;font-family:Georgia,serif;font-size:18px;font-weight:700}
.payroll-operation-copy{display:flex;flex-direction:column;min-width:0}.payroll-operation-copy small{margin-bottom:7px;color:#0e7774;font-size:9px;font-weight:850;letter-spacing:.15em}.payroll-operation-copy strong{color:#123b40;font-size:15px;line-height:1.28;overflow-wrap:anywhere}.payroll-operation-copy>span{margin-top:8px;color:#657b78;font-size:11px;font-weight:550;line-height:1.45}.payroll-operation-arrow{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#edf6f4;color:#0d7070;font-size:18px;transition:.18s ease}.operation-tab.payroll-operation-card:hover .payroll-operation-arrow{background:#0d7070;color:#fff;transform:translateX(2px)}
.operation-tabs.employee-payroll-operation-tabs[data-payroll-table="calculator"] .payroll-operation-index{width:36px;height:36px;font-size:16px}.operation-tabs.employee-payroll-operation-tabs[data-payroll-table="calculator"] .payroll-operation-copy small{margin-bottom:3px;font-size:8px}.operation-tabs.employee-payroll-operation-tabs[data-payroll-table="calculator"] .payroll-operation-copy strong{font-size:14px;line-height:1.18}.operation-tabs.employee-payroll-operation-tabs[data-payroll-table="calculator"] .payroll-operation-copy>span{margin-top:4px;font-size:10px;line-height:1.25}.operation-tabs.employee-payroll-operation-tabs[data-payroll-table="calculator"] .payroll-operation-arrow{width:27px;height:27px;font-size:16px}
.operation-tabs.employee-payroll-operation-tabs[data-payroll-table="payroll"] .operation-tab.payroll-operation-card:before{background:#b5822e}.operation-tabs.employee-payroll-operation-tabs[data-payroll-table="payroll"] .payroll-operation-index{background:#faefd9;color:#9a6d24}
@media(max-width:900px){.operation-tabs.employee-payroll-operation-tabs{grid-template-columns:1fr;padding:16px}.operation-tabs.employee-payroll-operation-tabs .operation-tab.payroll-operation-card{min-height:124px}}
@media(max-width:560px){.operation-tabs.employee-payroll-operation-tabs{padding:10px;gap:10px}.operation-tabs.employee-payroll-operation-tabs .operation-tab.payroll-operation-card{grid-template-columns:38px minmax(0,1fr) 26px;gap:11px;padding:16px 12px;min-height:118px}.payroll-operation-index{width:36px;height:36px;font-size:15px}.payroll-operation-copy strong{font-size:13px}.payroll-operation-copy>span{font-size:10px}.payroll-operation-arrow{width:26px;height:26px}}

/* Shared full-record tab for employee detail tables */
.employee-detail-view-mode .tenant-record-actions{display:none}.employee-detail-deactivate-mode .tenant-record-meta,.employee-detail-delete-mode .tenant-record-meta{display:none}.employee-detail-deactivate-mode .tenant-record-content,.employee-detail-delete-mode .tenant-record-content{grid-template-rows:minmax(0,1fr)}.employee-detail-deactivate-mode #employeeDetailGrid,.employee-detail-delete-mode #employeeDetailGrid{display:none!important}.employee-detail-deactivate-mode #employeeDetailSave,.employee-detail-delete-mode #employeeDetailSave{display:none!important}.employee-detail-deactivate-mode #employeeDetailDeactivate,.employee-detail-delete-mode #employeeDetailDelete{min-width:190px}.employee-detail-record-page .tenant-record-message{min-height:90px}.employee-detail-record-page .employee-authorization-grid{scrollbar-gutter:stable}
.employee-detail-attendance-filter-mode .tenant-record-heading{align-items:flex-start;flex-wrap:wrap;row-gap:12px}.employee-detail-attendance-filter-mode #employeeDetailSelectorArea{width:100%;max-width:960px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 16px;padding-left:18px;min-width:0}.employee-detail-attendance-filter-mode .employee-detail-selector-step{min-width:0}.employee-detail-attendance-filter-mode .employee-detail-selector-step select{width:100%!important;min-width:0;font-size:clamp(10px,.95vw,13px)}.employee-detail-attendance-filter-mode .employee-detail-selector-step[hidden]{display:none}.employee-detail-attendance-filter-mode .employee-detail-selector-step small{min-height:10px;display:block;font-size:clamp(11px,1.05vw,13px);font-weight:800;color:#000;letter-spacing:.03em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.employee-detail-attendance-filter-mode .employee-detail-selector-step label{cursor:pointer}
.employee-attendance-month-summary{min-height:0;padding:14px;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:12px;overflow:hidden;background:#f8fbfa}.employee-attendance-month-summary[hidden]{display:none}.employee-attendance-summary-head{display:flex;align-items:center;justify-content:space-between;gap:18px}.employee-attendance-summary-head small{display:block;margin-bottom:3px;color:var(--teal);font-size:8px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.employee-attendance-summary-head h2{margin:0;font:400 20px Georgia,serif}.employee-attendance-summary-head>span{padding:6px 10px;border-radius:20px;background:#e2efec;color:#315d58;font-size:9px;font-weight:900}.employee-attendance-summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px}.employee-attendance-summary-card{padding:10px;border:1px solid #d2dfdc;border-radius:8px;background:#fff}.employee-attendance-summary-card span{display:block;color:#6c817e;font-size:8px;font-weight:800;text-transform:uppercase}.employee-attendance-summary-card strong{display:block;margin-top:5px;color:#123e42;font-size:16px}.employee-attendance-summary-card.positive{border-color:#acd5c3;background:#edf8f3}.employee-attendance-summary-card.negative{border-color:#e3bcb7;background:#fff3f1}#employeeAttendanceAllDaysVisits{min-height:0}#employeeAttendanceAllDaysVisits h3{margin:0 0 10px;font:400 15px Georgia,serif;color:var(--ink)}
.employee-attendance-all-days-body{min-height:0;overflow:auto}
/* #employeeAttendanceAllDaysSummary is now tabbed (Attendance (Day-wise) / Customer Visits) - only ONE
   of #employeeAttendanceAllDaysTable/#employeeAttendanceAllDaysVisits is ever visible at a time (the
   other carries [hidden]), so there are always exactly 3 VISIBLE children (header, tabs, active panel),
   matching .employee-attendance-month-summary's own 3-row grid template exactly - no override needed.
   An earlier revision put overflow-y:auto + a 3rd auto row here to fit a permanently-stacked 4th child;
   that made the WHOLE section (including the tab bar itself) scroll as one block, so scrolling the
   table also scrolled the tabs out of view. The active panel's own .employee-mobile-visit-table-wrap
   overflow:auto (in the flexible minmax(0,1fr) row) is what should scroll - the header/tabs stay fixed
   above it, like every other page that reuses this class already does. */
.employee-attendance-summary-table-wrap{min-height:0;overflow:auto;border:1px solid #d2dfdc;border-radius:9px;background:#fff}.employee-attendance-summary-table{width:100%;min-width:1120px;border-collapse:collapse;font-size:10px}.employee-attendance-summary-table th{position:sticky;top:0;z-index:1;padding:9px 10px;border-bottom:1px solid #c9d9d6;background:#eaf3f1;color:#456763;font-size:8px;font-weight:900;letter-spacing:.06em;text-align:left;text-transform:uppercase;white-space:nowrap}.employee-attendance-summary-table td{padding:9px 10px;border-bottom:1px solid #e7eeec;color:#3d5956;vertical-align:middle}.employee-attendance-summary-table tbody tr:hover{background:#f6faf9}.employee-attendance-summary-table tbody tr:last-child td{border-bottom:0}.employee-attendance-status-pill{display:inline-block;padding:3px 7px;border-radius:20px;background:#e7f5ee;color:#257052;font-size:8px;font-weight:900;white-space:nowrap}.employee-attendance-status-pill.absent{background:#fff0ee;color:#a43e38}.employee-attendance-status-pill.leave{background:#fff3df;color:#916313}.employee-attendance-status-pill.off{background:#eeeaf8;color:#6557a0}.employee-attendance-open-day{padding:5px 8px;border:1px solid #9fbfba;border-radius:6px;background:#fff;color:#0d6f70;font-size:8px;font-weight:900;white-space:nowrap;cursor:pointer}.employee-attendance-open-day:hover{border-color:#0d6f70;background:#edf7f5}
@media(max-width:900px){.employee-detail-attendance-filter-mode #employeeDetailSelectorArea{max-width:620px;grid-template-columns:1fr}.employee-detail-attendance-filter-mode .tenant-record-heading{align-items:flex-start}}
@media(max-width:1100px){.employee-attendance-summary-cards{grid-template-columns:repeat(4,minmax(100px,1fr))}}
@media(max-width:650px){.employee-detail-attendance-filter-mode #employeeDetailSelectorArea{max-width:100%;padding:0}.employee-attendance-summary-head{align-items:flex-start;flex-direction:column}.employee-attendance-summary-cards{grid-template-columns:repeat(2,minmax(100px,1fr))}}
.employee-complete-report-card{margin:0 0 18px}.report-card-notice{margin:0;padding:20px;font-size:11px;color:var(--muted)}.report-card-notice.error{color:#a3423a}.employee-complete-report-card .editor-toolbar{border-bottom:0;background:#fff;grid-template-columns:minmax(200px,1fr) minmax(230px,1fr) minmax(160px,auto) 90px}.employee-complete-report-card .record-picker button{width:100%;height:37px}

/* Reports landing navigator: categories on the orange LHS and extensions on the RHS. */
.workspace-view[data-module="reports"]{min-height:calc(100vh - 76px)}
.workspace-view[data-module="reports"] .sidebar{position:sticky;top:76px;align-self:start;height:calc(100vh - 76px);min-height:0;overflow:hidden}
.workspace-view[data-module="reports"] .sidebar-db{display:none}
.workspace-view[data-module="reports"] .work-area{display:flex;flex-direction:column;height:calc(100vh - 76px);min-height:0;padding:18px 28px 16px;overflow:hidden}
.workspace-view[data-module="reports"] .work-header{flex:0 0 auto;margin-bottom:14px}
.workspace-view[data-module="reports"] .work-header h1{font-size:28px;line-height:1.1}
.workspace-view[data-module="reports"] .work-header .breadcrumb{margin-bottom:5px;font-size:8px}
.workspace-view[data-module="reports"] .work-header p:last-child{margin-top:5px;font-size:11px}
.workspace-view[data-module="reports"] .work-header .db-home{padding:10px 14px;font-size:11px}
.workspace-view[data-module="reports"] .report-panel{flex:1 1 auto;min-height:0}
.workspace-view[data-module="reports"] .table-list{flex:1 1 auto;min-width:0;min-height:0;gap:8px;padding:2px 2px 14px;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable}
.workspace-view[data-module="reports"] .table-list::-webkit-scrollbar{width:8px}
.workspace-view[data-module="reports"] .table-list::-webkit-scrollbar-track{background:rgba(255,255,255,.12);border-radius:10px}
.workspace-view[data-module="reports"] .table-list::-webkit-scrollbar-thumb{background:rgba(255,255,255,.72);border:2px solid transparent;border-radius:10px;background-clip:padding-box}
.workspace-view[data-module="reports"] .report-category-button{justify-content:space-between;gap:10px;width:100%;min-width:0;max-width:100%;min-height:50px;padding:11px 12px;border:1px solid rgba(255,255,255,.38);background:rgba(255,255,255,.14);color:#111;line-height:1.3;box-shadow:0 5px 14px rgba(126,38,0,.08)}
.workspace-view[data-module="reports"] .report-category-button:before{display:none}
.workspace-view[data-module="reports"] .report-category-button>span:first-child{min-width:0;overflow-wrap:anywhere}
.workspace-view[data-module="reports"] .report-category-button:hover{background:rgba(255,255,255,.34);color:#111;border-color:rgba(255,255,255,.68)}
.workspace-view[data-module="reports"] .report-category-button.active{background:#fff;color:#111;border-color:#fff;box-shadow:0 8px 20px rgba(126,38,0,.2)}
.report-category-arrow{flex:0 0 auto;font:700 24px/1 Arial,sans-serif;transition:transform .18s ease}
.report-category-button.active .report-category-arrow{transform:translateX(2px)}
.report-menu-shell{display:grid;grid-template-rows:minmax(0,1fr);height:100%;min-height:0;border:1px solid #d5dfdc;border-radius:18px;background:#fff;overflow:auto;box-shadow:0 12px 34px rgba(17,62,63,.07)}
.report-menu-header{display:flex;align-items:flex-end;gap:16px;padding:14px 20px;border-bottom:1px solid #e0e7e4;background:linear-gradient(135deg,#fbfcfa,#f4f8f6)}
.report-menu-header p{margin:0 0 3px;color:#0d7775;font-size:8px;font-weight:900;letter-spacing:.14em}
.report-menu-header h2{margin:0;font:400 22px/1.12 Georgia,serif;color:#103c40}
.report-menu-header>span{margin-left:auto;max-width:390px;color:#6b7f7c;font-size:10px;line-height:1.4;text-align:right}
.report-hover-prompt{min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;background:#fbfcfa;color:#667f7b;text-align:center}
.report-hover-prompt>span{display:grid;place-items:center;width:48px;height:48px;margin-bottom:16px;border-radius:50%;background:#e5f2ef;color:#0d7775;font-size:22px}
.report-hover-prompt strong{color:#244c4d;font:500 clamp(30px,2.7vw,42px)/1.3 Georgia,serif}
.report-hover-prompt small{margin-top:8px;font-size:10px}
.report-menu-columns{display:grid;grid-template-columns:minmax(0,1fr);height:auto;min-height:100%}
.report-menu-columns.report-menu-columns-full{grid-template-columns:minmax(0,1fr)}
.report-menu-columns.report-menu-columns-full .report-submenu{border-right:0}
.report-submenu{display:flex;flex-direction:column;min-height:0;padding:17px 19px;border-bottom:1px solid #e0e7e4;background:#fbfcfa;overflow:hidden}
.report-submenu-heading{margin-bottom:11px}
.report-submenu-heading small{display:block;margin-bottom:4px;color:#758986;font-size:7px;font-weight:900;letter-spacing:.13em}
.report-submenu-heading h3{margin:0;color:#123f43;font:400 19px/1.2 Georgia,serif}
.report-option-list{display:flex;flex:1 1 auto;min-height:0;flex-direction:column;gap:7px;padding-right:5px;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable}
.report-option-button{display:grid;grid-template-columns:34px minmax(0,1fr) 20px;align-items:center;gap:10px;width:100%;min-height:48px;padding:8px 10px;border:1px solid #d1dfdb;border-radius:9px;background:#fff;color:#284c4d;text-align:left;font-size:11px;font-weight:750;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease}
.report-option-button:hover,.report-option-button:focus-visible{transform:translateX(3px);border-color:#78aaa2;box-shadow:0 7px 18px rgba(15,83,80,.09);outline:none}
.report-option-button.active{border-color:#0d7775;background:#edf7f5;color:#073f43;box-shadow:inset 4px 0 #0d7775,0 7px 18px rgba(15,83,80,.08)}
.report-option-number{display:grid;place-items:center;width:30px;height:30px;border-radius:7px;background:#e7f2ef;color:#0d7471;font:800 9px Arial,sans-serif}
.report-option-button.active .report-option-number{background:#0d7775;color:#fff}
.report-option-arrow{justify-self:end;color:#0d7775;font:700 20px/1 Arial,sans-serif;transition:transform .16s ease}
.report-option-button.active .report-option-arrow{transform:translateX(2px)}
.report-option-extension{display:flex;min-width:0;min-height:auto;flex-direction:column;justify-content:flex-start;align-items:flex-start;padding:28px 32px;background:#FFFFFF;color:#000000;overflow:visible}
.report-option-extension[hidden]{display:none}
.report-extension-mark{display:grid;place-items:center;width:40px;height:40px;margin-bottom:16px;border:1px solid rgba(255,255,255,.34);border-radius:50%;background:rgba(255,255,255,.1);font-size:18px}
.report-option-extension p{margin:0 0 7px;color:#000000;font-size:7px;font-weight:900;letter-spacing:.16em}
.report-option-extension h3{margin:0;color:#000000;font:400 23px/1.2 Georgia,serif}
.report-option-extension>span{display:block;margin-top:10px;color:#000000;font-size:10px;line-height:1.5}
.report-option-extension.saved-report-extension{display:block;padding:14px;background:#f4f8f6;color:#123f43;overflow-y:auto}
.saved-report-source{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px;padding:9px 11px;border:1px solid #c9ddd8;border-radius:8px;background:#e8f4f1;color:#0d6867}
.saved-report-source small{font-size:7px;font-weight:900;letter-spacing:.14em}
.saved-report-source strong{font-size:10px}
.saved-report-extension .employee-complete-report-card{width:100%;margin:0;overflow:hidden}
.saved-report-extension .report-table-head{display:block;margin:0;padding:12px 13px}
.saved-report-extension .report-table-head h3{color:#123f43;font-size:19px;line-height:1.2}
.saved-report-extension .report-table-head small{display:block;margin-top:5px;font-size:8px;line-height:1.4}
.saved-report-extension .employee-complete-report-card .editor-toolbar{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;min-height:0;padding:12px;background:#fff}
.saved-report-extension .editor-toolbar label{margin-bottom:4px;font-size:7px}
.saved-report-extension .record-picker select{height:36px;font-size:10px}
.saved-report-extension .employee-complete-report-card .record-picker button{height:38px;font-size:11px}
.saved-report-extension .record-count{display:flex;align-items:baseline;justify-content:center;gap:6px;padding-top:2px;border-left:0}
.saved-report-extension .record-count strong{font-size:20px}
.saved-report-extension .record-count span{font-size:8px}
.saved-report-loading{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;color:#56716e;text-align:center}
.saved-report-loading>span{font:700 28px/1 Georgia,serif;color:#0d7775;letter-spacing:.12em}
.saved-report-loading strong{margin-top:10px;color:#224f4e;font-size:12px}
.saved-report-loading small{margin-top:6px;font-size:9px;line-height:1.5}
.saved-report-loading.error strong,.saved-report-loading.error small{color:#9a3d38}
.attendance-report-launcher{display:flex;min-height:100%;flex-direction:column;justify-content:center;padding:24px}.attendance-report-launcher small{color:#0d7775;font-size:8px;font-weight:900;letter-spacing:.14em}.attendance-report-launcher h3{margin:8px 0;color:#123f43;font:400 24px/1.2 Georgia,serif}.attendance-report-launcher p{margin:0 0 18px;color:#5d7571;font-size:10px;line-height:1.6}.attendance-report-launcher .button{align-self:flex-start}.attendance-report-launcher span{margin-top:12px;color:#748783;font-size:8px}
.employee-list-launcher-filters{display:grid;grid-template-columns:1fr;gap:11px;width:100%;margin:0 0 16px}.employee-list-launcher-filters label{display:grid;gap:5px;color:#405955;font-size:9px;font-weight:800}.employee-list-launcher-filters select{width:100%;height:40px;border:1px solid #c5d8d3;border-radius:8px;padding:0 10px;background:#fff;color:#123f43;font-size:11px;outline:none}.employee-list-launcher-filters select:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(13,111,112,.08)}.employee-list-launcher .button:disabled{cursor:not-allowed;opacity:.45}
.pay-slip-parameter-card{display:grid;gap:8px;width:100%;padding:17px;border:1px solid #c9ddd8;border-radius:12px;background:#fff;box-shadow:0 9px 24px rgba(15,83,80,.08)}
.pay-slip-parameter-head{margin-bottom:3px;padding-bottom:12px;border-bottom:1px solid #dce8e5}
.pay-slip-parameter-head small{display:block;margin-bottom:5px;color:#0d7775;font-size:7px;font-weight:900;letter-spacing:.15em}
.pay-slip-parameter-head h3{margin:0;color:#123f43;font:400 21px/1.2 Georgia,serif}
.pay-slip-parameter-head p{margin:7px 0 0;color:#617976;font-size:9px;line-height:1.5}
.pay-slip-parameter-card>label{margin-top:3px;color:#48615e;font-size:7px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.pay-slip-parameter-card>select{width:100%;height:38px;padding:0 10px;border:1px solid #c7d8d4;border-radius:7px;background:#fbfcfb;color:#173f42;font:600 10px Arial,sans-serif}
.pay-slip-parameter-card>select:focus{border-color:#0d7775;box-shadow:0 0 0 3px rgba(13,119,117,.12);outline:none}
.pay-slip-parameter-card>select:disabled{background:#eef2f1;color:#8b9b98}
.pay-slip-parameter-card>.button{width:100%;height:40px;margin-top:5px}
.pay-slip-download-status{margin:2px 0 0;color:#6a7e7b;font-size:8px;line-height:1.45;text-align:center}
.report-launcher{min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:30px;border:1px dashed #cbdad6;border-radius:12px;background:#fff;text-align:center;color:#69807d}
.report-launcher p{margin:0;font-size:11px;max-width:280px;line-height:1.5}
.report-empty-options{min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;border:1px dashed #cbdad6;border-radius:12px;background:#fff;text-align:center;color:#69807d}
.report-empty-options>span{font:700 28px/1 Georgia,serif;color:#9db7b2;letter-spacing:.12em}
.report-empty-options strong{margin-top:11px;color:#345b59;font-size:12px}
.report-empty-options small{max-width:260px;margin-top:7px;font-size:10px;line-height:1.5}
@media(max-width:1000px){.report-menu-columns{grid-template-columns:minmax(0,1fr)}.report-option-extension{padding:28px}.report-menu-header{align-items:flex-start;flex-direction:column}.report-menu-header>span{margin-left:0;text-align:left}}
@media(max-width:760px){.workspace-view[data-module="reports"]{min-height:0}.workspace-view[data-module="reports"] .sidebar{position:static;top:auto;height:auto;min-height:auto;overflow:visible}.workspace-view[data-module="reports"] .sidebar-heading{display:block;padding:16px 8px 10px}.workspace-view[data-module="reports"] .table-list{flex-direction:column;width:100%;max-width:100%;max-height:310px;padding:8px 0;overflow-y:auto}.workspace-view[data-module="reports"] .report-category-button{flex:0 0 auto;white-space:normal}.workspace-view[data-module="reports"] .work-area{display:block;height:auto;max-width:100%;padding:14px;overflow-x:hidden}.report-panel,.report-menu-shell,.report-menu-columns,.report-submenu,.report-menu-header,.report-option-extension{min-width:0;max-width:100%}.report-menu-shell{height:auto;min-height:440px}.report-menu-columns{grid-template-columns:minmax(0,1fr);height:auto}.report-submenu{max-height:420px;border-right:0;border-bottom:1px solid #e0e7e4;padding:15px}.report-option-button{grid-template-columns:32px minmax(0,1fr) 18px;gap:8px;padding:8px 9px}.report-option-extension{min-height:210px;padding:22px}.report-option-extension.saved-report-extension{padding:12px}.report-menu-header{padding:13px 15px}.report-menu-header h2{font-size:21px}.report-menu-header>span,.workspace-view[data-module="reports"] .work-header p{max-width:100%;overflow-wrap:anywhere}}

/* Manual spreadsheet upload is paired directly with each HRMS Add operation. */
.operation-tabs.hrms-manual-upload-menu{flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;padding:14px 0 16px;overflow:visible}
.operation-tabs.hrms-manual-upload-menu>.operation-tab{display:flex;align-items:center;justify-content:center;width:min(660px,calc(100% - 32px));min-width:0;min-height:52px;padding:13px 20px;text-align:center;white-space:normal;line-height:1.35;font-size:clamp(14px,1.1vw,16px)}
.hrms-add-upload-row{display:flex;width:min(900px,calc(100% - 32px));max-width:100%;gap:12px;align-items:stretch}
.operation-tabs.hrms-manual-upload-menu .hrms-add-upload-row .operation-tab{flex:1 1 0;width:0;min-width:0;min-height:52px;margin:0;padding:13px 16px;display:flex;align-items:center;justify-content:center;border:1px solid #c8d9d5;border-radius:9px;text-align:center;white-space:normal;overflow-wrap:anywhere;line-height:1.3;font-size:clamp(13px,1vw,16px)}
.operation-tabs.hrms-manual-upload-menu .hrms-add-upload-row .operation-tab:first-child{background:#f7faf8;color:var(--teal)}
.operation-tabs.hrms-manual-upload-menu .hrms-add-upload-row .hrms-manual-upload-operation{border-color:#0d655d;background:#0d655d;color:#fff}
.operation-tabs.hrms-manual-upload-menu .hrms-add-upload-row .hrms-manual-upload-operation:hover{background:#084f49}
.hrms-operation-upload-panel{width:min(900px,calc(100% - 32px));max-width:100%;padding:13px 15px;border:1px solid #bdd7d2;border-radius:10px;background:linear-gradient(135deg,#f7fcfa,#edf7f4);box-shadow:0 4px 14px rgba(18,82,75,.06)}
.hrms-operation-upload-panel[hidden]{display:none}
.hrms-operation-upload-panel{display:grid;grid-template-columns:minmax(240px,1fr) minmax(150px,210px);gap:6px 12px;align-items:end}
.hrms-operation-upload-panel label{grid-column:1;color:#405e5b;font-size:9px;font-weight:800}
.hrms-operation-file-path{grid-column:1;min-width:0;height:38px;width:100%;padding:0 10px;border:1px solid #c6d9d6;border-radius:7px;background:#fff;color:#526d69;font-size:10px}
.hrms-operation-upload-submit{grid-column:2;grid-row:1/3;height:38px}
.hrms-operation-upload-result{grid-column:1/3;padding:9px 11px;border:1px solid #aad0c5;border-radius:7px;background:#e5f5ee;color:#21664e;font-size:10px;font-weight:700;line-height:1.5;text-align:center}
.hrms-operation-upload-result.error{border-color:#edc1bc;background:#fff1f0;color:#9b3330}
.hrms-upload-rejections{max-height:270px;margin-top:9px;overflow:auto;border:1px solid currentColor;border-radius:6px;background:#fff;text-align:left}.hrms-upload-rejections table{width:100%;border-collapse:collapse;color:#223b37;font-size:10px}.hrms-upload-rejections th,.hrms-upload-rejections td{padding:7px 8px;border-bottom:1px solid #e0e8e5;vertical-align:top}.hrms-upload-rejections th{position:sticky;top:0;background:#f4e0de;color:#802c29}.hrms-upload-rejections th:first-child,.hrms-upload-rejections td:first-child{width:82px;text-align:center}.hrms-upload-rejections th:nth-child(2),.hrms-upload-rejections td:nth-child(2){width:110px}
@media(max-width:650px){.operation-tabs.hrms-manual-upload-menu{width:100%;min-width:0}.hrms-add-upload-row,.hrms-operation-upload-panel{width:calc(100% - 20px);max-width:calc(100vw - 40px)}.hrms-add-upload-row{gap:7px}.operation-tabs.hrms-manual-upload-menu .hrms-add-upload-row .operation-tab{flex:1 1 0;width:0!important;padding:10px 7px;font-size:12px}.hrms-operation-upload-panel{grid-template-columns:minmax(0,1fr)}.hrms-operation-upload-panel label,.hrms-operation-file-path,.hrms-operation-upload-submit,.hrms-operation-upload-result{grid-column:1;grid-row:auto;width:100%}}

/* User Security: the Employee_Id link. A type-ahead box filters the dropdown in place, and the
   derived "EMPLegal Name" stays visibly read-only even while the rest of the form is editable. */
.security-user-page.tenant-record-editable .security-user-grid input[data-derived]{background:#eef2ef;color:#6a7d7a;cursor:not-allowed}

/* Password Reset: a single-purpose security screen. The generated password is the whole point of
   the page, so it is given the largest, highest-contrast block and set in a monospace face where
   a 0 cannot be misread as an O when the value is read aloud to the employee. */
.password-reset-panel{min-height:0;padding:18px;overflow:auto}
.password-reset-form{display:grid;grid-template-columns:1.2fr 1.4fr auto;gap:14px;align-items:end;padding:16px;border:1px solid #cfe0db;border-radius:11px;background:#f4f8f6}
.password-reset-form .tenant-record-field input,.password-reset-form .tenant-record-field select{width:100%;height:40px;border:1px solid #cfdbd8;border-radius:7px;padding:6px 10px;background:#fff;color:var(--ink);font-size:11px;outline:none}
.password-reset-form .tenant-record-field select:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(13,111,112,.08)}
.password-reset-form .tenant-record-field input[readonly]{background:#eef2ef;color:#6a7d7a;cursor:not-allowed}
.password-reset-form .tenant-record-field input.password-reset-missing{border-color:#e0bdb7;background:#fff4f2;color:#9a3f38}
.password-reset-form .button{height:40px;white-space:nowrap}
.password-reset-output{margin-top:18px;padding:22px;border:1px solid var(--line);border-radius:12px;background:#f8faf7;text-align:center}
.password-reset-output h2{margin:0 0 14px;font-family:Georgia,serif;font-size:20px;font-weight:400}
.password-reset-value{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}
.password-reset-value strong{padding:12px 26px;border:1px solid #cfe0db;border-radius:10px;background:#fff;color:var(--teal-dark);font-family:"Cascadia Mono",Consolas,"Courier New",monospace;font-size:clamp(24px,3vw,34px);letter-spacing:.14em}
.password-reset-help{max-width:620px;margin:14px auto 0;color:var(--muted);font-size:11px;line-height:1.65}
.password-reset-detail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0 0;text-align:left}
.password-reset-detail>div{padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:#fff}
.password-reset-detail dt{color:var(--muted);font-size:8px;text-transform:uppercase;letter-spacing:.08em}
.password-reset-detail dd{margin:5px 0 0;overflow:hidden;text-overflow:ellipsis;font-size:11px;font-weight:650;white-space:nowrap}
@media(max-width:900px){.password-reset-form{grid-template-columns:1fr 1fr}.password-reset-form .button{grid-column:1/-1}.password-reset-detail{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.password-reset-form,.password-reset-detail{grid-template-columns:1fr}}
.security-user-content>.password-reset-panel{grid-row:2}

/* Unified Permissions admin (unified-permissions-admin.html) - defect fix: .security-user-content's
   grid-row:2 placement only covers .tenant-record-message/.security-user-grid/.security-permissions-panel
   (each page's ONE current content variant). This page instead has several always-relevant siblings in
   sequence (meta, message, the management-tab nav, and TWO alternating panels) - none of them matched
   that rule, so with the shared grid still active they fell into unsized implicit grid rows and were
   clipped by the shell's fixed height + overflow:hidden (blank content below the tabs, no page scroll).
   Switching this one page's content container to plain block flow with its own internal scroll fixes
   both: content renders in normal document order and the container itself scrolls when it overflows.
   Scoped to .unified-permissions-content only - no other page uses that class. */
.unified-permissions-content{display:block;overflow-y:auto;overflow-x:hidden}

/* Add New User: Company is filled from the Tenant and shown read-only, and the generated password
   is presented in the same block the Password Reset screen uses. */
.security-user-grid input[data-display="CompanyId"]{background:#eef2ef;color:#6a7d7a;cursor:not-allowed}
.security-user-grid input.security-company-unresolved{border-color:#e0bdb7;background:#fff4f2;color:#9a3f38}
.password-reset-actions{margin-top:16px;text-align:center}

/* Mobile-Attendance testing feature: a pseudo entry in the HRMS sidebar table list (between
   EmployeeAttendanceMobileGPS and EmployeeMobileRouteTracking, not a real ERPHRMS table) that opens
   a two-tab shell (EmployeeAttendance viewer, Mobile-App workflow) in the work area. */
.table-button-feature{position:relative;color:#8dd7ca;font-weight:800}
.table-button-feature:before{border-color:#78d5c3;background:#78d5c3}
.table-button-feature.active{color:#113b3d}
.mobile-attendance-panel{display:block}
.mobile-attendance-tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);margin-bottom:20px}
.mobile-attendance-tab{border:0;background:transparent;padding:12px 16px;color:#738684;font-size:12px;font-weight:750;white-space:nowrap;border-bottom:2px solid transparent}
.mobile-attendance-tab.active{color:var(--teal);border-color:var(--teal)}
.mobile-attendance-tab-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.mobile-attendance-tab-toolbar p{margin:0;color:var(--muted);font-size:12px;line-height:1.5;max-width:720px}
.mobile-attendance-viewer-frame{width:100%;height:calc(100vh - 320px);min-height:480px;border:1px solid var(--line);border-radius:14px;background:#fff}
.report-mobile-attendance-frame{height:100%;min-height:460px}
/* .mobile-app-frame/.mobile-app-screen: see wwwroot/mobile-attendance-app.css - the Mobile-App
   workflow UI (built there) owns those classes now that Phase 2's placeholder stub is gone. */
@media(max-width:760px){.mobile-attendance-tab-toolbar{flex-direction:column;align-items:flex-start}.mobile-attendance-viewer-frame{height:60vh}}
/* HR/Admin Reset Option (host tab, wwwroot/mobile-admin-reset.js) - existing tokens, buttons and message styles only. */
.mobile-admin-reset-toolbar-actions{display:flex;gap:8px;flex-wrap:wrap}
.mobile-admin-reset-list{margin:0;padding:0;list-style:none;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.mobile-admin-reset-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border-bottom:1px solid var(--line)}
.mobile-admin-reset-item:last-child{border-bottom:0}
.mobile-admin-reset-item.is-review{background:#f8faf7}
.mobile-admin-reset-item-text{display:flex;flex-direction:column;gap:4px;min-width:0}
.mobile-admin-reset-item-text strong{color:var(--ink);font-size:12px;font-weight:750}
.mobile-admin-reset-item-text span{color:var(--muted);font-size:11px;line-height:1.5}
.mobile-admin-reset-review{color:var(--danger);font-style:normal;font-weight:750}
.mobile-admin-reset-check{display:flex;align-items:center;gap:6px;flex:0 0 auto;color:var(--muted);font-size:11px}
.mobile-admin-reset-check.is-empty{width:56px}
.mobile-admin-reset-footer{display:flex;align-items:flex-end;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:14px}
.mobile-admin-reset-reason{display:flex;flex-direction:column;gap:4px;color:#405955;font-size:11px}
.mobile-admin-reset-reason input,.mobile-admin-reset-validate input{height:38px;min-width:220px;border:1px solid #cfdbd8;border-radius:7px;padding:6px 10px;background:#fff;color:var(--ink);font-size:12px}
.mobile-admin-reset-validate{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.mobile-admin-reset-validate label{display:flex;flex-direction:column;gap:4px;color:#405955;font-size:11px}
.mobile-admin-reset-summary{padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff}
.mobile-admin-reset-summary dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;margin:0 0 12px}
.mobile-admin-reset-summary dt{color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.08em}
.mobile-admin-reset-summary dd{margin:3px 0 0;color:var(--ink);font-size:12px}
.mobile-admin-reset-question{margin:0 0 10px;color:var(--ink);font-size:12px;font-weight:750}
.mobile-admin-reset-warning{margin:0 0 12px;padding:10px 12px;border:1px solid #e8d3a2;border-radius:9px;background:#fff8e8;color:#6d5313;font-size:11px;line-height:1.5}
.mobile-admin-reset-results{margin:0 0 12px;padding-left:18px;font-size:11px;line-height:1.6}
.mobile-admin-reset-results .ok{color:var(--teal)}.mobile-admin-reset-results .failed{color:var(--danger)}
@media(max-width:760px){.mobile-admin-reset-item{flex-direction:column;align-items:flex-start}.mobile-admin-reset-reason input,.mobile-admin-reset-validate input{min-width:0;width:100%}}
/* Attendance Exceptions (host tab, wwwroot/attendance-exceptions.js) - existing tokens / table / button styles only. */
.attendance-exceptions-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin:0 0 14px}
.attendance-exceptions-summary>div{padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:#f8faf7}
.attendance-exceptions-summary small{display:block;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.08em}
.attendance-exceptions-summary strong{display:block;margin-top:5px;font-size:16px}
.attendance-exceptions-table td{vertical-align:top}
.attendance-exceptions-note{color:var(--muted);font-size:11px}
.attendance-exceptions-repeat,.attendance-exceptions-flag{color:var(--danger);font-size:11px;font-weight:700;font-style:normal}
.attendance-exceptions-ok{color:var(--teal);font-size:11px;font-weight:700}
.attendance-exceptions-review{min-width:220px}.attendance-exceptions-review>span{display:block;margin-top:4px;color:var(--muted);font-size:11px}
.attendance-exceptions-reviewed{color:var(--teal)}.attendance-exceptions-unreviewed{color:#a15c00}
.attendance-exceptions-remark{white-space:pre-wrap;color:var(--ink)!important}
.attendance-exceptions-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
.attendance-exceptions-edit label{display:flex;flex-direction:column;gap:4px;color:#405955;font-size:11px}
.attendance-exceptions-edit textarea{min-width:220px;border:1px solid #cfdbd8;border-radius:7px;padding:6px 8px;font:inherit;font-size:12px}
.attendance-exceptions-check{flex-direction:row!important;align-items:center;margin-top:6px}
.attendance-exceptions-settings{margin-top:20px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff}
.attendance-exceptions-settings h3{margin:0 0 6px;font-family:Georgia,serif;font-size:18px;font-weight:400}
.attendance-exceptions-recipients{margin:10px 0 0;padding:0;list-style:none}
.attendance-exceptions-recipients li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid var(--line);font-size:12px}
.attendance-exceptions-check-result p{margin:4px 0;font-size:12px}
/* employee-detail-record.html loaded inside another page's iframe (?embedded=1): the host page
   already shows its own TECHBOTT INDIA / Close Window bar, so collapse this page's copy to zero
   height instead of display:none - the shell's grid-template-rows assigns tracks by row position,
   so removing the item outright would shift every row below it into the wrong track. */
.employee-detail-embedded .tenant-record-topbar{min-height:0;height:0;padding:0;border:0;overflow:hidden}
.employee-detail-embedded .tenant-record-topbar *{display:none}

/* Wraps #employeeDetailGrid + #employeeDetailMobileVisits as ONE block-stacking flex column, so they
   count as a single item in .tenant-record-content's grid-template-rows (auto minmax(0,1fr)) instead
   of two separate implicit-row siblings - having them as direct grid children was overlapping the
   "EmployeeAttendance Summary" heading on top of the "Complete employee record" meta bar above it. */
.employee-detail-scroll-area{min-height:0;display:flex;flex-direction:column;overflow-y:auto}

/* Customer Visits / route summary shown below an EmployeeAttendanceMobileGPS session's field grid
   (2026-09-13c restructure - visits live in EmployeeAttendanceMobileVisit, many per GPS session). */
.employee-mobile-visit-section{padding:14px;border-top:1px dashed var(--line)}
.employee-mobile-visit-section[hidden]{display:none}
.employee-mobile-visit-section h3{margin:0 0 10px;font:400 15px Georgia,serif;color:var(--ink)}
.employee-mobile-visit-section h3:not(:first-child){margin-top:16px}
.employee-mobile-visit-table-wrap{overflow:auto;border:1px solid #d2dfdc;border-radius:9px;background:#fff}
.employee-mobile-visit-table{width:100%;min-width:720px;border-collapse:collapse;font-size:10px}
.employee-mobile-visit-table th{padding:9px 10px;border-bottom:1px solid #c9d9d6;background:#eaf3f1;color:#456763;font-size:8px;font-weight:900;letter-spacing:.06em;text-align:left;text-transform:uppercase;white-space:nowrap}
.employee-mobile-visit-table td{padding:9px 10px;border-bottom:1px solid #e7eeec;color:#3d5956;vertical-align:middle}
.employee-mobile-visit-table tbody tr:last-child td{border-bottom:0}
.employee-mobile-report-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px;padding-top:14px;border-top:1px dashed var(--line)}
.employee-mobile-report-actions input{flex:1 1 220px;min-width:180px;height:36px;border:1px solid #cfdbd8;border-radius:7px;padding:6px 10px;background:#f1f4f2;color:#506764;font-size:11px;outline:none}
.employee-mobile-report-actions .button{padding:9px 14px;font-size:11px;white-space:nowrap}

/* Mobile-Attendance-View/Modify: five-tab day view (wwwroot/mobile-attendance-view-modify.*) */
.mobile-admin-heading{margin:0 0 16px;font:400 20px Georgia,serif;color:var(--ink)}
.mobile-admin-selector-bar{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:14px}
.mobile-admin-selector-bar label{display:block;font-size:10px;font-weight:800;color:#405955;letter-spacing:.02em;min-width:240px}
.mobile-admin-selector-bar select{width:100%;height:38px;margin-top:6px;border:1px solid #cfdbd8;border-radius:8px;padding:0 10px;background:#fff;color:var(--ink);font-size:12px;outline:none}
.mobile-admin-selector-bar select:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(13,111,112,.08)}
.mobile-admin-day{margin-top:8px}
.mobile-admin-subtabs{margin-bottom:16px}
.mobile-admin-table-note{margin:0 0 12px;color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.mobile-admin-field-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px 16px}
.mobile-admin-field{padding:10px 12px;border:1px solid #e2eae7;border-radius:9px;background:#f9faf7}
.mobile-admin-field label{display:block;margin-bottom:5px;color:#405955;font-size:9px;font-weight:800;letter-spacing:.03em}
.mobile-admin-field .mobile-admin-field-value{color:var(--ink);font-size:12px;word-break:break-word}
.mobile-admin-field textarea,.mobile-admin-field input[type="email"]{width:100%;border:1px solid #cfdbd8;border-radius:7px;padding:8px 10px;background:#fff;color:var(--ink);font-size:12px;outline:none;resize:vertical}
.mobile-admin-field textarea:focus,.mobile-admin-field input[type="email"]:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(13,111,112,.08)}
.mobile-admin-field input[type="file"]{display:block;margin-top:8px;font-size:11px}
.mobile-admin-photo-thumb{display:block;max-width:180px;max-height:180px;border-radius:8px;border:1px solid var(--line);object-fit:cover}
.mobile-admin-photo-thumb-sm{display:block;max-width:64px;max-height:64px;border-radius:6px;border:1px solid var(--line);object-fit:cover}
.mobile-admin-visit-list{margin-bottom:18px}
.mobile-admin-visit-row-active td{background:#eaf5f2}
.mobile-admin-visit-detail{padding-top:6px;border-top:1px dashed var(--line)}
.mobile-admin-visit-detail h3{margin:0 0 12px;font:400 15px Georgia,serif;color:var(--ink)}
.mobile-admin-visit-detail h4{margin:18px 0 10px;font-size:11px;font-weight:800;color:#405955;letter-spacing:.04em;text-transform:uppercase}
.mobile-admin-visit-form-actions{display:flex;align-items:center;gap:12px;margin-top:16px}
.mobile-admin-visit-form-actions .tenant-save-status{color:#277554;font-size:11px}
.mobile-admin-visit-form-actions .tenant-save-status.error{color:#a3423a}
@media(max-width:760px){.mobile-admin-selector-bar{flex-direction:column}.mobile-admin-selector-bar label{min-width:0}.mobile-admin-field-grid{grid-template-columns:1fr}}
.employee-photo-validation{display:block;margin-top:5px;font-size:10px;line-height:1.35;font-weight:700}.employee-photo-validation.checking{color:var(--muted)}.employee-photo-validation.pass{color:#277554}.employee-photo-validation.warning{color:#8a5a00}.employee-photo-validation.fail{color:#a3423a}.employee-photo-validation-detail{display:block;margin-top:3px;font-size:10px;color:#405955}.employee-photo-review{display:block;margin-top:5px;font-size:10px;font-weight:700}.employee-photo-clear{margin-top:6px;font-size:10px;padding:2px 8px;cursor:pointer}

/* Phase 1 UI presentation: preserve existing Security routes and behavior. */
.security-user-page .security-user-content{display:flex;flex-direction:column;gap:18px;}
.security-user-page .security-user-content .operation-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;}
.security-user-page .security-user-content .operation-tab{min-height:64px;display:flex;align-items:center;justify-content:center;text-align:center;white-space:normal;}
.security-user-page .security-user-content .operation-tab[data-operation="deactivate"],.security-user-page .security-user-content a[href*="deactivate"]{color:#9a3232;background:#fff0ed;border-color:#f1c8c2;}
.unified-permissions-content{gap:20px;}
.unified-step-one{position:relative;}
.unified-step-one:before{content:"STEP 1  ·  SELECT USER";display:block;color:var(--teal);font-size:10px;font-weight:850;letter-spacing:.14em;margin-bottom:6px;}
.unified-step-label{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:4px 0 12px;padding:12px 15px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(100deg,#f4faf7,#fff);}
.unified-step-label span{color:var(--teal);font-size:10px;font-weight:850;letter-spacing:.14em;}
.unified-step-label strong{font-size:15px;}
.unified-step-label small{width:100%;color:var(--muted);font-size:11px;margin-left:55px;}
.unified-surface-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.unified-surface-tabs .operation-tab{min-height:48px;}
.unified-step-panel{padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff;}
@media(max-width:760px){.unified-surface-tabs{grid-template-columns:1fr;}.unified-step-label small{margin-left:0;}}

/* Phase 1 compact Unified Permissions layout correction. */
.security-user-shell{min-height:100vh;}
.security-user-shell .tenant-record-heading{padding-bottom:16px;}
.security-user-shell .tenant-record-content{padding-top:18px;}
.unified-permissions-content{gap:12px!important;}
.unified-permissions-content>.tenant-record-meta,.unified-permissions-content>#unifiedRecordMessage,.unified-permissions-content>#unifiedManagementTabs{margin:0;}
.unified-permissions-content>#unifiedManagementTabs{min-height:42px;}
.unified-permissions-content #unifiedPanel{display:flex;flex-direction:column;gap:12px;}
.unified-permissions-content #unifiedPanel[hidden]{display:none;}
.unified-permissions-content #unifiedSurfaceTabs{margin:0;}
.unified-permissions-content .security-access-section{margin:0;padding:14px 16px;}
.unified-permissions-content .security-role-form{display:grid;grid-template-columns:minmax(220px,1fr) auto minmax(220px,1.4fr);align-items:end;gap:10px;margin:0;}
.unified-permissions-content .security-access-section h2{margin:0 0 10px;font-size:16px;}
.unified-permissions-content .unified-tree-module{margin:4px 0;}
.unified-permissions-content .unified-tree-menu{margin:6px 0;}
.unified-permissions-content .unified-tree-module>summary,.unified-permissions-content .unified-tree-menu>summary{padding:9px 12px;}
.unified-permissions-content .security-table-wrap{max-height:52vh;overflow:auto;}
@media(max-width:760px){.unified-permissions-content .security-role-form{grid-template-columns:1fr;align-items:stretch;}.unified-permissions-content .security-role-form .button{width:100%;}.unified-permissions-content .security-table-wrap{max-height:none;}.unified-permissions-content .security-access-section{padding:12px;}}

/* Customer Details approved seven-section action menu. */
.customer-section-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:980px;margin:0 auto;}
.customer-section-card{padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(12,56,58,.06);}
.customer-section-card h2{margin:0 0 12px;font-size:16px;text-align:center;}
.customer-section-actions{display:flex;flex-direction:column;gap:8px;}
.customer-section-actions .button{width:100%;min-height:40px;text-align:center;white-space:normal;}
.customer-section-actions .button:disabled{cursor:not-allowed;opacity:.55;}
@media(max-width:760px){.customer-section-menu{grid-template-columns:1fr;gap:12px;}.customer-section-card{padding:13px;}}

/* Customer Details now follows the HRMS sidebar/content pattern. */
.workspace-view[data-module="customer"] .table-list{display:flex;flex-direction:column;gap:4px;overflow:auto;padding:0 4px 10px;}
.workspace-view[data-module="customer"] .table-button{color:#000;background:transparent;border:0;border-radius:8px;text-align:left;font-weight:900;padding:10px 12px 10px 28px;position:relative;white-space:normal;}
.workspace-view[data-module="customer"] .table-button:before{content:"";position:absolute;left:12px;top:50%;width:7px;height:7px;border:2px solid #000;border-radius:50%;background:#000;transform:translateY(-50%);}
.workspace-view[data-module="customer"] .table-button:hover,.workspace-view[data-module="customer"] .table-button.active{color:#000;background:rgba(255,255,255,.18);}
.workspace-view[data-module="customer"] .customer-empty-state,.workspace-view[data-module="customer"] .customer-operations-panel{max-width:760px;margin:0 auto;padding:24px;}
.workspace-view[data-module="customer"] .customer-operations-panel h1{margin:0 0 22px;color:var(--ink);font-size:clamp(24px,2.4vw,34px);}
.workspace-view[data-module="customer"] .customer-operation-list{display:flex;flex-direction:column;gap:10px;max-width:520px;}
.workspace-view[data-module="customer"] .customer-operation-list .button{width:100%;min-height:48px;text-align:center;white-space:normal;}
.workspace-view[data-module="customer"] .customer-operation-list .button:disabled{cursor:not-allowed;opacity:.55;}
.workspace-view[data-module="customer"] .customer-section-menu{display:none;}

/* Unified ERP header controls (Stage H2): Back, Refresh, Home - immediately after the logo; same visual language as the header. */
.erp-nav-controls{display:flex;align-items:center;gap:6px;margin-left:12px}
.erp-nav-button{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border:1px solid currentColor;border-radius:8px;background:transparent;color:inherit;font-size:18px;line-height:1;cursor:pointer;opacity:.85}
.erp-nav-button:hover{opacity:1}
.erp-nav-button:focus-visible{outline:3px solid #ff5a00;outline-offset:2px;opacity:1}

/* Stage H8: the four ERP navigation icons are black and bold on every header. */
.erp-nav-button{color:#000;font-weight:900;border-color:#000}
.erp-nav-button:disabled{color:#000}
.erp-nav-button svg{width:22px;height:22px;display:block}

/* H11 - approved compact ERP header (screenshot 2). Layout only; the logo, Date/IST Clock and Calculator logic are unchanged. */
.topbar{height:auto;min-height:0;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;padding:10px 18px;background:#ff5a00;border-bottom:0;box-shadow:0 2px 10px rgba(0,0,0,.18)}
.topbar .brand-button{justify-self:start;background:#fff;border-radius:14px;padding:8px 14px;box-shadow:0 2px 8px rgba(0,0,0,.15)}
.topbar .topbar-context{justify-self:center;display:flex;align-items:center;gap:12px}
.topbar .topbar-date{height:52px;min-width:0;background:#fff;border:0;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.15);padding:0 14px}
.topbar #appClock{height:52px;display:flex;align-items:center;background:#fff;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.15);padding:0 14px;color:#000;font-weight:900;white-space:nowrap}
.topbar .topbar-right{justify-self:end;display:flex;flex-direction:column;align-items:flex-end;gap:8px;position:relative}
.topbar .topbar-row{display:flex;align-items:center;gap:10px}
.topbar .topbar-calculator-button{height:52px;min-width:120px;border:0;border-radius:12px;background:#fff;color:#000;font-weight:900;box-shadow:0 2px 8px rgba(0,0,0,.15)}
.topbar .account{height:52px;display:flex;align-items:center;padding:0 16px;border-radius:12px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.15);color:#000}
.topbar .account-copy{display:flex;flex-direction:column;align-items:flex-start;line-height:1.15}
.topbar .account-copy strong,.topbar #displayName,.topbar #userName,.topbar .account-copy small{color:#000 !important;font-weight:900;font-size:14px}
.topbar .account-copy small{font-weight:800;font-size:12px}
.topbar .erp-nav-controls{margin:0;gap:6px}
.topbar .erp-nav-button{width:34px;height:34px;border:2px solid #000;border-radius:8px;background:rgba(255,255,255,.35);color:#000;font-weight:900}
.topbar .erp-nav-button:hover{background:rgba(255,255,255,.7)}
.topbar .erp-nav-button:disabled,.topbar .erp-nav-button.erp-nav-unavailable{background:rgba(255,255,255,.2);opacity:.6}
.topbar .erp-nav-button svg{width:21px;height:21px}
.topbar .erp-more-menu{top:calc(100% + 8px)}
@media(max-width:900px){.topbar{gap:10px;padding:8px 10px}.topbar .topbar-date{min-width:0;padding:0 8px}.topbar #appClock{padding:0 8px;font-size:12px}}
@media(max-width:760px){.topbar{grid-template-columns:auto minmax(0,1fr)}.topbar .topbar-right{justify-self:end}.topbar .topbar-context{display:none}.topbar .account-copy{display:none}}

/* H13 - shared compact header on shell and standalone pages: the original logo sits in the same footprint everywhere (values as trial-orange-theme.css). */
.topbar .brand-button .post-login-brand{display:flex;align-items:center;justify-content:center;width:clamp(104px,10vw,190px);height:58px;min-width:0;overflow:hidden;padding:4px 6px;background:#fff;border-radius:6px}
.topbar .brand-button .post-login-brand img{display:block;width:100%;height:100%;object-fit:contain}
/* H13 - standalone pages: the compact header keeps its own layout and typography (matching the shell) against the page's topbar rules. */
header .erp-compact-host.topbar{display:grid;grid-template-columns:1fr auto 1fr;flex-direction:row;align-items:center;gap:16px;padding:10px 18px;width:100%;min-height:0;height:auto;font-family:"Mectto Geometric",Bahnschrift,"Arial Black",sans-serif;letter-spacing:normal;text-transform:none;color:#000}
header .erp-compact-host.topbar > div{display:block}
header .erp-compact-host.topbar .topbar-context{display:flex;flex-direction:row;align-items:center;gap:12px;justify-self:center}
header .erp-compact-host.topbar .topbar-right{display:flex;flex-direction:column;align-items:flex-end;gap:8px;justify-self:end;position:relative}
header .erp-compact-host.topbar .topbar-row{display:flex;flex-direction:row;align-items:center;gap:10px}
header .erp-compact-host.topbar .brand-button{justify-self:start;display:flex;flex-direction:row;align-items:center;gap:0;border:0;background:#fff;border-radius:14px;padding:8px 14px}
header .erp-compact-host.topbar .topbar-date{height:52px;min-width:0;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:10px;background:#fff;border:0;border-radius:12px;padding:0 14px;box-shadow:0 2px 8px rgba(0,0,0,.15)}
header .erp-compact-host.topbar #dateDay{font-family:Arial,sans-serif;font-size:28px;font-weight:400;color:#000;letter-spacing:normal;margin:0}
header .erp-compact-host.topbar .topbar-date-meta{display:flex;flex-direction:column;margin:0}
header .erp-compact-host.topbar .topbar-date-meta strong{font-size:10px;font-weight:900;letter-spacing:1.4px;color:#000;margin:0}
header .erp-compact-host.topbar .topbar-date-meta small{font-size:9px;font-weight:800;letter-spacing:normal;color:#000;margin:0}
header .erp-compact-host.topbar #appClock{height:52px;display:flex;flex-direction:row;align-items:center;background:#fff;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.15);padding:0 14px;color:#000;font-size:18px;font-weight:500;letter-spacing:normal;white-space:nowrap;margin:0}
header .erp-compact-host.topbar #appClockTime{font-family:Arial,sans-serif;font-size:20px;font-weight:900;color:#000;letter-spacing:normal;margin:0}
header .erp-compact-host.topbar #appClockMeridiem{font-size:18px;font-weight:500;color:#000;letter-spacing:normal;margin:0}
header .erp-compact-host.topbar .topbar-calculator-button{height:52px;min-width:120px;margin:0;border:0;border-radius:12px;background:#fff;color:#000;font-size:13px;font-weight:800;letter-spacing:normal;padding:0 18px;box-shadow:0 2px 8px rgba(0,0,0,.15);cursor:pointer}
header .erp-compact-host.topbar .account{height:52px;display:flex;flex-direction:row;align-items:center;padding:0 16px;margin:0;border-radius:12px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.15);color:#000}
header .erp-compact-host.topbar .account-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0;line-height:1.15}
header .erp-compact-host.topbar .account-copy strong{font-size:14px;font-weight:900;letter-spacing:normal;color:#000 !important;margin:0}
header .erp-compact-host.topbar .account-copy small{font-size:14px;font-weight:900;letter-spacing:normal;color:#000 !important;margin:2px 0 0}
header .erp-compact-host.topbar .erp-nav-controls{margin:0;gap:6px;display:flex;flex-direction:row;align-items:center;position:relative}
header .erp-compact-host.topbar .erp-nav-controls button{margin:0}
header .erp-compact-host.topbar .erp-more-menu{top:calc(100% + 8px)}
header .erp-compact-host.topbar .techbott-india{display:none}
/* H13 - an embedded employee-detail viewer (?embedded=1) shows no header: the host page already has its own. */
.employee-detail-embedded .erp-compact-host,.employee-detail-embedded header.erp-compact-header{display:none !important}

/* H16 - full-width ERP submodule layout. A page whose top header is the shared compact header takes the whole viewport:
   its <main> wrapper no longer caps the width (Color Management had max-width:980px) or insets it (12-14px side margins).
   Pages whose own content sat inside those insets keep the same inner spacing through margin-inline on their children. */
main:has(> header.erp-compact-header){max-width:none !important;width:100% !important;margin-left:0 !important;margin-right:0 !important;padding-left:0 !important;padding-right:0 !important;padding-top:0 !important}
main.color-management:has(> header.erp-compact-header) > :not(header),
main.manual-attendance-shell:has(> header.erp-compact-header) > :not(header),
main.prc-shell:has(> header.erp-compact-header) > :not(header),
main.epr-shell:has(> header.erp-compact-header) > :not(header){margin-left:clamp(16px,2vw,32px);margin-right:clamp(16px,2vw,32px)}
header.erp-compact-header{margin:0 !important;width:100% !important;max-width:none !important;box-sizing:border-box}
main:has(> header.erp-compact-header){border:0 !important;margin-top:0 !important;border-radius:0 !important;box-shadow:none !important}
header.erp-compact-header > :not(.erp-compact-host){padding-left:clamp(16px,2vw,32px);padding-right:clamp(16px,2vw,32px)}

/* H18 - compact header integrity on converted pages.
   A page's old top-bar height (58px on EmployeePayRoll, 68px on Payroll Reports) must not clip the two-row shared bar. */
header.erp-compact-header{height:auto !important;max-height:none !important;overflow:visible !important}
/* A page's own .button colour rules (for example white text on the EmployeePayRoll top bar) must not hide the Calculator label. */
header.erp-compact-header .erp-compact-host .topbar-calculator-button{color:#000 !important;background:#fff !important;border-color:transparent !important}

/* H18 - READ-ONLY badge in the Payroll Reports title block (dark ink on the light page; the header copy is removed from the header row). */
body.payroll-reports-page .payroll-report-heading .payroll-read-only-title{display:inline-block;margin-left:10px;padding:3px 9px;border:1px solid #0d6f7088;border-radius:999px;background:#fff;color:#0d3443;font-size:11px;font-weight:800;letter-spacing:.12em;vertical-align:middle}

/* H18 - compact typography and spacing for the converted ERP administration pages (headings, labels, inputs and card gaps). */
main.color-management h1{font-size:26px}
main.color-management p{font-size:13px;margin:4px 0 0}
main.color-management{padding:18px 16px}
main.color-management header{margin-bottom:12px}
main.color-management .color-management-grid{gap:14px}
main.color-management .color-panel{padding:12px 14px}
main.color-management .color-panel h2{font-size:15px;margin:0 0 6px}
main.color-management .color-row{padding:6px 0;grid-template-columns:1fr 64px 96px;gap:8px}
main.color-management .color-row label{font-size:12px}
main.color-management .color-row input[type=color]{width:36px;height:26px}
main.color-management .color-row input[type=text]{height:28px;font-size:13px}
main.color-management .palette{grid-template-columns:repeat(12,1fr);gap:5px;margin-bottom:6px}
main.color-management .swatch{aspect-ratio:auto;height:28px}
main.color-management .color-actions{margin-top:10px}
main.color-management .color-actions button{padding:7px 11px;font-size:13px}
body.payroll-reports-page .payroll-report-heading h2{font-size:28px;margin:4px 0 3px}
body.payroll-reports-page .payroll-report-heading p{font-size:13px}
body.payroll-reports-page .payroll-report-heading{margin-bottom:12px}
body.payroll-reports-page .payroll-report-workspace{padding:18px 22px 28px}
main.manual-attendance-shell h1{font-size:26px}
main.epr-shell select,main.epr-shell input{font-size:14px}
main.epr-shell button{font-size:14px}
/* H18 - the report pages' own user-name row (display text only) repeats the compact header's identity; it is hidden, its buttons were already retired. */
body.payroll-reports-page header.erp-compact-header > .payroll-report-top-actions,
body.attendance-reports-page header.erp-compact-header > .attendance-report-top-actions{display:none !important}
/* H18 - heading sizes on EmployeePayRoll and Attendance Reports, moderated to match the other administration screens. */
main.epr-shell h1{font-size:28px}
body.attendance-reports-page header.attendance-report-heading h2{font-size:26px}

/* H19 - Color Management actions. APPLY ALL is dark ink with white text (21:1); ROLLBACK shows its disabled state truthfully. */
main.color-management .color-actions .apply{background:#102c31;color:#fff;border-color:#102c31}
main.color-management .color-actions button:disabled{opacity:.45;cursor:not-allowed}
main.color-management .color-actions button:focus-visible{outline:3px solid #000;outline-offset:2px}
main.color-management .theme-help{font-size:12px;color:#4b5d5a;margin:10px 0 0;line-height:1.5}
main.color-management #contrastWarning div{font-size:12px;line-height:1.5;margin-top:3px}
main.color-management #contrastWarning.error{color:#a33a32}
main.color-management .color-row label{font-weight:700}
/* H19 - validation output: passing lines are normal ink; only a refusal is red. */
main.color-management #contrastWarning{color:#102c31}
main.color-management #contrastWarning.error{color:#a33a32}

/* Floating Windows-style standard calculator: draggable by its title and resizable at the lower-right. */
.standard-calculator {
  position: fixed;
  top: 88px;
  right: 18px;
  z-index: 1200;
  width: 350px;
  height: 540px;
  min-width: 300px;
  min-height: 470px;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 100px);
  overflow: auto;
  resize: both;
  color: #1b1b1b;
  background: #f3f3f3;
  border: 1px solid #c9c9c9;
  border-radius: 12px;
  box-shadow: 0 22px 60px rgba(45, 20, 8, .28);
  font-family: "Segoe UI", Arial, sans-serif !important;
}

.calculator-titlebar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 10px 8px 16px;
  cursor: move;
  user-select: none;
  touch-action: none;
}

.calculator-titlebar > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.calculator-titlebar small {
  color: #a93400;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.calculator-titlebar strong {
  margin-top: 3px;
  overflow: hidden;
  font-size: 16px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calculator-titlebar > button {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  color: #3b3b3b;
  background: transparent;
  font-size: 24px;
  line-height: 1;
}

.calculator-titlebar > button:hover {
  color: #fff;
  background: #c42b1c;
}

.calculator-screen {
  min-height: 105px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 8px 18px 14px;
  overflow: hidden;
}

.calculator-screen span {
  width: 100%;
  min-height: 20px;
  overflow: hidden;
  color: #666;
  font-size: 13px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calculator-screen output {
  width: 100%;
  overflow: hidden;
  font-size: clamp(34px, 3vw, 46px);
  font-weight: 600;
  line-height: 1.15;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calculator-keypad {
  height: calc(100% - 163px);
  min-height: 300px;
  display: grid;
  grid-template-columns: repeat(4, minmax(54px, 1fr));
  grid-template-rows: repeat(6, minmax(44px, 1fr));
  gap: 3px;
  padding: 0 5px 6px;
}

.calculator-keypad button {
  min-width: 0;
  border: 1px solid #dedede;
  border-radius: 5px;
  color: #202020;
  background: #fafafa;
  font-size: 16px;
  transition: background .12s, border-color .12s;
}

.calculator-keypad button:hover,
.calculator-keypad button:focus-visible {
  z-index: 1;
  background: #e8e8e8;
  border-color: #c9c9c9;
  outline: 2px solid transparent;
}

.calculator-keypad .calculator-number {
  background: #fff;
  font-size: 19px;
  font-weight: 600;
}

.calculator-keypad .calculator-operator {
  font-size: 22px;
}

.calculator-keypad .calculator-equals {
  color: #fff;
  background: #e84b10;
  border-color: #d9430d;
  font-size: 22px;
}

.calculator-keypad .calculator-equals:hover,
.calculator-keypad .calculator-equals:focus-visible {
  background: #c93b07;
  border-color: #b93407;
}
