:root{color-scheme:light;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f4f5fb;color:#1d2939}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 8% 0%,rgba(99,102,241,.08),transparent 28rem),#f4f5fb}button,input,textarea,select{font:inherit}.app-shell{max-width:1680px;margin:0 auto;padding:clamp(20px,2vw,34px)}.hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;background:linear-gradient(135deg,#4f46e5,#9333ea);color:#fff;border-radius:24px}.guest-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,430px);min-height:430px;padding:clamp(34px,4vw,68px);overflow:hidden}.guest-brand{align-self:center;max-width:680px}.guest-brand .logo{font-size:clamp(2.4rem,4.5vw,4.6rem);letter-spacing:-.045em}.guest-brand p{max-width:570px;margin:18px 0 0;color:#ffffffd6;font-size:clamp(1.05rem,1.5vw,1.3rem);line-height:1.55}.guest-access-panel{align-self:center;min-width:0;width:100%;padding:24px;border:1px solid rgba(255,255,255,.5);border-radius:22px;background:#fffffff7;color:#1e293b;box-shadow:0 24px 65px #1e1b4b47}.guest-access-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.guest-access-heading>strong{font-size:1.05rem}.guest-access-panel .language-switch{border-color:#cbd5e1;background:#f1f5f9}.guest-access-panel .language-switch button{color:#64748b}.guest-access-panel .language-switch button.active{background:#4f46e5;color:#fff}.signed-in-hero{min-height:64px;padding:12px 16px;border-radius:16px}.signed-in-hero .logo{font-size:1.25rem}.company-header-brand{display:flex;align-items:center;min-width:0;gap:11px}.company-header-image,.company-header-placeholder{flex:0 0 auto;width:42px;height:42px;border:2px solid rgba(255,255,255,.65);border-radius:12px}.company-header-image{background:#fff;object-fit:cover}.company-header-placeholder{display:grid;place-items:center;background:#ffffff2e;color:#fff;font-weight:850}.brand-copy{display:grid;min-width:0}.brand-copy .logo,.brand-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand-copy small{color:#ffffffb8;font-size:.7rem}.signed-in-header-actions{display:flex;align-items:center;gap:8px}.compact-language-switch button{min-width:34px;padding:5px 7px;font-size:.76rem}.account-menu{position:relative}.account-menu-button{width:38px;height:38px;padding:0;border:1px solid rgba(255,255,255,.45);border-radius:50%;background:#ffffff24;color:#fff;cursor:pointer;font-weight:800;letter-spacing:1px}.account-menu-panel{position:absolute;z-index:50;top:calc(100% + 8px);right:0;display:grid;gap:8px;width:min(280px,calc(100vw - 28px));padding:14px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;color:#1e293b;box-shadow:0 18px 45px #0f172a3d}.account-menu-panel small{margin-top:-4px;color:#64748b;overflow-wrap:anywhere}.account-menu-panel button{padding:10px 12px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;color:#334155;cursor:pointer;text-align:left}.account-menu-panel .account-sign-out{color:#b91c1c}.account-menu-panel .account-preview-active{border-color:#a5b4fc;background:#eef2ff;color:#3730a3}.user-preview-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding:11px 14px;border:1px solid #fbbf24;border-radius:12px;background:#fffbeb;color:#92400e;font-weight:750}.user-preview-banner button{flex:0 0 auto;padding:7px 10px;border:1px solid #f59e0b;border-radius:8px;background:#fff;color:#92400e;cursor:pointer;font-weight:800}.logo{font-size:2rem;font-weight:700}.language-switch{display:inline-flex;padding:3px;border:1px solid rgba(255,255,255,.45);border-radius:999px;background:#ffffff1f}.language-switch button{min-width:42px;padding:7px 10px;border:0;border-radius:999px;background:transparent;color:#fff;cursor:pointer}.language-switch button.active{background:#fff;color:#4338ca;font-weight:700}.content{display:grid;gap:24px;margin-top:24px}.page-tabs{display:flex;gap:10px}.page-tabs button,.primary-button,.secondary-button{padding:11px 16px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#334155;cursor:pointer}.page-tabs .active-tab,.primary-button{border-color:#4f46e5;background:#4f46e5;color:#fff}.secondary-button{margin-bottom:14px;background:#eef2ff;color:#4338ca}.section-card{border:1px solid rgba(226,232,240,.8);background:#fff;border-radius:20px;padding:24px;box-shadow:0 20px 50px #0f172a14}.tool-grid{display:grid;gap:16px;margin-top:16px}.import-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin-top:16px}.file-upload{display:flex;flex-direction:column;gap:10px;padding:18px;border-radius:18px;border:1px dashed #c7d2fe;background:#eef2ff;cursor:pointer}.file-upload input{width:100%}@media (min-width: 1100px){.tools-section-card{padding:30px 32px 26px}.tools-section-card .tool-list-heading h2{font-size:1.6rem}.tools-section-card .primary-tool-search{margin-top:22px}.tools-section-card .tool-table td{padding-top:16px;padding-bottom:16px}}.import-lock-notice{padding:11px 13px;border-left:4px solid #6366f1;border-radius:8px;background:#f5f3ff;color:#4338ca}.import-count{color:#166534;font-size:.88rem}.file-upload.locked{border-style:solid;border-color:#cbd5e1;background:#f1f5f9;color:#64748b;cursor:not-allowed}.file-upload.locked .import-count{color:#b91c1c}.file-upload input:disabled{cursor:not-allowed;opacity:.55}.import-preview{margin-top:20px;padding:20px;border:2px solid #6366f1;border-radius:18px;background:#fff;box-shadow:0 14px 35px #4f46e51f}.import-preview-heading,.import-preview-actions{display:flex;align-items:center;justify-content:space-between;gap:16px}.import-preview-heading h3,.import-preview-heading p{margin:5px 0 0}.preview-count{display:grid;place-items:center;min-width:62px;height:62px;border-radius:50%;background:#4f46e5;color:#fff;font-size:1.25rem}.detected-columns{display:flex;align-items:center;gap:7px;margin-top:16px;flex-wrap:wrap}.detected-columns span{padding:4px 9px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.82rem}.import-preview-table-wrap{margin-top:14px;overflow-x:auto;border:1px solid #e2e8f0;border-radius:12px}.import-preview-table{width:100%;border-collapse:collapse}.import-preview-table th,.import-preview-table td{padding:10px 12px;border-bottom:1px solid #e2e8f0;text-align:left}.import-preview-table th{background:#f8fafc;color:#334155}.import-final-warning{margin:14px 0;padding:10px 12px;border-radius:10px;background:#fffbeb;color:#92400e;font-weight:650}.import-preview-actions{justify-content:flex-end}.import-preview-actions .secondary-button{margin:0}.status-text{margin-top:16px;color:#334155}.import-success-message,.import-error-message{padding:12px 14px;border-radius:11px;font-weight:700}.import-success-message{border:1px solid #86efac;background:#f0fdf4;color:#166534}.import-error-message{border:1px solid #fca5a5;background:#fef2f2;color:#991b1b}.import-summary{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin-top:20px}.summary-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 0;border-bottom:1px solid #e2e8f0}.tool-section{display:grid;gap:20px;grid-template-columns:1.5fr .9fr}.tool-table-wrap{overflow-x:auto;border:1px solid #e5e7eb;border-radius:18px;background:#fff}.tool-table{width:100%;border-collapse:collapse}.tool-table th,.tool-table td{padding:14px 12px;border-bottom:1px solid #e5e7eb;text-align:left}.tool-table th{background:#f8fafc;color:#334155;font-weight:700}.tool-table tr:hover{background:#f8f9fd;cursor:pointer}.selected-row{background:#eef2ff}.tool-detail-panel{padding:18px;border-radius:18px;border:1px solid #e5e7eb;background:#fff}.tool-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tool-detail-grid label,.photo-upload{display:grid;gap:6px;color:#475569;font-size:.9rem}.tool-detail-grid input,.tool-detail-grid select,.checkin-section select,.checkin-section textarea{width:100%;padding:10px 12px;border:1px solid #cbd5e1;border-radius:10px;color:#1e293b;background:#fff}.tool-detail-grid input:disabled{color:#64748b;background:#f1f5f9}.tool-detail-panel>.primary-button,.checkin-section .primary-button{margin-top:14px}.checkin-section{display:grid;gap:10px;margin-top:22px}.checkin-section textarea{min-height:90px;resize:vertical}.photo-section,.photo-upload{margin-top:20px}.tool-detail-panel p{margin:8px 0}.related-section{margin-top:18px}.related-row{display:flex;flex-direction:column;gap:4px;padding:8px 0;border-bottom:1px solid #e5e7eb}.tool-filter-row{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-top:18px}.tool-filter-row input,.tool-filter-row select{width:100%;padding:12px 14px;border:1px solid #cbd5e1;border-radius:12px;background:#fff}.primary-tool-search{display:grid;grid-template-columns:minmax(0,1fr) 48px auto;gap:10px;margin-top:18px}.primary-tool-search input,.advanced-search-panel input{width:100%;min-height:48px;padding:12px 14px;border:1px solid #cbd5e1;border-radius:12px;background:#fff}.advanced-search-toggle{display:inline-flex;align-items:center;justify-content:space-between;gap:14px;min-height:48px;padding:11px 15px;border:1px solid #cbd5e1;border-radius:12px;background:#f8fafc;color:#334155;cursor:pointer;font-weight:750}.advanced-search-toggle.active{border-color:#818cf8;background:#eef2ff;color:#4338ca}.search-qr-button{display:grid;place-items:center;width:48px;height:48px;padding:10px;border:0;border-radius:12px;background:#111827;color:#fff;cursor:pointer;box-shadow:0 6px 16px #0f172a33}.search-qr-button:hover{background:#312e81}.search-qr-button svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.search-qr-button svg rect,.search-qr-button svg path:last-child{fill:currentColor;stroke:none}.advanced-search-panel{margin-top:10px;padding:16px;border:1px solid #c7d2fe;border-radius:14px;background:#f8faff}.advanced-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.filter-combobox{position:relative}.filter-options{position:absolute;z-index:35;top:calc(100% + 5px);right:0;left:0;display:grid;max-height:280px;overflow-y:auto;border:1px solid #cbd5e1;border-radius:12px;background:#fff;box-shadow:0 15px 35px #0f172a33}.filter-options button{padding:11px 12px;border:0;border-bottom:1px solid #e2e8f0;background:#fff;color:#334155;cursor:pointer;text-align:left}.filter-options button:hover,.filter-options button.selected{background:#eef2ff;color:#4338ca}.filter-field>small{color:#166534;font-weight:700}.tool-list-heading,.reconcile-panel,.tool-qr-card{display:flex;align-items:center;justify-content:space-between;gap:18px}.tool-list-heading h2,.tool-list-heading p,.reconcile-panel p,.tool-qr-card p{margin:0}.tool-list-heading p,.reconcile-panel p,.tool-qr-card p{margin-top:6px}.qr-scan-button{display:inline-flex;align-items:center;gap:9px;min-height:48px;padding:11px 16px;border:0;border-radius:13px;background:#111827;color:#fff;cursor:pointer;font-weight:750;white-space:nowrap}.qr-scan-button span{font-size:1.35rem}.reconcile-panel{margin-top:18px;padding:16px;border:1px solid #c7d2fe;border-radius:14px;background:#eef2ff}.reconcile-panel .secondary-button{flex:0 0 auto;margin:0}.filter-field{display:grid;gap:5px;color:#475569;font-size:.82rem;font-weight:600}.filter-warning{margin-top:12px;padding:12px 14px;border:1px solid #fcd34d;border-radius:12px;background:#fffbeb;color:#854d0e}.empty-project-warning{display:block;margin-top:7px;color:#b45309}.clear-filters-button{margin-top:12px;padding:8px 12px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#475569;cursor:pointer}.tool-card{padding:18px;border-radius:18px;border:1px solid #e5e7eb;background:#f9fafb}.tool-card h3{margin:0 0 12px}.tool-meta p{margin:8px 0}.tag-row{margin-top:12px;display:flex;gap:8px;flex-wrap:wrap}.tag{background:#eef2ff;color:#4338ca;border-radius:9999px;padding:4px 10px;font-size:.85rem}.login-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#eef2ff}.login-card{width:min(480px,calc(100% - 32px));background:#fff;border-radius:24px;box-shadow:0 24px 60px #0f172a1f;padding:32px}.login-card h1{margin-top:0}.login-card label{display:block;margin-top:18px;font-size:.95rem;color:#334155}.login-card input{width:100%;margin-top:8px;padding:12px 14px;border:1px solid #cbd5e1;border-radius:12px}.auth-toggle{display:flex;gap:12px;margin:18px 0 8px}.auth-toggle button{flex:1;min-width:0;padding:12px 14px;border:1px solid #cbd5e1;border-radius:12px;background:#f8fafc;cursor:pointer}.auth-toggle button.active{background:#4338ca;color:#fff;border-color:#4338ca}.auth-actions{margin-top:20px}.auth-form{display:flex;flex-direction:column;gap:12px}.auth-form>button[type=submit]{min-height:48px;border:0;border-radius:12px;background:#111827;color:#fff;cursor:pointer;font-weight:800}.auth-form>button[type=submit]:hover{background:#312e81}.auth-form>button[type=submit]:disabled{cursor:wait;opacity:.6}.auth-error{padding:10px 12px;border:1px solid #fecaca;border-radius:10px;background:#fef2f2;color:#991b1b;font-size:.88rem}.auth-form input,.auth-form select,.admin-user-form input,.admin-user-form select{width:100%;padding:12px 14px;border:1px solid #cbd5e1;border-radius:12px}.admin-user-form{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin-top:14px}.admin-user-form button{min-height:44px}.user-list{display:grid;gap:10px;margin-top:16px}.user-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #e2e8f0;border-radius:14px}.company-branding-card{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:center;gap:20px;margin:22px 0;padding:18px;border:1px solid #c7d2fe;border-radius:18px;background:linear-gradient(135deg,#eef2ff,#fff)}.company-branding-card>img,.company-branding-placeholder{width:104px;height:104px;border:1px solid #cbd5e1;border-radius:20px;background:#fff}.company-branding-card>img{object-fit:cover}.company-branding-placeholder{display:grid;place-items:center;color:#4338ca;font-size:2.25rem;font-weight:850}.company-branding-card h3,.company-branding-card p{margin:0}.company-branding-card p{margin-top:5px;color:#64748b}.company-cover-upload{display:inline-flex;align-items:center;min-height:40px;margin-top:13px;padding:9px 14px;border-radius:10px;background:#4f46e5;color:#fff;cursor:pointer;font-weight:750}.company-cover-upload input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.company-cover-status{display:block;margin-top:9px;color:#166534;font-weight:700}.user-row.inactive{background:#f8fafc;color:#64748b}.user-row-identity{min-width:0}.user-profile-editor{display:flex;align-items:flex-start;flex:1 1 540px;min-width:0;gap:14px}.user-profile-avatar{flex:0 0 auto;width:72px;height:72px;border:1px solid #cbd5e1;border-radius:18px;object-fit:cover}.user-profile-placeholder{display:grid;place-items:center;background:#eef2ff;color:#4338ca;font-size:1.6rem;font-weight:850}.user-profile-editor .user-row-identity{display:grid;grid-template-columns:minmax(170px,1fr) minmax(150px,.7fr);gap:8px;width:100%}.user-profile-editor input{min-width:0;padding:9px 11px;border:1px solid #cbd5e1;border-radius:9px}.user-profile-email,.user-profile-actions,.user-profile-editor .user-badges{grid-column:1 / -1}.user-profile-email{color:#64748b;overflow-wrap:anywhere}.user-profile-actions{display:flex;flex-wrap:wrap;gap:8px}.user-profile-actions button,.user-profile-image-upload{min-height:38px;padding:8px 11px;border:1px solid #c7d2fe;border-radius:9px;background:#eef2ff;color:#4338ca;cursor:pointer;font-weight:750}.user-profile-image-upload input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.employee-profile-link,.mobile-employee-link{display:inline-flex;align-items:center;gap:7px;padding:3px 6px;border:0;border-radius:999px;background:#eef2ff;color:#3730a3;cursor:pointer;font-weight:750}.employee-profile-link img,.employee-profile-link span{width:26px;height:26px;border-radius:50%}.employee-profile-link img{object-fit:cover}.employee-profile-link span{display:grid;place-items:center;background:#c7d2fe}.employee-profile-modal{position:relative;width:min(430px,100%);padding:30px;border-radius:24px;background:#fff;text-align:center;box-shadow:0 30px 90px #0f172a59}.employee-profile-close{position:absolute;top:14px;right:14px}.employee-profile-photo{display:grid;place-items:center;width:128px;height:128px;margin:0 auto 18px;border:4px solid #eef2ff;border-radius:34px;object-fit:cover}.employee-profile-photo-placeholder{background:#e0e7ff;color:#4338ca;font-size:3rem;font-weight:850}.employee-profile-modal h2{margin:5px 0 20px}.employee-contact-list{display:grid;gap:10px;text-align:left}.employee-contact-list a,.employee-contact-list>div{display:grid;gap:3px;padding:13px 14px;border:1px solid #e2e8f0;border-radius:13px;background:#f8fafc;color:#1e293b;text-decoration:none;overflow-wrap:anywhere}.employee-contact-list small{color:#64748b}.user-row-identity>div:nth-child(2){overflow-wrap:anywhere}.user-badges,.user-access-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.user-badges{margin-top:8px}.access-pill,.auth-pill{padding:4px 8px;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:.72rem;font-weight:750}.access-pill.active,.auth-pill.linked{background:#dcfce7;color:#166534}.access-pill.inactive{background:#fee2e2;color:#991b1b}.user-access-controls{justify-content:flex-end}.module-permission-controls{display:grid;gap:7px;min-width:min(360px,100%)}.module-permission-controls label{display:flex;align-items:flex-start;gap:9px;padding:8px 10px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;cursor:pointer}.module-permission-controls input{flex:0 0 auto;width:18px;height:18px;margin-top:2px}.module-permission-controls span,.module-permission-controls strong,.module-permission-controls small{display:block}.module-permission-controls small{margin-top:2px;color:#64748b;font-weight:500}.user-access-controls select,.access-toggle-button{min-height:40px;padding:8px 11px;border:1px solid #cbd5e1;border-radius:10px;background:#fff}.access-toggle-button{cursor:pointer;font-weight:750}.access-toggle-button.disable{color:#991b1b}.access-toggle-button.enable{border-color:#86efac;color:#166534}.user-access-controls select:disabled,.access-toggle-button:disabled{cursor:not-allowed;opacity:.55}.audit-heading,.audit-entry-main{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.audit-heading h2{margin-bottom:4px}.audit-heading p{margin:0}.audit-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(180px,1fr);gap:12px;margin-top:20px}.audit-filters input,.audit-filters select{width:100%;min-height:44px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:11px;background:#fff}.audit-result-count{margin:12px 0;color:#64748b;font-size:.88rem}.audit-list{display:grid;gap:10px}.audit-entry,.audit-empty{padding:14px;border:1px solid #e2e8f0;border-radius:14px;background:#fff}.audit-entry-main time{flex:0 0 auto;color:#64748b;font-size:.82rem;text-align:right}.audit-actor{margin-top:4px;color:#64748b;font-size:.86rem;overflow-wrap:anywhere}.audit-entry-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.audit-entry-meta span{padding:4px 8px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.74rem;font-weight:750}.audit-details{margin-top:10px}.audit-details summary{color:#4338ca;cursor:pointer;font-size:.85rem;font-weight:700}.audit-details pre{max-height:260px;margin:10px 0 0;padding:12px;overflow:auto;border-radius:10px;background:#0f172a;color:#e2e8f0;font-size:.76rem;white-space:pre-wrap;overflow-wrap:anywhere}.role-pill{padding:6px 10px;border-radius:999px;background:#eef2ff;color:#4338ca;font-weight:700;text-transform:uppercase;font-size:.78rem}.auth-actions button,.outline-button,.scan-actions button{padding:12px 18px;border-radius:14px;border:none;cursor:pointer;background:#4f46e5;color:#fff}.outline-button{border:1px solid rgba(255,255,255,.9);background:transparent}.user-info{display:flex;align-items:center;gap:14px}.scan-actions{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.scan-panel{margin-top:14px}.scan-video{width:100%;max-height:320px;border-radius:18px;border:1px solid #cbd5e1}.scan-result{margin-top:12px;padding:12px;border-radius:16px;background:#eff6ff}.photo-upload{margin-top:20px}.photo-upload input{margin-top:10px}.photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin-top:16px}.photo-grid img{width:100%;height:160px;object-fit:cover;border-radius:16px;border:1px solid #e2e8f0}@media (max-width: 900px){.app-shell{padding:12px}.hero,.tool-section{grid-template-columns:1fr}.hero{align-items:flex-start;flex-direction:column}.hero.guest-hero{grid-template-columns:minmax(0,1fr);min-height:auto;padding:28px}.guest-brand{max-width:none}.guest-access-panel{min-width:0;width:100%;max-width:none}.tool-detail-grid{grid-template-columns:1fr}}.table-toolbar,.pagination,.modal-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.table-toolbar{margin:18px 0 10px;color:#475569}.table-toolbar label{display:flex;align-items:center;gap:8px}.table-toolbar select,.pagination button{padding:8px 11px;border:1px solid #cbd5e1;border-radius:10px;background:#fff}.table-actions{display:flex;align-items:center;gap:10px}.column-settings{position:relative}.column-settings-button{min-height:40px;padding:8px 12px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#334155;cursor:pointer}.column-settings-button.active{border-color:#6366f1;background:#eef2ff;color:#4338ca}.column-settings-panel{position:absolute;z-index:20;top:calc(100% + 8px);right:0;display:grid;gap:8px;width:260px;max-height:430px;padding:14px;overflow-y:auto;border:1px solid #cbd5e1;border-radius:14px;background:#fff;box-shadow:0 18px 45px #0f172a2e}.column-settings-panel label{display:flex;align-items:center;gap:9px;min-height:32px}.column-settings-heading{position:sticky;z-index:2;top:-14px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-14px -14px 2px;padding:12px 14px;border-bottom:1px solid #e2e8f0;border-radius:14px 14px 0 0;background:#fff}.column-settings-heading button{display:inline-flex;align-items:center;gap:5px;min-height:38px;padding:6px 10px;border:1px solid #cbd5e1;border-radius:9px;background:#f8fafc;color:#0f172a;cursor:pointer;font-size:1.2rem;font-weight:800}.column-settings-heading button span{font-size:.86rem}.column-settings-panel input{width:18px;height:18px}.column-settings-panel>button{margin-top:5px;padding:9px;border:1px solid #c7d2fe;border-radius:9px;background:#eef2ff;color:#4338ca;cursor:pointer}.tool-table th{padding:0}.sortable-header{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:52px;padding:12px;border:0;background:transparent;color:inherit;cursor:pointer;font-weight:inherit;text-align:left}.sortable-header:hover{background:#eef2ff;color:#4338ca}.mobile-sort-controls{display:none}.tool-table{min-width:1850px}.tool-table td{max-width:240px;vertical-align:top;white-space:normal;overflow-wrap:anywhere}.table-thumbnail{width:52px;height:52px;border-radius:8px;object-fit:cover}.pagination{justify-content:center;margin-top:18px}.pagination button{cursor:pointer}.pagination button:disabled,.primary-button:disabled{cursor:not-allowed;opacity:.5}.modal-backdrop{position:fixed;z-index:1000;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;background:#0f172aad;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.tool-modal{width:min(1120px,100%);max-height:calc(100vh - 48px);overflow-y:auto;border-radius:24px;background:#f8fafc;box-shadow:0 28px 90px #0f172a59}.modal-header{position:sticky;z-index:2;top:0;padding:22px 26px;border-bottom:1px solid #e2e8f0;background:#fffffff5}.modal-header h2,.registration-card h3,.admin-edit-card h3,.extra-info-section h3{margin:4px 0 0}.modal-header h2{max-width:100%;overflow-wrap:anywhere;word-break:break-word}.modal-tool-identity{flex:1 1 auto;min-width:0}.modal-tool-identity>div{min-width:0}.eyebrow,.step-label{color:#4f46e5;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.modal-close{flex:0 0 42px;width:42px;height:42px;border:0;border-radius:50%;background:#eef2ff;color:#312e81;cursor:pointer;font-size:1.8rem;line-height:1}.tool-holder-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;width:calc(100% - 44px);margin:16px 22px 0;padding:13px 15px;border:1px solid #c7d2fe;border-radius:15px;background:#f5f7ff;color:#0f172a;text-align:left}button.tool-holder-summary{cursor:pointer}.tool-holder-summary small{color:#475569;font-weight:750}.tool-holder-person{display:flex;align-items:center;gap:9px;min-width:0;padding:5px 8px;border-radius:999px;background:#e0e7ff;color:#312e81}.tool-holder-person img,.tool-holder-person i{display:grid;flex:0 0 auto;place-items:center;width:32px;height:32px;border-radius:50%;background:#c7d2fe;font-style:normal;object-fit:cover}.tool-holder-person strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tool-holder-person b{font-size:1.6rem;line-height:1}.tool-holder-summary.in-warehouse{border-color:#86efac;background:#f0fdf4;color:#166534}.tool-save-confirmation{position:fixed;z-index:1200;top:20px;right:20px;max-width:min(420px,calc(100vw - 40px));padding:14px 18px;border:1px solid #86efac;border-radius:14px;background:#166534;box-shadow:0 14px 32px #0f172a3d;color:#fff;font-weight:800}.registration-card,.admin-edit-card,.extra-info-section{margin:22px;padding:24px;border:1px solid #e2e8f0;border-radius:20px;background:#fff}.registration-card{border:2px solid #6366f1;background:linear-gradient(145deg,#eef2ff,#fff 55%);box-shadow:0 16px 40px #4f46e51f}.registration-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:20px;padding:5px;border-radius:14px;background:#e2e8f0}.registration-mode-switch button{min-height:46px;border:0;border-radius:10px;background:transparent;color:#475569;cursor:pointer;font-weight:800}.registration-mode-switch button.active{background:#4f46e5;color:#fff;box-shadow:0 4px 12px #4f46e540}.registration-mode-switch button.warehouse-action.active{background:#15803d;box-shadow:0 4px 12px #15803d40}.warehouse-badge{display:inline-flex;align-items:center;width:fit-content;padding:4px 9px;border:1px solid #86efac;border-radius:999px;background:#dcfce7;color:#166534;font-size:.78rem;font-weight:800;white-space:nowrap}.warehouse-badge:before{width:7px;height:7px;margin-right:6px;border-radius:50%;background:#16a34a;content:""}.registration-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}.registration-fields label{display:grid;gap:8px;color:#334155;font-weight:700}.registration-field{display:grid;align-content:start;gap:8px;color:#334155}.camera-capture-button{display:flex!important;align-items:center;justify-content:center;min-height:54px;padding:12px 16px;border:2px solid #4f46e5;border-radius:13px;background:#4f46e5;color:#fff!important;cursor:pointer}.camera-capture-button input{position:absolute;width:1px!important;height:1px;padding:0!important;overflow:hidden;opacity:0;pointer-events:none}.task-combobox{position:relative}.task-options{position:absolute;z-index:35;top:calc(100% + 6px);right:0;left:0;display:grid;max-height:290px;overflow-y:auto;border:1px solid #a5b4fc;border-radius:13px;background:#fff;box-shadow:0 18px 45px #0f172a33}.task-options button{padding:12px 14px;border:0;border-bottom:1px solid #e2e8f0;background:#fff;color:#1e293b;cursor:pointer;text-align:left}.task-options button:hover,.task-options button[aria-selected=true]{background:#eef2ff}.task-options p{margin:0;padding:14px;color:#64748b}.selected-task{color:#166534;font-weight:700}.registration-fields select,.registration-fields input,.registration-fields textarea{width:100%;padding:12px 14px;border:1px solid #a5b4fc;border-radius:12px;background:#fff;color:#1e293b;font-weight:400}.registration-fields textarea{min-height:100px;resize:vertical}.full-width{grid-column:1 / -1}.registration-submit{width:100%;margin-top:18px;padding:14px 18px;font-weight:800}.camera-input-hidden{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.registration-wizard{position:relative;overflow:visible}.registration-start{display:grid;gap:12px}.checkout-start-button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:62px;font-size:1.05rem}.checkout-start-button span{font-size:1.4rem}.warehouse-return-button{min-height:48px;border:1px solid #86efac;border-radius:12px;background:#f0fdf4;color:#166534;cursor:pointer;font-weight:800}.registration-progress{display:flex;align-items:center;justify-content:center;gap:28px;margin-bottom:22px}.registration-progress span{position:relative;display:grid;place-items:center;width:34px;height:34px;border:2px solid #cbd5e1;border-radius:50%;background:#fff;color:#64748b;font-weight:850}.registration-progress span:not(:first-child):before{position:absolute;top:50%;right:100%;width:30px;height:2px;background:#cbd5e1;content:""}.registration-progress span.active{border-color:#4f46e5;background:#4f46e5;color:#fff}.registration-progress span.done{border-color:#22c55e;background:#dcfce7;color:#166534}.wizard-step{display:grid;gap:12px;max-width:620px;margin:0 auto;text-align:center}.wizard-step h3,.wizard-step p{margin:0}.wizard-step p{color:#475569}.wizard-step-icon{display:grid;place-items:center;width:62px;height:62px;margin:0 auto;border-radius:50%;background:#eef2ff;font-size:1.75rem}.wizard-step-icon.success{background:#dcfce7;color:#166534;font-size:2rem;font-weight:900}.wizard-project-step .task-combobox{text-align:left}.wizard-project-step .task-combobox>input,.wizard-note-step textarea{width:100%;min-height:50px;padding:13px 14px;border:1px solid #a5b4fc;border-radius:12px;background:#fff;color:#1e293b;font-size:16px}.wizard-note-step textarea{min-height:130px;resize:vertical}.wizard-summary{display:grid;gap:8px;padding:13px;border-radius:12px;background:#f8fafc;color:#334155;text-align:left}.wizard-finish-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.wizard-finish-actions button{min-height:52px}.wizard-cancel-button{display:block;margin:18px auto 0;padding:8px 12px;border:0;background:transparent;color:#64748b;cursor:pointer;text-decoration:underline}.note-question-backdrop{position:fixed;z-index:1300;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:18px;background:#0f172a94;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.note-question-dialog{width:min(420px,100%);padding:26px;border-radius:22px;background:#fff;box-shadow:0 28px 70px #0f172a57;text-align:center}.note-question-icon{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 10px;border-radius:50%;background:#eef2ff;font-size:1.55rem}.note-question-dialog h3{margin:0;font-size:1.4rem}.note-question-dialog p{margin:10px 0 20px;color:#475569}.note-question-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.note-question-actions button{min-height:50px}.checkin-note-field{animation:note-field-in .16s ease-out}@keyframes note-field-in{0%{opacity:0;transform:translateY(-5px)}}.qr-scanner-modal{width:min(560px,100%);max-height:92vh;padding:22px;overflow-y:auto;border-radius:22px;background:#fff;box-shadow:0 30px 80px #0f172a59}.qr-video-frame{position:relative;min-height:280px;margin-top:18px;overflow:hidden;border-radius:18px;background:#0f172a}.qr-video-frame video{display:block;width:100%;height:360px;object-fit:cover}.qr-target{position:absolute;top:50%;left:50%;width:min(62%,250px);aspect-ratio:1;border:3px solid #fff;border-radius:18px;box-shadow:0 0 0 999px #0f172a47;transform:translate(-50%,-50%)}.qr-manual-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin-top:16px}.qr-manual-form label{display:grid;gap:6px;color:#475569;font-weight:700}.qr-manual-form input{width:100%;min-height:46px;padding:10px 13px;border:1px solid #cbd5e1;border-radius:11px}.tool-qr-card{justify-content:flex-start;margin-bottom:20px;padding:14px;border:1px solid #dbeafe;border-radius:16px;background:#f8fafc}.tool-qr-card img{width:145px;height:145px}.tool-qr-card a{display:inline-block;margin-top:8px;text-decoration:none}.section-heading{margin-bottom:18px}.read-only-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}.read-only-grid div{min-width:0;padding:13px;border-radius:12px;background:#f8fafc}.read-only-grid dt{color:#64748b;font-size:.78rem;font-weight:700;text-transform:uppercase}.read-only-grid dd{margin:5px 0 0;overflow-wrap:anywhere;color:#1e293b}.primary-tool-image{max-width:420px;width:100%;max-height:320px;border-radius:16px;object-fit:cover}.checkin-history{margin-top:28px}.checkin-card{display:grid;grid-template-columns:150px 1fr;gap:16px;margin-top:12px;padding:14px;border:1px solid #e2e8f0;border-radius:16px}.checkin-card img{width:150px;height:115px;border-radius:12px;object-fit:cover}.checkin-card p{margin:7px 0 0}.module-switch{display:inline-flex;gap:4px;margin:0 0 14px;padding:4px;border:1px solid #dbe3f0;border-radius:13px;background:#fff;box-shadow:0 8px 22px #0f172a12}.module-switch button{min-height:42px;padding:8px 16px;border:0;border-radius:10px;background:transparent;color:#475569;cursor:pointer;font-weight:800}.module-switch button.active{background:#172033;color:#fff}.inspections-page{display:grid;gap:20px}.inspections-heading,.inspection-result-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.inspections-heading h2,.inspections-heading p,.new-inspection-panel h3,.inspection-template-admin h3,.inspection-template-admin p{margin:4px 0 0}.new-inspection-button{flex:0 0 auto;min-height:48px;padding:12px 18px}.new-inspection-panel,.inspection-template-admin>form{display:grid;grid-template-columns:minmax(190px,1fr) minmax(180px,1fr) minmax(180px,1fr) auto;align-items:end;gap:14px}.new-inspection-panel{padding:18px;border:1px solid #c7d2fe;border-radius:16px;background:#f5f7ff}.inspection-create-backdrop,.inspection-detail-backdrop{z-index:120}.inspection-create-modal{position:relative;width:min(620px,100%);max-height:calc(100vh - 36px);grid-template-columns:1fr;overflow-y:auto;padding:28px;border:0;background:#fff;box-shadow:0 28px 80px #0f172a47}.modal-close-button{position:absolute;z-index:5;top:12px;right:12px;display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid #cbd5e1;border-radius:50%;background:#fff;color:#0f172a;cursor:pointer;font-size:1.5rem;font-weight:700}.inspection-loading-card{padding:24px 30px;border-radius:15px;background:#fff;color:#334155;box-shadow:0 24px 70px #0f172a40;font-weight:800}.inspection-report-modal{position:relative;width:min(900px,100%);max-height:calc(100vh - 28px);overflow-y:auto;padding:26px;border-radius:20px;background:#f8fafc;box-shadow:0 30px 90px #0f172a52}.inspection-report-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-right:48px}.inspection-report-header h2,.inspection-report-header p,.inspection-answer-section-heading h3,.inspection-answer-section-heading p{margin:4px 0 0}.inspection-report-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:16px 0}.inspection-report-meta span{padding:10px 12px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;color:#475569}.inspection-report-meta strong{display:block;margin-bottom:2px;color:#0f172a;font-size:.76rem}.inspection-answer-sections{display:grid;gap:15px}.inspection-answer-section{overflow:hidden;border:1px solid #dbe3f0;border-radius:15px;background:#fff}.inspection-answer-section-heading{display:flex;align-items:center;gap:11px;padding:13px 15px;border-bottom:1px solid #e2e8f0;background:#eef2ff}.inspection-answer-section-heading>span,.inspection-answer-question>span{display:grid;flex:0 0 auto;place-items:center;width:30px;height:30px;border-radius:50%;background:#4f46e5;color:#fff;font-size:.75rem;font-weight:850}.inspection-answer-card{display:grid;gap:11px;padding:16px;border-bottom:1px solid #eef2f7}.inspection-answer-card:last-child{border-bottom:0}.inspection-answer-question{display:flex;align-items:center;gap:9px}.inspection-answer-question strong{flex:1}.inspection-answer-question small{color:#b45309;font-weight:800}.inspection-answer-card>input,.inspection-answer-card>textarea,.inspection-answer-card>select,.inspection-answer-comment textarea{width:100%;min-height:46px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f172a;font:inherit}.inspection-answer-card>textarea,.inspection-answer-comment textarea{min-height:84px;resize:vertical}.inspection-answer-card :disabled{opacity:1;background:#f8fafc;color:#475569}.inspection-choice-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.inspection-choice-buttons button{min-height:46px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#334155;cursor:pointer;font-weight:800}.inspection-choice-buttons button.selected.pass{border-color:#16a34a;background:#dcfce7;color:#166534}.inspection-choice-buttons button.selected.fail{border-color:#dc2626;background:#fee2e2;color:#991b1b}.inspection-choice-buttons button.selected.na{border-color:#64748b;background:#e2e8f0;color:#334155}.inspection-answer-comment{display:grid;gap:5px;color:#475569;font-size:.8rem;font-weight:750}.inspection-answer-comment>span{display:flex;align-items:center;justify-content:space-between;gap:12px}.inspection-answer-comment>span button,.inspection-add-comment-button{padding:5px 0;border:0;background:transparent;color:#4f46e5;cursor:pointer;font:inherit;font-weight:800}.inspection-answer-comment>span button{color:#b91c1c;font-size:.74rem}.inspection-media-answer{display:grid;gap:10px}.inspection-media-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px}.inspection-media-gallery a{overflow:hidden;aspect-ratio:4 / 3;border:1px solid #dbe3f0;border-radius:10px;background:#f1f5f9}.inspection-media-gallery img{width:100%;height:100%;object-fit:cover}.inspection-camera-button{display:inline-flex;align-items:center;justify-content:center;width:fit-content;min-height:46px;padding:10px 14px;border:1px solid #4f46e5;border-radius:10px;background:#eef2ff;color:#3730a3;cursor:pointer;font-weight:850}.inspection-camera-button input{position:absolute;width:1px;height:1px;opacity:0}.inspection-signature-preview{display:grid;gap:5px;max-width:520px}.inspection-signature-preview span{color:#475569;font-size:.8rem;font-weight:800}.inspection-signature-preview img{width:100%;max-height:190px;object-fit:contain;border:1px solid #cbd5e1;border-radius:10px;background:#fff}.signature-pad{display:grid;gap:8px}.signature-pad canvas{width:100%;height:170px;border:1px dashed #64748b;border-radius:10px;background:#fff;cursor:crosshair;touch-action:none}.signature-pad>div{display:flex;justify-content:flex-end;gap:8px}.inspection-report-actions{position:sticky;bottom:-26px;display:flex;justify-content:flex-end;gap:9px;margin:18px -26px -26px;padding:14px 26px;border-top:1px solid #e2e8f0;background:#fffffff5;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.inspection-report-link{cursor:pointer}.inspection-table .inspection-report-link:hover,.inspection-table .inspection-report-link:focus-visible{background:#f5f7ff;outline:2px solid #c7d2fe;outline-offset:-2px}.new-inspection-panel label,.inspection-template-admin label{display:grid;gap:6px;color:#334155;font-size:.84rem;font-weight:800}.new-inspection-panel select,.inspection-template-admin input,.inspection-filters input,.inspection-filters select{width:100%;min-height:46px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:11px;background:#fff;color:#0f172a;font-size:.95rem}.inspection-form-warning{grid-column:1 / -1;color:#b45309}.inspection-template-admin{padding:0;border:1px solid #e2e8f0;border-radius:15px;background:#fff}.inspection-template-admin>summary{padding:14px 16px;cursor:pointer;font-weight:850}.inspection-template-admin>summary span{display:inline-grid;place-items:center;min-width:25px;height:25px;margin-left:6px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.78rem}.inspection-template-admin>form{padding:16px;border-top:1px solid #e2e8f0}.inspection-template-chips{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 16px}.inspection-template-chips>span,.inspection-template-chips>button{padding:7px 10px;border:1px solid transparent;border-radius:999px;background:#eef2ff;color:#3730a3;font-weight:750}.inspection-template-chips>button{cursor:pointer}.inspection-template-chips>button.active{border-color:#4f46e5;background:#4f46e5;color:#fff}.inspection-template-builder{display:grid;gap:14px;margin:0 16px 16px;padding:18px;border:1px solid #c7d2fe;border-radius:15px;background:#f8faff}.template-builder-heading,.template-section-heading,.template-publish-bar{display:flex;align-items:center;justify-content:space-between;gap:14px}.template-builder-actions,.template-row-actions{display:flex;align-items:center;gap:7px}.template-builder-actions button,.template-row-actions button,.danger-text-button{padding:6px 9px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;cursor:pointer;font-weight:750}.danger-text-button{border-color:#fecaca!important;color:#b91c1c!important}.template-builder-heading h3,.template-builder-heading p,.template-section-heading h4,.template-section-heading p,.template-question-row strong,.template-question-row small,.template-publish-bar strong,.template-publish-bar small{display:block;margin:0}.template-state{padding:6px 10px;border-radius:999px;background:#fff7ed;color:#9a3412;font-size:.76rem;font-weight:850}.template-state.published{background:#dcfce7;color:#166534}.template-section-card{overflow:hidden;border:1px solid #dbe3f0;border-radius:14px;background:#fff}.template-section-heading{justify-content:flex-start;padding:13px 15px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.template-section-heading>div:nth-child(2){flex:1}.template-section-heading>span,.template-question-row>span:first-child{display:grid;flex:0 0 auto;place-items:center;width:28px;height:28px;border-radius:50%;background:#e0e7ff;color:#3730a3;font-size:.78rem;font-weight:850}.template-question-list{display:grid}.template-question-row{display:grid;grid-template-columns:auto minmax(180px,1fr) minmax(180px,auto);align-items:center;gap:10px;padding:12px 15px;border-bottom:1px solid #eef2f7}.template-question-row small{color:#64748b}.question-option-preview{display:flex;grid-column:2 / -1;flex-wrap:wrap;gap:6px}.question-row-actions{grid-column:2 / -1;justify-content:flex-end}.question-option-preview span{padding:4px 8px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:.75rem}.template-empty-note{margin:0;padding:15px;color:#64748b}.add-question-button{width:100%;padding:11px 15px;border:0;background:#fff;color:#4f46e5;cursor:pointer;text-align:left;font-weight:800}.section-builder-form,.question-builder-form{display:grid;grid-template-columns:minmax(190px,1fr) minmax(190px,1fr) auto;align-items:end;gap:11px;padding:14px;border-top:1px solid #e2e8f0}.section-builder-form{border:1px dashed #a5b4fc;border-radius:13px;background:#fff}.section-builder-form label,.question-builder-form label{display:grid;gap:5px;color:#334155;font-size:.8rem;font-weight:800}.section-builder-form input,.question-builder-form input,.question-builder-form select,.question-builder-form textarea{width:100%;min-height:44px;padding:9px 11px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f172a;font:inherit}.question-options-field{grid-column:1 / -1}.question-options-field textarea{min-height:95px;resize:vertical}.question-required-toggle{display:flex!important;align-items:center}.question-required-toggle input{width:18px;min-height:18px}.question-builder-actions{display:flex;justify-content:flex-end;gap:8px}.template-publish-bar{padding:14px;border-radius:13px;background:#eef2ff}.template-publish-bar small{margin-top:3px;color:#475569}.inspection-status{margin:0;padding:11px 13px;border-radius:11px;background:#fff7ed;color:#9a3412;font-weight:750}.inspection-status.success{background:#f0fdf4;color:#166534}.inspection-filters{display:grid;grid-template-columns:minmax(240px,1.5fr) repeat(3,minmax(150px,1fr));gap:10px}.inspection-result-heading button{padding:7px 10px;border:0;background:transparent;color:#4f46e5;cursor:pointer;font-weight:750}.inspection-result-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.inspection-result-heading .inspection-pdf-button,.inspection-result-heading .inspection-project-pdf-button{min-height:40px;padding:9px 14px;border-radius:10px;background:#172033;color:#fff}.inspection-result-heading .inspection-pdf-button:hover:not(:disabled),.inspection-result-heading .inspection-project-pdf-button:hover:not(:disabled){background:#4f46e5}.inspection-result-heading .inspection-pdf-button:disabled,.inspection-result-heading .inspection-project-pdf-button:disabled{background:#e2e8f0;color:#94a3b8;cursor:not-allowed}.inspection-result-heading .inspection-project-pdf-button:not(:disabled){background:#4f46e5}.inspection-pdf-hint{margin:-12px 0 0;color:#64748b;font-size:.82rem}.inspection-table-wrap{overflow-x:auto;border:1px solid #e2e8f0;border-radius:15px}.inspection-table{width:100%;border-collapse:collapse;background:#fff}.inspection-table th,.inspection-table td{padding:14px 15px;border-bottom:1px solid #e2e8f0;text-align:left}.inspection-table th{background:#f8fafc;color:#334155;font-size:.82rem}.inspection-table td strong,.inspection-table td small{display:block}.inspection-table .inspection-select-column{width:54px;padding-right:4px;text-align:center}.inspection-select-column input,.inspection-mobile-pdf-select input{width:19px;height:19px;margin:0;accent-color:#4f46e5;cursor:pointer}.inspection-select-column input:disabled{cursor:not-allowed;opacity:.3}.inspection-table td small{margin-top:3px;color:#64748b}.inspection-status-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#fff7ed;color:#9a3412;font-size:.76rem;font-weight:850}.inspection-status-badge.completed{background:#dcfce7;color:#166534}.inspection-delete-button{white-space:nowrap}.inspection-empty{padding:42px 20px;border:1px dashed #cbd5e1;border-radius:16px;color:#475569;text-align:center}.inspection-empty>span{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 10px;border-radius:50%;background:#eef2ff;color:#4f46e5;font-size:1.8rem;font-weight:900}.inspection-empty h3,.inspection-empty p{margin:5px 0}.inspection-mobile-list{display:none}.inspection-report-settings{border:1px solid #dbe3f0;border-radius:16px;background:#fff;overflow:hidden}.inspection-report-settings>summary{padding:16px 18px;cursor:pointer;color:#172033;font-weight:850}.report-settings-layout{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(380px,1.15fr);gap:24px;padding:0 18px 20px;border-top:1px solid #e2e8f0}.report-settings-form{display:grid;align-content:start;gap:14px;padding-top:20px}.report-settings-form h3,.report-settings-form p{margin:0 0 4px}.report-settings-form p{color:#64748b;font-size:.86rem}.report-settings-form>label{display:grid;gap:7px;color:#334155;font-size:.85rem;font-weight:800}.report-settings-form input:not([type=color]),.report-settings-form select{min-height:44px;padding:9px 11px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#172033}.report-logo-picker,.report-color-input{display:flex;align-items:center;gap:10px}.report-logo-picker>img,.report-logo-picker>div{width:58px;height:58px;border:1px solid #dbe3f0;border-radius:12px;object-fit:contain;background:#f8fafc}.report-logo-picker>div{display:grid;place-items:center;color:#4f46e5;font-size:1.4rem;font-weight:900}.report-logo-picker label{cursor:pointer}.report-logo-picker input{display:none}.report-color-input input{width:58px;height:42px;padding:3px;border:1px solid #cbd5e1;border-radius:9px;background:#fff}.report-color-input code{color:#475569}.report-preview{padding-top:20px}.report-preview-label{display:block;margin-bottom:8px;color:#64748b;font-size:.75rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.report-preview-page{display:grid;gap:11px;min-height:510px;padding:22px;border:1px solid #dbe3f0;border-radius:8px;background:#fff;box-shadow:0 18px 45px #0f172a1f}.report-preview-page>header{display:flex;align-items:center;gap:11px;min-height:62px;padding:10px 13px;border-bottom:4px solid #4f46e5;border-radius:6px 6px 0 0;background:#172033;color:#fff}.report-preview-page>header img,.report-preview-page>header>span{width:42px;height:42px;border-radius:7px;object-fit:contain;background:#fff}.report-preview-page>header>span{display:grid;place-items:center;color:#4f46e5;font-weight:900}.report-preview-page header div,.report-preview-page>section{display:grid;gap:3px}.report-preview-page header small{opacity:.75;text-transform:uppercase}.report-preview-page header strong{font-size:1.15rem}.report-preview-page>section small{color:#64748b}.report-preview-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.report-preview-summary span{display:grid;gap:2px;padding:9px;border:1px solid #e2e8f0;border-radius:7px;font-size:1.1rem;font-weight:900}.report-preview-summary small{color:#64748b;font-size:.62rem;text-transform:uppercase}.report-preview-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:7px 10px;border:1px solid #e2e8f0;border-left:4px solid #4f46e5;border-radius:5px;font-size:.76rem}.report-preview.comfortable .report-preview-item{align-items:flex-start;flex-direction:column;padding:13px}.report-preview-item span{flex:0 0 auto;color:#166534;font-weight:850}.report-preview-page>footer{align-self:end;display:flex;justify-content:space-between;padding-top:8px;border-top:1px solid #e2e8f0;color:#64748b;font-size:.65rem}.inspection-annotation-section{display:grid;gap:14px;margin:0 22px 18px;padding:18px;border:1px solid #dbe3f0;border-radius:16px;background:#f8fafc}.inspection-annotation-bottom{margin-top:8px}.inspection-annotation-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:0;border:0;background:transparent;color:#0f172a;cursor:pointer;text-align:left}.inspection-annotation-toggle span{display:grid;gap:3px}.inspection-annotation-toggle small{color:#64748b;font-size:.72rem;font-weight:800;text-transform:uppercase}.inspection-annotation-toggle strong{font-size:1rem}.inspection-annotation-toggle b{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:#e0e7ff;color:#4338ca;font-size:1.25rem}.inspection-annotation-heading{display:flex;align-items:end;justify-content:space-between;gap:20px}.inspection-annotation-heading h3,.inspection-annotation-heading p{margin:4px 0 0}.inspection-annotation-heading p{max-width:410px;color:#64748b;font-size:.84rem}.inspection-annotation-editor{display:grid;gap:12px}.inspection-annotation-viewer-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.inspection-annotation-viewer-toolbar>button,.inspection-pdf-pages button{min-width:40px;min-height:40px;padding:7px 10px;border:0;border-radius:8px;background:#172033;color:#fff;cursor:pointer;font-weight:850}.inspection-annotation-viewer-toolbar>button.active{background:#4f46e5;box-shadow:0 0 0 2px #c7d2fe}.annotation-toolbar-divider{align-self:stretch;width:1px;min-height:32px;margin:3px 2px;background:#cbd5e1}.annotation-toolbar-control{display:flex;align-items:center;gap:4px;min-height:40px;padding:4px 6px;border-radius:8px;background:#172033;color:#fff;font-size:.8rem;font-weight:900}.annotation-toolbar-control select{max-width:62px;padding:4px 2px;border:0;border-radius:5px;background:#fff;color:#172033;font-size:.72rem;font-weight:800}.annotation-toolbar-control.color input{width:28px;height:28px;padding:1px;border:0;border-radius:5px;background:transparent;cursor:pointer}.inspection-annotation-viewer-toolbar button:disabled{cursor:not-allowed;opacity:.38}.inspection-annotation-viewer-toolbar>strong{min-width:52px;color:#475569;text-align:center}.inspection-pdf-pages{display:flex;align-items:center;gap:8px;margin-left:auto;color:#334155;font-size:.84rem;font-weight:850}.inspection-annotation-viewport{position:relative;overflow:auto;max-height:68vh;border:1px solid #cbd5e1;border-radius:12px;background:#e5e7eb}.inspection-annotation-preview,.inspection-annotation-canvas.active{display:block;width:100%;min-width:100%;margin:0 auto;background:#fff}.inspection-annotation-preview{height:auto;object-fit:contain}.inspection-annotation-canvas{display:none;height:auto;cursor:crosshair;touch-action:none}.inspection-annotation-canvas.tool-pan{cursor:grab}.inspection-annotation-canvas.tool-pan:active{cursor:grabbing}.inspection-annotation-canvas.tool-text{cursor:text}.inspection-annotation-canvas.tool-eraser{cursor:cell}.inspection-pdf-loading{position:absolute;z-index:2;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#0f172ab8;color:#fff;font-weight:850}.inspection-annotation-editor.fullscreen{position:fixed;z-index:500;top:0;right:0;bottom:0;left:0;grid-template-rows:auto minmax(0,1fr) auto;gap:10px;padding:12px;background:#f8fafc}.inspection-annotation-editor.fullscreen .inspection-annotation-viewport{max-height:none;min-height:0}.inspection-annotation-editor.fullscreen .inspection-annotation-controls{overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px}.inspection-annotation-editor.fullscreen .inspection-annotation-controls>*{flex:0 0 auto;width:auto}.inspection-annotation-empty{display:grid;place-items:center;gap:8px;min-height:180px;border:2px dashed #cbd5e1;border-radius:12px;color:#64748b;text-align:center}.inspection-annotation-empty span{color:#4f46e5;font-size:2.2rem}.inspection-annotation-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.inspection-annotation-upload{cursor:pointer}.inspection-annotation-upload input{display:none}.annotation-mode{min-height:42px;padding:9px 12px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#334155;cursor:pointer;font-weight:800}.annotation-mode.active{border-color:#dc2626;background:#fef2f2;color:#b91c1c}@media (max-width: 700px){.modal-backdrop{align-items:end;padding:0}.tool-modal{max-height:96vh;border-radius:22px 22px 0 0}.registration-card,.admin-edit-card,.extra-info-section{margin:12px;padding:18px}.registration-fields,.read-only-grid{grid-template-columns:1fr}.qr-scanner-modal{max-height:96vh;padding:16px;border-radius:22px 22px 0 0}.qr-video-frame video{height:310px}.qr-manual-form{grid-template-columns:1fr}.tool-qr-card{align-items:flex-start}.full-width{grid-column:auto}.checkin-card{grid-template-columns:1fr}.checkin-card img{width:100%;height:220px}.user-row,.user-profile-editor{align-items:stretch;flex-direction:column}.user-profile-avatar{width:82px;height:82px}.user-profile-editor .user-row-identity{grid-template-columns:1fr}.user-profile-email,.user-profile-actions,.user-profile-editor .user-badges{grid-column:auto}.user-access-controls{display:grid;grid-template-columns:1fr 1fr}.module-permission-controls{grid-column:1 / -1;min-width:0}.user-access-controls select,.access-toggle-button{width:100%}.audit-heading,.audit-entry-main{align-items:stretch;flex-direction:column}.audit-heading .secondary-button{width:100%}.audit-filters{grid-template-columns:1fr}.audit-entry-main time{text-align:left}}.tool-code-with-icon,.modal-tool-identity,.admin-icon-upload{display:flex;align-items:center;gap:12px}.tool-icon-small,.tool-icon-placeholder{flex:0 0 auto;width:38px;height:38px;border-radius:10px}.tool-icon-small{object-fit:cover}.tool-icon-placeholder{display:grid;place-items:center;background:#eef2ff;font-size:1.1rem}.mobile-tool-list{display:none}.tool-hero-image-button,.history-image-button{padding:0;border:0;background:transparent;cursor:zoom-in}.tool-hero-image,.tool-hero-placeholder{width:132px;height:132px;border-radius:20px}.tool-hero-image{display:block;object-fit:cover;box-shadow:0 10px 28px #0f172a29}.tool-hero-placeholder{display:grid;flex:0 0 auto;place-items:center;background:#eef2ff;font-size:3rem}.admin-icon-upload{flex-wrap:wrap;margin:16px 0 22px;padding:14px;border-radius:14px;background:#f8fafc}.admin-icon-upload img,.admin-icon-upload>.tool-icon-placeholder{width:70px;height:70px;border-radius:14px;object-fit:cover}.admin-icon-upload label{margin:0}.admin-icon-upload input{display:none}.admin-icon-upload small{flex-basis:100%;color:#64748b}.history-image-button,.history-image-button img{width:150px;height:115px;border-radius:12px}.history-image-button img{display:block;object-fit:cover}.image-lightbox{position:fixed;z-index:2000;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;background:#020617f0}.image-lightbox>img{max-width:min(1200px,96vw);max-height:90vh;border-radius:16px;object-fit:contain;box-shadow:0 20px 80px #00000073}.lightbox-close{position:fixed;z-index:1;top:18px;right:18px;width:48px;height:48px;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:#ffffff1f;color:#fff;cursor:pointer;font-size:2rem}@media (max-width: 800px){body{background:#f1f5f9}.app-shell{width:100%;padding:10px}.hero{gap:14px;padding:18px;border-radius:18px}.guest-hero{padding:22px 18px 18px}.guest-brand .logo{font-size:2rem}.guest-brand p{margin-top:10px;font-size:.98rem}.guest-access-panel{padding:16px;border-radius:17px}.guest-access-heading>strong{font-size:.95rem}.hero.signed-in-hero{align-items:center;flex-direction:row;min-height:54px;padding:8px 10px;border-radius:13px}.signed-in-hero .logo{font-size:1.05rem}.company-header-image,.company-header-placeholder{width:36px;height:36px;border-radius:10px}.signed-in-header-actions{margin-left:auto}.user-preview-banner{align-items:stretch;flex-direction:column}.user-preview-banner button{width:100%}.logo{font-size:1.55rem}.hero p{margin-bottom:0}.auth-box,.auth-form{width:100%}.company-branding-card{grid-template-columns:76px minmax(0,1fr);gap:14px;padding:14px}.company-branding-card>img,.company-branding-placeholder{width:76px;height:76px;border-radius:15px}.company-branding-card p{font-size:.84rem}.content{gap:14px;margin-top:14px}.section-card{padding:16px;border-radius:16px}.signed-in-hero+.content .section-card{padding:12px;border-radius:14px;box-shadow:none}.tool-list-heading,.reconcile-panel{align-items:stretch;flex-direction:column}.tool-list-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.tool-list-heading p{display:none}.tool-list-heading h2{font-size:1.25rem}.import-preview{padding:15px}.import-preview-heading{align-items:flex-start}.import-preview-actions{display:grid;grid-template-columns:1fr}.import-preview-actions button{width:100%}.qr-scan-button,.reconcile-panel .secondary-button{justify-content:center;width:100%}.tool-list-heading .qr-scan-button{width:48px;padding:9px;overflow:hidden;font-size:0}.tool-list-heading .qr-scan-button span{font-size:1.4rem}.page-tabs{position:sticky;z-index:5;top:0;padding:8px 0;background:#f1f5f9}.page-tabs button{flex:1;min-height:46px}.tool-filter-row{grid-template-columns:1fr;margin-top:14px}.tool-filter-row input,.tool-filter-row select{min-height:48px;font-size:16px}.primary-tool-search{grid-template-columns:minmax(0,1fr) 50px;gap:8px;margin-top:12px}.primary-tool-search .advanced-search-toggle{grid-column:1 / -1}.search-qr-button{width:50px;height:50px}.primary-tool-search input,.advanced-search-panel input{min-height:50px;font-size:16px}.advanced-search-toggle{min-height:42px;padding:8px 12px}.advanced-search-panel{padding:12px}.advanced-filter-grid{grid-template-columns:1fr}.table-toolbar{align-items:flex-end;flex-wrap:wrap;margin-top:10px}.table-toolbar select{min-width:70px;min-height:44px;font-size:16px}.column-settings{display:block}.column-settings-panel{position:fixed;top:50%;right:14px;left:14px;width:auto;max-height:75vh;transform:translateY(-50%)}.mobile-sort-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-bottom:12px}.mobile-sort-controls label{display:grid;gap:5px;color:#475569;font-size:.85rem}.mobile-sort-controls select,.mobile-sort-controls button{min-height:46px;padding:9px 11px;border:1px solid #cbd5e1;border-radius:11px;background:#fff;color:#334155;font-size:16px}.mobile-sort-controls button{align-self:end;font-size:.85rem}.tool-table-wrap{display:none}.mobile-tool-list{display:grid;gap:10px}.mobile-tool-card{position:relative;display:grid;grid-template-columns:86px minmax(0,1fr) 18px;align-items:center;gap:11px;width:100%;min-height:120px;padding:12px;overflow:hidden;border:1px solid #e2e8f0;border-radius:18px;background:#fff;color:#1e293b;text-align:left;box-shadow:0 7px 18px #0f172a12}.mobile-tool-card.in-warehouse{padding-top:42px;border-color:#86efac}.mobile-tool-open{position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;width:100%;padding:0;border:0;background:transparent;cursor:pointer}.mobile-warehouse-banner{position:absolute;z-index:2;top:0;right:0;left:0;padding:8px 12px;background:#15803d;color:#fff;font-size:.82rem;letter-spacing:.06em;text-align:center}.mobile-tool-icon{position:relative;z-index:2;display:grid;place-items:center;width:86px;height:86px;border-radius:15px;object-fit:cover;pointer-events:none}.mobile-tool-summary{position:relative;z-index:2;display:grid;gap:8px;min-width:0;pointer-events:none}.mobile-tool-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-tool-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px}.mobile-tool-facts>span{display:grid;min-width:0}.mobile-tool-facts small{color:#64748b;font-size:.68rem}.mobile-tool-facts b{overflow:hidden;font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}.mobile-employee-link{position:relative;z-index:3;justify-self:start;max-width:100%;margin-left:-4px;padding:2px 4px;pointer-events:auto}.mobile-employee-link img,.mobile-employee-link i{flex:0 0 auto;width:22px;height:22px;border-radius:50%}.mobile-employee-link img{object-fit:cover}.mobile-employee-link i{display:grid;place-items:center;background:#c7d2fe;font-size:.68rem;font-style:normal}.mobile-card-arrow{position:relative;z-index:2;color:#6366f1;font-size:2rem;pointer-events:none}.pagination button{min-width:82px;min-height:46px}.modal-header{position:sticky;z-index:10;top:0;align-items:flex-start;min-height:116px;padding:14px 66px 14px 14px}.modal-tool-identity{align-items:flex-start;max-width:100%}.tool-hero-image,.tool-hero-placeholder{width:88px;height:88px;border-radius:16px}.modal-header h2{padding-right:2px;font-size:1.2rem;line-height:1.25}.modal-header>.modal-close{position:absolute;z-index:11;top:10px;right:10px;display:grid;place-items:center;width:48px;height:48px;border:2px solid #fff;background:#172033;box-shadow:0 5px 14px #0f172a47;color:#fff;font-size:2rem;font-weight:700}.tool-save-confirmation{top:12px;right:12px;left:12px;max-width:none;text-align:center}.tool-holder-summary{align-items:stretch;flex-direction:column;gap:6px;width:calc(100% - 28px);margin:12px 14px 0}button.tool-holder-summary{min-height:48px}.tool-holder-person{width:100%}.tool-holder-person b{margin-left:auto}.wizard-finish-actions{grid-template-columns:1fr}.registration-fields select,.registration-fields input,.registration-fields textarea,.tool-detail-grid input{min-height:48px;font-size:16px}.registration-submit{min-height:54px}.history-image-button,.history-image-button img{width:100%;height:220px}.image-lightbox{padding:8px}.image-lightbox>img{max-width:100%;max-height:88vh;border-radius:10px}.module-switch{display:grid;grid-template-columns:1fr 1fr;width:100%}.module-switch button{min-height:46px;padding:8px 10px}.inspections-page{gap:16px}.inspections-heading{align-items:stretch;flex-direction:column}.new-inspection-button{width:100%}.new-inspection-panel,.inspection-template-admin>form,.inspection-filters{grid-template-columns:1fr}.inspection-create-backdrop,.inspection-detail-backdrop{align-items:flex-end;padding:0}.inspection-create-modal,.inspection-report-modal{width:100%;max-height:94vh;padding:18px 14px;border-radius:20px 20px 0 0}.inspection-report-header{flex-direction:column;padding-right:45px}.inspection-report-meta,.inspection-choice-buttons{grid-template-columns:1fr}.inspection-answer-card{padding:13px}.inspection-answer-question{align-items:flex-start;flex-wrap:wrap}.inspection-answer-question strong{min-width:calc(100% - 44px)}.inspection-report-actions{bottom:-18px;flex-wrap:wrap;margin:14px -14px -18px;padding:12px 14px}.inspection-report-actions button{flex:1 1 120px;min-height:48px}.inspection-camera-button{width:100%;min-height:52px}.signature-pad>div button{flex:1;min-height:48px}.inspection-template-builder{margin:0 10px 10px;padding:12px}.template-builder-heading,.template-publish-bar{align-items:stretch;flex-direction:column}.template-builder-actions,.template-row-actions{flex-wrap:wrap}.template-section-heading{align-items:flex-start;flex-wrap:wrap}.template-question-row,.section-builder-form,.question-builder-form{grid-template-columns:1fr}.template-question-row>span:first-child{grid-row:1}.question-option-preview,.question-options-field,.question-row-actions{grid-column:1}.question-builder-actions,.template-publish-bar button{width:100%}.question-builder-actions button{flex:1}.new-inspection-panel button,.inspection-template-admin>form button{min-height:50px}.inspection-filters input,.inspection-filters select,.new-inspection-panel select,.inspection-template-admin input{min-height:50px;font-size:16px}.inspection-table-wrap{display:none}.inspection-mobile-list{display:grid;gap:10px}.inspection-mobile-list article{display:grid;gap:6px;padding:15px;border:1px solid #dbe3f0;border-radius:15px;background:#fff;box-shadow:0 8px 20px #0f172a0f}.inspection-mobile-list article>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.inspection-result-heading{align-items:flex-start;flex-direction:column}.inspection-result-actions{width:100%}.inspection-result-actions button{flex:1;min-height:46px}.inspection-pdf-hint{margin-top:-10px}.inspection-mobile-list .inspection-mobile-pdf-select{display:flex;align-items:center;justify-content:flex-start;gap:9px;width:fit-content;padding:7px 10px;border-radius:9px;background:#eef2ff;color:#3730a3;cursor:pointer;font-size:.8rem;font-weight:800}.report-settings-layout{grid-template-columns:1fr;padding:0 12px 14px}.report-preview-page{min-height:440px;padding:12px}.inspection-annotation-section{margin:0 12px 14px;padding:14px}.inspection-annotation-heading{align-items:flex-start;flex-direction:column;gap:4px}.inspection-annotation-viewer-toolbar{overflow-x:auto;flex-wrap:nowrap;padding:2px 0 5px}.inspection-annotation-viewer-toolbar>*,.inspection-pdf-pages{flex:0 0 auto}.inspection-pdf-pages{margin-left:0}.inspection-annotation-controls>*{width:100%;justify-content:center}.inspection-mobile-list h3,.inspection-mobile-list p{margin:0}.inspection-mobile-list article>small,.inspection-mobile-list time,.inspection-mobile-list p{color:#64748b;font-size:.8rem}}
