@font-face{font-family:Inter;src:url('./fonts/inter-latin-ext-wght-normal.woff2');font-weight:100 900}*{box-sizing:border-box}body{margin:0;background:#090d17;color:#eef1fa;font:14px Inter,system-ui,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #30394e;border-radius:10px;background:#192131;color:#edf0fb;padding:11px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:disabled{opacity:.5;cursor:default}button:hover:not(:disabled){border-color:#a475f2}button:focus-visible,a:focus-visible{outline:2px solid #b88aff;outline-offset:3px}svg{width:20px;height:20px;flex:none}label{display:block;color:#b8c4d9;font-size:13px}input,select,textarea{display:block;width:100%;min-width:0;border:1px solid #39455f;border-radius:10px;padding:13px;background:#101725;color:#f0f3fc;margin-top:9px}input:focus,select:focus,textarea:focus{outline:2px solid #a571f1}textarea{resize:vertical;line-height:1.7}h1,h2,h3{letter-spacing:-.03em}p{line-height:1.7}a{color:#ba94f4;text-decoration:none}.primary{background:linear-gradient(110deg,#9854f6,#7736e4);border-color:#ac77fa;color:white;font-weight:650}.text-button{border:0;background:none;color:#bfcbe3;padding:10px 0}.form-error{font-size:12px;color:#f5a0b5;white-space:pre-wrap}.form-error:empty{display:none}.logo{display:flex;align-items:center;gap:13px;flex:none}.logo img{width:195px;height:auto}.logo>span{color:#a475ff;border:1px solid #8157d8;border-radius:6px;padding:4px 8px;font-size:16px;font-weight:650}.login-page{position:relative;min-height:100dvh;padding:36px 4vw;overflow:hidden;background:radial-gradient(ellipse at 27% 12%,#47238452,transparent 46%),#090d17}.login-page>header,.login-page>footer{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:center}.login-page>header>span{display:flex;gap:9px;align-items:center;color:#acbad3}.login-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.12fr 1fr;gap:5vw;align-items:center;max-width:1560px;margin:52px auto 38px}.welcome h1{font-size:clamp(35px,3.5vw,60px);line-height:1.2;font-weight:720;margin:0}.welcome em{font-style:normal;color:#b391f8}.welcome>p{font-size:clamp(17px,1.8vw,27px);color:#a4b4d1;margin:20px 0 48px}.features>div{display:flex;gap:20px;align-items:center;margin:30px 0}.features strong{font-size:19px;font-weight:550}.features small{display:block;color:#9fafcc;font-size:14px;margin-top:8px}.color-icon{display:inline-flex;align-items:center;justify-content:center;width:49px;height:49px;border:1px solid #9361e8;border-radius:14px;background:#8b54d416;color:#b27dff;flex:none}.features .color-icon{width:65px;height:65px;border-width:2px}.features svg{width:32px;height:32px}.color-icon.message{color:#70dec7;border-color:#70dec7;background:#70dec70d}.color-icon.users{color:#59aff9;border-color:#59aff9;background:#59aff90d}.login-card{position:relative;padding:43px 48px;border:1px solid #494465;border-radius:24px;background:linear-gradient(135deg,#192131ee,#101726ef);box-shadow:0 20px 75px #0003}.big-lock{display:flex;align-items:center;justify-content:center;width:68px;height:68px;background:linear-gradient(145deg,#583891,#39206f);border-radius:17px;margin:0 auto 25px}.big-lock svg{width:34px;height:34px}.login-card h2{text-align:center;font-size:36px;margin:0 0 13px}.login-card>p{text-align:center;color:#9fafcc;font-size:16px;margin-bottom:32px}.login-card form>label{margin-top:24px}.input-icon{display:flex;align-items:center;gap:13px;border:1px solid #485472;border-radius:10px;background:linear-gradient(90deg,#151d2b,#182034);padding:0 15px;margin-top:9px}.input-icon>svg{color:#aabada}.input-icon input{border:0;outline:none;background:none;margin:0;padding:16px 0}.input-icon:focus-within{outline:2px solid #a475f2}.input-icon button{border:0;padding:4px;background:transparent;color:#b4c3dd}.forgot{display:block;margin:13px 0 14px auto}.submit{width:100%;padding:16px;font-size:17px;margin-top:10px}.login-note{display:flex;align-items:center;justify-content:center;gap:10px;border-top:1px solid #35405a;margin-top:33px;padding-top:25px;color:#8b9cb9;font-size:12px}.login-page>footer{font-size:12px;color:#8495b4;gap:20px}.ribbons{position:absolute;inset:45% -20% -45% -30%;pointer-events:none;transform:rotate(-13deg)}.ribbons i{position:absolute;display:block;width:80%;height:45%;border-radius:50%;border-top:2px solid #bc8fff99;box-shadow:0 -22px 55px #8240d947,inset 0 27px 40px #8545e32b;transform:rotate(15deg);top:30%;left:0}.ribbons i:nth-child(2){top:38%;left:18%;transform:rotate(-12deg)}.ribbons i:nth-child(3){top:42%;left:28%;border-color:#92bdff88;transform:rotate(25deg)}.setup-shell{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:30px;padding:20px}.setup-shell .login-card{width:min(480px,100%)}.setup-shell h2{font-size:26px}.setup-shell p{text-align:left;color:#aebbd1;font-size:13px}.setup-shell .qr{display:block;background:white;padding:12px;border-radius:10px;width:210px;height:210px;margin:auto}.work-layout{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100dvh}.work-layout>aside{position:sticky;top:0;height:100dvh;padding:28px 18px;border-right:1px solid #283147;background:#0c111c;display:flex;flex-direction:column}.work-layout .logo{gap:7px}.work-layout .logo img{width:140px}.work-layout .logo span{font-size:11px;padding:3px 5px}.nav-label{font-size:10px;letter-spacing:.17em;color:#7e8faa;margin:40px 14px 16px}.work-layout nav{display:grid;gap:8px}.work-layout nav button{justify-content:flex-start;background:none;border-color:transparent;color:#9eafcb;padding:13px}.work-layout nav .active{background:#8b50d419;border-color:#8760be58;color:#f3eaff;box-shadow:inset 3px 0 #ae75ff}.work-layout nav .active svg{color:#b78af3}.sidebar-bottom{margin-top:auto;font-size:10px;display:flex;gap:8px;align-items:center;color:#8593af;border-top:1px solid #283147;padding-top:20px}.workspace>header{padding:20px 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #242d3e;color:#aab8d0;font-size:12px;gap:20px}.workspace>header>div>span{color:#ba91ff;margin:0 12px}.user{display:flex;align-items:center;gap:12px}.user strong{font-size:12px}.user small{display:block;color:#8393ae;font-size:10px;margin-top:5px}.avatar{margin:0!important;width:35px;height:35px;display:grid;place-items:center;background:#7444af;border-radius:50%;color:white!important}.icon-button{padding:8px;border-color:transparent;background:transparent;font-size:23px}.workspace main{padding:36px;max-width:1700px;margin:auto}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.heading h1{font-size:31px;margin:8px 0}.heading p{color:#8b9db8;font-size:13px;margin:0}.eyebrow{font-size:10px;letter-spacing:.17em;color:#b696e8}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:25px}.panel{border:1px solid #2e384c;background:linear-gradient(120deg,#171e2c,#111825);border-radius:17px;padding:24px}.stat{justify-content:flex-start;gap:18px;text-align:left}.stat>span:last-child{color:#9eacc3;font-size:12px}.stat strong{display:block;font-size:31px;color:#f2effc;margin-top:10px}.stat.in_progress .color-icon{color:#e9bd72;background:#e9bd7212;border-color:#e9bd723a}.stat.resolved .color-icon{color:#67d9b9;background:#67d9b912;border-color:#67d9b93a}#filters{display:flex;gap:12px;margin-bottom:22px}.search{display:flex;align-items:center;gap:9px;border:1px solid #354159;background:#101725;border-radius:10px;padding:0 12px;flex:1;color:#92a4c1}.search input{border:0;margin:0;padding:13px 0;background:none;outline:none}#filters select{width:180px;margin:0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;color:#8597b2;font-size:10px;font-weight:500;padding:14px 12px;border-bottom:1px solid #313b4f;background:#ffffff02}td{padding:18px 12px;border-bottom:1px solid #283347;color:#aebbce}.case-link{display:block;text-align:left;background:none;border:0;padding:0;color:#e2e9f7;max-width:380px}.case-link strong{display:block;font-size:12px;line-height:1.5}.case-link small{display:block;margin-top:8px;color:#8597b3;font-size:10px}.badge{display:inline-flex;padding:5px 9px;border-radius:20px;border:1px solid #a570ff35;color:#bd91fa;background:#8d55df17;font-size:10px;white-space:nowrap}.badge.in_progress{color:#ecc17c;border-color:#d8a34a38;background:#d8a34a12}.badge.resolved{color:#7edac1;border-color:#67c4aa38;background:#67c4aa12}.pager{display:flex;justify-content:space-between;align-items:center;margin-top:20px;color:#8898b2;font-size:12px}.empty{text-align:center;color:#8e9eb8;padding:25px}.case-dialog{width:min(1000px,calc(100vw - 24px));max-height:calc(100dvh - 30px);margin:auto;padding:28px;border-radius:21px;border:1px solid #4e4968;background:#141c2b;color:#e6edfa;overflow:auto}.case-dialog::backdrop{background:#030813bf;backdrop-filter:blur(5px)}.case-dialog h2{font-size:23px;margin:0}.case-summary{display:flex;justify-content:space-between;gap:15px}.case-summary h3{margin:13px 0 5px}.case-summary p{font-size:13px;color:#a7b6cf;margin:0}.case-summary small{display:block;color:#7f90ab;margin:10px 0;font-size:10px;overflow-wrap:anywhere}.original-message{white-space:pre-wrap;overflow-wrap:anywhere;padding:18px;background:#0e1523;border:1px solid #313b50;border-radius:12px;line-height:1.7;margin:14px 0}.case-settings{display:flex;gap:13px;align-items:end;flex-wrap:wrap;padding:20px 0;border-bottom:1px solid #2d394f}.case-settings label{flex:1;min-width:140px}.case-settings>.form-error{width:100%}.case-dialog h3{font-size:14px}.messages{display:grid;gap:12px;margin:20px 0;max-height:350px;overflow:auto}.message{border:1px solid #35425a;border-radius:13px;padding:15px;background:#101826}.message.staff{background:#9257d412;border-color:#9257d43d}.message.internal{background:#cca44710;border-color:#cca44740}.message header{display:flex;justify-content:space-between;gap:15px;font-size:11px;color:#b6a2d3}.message time{font-size:10px;color:#8293af}.message p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;margin-bottom:0}.reply-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:15px}.checkbox{display:flex;align-items:center;gap:8px;font-size:12px}.checkbox input{width:16px;margin:0;accent-color:#a36bed}.case-photos{display:flex;gap:12px}.case-photos img{width:110px;height:75px;object-fit:cover;border:1px solid #475575;border-radius:9px}.category-list>div{display:flex;align-items:center;gap:20px;padding:17px 0;border-bottom:1px solid #2f394f}.category-list strong{margin-right:auto}.category-list span{font-size:11px;color:#8da0bd}.notice{display:none;position:fixed;z-index:10000;bottom:24px;right:24px;padding:15px 22px;border-radius:12px;background:#223f35;border:1px solid #529c79;max-width:min(480px,calc(100vw - 48px));font-size:13px}.notice.show,.notice.error{display:block}.notice.error{background:#422437;border-color:#a45d7b}
@media(max-width:1050px){.login-grid{gap:30px}.login-card{padding:30px}.welcome h1{font-size:38px}.features strong{font-size:15px}.features small{font-size:12px}.work-layout{grid-template-columns:190px 1fr}.work-layout .logo img{width:108px}.workspace main{padding:23px}.workspace>header{padding:16px 23px}.stats{gap:10px}.stat{padding:16px;gap:10px}.stat .color-icon{width:37px;height:37px}}
@media(max-width:760px){.login-page{padding:24px 20px}.login-page>header>span{font-size:0}.login-grid{grid-template-columns:1fr;margin-top:35px}.welcome h1{font-size:32px}.welcome>p{font-size:16px;margin:13px 0}.features{display:none}.login-card{max-width:500px;width:100%;margin:auto}.login-card h2{font-size:30px}.login-page .logo img{width:155px}.login-page>footer{margin-top:30px;font-size:10px}.ribbons{inset:65% -80% -20% -90%}.work-layout{display:block}.work-layout>aside{height:auto;position:relative;padding:16px}.work-layout nav{display:flex;overflow:auto;margin-top:15px}.work-layout nav button{white-space:nowrap;padding:9px;font-size:11px}.nav-label,.sidebar-bottom{display:none}.workspace>header{padding:13px 16px}.workspace>header>div:first-child{display:none}.workspace>header{justify-content:flex-end}.workspace main{padding:20px 14px}.stats{grid-template-columns:1fr}.stat strong{display:inline;margin-left:20px;font-size:25px}.stat>span:last-child{flex:1;display:flex;align-items:center;justify-content:space-between}.heading{align-items:flex-start}.heading h1{font-size:26px}#filters{flex-wrap:wrap}.search{flex-basis:100%}.panel{padding:16px}.case-dialog{padding:19px}.case-settings{display:grid;grid-template-columns:1fr 1fr}.case-settings label{min-width:0}.reply-footer{align-items:stretch;flex-direction:column}.message header{flex-direction:column;gap:5px}.category-list>div{gap:8px;flex-wrap:wrap}.category-list strong{width:100%}}

.nav-section{font-size:9px;letter-spacing:.14em;color:#788aa8;padding:20px 13px 5px}.settings-group{margin-top:20px;border-top:1px solid #273148;padding-top:16px}.settings-group>button{width:100%}.group-chevron{margin-left:auto;display:flex}.group-chevron svg{width:16px;height:16px;transition:transform .15s}.group-chevron.open svg{transform:rotate(90deg)}#settings-menu{padding:8px 0 0 14px}#settings-menu[hidden]{display:none}#settings-menu button{width:100%;font-size:12px}.work-layout>aside{overflow-y:auto}.admin-tabs{display:flex;gap:8px;border-bottom:1px solid #313b50;margin-bottom:25px;padding-bottom:12px;overflow:auto}.admin-tabs button{white-space:nowrap;background:transparent;border-color:transparent;color:#99acca}.admin-tabs button.active{background:#8b50d423;border-color:#a371e866;color:#d2afff}.admin-tabs svg{width:18px;height:18px}.quick-grid,.module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.quick-grid button{text-align:left;justify-content:flex-start;padding:20px;background:#0e1623}.quick-grid button>svg{margin-left:auto;width:16px}.quick-grid small{display:block;color:#91a3be;font-size:11px;margin-top:7px}.module-plan{margin-top:24px}.module-grid article,.plan-grid article{padding:18px;border:1px solid #313d53;border-radius:12px;background:#111927}.module-grid h3,.plan-grid h3{margin:0 0 10px;font-size:14px}.module-grid p,.plan-grid p{font-size:12px;line-height:1.7;color:#a6b6cf}.module-grid small,.plan-grid small{font-size:11px;color:#ae8fdf}.plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.catalog-note{font-size:12px;line-height:1.8;color:#9aabc5;padding:12px 15px;background:#a776ee0a;border-left:2px solid #9663d2}.catalog-search{display:flex;align-items:end;gap:12px;margin:22px 0}.catalog-search label{flex:1}.cell-note{display:block;color:#a88bd1;margin-top:5px}.panel h2{font-size:18px}.color-icon.user{color:#77adf6;border-color:#4779a5}.color-icon.settings{color:#d4a0fa;border-color:#865aab}
@media(max-width:760px){.nav-section{display:none}.settings-group{margin:0;border:0;padding:0;flex:none}#settings-menu{padding:0}.quick-grid,.module-grid{grid-template-columns:1fr}.quick-grid button{padding:15px}.admin-tabs button{font-size:12px;padding:10px}.catalog-search{flex-wrap:wrap}.work-layout>aside{overflow:visible}}
/* Catalog management */
.catalog-actions,.catalog-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.catalog-toolbar{margin:24px 0}.catalog-toolbar input{flex:1;min-width:180px}.catalog-tabs{display:flex;padding:4px;background:#0c111e;border:1px solid #313b52;border-radius:12px;gap:4px}.catalog-tabs button{border:0;background:transparent}.catalog-tabs .selected{background:linear-gradient(120deg,#9e58f1,#702bef);color:white}.catalog-tabs small{margin-left:10px;opacity:.7}.category-tree{border-top:1px solid #30394d}.category-row{display:flex;align-items:center;gap:12px;min-height:76px;border-bottom:1px solid #293246;padding:10px 6px}.category-row:hover{background:#b17aff08}.category-label{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding-left:calc(var(--depth)*26px)}.category-row.inactive .category-name{opacity:.55}.tree-toggle,.tree-spacer{width:24px;min-width:24px;padding:0;background:transparent;border:0;font-size:24px}.category-name{display:block;min-width:0;flex:1;text-align:left;background:none;border:0;padding:6px}.category-name strong,.category-name small{display:block;overflow-wrap:anywhere}.category-name small{font-size:12px;margin-top:5px;color:#8fa0be}.category-color{display:inline-flex;padding:10px;border-radius:11px;background:#9953ed20;color:#be8aff}.category-color.income{color:#60dcc2;background:#31bda31b}.category-color svg{width:20px;height:20px}.catalog-footnote{font-size:12px;color:#91a0ba;margin:18px 0 0}.catalog-dialog{max-width:780px}.catalog-form{display:grid;gap:18px}.catalog-form .catalog-actions{justify-content:flex-end;border-top:1px solid #30394d;padding-top:18px}.catalog-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.catalog-columns.three{grid-template-columns:1fr 1fr 1fr}.catalog-metadata{padding:15px;background:#0c1220;border-radius:12px;color:#9eabc3}.catalog-metadata summary{cursor:pointer}.catalog-metadata dl{display:grid;grid-template-columns:140px 1fr;gap:10px;font-size:13px}.catalog-metadata dd{margin:0;overflow-wrap:anywhere}.bulk-preview{max-height:240px;overflow:auto;background:#0c1220;padding:14px;border-radius:12px}.bulk-preview>div{padding:10px;border-bottom:1px solid #293246}.bulk-preview small{display:block;color:#92a1bb;margin-top:6px}.catalog-plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px;margin-top:22px}.catalog-plan{text-align:left;display:block;padding:24px;background:linear-gradient(150deg,#1b2034,#101724);white-space:normal}.catalog-plan>strong{font-size:24px}.catalog-plan>strong small{font-size:13px}.catalog-plan .badge{float:right}.catalog-plan.featured{border-color:#9953ed}.catalog-plan p{line-height:1.6}.catalog-form textarea{width:100%;resize:vertical}.catalog-form>.danger{justify-self:start}@media(max-width:650px){.catalog-columns,.catalog-columns.three{grid-template-columns:1fr}.category-label{padding-left:calc(var(--depth)*12px)}.category-row{gap:5px}.category-color{display:none}.catalog-metadata dl{grid-template-columns:1fr}}

/* Parent-selected bulk entry */
.bulk-dialog{max-width:880px}.bulk-intro{display:flex;align-items:center;gap:14px}.bulk-intro p{margin:6px 0 0;line-height:1.5;font-size:13px;color:#9caac2}.bulk-destination{margin:0;padding:12px 16px;border:1px solid #9960ed30;background:#9960ed0c;border-radius:10px;color:#bca3e8;font-size:13px;overflow-wrap:anywhere}.bulk-table-head,.bulk-entry{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) 38px;gap:12px;align-items:center}.bulk-table-head{font-size:12px;color:#c8d1e3;margin-bottom:-8px}.bulk-table-head small{color:#8190aa}.bulk-rows{display:grid;gap:12px;max-height:360px;overflow-y:auto;padding:3px}.bulk-entry label{margin:0;min-width:0}.bulk-entry input{width:100%;min-width:0}.bulk-entry button{width:36px;height:38px;padding:0;font-size:22px;color:#afbbd0}.bulk-row-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.bulk-row-footer small{color:#8b9bb7}.bulk-mobile-label{display:none}.bulk-entry button:disabled{opacity:.25}.bulk-dialog .catalog-actions{position:sticky;bottom:-1px;background:#131a28;padding-bottom:4px}@media(max-width:600px){.bulk-table-head{display:none}.bulk-entry{grid-template-columns:minmax(0,1fr) 32px;padding:14px;border:1px solid #31394e;border-radius:12px;gap:10px}.bulk-entry label{grid-column:1}.bulk-entry button{grid-column:2;grid-row:1/3;width:30px}.bulk-mobile-label{display:block;font-size:12px;color:#a6b2c8;margin-bottom:6px}.bulk-rows{max-height:350px}.bulk-intro .category-color{display:none}}

.select-control{display:inline-flex;position:relative;min-width:0;max-width:100%;vertical-align:middle;letter-spacing:normal}label>.select-control{display:flex;width:100%}.custom-select-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;padding:0!important;border:0!important;clip-path:inset(50%)}.select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:43px;width:100%;min-width:0;padding:10px 13px;background:#101622;border:1px solid #343b4e;border-radius:10px;color:var(--text);font:inherit;font-size:13px;text-align:left}.select-trigger:hover:not(:disabled){border-color:#77589c}.select-trigger[aria-expanded=true]{border-color:#b185ff;box-shadow:0 0 0 2px #aa76ef22}.select-value{display:flex;align-items:center;flex-wrap:wrap;gap:5px;min-width:0;overflow-wrap:anywhere}.select-crumb{display:inline-flex;color:#ac7aff;flex-shrink:0}.select-crumb svg{width:13px;height:13px}.select-arrow{display:flex;flex-shrink:0;color:#b5aec6}.select-arrow svg{transform:rotate(90deg)}[aria-expanded=true]>.select-arrow svg{transform:rotate(-90deg)}.select-popup{position:fixed;z-index:10000;display:flex;flex-direction:column;padding:8px;background:linear-gradient(135deg,#181e2c,#101622);border:1px solid #9066c9;border-radius:13px;box-shadow:0 18px 60px #0009;color:var(--text);font-family:'Inter Variable',sans-serif;letter-spacing:normal;overflow:hidden}.select-search-wrap{padding:4px 4px 10px;flex-shrink:0}.select-search{font-size:13px!important;padding:11px 12px!important;background:#0e1420;border-color:#333b50;border-radius:8px}.select-options{overflow:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#6d548b #141a26}.select-row{display:flex;align-items:center;min-height:40px;padding-left:calc(var(--level)*16px);border-radius:7px;margin:2px 0;position:relative}.select-row.selected{background:#9462dd25;box-shadow:inset 3px 0 #ae7dff}.select-expand{width:28px;min-height:36px;padding:6px;border:0;background:none;color:#c6b6e4;display:flex;align-items:center;justify-content:center;flex-shrink:0}.select-expand[aria-expanded=true] svg{transform:rotate(90deg)}.select-indent{width:28px;flex-shrink:0}.select-option{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:1;min-width:0;border:0;border-radius:7px;padding:11px 10px;background:transparent;text-align:left;color:#e3e6f0;font-size:13px;line-height:1.4}.select-option>span:first-child{overflow-wrap:anywhere}.select-option:hover:not(:disabled),.select-expand:hover{background:#a37dd419}.select-option:focus-visible,.select-expand:focus-visible{outline:1px solid #b387f7;outline-offset:-2px;background:#9c71d821}.select-group-name{font-size:12px;color:#929eb5;padding:10px}.select-tick{color:#be93ff;font-size:17px;flex-shrink:0}.select-empty{padding:20px;text-align:center;font-size:13px;color:var(--muted)}.topbar .select-trigger{min-height:36px;font-size:12px;padding:7px 10px}.workspace-label .select-trigger{font-size:12px}.filterbar>.select-control{min-width:140px}dialog .select-control{width:100%}@media(max-width:800px){.select-popup{border-radius:11px}.select-option{font-size:12px}.select-row{padding-left:calc(var(--level)*11px)}.select-trigger{font-size:12px}.topbar .select-control{max-width:90px}.topbar .select-trigger{gap:4px}.select-crumb svg{width:12px;height:12px}.filterbar>.select-control{flex:1}}
.select-popup{color:#e4e8f4}.select-trigger{color:#e4e8f4}.select-control{width:100%}.case-history{margin-top:28px}.case-history summary{cursor:pointer;font-weight:700}.case-history article{border-left:2px solid #8050c6;margin:16px 0;padding:4px 16px}.case-history article p{margin:8px 0}.case-history small{color:#91a0bb}.badge.reopened{background:#e1a34822;color:#ffcb7c;border-color:#dfac4744}
.person-dialog{max-width:1080px}.person-summary{display:flex;align-items:center;gap:16px;margin-bottom:24px}.person-summary h3{margin:0 0 7px}.person-tabs{display:flex;gap:8px;overflow:auto;border-bottom:1px solid #30394d;padding-bottom:12px;margin-bottom:24px}.person-tabs button{white-space:nowrap}.person-tabs [aria-selected=true]{color:#cdaaff;background:#9861eb20;border-color:#9061bc}.person-form{display:grid;gap:18px}.person-data{display:grid;grid-template-columns:1fr 1fr;gap:24px}.person-data dt{color:#90a1bf;font-size:13px}.person-data dd{margin:8px 0;overflow-wrap:anywhere}.person-space,.person-subscription,.person-log{padding:18px;border:1px solid #2d374d;border-radius:12px;margin:14px 0}.person-space summary{cursor:pointer;font-weight:600}.person-space summary small{float:right;color:#90a1bf}.person-log small{display:block;color:#90a1bf}.person-subscription .badge{margin-left:12px}[data-person]{cursor:pointer}[data-person]:hover{background:#9761e512}.person-created{display:grid;gap:16px}.person-form textarea{width:100%}@media(max-width:650px){.person-data{grid-template-columns:1fr}.person-tabs{gap:4px}.person-tabs button{padding:8px}}
.stats{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.stat.reopened .color-icon{background:#d79b3220;color:#e9b86a}

/* Mivora WORK HR — navy, violet, cyan; all data comes from HR APIs. */
:root{--hr-bg:#071728;--hr-panel:#0c1d30;--hr-border:#1c3657;--hr-text:#eef0ff;--hr-muted:#abb8e4;--hr-purple:#9450ff;--hr-green:#00d9aa;--hr-blue:#379bff;--hr-amber:#ffbc42;--hr-pink:#ff4d7d}body{background:#061526;color:var(--hr-text)}.work-layout>aside{background:linear-gradient(160deg,#081c30,#081421);border-color:var(--hr-border)}.workspace>header{background:#071829;border-color:var(--hr-border)}.workspace main{background:radial-gradient(ellipse at 65% 0,#15264060,transparent 65%),#071525;padding:30px 24px}.workspace #content{max-width:1800px;margin:auto}.primary{background:linear-gradient(110deg,#9745ff,#6926fa);border:1px solid #9c5fff;box-shadow:0 3px 18px #7e30ff20}.work-layout nav button.active{background:linear-gradient(100deg,#6330c950,#5525d030);border-color:#8848e4;color:#d8bdff}.hr-heading h1{font-size:32px;letter-spacing:-.7px;margin:8px 0}.hr-heading p{color:var(--hr-muted)}.hr-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.hr-card{background:linear-gradient(130deg,#102137,#0b1b2d);border:1px solid var(--hr-border);border-radius:12px;padding:20px;min-width:0;margin-bottom:14px}.hr-card h3{display:flex;align-items:center;gap:10px;font-size:16px;margin:0 0 18px}.hr-card svg{width:21px;height:21px;flex:none;color:#b18aff}.hr-icon{display:inline-flex;align-items:center;justify-content:center;width:45px;height:45px;border-radius:12px;background:#9149ff24;color:#b780ff;flex:none}.hr-icon svg{width:24px;height:24px;color:inherit}.hr-icon.green{color:#06deb0;background:#00d3ab1c}.hr-icon.blue{color:#469fff;background:#258cfd1d}.hr-icon.amber{color:#ffc552;background:#ffba3520}.hr-icon.pink{color:#ff5a83;background:#ff4d751c}.hr-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.hr-stat{display:flex;align-items:center;gap:15px;padding:18px;border:1px solid var(--hr-border);border-radius:12px;background:linear-gradient(130deg,#142339,#0a1d30)}.hr-stat>div{min-width:0}.hr-stat span{font-size:13px;color:var(--hr-muted)}.hr-stat strong{display:block;font-size:30px;line-height:1.3;margin-top:4px;color:#f8f7ff}.hr-master{display:grid;grid-template-columns:1fr;gap:18px;align-items:start}.hr-master.has-detail{grid-template-columns:minmax(290px,.68fr) minmax(0,1.32fr)}.hr-directory{padding:16px;position:sticky;top:16px}.hr-list-heading{display:flex;justify-content:space-between;align-items:start;gap:10px}.hr-list-heading small{font-size:11px;color:#a5b1d5}.hr-search{display:flex;gap:8px;margin:10px 0 18px}.hr-search input{min-width:0;flex:1}.hr-person-list{display:grid;gap:5px;max-height:70vh;overflow:auto}.hr-person{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid transparent;border-bottom-color:#18314f;border-radius:8px;background:transparent;padding:14px 10px;white-space:normal}.hr-person.selected{background:linear-gradient(100deg,#783ddb38,#7c55ba15);border-color:#9464eb;box-shadow:inset 3px 0 #a966ff}.hr-person>span:nth-child(2){flex:1;min-width:0}.hr-person strong{display:block;font-size:14px}.hr-person small{display:block;font-size:11px;color:#a4b3db;margin-top:4px;overflow-wrap:anywhere}.hr-avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#9148eb,#3159a2);display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;flex:none;color:#fff;overflow:hidden;border:1px solid #c7adff50}.hr-avatar img{width:100%;height:100%;object-fit:cover}.hr-avatar.large{width:90px;height:90px;font-size:28px}.hr-badge{display:inline-flex;align-items:center;gap:6px;border:1px solid #7250bf60;border-radius:6px;padding:5px 9px;color:#c5a2ff;background:#693daf20;font-size:11px;white-space:nowrap}.hr-badge i{width:6px;height:6px;border-radius:50%;background:currentColor}.hr-badge.active,.hr-badge.approved{color:#03dfb0;border-color:#00ba9460;background:#00af8318}.hr-badge.probation,.hr-badge.pending{color:#ffc247;border-color:#b8842460;background:#d69f1918}.hr-badge.leaving,.hr-badge.rejected,.hr-badge.canceled{color:#ff5b83;border-color:#b9466660;background:#d7466a18}.hr-badge.submitted{color:#4aabff;background:#2a74b726}.hr-master.has-detail .hr-person{flex-wrap:wrap}.hr-master.has-detail .hr-person .hr-badge{margin-left:54px}.hr-detail{border:1px solid var(--hr-border);background:#08192b;border-radius:12px;overflow:hidden}.hr-detail[hidden]{display:none}.hr-profile-header{display:flex;align-items:center;gap:20px;padding:24px;background:radial-gradient(ellipse at top right,#5529a92b,transparent),#0c1b2e}.hr-profile-header h2{font-size:28px;margin:7px 0}.hr-profile-header p{font-size:14px;margin:5px 0 12px;color:var(--hr-muted)}.hr-profile-header>[data-close-detail]{margin-left:auto;align-self:start}.hr-profile-actions{display:flex;gap:8px;flex-wrap:wrap;padding:0 24px 18px}.hr-tabs{display:flex;gap:4px;overflow:auto;border-bottom:1px solid var(--hr-border);padding:0 15px;scrollbar-width:thin}.hr-tabs button{border:0;border-radius:0;background:none;padding:14px 10px;border-bottom:3px solid transparent;white-space:nowrap;color:var(--hr-muted);font-size:12px}.hr-tabs button.active{border-bottom-color:#a256ff;color:#c293ff}.hr-tab-content{padding:18px;min-height:300px}.hr-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hr-cards .hr-card{padding:16px;margin:0}.hr-fields{margin:8px 0}.hr-fields>div{display:grid;grid-template-columns:minmax(95px,.8fr) minmax(0,1fr);gap:10px;padding:10px 0;border-bottom:1px solid #30426640;font-size:12px}.hr-fields dt{color:var(--hr-muted)}.hr-fields dd{margin:0;overflow-wrap:anywhere}.hr-text{color:#b28aff!important;background:none!important;border:0!important;padding:0!important;font-size:12px;display:flex;align-items:center;gap:5px;margin:0 0 12px}.hr-text svg{width:14px;height:14px}.hr-dialog{max-width:780px;background:linear-gradient(140deg,#112239,#0b192d);border-color:#354974}.hr-form{display:grid;gap:18px}.hr-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.hr-form label{min-width:0}.hr-form input,.hr-form select,.hr-role-form input,.hr-role-form select{background:#09182a;border-color:#2a4064}.hr-form>.primary{justify-self:end;min-width:170px}.hr-unit-tree{border:1px solid #263c60;border-radius:8px;padding:12px;background:#081829;max-height:240px;overflow:auto}.hr-unit-tree details{padding:7px 0}.hr-unit-tree summary{cursor:pointer;color:#bd97ff}.hr-unit-tree details>div{padding-left:20px}.hr-check{display:flex!important;align-items:center;gap:10px!important;margin:7px 0;font-size:13px!important}.hr-check input{width:17px!important;height:17px!important;flex:none;accent-color:#9747ff}.hr-photo-preview{display:flex;justify-content:center}.hr-photo-preview canvas{width:220px;height:220px;max-width:100%;border-radius:50%;border:2px solid #9850ff;background:#081526}.hr-form input[type=range]{padding:0;accent-color:#9c58ff}.hr-timeline{border-left:2px solid #3b2d6a;margin-left:8px;padding:2px 0 20px 20px;position:relative}.hr-timeline i{position:absolute;left:-7px;top:3px;width:12px;height:12px;border-radius:50%;background:#a054ff}.hr-timeline:nth-child(even) i{background:#00d5ab}.hr-timeline strong{display:block;font-size:13px}.hr-timeline small{display:block;color:var(--hr-muted);font-size:11px;margin-top:6px}.hr-permission-layout{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(360px,1.9fr) minmax(200px,.8fr);gap:14px}.hr-role-choice{display:flex;width:100%;gap:10px;align-items:center;text-align:left;background:none;border:1px solid transparent;border-bottom-color:#21314d;white-space:normal;margin-top:6px;padding:12px 5px}.hr-role-choice.selected{background:#703cba35;border-color:#8c52da}.hr-role-choice strong,.hr-role-choice small{display:block}.hr-role-choice small{font-size:11px;color:var(--hr-muted);margin-top:6px}.hr-role-list input{margin-bottom:12px}.hr-role-form{display:grid;gap:14px}.hr-role-form h2{font-size:22px;margin:0}.hr-permission-tree details{border:1px solid #223c5e;border-radius:8px;margin:8px 0;overflow:hidden}.hr-permission-tree summary{background:#0b2340;padding:14px;cursor:pointer;font-weight:600;color:#dac5ff}.hr-permission-row{display:grid;grid-template-columns:1fr 170px;gap:10px;align-items:center;border-top:1px solid #213650;padding:8px 12px}.hr-permission-row strong{font-size:12px;font-weight:500}.hr-permission-row small{display:block;color:#acb9d8;font-size:11px;margin-top:4px}.hr-permission-row select{font-size:11px;padding:8px}.hr-permission-row .mn-select{min-width:0}.hr-permission-row .mn-select-trigger{font-size:11px}.hr-sticky-actions{position:sticky;bottom:0;background:#0d1e32;padding:14px 0;border-top:1px solid #293e60;z-index:2}.hr-sticky-actions small{display:block;color:#bdc8e3;margin-bottom:10px}.hr-member{padding:16px 0;border-bottom:1px solid #253851}.hr-member>small{display:block;color:#a5b4d7;margin:6px 0;font-size:11px}.hr-member>div{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.hr-member button{font-size:11px;padding:7px}.hr-chip{display:inline-block;padding:6px 9px;border:1px solid #7652a450;border-radius:6px;background:#8443bd20;font-size:11px;color:#c8b2fa;margin:3px}.hr-role-summary{padding:15px 0;border-bottom:1px solid #253953}.hr-role-summary small{display:block;color:var(--hr-muted);margin-top:6px}.hr-record-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(270px,1fr);gap:14px;align-items:start}.hr-table tr[role=button]{cursor:pointer}.hr-table tr.selected{background:#7743bd2d;outline:1px solid #9761ed}.hr-person-cell{display:flex;gap:10px;align-items:center;font-size:13px}.hr-table td small{display:block;color:var(--hr-muted);margin-top:5px;font-size:11px}.hr-bar{height:6px;border-radius:8px;background:#223659;margin-top:9px;width:100%;min-width:50px;overflow:hidden}.hr-bar i{display:block;background:linear-gradient(90deg,#9754ff,#6840ff);height:100%;border-radius:inherit}.hr-time-detail .hr-bar i{background:#00dcb1}.hr-period{display:flex;align-items:center;border:1px solid #294365;border-radius:8px;overflow:hidden;gap:8px;white-space:nowrap;font-size:13px}.hr-period button{border:0;border-radius:0;background:#152542;color:#bd87ff;font-size:22px;padding:4px 12px}.hr-leave-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(270px,1fr);gap:14px}.hr-calendar-scroll{overflow:auto}.hr-leave-calendar{min-width:900px}.hr-calendar-line{display:grid;grid-template-columns:160px repeat(var(--days),minmax(22px,1fr));min-height:38px;border-bottom:1px solid #213955}.hr-calendar-line>span{display:flex;align-items:center;justify-content:center;border-left:1px solid #213955;font-size:11px}.hr-calendar-line>strong{font-size:12px;padding:9px 5px}.hr-calendar-line .leave-day{background:#7d3ee8;color:#c8a8ff}.hr-calendar-line .leave-day.approved{background:#00ac91;color:#6bffe0}.hr-legend{font-size:11px;color:var(--hr-muted);display:flex;align-items:center;gap:10px}.hr-legend i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#8c48ec}.hr-legend i.green{background:#00c4a1}.hr-request{border-top:1px solid #243a58;padding:15px 0}.hr-request .hr-person-cell>b{margin-left:auto;font-size:13px}.hr-request p{font-size:12px;overflow-wrap:anywhere}.hr-request .hr-actions button{font-size:12px;flex:1}.hr-radio{border:1px solid #294263;display:flex;gap:18px;padding:14px;border-radius:8px}.hr-radio input{width:16px;accent-color:#954aff}.hr-radio label{display:flex;align-items:center;gap:7px}.hr-document-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}.hr-warning{color:#ffc34d}.hr-org-node{margin:12px 0}.hr-org-node>summary{cursor:pointer;padding:10px;display:flex;align-items:center;gap:12px;background:#112640;border-radius:8px}.hr-org-node>summary button{margin-left:auto}.hr-org-node>div{padding-left:30px;border-left:1px solid #294266;margin-left:20px}.hr-tab-content .hr-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hr-tab-content .hr-record-layout,.hr-tab-content .hr-leave-layout{grid-template-columns:1fr}.hr-tab-content .hr-stat strong{font-size:24px}.hr-tab-content .heading{flex-wrap:wrap}.hr-tab-content .hr-period{font-size:11px}.hr-tab-content .hr-actions{gap:5px}.hr-tab-content .hr-actions button{font-size:11px}.muted{color:var(--hr-muted)}
@media(min-width:1650px){.hr-master.has-detail{grid-template-columns:minmax(350px,.65fr) minmax(0,1.35fr)}}
@media(max-width:1250px){.hr-permission-layout{grid-template-columns:210px minmax(0,1fr)}.hr-role-members{grid-column:1/-1}.hr-cards{grid-template-columns:1fr}.hr-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hr-master.has-detail{grid-template-columns:280px minmax(0,1fr)}.hr-record-layout,.hr-leave-layout{grid-template-columns:1fr}.hr-profile-header{gap:12px;padding:18px}.hr-profile-header h2{font-size:23px}.hr-avatar.large{width:70px;height:70px}}
@media(max-width:900px){.hr-master.has-detail{grid-template-columns:1fr}.hr-master.has-detail .hr-person-list{max-height:220px}.hr-directory{position:static}.hr-master.has-detail .hr-person .hr-badge{margin-left:auto}.hr-permission-layout{grid-template-columns:1fr}.hr-role-list{display:flex;flex-wrap:wrap;gap:8px}.hr-role-list h3,.hr-role-list input{width:100%}.hr-role-choice{width:auto;flex:1;min-width:150px}.hr-role-members{grid-column:auto}.hr-permission-editor{padding:14px}.hr-heading h1{font-size:26px}.workspace main{padding:20px 12px}.hr-list-heading small{display:none}}
@media(max-width:600px){.hr-form-grid{grid-template-columns:1fr}.hr-stat{padding:12px;gap:8px}.hr-stat strong{font-size:24px}.hr-stat span{font-size:11px}.hr-icon{width:34px;height:34px}.hr-stats{gap:8px}.hr-card{padding:14px}.hr-permission-row{grid-template-columns:1fr;padding:8px}.hr-person{flex-wrap:wrap}.hr-person .hr-badge{margin-left:54px}.hr-tab-content{padding:12px}.hr-profile-header h2{font-size:21px}.hr-fields>div{grid-template-columns:1fr}.hr-heading{align-items:start}.hr-heading .hr-actions{width:100%}.hr-tab-content .hr-stat .hr-icon{display:none}.hr-role-list .hr-icon{display:none}.hr-org-node>div{padding-left:10px;margin-left:7px}.hr-radio{flex-wrap:wrap}.hr-detail{min-width:0}.hr-photo-preview canvas{width:180px;height:180px}}
.hr-permission-tree{max-height:65vh;overflow:auto;scrollbar-width:thin}.hr-permission-row .select-trigger{font-size:11px;background:#0a1a2e;border-color:#2a4064}.workspace{min-width:0}.workspace>header .user .avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
@media(max-width:760px){.hr-heading{flex-wrap:wrap}.hr-heading>div{min-width:0}.hr-heading .hr-actions{width:100%}.hr-heading .hr-actions .primary{white-space:normal}.work-layout nav{align-items:center}.work-layout nav>button{flex:none}.settings-group{display:flex;align-items:center}.settings-group #settings-menu:not([hidden]){display:flex}.work-layout>aside{max-width:100%;box-sizing:border-box}}
.hr-overview-number{font-size:30px;font-weight:700;margin:18px 0}.hr-overview-number small{font-size:12px;color:#aebcdd;font-weight:400}

.mn-date-control{display:flex;align-items:center;position:relative;width:100%;margin-top:6px;border:1px solid #354057;border-radius:10px;background:#0f1522;min-width:0}.mn-date-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0;pointer-events:none;padding:0!important;min-height:0!important;border:0!important}.mn-date-control .mn-date-text{background:transparent!important;border:0!important;box-shadow:none!important;min-width:0;width:100%;margin:0;padding:11px 12px;font:inherit;color:#e9edfa}.mn-date-control:focus-within{outline:2px solid #9965ef;outline-offset:1px}.mn-date-button{display:grid;place-items:center;flex:none;width:36px;height:34px;margin:3px 5px 3px 0;border:0;border-radius:8px;color:#b28bf5;background:#8b55d522}.mn-date-button:hover{background:#985ee43d}.mn-date-popup{position:fixed;z-index:1000;padding:14px;background:linear-gradient(150deg,#1c2234,#121a28);border:1px solid #766097;border-radius:17px;box-shadow:0 22px 70px #0008;color:#edf0fa;font:13px Inter,system-ui,sans-serif;max-height:calc(100dvh - 24px);overflow:auto}.mn-date-popup header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.mn-date-popup button{font:inherit;cursor:pointer;background:transparent;border:0;border-radius:8px;color:inherit;padding:8px}.mn-date-popup header button{font-weight:650}.mn-date-popup header button:first-child,.mn-date-popup header button:last-child{background:#9260df1f;color:#c3a1fa;font-size:24px;padding:0;width:32px;height:32px}.mn-date-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.mn-date-grid>span{font-size:11px;color:#9daac0;text-align:center;padding:4px 0 8px}.mn-date-grid button{height:34px;padding:0}.mn-date-popup button:hover{background:#9b6cea2e}.mn-date-grid .outside{color:#646f87}.mn-date-popup button.today{box-shadow:inset 0 0 0 1px #a274ec;color:#d7bdff}.mn-date-popup button.selected{background:linear-gradient(130deg,#a367fb,#783be0);color:white}.mn-date-popup button:disabled{opacity:.25;cursor:default}.mn-date-popup footer{display:flex;gap:6px;justify-content:space-between;border-top:1px solid #30384b;margin-top:12px;padding-top:8px;font-size:11px;color:#bc91fa}.mn-month-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.mn-month-grid button{padding:16px 5px}.mn-date-popup button:focus-visible{outline:2px solid #c6a0ff;outline-offset:1px}

.hr-role-form>label{margin:0}.hr-permission-editor .catalog-note{margin:4px 0}.hr-permission-layout{align-items:start}.hr-permission-tree{max-height:52vh}.hr-sticky-actions{position:static}.hr-role-members{min-height:240px}
/* ERP navigation and resource/action matrix */
.erp-nav-group{margin:8px 0;border:1px solid transparent;border-radius:12px;background:#0c192b}
.erp-nav-group>summary{display:flex;align-items:center;gap:10px;padding:13px 11px;cursor:pointer;list-style:none;color:#e7e9ff;font-weight:650}
.erp-nav-group>summary::-webkit-details-marker{display:none}.erp-nav-group>summary>svg:first-child{color:#af7bff}.erp-nav-group.hr>summary>svg:first-child{color:#37c8ff}.erp-nav-group.helpdesk>summary>svg:first-child{color:#18d4ac}.erp-nav-group.customers>summary>svg:first-child{color:#ffbc42}
.erp-nav-group>summary>svg:last-child{margin-left:auto;width:14px;transition:transform .15s}.erp-nav-group[open]>summary>svg:last-child{transform:rotate(90deg)}.erp-nav-group>div{padding:0 5px 6px 14px}.erp-nav-group>div>button{font-size:12px}
.hr-permission-layout{grid-template-columns:220px minmax(0,1fr);align-items:start}.hr-role-list{grid-column:1;grid-row:1 / span 2}.hr-permission-editor{grid-column:2}.hr-role-members{grid-column:2}.hr-role-members .hr-member{display:inline-flex;vertical-align:top;flex-direction:column;margin:8px;padding:15px;max-width:340px;border:1px solid #253953;border-radius:12px}
.erp-matrix-wrap{max-height:65vh;border:1px solid #293d59;border-radius:12px;overflow:auto}.erp-permission-group>summary{display:flex;gap:10px;align-items:center;background:#132a46;color:#dcc6ff;padding:16px;cursor:pointer;position:sticky;left:0}.erp-permission-group>summary svg{width:18px;color:#b68aff}
.erp-matrix{width:100%;min-width:780px;border-collapse:collapse;table-layout:fixed}.erp-matrix th,.erp-matrix td{padding:12px 9px;vertical-align:top;border-bottom:1px solid #23364e;white-space:normal}.erp-matrix th:first-child{width:155px;text-align:left}.erp-matrix th:nth-child(2){width:75px}.erp-matrix th:last-child{width:200px}.erp-matrix thead{background:#09182b}.erp-matrix tbody tr:nth-child(even){background:#102035}.erp-matrix td{text-align:center}.erp-matrix tbody th{color:#e1e8f7;font-size:12px;line-height:1.5}.erp-matrix input[type=checkbox]{width:18px;height:18px;accent-color:#a253ff;cursor:pointer;margin:3px}.matrix-grant{display:flex;flex-direction:column;align-items:center;gap:6px;margin:0 0 12px;font-size:11px}.matrix-grant>span{display:flex;align-items:center;gap:6px}.matrix-grant select{font-size:10px;padding:6px;width:100%;min-width:0;height:auto}.matrix-grant .mn-select{max-width:100%}.matrix-grant input:disabled{cursor:default}.permission-search{margin:18px 0;display:block}.permission-search input{margin-top:7px}.erp-matrix tr[hidden]{display:none}
@media(max-width:1000px){.hr-permission-layout{grid-template-columns:1fr}.hr-role-list,.hr-permission-editor,.hr-role-members{grid-column:1;grid-row:auto}.hr-role-list{max-height:280px;overflow:auto}.erp-nav-group>summary{white-space:nowrap}.erp-nav-group{min-width:185px}.hr-permission-editor{padding:14px;min-width:0}}
.erp-matrix .matrix-grant:not(:has(input:checked)) select,.erp-matrix .matrix-grant:not(:has(input:checked)) .mn-select{display:none}.erp-matrix .matrix-grant:not(:has(input:checked)) .select-ui{display:none}
.work-layout>aside{overflow-y:auto;scrollbar-width:thin}.erp-matrix td .matrix-grant{min-height:26px}.erp-matrix input:focus-visible{outline:2px solid #c6a3ff;outline-offset:3px}
.erp-matrix .matrix-grant:not(:has(input:checked)) .select-control{display:none}

/* Személyes tér — compact cards, luminous Mivora accents. */
.personal-heading{margin-bottom:22px}.personal-heading h1{font-size:32px}.personal-heading .eyebrow{color:#bc8cff}.personal-hero{display:flex;align-items:center;gap:20px;background:radial-gradient(ellipse at 90% 0,#6934af30,transparent 70%),linear-gradient(110deg,#13253d,#0b1d31);padding:24px}.personal-hero h2{margin:7px 0;font-size:26px;letter-spacing:-.6px}.personal-hero p{color:#aab9d7;margin:5px 0}.personal-hero>.hr-actions,.personal-hero>.hr-badge{margin-left:auto}.personal-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.personal-metrics .hr-stat{padding:21px}.personal-metrics .hr-stat strong{font-size:26px}.hr-stat>.hr-icon.green{color:#06deb0}.hr-stat>.hr-icon.blue{color:#469fff}.hr-stat>.hr-icon.purple{color:#bc8cff}.personal-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,1fr);gap:18px;align-items:start}.personal-grid .hr-card{margin-bottom:18px}.personal-grid table{font-size:12px}.personal-grid td,.personal-grid th{white-space:normal;padding:12px 8px}.personal-grid td small,.personal-request small,.personal-agenda-item small{display:block;margin-top:6px;color:#a0b0ce;font-size:12px}.personal-grid .hr-card>button{margin-top:16px}.personal-balance-total{font-size:44px;letter-spacing:-1px;color:#c196ff;font-weight:750;margin:14px 0}.personal-balance-total small{font-size:13px;display:block;letter-spacing:0;color:#aab9d7;font-weight:400}.personal-request{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:17px 0;border-top:1px solid #243b58}.personal-request>div{flex:1;min-width:200px}.personal-request strong{font-size:13px}.personal-request .personal-reason{flex-basis:100%;padding:10px 13px;border-left:3px solid #ff5b83;background:#d7466a12;border-radius:4px;color:#ffc1d1;font-size:13px;margin:0}.personal-request>button{margin-left:auto}.personal-reason{display:block;color:#ffc1d1;font-size:12px;margin-top:8px;white-space:normal}.personal-date{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:22px}.personal-date>button{min-width:36px;color:#c094ff}.personal-date>label{max-width:220px;font-size:12px}.personal-date>strong{margin-left:auto;color:#aebfdc;font-size:14px}.personal-leave-grid{display:grid;grid-template-columns:minmax(270px,.75fr) minmax(0,1.5fr);gap:18px;align-items:start}.personal-request-tabs{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:20px}.personal-request-tabs button{font-size:12px}.personal-request-tabs .selected{background:#7949c435;border-color:#9c65ed;color:#cfb1ff}.personal-agenda-item{display:flex;align-items:center;gap:16px;padding:19px 0;border-top:1px solid #233a55}.personal-agenda-item>div{flex:1;min-width:0}.personal-agenda-item.done>div strong{text-decoration:line-through;color:#8fa1bb}.personal-agenda-item small{overflow-wrap:anywhere}.personal-agenda-item strong{font-size:14px}.personal-agenda-item .hr-check{white-space:nowrap}.hr-form .hr-radio input,.scope-options input{width:17px;height:17px;margin:0;accent-color:#9754ff;padding:0}
/* The same seven entries in the sidebar and profile popover. */
.erp-nav-group.own>summary>svg:first-child{color:#be84ff}.work-layout nav button>small,.profile-links button>small{font-size:9px;color:#96a6c1;margin-left:auto}.work-layout nav button>span{min-width:0}.work-layout nav button:disabled,.profile-links button:disabled{opacity:.52;cursor:default}.work-layout nav .own button:nth-child(2) svg{color:#23d8b0}.work-layout nav .own button:nth-child(3) svg{color:#bd8aff}.work-layout nav .own button:nth-child(4) svg{color:#4aa7ff}.work-layout nav .own button:nth-child(5) svg{color:#ffbf57}.profile-menu{position:relative}.profile-trigger{display:flex;align-items:center;gap:12px;background:transparent;border:0;text-align:left;padding:5px 7px}.profile-trigger strong{display:block;color:#d2afff;font-size:12px}.profile-trigger small{display:block;color:#91a7ca;font-size:11px;margin-top:4px}.profile-trigger>svg{width:14px;color:#a8b5d0;transform:rotate(90deg)}.profile-links{position:absolute;top:100%;right:0;z-index:60;width:265px;padding:12px;background:linear-gradient(140deg,#172840,#0c1c30);border:1px solid #415077;border-radius:14px;box-shadow:0 20px 60px #0008}.profile-links[hidden]{display:none}.profile-links>strong{font-size:11px;letter-spacing:.08em;color:#aebeda;padding:9px 10px;display:block}.profile-links button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:0;background:transparent;padding:11px 10px;border-radius:9px;font-size:12px}.profile-links button:hover:not(:disabled),.profile-links button.active{background:#8e4dec26;color:#d0b1ff}.profile-links button svg{color:#bb87ff;width:19px;height:19px}.profile-links button:nth-of-type(2) svg{color:#00d3aa}.profile-links button:nth-of-type(4) svg{color:#449fff}.profile-links button:nth-of-type(5) svg{color:#ffc157}.workspace>header{overflow:visible;position:relative;z-index:10}
/* Compact permission grid; per-operation scopes live in a separate editor. */
.hr-permission-layout{grid-template-columns:205px minmax(0,1fr);gap:18px}.hr-role-list{padding:14px}.hr-role-choice .hr-icon{width:34px;height:34px;border-radius:9px}.hr-role-choice strong{font-size:12px}.hr-role-choice small{font-size:10px}.hr-permission-editor{padding:20px}.erp-matrix-wrap{max-height:none;border:0;overflow:visible}.hr-permission-tree details.permission-module{border-radius:12px;border:1px solid #2c4263;margin:12px 0;background:#0a1b2e}.permission-module>summary{display:flex;align-items:center;gap:12px;background:linear-gradient(110deg,#1c2b49,#10243b);padding:12px 15px;list-style:none}.permission-module>summary::-webkit-details-marker{display:none}.permission-module>summary>.hr-icon{width:35px;height:35px}.permission-module>summary>svg{margin-left:auto;width:15px}.permission-module[open]>summary>svg{transform:rotate(90deg)}.permission-module>div{padding:0 10px 10px}.hr-permission-tree .erp-permission-group{margin:8px 0;border-radius:8px;border-color:#243b5a}.erp-permission-group>summary{display:list-item;padding:11px 13px;background:#13273f;font-size:12px;list-style-position:inside}.erp-permission-group>summary small{float:right;font-size:10px;color:#8fa8c7}.matrix-scroll{overflow-x:auto}.erp-matrix{min-width:690px;table-layout:fixed;font-size:11px}.erp-matrix thead th{font-size:10px;color:#9db2d2;font-weight:500;padding:11px 5px;vertical-align:middle;text-align:center}.erp-matrix th:first-child{width:23%;text-align:left}.erp-matrix th:nth-child(2){width:9%}.erp-matrix th:nth-child(3),.erp-matrix th:nth-child(4),.erp-matrix th:nth-child(5){width:10%}.erp-matrix th:nth-child(6){width:25%}.erp-matrix th:last-child{width:13%}.erp-matrix td,.erp-matrix tbody th{padding:11px 7px;vertical-align:middle;font-size:11px}.erp-matrix tbody th{font-weight:500}.erp-matrix .matrix-grant{display:flex;flex-direction:row;justify-content:center;gap:6px;margin:3px 0;min-height:22px;font-size:10px}.erp-matrix td:nth-child(6) .matrix-grant{justify-content:flex-start}.erp-matrix .matrix-grant input[type=checkbox],.erp-matrix input[data-none]{width:17px;height:17px;flex:none;margin:0;accent-color:#a354ff}.erp-matrix td .scope-button{display:flex;flex-direction:column;align-items:center;gap:3px;margin:auto;background:#9561ea12;border:1px solid #7552a23b;padding:5px 7px;font-size:9px;color:#bfa1eb}.scope-button svg{width:14px;height:14px}.scope-dialog{width:min(740px,94vw);max-height:90dvh;overflow:auto;padding:24px}.scope-dialog form{display:grid;gap:15px}.scope-dialog fieldset{border:1px solid #2b4264;border-radius:9px;padding:12px}.scope-dialog legend{color:#ceb0ff;font-size:12px;padding:0 8px}.scope-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.scope-options label{display:flex;gap:9px;align-items:center;font-size:12px;margin:0}.scope-dialog .catalog-actions{display:flex;justify-content:flex-end;gap:10px}.hr-sticky-actions{padding-bottom:0}.hr-sticky-actions small{font-size:11px}.erp-matrix input:disabled{opacity:.65}.permission-module[hidden],.erp-permission-group[hidden]{display:none}
/* Organisation and shared work calendar */
.org-layout{display:grid;grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr);gap:18px;align-items:start}.org-branch .org-branch{margin-left:18px;padding-left:8px;border-left:1px solid #314566}.org-choice{width:100%;display:flex;align-items:center;gap:11px;padding:13px 9px;margin:4px 0;background:transparent;border-color:transparent;text-align:left;white-space:normal}.org-choice.selected{border-color:#9060d6;background:#7949c429}.org-choice>span:last-child{min-width:0;overflow-wrap:anywhere}.org-choice small{display:block;color:#91a9c9;font-size:11px;margin-top:5px}.org-summary{display:flex;gap:20px;flex-wrap:wrap;padding:20px 0;color:#aebcdc;font-size:12px}.org-summary span{display:flex;align-items:center;gap:9px}.calendar-edit-layout{display:grid;grid-template-columns:minmax(300px,1.15fr) minmax(280px,1fr);gap:30px;align-items:start}.workday-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:7px}.workday-grid>strong{text-align:center;padding:13px 0;font-size:12px;color:#9fafd1}.workday-grid>button{min-height:67px;background:#16253c;border:1px solid #233b5b;position:relative;font-size:18px;color:#e1e9fa}.workday-grid>button>i{position:absolute;width:6px;height:6px;border-radius:50%;bottom:8px;left:calc(50% - 3px);background:#419dff}.workday-grid>button.day-weekend{color:#b28cdb;background:#211e3d}.workday-grid>button.day-weekend>i{background:#b07de9}.workday-grid>button.day-holiday{color:#ff7194;background:#3c1e34}.workday-grid>button.day-holiday>i{background:#ff6287}.workday-grid>button.day-nonworking{color:#ffc44a;background:#392d23}.workday-grid>button.day-nonworking>i{background:#ffbc42}.workday-grid>button.day-rest{color:#2be2b6;background:#0f322f}.workday-grid>button.day-rest>i{background:#24d3ac}.workday-grid>button[aria-pressed=true]{outline:2px solid #ad6cff;border-color:#b876ff;background:#693ab24a}.day-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:11px;margin:23px 0}.day-legend span{display:flex;gap:7px;align-items:center}.day-legend i{width:7px;height:7px;border-radius:50%;background:currentColor}.day-legend .blue{color:#58aaff}.day-legend .purple{color:#c391ff}.day-legend .pink{color:#ff7697}.day-legend .amber{color:#ffc34e}.day-legend .green{color:#2bddb5}.calendar-bulk-form{border-left:1px solid #283d58;padding-left:24px}.calendar-bulk-form .hr-radio{flex-wrap:wrap;gap:10px;margin:18px 0}.calendar-bulk-form .hr-radio label{font-size:10px;flex-direction:row}.calendar-bulk-form .hr-radio input{width:14px;height:14px;margin:0}.calendar-bulk-form>button{font-size:11px}.day-types{border:0;padding:0;margin:22px 0}.day-types legend{font-size:12px;color:#aabbdb;margin-bottom:10px}.day-types label{display:flex;align-items:center;gap:10px;flex-direction:row;border:1px solid #294360;padding:8px 11px;border-radius:9px;margin:6px 0;font-size:12px;background:#112139}.day-types label:has(input:checked){border-color:#9b68ef;background:#653e9b29}.day-types .hr-icon{width:29px;height:29px;border-radius:7px}.day-types .hr-icon svg{width:17px;height:17px}.day-types input{width:16px;height:16px;margin:0 0 0 auto;accent-color:#9c5aff}.calendar-preview-days{max-height:210px;overflow:auto}.hr-radio{flex-wrap:wrap}.hr-card>details[open]>summary{margin-bottom:14px}button:focus-visible{outline:2px solid #c18eff;outline-offset:3px}
@media(min-width:1500px){.workspace main{padding:32px}.hr-permission-editor{padding:25px}.erp-matrix{font-size:12px}.erp-matrix td,.erp-matrix tbody th{font-size:12px}}
@media(max-width:1150px){.personal-grid,.personal-leave-grid,.org-layout{grid-template-columns:1fr}.calendar-edit-layout{grid-template-columns:1fr}.calendar-bulk-form{border-left:0;border-top:1px solid #283d58;padding:20px 0 0}.hr-permission-layout{grid-template-columns:180px minmax(0,1fr)}.personal-metrics .hr-stat strong{font-size:21px}.personal-hero{flex-wrap:wrap}}
@media(max-width:1000px){.hr-permission-layout{grid-template-columns:1fr}.hr-role-list,.hr-role-members,.hr-permission-editor{grid-column:1;grid-row:auto}.hr-role-list{display:flex;flex-wrap:wrap;max-height:230px;overflow:auto}.hr-role-choice{flex:1;min-width:160px}.hr-role-list>h3,.hr-role-list>input{width:100%}}
@media(max-width:760px){.personal-metrics{grid-template-columns:1fr}.personal-hero>.hr-actions{margin-left:0}.personal-hero h2{font-size:22px}.personal-heading h1{font-size:27px}.personal-date>strong{margin-left:0;width:100%}.personal-agenda-item{flex-wrap:wrap}.personal-agenda-item>div{flex-basis:65%}.profile-links{right:0;width:250px}.profile-trigger strong{max-width:160px;white-space:normal}.personal-grid table{min-width:470px}.scope-options{grid-template-columns:1fr}.workday-grid{gap:4px}.workday-grid>button{min-height:49px;font-size:15px}.personal-hero{padding:18px}.calendar-edit-layout{gap:15px}.hr-radio{flex-wrap:wrap}.work-layout nav{align-items:flex-start}.work-layout nav .erp-nav-group{min-width:210px}}
.personal-data-section>summary{display:flex;align-items:center;gap:12px;font-weight:650;cursor:pointer;font-size:14px;list-style:none}.personal-data-section>summary:after{content:'⌄';margin-left:auto;color:#bd8bff}.personal-data-section[open]>summary{margin-bottom:16px}.personal-data-section>button{margin-top:15px}.work-layout nav .erp-nav-group>div>button{width:100%}.hr-role-form>.hr-sticky-actions{position:sticky;bottom:0;padding:12px;background:#0c1d30f5;border-radius:8px;border:1px solid #2b4263;z-index:3}
.personal-grid>div{min-width:0}.personal-grid,.personal-leave-grid,.org-layout,.calendar-edit-layout{min-width:0}@media(max-width:1150px){.personal-grid,.personal-leave-grid,.org-layout{grid-template-columns:minmax(0,1fr)}.calendar-edit-layout{grid-template-columns:minmax(0,1fr)}}

/* MivoraNEXT Time report — approved navy/violet visual direction. */
.time-screen{max-width:1600px;margin:0 auto}.time-heading{display:flex;align-items:center;gap:19px;margin:4px 0 27px}.time-heading>.hr-icon{width:65px;height:65px;border-radius:17px}.time-heading>.hr-icon svg{width:36px;height:36px}.time-heading h1{font-size:36px;letter-spacing:-.9px;line-height:1.12;margin:0 0 9px;color:#f3f5ff}.time-heading p{font-size:14px;color:#9cb6d6;margin:0}.time-tabs{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-bottom:7px}.time-tabs>button{display:flex;align-items:center;gap:8px;padding:13px 21px;border:1px solid #1e3754;border-radius:9px 9px 0 0;background:#0b2137;font-size:13px;color:#acc6e8}.time-tabs>button[aria-selected=true]{background:linear-gradient(115deg,#9246ff,#6721ef);border-color:#a165ff;color:#fff;box-shadow:0 4px 17px #762aff25}.time-tabs svg{width:17px;height:17px}.time-card{background:radial-gradient(ellipse at top,#102c4555,transparent 68%),linear-gradient(130deg,#0d2239,#0a1d32);border:1px solid #2b4d73;border-radius:12px;padding:22px 15px 0;overflow:visible}.time-date{display:flex;justify-content:center;align-items:center;gap:16px;position:relative;margin:0 0 18px;min-height:49px;padding:0 75px}.time-date>button{width:42px;height:42px;padding:0;background:#162a43;border-color:#7154b4;color:#bd99ff;font-size:29px;flex:none}.time-date>[data-time-today]{position:absolute;right:8px;width:66px;font-size:12px}.time-date-label{position:relative;display:flex;align-items:center;margin:0;max-width:100%;cursor:pointer;min-width:0}.time-date-label>span{display:flex;align-items:center;justify-content:center;gap:15px;font-size:25px;font-weight:750;letter-spacing:-.4px;color:#f3f5ff;white-space:nowrap;pointer-events:none}.time-date-label>span svg{color:#a05bff;width:28px;height:28px}.time-date-label .mn-date-control{position:absolute;inset:0;border:0;background:transparent;margin:0;opacity:0;cursor:pointer}.time-date-label .mn-date-text{cursor:pointer}.time-date-label .mn-date-button{position:absolute;inset:0;width:100%;height:100%;margin:0;background:none}.time-date-label:focus-within{outline:2px solid #bb8bff;outline-offset:5px;border-radius:7px}.time-date-label>input[type=date]{position:absolute;inset:0;opacity:0;cursor:pointer}.time-chips{display:flex;gap:12px;justify-content:center;align-items:center;flex-wrap:wrap;margin-bottom:21px}.time-chip{display:inline-flex;gap:6px;align-items:center;padding:9px 11px;border:1px solid #416591;border-radius:9px;font-size:12px;color:#66c8ff;background:#2072bc15}.time-chip svg{width:18px;height:18px;flex:none}.time-chip.green{color:#30e6c6;border-color:#007e7d;background:#0ba89815}.time-chip.purple{color:#c390ff;border-color:#714ab6;background:#853bc118}.time-table-scroll{overflow-x:auto;border:1px solid #284967;border-radius:9px}.time-table{width:100%;min-width:1040px;table-layout:fixed;border-collapse:collapse;font-size:12px}.time-table th{background:#132c46;font-size:12px;color:#b3c9e7;font-weight:600;padding:13px 11px;text-align:left;border-bottom:1px solid #2b4d70}.time-table th:nth-child(1){width:19%}.time-table th:nth-child(2){width:16%}.time-table th:nth-child(3){width:19%}.time-table th:nth-child(4){width:29%}.time-table th:nth-child(5){width:11%}.time-table th:nth-child(6){width:6%}.time-table td{white-space:normal;padding:10px;border-right:1px solid #243f5d;border-bottom:1px solid #243f5d;vertical-align:top}.time-table td:last-child{border-right:0}.time-table input,.time-table select{border:1px solid #315774;border-radius:7px;background:#0b2138;margin:0;width:100%;min-width:0;color:#e7f1ff;font-size:12px;min-height:39px;padding:9px 10px}.time-table input:focus{outline:2px solid #9652ff;outline-offset:-1px;border-color:#aa71ff;box-shadow:0 0 0 3px #7840d223}.time-table [data-field=duration]{font-size:17px;font-weight:650;font-variant-numeric:tabular-nums}.time-table input[readonly],.time-table select:disabled{opacity:.7}.time-table small{display:block;font-size:11px;color:#a3bcda;margin:6px 0 0;white-space:normal}.time-table .time-feedback{color:#ffb385}.time-table .time-legacy{color:#ffc452}.time-table .select-control{margin:0;min-width:0}.time-table .select-trigger{min-height:39px;background:#0b2138;border-color:#315774;border-radius:7px;padding:9px 10px;font-size:12px;max-width:100%;width:100%}.time-table .select-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.time-table .time-row-actions{padding:10px 2px;text-align:center;white-space:nowrap}.time-row-actions button{padding:6px 3px;border:0;background:none;color:#a9c9ef;font-size:24px;width:27px;height:39px;line-height:1}.time-row-actions button.danger{color:#ff6285}.time-row-actions button:hover{background:#8856c725}.time-table tfoot td{vertical-align:middle;border:0;background:#10283f;padding:15px 12px}.time-table [data-add-row]{color:#b371ff;background:none;border:0;padding:3px 7px;font-size:13px;font-weight:600}.time-total{text-align:left;color:#aabede}.time-total strong{font-size:16px;margin-left:13px;color:#f2f5ff}.time-total small{display:inline;margin:0;color:#ccd9eb}.time-helper{font-size:11px;color:#94afcf;margin:10px 0 14px}.time-submit-note{display:flex;align-items:center;gap:8px;font-size:12px;color:#ffcc79;background:#be8a1b10;border:1px solid #85652855;padding:11px 13px;border-radius:8px}.time-submit-note.complete{color:#44dcb8;background:#119b8110;border-color:#168d6b44}.time-submit-note:before{content:'!';border:1px solid currentColor;border-radius:50%;width:16px;height:16px;text-align:center;flex:none}.time-submit-note.complete:before{content:'✓'}.time-footer{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin:18px -15px 0;padding:17px 15px;border-top:1px solid #234161;background:#09203655;border-radius:0 0 12px 12px}.time-footer>span{color:#9cb5d3;font-size:12px}.time-footer>div{display:flex;gap:13px;margin-left:auto}.time-footer button{display:inline-flex;align-items:center;gap:9px;justify-content:center;font-size:12px;padding:12px 19px;border-color:#8e64d3;color:#d7baff;background:#12243d}.time-footer .primary{background:linear-gradient(115deg,#9745ff,#6b21f5);color:white}.time-footer button svg{width:18px;height:18px}.time-footer [data-reload-time]{padding:7px 9px;border-color:#2c4564;font-size:10px;color:#9cafca}.time-footer button:disabled{opacity:.4;cursor:not-allowed;box-shadow:none}.time-help-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.time-help-cards>section{display:flex;align-items:center;gap:13px;border:1px solid #224363;border-radius:11px;background:#0b2137;padding:17px}.time-help-cards strong{font-size:14px;color:#62c8ff}.time-help-cards section:last-child strong{color:#ffc857}.time-help-cards small{display:block;color:#a6c0df;font-size:12px;margin-top:6px}.time-warning{font-size:12px;border-left:3px solid #ffc052;background:#9d731512;padding:13px;color:#ffe0a1}.time-rejected{background:#b9751510}.time-table .hr-badge{font-size:9px}.time-history-heading{display:flex;align-items:center;gap:14px;margin:0 0 18px}.time-history-heading h2{font-size:21px;margin:0}.time-history-heading strong{margin-left:auto;color:#4ce5c0;font-size:21px}.time-history-heading button{font-size:22px;color:#b997ff;padding:5px 14px}.time-history-table{width:100%;min-width:850px;margin-bottom:20px}.time-history-table td,.time-history-table th{padding:14px 9px;white-space:normal;font-size:12px}.time-history-table small{display:block;margin-top:6px;font-size:11px;color:#97aecb}.time-history-table .time-feedback{color:#ffc38d}.time-code-manager .time-tabs{margin:18px 0}.time-code-search{max-width:450px;margin:20px 0;display:block}.time-code-search input{margin-top:8px}.time-code-manager td{white-space:normal}.time-code-manager td button{font-size:11px;margin:2px}.time-code-manager tr[hidden]{display:none}
@media(min-width:1750px){.time-table{font-size:13px}.time-table input,.time-table .select-trigger{font-size:13px}.time-table th{font-size:14px}.time-date-label>span{font-size:28px}.time-heading h1{font-size:38px}}
@media(max-width:1100px){.time-date{padding:0 60px 0 0;gap:8px}.time-date-label>span{font-size:21px}.time-date-label>span svg{width:22px}.time-date>[data-time-today]{width:48px}.time-footer{gap:10px}.time-footer>div{width:100%;justify-content:flex-end}.time-help-cards{grid-template-columns:1fr}}
@media(max-width:650px){.time-heading h1{font-size:28px}.time-heading>.hr-icon{width:49px;height:49px}.time-heading>.hr-icon svg{width:28px;height:28px}.time-heading{gap:13px}.time-date{padding:0 0 39px;flex-wrap:nowrap;gap:5px}.time-date>button{width:29px;height:33px;font-size:23px}.time-date-label>span{font-size:17px;white-space:normal;text-align:center;gap:6px;line-height:1.35}.time-date>[data-time-today]{right:calc(50% - 24px);bottom:0;height:28px}.time-chips{gap:6px}.time-chip{font-size:10px;padding:7px}.time-tabs>button{font-size:11px;padding:11px 10px}.time-card{padding:16px 10px 0}.time-footer{margin-left:-10px;margin-right:-10px;padding:13px 10px}.time-footer>div{gap:7px}.time-footer button{padding:11px 9px;font-size:11px}.time-total strong{font-size:14px}.time-history-heading{gap:8px;flex-wrap:wrap}.time-history-heading h2{font-size:17px}.time-history-heading strong{font-size:17px}.time-history-heading button{padding:4px 9px}}
.time-row-actions svg{width:18px;height:18px}.time-row-actions button{vertical-align:top}.time-code-manager>.heading h2{margin:0 0 8px;font-size:25px}.time-code-manager>.heading p{color:#a6bbd9;font-size:13px}
/* Time report v2 */
.time-date-label{display:flex;align-items:center;gap:12px;position:relative}.time-date-label>.mn-date-control{position:absolute!important;left:0;top:0;width:40px!important;height:40px!important;opacity:0;pointer-events:none}.time-date-label [data-open-date]{position:relative;z-index:1;background:#251d48;border:1px solid #7955b6;color:#bb8fff;display:grid;place-items:center;width:42px;height:42px;padding:9px}.time-date-label>span{pointer-events:none}.time-chip.day-work{color:#e1e9fa;border-color:#35628a;background:#16253c}.time-chip.day-weekend{color:#b28cdb;border-color:#6c4795;background:#211e3d}.time-chip.day-holiday{color:#ff7194;border-color:#934a70;background:#3c1e34}.time-chip.day-nonworking{color:#ffc44a;border-color:#886532;background:#392d23}.time-chip.day-rest{color:#2be2b6;border-color:#327d72;background:#0f322f}.code-title{display:flex;align-items:center;gap:16px}.code-summary{display:flex;gap:24px;align-items:center;flex-wrap:wrap;padding:18px 20px;margin:16px 0;background:linear-gradient(110deg,#192544,#112c38);border:1px solid #304465;border-radius:14px}.code-summary strong{font-size:23px;margin-right:7px;color:#f2edff}.code-group{border:1px solid #30405b;border-radius:14px;margin:16px 0;overflow:hidden}.code-group>summary{display:flex;align-items:center;gap:12px;cursor:pointer;background:#172740;padding:14px 18px;font-weight:700}.code-group>summary:before{content:'▸';color:#b58aff}.code-group[open]>summary:before{content:'▾'}.code-group>summary>span:last-child{margin-left:auto;color:#aebad5;font-size:12px}.code-table tbody tr{cursor:pointer}.code-table tbody tr:hover,.code-table tbody tr:focus{background:#222341;outline:1px solid #9465ec;outline-offset:-1px}.code-table td{padding:18px}.code-table td strong{font-size:14px}.code-dialog{width:min(1060px,96vw)!important;max-width:1060px!important}.code-detail-hero{display:flex;align-items:center;gap:18px;background:linear-gradient(110deg,#29204b,#142d45);padding:20px;border-radius:14px}.code-detail-hero h2{font-size:27px;margin:5px 0}.code-detail-hero small{color:#bdafdd}.code-dialog fieldset{border:0;padding:0;margin:0}.code-dialog fieldset>label{display:grid;gap:8px;margin-top:18px}.code-dialog fieldset>label.hr-check{display:flex}.code-name{grid-column:1/-1}.code-job-tree{max-height:300px;overflow:auto;border:1px solid #344362;border-radius:12px;padding:12px}.code-job-tree summary{color:#ba96ff;padding:10px;cursor:pointer;font-weight:700}.code-job-tree .hr-check{padding:10px 14px}.code-job-tree small,.code-link small{display:block;color:#9db0cd;margin-top:4px}.code-modal-actions{display:flex;gap:12px;justify-content:flex-end;border-top:1px solid #344362;padding-top:18px}.code-modal-actions .danger{margin-right:auto}.code-usage-filters{display:grid;grid-template-columns:1fr 1fr 1.3fr auto;gap:12px;align-items:end;margin:20px 0}.code-usage-filters label{min-width:0}.code-usage-filters label,.code-dialog [data-detail-body]>label{display:grid;gap:7px}.opening-people{max-height:220px;overflow:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #344362;border-radius:12px;padding:12px;gap:10px}.opening-heading{display:flex;gap:12px;align-items:center}.opening-list{margin-top:20px}.opening-list small{display:block;color:#9aafcb}.code-link{padding:12px;background:#15253a;border-radius:10px}@media(max-width:650px){.code-usage-filters{grid-template-columns:1fr 1fr}.opening-people{grid-template-columns:1fr}.code-summary{gap:12px}.time-date-label{gap:5px}.time-date-label [data-open-date]{width:32px;height:36px}.code-title{gap:8px}}

.select-popup .select-option:focus-visible{outline:2px solid #b58aff;outline-offset:-2px;background:#302447;color:#fff}

/* MivoraNEXT WORK · Code administration · isolated from employee Time report */
.tc-manager,.tc-dialog{--tc-line:#29425d;--tc-muted:#a5b9d4;--tc-bg:#0c2035;--tc-purple:#ab78ff;color:#ecf3ff;font-size:14px}
.tc-manager{background:linear-gradient(125deg,#0a1c30,#0a1b2d);border:1px solid #263e57;border-radius:18px;padding:26px}.tc-manager button,.tc-dialog button{font-family:inherit}.tc-manager svg,.tc-dialog svg{width:19px;height:19px;flex:none;vertical-align:middle}.tc-manager p,.tc-dialog p{line-height:1.6}.tc-heading,.tc-heading>div{display:flex;align-items:center;gap:16px}.tc-heading{justify-content:space-between;margin-bottom:25px}.tc-heading h2{font-size:29px;line-height:1.2;letter-spacing:-.7px;margin:0 0 7px}.tc-heading p{color:var(--tc-muted);margin:0;font-size:14px}.tc-heading button,.tc-modal-footer button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 19px;font-size:14px;font-weight:600;border-radius:10px}.tc-manager .primary,.tc-dialog .primary{background:linear-gradient(110deg,#9445ff,#681df4);border-color:#a066ff;color:#fff;box-shadow:0 5px 18px #7334ff22}
.tc-icon{display:inline-grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:12px;background:#193856;color:#4ac4ff}.tc-icon svg{width:24px;height:24px}.tc-icon.blue{background:linear-gradient(135deg,#174b80,#102b49);color:#4ebcff}.tc-icon.purple{background:linear-gradient(135deg,#493080,#241c43);color:#bf8aff}.tc-icon.pink{background:linear-gradient(135deg,#5c284f,#271d35);color:#ff78be}.tc-icon.teal{background:linear-gradient(135deg,#095350,#102c38);color:#2de7cc}.tc-icon.amber{background:linear-gradient(135deg,#594417,#2f2931);color:#ffd15a}.tc-heading>.tc-icon,.tc-heading>div>.tc-icon{width:55px;height:55px}.tc-tab-icon.blue{color:#4ebcff}.tc-tab-icon.purple{color:#b68aff}.tc-tab-icon.amber{color:#ffd15a}.tc-tab-icon.teal{color:#35decd}
.tc-manager nav.tc-tabs{display:flex;border:1px solid var(--tc-line);border-radius:12px;overflow:hidden;background:#10263d;margin:0 0 24px}.tc-manager nav.tc-tabs>button{flex:1;display:flex;align-items:center;justify-content:center;gap:10px;border:0;border-right:1px solid var(--tc-line);border-radius:0;background:transparent;padding:18px 12px;color:#bfcee5;font-size:14px}.tc-manager nav.tc-tabs>button:last-child{border-right:0}.tc-manager nav.tc-tabs>button[aria-pressed=true]{background:linear-gradient(110deg,#762ef5,#5119d9);color:white}.tc-tabs>button[aria-pressed=true] .tc-tab-icon{color:#e0cdff}.tc-tabs svg{width:22px;height:22px}
.tc-toolbar{display:flex;align-items:end;gap:18px;margin:0 0 22px}.tc-search{display:flex!important;align-items:center;gap:10px;position:relative;min-width:0;margin:0!important;background:#0c2035;border:1px solid #35506d;border-radius:10px;padding:0 13px}.tc-search>svg{color:#9cb8d8}.tc-search input{border:0!important;background:transparent!important;margin:0!important;box-shadow:none!important;min-height:44px;width:100%;outline:none!important;padding:11px 0!important;font-size:14px!important;color:#e6efff}.tc-search:focus-within{border-color:#b38bff;box-shadow:0 0 0 3px #9361ff19}.tc-toolbar>.tc-search{flex:1}.tc-filter{width:205px;flex-shrink:0;color:var(--tc-muted);font-size:12px;display:grid;gap:5px}.tc-filter .select-control{margin:0}.tc-layout.has-groups{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px}.tc-groups{background:#0c2137;border:1px solid var(--tc-line);border-radius:12px;padding:10px 0;align-self:start;overflow:hidden}.tc-groups h3{font-size:16px;padding:6px 18px;margin:4px 0 14px}.tc-groups>button{width:100%;display:flex;align-items:center;gap:10px;background:none;border:0;border-radius:0;padding:13px 14px;text-align:left;font-size:13px;color:#cfdbed;border-left:3px solid transparent}.tc-groups>button>span:not(.tc-icon){flex:1;min-width:0;overflow-wrap:anywhere}.tc-groups small{display:block;color:#92a6c3;font-size:11px;margin-top:4px}.tc-groups>button[aria-pressed=true]{background:linear-gradient(90deg,#5c2b9d55,#23234d);border-left-color:#ad73ff;color:white}.tc-groups .tc-icon{width:33px;height:33px;border-radius:9px}.tc-groups .tc-icon svg{width:20px;height:20px}.tc-groups b{font-size:12px;font-weight:500;color:#b8cbe6}.tc-groups>button.tc-manage-groups{margin-top:24px;font-size:12px;color:#aebdff;border-top:1px solid var(--tc-line)}.tc-results{min-width:0;border:1px solid var(--tc-line);border-radius:12px;overflow:hidden;background:#0b1e32}.tc-result-heading{display:flex;gap:13px;align-items:center;padding:20px}.tc-result-heading h3{font-size:20px;margin:0 0 6px;letter-spacing:-.3px}.tc-result-heading p{margin:0;color:var(--tc-muted);font-size:12px}.tc-result-heading>.tc-pill{margin-left:auto;white-space:nowrap}.tc-pill{display:inline-flex;align-items:center;border:1px solid #355473;background:#1b3551;color:#d2e5ff;padding:5px 9px;border-radius:8px;font-size:12px;line-height:1.3}.tc-table{width:100%;min-width:670px;border-collapse:collapse;table-layout:fixed}.tc-table th{font-weight:500;background:#102a43;color:#afc4df;padding:13px 16px;border-top:1px solid var(--tc-line);border-bottom:1px solid var(--tc-line);font-size:12px;text-align:left}.tc-table th:first-child{width:43%}.tc-table th:nth-child(2){width:19%}.tc-table th:nth-child(3){width:12%}.tc-table th:nth-child(4){width:22%}.tc-table th:last-child{width:4%;padding:0}.tc-table td{padding:13px 16px;border-bottom:1px solid #243b54;white-space:normal;vertical-align:middle;font-size:13px}.tc-table tr:last-child td{border-bottom:0}.tc-table tbody tr{cursor:pointer}.tc-table tbody tr:hover,.tc-table tbody tr:focus-within{background:linear-gradient(100deg,#42296577,#22274b55);box-shadow:inset 3px 0 #a363ff}.tc-row-open{display:flex;gap:13px;align-items:center;text-align:left;width:100%;border:0!important;background:none!important;box-shadow:none!important;padding:0!important;color:inherit;min-width:0}.tc-row-open>span:last-child{min-width:0;overflow-wrap:anywhere}.tc-row-open strong{display:block;font-size:14px;font-weight:650;line-height:1.35;color:#eff3ff}.tc-row-open span>span{display:block;font-size:12px;color:#c0d0e5;line-height:1.5;margin-top:4px}.tc-table small{display:block;font-size:11px;color:#8fa7c7;margin-top:4px;line-height:1.4}.tc-table .tc-date{font-variant-numeric:tabular-nums;font-size:12px}.tc-table .tc-chevron{padding:0;color:#96b6df}.tc-table .tc-chevron svg{width:16px}.tc-status{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;border-radius:20px;padding:5px 9px;font-size:11px;color:#a8b9d0;background:#23334a}.tc-status:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}.tc-status.active{color:#38dfb1;background:#00655333}.tc-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5;color:#b4c7df}.tc-list-footer{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-top:1px solid var(--tc-line);color:#a8bdd8;font-size:12px}.tc-list-footer>div{display:flex;gap:8px}.tc-list-footer button{font-size:12px;padding:7px 11px;border-color:#304b69;background:#122a43}.tc-empty{text-align:center;padding:40px 15px;color:var(--tc-muted)}.tc-empty .tc-icon{margin:auto}.tc-empty h3{color:#e7efff;font-size:19px}.tc-manager button:focus-visible,.tc-dialog button:focus-visible{outline:2px solid #ba91ff;outline-offset:2px}.tc-manager button:disabled,.tc-dialog button:disabled{opacity:.4;cursor:not-allowed}
.tc-dialog{width:min(1080px,96vw)!important;max-width:1080px!important;max-height:94vh;padding:0!important;border:1px solid #395978!important;border-radius:18px!important;background:radial-gradient(ellipse at top left,#122c48,#0c1f33 60%)!important;box-shadow:0 24px 95px #0009;overflow:hidden!important}.tc-dialog::backdrop{background:#030b18b8;backdrop-filter:blur(4px)}.tc-dialog>.heading{margin:0!important;padding:26px 28px 22px;gap:15px;align-items:start}.tc-dialog>.heading h2{display:flex;align-items:center;gap:15px;margin:0!important;font-size:25px;letter-spacing:-.5px;line-height:1.25}.tc-dialog>.heading h2>.tc-icon{width:62px;height:62px;border-radius:16px}.tc-dialog>.heading h2>.tc-icon svg{width:30px;height:30px}.tc-dialog>.heading h2 small{display:block;max-width:650px;color:#a9c0df;font-size:13px;font-weight:400;letter-spacing:0;margin-top:8px;line-height:1.5}.tc-dialog>.heading h2 .tc-pill{flex-shrink:0;font-size:11px;font-weight:400;letter-spacing:0}.tc-dialog>.heading>button{border:0!important;background:none!important;color:#bed0eb;font-size:26px;padding:3px!important;flex:none;width:30px!important;height:30px!important}.tc-dialog .case-content{padding:0!important}.tc-detail-tabs{display:flex;margin:0 28px;gap:12px;border-bottom:1px solid var(--tc-line);overflow:auto}.tc-detail-tabs button{display:flex;gap:8px;align-items:center;background:none;border:0;border-bottom:3px solid transparent;border-radius:0;color:#acc2df;font-size:13px;padding:15px 12px;white-space:nowrap}.tc-detail-tabs button[aria-pressed=true]{color:#be8eff;border-bottom-color:#a060ff}.tc-editor{display:flex;flex-direction:column;min-height:0}.tc-detail-scroll{overflow:auto;max-height:calc(94vh - 265px);padding:25px 28px;scrollbar-color:#536381 #0e2136;scrollbar-width:thin}.tc-dialog [hidden]{display:none!important}.tc-dialog fieldset{border:0;padding:0;margin:0;min-width:0}.tc-dialog fieldset:disabled{opacity:.8}.tc-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 22px}.tc-form-grid label{font-size:13px;color:#bed0e6;display:block;min-width:0}.tc-form-grid label>input,.tc-form-grid label>textarea,.tc-form-grid label>.select-control{margin-top:8px}.tc-form-grid input,.tc-form-grid textarea,.tc-dialog .select-trigger{background:#0a1e32;border:1px solid #37536f;color:#eff4ff;font-family:inherit;font-size:14px;border-radius:9px;min-height:45px;width:100%;padding:12px 13px;box-sizing:border-box}.tc-form-grid textarea{line-height:1.65;resize:vertical}.tc-form-grid input:focus,.tc-form-grid textarea:focus{outline:2px solid #a774ff;outline-offset:-1px}.tc-form-grid .tc-wide{grid-column:1/-1}.tc-required{color:#b181ff}.tc-toggle{display:flex;gap:14px;align-items:center;background:linear-gradient(110deg,#123b4822,#13344955);border:1px solid #27546a;border-radius:12px;padding:19px;margin-top:22px;cursor:pointer}.tc-toggle>input{position:absolute;opacity:0;width:1px;height:1px}.tc-switch{width:46px;height:26px;border-radius:18px;background:#40506a;position:relative;flex:none;transition:background .15s}.tc-switch:before{content:'';position:absolute;width:20px;height:20px;left:3px;top:3px;border-radius:50%;background:#e8ffff;transition:transform .15s}.tc-toggle input:checked+.tc-switch{background:#00bcb6}.tc-toggle input:checked+.tc-switch:before{transform:translateX(20px)}.tc-toggle input:focus-visible+.tc-switch{outline:2px solid #be91ff;outline-offset:3px}.tc-toggle strong{display:block;font-size:14px;font-weight:600}.tc-toggle small{display:block;color:#9fbad6;font-size:12px;margin-top:6px}.tc-metadata{display:flex;gap:30px;margin-top:28px;padding-top:18px;border-top:1px solid var(--tc-line);color:#99b2d0;font-size:11px}.tc-metadata>span{flex:1}.tc-metadata strong{display:block;margin:6px 0;font-size:12px;font-weight:500;color:#c7d7eb}.tc-metadata small{font-size:11px}.tc-modal-footer{display:flex;gap:12px;align-items:center;border-top:1px solid var(--tc-line);padding:18px 28px;background:#0b1d30;flex-wrap:wrap}.tc-modal-footer .danger{background:none;color:#ff7396;border:1px solid #aa476a}.tc-modal-footer>button:not(.primary):not(.danger){background:#142e48;border:1px solid #406183;color:#dce9fa}.tc-footer-note{margin-right:auto;color:#91aac7;font-size:11px;max-width:310px;line-height:1.5}.tc-dialog .form-error{margin:0;padding:0 28px;font-size:13px;color:#ff94ad}.tc-dialog .form-error:not(:empty){padding:10px 28px}.tc-delete-confirm{margin:0 28px 18px;padding:15px;background:#4b20334d;border:1px solid #964867;border-radius:10px}.tc-delete-confirm p{font-size:12px}.tc-delete-confirm button{margin-right:8px}.tc-note{display:flex;gap:9px;align-items:center;color:#97b0d0;font-size:12px;line-height:1.6}.tc-results>.tc-note,.tc-results>div>.tc-note{padding:0 20px}.tc-info{padding:16px;border:1px solid #23617c;border-radius:11px;color:#6bdaf5;background:#0a526622;font-size:13px;line-height:1.7}.tc-info svg{margin-right:8px}.tc-picker-trigger{display:flex;gap:10px;align-items:center;width:100%;background:#0a1e32;border:1px solid #8262c9;border-radius:9px;padding:7px 12px;margin-top:8px;min-height:45px;color:#e8eeff;font-size:14px;text-align:left}.tc-picker-trigger .tc-icon{width:27px;height:27px;background:none}.tc-picker-trigger .tc-icon svg{width:22px;height:22px}.tc-picker-trigger>span:not(.tc-icon){flex:1}.tc-picker-trigger>svg{width:17px}.tc-dialog [data-group-picker]{position:relative}.tc-picker-popup{position:absolute;top:calc(100% + 6px);left:0;width:100%;min-width:240px;z-index:20;background:#102339;border:1px solid #6e51a9;border-radius:12px;padding:10px;box-shadow:0 18px 42px #0008}.tc-picker-popup [role=listbox]{max-height:200px;overflow:auto;margin-top:8px;scrollbar-width:thin}.tc-picker-popup [role=option]{display:flex;gap:10px;align-items:center;width:100%;background:none;border:0;border-radius:7px;padding:9px;font-size:14px;text-align:left}.tc-picker-popup [role=option]>span:not(.tc-icon){flex:1}.tc-picker-popup [aria-selected=true]{background:#42326377;color:#d5b9ff}.tc-picker-popup .tc-icon{width:29px;height:29px;background:none}.tc-picker-popup [role=option]:hover{background:#49347366}.tc-picker-popup>p{font-size:10px;color:#a4b8d3;border-top:1px solid #334964;padding:10px 4px 0;margin:9px 0 2px}.tc-assignment-heading{display:flex;align-items:center;gap:18px;justify-content:space-between;margin-bottom:20px}.tc-assignment-heading h3{font-size:21px;margin:0 0 6px}.tc-assignment-heading p{font-size:12px;color:#a3bbd7;margin:0}.tc-assign-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(230px,1fr);gap:22px}.tc-assignment-tree{margin-top:15px;border:1px solid var(--tc-line);border-radius:12px;overflow:hidden}.tc-assignment-group+section{border-top:1px solid var(--tc-line)}.tc-assignment-group>header{display:flex;align-items:center;gap:8px;padding:13px 12px;background:#102840}.tc-assignment-group header>button{border:0;background:none;padding:0;width:20px;color:#b1c6e2}.tc-assignment-group header>label{display:flex;align-items:center;gap:10px;flex:1;font-size:13px;cursor:pointer}.tc-assignment-group header>span{font-size:11px;color:#c4d3e5;white-space:nowrap}.tc-assignment-group header .tc-icon{width:30px;height:30px;border-radius:8px}.tc-assignment-group input{appearance:auto!important;accent-color:#9946ff!important;width:18px!important;height:18px!important;flex:none;margin:0!important;cursor:pointer}.tc-assignment-group input:disabled{cursor:not-allowed;opacity:.5}.tc-job-check{display:flex;align-items:center;gap:13px;padding:12px 15px 12px 48px;border-top:1px solid #253b5333;cursor:pointer}.tc-job-check:hover{background:#30264855}.tc-job-check strong{display:block;font-size:12px;font-weight:550;overflow-wrap:anywhere}.tc-job-check small{display:block;font-size:11px;color:#95acc9;margin-top:5px;line-height:1.4}.tc-assignment-summary{align-self:start;border:1px solid var(--tc-line);border-radius:12px;padding:18px}.tc-assignment-summary h3{font-size:16px;margin:0 0 8px}.tc-assignment-summary>p{font-size:12px;color:#a4bedb}.tc-selected-group{display:flex;gap:11px;align-items:center;padding:12px;margin-top:10px;border:1px solid #2c4661;border-radius:9px}.tc-selected-group .tc-icon{width:34px;height:34px}.tc-selected-group strong{font-size:12px}.tc-selected-group small{display:block;font-size:11px;color:#a3bbd6;margin-top:5px}.tc-linked{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #28405a;border-radius:10px;margin:10px 0}.tc-linked strong{font-size:14px}.tc-linked small{display:block;color:#9aacca;margin-top:5px}.tc-linked>.tc-status{margin-left:auto}
.tc-audit-intro{display:flex;gap:14px;align-items:center;margin:0 0 20px}.tc-audit-intro h3{font-size:21px;margin:0 0 5px}.tc-audit-intro p{margin:0;color:#a0b7d4;font-size:12px}.tc-audit-filters{display:grid;grid-template-columns:1fr 1fr 1.3fr 1.2fr auto;gap:10px;align-items:end;margin-bottom:20px}.tc-audit-filters label{font-size:11px;color:#a9c1dd;display:grid;gap:6px;min-width:0}.tc-audit-filters .select-control{margin:0}.tc-audit-filters input,.tc-audit-filters .select-trigger{font-size:12px!important;min-height:42px}.tc-audit-filters button[type=submit]{height:42px;font-size:12px;display:flex;gap:6px;align-items:center}.tc-audit-card{border:1px solid #304f6c;border-radius:12px;padding:18px;margin-bottom:16px;background:linear-gradient(115deg,#112b45,#0d2338)}.tc-audit-card>header{display:flex;gap:12px;align-items:center}.tc-audit-card header strong{font-size:13px}.tc-audit-card header small{display:block;font-size:11px;color:#adc1dc;margin-top:6px}.tc-audit-card header>.tc-pill{margin-left:auto;color:#c6a0ff;background:#55377433;border-color:#7855a8}.tc-audit-object{font-size:13px;margin-bottom:0}.tc-audit-object small{color:#9fb5d1;margin-left:8px}.tc-change{background:#0b1d3166;border-radius:9px;padding:14px;margin-top:14px}.tc-change>strong{font-size:12px}.tc-change>div{display:grid;grid-template-columns:1fr 20px 1fr;align-items:center;gap:12px;margin-top:10px}.tc-change>div>span{background:#182f49;border:1px solid #2b4561;border-radius:7px;padding:10px;font-size:12px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}.tc-change>div>span small{display:block;color:#91accb;font-size:10px;margin-bottom:4px}.tc-change b{font-weight:400;color:#bed1e8}.tc-change p{font-size:12px;margin:8px 0 0;overflow-wrap:anywhere}.tc-added{color:#4bddbf}.tc-removed{color:#ff8da9}.tc-audit-items+[data-more]{margin:4px 0 14px}.tc-dialog .code-usage-filters{margin-top:0}.tc-dialog .code-summary{background:#132d46}.tc-dialog .table-wrap small{display:block;color:#96b0cd;margin-top:5px}.tc-dialog [data-tab-body=usage] table td{white-space:normal;font-size:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1500px){.tc-layout.has-groups{grid-template-columns:235px minmax(0,1fr)}.tc-table td{padding:17px 18px}.tc-row-open strong{font-size:15px}.tc-row-open span>span{font-size:13px}}
@media(max-width:1100px){.tc-layout.has-groups{grid-template-columns:175px minmax(0,1fr)}.tc-manager{padding:18px}.tc-tabs>button{font-size:12px;padding:15px 8px}.tc-groups>button{padding:12px 9px;gap:7px}.tc-table{min-width:620px}.tc-table .tc-icon{width:32px;height:32px}.tc-row-open{gap:8px}.tc-audit-filters{grid-template-columns:1fr 1fr}.tc-assign-layout{grid-template-columns:minmax(0,1.5fr) minmax(210px,1fr)}}
@media(max-width:720px){.tc-heading{align-items:start}.tc-heading h2{font-size:23px}.tc-heading p{font-size:12px}.tc-heading .tc-icon{display:none}.tc-heading>button{font-size:12px;padding:10px}.tc-tabs{overflow:auto}.tc-tabs>button{flex:none;white-space:nowrap}.tc-layout.has-groups{grid-template-columns:1fr}.tc-groups{display:flex;overflow:auto;padding:0}.tc-groups h3{display:none}.tc-groups>button{width:auto;white-space:nowrap;flex:none}.tc-groups .tc-manage-groups{margin:0!important}.tc-toolbar{flex-direction:column;align-items:stretch;gap:10px}.tc-filter{width:100%}.tc-result-heading{padding:15px}.tc-result-heading h3{font-size:18px}.tc-result-heading p{font-size:11px}.tc-dialog>.heading{padding:20px 18px 12px}.tc-dialog>.heading h2{font-size:20px;gap:10px}.tc-dialog>.heading h2>.tc-icon{width:42px;height:42px}.tc-dialog>.heading h2>.tc-pill{display:none}.tc-detail-tabs{margin:0 18px;gap:0}.tc-detail-tabs button{font-size:12px;padding:12px 10px}.tc-detail-scroll{padding:20px 18px;max-height:calc(94vh - 285px)}.tc-form-grid{grid-template-columns:1fr;gap:16px}.tc-assign-layout{grid-template-columns:1fr}.tc-assignment-summary{display:none}.tc-assignment-heading{align-items:start}.tc-assignment-heading h3{font-size:18px}.tc-assignment-heading>.tc-pill{white-space:nowrap;font-size:10px}.tc-modal-footer{padding:14px 18px;gap:8px}.tc-modal-footer button{font-size:12px;padding:10px 12px;min-height:40px}.tc-footer-note{font-size:10px;max-width:140px}.tc-metadata{gap:16px}.tc-change>div{grid-template-columns:1fr}.tc-change b{text-align:center;transform:rotate(90deg)}.tc-audit-card{padding:12px}.tc-picker-popup{min-width:0}.tc-toggle{padding:14px}.tc-dialog .form-error:not(:empty){padding:8px 18px}}

/* Keep group controls and save actions visible on long assignment lists. */
.tc-assignment-tree{max-height:410px;overflow:auto;scrollbar-width:thin;scrollbar-color:#546383 #0c2035}
.tc-manager nav.tc-tabs{gap:0;flex-direction:row;margin-top:0}
@media(max-width:720px){.tc-manager nav.tc-tabs>button{flex:none}.tc-assignment-tree{max-height:320px}}

/* Shared ERP visual language: presentation only, no permission or navigation changes. */
:root{--work-purple:#a56bff;--work-border:#304c6b;--work-panel:#0e243b}
.work-layout{background:radial-gradient(ellipse at top right,#14244966,transparent 65%),#081626}
.work-layout .panel,.work-layout .hr-card,.work-layout .personal-hero{border-color:#2b4461;background:linear-gradient(120deg,#10273e,#0b1e32);border-radius:14px}
.work-layout .heading h1,.work-layout .heading h2,.case-dialog>.heading h2{letter-spacing:-.5px;color:#eff4ff}
.work-layout button.primary,.case-dialog button.primary,.work-confirm button.primary{background:linear-gradient(115deg,#a445ff,#6421ed);border:1px solid #a168ff;box-shadow:0 4px 17px #7936e92c;color:#fff}
.work-layout button.primary:hover,.case-dialog button.primary:hover,.work-confirm button.primary:hover{filter:brightness(1.1)}
.work-layout .hr-icon.purple,.work-layout .color-icon.help{background:linear-gradient(135deg,#823bd5,#38205f);color:#e0b4ff}
.work-layout .hr-icon.blue{background:linear-gradient(135deg,#147bd1,#123b6a);color:#84ddff}
.work-layout .hr-icon.teal,.work-layout .hr-icon.green{background:linear-gradient(135deg,#08796f,#12433e);color:#5af8d6}
.work-layout .hr-icon.amber{background:linear-gradient(135deg,#b4740a,#543215);color:#ffe088}
.case-dialog{background:linear-gradient(125deg,#102840,#0b1e32);border-color:#395777;border-radius:18px;box-shadow:0 24px 80px #0008}
.case-dialog::backdrop{background:#020b17b5;backdrop-filter:blur(4px)}
.work-layout button:focus-visible,.case-dialog button:focus-visible,.work-confirm button:focus-visible{outline:2px solid #c199ff;outline-offset:3px}
.work-gradient-icon{background:linear-gradient(145deg,color-mix(in srgb,var(--icon-color) 90%,white),color-mix(in srgb,var(--icon-color) 48%,#15103c))!important;color:white!important;border:1px solid color-mix(in srgb,var(--icon-color) 65%,white);box-shadow:inset 0 1px 1px #ffffff28,0 4px 12px #0002}
.work-gradient-icon svg{color:inherit!important;stroke:currentColor;stroke-width:1.8}.tc-manager .tc-icon{border-radius:11px}.tc-dialog .tc-icon{border-radius:12px}
.work-data-table th,.work-data-table td,.tc-dialog .tc-job-check,.tc-dialog .tc-linked{text-align:left!important}
.tc-table .tc-row-open{flex-direction:row;justify-content:flex-start!important;text-align:left!important}
.tc-table .tc-row-open>span:last-child{text-align:left}.tc-table .tc-row-open span>span,.tc-table .tc-row-open small{text-align:left}
.tc-table .tc-description{margin-left:0;margin-right:auto}.tc-related-label{display:flex;align-items:center;justify-content:flex-start;gap:13px}.tc-related-label strong,.tc-related-label small{display:block}
.tc-job-check{flex-direction:row!important;padding:12px 18px!important;justify-content:flex-start!important}.tc-job-check span{text-align:left}
.tc-assignment-group header>label{justify-content:flex-start;flex-direction:row}.tc-selected-group{flex-direction:row;text-align:left}.tc-assignment-summary{text-align:left}
.work-sort{display:inline-flex!important;align-items:center;justify-content:flex-start;gap:9px;width:100%;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;color:#b7cce8!important;font-size:12px!important;font-weight:550!important;white-space:normal!important;text-align:left}
.work-sort [data-sort-arrow]{font-size:17px;color:#889fbf}.work-data-table th[aria-sort=ascending] .work-sort,.work-data-table th[aria-sort=descending] .work-sort{color:#c89cff!important}.work-data-table th[aria-sort=ascending] [data-sort-arrow],.work-data-table th[aria-sort=descending] [data-sort-arrow]{color:#c99dff}
.work-pager{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:15px 18px;background:#0b2035;border-top:1px solid #304b68;color:#a8c0de;font-size:12px;border-radius:0 0 12px 12px}.work-pager>label{display:flex!important;align-items:center;gap:9px;white-space:nowrap;margin:0!important;font-size:12px}.work-pager .select-control{width:78px!important;margin:0!important;flex:none}.work-pager .select-trigger{min-height:36px!important;padding:7px 10px!important;font-size:12px!important}.work-pager>div{display:flex;align-items:center;gap:12px}.work-pager b{font-weight:500;white-space:nowrap}.work-pager>div>button{width:33px;height:33px;min-height:0;padding:0!important;font-size:23px;background:#142d49;border:1px solid #375676;border-radius:8px;color:#c5a2ff}.work-pager button:disabled{opacity:.35;cursor:not-allowed}
.tc-dialog .work-pager{padding:12px 10px;gap:9px;font-size:11px}.tc-dialog .work-pager>label{font-size:11px}.tc-dialog [data-assignment-pager] .work-pager>span{flex-basis:100%;order:3;text-align:left}.tc-dialog [data-tab-body=links] table{min-width:0;table-layout:auto}.tc-dialog [data-tab-body=links] .tc-table th:first-child{width:75%}.tc-dialog [data-tab-body=links] .tc-table th:nth-child(2){width:25%}
.work-appearance{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:24px;padding:22px;margin-top:22px;border:1px solid #34516e;border-radius:13px;background:linear-gradient(120deg,#10263f,#0a1e32)}
.work-appearance h3{font-size:18px;margin:0 0 17px;color:#eff4ff}.work-field-title{display:block;color:#ccdaec;font-size:13px;font-weight:600;margin:0 0 12px}.work-swatches{display:flex;gap:13px;flex-wrap:wrap;margin-bottom:17px}.work-swatches button{width:35px;height:35px;flex:none;border-radius:50%;border:2px solid #ffffff18;background:linear-gradient(130deg,var(--swatch),color-mix(in srgb,var(--swatch) 50%,#241343));padding:6px;box-shadow:inset 0 1px 2px #ffffff55}.work-swatches button[aria-pressed=true]{outline:2px solid #dbf3ff;outline-offset:3px}.work-swatches svg{width:19px;height:19px;color:#fff}
.work-custom-color{display:flex!important;align-items:center;gap:12px;margin:0 0 21px!important;color:#afc4df;font-size:12px}.work-custom-color [type=color]{width:36px;height:36px;padding:0;background:none;border:0;cursor:pointer;flex:none}.work-custom-color [data-color-hex]{width:115px;min-height:35px;border:1px solid #395d7d;border-radius:7px;background:#0c1f33;color:#f0f5ff;padding:7px 10px;font-family:inherit;font-size:12px}
.work-icon-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-top:12px;max-height:220px;overflow:auto;scrollbar-width:thin;scrollbar-color:#586085 #11283e;padding:3px}.work-icon-grid>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:67px;border:1px solid #385571;border-radius:9px;background:#0c2136;padding:9px 4px;color:#d4e4f7}.work-icon-grid>button svg{width:23px;height:23px}.work-icon-grid>button small{font-size:9px;line-height:1.2;white-space:normal}.work-icon-grid>button[aria-pressed=true]{border-color:#b086ff;background:linear-gradient(125deg,#6632a6,#194267);color:#fff;box-shadow:0 0 0 1px #9b63f7}.work-icon-grid>button:hover{border-color:#b99bff}
.work-live-preview{align-self:start;padding:17px 12px;border:1px solid #2e4964;border-radius:10px;background:#0a1c30;text-align:center}.work-live-preview>small{color:#a6c0df;font-size:11px}.work-live-preview .tc-icon{width:67px;height:67px;border-radius:16px;margin:18px auto}.work-live-preview .tc-icon svg{width:35px;height:35px}.work-live-preview strong{display:block;font-size:14px;line-height:1.5;overflow-wrap:anywhere;color:#e9f1ff}
.work-confirm{width:min(720px,94vw);max-width:720px;max-height:92vh;overflow:auto;border:1px solid #8c60fa;border-radius:21px;background:radial-gradient(ellipse at top,#182844,#0c1c33 75%);padding:34px;color:#eef3ff;box-shadow:0 25px 95px #000b;text-align:center;font-family:inherit}.work-confirm::backdrop{background:#020919b8;backdrop-filter:blur(5px)}.work-confirm>.tc-icon{width:72px;height:72px;border-radius:19px;margin:5px auto 20px}.work-confirm>.tc-icon svg{width:37px;height:37px}.work-confirm h2{font-size:29px;letter-spacing:-.6px;margin:0 0 17px}.work-confirm>p{font-size:16px;line-height:1.65;color:#bed0e8;max-width:550px;margin:0 auto 20px}.work-confirm-x{position:absolute;right:20px;top:15px;background:none;border:0;color:#b9a3ee;font-size:29px;width:32px;height:32px;padding:0}.work-confirm-subject{display:flex;gap:15px;align-items:center;padding:18px;text-align:left;border:1px solid #334c70;border-radius:12px;background:#122740;overflow-wrap:anywhere}.work-confirm-subject .tc-icon{width:43px;height:43px;border-radius:11px}.work-confirm-subject strong{font-size:16px}.work-confirm-actions{display:flex;align-items:stretch;gap:12px;margin-top:25px}.work-confirm-actions button{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;font-family:inherit;font-size:13px;font-weight:600;line-height:1.4;padding:14px 12px;border:1px solid #6982a3;background:#102238;border-radius:10px;color:#ecf3ff}.work-confirm-actions button.danger{color:#ff947f;border-color:#ef806f;background:#48223522}.work-confirm-actions svg{width:18px;height:18px}.work-confirm-actions button:first-child{border-color:#8a93e8}
.catalog-dialog [data-plan-appearance] .work-appearance{grid-template-columns:1fr;padding:14px;margin:0}.catalog-dialog [data-plan-appearance] .work-live-preview{display:none}.catalog-dialog [data-plan-appearance] .work-icon-grid{grid-template-columns:repeat(5,1fr)}
@media(max-width:750px){.work-appearance{grid-template-columns:1fr;padding:16px;gap:16px}.work-live-preview{display:flex;gap:15px;align-items:center;justify-content:center}.work-live-preview>.small{display:none}.work-live-preview .tc-icon{width:42px;height:42px;margin:0}.work-live-preview .tc-icon svg{width:24px;height:24px}.work-live-preview>small{display:none}.work-icon-grid{grid-template-columns:repeat(4,1fr)}.work-pager{padding:12px;gap:10px}.work-pager>span{order:3;flex-basis:100%;text-align:left}.work-confirm{padding:26px 19px}.work-confirm h2{font-size:24px}.work-confirm>p{font-size:14px}.work-confirm-actions{flex-direction:column}.work-confirm-actions button{min-height:44px}.work-confirm>.tc-icon{width:56px;height:56px}.work-confirm>.tc-icon svg{width:28px;height:28px}}

.access-tabs{display:flex;gap:8px;border-bottom:1px solid #29465e;margin:18px 0 24px;overflow-x:auto}.access-tabs button{border:0;border-radius:10px 10px 0 0;background:transparent;white-space:nowrap;display:flex;gap:9px;align-items:center;padding:14px 18px;color:#adc3dd;min-height:46px}.access-tabs button.active{background:linear-gradient(125deg,#943bff33,#4065ff18);color:#dab8ff;border-bottom:3px solid #a355ff}.access-tabs svg{width:19px;height:19px}.access-super{width:100%;padding:26px;display:flex;align-items:center;gap:22px;border:1px solid #8752e7;background:linear-gradient(115deg,#7132b04f,#24418c40);border-radius:17px;text-align:left;margin:0 0 24px}.access-super .work-gradient-icon{width:68px;height:68px}.access-super>span:nth-child(2){flex:1}.access-super strong{font-size:25px;display:block;margin-bottom:8px}.access-super small{padding:4px 10px;border:1px solid #945dff66;border-radius:20px;color:#d8c0ff}.access-super p{margin:12px 0 0}.access-super>span:last-child{display:flex;gap:12px;align-items:center}.access-toolbar{display:flex;gap:16px;align-items:end;margin:18px 0}.access-toolbar>label:first-child{flex:1}.access-toolbar>label{margin:0;min-width:170px}.access-toolbar .primary{min-height:46px}.access-row{display:flex;align-items:center;gap:14px;text-align:left;justify-content:flex-start;width:100%;background:none;border:0;padding:3px}.access-row strong,.access-row small{display:block}.access-row small{margin-top:7px;font-size:12px;color:#9eb6ce;max-width:380px}.access-row .tc-icon{flex:none}.access-dialog{width:min(1320px,96vw);max-width:96vw;max-height:94dvh}.access-dialog>.heading{align-items:center;padding:22px 26px;background:linear-gradient(115deg,#59369038,#173b5730);border-bottom:1px solid #29465e}.access-dialog>.heading>div{display:flex;align-items:center;gap:16px}.access-dialog .case-content{padding:0 26px 20px}.access-dialog .access-form{display:block}.access-form fieldset{border:0;padding:0;margin:0;min-width:0}.access-form [data-edit-pane]{min-height:180px}.access-form [hidden]{display:none!important}.access-footer{position:sticky;bottom:-20px;z-index:3;padding:18px 0;background:#0b1d30;display:flex;align-items:center;gap:12px;border-top:1px solid #29465e;margin-top:22px}.access-footer>span{flex:1}.access-footer button{min-height:42px}.access-hero{display:flex;gap:18px;align-items:center;margin-bottom:18px}.access-hero .tc-icon{width:58px;height:58px;flex:none}.access-hero h2{margin:0 0 7px;font-size:23px}.access-hero p{margin:0;color:#a9c1d8;line-height:1.6}.access-matrix-layout{display:grid;grid-template-columns:225px minmax(0,1fr);gap:20px}.access-matrix-layout>aside{background:#0b1b2e;border:1px solid #29465e;border-radius:12px;padding:12px;max-height:65vh;overflow:auto;position:sticky;top:0}.access-matrix-layout aside details{margin:12px 0}.access-matrix-layout aside summary{padding:12px;display:flex;gap:10px;font-weight:700;cursor:pointer}.access-matrix-layout aside button{display:block;text-align:left;width:100%;border:0;background:none;margin:4px 0;padding:12px;color:#aec4dc}.access-matrix-layout aside button.active{background:linear-gradient(100deg,#913dff36,#2864a62b);box-shadow:inset 3px 0 #a264ff;color:#e5d7ff}.access-scope-note{display:flex;gap:14px;align-items:center;padding:14px;border:1px solid #275174;border-radius:12px;background:linear-gradient(120deg,#1b538633,#38296722);margin-bottom:18px}.access-scope-note p{margin:0;line-height:1.5}.access-scope-note small{display:block;color:#a4bdd5;margin-top:6px}.access-matrix-layout table{min-width:730px;width:100%;table-layout:fixed}.access-matrix-layout th:first-child{width:155px}.access-matrix-layout th:nth-child(2){width:72px}.access-matrix-layout th:last-child{width:165px}.access-matrix-layout td,.access-matrix-layout th{padding:13px 8px;font-size:12px;text-align:center;vertical-align:top}.access-matrix-layout tbody th{text-align:left;line-height:1.7}.access-matrix-layout table small{display:block;color:#97afc9;font-size:10px}.access-grant{padding:3px 0 10px;display:grid;justify-items:center;gap:8px}.access-grant label{display:flex;align-items:center;gap:6px;font-size:11px;margin:0}.access-grant input,.access-matrix-layout [data-none]{width:18px;height:18px;accent-color:#9744ff}.access-grant select{width:100%;max-width:125px;font-size:11px;padding:8px 4px}.access-grant .mn-select{max-width:135px}.access-member{display:flex;gap:15px;align-items:center;padding:18px;border-bottom:1px solid #29465e}.access-member small{display:block;margin-top:7px;color:#9eb8d2}.access-member>span:last-child{margin-left:auto}.access-rule-step{background:linear-gradient(120deg,#12314965,#11253a50);padding:20px;border:1px solid #29465e;border-radius:14px;margin:18px 0}.access-rule-step .hr-unit-tree{max-height:240px;overflow:auto}.access-impact{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.access-impact>div{display:flex;gap:14px;align-items:center;border:1px solid #29465e;padding:20px;border-radius:13px;background:linear-gradient(115deg,#153849,#112336)}.access-impact strong{font-size:28px}.access-org{display:grid;grid-template-columns:340px minmax(0,1fr);gap:20px}.access-org>.hr-card{min-width:0}.access-org .heading h3{font-size:17px}.access-org .heading button{padding:8px;font-size:12px}.access-unit{display:flex;width:100%;gap:12px;align-items:center;text-align:left;padding:12px 8px;border:0;background:none;margin:5px 0;border-radius:12px}.access-unit>span:nth-child(2){flex:1}.access-unit strong,.access-unit small{display:block}.access-unit small{color:#98b0cb;margin-top:5px;font-size:11px}.access-unit .tc-icon{width:38px;height:38px}.access-unit.active{background:linear-gradient(115deg,#943bff33,#2559a133);box-shadow:inset 3px 0 #a35eff}.access-unit b{border-radius:20px;background:#1d3850;padding:5px 9px}.access-branch>summary{padding:12px 7px;color:#a9c7e1;cursor:pointer}.access-branch>div{border-left:1px solid #314b64;margin-left:16px;padding-left:9px}.access-audit-row{border:1px solid #29465e;border-radius:13px;margin:10px 0;background:#0d2237}.access-audit-row>summary{display:flex;align-items:center;gap:16px;padding:18px;cursor:pointer}.access-audit-row small{display:block;margin-top:8px;color:#a3bad3}.access-audit-diff{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px}.access-audit-diff section{min-width:0}.access-audit-diff pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;max-height:330px;overflow:auto;padding:12px;background:#081829;border-radius:8px;color:#bdcde0}.access-audit-diff section:first-child{border-top:2px solid #db8572}.access-audit-diff section:last-child{border-top:2px solid #25c9bb}
@media(max-width:1050px){.access-org{grid-template-columns:280px minmax(0,1fr)}.access-matrix-layout{grid-template-columns:180px minmax(0,1fr)}}
@media(max-width:760px){.access-org,.access-matrix-layout{grid-template-columns:1fr}.access-matrix-layout>aside{max-height:230px;position:static}.access-toolbar{flex-wrap:wrap}.access-toolbar>label:first-child{flex-basis:100%}.access-super{padding:16px;gap:12px;flex-wrap:wrap}.access-super strong{font-size:21px}.access-dialog .case-content{padding:0 12px 14px}.access-dialog>.heading{padding:16px}.access-footer{bottom:-14px;flex-wrap:wrap}.access-footer [data-danger]{width:100%}.access-impact,.access-audit-diff{grid-template-columns:1fr}.access-tabs button{padding:12px;font-size:12px}}
/* Override the legacy global sidebar nav rules for in-page tab navigation. */
nav.access-tabs{flex-direction:row;align-items:center;flex-wrap:nowrap;padding:0;gap:8px}
nav.access-tabs>button{width:auto;flex:0 0 auto;justify-content:center;box-shadow:none}
.access-dialog>.heading>h2{margin-right:auto;margin-left:16px}
.access-matrix-layout tbody th{color:#d6e3f5;font-size:13px;font-weight:600}
.access-dialog button.danger,.access-footer button.danger{color:#ff8ba5;border:1px solid #ac3d6166;background:#8f294219}
.access-audit-diff .access-field{border-bottom:1px solid #29465e;padding:10px 0;display:grid;gap:6px}
.access-audit-diff .access-field strong{color:#97b3ce;font-size:12px}
.access-audit-diff .access-field span{overflow-wrap:anywhere;white-space:pre-wrap}
.work-layout nav.access-tabs,dialog nav.access-tabs{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:nowrap}
.work-layout nav.access-tabs>button,dialog nav.access-tabs>button{width:auto;flex:0 0 auto;text-align:left}

.access-matrix-layout td,.access-matrix-layout th{text-align:left}.access-grant{justify-items:start}

/* Shared searchable organization selector. No native datalist or always-open radio list. */
.hr-unit-tree.unit-picker,.access-rule-step .hr-unit-tree.unit-picker{border:0!important;background:transparent!important;padding:0!important;max-height:none!important;overflow:visible!important;margin:6px 0 20px;min-width:0;color:#dce8fa;text-align:left}
.unit-picker [hidden]{display:none!important}.unit-picker .unit-trigger{width:100%;min-height:50px;display:flex;align-items:center;gap:12px;padding:10px 14px;text-align:left;border:1px solid #35536e;border-radius:12px;background:linear-gradient(105deg,#10263c,#0b1c2e);color:#e4edff;font:inherit}.unit-trigger [data-unit-caption]{flex:1;min-width:0;overflow-wrap:anywhere}.unit-trigger[aria-expanded=true]{border-color:#aa70ff;box-shadow:0 0 0 3px #9753ff1c}.unit-picker .unit-trigger-icon,.unit-picker .unit-small-icon{display:inline-grid;place-items:center;color:#fff;background:linear-gradient(135deg,#9945ff,#4967d1);border-radius:8px;width:30px;height:30px;flex:none}.unit-picker svg{width:18px;height:18px;color:inherit!important}.unit-chevron{color:#b48bf5;font-size:19px}.unit-picker .unit-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.unit-chips:empty{display:none}.unit-chips>span{border:1px solid #9760de66;border-radius:8px;padding:5px 10px;background:#8d47eb1f;color:#d5b7ff;font-size:12px;overflow-wrap:anywhere}
.unit-dropdown{margin-top:8px;border:1px solid #526088;border-radius:13px;background:linear-gradient(135deg,#10263e,#0a1c2e);padding:10px;box-shadow:0 12px 25px #0003}.unit-search{display:flex;gap:10px;align-items:center;border:1px solid #35536e;border-radius:9px;background:#091a2a;padding:0 12px;margin-bottom:9px}.unit-search>span{color:#bd96ff;font-size:25px}.unit-picker .unit-search input{border:0!important;background:transparent!important;box-shadow:none!important;margin:0!important;width:100%;min-height:42px;padding:9px 0!important;font:inherit;color:#e4edff}.unit-picker .unit-options{max-height:280px;overflow:auto;scrollbar-width:thin;scrollbar-color:#79639d #0b1c2c;overscroll-behavior:contain}.unit-options::-webkit-scrollbar{width:7px}.unit-options::-webkit-scrollbar-thumb{background:#79639d;border-radius:10px}.unit-options::-webkit-scrollbar-track{background:#0b1c2c}.unit-option{display:flex;align-items:center;min-height:44px;padding-left:calc(var(--unit-depth,0)*19px);border-radius:9px;margin:2px 0}.unit-option:has(input:checked){background:linear-gradient(90deg,#8845d435,#496bc51a);box-shadow:inset 3px 0 #b078ff}.unit-option:hover{background-color:#ffffff05}.unit-picker button.unit-expand{border:0;background:transparent;color:#c69aff;width:28px;min-width:28px;height:34px;padding:0;font-size:25px;box-shadow:none}.unit-expand[aria-expanded=true]{transform:rotate(90deg)}.unit-leaf{width:28px;flex:none}.unit-picker .unit-option label{display:flex!important;align-items:center;gap:10px;position:relative;flex:1;margin:0!important;min-height:44px;padding:6px 8px!important;background:transparent;border:0;font-size:14px;cursor:pointer;min-width:0;color:#dce8fa}.unit-picker .unit-option label input{position:absolute;opacity:0;width:1px!important;height:1px;margin:0;padding:0}.unit-mark{display:grid;place-items:center;flex:none;width:18px;height:18px;border:1px solid #657590;border-radius:5px;background:#091c2e;color:transparent;font-size:12px}.unit-picker[data-unit-multi=false] .unit-mark{border-radius:50%}.unit-picker input:checked+.unit-mark{background:linear-gradient(135deg,#b159ff,#7037f5);border-color:#c18cff;color:white}.unit-picker label:has(input:focus-visible){outline:2px solid #be8cff;outline-offset:-2px;border-radius:8px}.unit-picker label:has(input:disabled){opacity:.45;cursor:not-allowed}.unit-picker .unit-small-icon{width:27px;height:27px;background:linear-gradient(135deg,#2766a966,#733bbe66);color:#a9d7ff}.unit-name{flex:1;min-width:0;overflow-wrap:anywhere}.unit-name small{display:block;font-size:11px;color:#96aac1;margin-top:4px}.unit-dropdown footer{display:flex;gap:10px;align-items:center;margin-top:9px;padding:10px 2px 0;border-top:1px solid #2b415b}.unit-dropdown footer small{flex:1;color:#96aac1;font-size:11px}.unit-dropdown footer button{padding:7px 12px;font-size:12px;border-radius:8px;border:1px solid #3b536e;background:#142b40;color:#dce8fa;cursor:pointer}.unit-dropdown [data-unit-done]{background:linear-gradient(110deg,#9745ff,#6926fa);color:white;border-color:#9c5fff}.unit-no-results{padding:14px;text-align:center;color:#a3b6cf}.unit-picker:has(.unit-trigger:disabled){opacity:.6}.unit-picker button:focus-visible{outline:2px solid #bd91ff;outline-offset:2px}
@media(max-width:600px){.unit-dropdown footer{flex-wrap:wrap}.unit-dropdown footer small{flex-basis:100%}.unit-picker .unit-options{max-height:230px}.unit-option{padding-left:calc(var(--unit-depth,0)*10px)}.unit-picker .unit-option label{font-size:13px;gap:8px}}

/* Time report: readable table, editors appear only inside the active cell. */
.time-grid-screen .time-heading>.work-gradient-icon{width:66px;height:66px;border-radius:18px;background:linear-gradient(135deg,#00d2e0,#4160ff 62%,#9945ff)}
.time-grid-screen .time-heading>.work-gradient-icon svg{width:35px;height:35px}
.time-grid-screen .time-tabs{gap:12px;margin-bottom:20px;border-bottom:1px solid #284461;width:fit-content}
.time-grid-screen .time-tabs>button{background:transparent;border:0;border-bottom:3px solid transparent;border-radius:0;box-shadow:none;font-size:14px;font-weight:600}
.time-grid-screen .time-tabs>button[aria-selected=true]{background:linear-gradient(0deg,#8743dd18,transparent);border-bottom-color:#a15aff;color:#d9bdff}
.time-grid-screen .time-card{padding:24px 0 0;border:0;background:transparent}
.time-grid-screen .time-date-label>span{font-size:26px;font-weight:750}
.time-grid-screen .time-chips{margin:20px 0 28px}
.time-chip.amber{color:#ffcc67;background:#cf8b1715;border-color:#93662c}
.time-grid-box{border:1px solid #2b4d70;border-radius:14px;overflow:hidden;background:linear-gradient(110deg,#0d2339,#091e31)}
.time-grid-toolbar{display:flex;align-items:center;gap:14px;padding:18px 20px;background:linear-gradient(110deg,#12304a66,#0b2034)}
.time-grid-toolbar>.work-gradient-icon{width:46px;height:46px;border-radius:12px}.time-grid-toolbar h2{font-size:20px;margin:0 0 4px;color:#eaf2ff}.time-grid-toolbar small{font-size:12px;color:#99b4d4}.time-grid-toolbar>button{margin-left:auto;padding:12px 20px;display:flex;align-items:center;gap:9px}
.time-grid-screen .time-table-scroll{border:0;border-radius:0;scrollbar-width:thin;scrollbar-color:#405977 #0b1e31}
.time-grid-screen .time-table{min-width:1060px;font-size:14px;border-collapse:collapse;margin:0}
.time-grid-screen .time-table th{background:#142f48;border-top:1px solid #294b6b;border-right:1px solid #244360;padding:0;text-align:left;font-size:13px}
.time-grid-screen .time-table th:nth-child(1){width:24%}.time-grid-screen .time-table th:nth-child(2){width:18%}.time-grid-screen .time-table th:nth-child(3){width:16%}.time-grid-screen .time-table th:nth-child(4){width:25%}.time-grid-screen .time-table th:nth-child(5){width:11%}.time-grid-screen .time-table th:nth-child(6){width:6%}
.time-grid-screen .work-sort{width:100%;padding:16px 14px;justify-content:flex-start;gap:12px;font-size:13px;color:#b9d3f2;text-align:left;border:0;border-radius:0;background:none}.time-grid-screen .work-sort span{color:#7b9ab9;font-size:13px}
.time-grid-screen .time-table td{padding:6px 9px;vertical-align:middle;border-color:#23405b;text-align:left;height:65px}
.time-grid-screen .time-table tbody tr:nth-child(even){background:#16314933}.time-grid-screen .time-table tbody tr:hover{background:#25426933}.time-grid-screen .time-table tbody tr:focus-within{background:linear-gradient(90deg,#683dcc30,#6a3bc31a)}
.time-grid-screen .time-cell-value{display:flex;align-items:center;gap:12px;width:100%;min-height:50px;padding:5px;border:1px solid transparent;background:transparent;box-shadow:none;text-align:left;white-space:normal;border-radius:7px;color:#dbe8fb;font-size:13px;line-height:1.45}
.time-grid-screen .time-cell-value>span:not(.work-gradient-icon){min-width:0;overflow-wrap:anywhere}.time-grid-screen .time-cell-value strong{font-size:13px;color:#f0f5ff}.time-grid-screen .time-cell-value small{font-size:11px;color:#9db8d7;margin:3px 0 0}.time-grid-screen .time-cell-value:disabled{opacity:1;cursor:default}.time-grid-screen .time-cell-value:not(:disabled):hover{border-color:#7660a288}.time-grid-screen .time-cell-value:focus-visible{outline:2px solid #a160ff;outline-offset:0}
.time-grid-screen .time-cell-value .work-gradient-icon{width:37px;height:37px;border-radius:9px;flex:none}.time-grid-screen .time-cell-value .work-gradient-icon svg{width:21px;height:21px}
.time-grid-screen [data-cell=duration] .time-cell-value strong{font-size:17px;font-variant-numeric:tabular-nums}
.time-grid-screen [data-cell-editor][hidden],.time-grid-screen [data-cell-open][hidden]{display:none!important}
.time-grid-screen .time-table [data-cell-editor] input,.time-grid-screen .time-table [data-cell-editor] .select-trigger{background:#11223a;font-size:13px;min-height:43px;border-color:#9860e9}
.time-grid-screen .time-table [data-field=duration]{font-size:17px}
.time-grid-screen .time-table tfoot td{height:70px;background:#0d263c;border-top:1px solid #31516f;padding:14px;color:#f1f4ff}.time-grid-screen .time-table tfoot strong{font-size:16px}.time-grid-screen .time-table tfoot small{font-size:12px;color:#a2bedb}
.time-grid-screen .time-table .time-row-actions{white-space:nowrap;padding:5px;text-align:left}.time-grid-screen .time-row-actions button{width:26px;height:34px;padding:5px 3px;vertical-align:middle}.time-grid-screen .time-row-actions button:disabled{opacity:.25;cursor:not-allowed}
.time-grid-screen .work-pager{margin:0;border:0;border-top:1px solid #284865;border-radius:0;padding:10px 18px;background:#0b2136}.time-grid-screen .work-pager select{width:65px}.time-grid-screen .work-pager label{font-size:12px}
.time-grid-screen .time-submit-note{margin:16px 0 0;font-size:13px;padding:12px 15px}.time-grid-screen .time-submit-note.locked{color:#c7aeef;background:#8254b212;border-color:#73559b88}
.time-grid-screen .time-footer{margin:20px 0 0;background:transparent;padding:18px 0;border-radius:0}.time-grid-screen .time-footer>span{color:#40debe}.time-grid-screen .time-footer>small{font-size:11px;color:#9bb5d3}.time-grid-screen .time-footer>div{margin-left:auto}
.time-grid-screen .time-empty{padding:26px;text-align:center;color:#9db6d4}.time-grid-screen .time-grid-toolbar button:disabled{opacity:.35;cursor:not-allowed}
@media(max-width:650px){.time-grid-screen .time-date-label>span{font-size:17px}.time-grid-screen .time-grid-toolbar{padding:14px 12px;gap:10px}.time-grid-toolbar h2{font-size:16px}.time-grid-toolbar>button{font-size:12px;padding:10px}.time-grid-screen .time-footer>div{width:100%;justify-content:flex-end}.time-grid-screen .time-heading>.work-gradient-icon{width:50px;height:50px}.time-grid-screen .time-tabs{gap:2px}.time-grid-screen .time-tabs>button{font-size:11px;padding:11px 9px}.time-grid-screen .time-chips{margin-bottom:18px}}
/* Override the shared compact header reset; keep table text truly left aligned. */
.time-grid-screen .time-cell-value{justify-content:flex-start}
.time-grid-screen .time-table .work-sort{padding:16px 14px!important;font-size:13px!important;min-height:48px}
.time-grid-screen .time-heading>.work-gradient-icon{background:linear-gradient(135deg,#00d2e0,#4160ff 62%,#9945ff)!important}

/* MivoraNEXT WORK / overtime. Shared icons, type, dialogs and list controls. */
.ot-screen,.ot-sheet{--ot-muted:#a6bdd9;--ot-line:#294963;--ot-bg:#0b2034;color:#edf5ff;font-family:Inter,system-ui,sans-serif;font-size:14px}.ot-screen{display:grid;gap:22px}.ot-screen svg,.ot-sheet svg,.ot-reason-dialog svg{width:20px;height:20px;flex:none}.ot-heading,.ot-intro,.ot-actions,.ot-box-heading,.ot-section-title{display:flex;align-items:center;gap:14px}.ot-heading{justify-content:space-between}.ot-intro>.tc-icon{width:58px;height:58px;border-radius:17px}.ot-intro h1{font-size:32px;letter-spacing:-.8px;margin:6px 0}.ot-intro h2{font-size:24px;margin:0 0 6px}.ot-intro p,.ot-box-heading small,.ot-section-title small{color:var(--ot-muted);margin:4px 0 0;line-height:1.6}.ot-actions{gap:8px;flex-wrap:wrap}.ot-actions button{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.ot-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.ot-metrics:has(> :last-child:nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))}.ot-metric{display:flex;gap:17px;align-items:center;min-width:0;padding:24px;border:1px solid #2b4864;border-radius:17px;background:radial-gradient(ellipse at top right,#24587944,transparent 75%),linear-gradient(125deg,#102c44,#0d2035);box-shadow:0 12px 28px #020b161f}.ot-metric.purple{background:radial-gradient(ellipse at top right,#843cc438,transparent 75%),linear-gradient(125deg,#14253e,#0d2035);border-color:#654285}.ot-metric.teal{background:radial-gradient(ellipse at top right,#00bfa427,transparent 75%),linear-gradient(125deg,#103342,#0d2035);border-color:#256569}.ot-metric.amber{background:radial-gradient(ellipse at top right,#dba12625,transparent 75%),linear-gradient(125deg,#2a2c35,#0d2035);border-color:#625842}.ot-metric>div{min-width:0}.ot-metric .tc-icon{width:49px;height:49px;border-radius:15px}.ot-metric span:not(.tc-icon){font-size:12px;color:#c5d6ec}.ot-metric strong{display:block;font-size:29px;letter-spacing:-.6px;font-weight:750;margin:7px 0 5px;font-variant-numeric:tabular-nums}.ot-metric strong small{font-size:15px;font-weight:500;color:#b9cee6}.ot-metric div>small{color:#9fb8d4;font-size:11px;line-height:1.4;display:block}.ot-screen .teal,.ot-sheet .teal{color:#39e6cb}.ot-screen .pink,.ot-sheet .pink{color:#ff8fb2}.ot-screen .purple,.ot-sheet .purple{color:#c9a0ff}.ot-screen .amber,.ot-sheet .amber{color:#ffd383}.ot-box{border:1px solid var(--ot-line);border-radius:17px;background:linear-gradient(125deg,#0e263c,#0a1c30);min-width:0;overflow:visible}.ot-box-heading{padding:22px 24px;border-bottom:1px solid var(--ot-line);background:linear-gradient(105deg,#132e48b0,#182e4940);border-radius:17px 17px 0 0}.ot-box-heading h3,.ot-section-title h3{margin:0;font-size:18px}.ot-box-heading small{display:block;font-size:12px}.ot-box-heading .tc-icon{width:42px;height:42px}.ot-filters{display:grid;grid-template-columns:1.25fr 1fr .85fr .85fr auto;align-items:end;gap:14px;padding:22px 24px;margin:0;border-bottom:1px solid var(--ot-line)}.ot-screen label,.ot-sheet label,.ot-reason-dialog label{display:grid;gap:8px;font-size:12px;color:#bad0e9;min-width:0}.ot-screen input,.ot-sheet input,.ot-screen .select-trigger,.ot-sheet .select-trigger,.ot-sheet textarea{background:#091c2f;border-color:#36556f;min-height:43px;font-size:13px;box-sizing:border-box}.ot-screen [type=date],.ot-sheet [type=date],.ot-sheet [type=month]{color-scheme:dark}.ot-screen .table-wrap,.ot-sheet .table-wrap{margin:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#3b5671 #0b2034}.ot-table{width:100%;border-collapse:collapse;min-width:680px}.ot-table th{background:#142f48;color:#b7cdeb;padding:16px;text-align:left;font-size:12px;white-space:nowrap}.ot-table td{padding:20px 16px;border-bottom:1px solid #29445b;text-align:left!important;vertical-align:middle;font-size:13px;line-height:1.6;white-space:normal;max-width:310px;overflow-wrap:anywhere}.ot-table td small{display:block;color:#9bb6d4;font-size:11px;margin-top:4px}.ot-table tbody tr:hover{background:#1b345157}.ot-table [data-employee]{cursor:pointer}.ot-table [data-employee]:focus-visible{outline:2px solid #ab78ff;outline-offset:-2px}.ot-person{display:flex;align-items:center;justify-content:flex-start!important;text-align:left;gap:12px;background:none;border:0;padding:0;box-shadow:none;color:inherit}.ot-person:hover{background:transparent}.ot-person strong{font-size:14px}.ot-person .hr-avatar{width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,#406dd8,#6839b5);color:white;font-size:13px}.ot-person small{margin-top:2px!important}.ot-value{font-size:17px;font-variant-numeric:tabular-nums;white-space:nowrap}.ot-badge{display:inline-block;border:1px solid #426182;border-radius:8px;padding:5px 10px;font-size:12px;background:#152d46;white-space:nowrap}.ot-badge.purple{border-color:#7049a4;background:#62339a26}.ot-badge.teal{border-color:#087e76;background:#08786c22}.ot-badge.amber{border-color:#917134;background:#92661920}.ot-badge.blue{color:#82cfff;border-color:#3c779d}.ot-period{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ot-period .ot-metric{padding:18px 24px}.ot-period .ot-metric strong{font-size:23px}.ot-note{font-size:12px;color:#9bb6d4;line-height:1.7;margin:0}.ot-empty{display:grid;justify-items:center;text-align:center;gap:10px;padding:42px 20px;color:#a6bdd9}.ot-empty strong{color:#d9eaff;font-size:15px}.ot-empty>span:not(.tc-icon){font-size:12px}.ot-screen .work-pager,.ot-sheet .work-pager{padding:16px 20px;margin:0;border-top:0}.ot-ledger-filters{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:14px;padding:18px 24px}.ot-operation{display:flex;align-items:center;gap:10px;text-align:left;line-height:1.5}.ot-operation .tc-icon{width:33px;height:33px;border-radius:10px}.ot-operation .tc-icon svg{width:17px;height:17px}.ot-sheet.tc-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(1180px,95vw);max-width:none;height:100dvh;max-height:100dvh;border-radius:22px 0 0 22px;border:1px solid #365574;background:linear-gradient(140deg,#112c45,#091d30);padding:0;box-shadow:-24px 0 100px #0008;overflow:hidden;display:flex;flex-direction:column}.ot-sheet.tc-dialog:not([open]){display:none}.ot-sheet>.heading{flex:none;background:linear-gradient(100deg,#1b344f,#132641);border-bottom:1px solid #365574;padding:24px 28px;margin:0}.ot-sheet>.heading h2{display:flex;align-items:center;gap:15px;font-size:23px;min-width:0}.ot-sheet>.heading h2 small{display:block;color:#a9c0db;font-size:12px;font-weight:400;margin-top:8px}.ot-sheet>.heading .tc-icon{width:48px;height:48px;border-radius:15px}.ot-sheet>.case-content{min-height:0;flex:1;display:flex;flex-direction:column;padding:0;overflow:hidden}.ot-sheet-scroll{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#546881 #10263b}.ot-sheet .ot-metrics{padding:22px 26px 16px;gap:12px}.ot-sheet .ot-metric{padding:17px 14px;gap:12px}.ot-sheet .ot-metric strong{font-size:25px}.ot-sheet .ot-metric .tc-icon{width:40px;height:40px}.ot-sheet .tc-detail-tabs{margin:0 26px;display:flex;flex-direction:row}.ot-sheet .ot-sheet-body{padding:22px 26px}.ot-sheet .ot-section-title{margin-bottom:15px}.ot-sheet .ot-section-title:has(>h3){display:block}.ot-sheet .ot-section-title small{display:block;font-size:12px}.ot-sheet .ot-ledger-filters{padding:0;margin:18px 0}.ot-sheet .ot-table{border:1px solid #294963}.ot-sheet .ot-check{width:19px;height:19px;min-height:0;margin:0;accent-color:#9142ff;cursor:pointer}.ot-settlement{margin:24px 0 0;padding:24px;border:1px solid #7652a6;border-radius:15px;background:radial-gradient(ellipse at top right,#7934d12b,transparent 75%),linear-gradient(115deg,#192b48,#10253b)}.ot-form-grid{display:grid;grid-template-columns:1fr .7fr 1fr;gap:16px}.ot-form-grid .ot-wide{grid-column:1/-1}.ot-projection{display:flex;align-items:center;gap:24px;border:1px solid #3b5873;background:#0b2135;border-radius:11px;padding:18px 22px;margin-top:18px}.ot-projection span{font-size:12px;color:#a6bdd9}.ot-projection strong{display:block;font-size:23px;color:#f0f5ff;margin-top:5px;font-variant-numeric:tabular-nums}.ot-projection>b{font-size:24px;color:#af8ae1}.ot-settlement-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:20px}.ot-settlement-footer small{color:#acc2dc}.ot-sheet .tc-modal-footer{flex:none;background:#0a1c2f;border-top:1px solid #365574;padding:16px 26px;margin:0}.ot-sheet .tc-footer-note{display:flex;align-items:center;gap:8px}.ot-reason-dialog{width:min(540px,94vw)}.ot-reason-dialog textarea{width:100%;box-sizing:border-box;background:#0b2034;color:#ecf3ff}.ot-screen .primary,.ot-sheet .primary{background:linear-gradient(110deg,#ad47fa,#6921f3);border:1px solid #b25eff;box-shadow:0 6px 18px #6528b92b}.ot-screen button:focus-visible,.ot-sheet button:focus-visible{outline:2px solid #c99eff;outline-offset:3px}
@media(max-width:1300px){.ot-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ot-metric{padding:18px}.ot-filters{grid-template-columns:1fr 1fr}.ot-filters button{justify-self:start}.ot-heading{align-items:flex-start}.ot-intro h1{font-size:28px}}
@media(max-width:720px){.ot-screen{gap:16px}.ot-heading{flex-direction:column}.ot-intro h1{font-size:26px}.ot-intro p{font-size:12px}.ot-intro>.tc-icon{width:46px;height:46px}.ot-metrics,.ot-metrics:has(> :last-child:nth-child(3)),.ot-period{grid-template-columns:1fr}.ot-metric strong{font-size:28px}.ot-metric{padding:18px}.ot-filters{padding:16px;gap:12px}.ot-filters label:first-child{grid-column:1/-1}.ot-box-heading{padding:16px}.ot-ledger-filters{grid-template-columns:1fr 1fr;padding:16px}.ot-ledger-filters label:first-child{grid-column:1/-1}.ot-sheet.tc-dialog{width:100vw;border-radius:0}.ot-sheet>.heading{padding:18px 16px}.ot-sheet>.heading h2{font-size:20px}.ot-sheet .ot-metrics{padding:16px;grid-template-columns:1fr}.ot-sheet .ot-metric{padding:12px;gap:14px}.ot-sheet .ot-metric strong{font-size:23px;margin:3px 0}.ot-sheet .ot-sheet-body{padding:16px}.ot-sheet .tc-detail-tabs{margin:0 16px;overflow:auto}.ot-sheet .tc-detail-tabs button{white-space:nowrap}.ot-form-grid{grid-template-columns:1fr 1fr}.ot-form-grid label:first-child{grid-column:1/-1}.ot-settlement{padding:16px}.ot-projection{padding:14px;gap:16px}.ot-projection strong{font-size:20px}.ot-settlement-footer{align-items:stretch;flex-direction:column}.ot-sheet .tc-modal-footer{padding:14px 16px}.ot-screen .work-pager,.ot-sheet .work-pager{padding:12px;gap:8px}}
/* Keep names and codes readable inside horizontally scrollable mobile tables. */
.ot-person{min-width:220px}.ot-person>span:last-child{min-width:160px}.ot-table{min-width:840px}.ot-table .ot-operation{min-width:160px}.ot-table td:has(.ot-check){width:52px;max-width:52px}.ot-sheet .ot-table td:has(.ot-check){padding-left:16px;padding-right:16px}

/* HR daily time review / same MivoraNEXT visual language as code administration. */
.ht-screen{color:#ecf4ff;font-size:14px}.ht-heading{display:flex;align-items:center;gap:18px;margin-bottom:25px}.ht-heading>.tc-icon{width:60px;height:60px;border-radius:17px}.ht-heading h1{font-size:32px;margin:5px 0;letter-spacing:-.7px}.ht-heading p{color:#a8bed8;margin:0}.ht-heading>button{margin-left:auto}.ht-screen svg,.ht-confirm svg,.ht-history svg{width:19px;height:19px;flex:none}.ht-layout{min-width:0;display:grid;grid-template-columns:250px minmax(0,1fr);gap:20px;align-items:start}.ht-layout.ht-inline{grid-template-columns:1fr}.ht-people,.ht-day{border:1px solid #2e4e69;border-radius:16px;background:linear-gradient(130deg,#102b43,#0a1e32)}.ht-people{min-width:0;max-width:100%;padding:17px;position:sticky;top:18px}.ht-people h2{font-size:16px;margin:0 0 15px}.ht-search{display:flex;align-items:center;border:1px solid #365574;border-radius:10px;padding:0 10px;gap:6px;background:#0b2035}.ht-search input{border:0;margin:0;background:transparent;padding:13px 0;font-size:12px;outline:0}.ht-person{display:flex;width:100%;justify-content:flex-start!important;text-align:left;gap:11px;padding:14px 10px;margin-top:10px;border:1px solid #284762;background:#0d2439;border-radius:12px;min-width:0}.ht-person.selected{background:linear-gradient(110deg,#64418c55,#49277355);border-color:#a76dff;box-shadow:inset 3px 0 #b378ff}.ht-person .hr-avatar{width:38px;height:38px;flex:none}.ht-person span:last-child{min-width:0}.ht-person strong{display:block;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.ht-person small{display:block;color:#95b3d0;font-size:11px;margin-top:5px}.ht-people .work-pager{padding:12px 0;display:flex;flex-wrap:wrap;gap:8px;font-size:11px}.ht-people .work-pager label{font-size:10px}.ht-people .work-pager>span{width:100%}.ht-people .work-pager button{padding:6px 9px}.ht-day{padding:24px;min-width:0}.ht-person-heading{display:flex;align-items:center;gap:13px}.ht-person-heading .hr-avatar{width:50px;height:50px;flex:none}.ht-person-heading h2{font-size:23px;margin:0 0 7px}.ht-person-heading small{color:#9db9d8}.ht-state{display:flex;align-items:center;gap:7px;margin-left:auto;border:1px solid #3c6183;border-radius:22px;padding:9px 13px;background:#24426044;font-size:11px;white-space:nowrap}.ht-state.locked{color:#4ee3cb;border-color:#087c70;background:#056f582a}.ht-date{display:flex;justify-content:center;align-items:center;gap:12px;margin:24px 0}.ht-date>strong{font-size:21px;font-weight:750;text-align:center;letter-spacing:-.3px}.ht-date>button{font-size:23px;color:#c797ff;padding:4px 12px;border-color:#7960b6;background:#4c2a6c30;height:42px}.ht-date label{max-width:150px}.ht-date input{font-size:11px;margin:0;min-height:42px}.ht-date .mn-date-button{color:#c798ff}.ht-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ht-metric{display:flex;align-items:center;gap:13px;background:linear-gradient(135deg,#15344f,#0a2239);border:1px solid #31546e;border-radius:13px;padding:19px 14px}.ht-metric .tc-icon{width:44px;height:44px;border-radius:13px}.ht-metric span:not(.tc-icon){font-size:12px;color:#bad0e7}.ht-metric strong{display:block;font-size:23px;font-weight:750;margin-top:6px;white-space:nowrap;font-variant-numeric:tabular-nums}.ht-day-type{display:flex;align-items:center;gap:8px;font-size:12px;color:#9dbbd8;margin:14px 0 18px}.ht-selection{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #4b477b;background:linear-gradient(110deg,#45316a38,#132b41);border-radius:10px;padding:12px 14px;margin-bottom:14px}.ht-selection>span{color:#bed0e6;font-size:12px;white-space:nowrap}.ht-selection>div{display:flex;gap:8px;flex-wrap:wrap}.ht-selection button{font-size:11px;padding:9px 11px}.ht-grid{border:1px solid #2d4c68;border-radius:12px;overflow:hidden}.ht-grid .table-wrap{overflow:auto;scrollbar-width:thin;scrollbar-color:#536783 #0d2439;margin:0}.ht-table{width:100%;min-width:920px;border-collapse:collapse}.ht-table th{background:#15334d;font-size:12px;color:#bbd2e9;padding:16px 13px;text-align:left;white-space:nowrap}.ht-table td{font-size:12px;color:#dbe9fa;padding:19px 13px;border-bottom:1px solid #2a4660;vertical-align:middle;text-align:left!important;max-width:240px;overflow-wrap:anywhere}.ht-table tbody tr:hover{background:#39517822}.ht-table td small,.ht-table tfoot small{display:block;font-size:10px;color:#9ebad5;line-height:1.6;margin-top:6px}.ht-table .ht-job{display:flex;align-items:center;gap:9px;min-width:190px}.ht-job .tc-icon{width:33px;height:33px;border-radius:9px;flex:none}.ht-job .tc-icon svg{width:18px;height:18px}.ht-job strong{font-size:11px}.ht-table input[type=checkbox]{width:18px;height:18px;margin:0;accent-color:#9643fa;cursor:pointer}.ht-table td:first-child,.ht-table th:first-child{width:43px;padding:14px 10px}.ht-table tfoot td{background:#142f47;padding:19px 14px;color:#edf5ff}.ht-table tfoot strong{font-size:17px}.ht-grid .work-pager{padding:14px 15px;margin:0}.ht-row-actions{display:flex;gap:5px}.ht-row-actions button{padding:7px;background:#162d42}.ht-row-actions .danger{color:#ff87a7;border-color:#823855;background:#6f254230}.ht-table .ht-feedback{color:#f6c374}.ht-footer{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-top:22px}.ht-footer button{font-size:12px}.ht-footer .danger,.ht-selection .danger{color:#ff91b2;border-color:#9e4b71;background:#8b284126}.ht-note{display:flex;align-items:center;gap:8px;font-size:11px;color:#a0bad6;line-height:1.6;margin:18px 0 0}.ht-confirm.tc-dialog{width:min(840px,95vw)}.ht-confirm>.heading h2{display:flex;gap:16px;align-items:center;font-size:24px}.ht-confirm>.heading h2 .tc-icon{width:52px;height:52px;border-radius:15px}.ht-confirm>.heading h2 small{display:block;font-size:12px;color:#a8c0dc;font-weight:400;margin-top:9px}.ht-dialog-content{padding:22px 28px;max-height:calc(95dvh - 130px);overflow:auto;scrollbar-width:thin;scrollbar-color:#526581 #102840}.ht-mini-list{max-height:190px;overflow:auto;border:1px solid #32516d;border-radius:10px}.ht-mini-list>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 17px;border-bottom:1px solid #2b465f;background:#112c43}.ht-mini-list>div:last-child{border:0}.ht-mini-list strong{font-size:12px}.ht-mini-list small{display:block;color:#a7bfd8;font-size:11px;margin-top:5px}.ht-mini-list b{font-size:13px;white-space:nowrap}.ht-effects{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.ht-effects>div{padding:17px;background:linear-gradient(120deg,#21485866,#31225255);border:1px solid #436377;border-radius:12px;font-size:12px;color:#b9cfe5}.ht-effects strong{display:block;font-size:21px;color:#fff;margin-top:10px}.ht-callout{padding:13px 15px;border:1px solid #99733d;border-radius:10px;background:#c2831720;color:#ffdc9e;font-size:12px;line-height:1.7}.ht-callout.blocked{border-color:#aa4869;background:#a52d4422;color:#ffb9cd}.ht-confirm label{font-size:12px;color:#c1d1e8}.ht-confirm textarea{background:#0b2135;border-color:#3c5b76;font-size:13px}.ht-check-label{display:flex;align-items:center;gap:10px;margin-top:18px}.ht-check-label input{width:18px;height:18px;margin:0;accent-color:#a344fd}.ht-dialog-footer{display:flex;align-items:center;gap:12px;margin-top:23px;padding-top:20px;border-top:1px solid #304c65}.ht-dialog-footer small{display:flex;align-items:center;gap:6px;color:#9ebbd7;font-size:11px;margin-right:auto}.ht-dialog-footer .ht-danger{background:linear-gradient(110deg,#e85380,#a82768);border-color:#f588b3;color:#fff;font-weight:650}.ht-audit{display:flex;align-items:flex-start;gap:14px;border:1px solid #35546e;border-radius:12px;background:#112b42;padding:18px;margin:14px 0}.ht-audit>div{min-width:0}.ht-audit small{display:block;color:#a8bed8;margin-top:7px}.ht-audit p{font-size:12px;overflow-wrap:anywhere}.ht-audit details{font-size:12px;color:#b9cde5}.ht-screen [hidden]{display:none!important}
@media(max-width:1250px){.ht-layout{grid-template-columns:205px minmax(0,1fr);gap:14px}.ht-day{padding:18px}.ht-person-heading{flex-wrap:wrap}.ht-state{margin-left:0}.ht-date{gap:8px;flex-wrap:wrap}.ht-date strong{font-size:18px}.ht-metric{padding:15px 10px;gap:8px}.ht-metric .tc-icon{width:35px;height:35px}.ht-metric strong{font-size:20px}.ht-selection{flex-direction:column;align-items:flex-start}}
@media(max-width:760px){.ht-heading{gap:12px;flex-wrap:wrap}.ht-heading h1{font-size:27px}.ht-heading p{font-size:12px}.ht-heading>.tc-icon{width:46px;height:46px}.ht-heading>button{margin-left:0}.ht-layout{grid-template-columns:minmax(0,1fr)}.ht-people{position:static;padding:14px}.ht-people [data-ht-people]{min-width:0;max-width:100%;display:flex;gap:10px;overflow:auto}.ht-person{flex:0 0 205px}.ht-people .work-pager>span{width:auto}.ht-day{padding:15px}.ht-metrics{gap:8px;grid-template-columns:1fr}.ht-metric{padding:12px;gap:14px}.ht-metric strong{font-size:22px}.ht-metric .tc-icon{width:40px;height:40px}.ht-date strong{font-size:17px;max-width:230px}.ht-person-heading h2{font-size:20px}.ht-dialog-content{padding:18px}.ht-effects{grid-template-columns:1fr}.ht-dialog-footer{flex-wrap:wrap}.ht-dialog-footer small{width:100%}.ht-confirm>.heading h2{font-size:20px}.ht-confirm>.heading h2 .tc-icon{width:43px;height:43px}.ht-footer button{font-size:11px}.ht-selection>div{gap:6px}}

/* Unified staff / organization / overtime surfaces. */
.profile-links>button{display:flex!important;justify-content:flex-start!important;text-align:left!important;gap:13px!important;padding:12px 16px!important}.profile-links>button>svg{flex:none;margin:0!important}.profile-links>button>span{flex:1;text-align:left}.profile-links>button>small{margin-left:auto}
.ht-date label{width:42px;max-width:42px;flex:none}.ht-date .mn-date-wrap{width:42px}.ht-date .mn-date-text{display:none!important}.ht-date input{width:1px!important;padding:0!important;opacity:0;position:absolute;pointer-events:none}.ht-date .mn-date-button{width:42px;min-width:42px;height:42px;padding:9px;border:1px solid #805cae;border-radius:10px;background:linear-gradient(135deg,#413066,#1b2943)}
.unit-table-head{display:grid;grid-template-columns:1fr 100px 68px;padding:12px 14px;background:#16334d;border-radius:8px 8px 0 0;color:#a9c6e2;font-size:11px}.unit-picker .unit-option{border-radius:0;min-height:53px;border-bottom:1px solid #2b455c;margin:0}.unit-picker .unit-option label{min-height:53px}.unit-picker .unit-mark{order:5;margin-left:12px;margin-right:8px}.unit-picker .unit-code{font-size:11px;color:#a8c4df;min-width:100px}.unit-picker .unit-small-icon{background:linear-gradient(135deg,var(--unit-color,#16bcc8),color-mix(in srgb,var(--unit-color,#16bcc8) 40%,#102038));color:#fff!important;border:1px solid #ffffff45}.unit-picker .unit-options{max-height:310px}.unit-picker .unit-option:has(input:checked){border-radius:9px;box-shadow:inset 0 0 0 1px #a473ff;background:linear-gradient(100deg,#55318165,#20496444)}.hr-form-grid>.unit-picker{grid-column:1/-1}.unit-empty .unit-name{padding-left:37px}
.staff16 svg,.ot-units svg{width:19px;height:19px}.staff16-heading{display:flex;align-items:center;gap:18px}.staff16-heading>.tc-icon{width:58px;height:58px;border-radius:16px}.staff16-heading h1{margin:5px 0;font-size:32px}.staff16-heading p{margin:0;color:#abc2da}.staff16-tools{display:flex;align-items:end;gap:18px;margin:24px 0}.staff16-tools>.tc-search{flex:1;margin:0;min-width:0}.staff16-tools>label:last-child{width:210px}.staff16-layout,.ot-directory-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:20px}.staff16-units,.ot-units{border:1px solid #2c4c67;border-radius:14px;background:linear-gradient(130deg,#112b42,#0a2034);padding:18px 0;align-self:start;min-width:0}.staff16-units h3,.ot-units h3{font-size:15px;margin:4px 18px 20px}.staff16-units button,.ot-units button{display:flex;width:100%;align-items:center;gap:11px;border:0;border-radius:0;min-height:61px;background:transparent;padding:12px 15px;text-align:left;justify-content:flex-start;font-size:13px}.staff16-units button>span:not(.tc-icon),.ot-units button>span:not(.tc-icon){flex:1}.staff16-units .tc-icon,.ot-units .tc-icon{width:35px;height:35px;border-radius:10px;flex:none}.staff16-units button[aria-pressed=true],.ot-units button[aria-pressed=true]{background:linear-gradient(100deg,#7040a749,#31396b3a);box-shadow:inset 3px 0 #b17aff}.staff16 .hr-master{display:block;min-width:0}.staff16 .hr-master.has-detail{display:grid;grid-template-columns:230px minmax(0,1fr);gap:18px}.staff16 .hr-directory{padding:0;min-width:0;overflow:hidden;background:linear-gradient(120deg,#102a40,#0a2034);border-radius:14px}.staff16 .hr-list-heading{padding:21px;display:flex;align-items:center;gap:13px;margin:0;border-bottom:1px solid #2b4660}.staff16 .hr-list-heading h3{margin:0 0 7px}.staff16 .hr-list-heading small{color:#a9c2dc}.staff16-table{width:100%;border-collapse:collapse;min-width:650px}.staff16-table th{padding:16px;background:#16334d;font-size:12px;text-align:left}.staff16-table td{padding:21px 16px;border-bottom:1px solid #2a435d;text-align:left!important;font-size:13px}.staff16-table tbody tr{cursor:pointer}.staff16-table tr.selected,.staff16-table tbody tr:hover{background:#68419326}.staff16-person{display:flex;align-items:center;gap:13px;min-width:170px}.staff16-person strong{font-size:14px}.staff16-person small{display:block;color:#94b4d2;font-size:11px;margin-top:7px}.staff16-unit-badge{background:#16a9b91a;border:1px solid #2696ac55;color:#83dce1;border-radius:8px;padding:7px 9px;font-size:12px;display:inline-block}.staff16 .work-pager{padding:17px}.staff16 .has-detail .staff16-table{min-width:0}.staff16 .has-detail .staff16-table th:not(:first-child),.staff16 .has-detail .staff16-table td:not(:first-child){display:none}.staff16 .has-detail .staff16-table td{padding:17px 12px}.staff16 .has-detail .staff16-person{min-width:0}.staff16 .has-detail .staff16-person strong{font-size:12px}.staff16 .has-detail .hr-list-heading{padding:15px}.staff16 .hr-profile-header{background:linear-gradient(115deg,#21455f,#30294d);border:1px solid #3e5879;border-radius:15px;padding:22px}.staff16 .hr-tabs{gap:7px;padding:16px 0}.staff16 .hr-tabs button{padding:12px 15px;border-radius:9px}.staff16 .hr-tabs button.active{background:linear-gradient(115deg,#973bfa,#6329d5);color:white}.staff16 .hr-card{border-color:#304f6a}.staff16 .hr-icon{color:white!important;background:linear-gradient(135deg,#9849ec,#453c81);border:1px solid #c59afe66}.staff16 .hr-icon.blue{background:linear-gradient(135deg,#2dbaff,#225da1)}.staff16 .hr-icon.green{background:linear-gradient(135deg,#10d4bd,#176a75)}.staff16 .hr-icon.amber{background:linear-gradient(135deg,#fac34a,#9b6516)}.staff16 .hr-icon svg{color:white!important}
.ot-directory-layout .ot-filters{grid-template-columns:minmax(160px,1fr) 160px 160px auto}.ot-directory-layout .ot-box{min-width:0}.ot-selection-bar{position:sticky;bottom:0;z-index:2;border:1px solid #65558e;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;margin:18px 0;background:linear-gradient(110deg,#24324e,#172a45);box-shadow:0 -6px 25px #06152455}.ot-selection-bar>div{display:flex;gap:12px;flex-wrap:wrap}.ot-selection-bar .danger{color:white;background:linear-gradient(110deg,#df5284,#a83262);border-color:#ff8daf}.ot-settlement[hidden]{display:none}.ot-sheet .heading .hr-avatar{width:62px;height:62px;flex:none;border:2px solid #8dbcef}.ot-sheet .heading .hr-avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
@media(max-width:1300px){.staff16-layout{grid-template-columns:180px minmax(0,1fr)}.staff16 .hr-master.has-detail{display:block}.staff16 .has-detail .hr-directory{max-height:240px;overflow:auto;margin-bottom:18px}.ot-directory-layout .ot-filters{grid-template-columns:1fr 1fr}.staff16-table{min-width:600px}}
@media(max-width:760px){.staff16-layout,.ot-directory-layout{grid-template-columns:minmax(0,1fr)}.staff16-units,.ot-units{display:flex;overflow:auto;padding:10px}.staff16-units h3,.ot-units h3{display:none}.staff16-units button,.ot-units button{min-width:165px;border-radius:10px}.staff16-tools{flex-wrap:wrap}.staff16-tools>.tc-search{flex-basis:100%}.staff16-heading h1{font-size:26px}.ot-selection-bar{flex-wrap:wrap;position:static}.unit-table-head{grid-template-columns:1fr 75px 50px}.unit-picker .unit-code{min-width:75px}.staff16 .hr-master.has-detail{grid-template-columns:minmax(0,1fr)}}
.staff16 .hr-list-heading{justify-content:flex-start!important;text-align:left!important}.staff16 .hr-list-heading>div{margin-left:0;text-align:left}.staff16-edit.hr-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(890px,96vw);max-width:96vw;height:100dvh;max-height:100dvh;border-radius:18px 0 0 18px;padding:0;overflow:auto;background:linear-gradient(135deg,#133049,#0a1f32);border-color:#42617b}.staff16-edit>.heading{position:sticky;top:0;z-index:3;padding:23px 26px;margin:0;background:linear-gradient(110deg,#19364f,#152d46);border-bottom:1px solid #36526f}.staff16-edit>.heading h2{display:flex;align-items:center;gap:14px;font-size:25px}.staff16-edit>.heading h2>.tc-icon{width:47px;height:47px;border-radius:13px}.staff16-edit .hr-form{padding:24px 26px}.staff16-edit-person{display:flex;align-items:center;gap:16px;margin:0 0 25px;padding-bottom:22px;border-bottom:1px solid #304d65}.staff16-edit-person .hr-avatar{width:63px;height:63px;flex:none}.staff16-edit-person h3{margin:0 0 7px;font-size:20px}.staff16-edit-person small{color:#a6bfd9}.staff16-org-field{grid-column:1/-1}.staff16-org-field>.unit-picker{margin-bottom:0}.staff16-edit .hr-form>.primary{position:sticky;bottom:15px;margin-top:22px;min-width:170px;box-shadow:0 4px 20px #080d24}.staff16-edit .hr-form-grid{gap:18px}.staff16-edit .hr-form-grid>label{margin-bottom:0}
.ot-screen>.ot-metrics,.ot-screen>[data-metrics]>.ot-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.ot-period{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:760px){.ot-screen>.ot-metrics,.ot-screen>[data-metrics]>.ot-metrics,.ot-period{grid-template-columns:minmax(0,1fr)}}
.staff16-edit .hr-form>.primary{position:static}.unit-picker .unit-trigger-icon{background:transparent;width:34px;height:34px}.unit-picker .unit-trigger-icon>.tc-icon,.unit-picker .unit-option .tc-icon{width:30px;height:30px;border-radius:8px;flex:none}.unit-picker .unit-option .tc-icon svg{color:#fff!important}

.chat16{color:#e9f1ff}.chat16 svg{width:20px;height:20px;flex:none}.chat16-heading{display:flex;align-items:center;gap:16px;margin-bottom:24px}.chat16-heading>.tc-icon{width:56px;height:56px;border-radius:16px}.chat16 h1{font-size:30px;margin:4px 0}.chat16-heading p{margin:4px 0;color:#a5bed8}.chat16-heading>small{margin-left:auto;color:#94b4ce;font-size:11px}.chat16-layout{display:grid;grid-template-columns:280px minmax(0,1fr) 260px;gap:14px;min-height:620px;height:calc(100dvh - 245px)}.chat16-sidebar,.chat16-main,.chat16-info{background:linear-gradient(130deg,#102c43,#0a1e32);border:1px solid #2c4e68;border-radius:14px;min-width:0;overflow:hidden}.chat16-sidebar{padding:18px 0;display:flex;flex-direction:column}.chat16-sidebar>.primary{margin:0 16px 18px;padding:13px}.chat16-search{display:flex;gap:9px;align-items:center;margin:0 16px 15px;padding:0 10px;border:1px solid #355570;border-radius:10px;background:#0a2034}.chat16-search input{margin:0;padding:12px 0;background:transparent;border:0;min-width:0;font-size:12px}.chat16-tabs{display:flex;padding:0 12px;border-bottom:1px solid #2c4763}.chat16-tabs button{background:transparent;border:0;border-radius:0;color:#a6c2dc;flex:1;padding:13px 5px;font-size:12px}.chat16-tabs button[aria-pressed=true]{border-bottom:3px solid #a453fb;color:#c5a5ff}.chat16-sidebar [data-chat-threads]{overflow:auto;scrollbar-width:thin;flex:1}.chat16-thread{display:flex;gap:11px;align-items:center;width:100%;padding:18px 15px;min-height:84px;border:0;border-bottom:1px solid #29435e;border-radius:0;text-align:left;justify-content:flex-start;background:transparent}.chat16-thread.selected{background:linear-gradient(110deg,#1f53797a,#2340694a);box-shadow:inset 3px 0 #a65bff}.chat16-thread>.hr-avatar,.chat16-thread>.tc-icon{width:42px;height:42px;flex:none}.chat16-thread>span:not(.hr-avatar):not(.tc-icon){min-width:0;flex:1}.chat16-thread strong{font-size:13px;display:block}.chat16-thread small{font-size:11px;color:#99b8d7;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:7px}.chat16-thread b{background:#10c7bf;color:#052638;border-radius:20px;padding:4px 7px;font-size:11px}.chat16-main{display:flex;flex-direction:column;min-height:0}.chat16-conversation-heading{display:flex;align-items:center;padding:19px;gap:13px;border-bottom:1px solid #2c4862}.chat16-conversation-heading h2{font-size:18px;margin:0 0 6px}.chat16-conversation-heading small{color:#9ab9d5;font-size:12px}.chat16-conversation-heading button{margin-left:auto}.chat16-messages{flex:1;min-height:0;overflow:auto;padding:24px 20px;scrollbar-width:thin;scrollbar-color:#4d6482 #102940}.chat16-message{display:flex;gap:10px;align-items:flex-start;margin:0 0 25px}.chat16-message>.hr-avatar{width:32px;height:32px;font-size:10px;flex:none}.chat16-message>div{max-width:85%;min-width:0}.chat16-message small{font-size:10px;color:#94b2d0;display:block;margin-bottom:7px}.chat16-bubble{padding:13px 16px;border:1px solid #315570;border-radius:0 15px 15px 15px;background:#15354f;overflow-wrap:anywhere}.chat16-bubble p{white-space:pre-wrap;line-height:1.65;font-size:13px;margin:0}.chat16-message.own{justify-content:flex-end}.chat16-message.own .chat16-bubble{background:linear-gradient(115deg,#9641ed,#5c2cdd);border-color:#ab6dff;border-radius:15px 0 15px 15px}.chat16-read{display:flex;align-items:center;justify-content:flex-end;gap:4px;font-size:10px;color:#8fb8da;margin-top:7px}.chat16-read svg{width:13px;height:13px;color:#52cfdb}.chat16-compose{padding:16px;border-top:1px solid #2c4862;background:#0b2135}.chat16-compose form{display:flex;gap:8px;align-items:end}.chat16-compose textarea{flex:1;min-width:0;background:#102a40;border:1px solid #385b77;border-radius:10px;resize:none;max-height:130px;margin:0;font-size:13px}.chat16-compose button{padding:10px;flex:none}.chat16-compose>small{font-size:10px;color:#8eaac4;display:block;margin-top:9px}.chat16-emoji{padding:10px 0}.chat16-emoji button{font-size:22px;background:transparent;border:0}.chat16 [hidden]{display:none!important}.chat16-info{padding:21px;overflow:auto;scrollbar-width:thin}.chat16-info-person{border-bottom:1px solid #2e4c65;padding-bottom:22px;margin-bottom:22px}.chat16-info-person>.hr-avatar,.chat16-info-person>.tc-icon{width:90px;height:90px;border-radius:18px;font-size:28px;border:1px solid #69c2ff66}.chat16-info-person h2{font-size:21px;line-height:1.35;margin:15px 0 8px}.chat16-info-person p,.chat16-info-person small{font-size:12px;color:#a4c5e2}.chat16-info h3{display:flex;align-items:center;gap:9px;font-size:14px;margin-top:25px}.chat16-member{display:flex;gap:10px;margin:15px 0;align-items:center}.chat16-member>.hr-avatar{width:31px;height:31px;font-size:10px;flex:none}.chat16-member strong{font-size:11px;display:block}.chat16-member small{font-size:10px;color:#9cb9d3;display:block;margin-top:4px}.chat16-file{display:flex;align-items:center;gap:10px;text-align:left;width:100%;padding:10px 0;background:transparent;border:0;justify-content:flex-start}.chat16-file .tc-icon{width:32px;height:38px;border-radius:6px;flex:none}.chat16-file>span:last-child{min-width:0}.chat16-file strong{font-size:11px;overflow-wrap:anywhere;display:block}.chat16-file small{font-size:10px;display:block;color:#a8c5dc;margin-top:5px}.chat16-privacy{display:flex;align-items:center;gap:8px;font-size:11px;color:#8faec9;line-height:1.6;margin-top:30px}.chat16-empty{margin:auto;text-align:center;padding:30px}.chat16-empty>.tc-icon{width:65px;height:65px;margin:auto}.chat16-empty h2{font-size:22px}.chat16-empty p{font-size:13px;color:#9bb6d0}.chat16 [data-chat-attachments]{display:flex;gap:7px;flex-wrap:wrap}.chat16 [data-chat-attachments]>span{display:flex;align-items:center;gap:8px;background:#443064;border-radius:8px;font-size:11px;margin-bottom:10px;padding:3px 8px}.chat16-create-form{padding:24px}.chat16-create-form h3{display:flex;align-items:center;gap:12px}.chat16-create-form footer{display:flex;gap:12px;justify-content:flex-end;border-top:1px solid #36506b;padding-top:20px;margin-top:20px}.chat16-create-form [data-new-chat-people]{max-height:320px;overflow:auto;scrollbar-width:thin;border:1px solid #385570;border-radius:12px}.chat16-person-option{display:flex!important;align-items:center;gap:13px;padding:15px!important;margin:0!important;border-bottom:1px solid #29455d;cursor:pointer}.chat16-person-option input{width:18px;height:18px;margin:0;accent-color:#9d41f5}.chat16-person-option span:last-child{flex:1}.chat16-person-option strong{display:block;font-size:13px}.chat16-person-option small{display:block;color:#9ab4d0;margin-top:4px;font-size:11px}
@media(max-width:1350px){.chat16-layout{grid-template-columns:240px minmax(0,1fr)}.chat16-info{display:none}.chat16.show-info .chat16-info{display:block;grid-column:2;max-height:450px}.chat16.show-info .chat16-main{display:none}.chat16-heading>small{max-width:140px}}
@media(max-width:760px){.chat16-layout{grid-template-columns:minmax(0,1fr);height:auto}.chat16-sidebar{max-height:280px}.chat16-main{height:650px}.chat16.show-info .chat16-info{grid-column:1}.chat16-heading{flex-wrap:wrap}.chat16-heading>small{margin-left:0;max-width:none;width:100%}.chat16-messages{padding:15px}.chat16-compose{padding:12px}.chat16-conversation-heading{padding:15px}.chat16-message>div{max-width:88%}.chat16-compose [data-chat-emoji]{display:none}}
.chat16 .chat16-tabs{flex-direction:row!important;gap:0!important}.chat16 .chat16-tabs button{width:auto!important;justify-content:center!important}.chat16 .chat16-compose textarea:focus{box-shadow:0 0 0 2px #9961e438;outline:none}.chat16 .chat16-thread:focus-visible{outline:2px solid #b58bff;outline-offset:-3px}
.chat16 .chat16-tabs{display:flex!important;grid-template-columns:none!important;flex-wrap:nowrap!important}.chat16 .chat16-tabs button{min-width:0;flex:1;padding-left:4px!important;padding-right:4px!important;font-size:11px}

.pay17{--pay-border:#294962;color:#e5efff}.pay-hero{display:flex;gap:18px;align-items:center;margin:12px 0 28px}.pay-hero>.work-gradient-icon{width:60px;height:60px}.pay-hero h1{margin:5px 0;font-size:32px}.pay-hero p{color:#aec4db;margin:7px 0}.pay-mode{margin-left:auto;padding:9px 14px;border:1px solid #6651a4;border-radius:20px;color:#c5a0ff;background:#211d40;font-size:12px;white-space:nowrap}.pay-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.pay-metrics article{display:flex;align-items:center;gap:16px;padding:22px;background:linear-gradient(115deg,#152e46,#0c2032);border:1px solid #294962;border-radius:14px}.pay-metrics strong{display:block;font-size:28px;margin-top:7px;color:#f0f5ff}.pay-metrics small{color:#b3c8dd}.pay-metrics.compact{grid-template-columns:repeat(2,1fr)}.pay-tabs{display:flex;gap:0;border:1px solid #294962;border-radius:12px;overflow:auto;margin:25px 0;background:#11283c}.pay-tabs button{border:0;border-right:1px solid #294962;flex:1;white-space:nowrap;display:flex;gap:9px;align-items:center;justify-content:center;padding:18px 14px;background:transparent;border-radius:0}.pay-tabs button svg{color:#b489ff;width:20px}.pay-tabs button.active{background:linear-gradient(110deg,#9441ff,#5416db);color:white}.pay-tabs button.active svg{color:white}.pay-toolbar{display:flex;gap:18px;align-items:end;margin:22px 0}.pay-toolbar h2{margin:0 auto 0 0;font-size:20px}.pay-toolbar>label{flex:1;min-width:0}.pay-toolbar .tc-search{display:flex;align-items:center;gap:10px}.pay-toolbar .tc-search input{width:100%}.pay-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:20px}.pay-sidebar,.pay-card{background:#0c2033;border:1px solid #294962;border-radius:13px;min-width:0;overflow:hidden}.pay-sidebar{align-self:start}.pay-sidebar h3{padding:18px;margin:0}.pay-sidebar button{display:flex;width:100%;text-align:left;align-items:center;justify-content:flex-start;gap:12px;border:0;border-radius:0;background:transparent;padding:16px;font-size:13px}.pay-sidebar button.active{border-left:3px solid #a370ff;background:linear-gradient(100deg,#2d2550,#162b42)}.pay-sidebar .work-gradient-icon{width:34px;height:34px;flex-shrink:0}.pay-card-title{display:flex;align-items:center;gap:15px;padding:24px;background:linear-gradient(100deg,#132e46,#0c2033);border-bottom:1px solid #294962}.pay-card-title h2{font-size:20px;margin:0}.pay-card-title p{margin:6px 0 0;color:#acc2d8;font-size:12px}.pay-table{width:100%;border-collapse:collapse}.pay-table th{background:#153047;padding:16px;text-align:left;font-size:12px;color:#bdd1e5}.pay-table td{padding:20px 16px;border-bottom:1px solid #294157;text-align:left;font-size:13px;vertical-align:middle}.pay-table tr[data-row]{cursor:pointer}.pay-table tr[data-row]:hover,.pay-table tr[data-row]:focus-visible{background:#222440;outline:1px solid #9a62ec;outline-offset:-1px}.pay-table td small{display:block;color:#99b5ce;margin-top:6px;font-size:11px}.pay-name{display:flex;gap:13px;align-items:center;text-align:left;min-width:160px}.pay-name .work-gradient-icon{flex-shrink:0}.pay-name strong{display:block;line-height:1.45}.pay-name small{display:block;font-size:11px;color:#a6bed4;margin-top:5px}.pay-pill{display:inline-flex;align-items:center;border:1px solid #395a78;border-radius:7px;padding:6px 9px;white-space:nowrap;font-size:11px;color:#b9cce0;background:#152b40}.pay-pill.draft{color:#c89cff;border-color:#61438a;background:#25203f}.pay-pill.review{color:#ffc866;border-color:#866a35;background:#29281f}.pay-pill.closed{color:#20e0bd;border-color:#1e6c69;background:#103036}.pay-ok{color:#19dbc2}.pay-warning{color:#ffc365}.pay-note{display:flex;gap:12px;align-items:flex-start;background:#102a3b;border:1px solid #2b526c;border-radius:10px;padding:16px;color:#adc7de;line-height:1.6;font-size:12px;margin:18px 0}.pay-note svg{flex-shrink:0;color:#2dcdcf;width:21px}.pay-footnote{color:#91abc4;font-size:12px;margin-top:24px}.pay-sheet{margin:0 0 0 auto!important;max-height:100dvh!important;height:100dvh!important;width:min(850px,100vw)!important;max-width:100vw!important;border-radius:18px 0 0 18px!important;background:#0c2033!important;border-color:#36556f!important;padding:0!important}.pay-sheet>.heading{padding:24px;border-bottom:1px solid #294962;background:linear-gradient(105deg,#17334d,#12233e);gap:14px;justify-content:flex-start}.pay-sheet>.heading h2{font-size:22px;margin:0}.pay-sheet>.heading>[data-close]{margin-left:auto}.pay-sheet>.case-content{padding:24px}.pay-period-sheet{width:min(1200px,100vw)!important}.pay-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.pay-form-grid label,.pay-toolbar label{font-size:12px;color:#b3c7db;display:flex;flex-direction:column;gap:9px}.pay-form-grid input,.pay-form-grid select,.pay-toolbar input,.pay-toolbar select{min-width:0;max-width:100%;border:1px solid #37536c;background:#091b2b;border-radius:9px;padding:12px;color:#e5eeff}.pay-wide{grid-column:1/-1}.pay-form footer{display:flex;justify-content:flex-end;gap:12px;padding:24px 0 0;margin-top:24px;border-top:1px solid #294962}.pay-check{display:flex!important;flex-direction:row!important;align-items:flex-start;margin:14px 0;line-height:1.55}.pay-check input{accent-color:#9844ff;margin:3px 5px 0 0;flex-shrink:0}.pay-period-status{display:flex;gap:18px;align-items:center;color:#b3c7db;margin-bottom:20px}.pay-actionbar{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.pay-alert,.pay-issues{padding:16px;border:1px solid #936839;background:#322a21;color:#ffcb83;border-radius:10px;margin:20px 0}.pay-issues p{font-size:12px}.pay-segment{display:block;margin:4px 0;font-size:11px;line-height:1.5;color:#b9cfe2}.pay-segment.overtime{color:#ffca72}.pay-segment.break{color:#9bacc2}.pay-segment-editor{display:grid;grid-template-columns:1fr 1fr 1.5fr 42px;gap:12px;align-items:end;padding:15px;background:#112a40;border:1px solid #2a4962;border-radius:10px;margin:12px 0}.pay-sheet pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#091a2b;border:1px solid #294962;border-radius:10px;padding:15px;font-size:12px;max-height:450px;overflow:auto}.pay17 .primary,.pay-sheet .primary{background:linear-gradient(105deg,#a240ff,#641be7);border:1px solid #a475ff;box-shadow:0 4px 18px #741dec20}.pay17 button:focus-visible,.pay-sheet button:focus-visible{outline:2px solid #b889ff;outline-offset:2px}@media(max-width:1000px){.pay-layout{grid-template-columns:1fr}.pay-sidebar{display:flex;overflow:auto}.pay-sidebar h3{display:none}.pay-sidebar button{min-width:180px;width:auto}.pay-metrics{grid-template-columns:repeat(2,1fr)}.pay-mode{display:none}}@media(max-width:600px){.pay-hero h1{font-size:25px}.pay-hero{gap:12px}.pay-metrics{gap:8px}.pay-metrics article{padding:12px;gap:8px}.pay-metrics strong{font-size:23px}.pay-toolbar{flex-wrap:wrap}.pay-toolbar>label{min-width:130px}.pay-sheet>.case-content{padding:16px}.pay-form-grid{grid-template-columns:1fr}.pay-segment-editor{grid-template-columns:1fr 1fr}.pay-period-status{flex-wrap:wrap}.pay-table{min-width:650px}.pay-sheet .table-wrap,.pay-card .table-wrap{overflow:auto}.pay17{min-width:0}}
/* WORK's generic navigation styles also match content navs; scope the payroll tabs explicitly. */
.pay17 nav.pay-tabs{display:flex!important;flex-direction:row!important;grid-template-columns:none!important;flex-wrap:nowrap!important;padding:0!important}.pay17 .pay-tabs button{justify-content:center!important;border-left:0!important}.pay17 .pay-tabs button.active{background:linear-gradient(105deg,#9441ff,#5416db)!important}.pay17 .pay-toolbar label.tc-search{flex-direction:row;align-items:center;padding:0 14px}.pay17 .pay-toolbar .tc-search input{margin:0;border:0;background:transparent;padding:14px 0}.pay17 .pay-toolbar .tc-search svg{width:19px}.pay-sheet .pay-form input[type=checkbox]{width:17px;height:17px}

.hr-source19{display:flex;align-items:flex-start;gap:14px;padding:18px;margin:6px 0 22px;border:1px solid #246063;border-radius:12px;background:linear-gradient(115deg,#113e45,#102a3d);color:#dfedff}.hr-source19.attention{border-color:#79603a;background:linear-gradient(115deg,#333027,#142a40)}.hr-source19 .work-gradient-icon{flex-shrink:0}.hr-source19 strong{font-size:15px}.hr-source19 p{margin:8px 0;color:#c1d0e3;line-height:1.6}.hr-source19 button{margin-top:6px;background:linear-gradient(105deg,#9840ee,#6520ce);color:white;border:1px solid #b284eb;border-radius:9px;padding:10px 15px}.pay-state-filters{display:flex;gap:6px;flex-wrap:wrap}.pay-state-filters button[aria-pressed=true]{background:linear-gradient(105deg,#8337d7,#5225a8);border-color:#ab7bd9;color:white}
