html{background:#f7faf8}:root{--berry-500:#813257;--berry-50:#fceef5;--gray-900:#212121;--gray-500:#6b7280;--gray-200:#e5e7eb;--gray-100:#f3f4f6;color:var(--gray-900);font-synthesis:none;background:#fafafa;font-family:Inter,ui-sans-serif,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,button,input,select,textarea{font:inherit}.shell{min-height:100vh}.header{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);z-index:5;background:#ffffffe0;border-bottom:1px solid #e6eee9;justify-content:space-between;align-items:center;height:72px;padding:0 max(24px,50vw - 740px);display:flex;position:sticky;top:0}.brand{letter-spacing:-.02em;align-items:center;gap:11px;font-weight:760;display:flex}.brand-mark{background:var(--berry-500);color:#fff;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.brand-logo{object-fit:contain;border:1px solid var(--berry-500);background:#fff;border-radius:50%;width:44px;height:44px}.nav{gap:5px;display:flex}.nav button{color:#65736b;cursor:pointer;background:0 0;border:0;border-radius:9px;padding:9px 13px}.nav button.active{background:var(--berry-50);color:var(--berry-500);font-weight:650}.global-loader{z-index:1000;background:#dcebe2;width:100%;height:3px;position:fixed;top:72px;left:0;overflow:hidden}.global-loader:after{content:"";background:#1f8a5b;width:35%;height:100%;animation:1s ease-in-out infinite loading-slide;display:block}.global-loader.workspace-loader{top:0}@keyframes loading-slide{0%{transform:translate(-110%)}to{transform:translate(310%)}}.main{width:min(1480px,100% - 48px);margin:0 auto;padding:54px 0 80px}.hero{grid-template-columns:.85fr 1.15fr;align-items:start;gap:64px;display:grid}.eyebrow{background:var(--berry-50);color:var(--berry-500);text-transform:uppercase;letter-spacing:.08em;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700;display:inline-flex}h1{letter-spacing:-.055em;margin:20px 0;font-size:clamp(38px,5vw,58px);line-height:1.02}.lead{color:#65736b;max-width:500px;font-size:17px;line-height:1.7}.hero-story{min-width:0}.hero-visual{background:#eef8f2;border:1px solid #deebe3;border-radius:22px;margin:30px 0 24px;overflow:hidden;box-shadow:0 22px 55px #1b5a391f}.hero-visual img{aspect-ratio:3/2;object-fit:cover;width:100%;transition:transform .5s;display:block}.hero-visual:hover img{transform:scale(1.018)}.feature-list{color:#45544b;grid-template-columns:1fr;gap:10px;margin-top:24px;display:grid}.feature{background:#ffffffb8;border:1px solid #e4ece7;border-radius:13px;align-items:center;gap:13px;padding:12px;display:flex}.feature-icon{color:#176b47;background:#e8f5ed;border-radius:11px;flex:0 0 38px;place-items:center;width:38px;height:38px;display:grid}.feature-icon svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}.feature strong,.feature small{display:block}.feature strong{color:#2e4337;margin-bottom:3px;font-size:14px}.feature small{color:#738077;line-height:1.4}.card{background:#fff;border:1px solid #e3ebe6;border-radius:20px;padding:28px;box-shadow:0 20px 55px #1e463012}.card-header{margin-bottom:24px}.card h2,.section-title h1{letter-spacing:-.035em;margin:0 0 7px;font-size:25px}.muted{color:#718078;margin:0;line-height:1.55}.form-grid{grid-template-columns:1fr 1fr;gap:17px;display:grid}.field{gap:7px;display:grid}.field.full{grid-column:1/-1}.field label{color:#405047;font-size:13px;font-weight:650}.field input,.field select{background:var(--gray-100);border:1px solid #0000;border-radius:12px;outline:none;width:100%;padding:13px 15px;transition:all .2s}.field input:focus,.field select:focus{border-color:var(--berry-500);box-shadow:0 0 0 3px var(--berry-50);background:#fff}.phone-field{background:var(--gray-100);border:1px solid #0000;border-radius:12px;align-items:center;transition:all .2s;display:flex;overflow:hidden}.phone-field:focus-within{border-color:var(--berry-500);box-shadow:0 0 0 3px var(--berry-50);background:#fff}.phone-field span{color:#405047;padding:13px 0 13px 15px;font-weight:650}.phone-field input{border:0;min-width:0;box-shadow:none!important;background:0 0!important}.field-error{color:#b44343;font-size:12px}.button{background:var(--berry-500);color:#fff;cursor:pointer;border:0;border-radius:8px;padding:13px 22px;font-weight:700;transition:all .2s}.button:hover{background:#672543;transform:translateY(-1px)}.button:disabled{opacity:.55;cursor:not-allowed;transform:none}.button.secondary{color:#24543c;background:#edf3ef}.actions{justify-content:flex-end;gap:10px;margin-top:22px;display:flex}.alert{border-radius:10px;margin-bottom:18px;padding:12px 14px;font-size:14px}.alert.error{color:#8f3131;background:#fff0f0;border:1px solid #f4d5d5}.admin-content>.alert.error,.workspace-main .admin-content>:first-child>.alert.error{z-index:30;width:min(430px,100vw - 32px);max-height:40vh;margin:0;animation:.2s ease-out error-slide-in;position:fixed;top:108px;right:24px;overflow:auto;box-shadow:0 14px 38px #50141433}@keyframes error-slide-in{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.alert.success{color:#176b47;background:#eaf7ef;border:1px solid #cee9d9}.section-title{justify-content:space-between;align-items:end;margin-bottom:24px;display:flex}.tabs{background:#f7faf8;border:1px solid #e1e9e4;border-radius:12px;flex-wrap:wrap;gap:8px;margin:-8px 0 24px;padding:6px;display:flex}.tabs button{color:#52645a;cursor:pointer;background:0 0;border:0;border-radius:9px;padding:10px 16px;font-weight:700}.tabs button.active{background:var(--berry-500);color:#fff;box-shadow:0 4px 12px #8132572e}.table-card{background:#fff;border:1px solid #e3ebe6;border-radius:16px;overflow:hidden}.table-card code{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.table-card pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}table{border-collapse:collapse;width:100%}th,td{text-align:left;border-bottom:1px solid #edf1ee;padding:16px 18px;font-size:14px}th{color:#718078;text-transform:uppercase;letter-spacing:.05em;background:#fbfdfc;font-size:12px}.status{color:#8d6419;background:#fff4da;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:700;display:inline-flex}.status.active{color:#176b47;background:#e8f5ed}.status.offline{color:#a33c3c;background:#fff1f1}.status-select{cursor:pointer;text-transform:capitalize;border:0;outline:none}.status-select:focus{box-shadow:0 0 0 3px var(--berry-50)}.status-select:disabled{cursor:wait;opacity:.65}.status-dot{background:currentColor;border-radius:50%;width:7px;height:7px;margin-right:6px}.device-crm-filters{flex-wrap:wrap;align-items:end;gap:14px;margin-bottom:16px;display:flex}.discovered-devices{background:#f7faf8;border:1px solid #dce7e0;border-radius:12px;gap:8px;margin-bottom:20px;padding:14px;display:grid}.discovered-devices>button{color:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #dce7e0;border-radius:9px;justify-content:space-between;align-items:center;gap:14px;padding:12px;display:flex}.discovered-devices>button:hover{border-color:var(--berry-500);background:var(--berry-50)}.discovered-devices span,.discovered-devices small{display:block}.discovered-devices small{color:var(--gray-500);margin-top:4px}.discovered-devices em{color:var(--berry-500);white-space:nowrap;font-style:normal;font-weight:700}.modal-backdrop{z-index:10;background:#14231b61;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{width:min(520px,100%)}.cpd-group{border:1px solid #e5e7eb;border-radius:10px;gap:8px;padding:12px;display:grid}.cpd-group .toggle:not(:first-child){padding-left:24px}.api-key{word-break:break-all;background:#f2f6f3;border:1px dashed #b9cbbf;border-radius:9px;padding:12px;font-family:monospace}.endpoint{align-items:center;gap:8px;min-width:220px;display:flex}.endpoint a{color:#176b47;text-overflow:ellipsis;white-space:nowrap;max-width:250px;overflow:hidden}.endpoint button{color:#176b47;cursor:pointer;background:#f5faf7;border:1px solid #d5e3da;border-radius:7px;padding:5px 8px}.form-section{color:#264b38;background:#f2f7f4;border-radius:10px;margin-top:8px;padding:12px 14px}.form-section strong,.form-section small{display:block}.form-section small{color:#718078;margin-top:4px}.connection-test{align-items:center;gap:12px;display:flex}.test-success{color:#176b47;font-weight:650}.test-failed{color:#a33c3c;font-weight:650}.admin-layout{grid-template-columns:240px minmax(0,1fr);align-items:start;gap:36px;display:grid}.admin-sidebar{border:1px solid var(--gray-200);background:#fff;border-radius:12px;flex-direction:column;justify-content:space-between;min-height:calc(100vh - 145px);padding:18px 12px;display:flex;position:sticky;top:104px;box-shadow:0 12px 30px #2121210d}.sidebar-label{color:#91aa9d;letter-spacing:.1em;text-transform:uppercase;padding:4px 12px 13px;font-size:11px;font-weight:750}.sidebar-group{padding-top:24px}.permission-grid{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:10px;display:grid}.permission{color:#405047;border:1px solid #e1e9e4;border-radius:10px;align-items:flex-start;gap:9px;padding:11px;display:flex}.permission input{accent-color:#176b47;margin-top:3px}.permission-matrix{border:1px solid #e1e9e4;border-radius:12px;overflow:hidden}.permission-heading,.permission-row{grid-template-columns:minmax(210px,1.6fr) repeat(6,minmax(110px,1fr));align-items:center;gap:12px;padding:12px 16px;display:grid}.role-permission-modal{width:calc(100vw - 32px);max-width:1480px;max-height:calc(100dvh - 24px)}.permission-heading{color:#617168;text-transform:uppercase;background:#f5f9f6;font-size:12px}.permission-row{border-top:1px solid #e8eee9}.permission-row label{text-transform:capitalize;align-items:center;gap:6px;display:flex}.permission-row input{accent-color:#176b47}.permission-button{color:#53645b;cursor:pointer;background:#fff;border:1px solid #cad8d0;border-radius:999px;width:100%;min-width:110px;min-height:40px;padding:8px 14px;font-size:12px;font-weight:700}.permission-button:hover{border-color:var(--berry-500);color:var(--berry-500);background:var(--berry-50)}.permission-button.selected{color:#fff;background:#176b47;border-color:#176b47}.permission-button:disabled{cursor:not-allowed;opacity:.55}.admin-sidebar button{width:100%;color:var(--gray-500);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:11px;padding:12px;display:flex}.admin-sidebar button.active{color:var(--berry-500);background:var(--berry-50);box-shadow:inset 4px 0 var(--berry-500);font-weight:700}.admin-sidebar button.logout{color:#e5bcbc}.admin-content{min-width:0}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.metric-card{background:#fff;border:1px solid #deebe3;border-radius:16px;flex-direction:column;justify-content:space-between;min-height:150px;padding:24px;display:flex;box-shadow:0 12px 32px #173f2d12}.metric-card span{color:#65736b;font-weight:650}.metric-card strong{color:#173f2d;letter-spacing:-.04em;font-size:42px}.metric-card strong.metric-date{letter-spacing:-.01em;font-size:19px;line-height:1.35}.dashboard-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-metrics .metric-card{min-height:190px;box-shadow:none;border-color:#d1d5db;border-radius:20px;gap:24px}.dashboard-metrics .metric-card>span{color:#000;font-size:20px;font-weight:500}.dashboard-metrics .metric-card>div{align-items:baseline;gap:12px;display:flex}.dashboard-metrics .metric-card strong{color:#000;font-size:36px;font-weight:500}.dashboard-metrics .metric-card em{color:#6b7280;font-size:14px;font-style:normal}.dashboard-metrics .metric-card small{color:#6b7280}.dashboard-metrics .metric-card small b{color:#000;margin-left:8px}.dashboard-metrics .metric-users{background:linear-gradient(135deg,#f0fdf4 0 42px,#fff 42px)}.dashboard-metrics .metric-checked{background:linear-gradient(135deg,#fffbeb 0 42px,#fff 42px)}.dashboard-metrics .metric-absent{background:linear-gradient(135deg,#fef2f2 0 42px,#fff 42px)}@media (width<=1100px){.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}.device-filter{min-width:240px}.pagination{color:#65736b;justify-content:space-between;align-items:center;gap:16px;margin-top:18px;display:flex}.pagination>div{align-items:center;gap:12px;display:flex}.access-options{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.access-options label{cursor:pointer;border:1px solid #dce7e0;border-radius:10px;align-items:center;gap:8px;padding:11px;display:flex}.access-options input{accent-color:#176b47}.access-badges{flex-wrap:wrap;gap:5px;display:flex}.access-badges span{color:#176b47;background:#eaf4ee;border-radius:999px;padding:4px 7px;font-size:11px;font-weight:700}.access-badges span.inactive{color:#78827c;background:#f0f2f1}.live-status{color:#6e7872;background:#f6f8f7;border:1px solid #e2e7e4;border-radius:10px;justify-content:space-between;gap:16px;margin:-8px 0 16px;padding:10px 14px;display:flex}.live-status.connected{color:#176b47;background:#eef8f2;border-color:#b9ddc8}.live-status.failed{color:#a33c3c;background:#fff1f1;border-color:#efcccc}.live-status span{font-weight:700}.lazy-status{display:none}.date-filters{align-items:end;gap:14px;display:flex}.date-filters .field{min-width:190px}.alert.success:has(.date-filters){background:0 0;border:0;margin-bottom:16px;padding:0}.attendance-controls{justify-content:space-between;align-items:end;gap:20px;width:100%;display:flex}.attendance-controls .pagination{margin:0}.view-tabs{gap:8px;margin:-8px 0 16px;display:flex}.row-actions{gap:7px;display:flex}.row-actions button{color:#31513f;cursor:pointer;background:#fff;border:1px solid #dce5df;border-radius:8px;padding:7px 10px}.row-actions button.danger{color:#a33c3c;border-color:#efd5d5}.company-list-logo{object-fit:contain;vertical-align:middle;border-radius:8px;width:36px;height:36px;margin-right:10px}.cpd-tree-table tbody tr.cpd-child-row{background:#fbfdfc}.cpd-tree-name{align-items:center;gap:10px;min-width:220px;display:flex}.cpd-expand{color:#176b47;cursor:pointer;background:#fff;border:1px solid #cfddd5;border-radius:7px;flex:0 0 28px;place-items:center;width:28px;height:28px;padding:0;font-size:18px;display:grid}.cpd-tree-branch{color:#9aafa3;text-align:center;flex:0 0 28px;width:28px}.cpd-parent-row .cpd-tree-name>div>strong{font-size:14px}.access-level-modal{width:min(980px,100vw - 32px)}.access-level-device-list{width:min(1100px,100vw - 32px)}.device-picker-heading{justify-content:space-between;align-items:end;gap:16px;margin-bottom:12px;display:flex}.device-picker-heading>div{gap:4px;display:grid}.device-picker-heading button{color:#fff;background:var(--berry-500);cursor:pointer;border:0;border-radius:8px;padding:9px 14px}.access-device-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:340px;padding:4px;display:grid;overflow-y:auto}.access-device-option{background:#fff;border:1px solid #dce5df;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid;overflow:hidden}.access-device-option.selected{background:#f0faf5;border-color:#176b47;box-shadow:0 0 0 2px #176b4714}.access-device-option.master{border-color:var(--berry-500);background:var(--berry-50)}.access-device-option.unavailable{opacity:.72;background:#f3f4f6;border-color:#e4e4e4}.access-device-option.unavailable>button:first-child{cursor:not-allowed}.mapped-level-label{color:#a33c3c;font-weight:700}.access-device-option>button:first-child{color:#34463c;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;min-width:0;padding:14px;display:flex}.access-device-option>button:first-child>span:last-child{gap:3px;min-width:0;display:grid}.master-device-button{border:1px solid var(--berry-500);color:var(--berry-500);cursor:pointer;background:#fff;border-radius:8px;margin-right:10px;padding:8px 10px;font-size:12px;font-weight:700}.master-device-button:disabled{color:#fff;background:var(--berry-500);opacity:1;cursor:default}.access-device-picker strong,.access-device-picker small{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.modal-wide{width:min(760px,100%);max-height:calc(100vh - 40px);overflow-y:auto}.modal.modal-wide.role-permission-modal{width:calc(100vw - 24px);max-width:none;height:calc(100dvh - 24px);max-height:none}.role-permission-modal .permission-matrix{border:0;grid-column:1/-1;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px;width:100%;padding:2px;display:grid;overflow:visible}.role-permission-modal .permission-heading{display:none}.role-permission-modal .permission-row{background:#f7f7f7;border:0;border-radius:18px;flex-direction:column;align-items:stretch;gap:18px;min-height:360px;padding:24px 20px;display:flex}.role-permission-modal .permission-row>strong{color:#3f0f18;margin-bottom:8px;font-size:20px}.role-permission-modal .module-permission-toggle{border-bottom:1px solid #e2e2e2;margin-bottom:4px;padding-bottom:15px;font-weight:800}.role-permission-modal .permission-row>span{display:none}.role-permission-modal .permission-button{color:#491018;text-align:left;text-transform:capitalize;background:0 0;border:0;border-radius:0;align-items:center;gap:12px;width:100%;min-width:0;min-height:38px;padding:5px 0;font-size:16px;display:flex}.role-permission-modal .permission-button:hover,.role-permission-modal .permission-button.selected{color:#491018;background:0 0}.permission-switch{background:#fff;border:2px solid #96365f;border-radius:999px;flex:0 0 38px;width:38px;height:20px;transition:all .2s;position:relative}.permission-switch:after{content:"";background:#96365f;border-radius:50%;width:10px;height:10px;transition:all .2s;position:absolute;top:3px;left:3px}.permission-button.selected .permission-switch{background:#96365f}.permission-button.selected .permission-switch:after{background:#fff;left:21px}.employee-profile-modal{scroll-behavior:smooth;width:min(1120px,100%)}.employee-profile-modal textarea{resize:vertical;background:var(--gray-100);border:1px solid #0000;border-radius:12px;outline:none;width:100%;padding:13px 15px}.employee-profile-modal textarea:focus{border-color:var(--berry-500);box-shadow:0 0 0 3px var(--berry-50);background:#fff}.employee-section-nav{z-index:4;background:#fff;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px 0;display:grid;position:sticky;top:-24px}.employee-section-nav button{min-height:44px;color:var(--text);cursor:pointer;background:#f6f8f7;border:1px solid #d7dfda;border-radius:8px;font-weight:700}.employee-section-nav button.active{border-color:var(--berry-500);background:var(--berry-500);color:#fff}.employee-section-anchor{scroll-margin-top:72px}.cpd-trade-field{position:relative}.cpd-trade-trigger{background:var(--gray-100);width:100%;min-height:46px;color:var(--text);text-align:left;cursor:pointer;border:1px solid #0000;border-radius:12px;justify-content:space-between;align-items:center;padding:0 15px;display:flex}.cpd-selected-trades{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.cpd-selected-trades button{color:#176b49;cursor:pointer;background:#eef6f2;border:1px solid #bdd8ca;border-radius:999px;align-items:center;gap:7px;padding:6px 9px;display:inline-flex}.cpd-cascade{z-index:8;background:#fff;border:1px solid #d7dfda;border-radius:8px;max-width:min(900px,100vw - 64px);position:absolute;top:calc(100% + 6px);left:0;overflow:hidden;box-shadow:0 16px 40px #14231b29}.cpd-cascade-columns{display:flex;overflow-x:auto}.cpd-cascade-column{border-right:1px solid #e4e9e6;width:260px;min-width:260px;max-height:280px;padding:6px;overflow-y:auto}.cpd-cascade-column:last-child{border-right:0}.cpd-cascade-column button{width:100%;color:var(--text);text-align:left;cursor:pointer;background:#fff;border:0;border-radius:6px;justify-content:space-between;gap:12px;padding:11px 10px;display:flex}.cpd-cascade-column button:hover,.cpd-cascade-column button.selected{color:#176b49;background:#eef6f2}.cpd-option-label{align-items:center;gap:8px;display:flex}.cpd-checkbox{border:1px solid #9aa8a0;border-radius:2px;flex:0 0 16px;justify-content:center;align-items:center;width:16px;height:16px;font-size:11px;display:inline-flex}.cpd-cascade-column button.selected .cpd-checkbox{color:#fff;background:#176b49;border-color:#176b49}.cpd-cascade-actions{border-top:1px solid #e4e9e6;justify-content:flex-end;gap:8px;padding:10px;display:flex}.cpd-cascade-actions button{cursor:pointer;background:#fff;border:1px solid #d7dfda;border-radius:7px;padding:8px 14px}.cpd-cascade-actions button.primary{color:#fff;background:#176b49;border-color:#176b49}.project-flow-modal{scroll-behavior:smooth;width:min(1192px,100%)}.project-flow-layout{grid-template-columns:250px minmax(0,1fr);align-items:start;gap:64px;display:grid}.project-flow-tabs{flex-direction:column;padding-top:8px;display:flex;position:sticky;top:0}.project-flow-tabs button{color:#6b7280;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:12px 16px;font-weight:600}.project-flow-tabs button.active{background:var(--berry-500);color:#fff}.project-flow-content{min-width:0}.project-flow-anchor{scroll-margin-top:16px}.project-flow-actions{border-top:1px solid #d1d5db;padding-top:20px}.project-action-menu{display:inline-block;position:relative}.project-action-menu>button{cursor:pointer;background:0 0;border:0;border-radius:7px;width:34px;height:34px;font-size:20px}.project-action-menu>div{z-index:5;background:#fff;border:1px solid #e5e7eb;border-radius:8px;min-width:90px;padding:6px;display:none;position:absolute;top:32px;right:0;box-shadow:0 10px 24px #0000001f}.project-action-menu:hover>div,.project-action-menu:focus-within>div{display:grid}.project-action-menu>div button{text-align:left;cursor:pointer;background:#fff;border:0;border-radius:5px;padding:8px 10px}.project-action-menu>div button:hover{background:#f3f4f6}.project-view-grid{gap:20px;display:grid}.project-view-grid section{background:#f8fafc;border-radius:10px;padding:20px}.project-view-grid h3{margin-top:0}.project-view-grid dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 32px;margin:0;display:grid}.project-view-grid dt{color:#6b7280;font-size:13px}.project-view-grid dd{margin:4px 0 0;font-weight:600}.admin-scope-modal{width:min(1160px,100%)}.admin-scope-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 48px}.admin-project-picker{background:#f3f4f6;border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:240px;padding:12px;display:grid;overflow-y:auto}.admin-project-picker label{cursor:pointer;background:#fff;border-radius:8px;align-items:center;gap:10px;padding:10px;display:flex}.admin-project-picker small{color:#6b7280;display:block}.legacy-employee-list{display:none}.employee-module-title{margin-bottom:12px}.employee-search-panel,.employee-list-panel{background:#f1f5f9;border-radius:12px;padding:24px}.employee-search-panel{margin-bottom:20px}.employee-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 56px;display:grid}.employee-filter-actions{flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-top:20px;display:flex}.employee-list-heading{margin-bottom:20px}.employee-list-heading h2,.employee-list-heading p{margin:0}.employee-list-heading p{color:#6b7280;margin-top:4px}.employee-figma-table{background:0 0;border:0;overflow-x:auto}.employee-figma-table table{border-collapse:separate;border-spacing:0 10px;min-width:1050px}.employee-figma-table th{color:#1f2937;background:0 0;border:0}.employee-figma-table td{background:#fff;border:0}.employee-figma-table td:first-child{border-radius:8px 0 0 8px}.employee-figma-table td:last-child{border-radius:0 8px 8px 0}.employee-figma-table td small{color:#64748b;margin-top:3px;display:block}.employee-name-cell{align-items:center;gap:12px;min-width:180px;display:flex}.employee-avatar{object-fit:cover;border:2px solid var(--berry-50);background:#fff;border-radius:50%;flex:0 0 42px;width:42px;height:42px}.employee-avatar-initials{background:var(--berry-500);color:#fff;place-items:center;font-size:13px;font-weight:750;display:grid}.employee-avatar-large{flex-basis:88px;width:88px;height:88px;font-size:24px}.employee-photo-field{background:var(--gray-100);border-radius:12px;align-items:center;gap:18px;padding:12px 14px;display:flex}.employee-photo-field>div{gap:8px;min-width:0;display:grid}.employee-photo-field input{width:100%}.registration-status{color:#dc2626;white-space:nowrap}.registration-status.registered{color:#16a34a}.employee-access-methods{align-items:center;gap:7px;min-width:170px;display:flex}.employee-access-methods>span{cursor:help;border:1px solid;border-radius:8px;place-items:center;width:34px;height:34px;font-size:17px;display:inline-grid;position:relative}.employee-access-methods b{border:2px solid #fff;border-radius:50%;place-items:center;width:15px;height:15px;font-size:10px;line-height:1;display:grid;position:absolute;bottom:-4px;right:-4px}.employee-access-methods .enabled{color:#15803d;background:#dcfce7;border-color:#86efac}.employee-access-methods .enabled b{color:#fff;background:#16a34a}.employee-access-methods .disabled{color:#94a3b8;filter:grayscale();background:#f8fafc;border-color:#e2e8f0}.employee-access-methods .disabled b{color:#fff;background:#cbd5e1}.punch-access-method{background:var(--berry-50);color:var(--berry-500);white-space:nowrap;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:700;display:inline-block}.employee-status{color:#fff;background:#dc2626;border:0;border-radius:7px;min-width:88px;padding:7px 10px}.employee-status.active{background:#16a34a}.employee-row-actions{gap:6px;display:flex}.employee-row-actions button{cursor:pointer;background:#fff;border:1px solid #d7dfda;border-radius:6px;padding:6px 9px}.employee-row-actions button.danger{color:#dc2626}.figma-pagination{justify-content:center;margin-top:16px}@media (width<=1000px){.employee-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}@media (width<=640px){.employee-search-panel,.employee-list-panel{padding:14px}.employee-filter-grid{grid-template-columns:1fr}.employee-filter-actions .button{width:100%}}.toggle{color:#405047;align-items:center;gap:9px;font-weight:650;display:flex}.toggle input{width:18px;height:18px;accent-color:var(--berry-500)}.profile-header{justify-content:space-between;align-items:center;gap:42px;min-height:64px;margin:0;padding:6px 0;display:flex}.profile-header>div:first-child,.profile-identity>div{gap:3px;display:grid}.profile-header strong{color:#000;font-size:16px}.profile-header span{color:var(--gray-500);font-size:12px}.profile-identity{border-left:1px solid var(--gray-200);align-items:center;gap:11px;padding-left:16px;display:flex!important}.authenticated-header{height:92px}.authenticated-header>.profile-header{margin-left:auto}.authenticated-header .nav{display:none}.workspace-main{background:#fafafa;width:100%;max-width:none;height:100dvh;margin:0;padding:24px;overflow:hidden}.workspace-main .admin-layout{grid-template-columns:256px minmax(0,1fr);align-items:stretch;gap:24px;height:100%;min-height:0}.workspace-main .admin-sidebar{overscroll-behavior:contain;scrollbar-gutter:stable;border-radius:12px;height:100%;min-height:0;padding:24px;font-family:Inter,ui-sans-serif,system-ui,sans-serif;position:relative;top:auto;overflow-y:auto}.workspace-main .admin-content{overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid var(--gray-200);background:#fff;border-radius:12px;height:100%;min-height:0;padding:24px;font-family:Inter,ui-sans-serif,system-ui,sans-serif;overflow-y:auto}.workspace-sidebar-brand{border-bottom:1px solid var(--gray-200);align-items:center;gap:12px;min-width:0;margin-bottom:14px;padding:0 8px 20px;display:flex}.workspace-sidebar-brand img,.workspace-sidebar-brand-mark{object-fit:contain;border:1px solid var(--gray-200);background:#fff;border-radius:10px;flex:0 0 42px;width:42px;height:42px}.workspace-sidebar-brand-mark{color:#fff;background:var(--berry-500);border-color:var(--berry-500);place-items:center;font-weight:800;display:grid}.workspace-sidebar-brand strong{color:#111;text-overflow:ellipsis;font-size:14px;line-height:1.25;overflow:hidden}.workspace-sidebar-footer{border-top:1px solid var(--gray-200);gap:10px;padding-top:14px;display:grid}.workspace-sidebar-profile{align-items:center;gap:10px;min-width:0;padding:8px;display:flex}.workspace-sidebar-profile>div{gap:2px;min-width:0;display:grid}.workspace-sidebar-profile strong,.workspace-sidebar-profile span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.workspace-sidebar-profile strong{color:#111;font-size:13px}.workspace-sidebar-profile span{color:var(--gray-500);font-size:11px}.workspace-main .section-title h1{letter-spacing:-.02em;color:#000;font-size:32px;font-weight:500;line-height:40px}.workspace-main .section-title{align-items:center}.tenant-settings-form{max-width:820px}.logo-setting{border-bottom:1px solid var(--gray-200);align-items:center;gap:20px;margin-bottom:26px;padding-bottom:24px;display:flex}.logo-setting>img,.logo-setting>span{object-fit:contain;background:var(--berry-50);width:76px;height:76px;color:var(--berry-500);border:1px solid var(--berry-500);border-radius:50%;place-items:center;font-size:22px;font-weight:750;display:grid}.logo-setting>div{gap:7px;display:grid}.logo-setting label{font-weight:650}.logo-setting small{color:var(--gray-500)}.profile-avatar{object-fit:cover;border:2px solid var(--berry-50);border-radius:50%;width:40px;height:40px}.profile-initials{background:var(--berry-500);place-items:center;font-weight:750;display:grid;color:#fff!important}.cpd-options{border:1px solid var(--gray-200);background:#fff;border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px;display:grid}.cpd-options .toggle{background:var(--gray-100);border-radius:8px;padding:8px 10px}.registration-card{max-height:calc(100vh - 120px);overflow-y:auto}.form-divider{border-top:1px solid #9ca3af;grid-column:1/-1;margin-top:8px;padding-top:20px}.form-divider h3{color:#000;margin:0;font-size:24px;font-weight:500;line-height:32px}.modal-wide>.actions .button{border-radius:8px;min-width:200px;min-height:52px}.button.secondary{color:var(--gray-500);background:#fff;border:1px solid #9ca3af}.button.secondary:hover{background:var(--gray-100);color:var(--berry-500)}.report-page{gap:20px;display:grid}.report-heading h1{letter-spacing:-.02em;margin:0;font-size:32px;font-weight:500;line-height:40px}.report-heading p,.report-results-heading p{color:var(--gray-500);margin:0}.report-filter-card,.report-results{background:#f1f5f9;border-radius:12px;padding:24px}.report-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 74px;display:grid}.report-filter-grid label{color:#212121;gap:8px;font-size:14px;font-weight:500;display:grid}.report-filter-grid input,.report-filter-grid select{color:#6b7280;width:100%;min-height:48px;font:inherit;background:#fff;border:1px solid #0000;border-radius:12px;outline:none;padding:12px 15px}.report-filter-grid input:focus,.report-filter-grid select:focus{border-color:var(--berry-500);box-shadow:0 0 0 3px var(--berry-50)}.report-actions{justify-content:flex-end;gap:12px;margin-top:20px;display:flex}.report-actions .button{min-height:44px;padding:11px 20px;font-weight:500}.report-divider{border:0;border-top:1px solid #9ca3af;width:100%;margin:-4px 0 0}.report-results{gap:24px;display:grid}.report-results-heading h2{margin:0 0 3px;font-size:24px;font-weight:500}.report-table-wrap{overflow-x:auto}.report-table{border-collapse:separate;border-spacing:0 10px;min-width:850px}.report-table th{color:#1f2937;text-transform:none;letter-spacing:0;background:0 0;border:0;padding:10px 14px;font-size:14px;font-weight:500}.report-table td{color:#4b5563;background:#fff;border:0;padding:13px 14px}.report-table td:first-child{text-align:center;border-radius:8px 0 0 8px}.report-table td:last-child{text-align:center;border-radius:0 8px 8px 0}.report-table td strong,.report-table td small{display:block}.report-table td strong{color:#111827;font-weight:500}.report-table td small{color:#6b7280;margin-top:3px}.report-employee{align-items:center;gap:12px;min-width:180px;display:flex}.report-employee-photo{object-fit:cover;border:2px solid var(--berry-50);background:#fff;border-radius:50%;flex:0 0 40px;width:40px;height:40px}.report-employee-initials{background:var(--berry-500);color:#fff;place-items:center;font-size:13px;font-weight:750;display:grid}.report-employee-photo-large{flex-basis:88px;width:88px;height:88px;font-size:24px}.assigned{color:#16a34a}.not-assigned{color:#dc2626}.report-more{color:#64748b;cursor:pointer;background:0 0;border:0;border-radius:8px;width:32px;height:32px;font-size:22px}.report-more:hover{background:var(--berry-50);color:var(--berry-500)}.report-pagination{justify-content:center;align-items:center;gap:42px;font-size:14px;display:flex}.report-pagination button{cursor:pointer;background:0 0;border:0}.report-pagination button:disabled{opacity:.4;cursor:not-allowed}.report-pagination b{color:var(--berry-500)}.report-detail{width:min(460px,100%)}.report-detail-profile{text-align:center;flex-direction:column;align-items:center;gap:10px;margin-bottom:24px;display:flex}.report-detail-profile h2{margin:0}.report-detail dl{grid-template-columns:110px 1fr;gap:12px;display:grid}.report-detail dt{color:var(--gray-500)}.report-detail dd{margin:0}@media (width<=1000px){.report-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}@media (width<=600px){.report-filter-grid{grid-template-columns:1fr}.report-actions{flex-wrap:wrap}.report-actions .button{flex:auto}}.company-dashboard{color:#171717;gap:22px;display:grid}.company-dashboard-title{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;padding-bottom:16px;display:flex}.company-dashboard-title h1{letter-spacing:-.03em;margin:0 0 4px;font-size:32px;font-weight:600;line-height:1.2}.company-dashboard-title p{color:#7a8490;margin:0;font-size:13px}.company-dashboard-title time{color:#747f8c;text-align:right;font-size:12px;line-height:1.45}.company-dashboard-title time span{color:#334155}.company-dashboard-group{background:#fff;border:1px solid #e1e5e9;border-radius:10px;overflow:hidden}.company-dashboard-toggle{color:#171717;width:100%;font:inherit;text-align:left;cursor:pointer;background:#fff;border:0;border-bottom:1px solid #edf0f2;justify-content:space-between;align-items:center;gap:16px;padding:17px 20px;font-size:20px;display:flex}.company-device-count,.project-dashboard-heading span{color:#7a8490;white-space:nowrap;font-size:13px;font-weight:400}.company-device-count i,.project-dashboard-heading i{color:#f3a318;font-style:normal}.company-device-count b,.project-dashboard-heading b{color:#171717}.company-device-count em{color:#5f6b78;margin-left:18px;font-size:16px;font-style:normal}.company-dashboard-projects{background:#f6f6f7;gap:24px;padding:20px;display:grid}.project-dashboard-row{gap:14px;display:grid}.contractor-dashboard-window{background:#f3f3f4;border:1px solid #e1e5e9;border-radius:10px;padding:16px}.project-dashboard-row+.project-dashboard-row{padding-top:4px}.project-dashboard-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.project-dashboard-heading h3{color:#97345e;margin:0;font-size:16px;font-weight:500}.company-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.company-metric{background:#fff;border:1px solid #dce1e6;border-radius:10px;flex-direction:column;justify-content:space-between;min-height:148px;padding:20px;display:flex}.company-metric-title{align-items:center;gap:12px;display:flex}.company-metric-title strong{font-size:15px;font-weight:500}.company-metric-icon{border-radius:7px;place-items:center;width:26px;height:26px;font-size:15px;display:grid}.company-metric.green .company-metric-icon{color:#26bd72;background:#ecfbf3}.company-metric.amber .company-metric-icon{color:#f2a416;background:#fff8e8}.company-metric.red .company-metric-icon{color:#fa6570;background:#fff0f1}.company-metric-value{align-items:baseline;gap:10px;display:flex}.company-metric-value b{letter-spacing:-.03em;font-size:30px;font-weight:500;line-height:1}.company-metric-value span,.company-metric small{color:#7d8792;font-size:12px}.company-metric small{align-items:center;gap:6px;display:flex}.company-metric small i{font-style:normal}.company-metric.green small i{color:#26bd72}.company-metric.amber small i{color:#f2a416}.company-metric.red small i{color:#fa6570}.company-metric small b{color:#171717;margin-left:3px}.dashboard-empty{color:#7a8490;text-align:center;margin:0;padding:30px}@media (width<=1000px){.company-metric-grid{grid-template-columns:1fr}.company-dashboard-toggle,.project-dashboard-heading{align-items:flex-start}.company-dashboard-toggle{font-size:17px}}@media (width<=600px){.company-dashboard-title,.company-dashboard-toggle,.project-dashboard-heading{flex-direction:column}.company-dashboard-title time{text-align:left}.company-dashboard-projects{padding:14px}.company-metric{min-height:135px}}html{overflow-x:hidden}img,svg{max-width:100%}.admin-content,.card,.section-title>div,.profile-header,.profile-identity{min-width:0}.table-card,.permission-matrix{-webkit-overflow-scrolling:touch;max-width:100%;overflow-x:auto}.modal-backdrop{overscroll-behavior:contain;overflow-y:auto}.modal{max-height:calc(100dvh - 40px);overflow-y:auto}@media (width<=1180px){.workspace-main .admin-layout{grid-template-columns:220px minmax(0,1fr);gap:16px}.workspace-main .admin-sidebar{padding:18px 14px}.workspace-main .admin-content{padding:20px}.metric-grid,.access-options{grid-template-columns:repeat(2,minmax(0,1fr))}.report-filter-grid{gap:20px}}@media (width<=900px){.role-permission-modal .permission-matrix{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.header{padding-inline:18px}.main{width:calc(100% - 32px)}.workspace-main{width:100%;height:auto;min-height:100dvh;padding:16px;overflow:visible}.workspace-main .admin-layout,.admin-layout{grid-template-columns:1fr;gap:16px;min-height:auto}.admin-sidebar,.workspace-main .admin-sidebar{overscroll-behavior-inline:contain;flex-direction:row;gap:8px;width:100%;height:auto;min-height:auto;padding:10px;position:static;overflow:auto hidden}.workspace-main .admin-content{height:auto;overflow:visible}.admin-sidebar>div{flex:none;gap:5px;display:flex}.admin-sidebar>.workspace-sidebar-footer{border:0;padding:0;display:flex}.workspace-sidebar-brand{border-bottom:0;border-right:1px solid var(--gray-200);flex:none;max-width:190px;margin:0 8px 0 0;padding:0 10px 0 0}.workspace-sidebar-brand img,.workspace-sidebar-brand-mark{flex-basis:38px;width:38px;height:38px}.workspace-sidebar-profile{display:none}.admin-sidebar .sidebar-group{padding-top:0}.admin-sidebar button{white-space:nowrap;flex:none;width:auto;min-height:44px}.admin-sidebar button.active{box-shadow:inset 0 -3px var(--berry-500)}.sidebar-label{display:none}.date-filters,.attendance-controls{flex-wrap:wrap}.attendance-controls .pagination{flex:100%}}@media (width<=780px){.admin-scope-grid,.admin-project-picker{grid-template-columns:1fr}.project-flow-layout{grid-template-columns:1fr;gap:20px}.project-flow-tabs{z-index:6;background:#fff;flex-direction:row;padding:8px 0;position:sticky;top:-24px;overflow-x:auto}.project-flow-tabs button{flex:none}.project-view-grid dl{grid-template-columns:1fr}.hero{grid-template-columns:1fr;gap:32px}.form-grid{grid-template-columns:1fr}.field.full,.form-divider{grid-column:auto}.main{width:min(100% - 24px,600px);padding-top:32px}.workspace-main{width:100%;padding:12px}.workspace-main .admin-content{padding:18px}.header{padding-inline:14px}.authenticated-header{height:76px}.global-loader{top:76px}.brand{white-space:nowrap;text-overflow:ellipsis;max-width:48%;overflow:hidden}.brand-logo{flex:0 0 38px;width:38px;height:38px}.profile-header{gap:10px;min-height:56px}.profile-header>div:first-child{display:none}.profile-identity{padding-left:10px}.profile-identity>div{max-width:130px}.profile-identity strong,.profile-identity span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.section-title{flex-wrap:wrap;align-items:flex-start;gap:14px}.section-title .button{width:100%}.workspace-main .section-title h1,.report-heading h1,.company-dashboard-title h1{font-size:26px;line-height:1.2}.metric-grid,.dashboard-metrics,.permission-grid,.cpd-options{grid-template-columns:1fr}.live-status,.pagination{flex-wrap:wrap;align-items:flex-start}.device-filter,.date-filters .field{width:100%;min-width:0}.date-filters,.date-filters .button{width:100%}.connection-test{flex-wrap:wrap;align-items:flex-start}th,td{white-space:nowrap;padding:13px 14px}td .muted{white-space:normal}.row-actions{min-width:max-content}.modal-backdrop{place-items:start center;padding:12px}.modal{max-height:calc(100dvh - 24px)}.card{border-radius:16px;padding:20px}.modal-wide>.actions .button{min-width:0}.admin-content>.alert.error,.workspace-main .admin-content>:first-child>.alert.error{top:88px;right:12px}}@media (width<=600px){.modal.modal-wide.role-permission-modal{width:calc(100vw - 16px);height:calc(100dvh - 16px)}.role-permission-modal .permission-matrix{grid-template-columns:1fr}.role-permission-modal .permission-row{min-height:0;padding:22px}h1{font-size:clamp(34px,11vw,44px)}.nav{max-width:58%;overflow-x:auto}.nav button{white-space:nowrap;flex:none;padding-inline:9px}.nav button:nth-child(2){display:none}.access-options{grid-template-columns:1fr}.actions{flex-wrap:wrap-reverse}.actions .button{flex:140px}.report-filter-card,.report-results{padding:16px}.report-pagination{justify-content:space-between;gap:14px}.report-pagination span{text-align:center;flex:1 0 100%;order:-1}.logo-setting{flex-direction:column;align-items:flex-start}.logo-setting input[type=file]{width:100%}.report-detail dl,.detail-grid{grid-template-columns:1fr}}@media (width<=420px){.header{padding-inline:10px}.brand{gap:7px;max-width:42%;font-size:14px}.brand-mark{flex:0 0 32px;width:32px;height:32px}.profile-avatar{width:36px;height:36px}.profile-identity>div{max-width:105px}.workspace-main{padding:8px}.workspace-main .admin-content,.card{padding:16px}.tabs{flex-wrap:nowrap;overflow-x:auto}.tabs button{white-space:nowrap;flex:none}.pagination>div{justify-content:space-between;width:100%}}
