:root{--ink:#17312d;--muted:#70817c;--green:#167467;--pale:#eaf4ee;--line:#e1e8e3;--bg:#f5f7f3;--white:#fff;--amber:#ad6b16}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--green);text-decoration:none}button,input,select,textarea{font:inherit}button,a,input{outline-offset:4px}button{cursor:pointer}.shell{display:flex;min-height:100vh}.sidebar{width:242px;background:#fff;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;padding:30px 20px;display:flex;flex-direction:column}.logo{display:flex;gap:11px;align-items:center;margin:0 8px 35px;font-weight:750;font-size:20px;letter-spacing:-.6px}.logo-mark{width:37px;height:37px;background:var(--green);color:white;border-radius:12px;display:grid;place-items:center;font-size:23px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.8px;text-transform:uppercase;color:var(--muted)}.nav{display:grid;gap:5px;margin-top:12px}.nav a{color:#63736d;padding:11px 14px;border-radius:9px;display:flex;align-items:center;gap:12px;font-weight:550}.nav a:hover{background:#f4f7f3}.nav a.active{background:var(--pale);color:var(--green)}.nav .ico{width:18px;text-align:center;font-size:17px}.sidebar-bottom{margin-top:auto;padding:20px 12px 0;border-top:1px solid var(--line);font-size:12px}.main{margin-left:242px;width:calc(100% - 242px)}.topbar{height:78px;border-bottom:1px solid var(--line);background:#fff;padding:0 38px;display:flex;align-items:center;justify-content:space-between}.tenant{font-weight:650}.tenant span{display:block;font-size:11px;font-weight:400;color:var(--muted)}.user-pill{display:flex;align-items:center;gap:10px}.avatar{background:#e8eee4;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-weight:700}.content{max-width:1400px;padding:34px 38px 60px;margin:auto}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;gap:20px}h1{font-size:28px;letter-spacing:-1px;line-height:1.2;margin:7px 0 9px}h2{font-size:16px;margin:0 0 18px;letter-spacing:-.3px}h3{font-size:14px;margin:0}.muted{color:var(--muted)}p{margin:7px 0 16px}.small{font-size:12px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:25px}.card,.panel{background:#fff;border:1px solid var(--line);border-radius:13px}.card{padding:21px}.card .value{font-size:34px;font-weight:650;letter-spacing:-1.3px;margin:12px 0 4px}.panel{padding:24px;margin-bottom:22px}.panel.flush{padding:0;overflow:hidden}.panel-head{padding:22px 24px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.panel-head h2{margin:0}.grid{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.grid.equal{grid-template-columns:1fr 1fr}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:8px;padding:10px 16px;background:var(--green);color:#fff;font-weight:600;white-space:nowrap}.btn.secondary{background:#fff;border-color:var(--line);color:var(--ink)}.btn.danger{background:#fff0ec;color:#b24c32}.btn.small{padding:6px 10px;font-size:12px}.btn.link{background:none;color:var(--muted);padding:0}.badge{display:inline-block;border-radius:5px;padding:3px 8px;font-size:11px;background:#eef2ed;color:#66746c;font-weight:650}.badge.active,.badge.approved,.badge.complete{background:#e4f3e9;color:#287749}.badge.pending,.badge.incomplete{background:#fff3da;color:#9f711e}.badge.inactive,.badge.rejected,.badge.revoked{background:#fceae5;color:#aa4b3e}.badge.corrected{background:#e8effc;color:#4b6c9c}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);font-weight:650;background:#fafbf9}th,td{padding:14px 18px;border-bottom:1px solid #edf0eb}tbody tr:last-child td{border-bottom:0}td .muted{font-size:12px}.table-scroll{overflow:auto}.empty{padding:50px 24px;text-align:center;color:var(--muted)}.empty strong{display:block;color:var(--ink);margin-bottom:6px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{margin-bottom:16px}.field label{display:block;font-size:12px;font-weight:650;margin-bottom:7px}input,select,textarea{width:100%;border:1px solid #dce4dc;border-radius:7px;padding:10px 12px;background:white;color:var(--ink)}input[type=checkbox]{width:16px;height:16px;accent-color:var(--green)}input[type=color]{padding:3px;height:42px}textarea{min-height:85px;resize:vertical}.check{display:flex;align-items:center;gap:9px;padding:8px 0}.check label{margin:0}.toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:20px}.toolbar .field{margin:0;min-width:130px}.toolbar .grow{flex:1}.alert{padding:13px 17px;border:1px solid #d5e6d7;border-radius:9px;background:#edf7ee;margin-bottom:20px;font-size:13px}.alert.warn{background:#fff8e9;border-color:#f0e1be;color:#876425}.alert.error{background:#fff0ed;border-color:#f2d7ce;color:#a04332}.activity{display:flex;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--line);gap:16px}.activity:last-child{border:0}.number{font-variant-numeric:tabular-nums}.location-visual{height:130px;background:radial-gradient(circle at center,#d9eae0 1px,transparent 2px),#f0f5ee;background-size:20px 20px;border:1px solid var(--line);border-radius:9px;display:grid;place-items:center;text-align:center;margin:0 0 18px}.location-visual .pin{font-size:26px;color:var(--green)}details{border-top:1px solid var(--line);padding-top:14px;margin-top:14px}summary{cursor:pointer;font-weight:600;margin-bottom:12px}.code{font:12px/1.7 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere;background:#f1f5ef;padding:16px;border-radius:8px}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-art{background:#153f35;color:white;padding:70px;display:flex;flex-direction:column;justify-content:space-between}.login-art .logo{margin:0;color:white}.login-art h1{font-size:50px;max-width:480px;letter-spacing:-2px}.login-art p{color:#c0d2c4;max-width:390px}.login-side{display:grid;place-items:center;padding:40px}.login-form{max-width:370px;width:100%}.login-form h1{font-size:30px}.login-form .btn{width:100%;margin-top:8px}.pagination{padding:18px}.pagination nav{display:flex;justify-content:space-between;gap:16px}.pagination svg{width:18px}img.face{width:110px;height:110px;object-fit:cover;border-radius:10px}pre{max-width:100%;overflow:auto}.step{display:flex;gap:12px;margin:15px 0}.step b{background:var(--pale);border-radius:50%;width:26px;height:26px;display:grid;place-items:center;flex-shrink:0}.status-dot{width:7px;height:7px;border-radius:50%;background:#d3a44c;display:inline-block;margin-right:5px}@media(max-width:1000px){.cards{grid-template-columns:repeat(2,1fr)}.grid,.grid.equal{grid-template-columns:1fr}.sidebar{width:205px}.main{margin-left:205px;width:calc(100% - 205px)}.content{padding:25px}.topbar{padding:0 25px}}@media(max-width:700px){.sidebar{position:static;width:100%;padding:18px}.sidebar .logo{margin:0 0 12px}.sidebar .eyebrow,.sidebar-bottom{display:none}.nav{display:flex;overflow:auto}.nav a{white-space:nowrap;padding:8px}.shell{display:block}.main{margin:0;width:100%}.topbar{height:65px}.content{padding:22px 16px}.heading{align-items:start}.heading h1{font-size:24px}.cards{gap:10px}.card{padding:15px}.form-grid{grid-template-columns:1fr}.login{grid-template-columns:1fr}.login-art{display:none}.panel{padding:18px}.user-pill .small{display:none}}

.local-map{position:relative;height:340px;margin-bottom:12px;background:#eaf1e9;overflow:hidden;border:1px solid var(--line);border-radius:8px}.local-map canvas{display:block;width:100%;height:100%;cursor:crosshair;touch-action:none}.local-map canvas:active{cursor:grabbing}.map-controls{position:absolute;top:10px;right:10px;display:grid;gap:3px}.map-controls button{width:32px;height:32px;font-size:20px}.map-controls button,.map-tools button{background:#fff;color:var(--ink);border:1px solid #ccd8cc;border-radius:5px;box-shadow:0 1px 4px #17312d22}.map-tools{position:absolute;top:10px;left:10px;right:50px;display:flex;flex-wrap:wrap;gap:5px}.map-tools button{padding:6px 8px;font-size:11px}.map-tools button:disabled{opacity:.6;cursor:wait}.map-caption{position:absolute;bottom:0;left:0;right:0;background:#fffffff0;padding:7px 9px;font-size:11px;color:#40584f;line-height:1.45}.map-status{display:block;pointer-events:none}.map-attribution{display:block;width:fit-content;text-decoration:underline}.map-attribution:empty{display:none}

.map-preview{height:240px}.map-preview canvas{cursor:grab}.location-card h2{margin-bottom:6px}.location-delete summary{color:#b24c32}

.place-search-bar{display:flex;gap:8px;margin:7px 0}.place-search-bar input{min-width:0}.place-search-results{display:grid;gap:5px;max-height:220px;overflow:auto}.place-result{text-align:left;border:1px solid var(--line);border-radius:6px;background:#f6faf5;color:var(--ink);padding:9px 10px;font-size:12px}.place-result:hover{background:var(--pale)}.place-search-status{margin:5px 0}.place-search button:disabled{opacity:.6;cursor:wait}

.employee-sections{align-items:start}.account-panel>.eyebrow{margin-bottom:6px}.account-panel h2{margin-bottom:8px}.input-action{display:flex;align-items:center;gap:6px;border:1px solid #dce4dc;border-radius:8px;padding:4px;background:#fff}.input-action:focus-within{outline:2px solid var(--green);outline-offset:2px}.input-action input{min-width:0;flex:1;border:0;padding:6px 8px;outline:none}.input-action .btn{flex-shrink:0;border:0;background:var(--pale);color:var(--green);font-size:11px;padding:6px 8px}.account-options{display:flex;justify-content:flex-end;margin:-7px 0 16px}.account-status{padding:10px 12px;background:#f5f8f4;border-radius:7px;min-height:38px}.btn:disabled{opacity:.55;cursor:not-allowed}.account-processing[hidden]{display:none}.account-processing{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;background:#17312d66;backdrop-filter:blur(3px);padding:24px;cursor:wait}.account-processing-card{max-width:440px;background:white;border:1px solid var(--line);border-radius:16px;padding:32px;text-align:center;box-shadow:0 16px 60px #17312d33;font-weight:600}.account-processing-card:before{content:'';display:block;width:30px;height:30px;margin:0 auto 18px;border:3px solid var(--pale);border-top-color:var(--green);border-radius:50%;animation:account-spin .8s linear infinite}@keyframes account-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.account-processing-card:before{animation:none}}@media(max-width:420px){.input-action{flex-wrap:wrap}.input-action input{flex-basis:100%}.input-action .btn{margin-left:auto}}
.employee-sections{margin-bottom:22px}.employee-sections>.panel{margin-bottom:0}
.account-delete{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}[data-selected-count]{margin-left:12px}.swal2-popup{font-family:inherit!important;border-radius:16px!important}.swal2-title{font-size:22px!important;letter-spacing:-.4px}.swal2-html-container{font-size:14px!important;white-space:pre-line}.swal2-actions button{border-radius:8px!important;font-size:13px!important}.swal2-input{width:calc(100% - 4em)}

.account-tools{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:28px}.account-tool{display:flex;gap:16px;padding:22px;border:1px solid var(--line);border-radius:13px;background:#fff}.tool-icon{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border-radius:12px;background:var(--pale);color:var(--green);font-size:24px;line-height:1}.tool-icon.danger{background:#fff0ec;color:#b24c32}.tool-content{min-width:0;flex:1}.tool-title{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:9px}.tool-title h2{margin:0;font-size:14px}.tool-title .badge{font-size:10px}.tool-content p{margin:0 0 16px;max-width:470px;line-height:1.65}.tool-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.tool-actions form{margin:0}.danger-link{color:#a3432e!important}.selection-count{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;background:#edf1eb;border-radius:5px;font-size:10px;margin:0!important}.tool-result:empty{display:none}.tool-result:not(:empty){margin:12px 0 0}.employee-directory{padding:24px}.directory-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.directory-heading h2{display:flex;align-items:center;gap:9px;margin:0 0 5px}.directory-heading p{margin:0}.directory-total{background:#eef2ed;padding:2px 8px;border-radius:6px;font-size:11px;color:#65776e;font-weight:600}.directory-filter{display:flex;align-items:center;gap:9px}.directory-filter select{width:auto;min-width:140px;padding:7px 10px;font-size:12px}.selection-hint{margin:0 0 18px;padding-top:16px;border-top:1px solid var(--line);font-size:11px}.account-name{font:12px ui-monospace,monospace;background:#f3f6f0;padding:4px 7px;border-radius:5px}.employee-directory div.dt-container{font-size:12px}.employee-directory div.dt-layout-row{margin:16px 0!important}.employee-directory div.dt-layout-row:first-child{margin-top:0!important}.employee-directory div.dt-layout-row:last-child{margin-bottom:0!important}.employee-directory .dt-input{border:1px solid var(--line)!important;border-radius:7px!important;background:white!important;padding:7px 10px!important;font-size:12px!important}.employee-directory .dt-search input{width:220px!important}.employee-directory table.dataTable{border-bottom:1px solid var(--line)!important;min-width:760px}.employee-directory table.dataTable th{border-bottom:1px solid var(--line)!important;font-size:10px;padding:14px 20px 14px 12px!important}.employee-directory table.dataTable td{font-size:12px;padding:14px 12px!important;border-color:#edf0eb}.employee-directory table.dataTable tbody tr:nth-child(even){background:#fcfdfb}.employee-directory table.dataTable tbody td{box-shadow:none!important}.employee-directory .dt-paging-button{min-width:32px!important;margin:0 2px!important;padding:6px 9px!important;border:1px solid var(--line)!important;border-radius:7px!important;font-size:12px!important;background:#fff!important;color:var(--ink)!important;box-shadow:none!important}.employee-directory .dt-paging-button.current{background:var(--green)!important;color:#fff!important;border-color:var(--green)!important}.employee-directory .dt-paging-button.disabled{opacity:.4;cursor:not-allowed!important}.employee-directory .dt-paging-button:hover:not(.disabled){background:var(--pale)!important;color:var(--green)!important}.employee-directory .dt-processing{border:1px solid var(--line);border-radius:10px;background:#fff!important;box-shadow:0 6px 24px #17312d22;padding:18px!important}.employee-directory .dt-info{font-size:11px;color:var(--muted)}@media(max-width:1100px){.account-tools{grid-template-columns:1fr}.directory-heading{align-items:flex-start;flex-direction:column}.directory-filter{width:100%;justify-content:flex-end}}@media(max-width:700px){.account-tool{padding:18px;gap:12px}.employee-directory{padding:16px}.directory-filter{justify-content:flex-start;flex-wrap:wrap}.employee-directory .dt-search input{width:180px!important}.tool-title{align-items:flex-start;flex-direction:column}}
.employee-directory .dt-length label{display:inline-flex!important;align-items:center;gap:8px;white-space:nowrap}.employee-directory .dt-length select{width:66px!important;display:inline-block!important;margin:0!important}.employee-directory .dt-search label{display:inline-flex!important;align-items:center;gap:8px}.employee-directory .dt-layout-table .dt-layout-cell{overflow-x:auto}.employee-directory>.table-scroll{overflow:visible}.employee-directory .dt-layout-table{display:block!important}.employee-directory .dt-layout-table .dt-layout-cell{display:block!important;width:100%}

.employee-directory div.dt-container .dt-paging .dt-paging-button.current,
.employee-directory div.dt-container .dt-paging .dt-paging-button.current:hover,
.employee-directory div.dt-container .dt-paging .dt-paging-button.current:active,
.employee-directory div.dt-container .dt-paging .dt-paging-button[aria-current="page"]{
    background:#167467!important;
    color:#fff!important;
    border:1px solid #167467!important;
    font-weight:750;
    box-shadow:0 0 0 2px #e0f2ec!important;
}
.employee-directory div.dt-container .dt-paging .dt-paging-button:focus-visible{
    outline:2px solid #167467;
    outline-offset:3px;
}

.face-preview-trigger{display:inline-flex;flex-direction:column;align-items:center;gap:7px;padding:6px;border:1px solid transparent;border-radius:12px;background:transparent;cursor:pointer;color:var(--green);font:inherit;font-size:12px;font-weight:600}.face-preview-trigger:hover{background:#f0fdfa;border-color:#99d6ce}.face-preview-trigger:focus-visible{outline:3px solid var(--green);outline-offset:3px}.face-preview-trigger .face{display:block}.swal2-image.face-preview-image{max-width:100%;max-height:65vh;width:auto;height:auto;object-fit:contain;border-radius:12px;margin:16px auto}.swal2-popup.face-preview-popup{max-width:94vw}

.mobile-download{margin-top:28px;padding:22px;border:1px solid #d6e7df;border-radius:16px;background:#f5faf7}
.mobile-download-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.mobile-download-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;border-radius:12px;background:#e1efe7;color:#167467}
.mobile-download-heading strong{display:block;font-size:14px;color:var(--ink)}
.mobile-download-heading p{margin:5px 0 0;font-size:12px;color:var(--muted);line-height:1.5}
.login-form .mobile-download-button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;box-sizing:border-box;background:#167467;color:#fff;text-decoration:none}
.login-form .mobile-download-button:hover{background:#105b50}
.mobile-download-button:focus-visible{outline:3px solid #167467;outline-offset:3px}
.mobile-download .mobile-download-note{margin:12px 0 0;text-align:center;font-size:11px;line-height:1.5;color:var(--muted)}
