:root{--sans:"Manrope", system-ui, sans-serif;--display:"Plus Jakarta Sans", "Manrope", system-ui, sans-serif;--blue:#2563eb;--slate:#64748b;--ink:#0f172a;font:16px/1.45 var(--sans);color:var(--slate);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*,:before,:after{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:#0b1220}#root{min-height:100svh}a{color:inherit}button,input{font:inherit}.login-shell{background:#0b1220;justify-content:center;min-height:100svh;display:flex;position:relative}.login-shell:has(.app-frame){background:#dbe3ef}.login-page{box-sizing:border-box;isolation:isolate;background-color:#0b1220;background-position:top;background-size:cover;flex-direction:column;width:100%;max-width:430px;min-height:100svh;padding:1.75rem 1.15rem 1.5rem;display:flex;position:relative;overflow:hidden}.login-overlay{z-index:-1;background:linear-gradient(#080f1e8c 0%,#080f1eb8 38%,#f1f5f9f5 58%,#f1f5f9 72%);position:absolute;inset:0}.brand-block{text-align:center;flex-direction:column;align-items:center;padding:.35rem .5rem 1.35rem;animation:.7s both fadeUp;display:flex}.logo-mark{filter:drop-shadow(0 8px 16px #2563eb59);width:52px;height:52px;animation:.8s cubic-bezier(.22,1,.36,1) both logoIn}.brand-name{font-family:var(--display);letter-spacing:-.02em;color:#fff;margin:.7rem 0 0;font-size:1.65rem;font-weight:700;line-height:1.1}.brand-entity{letter-spacing:.18em;color:#93c5fd;margin:.2rem 0 0;font-size:.68rem;font-weight:600}.tagline{max-width:18rem;font-family:var(--display);letter-spacing:-.02em;color:#fff;margin:1rem 0 0;font-size:1.35rem;font-weight:700;line-height:1.25}.tagline span{color:#3b82f6}.tagline-sub{color:#e2e8f0c7;margin:.45rem 0 0;font-size:.82rem}.login-card{background:#fff;border-radius:1.5rem;margin-top:auto;padding:1.5rem 1.25rem 1.15rem;animation:.75s cubic-bezier(.22,1,.36,1) .12s both cardIn;box-shadow:0 20px 40px #0f172a2e,0 2px 8px #0f172a0f}.card-intro h3{font-family:var(--display);color:#0f172a;letter-spacing:-.02em;margin:0;font-size:1.35rem;font-weight:700}.card-intro p{color:#64748b;margin:.35rem 0 0;font-size:.88rem}.login-form{flex-direction:column;gap:1rem;margin-top:1.35rem;display:flex}.form-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:.75rem;margin:0;padding:.75rem .9rem;font-size:.84rem;font-weight:600;line-height:1.35}.form-success{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:.75rem;margin:0;padding:.75rem .9rem;font-size:.84rem;font-weight:600;line-height:1.35}.app-frame{background:#f1f5f9;flex-direction:column;width:100%;max-width:980px;min-height:100svh;display:flex;position:relative;overflow:hidden}.app-content{padding:1.25rem 1.15rem calc(5.5rem + env(safe-area-inset-bottom));flex:1;animation:.35s both fadeUp;overflow-y:auto}.screen{flex-direction:column;gap:1rem;display:flex}.screen-header{justify-content:space-between;align-items:center;gap:1rem;display:flex}.screen-header.stacked{flex-direction:column;align-items:flex-start}.screen-kicker{letter-spacing:.08em;text-transform:uppercase;color:#64748b;margin:0;font-size:.75rem;font-weight:600}.screen-header h2{font-family:var(--display);color:#0f172a;letter-spacing:-.02em;margin:.15rem 0 0;font-size:1.45rem;font-weight:700}.screen-sub{color:#64748b;margin:.25rem 0 0;font-size:.88rem}.avatar{color:#fff;background:linear-gradient(135deg,#1d4ed8,#3b82f6);border-radius:999px;flex-shrink:0;place-items:center;width:2.5rem;height:2.5rem;font-weight:700;display:grid}.avatar.large{width:4.25rem;height:4.25rem;font-size:1.5rem}.stats-grid{grid-template-columns:repeat(3,1fr);gap:.65rem;display:grid}.stat-card{background:#fff;border-radius:1rem;padding:.85rem .7rem;box-shadow:0 1px 3px #0f172a0f}.stat-card span{color:#64748b;font-size:.72rem;font-weight:600;display:block}.stat-card strong{font-family:var(--display);color:#0f172a;margin-top:.35rem;font-size:1.35rem;display:block}.panel{background:#fff;border-radius:1.15rem;padding:1rem;box-shadow:0 1px 3px #0f172a0f}.panel-title-row{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.75rem;display:flex}.panel-title-row h3{color:#0f172a;margin:0;font-size:.95rem;font-weight:700}.text-link{color:#2563eb;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:.8rem;font-weight:600}.violation-list{flex-direction:column;gap:.75rem;margin:0;padding:0;list-style:none;display:flex}.violation-item{border-top:1px solid #f1f5f9;justify-content:space-between;align-items:flex-start;gap:.75rem;padding:.7rem 0;display:flex}.violation-item:first-child{border-top:0;padding-top:0}.violation-item strong,.violation-card strong{color:#0f172a;font-size:.9rem;display:block}.violation-item p,.violation-meta{color:#64748b;margin:.2rem 0 0;font-size:.78rem}.badge{white-space:nowrap;border-radius:999px;align-items:center;padding:.2rem .55rem;font-size:.68rem;font-weight:700;display:inline-flex}.badge-high{color:#b91c1c;background:#fef2f2}.badge-medium{color:#c2410c;background:#fff7ed}.badge-low{color:#1d4ed8;background:#eff6ff}.app-form{flex-direction:column;gap:1rem;display:flex}.app-form select,.app-form input,.app-form textarea{box-sizing:border-box;width:100%;font:inherit;color:#0f172a;resize:vertical;background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;outline:none;padding:.85rem .95rem;font-size:.92rem}.app-form select:focus,.app-form input:focus,.app-form textarea:focus{border-color:#60a5fa;box-shadow:0 0 0 3px #3b82f62e}.segmented{background:#e2e8f0;border-radius:.75rem;grid-template-columns:repeat(3,1fr);gap:.4rem;padding:.3rem;display:grid}.segmented button{font:inherit;color:#64748b;cursor:pointer;background:0 0;border:0;border-radius:.55rem;padding:.55rem .4rem;font-size:.82rem;font-weight:600}.segmented button.active{color:#1d4ed8;background:#fff;box-shadow:0 1px 2px #0f172a14}.history-list{gap:.85rem}.violation-card{background:#fff;border-radius:1rem;padding:1rem;box-shadow:0 1px 3px #0f172a0f}.violation-card-top{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.violation-notes{color:#475569;margin:.55rem 0 0;font-size:.84rem;line-height:1.4}.status-pill{color:#1d4ed8;background:#eff6ff;border-radius:.45rem;margin-top:.7rem;padding:.2rem .55rem;font-size:.72rem;font-weight:700;display:inline-flex}.profile-card{text-align:center;background:#fff;border-radius:1.15rem;flex-direction:column;align-items:center;gap:.25rem;padding:1.5rem 1rem;display:flex;box-shadow:0 1px 3px #0f172a0f}.profile-card h3{font-family:var(--display);color:#0f172a;margin:.65rem 0 0;font-size:1.2rem}.profile-card p{color:#64748b;margin:0;font-size:.88rem}.profile-role{font-weight:600;color:#2563eb!important;margin-top:.25rem!important}.profile-details{flex-direction:column;gap:.85rem;display:flex}.detail-row{justify-content:space-between;align-items:center;gap:1rem;font-size:.88rem;display:flex}.detail-row span{color:#64748b}.detail-row strong{color:#0f172a;text-align:right;font-weight:600}.logout-btn{background:linear-gradient(90deg,#b91c1c 0%,#ef4444 100%);box-shadow:0 10px 22px #b91c1c47}.bottom-nav{z-index:100;width:min(100%,980px);padding:.45rem .25rem calc(.45rem + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e2e8f0;grid-template-columns:repeat(5,1fr);gap:.1rem;display:grid;position:fixed;bottom:0;left:50%;right:auto;transform:translate(-50%);box-shadow:0 -6px 20px #0f172a14}.nav-icon-wrap{place-items:center;display:grid;position:relative}.nav-badge{color:#fff;background:#ef4444;border-radius:999px;place-items:center;min-width:.9rem;height:.9rem;padding:0 .15rem;font-size:.55rem;font-weight:800;display:grid;position:absolute;top:-.3rem;right:-.45rem}.nav-item{color:#94a3b8;min-width:0;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:.75rem;flex-direction:column;justify-content:center;align-items:center;gap:.2rem;padding:.35rem .2rem;transition:color .15s,background .15s;display:flex}.nav-item span{text-align:center;white-space:normal;font-size:.62rem;font-weight:600;line-height:1.15}.nav-item.active{color:#1d4ed8;background:#eff6ff}.nav-item:hover{color:#475569}.nav-item.active:hover{color:#1d4ed8}@media (width>=480px){.app-frame{border-radius:1.75rem;min-height:calc(100svh - 2.5rem);margin:1.25rem 0;box-shadow:0 24px 60px #00000059}.app-frame.report-mode .report-header{border-radius:1.75rem 1.75rem 0 0}}.app-frame.report-mode{background:#fff}.report-page{background:#fff;flex-direction:column;min-height:100%;display:flex}.report-header{color:#fff;background:#0b2a5b;align-items:flex-start;gap:.75rem;padding:1rem 1rem 1.1rem;display:flex}.report-back{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:.55rem;flex-shrink:0;place-items:center;width:2.25rem;height:2.25rem;margin-top:.1rem;display:grid}.report-back:hover{background:#ffffff1a}.report-header h2{font-family:var(--display);letter-spacing:-.01em;margin:0;font-size:1.2rem;font-weight:700}.report-header p{color:#e2e8f0d1;margin:.2rem 0 0;font-size:.78rem}.report-form{flex-direction:column;gap:1rem;padding:1.1rem 1.05rem 1.5rem;display:flex;overflow-y:auto}.report-field{flex-direction:column;gap:.4rem;min-width:0;display:flex}.report-label{color:#1e293b;font-size:.84rem;font-weight:600}.report-label .req{color:#ef4444;margin-left:.15rem}.report-input,.report-textarea{background:#fff;border:1px solid #e2e8f0;border-radius:.7rem;align-items:center;transition:border-color .15s,box-shadow .15s;display:flex;position:relative}.report-textarea{align-items:flex-start;min-height:6.5rem}.report-icon{color:#94a3b8;pointer-events:none;place-items:center;display:grid;position:absolute;top:50%;left:.8rem;transform:translateY(-50%)}.report-textarea .report-icon{top:.95rem;transform:none}.report-input input,.report-input select,.report-textarea textarea{width:100%;font:inherit;color:#0f172a;appearance:none;background:0 0;border:0;border-radius:.7rem;outline:none;padding:.85rem .85rem .85rem 2.35rem;font-size:.9rem}.report-input select{padding-right:2.2rem}.report-textarea textarea{resize:vertical;min-height:6.2rem;padding-bottom:1.6rem}.report-input input::placeholder,.report-textarea textarea::placeholder{color:#94a3b8}.report-input:focus-within,.report-textarea:focus-within{border-color:#6366f1;box-shadow:0 0 0 3px #6366f126}.report-input.readonly{background:#f8fafc}.report-input.readonly input{color:#475569;letter-spacing:.01em;font-weight:600}.employee-search{position:relative}.employee-dropdown{z-index:20;background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;max-height:220px;margin:0;padding:.35rem;list-style:none;position:absolute;top:calc(100% + .35rem);left:0;right:0;overflow-y:auto;box-shadow:0 12px 28px #0f172a1f}.employee-dropdown li button{width:100%;font:inherit;text-align:left;cursor:pointer;color:#0f172a;background:0 0;border:0;border-radius:.55rem;justify-content:space-between;align-items:center;gap:.75rem;padding:.65rem .7rem;display:flex}.employee-dropdown li button:hover,.employee-dropdown li button.active{background:#eef2ff}.employee-dropdown li button strong{font-size:.86rem;font-weight:600}.employee-dropdown li button span{color:#6366f1;white-space:nowrap;font-size:.75rem;font-weight:600}.employee-empty{color:#94a3b8;text-align:center;padding:.8rem .7rem;font-size:.82rem}.report-input:has(.gps-btn) input{padding-right:2.4rem}.report-input select:invalid,.report-input select.placeholder{color:#94a3b8}.select-wrap .chevron{color:#94a3b8;pointer-events:none;place-items:center;display:grid;position:absolute;right:.7rem}.char-count{color:#94a3b8;font-variant-numeric:tabular-nums;font-size:.7rem;position:absolute;bottom:.45rem;right:.7rem}.report-row{grid-template-columns:1fr 1fr;gap:.7rem;display:grid}.snap-upload{color:#64748b;cursor:pointer;width:100%;min-height:7.5rem;font:inherit;background:#f8fafc;border:1.5px dashed #cbd5e1;border-radius:.85rem;flex-direction:column;justify-content:center;align-items:center;gap:.2rem;padding:1rem;display:flex;position:relative}.snap-upload:hover{background:#f5f3ff;border-color:#818cf8}.snap-icon{color:#4f46e5;margin-bottom:.25rem}.snap-upload strong{color:#334155;font-size:.9rem;font-weight:700}.snap-upload span{color:#94a3b8;font-size:.78rem}.snap-count{color:#94a3b8;font-variant-numeric:tabular-nums;font-size:.72rem;font-style:normal;position:absolute;bottom:.5rem;right:.75rem}.evidence-box{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;align-items:center;gap:.65rem;padding:.7rem .7rem .7rem .85rem;display:flex}.evidence-icon{color:#94a3b8;flex-shrink:0;place-items:center;display:grid}.evidence-copy{flex-direction:column;flex:1;gap:.1rem;min-width:0;display:flex}.evidence-copy strong{color:#334155;font-size:.78rem;font-weight:600;line-height:1.3}.evidence-copy span{color:#94a3b8;font-size:.7rem}.evidence-upload-btn{color:#4f46e5;font:inherit;cursor:pointer;background:#fff;border:1.5px solid #6366f1;border-radius:.55rem;flex-shrink:0;align-items:center;gap:.3rem;padding:.5rem .7rem;font-size:.78rem;font-weight:700;display:inline-flex}.evidence-upload-btn:hover{background:#eef2ff}.gps-btn{color:#6366f1;cursor:pointer;background:0 0;border:0;border-radius:.45rem;place-items:center;width:2rem;height:2rem;display:grid;position:absolute;right:.35rem}.gps-btn:hover{background:#eef2ff}.file-chips{flex-wrap:wrap;gap:.4rem;margin:.45rem 0 0;padding:0;list-style:none;display:flex}.file-chips li{color:#3730a3;background:#eef2ff;border-radius:999px;align-items:center;gap:.35rem;max-width:100%;padding:.3rem .45rem .3rem .55rem;font-size:.72rem;font-weight:600;display:inline-flex}.file-chips li button{color:#6366f1;cursor:pointer;background:0 0;border:0;padding:0 .15rem;font-size:1rem;line-height:1}.report-submit{color:#fff;width:100%;font:inherit;letter-spacing:.01em;cursor:pointer;background:#4f46e5;border:0;border-radius:.85rem;justify-content:center;align-items:center;gap:.55rem;margin-top:.35rem;padding:.95rem 1rem;font-size:.95rem;font-weight:700;display:flex;box-shadow:0 10px 22px #4f46e547}.report-submit:hover{filter:brightness(1.05)}.report-submit:active{transform:translateY(1px)}@media (width<=360px){.report-row{grid-template-columns:1fr}.evidence-box{flex-wrap:wrap}.evidence-upload-btn{justify-content:center;width:100%}}.field{flex-direction:column;gap:.45rem;display:flex}.field-label{color:#334155;font-size:.84rem;font-weight:600}.field-label-row{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.forgot-link{color:#2563eb;font-size:.8rem;font-weight:600;text-decoration:none}.forgot-link:hover{text-decoration:underline}.input-wrap{align-items:center;display:flex;position:relative}.input-icon{color:#3b82f6;pointer-events:none;place-items:center;display:grid;position:absolute;left:.9rem}.input-wrap input{box-sizing:border-box;width:100%;font:inherit;color:#0f172a;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.75rem;outline:none;padding:.9rem 2.75rem .9rem 2.7rem;font-size:.92rem;transition:border-color .18s,box-shadow .18s,background .18s}.input-wrap input::placeholder{color:#94a3b8}.input-wrap input:focus{background:#fff;border-color:#60a5fa;box-shadow:0 0 0 3px #3b82f62e}.toggle-password{color:#94a3b8;cursor:pointer;background:0 0;border:0;border-radius:.5rem;place-items:center;width:2.1rem;height:2.1rem;display:grid;position:absolute;right:.55rem}.toggle-password:hover{color:#64748b;background:#94a3b81f}.remember{color:#64748b;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:.55rem;width:fit-content;font-size:.88rem;display:inline-flex}.remember input{opacity:0;pointer-events:none;position:absolute}.checkbox-ui{box-sizing:border-box;background:#fff;border:1.5px solid #cbd5e1;border-radius:.3rem;flex-shrink:0;width:1.15rem;height:1.15rem;transition:background .15s,border-color .15s;position:relative}.checkbox-ui:after{content:"";border:2px solid #fff;border-width:0 2px 2px 0;width:.28rem;height:.55rem;transition:transform .15s;position:absolute;top:.1rem;left:.3rem;transform:rotate(45deg)scale(0)}.remember input:checked+.checkbox-ui{background:#2563eb;border-color:#2563eb}.remember input:checked+.checkbox-ui:after{transform:rotate(45deg)scale(1)}.remember input:focus-visible+.checkbox-ui{box-shadow:0 0 0 3px #3b82f640}.signin-btn{color:#fff;width:100%;font:inherit;letter-spacing:.01em;cursor:pointer;background:linear-gradient(90deg,#1d4ed8 0%,#3b82f6 100%);border:0;border-radius:.85rem;justify-content:center;align-items:center;gap:.55rem;margin-top:.15rem;padding:.95rem 1rem;font-size:1rem;font-weight:700;transition:transform .18s,box-shadow .18s,filter .18s;display:flex;box-shadow:0 10px 22px #2563eb59}.signin-btn:hover{filter:brightness(1.05);box-shadow:0 12px 26px #2563eb6b}.signin-btn:active{transform:translateY(1px)}.signin-btn:focus-visible{outline-offset:2px;outline:2px solid #93c5fd}.secure-row{align-items:center;gap:.7rem;margin-top:1.15rem;display:flex}.secure-line{background:#e2e8f0;flex:1;height:1px}.secure-label{color:#94a3b8;white-space:nowrap;align-items:center;gap:.35rem;font-size:.72rem;font-weight:500;display:inline-flex}.support-row{justify-content:center;align-items:center;gap:.55rem;margin-top:1.15rem;animation:.7s .25s both fadeUp;display:flex}.support-icon{color:#2563eb;background:#dbeafe;border-radius:999px;place-items:center;width:1.85rem;height:1.85rem;display:grid}.support-row p{color:#64748b;margin:0;font-size:.84rem}.support-row a{color:#2563eb;font-weight:600;text-decoration:none}.support-row a:hover{text-decoration:underline}@keyframes fadeUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes logoIn{0%{opacity:0;transform:scale(.82)translateY(8px)}to{opacity:1;transform:scale(1)translateY(0)}}@keyframes cardIn{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}@media (width>=480px){.login-page{border-radius:1.75rem;min-height:calc(100svh - 2.5rem);margin:1.25rem 0;box-shadow:0 24px 60px #00000059}}.app-content.history-mode{padding:0 0 calc(5.75rem + env(safe-area-inset-bottom));background:#f1f5f9}.app-content.dashboard-mode{padding:0 0 calc(5.75rem + env(safe-area-inset-bottom));background:#eef2f7}.app-content.profile-mode{padding:0 0 calc(5.75rem + env(safe-area-inset-bottom));background:#f3f5f9}.app-content.details-mode,.app-content.report-tab-mode{padding:0 0 calc(5.75rem + env(safe-area-inset-bottom));background:#f8fafc}.app-content.report-tab-mode .report-page{border-inline:1px solid #e2e8f0;max-width:430px;min-height:100%;margin:0 auto}.dash-page{flex-direction:column;min-height:100%;display:flex}.dash-header{color:#fff;background:#0b2a5b;grid-template-columns:auto 1fr auto;align-items:center;gap:.55rem;padding:.9rem .9rem 1rem;display:grid}.dash-greeting h2{font-family:var(--display);margin:0;font-size:1.05rem;font-weight:700;line-height:1.25}.dash-greeting h2 span{color:#93c5fd}.dash-greeting p{color:#e2e8f0c7;margin:.2rem 0 0;font-size:.75rem}.dash-header-actions{align-items:center;gap:.45rem;display:flex}.bell-btn{color:#fff;cursor:pointer;background:#ffffff14;border:0;border-radius:.55rem;place-items:center;width:2.3rem;height:2.3rem;display:grid;position:relative}.bell-badge{color:#fff;background:#ef4444;border-radius:999px;place-items:center;min-width:.95rem;height:.95rem;padding:0 .2rem;font-size:.58rem;font-weight:800;display:grid;position:absolute;top:.2rem;right:.2rem}.dash-avatar{color:#fff;cursor:pointer;background:linear-gradient(135deg,#38bdf8,#2563eb);border:2px solid #ffffff59;border-radius:999px;width:2.35rem;height:2.35rem;font-size:.9rem;font-weight:800}.dash-body{flex-direction:column;gap:.85rem;padding:.9rem .9rem 1.2rem;display:flex}.dash-stats-scroll{grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;display:grid}.dash-recent-list button{border:0;text-align:left;width:100%;font:inherit;cursor:pointer;color:#94a3b8;background:0 0;border-top:1px solid #f1f5f9;grid-template-columns:auto 1fr auto;align-items:center;gap:.55rem;padding:.55rem .15rem;display:grid}.dash-recent-copy strong{color:#0f172a;font-size:.82rem;display:block}.dash-recent-copy p{color:#64748b;margin:.15rem 0 0;font-size:.7rem}.dash-recent-meta{align-items:center;gap:.35rem;display:flex}.dash-recent-meta em{color:#94a3b8;white-space:nowrap;font-size:.68rem;font-style:normal;font-weight:600}.notify-list{flex-direction:column;gap:.65rem;margin:0;padding:0;list-style:none;display:flex}.notify-item{background:#fff;border:1px solid #e2e8f0;border-radius:.9rem;flex-direction:column;gap:.25rem;padding:.9rem 1rem;display:flex}.notify-item strong{color:#0f172a;font-size:.9rem}.notify-item span{color:#94a3b8;font-size:.75rem}.notify-item.tone-red{border-left:3px solid #ef4444}.notify-item.tone-blue{border-left:3px solid #3b82f6}.notify-item.tone-green{border-left:3px solid #22c55e}.notify-item.tone-amber{border-left:3px solid #f59e0b}@media (width<=900px){.app-frame{max-width:100%}.dash-stats-scroll{scrollbar-width:none;grid-template-columns:none;grid-auto-columns:minmax(9.4rem,70%);grid-auto-flow:column;overflow-x:auto}.dash-stats-scroll::-webkit-scrollbar{display:none}.dash-grid-2{grid-template-columns:1fr}.forum-grid{grid-template-columns:1fr 1fr}}@media (width<=420px){.quick-actions{grid-template-columns:repeat(5,minmax(3.6rem,1fr));gap:.25rem}.quick-action em,.nav-item span{font-size:.55rem}}.dash-stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:1rem;flex-direction:column;gap:.2rem;padding:.9rem;display:flex;box-shadow:0 1px 3px #0f172a0d}.dash-stat-icon{border-radius:.55rem;place-items:center;width:1.9rem;height:1.9rem;margin-bottom:.35rem;display:grid}.dash-stat-card strong{font-family:var(--display);color:#0f172a;font-size:1.55rem;line-height:1}.dash-stat-card>span:last-of-type{color:#64748b;font-size:.74rem;font-weight:600}.dash-stat-card button{font:inherit;cursor:pointer;text-align:left;background:0 0;border:0;margin-top:.35rem;padding:0;font-size:.74rem;font-weight:700}.dash-stat-card.tone-blue .dash-stat-icon{color:#2563eb;background:#dbeafe}.dash-stat-card.tone-blue button{color:#2563eb}.dash-stat-card.tone-red .dash-stat-icon{color:#dc2626;background:#fee2e2}.dash-stat-card.tone-red button{color:#dc2626}.dash-stat-card.tone-amber .dash-stat-icon{color:#ea580c;background:#ffedd5}.dash-stat-card.tone-amber button{color:#ea580c}.dash-stat-card.tone-green .dash-stat-icon{color:#16a34a;background:#dcfce7}.dash-stat-card.tone-green button{color:#16a34a}.dash-grid-2{grid-template-columns:1fr;gap:.85rem;display:grid}.dash-card{background:#fff;border:1px solid #e2e8f0;border-radius:1rem;padding:.9rem;box-shadow:0 1px 3px #0f172a0d}.dash-card-head{justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.75rem;display:flex}.dash-card-head h3,.quick-actions-card h3{color:#0f172a;margin:0;font-size:.9rem;font-weight:700}.dash-card-head select{font:inherit;color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:.25rem .55rem;font-size:.7rem;font-weight:600}.severity-wrap{align-items:center;gap:.75rem;display:flex}.donut-chart{flex-shrink:0;width:96px;height:96px}.donut-total{fill:#0f172a;font-size:14px;font-weight:800}.donut-label{fill:#94a3b8;font-size:8px;font-weight:600}.severity-legend{flex-direction:column;flex:1;gap:.4rem;margin:0;padding:0;list-style:none;display:flex}.severity-legend li{align-items:center;gap:.45rem;display:flex}.legend-dot{border-radius:999px;flex-shrink:0;width:.55rem;height:.55rem}.severity-legend strong{color:#334155;font-size:.74rem;display:block}.severity-legend em{color:#94a3b8;font-size:.68rem;font-style:normal;font-weight:600;display:block}.trend-chart{width:100%;height:auto}.forum-grid{grid-template-columns:1fr 1fr;gap:.55rem;display:grid}.forum-tile{background:#f8fafc;border:1px solid #eef2f7;border-radius:.8rem;flex-direction:column;align-items:flex-start;gap:.45rem;min-width:0;padding:.75rem;display:flex}.forum-tile>div{min-width:0}.forum-tile em{margin-top:auto}.forum-icon{border-radius:.5rem;place-items:center;width:1.7rem;height:1.7rem;display:grid}.forum-tile strong{color:#0f172a;font-size:.95rem}.forum-tile p{color:#64748b;margin:0;font-size:.68rem;font-weight:600}.forum-tile em{color:#94a3b8;font-size:.68rem;font-style:normal;font-weight:700}.forum-tile.tone-purple .forum-icon{color:#7c3aed;background:#ede9fe}.forum-tile.tone-green .forum-icon{color:#16a34a;background:#dcfce7}.forum-tile.tone-amber .forum-icon{color:#ea580c;background:#ffedd5}.forum-tile.tone-blue .forum-icon{color:#2563eb;background:#dbeafe}.location-bars{flex-direction:column;gap:.65rem;margin:0;padding:0;list-style:none;display:flex}.location-meta{justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:.3rem;font-size:.78rem;display:flex}.location-meta span{color:#475569;align-items:center;gap:.3rem;min-width:0;font-weight:600;display:inline-flex}.location-meta strong{color:#0f172a}.bar-track{background:#e2e8f0;border-radius:999px;height:.45rem;overflow:hidden}.bar-track span{background:linear-gradient(90deg,#2563eb,#60a5fa);border-radius:999px;height:100%;display:block}.dash-recent-list{flex-direction:column;gap:.35rem;margin:0;padding:0;list-style:none;display:flex}.dash-recent-list button{text-align:left;width:100%;font:inherit;cursor:pointer;color:#94a3b8;background:0 0;border:0;border-top:1px solid #f1f5f9;grid-template-columns:auto 1fr auto;align-items:center;gap:.55rem;padding:.55rem .15rem;display:grid}.dash-recent-list li:first-child button{border-top:0;padding-top:.15rem}.dash-recent-list strong{color:#0f172a;font-size:.82rem;display:block}.dash-recent-list p{color:#64748b;margin:.15rem 0 0;font-size:.7rem}.quick-actions-card h3{margin-bottom:.75rem}.quick-actions{grid-template-columns:repeat(5,1fr);gap:.35rem;display:grid}.quick-action{font:inherit;cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:center;gap:.4rem;padding:.2rem;display:flex}.quick-action span{border-radius:.85rem;place-items:center;width:2.6rem;height:2.6rem;display:grid}.quick-action em{color:#475569;text-align:center;font-size:.62rem;font-style:normal;font-weight:700;line-height:1.2}.quick-action.tone-blue span{color:#2563eb;background:#dbeafe}.quick-action.tone-green span{color:#16a34a;background:#dcfce7}.quick-action.tone-purple span{color:#7c3aed;background:#ede9fe}.quick-action.tone-amber span{color:#ea580c;background:#ffedd5}.quick-action.tone-cyan span{color:#0891b2;background:#cffafe}@media (width>=420px){.dash-grid-2{grid-template-columns:1fr 1fr}.dash-stats-scroll{grid-auto-columns:minmax(0,1fr);grid-auto-flow:unset;grid-template-columns:repeat(4,1fr);overflow:visible}}.history-page{flex-direction:column;min-height:100%;display:flex}.history-header{color:#fff;background:#0b2a5b;grid-template-columns:2.5rem 1fr 2.5rem;align-items:center;gap:.5rem;padding:.85rem;display:grid}.history-header h2{text-align:center;font-family:var(--display);margin:0;font-size:1.05rem;font-weight:700}.history-icon-btn{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:.55rem;place-items:center;width:2.35rem;height:2.35rem;display:grid}.history-icon-btn.active,.history-icon-btn:hover{background:#ffffff1f}.history-body{flex-direction:column;gap:.85rem;padding:.95rem 1rem 1.25rem;display:flex}.history-search{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;align-items:center;display:flex;position:relative;box-shadow:0 1px 2px #0f172a0a}.history-search .report-icon{color:#94a3b8;left:.85rem}.history-search input{width:100%;font:inherit;color:#0f172a;background:0 0;border:0;border-radius:.75rem;outline:none;padding:.85rem .85rem .85rem 2.45rem;font-size:.88rem}.history-filters{flex-direction:column;gap:.55rem;display:flex}.filters-title-row{color:#334155;justify-content:space-between;align-items:center;font-size:.82rem;font-weight:700;display:flex}.clear-filters{color:#4f46e5;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:.8rem;font-weight:700}.filter-chips{scrollbar-width:none;gap:.45rem;padding-bottom:.15rem;display:flex;overflow-x:auto}.filter-chips::-webkit-scrollbar{display:none}.filter-chip{color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:999px;flex-shrink:0;align-items:center;gap:.35rem;padding:.45rem .7rem;font-size:.75rem;font-weight:600;display:inline-flex}.filter-chip.select{padding:0}.filter-chip.select select{font:inherit;color:#475569;appearance:none;cursor:pointer;background:0 0;border:0;outline:none;padding:.45rem .7rem;font-size:.75rem;font-weight:600}.records-count{color:#64748b;margin:0;font-size:.78rem;font-weight:600}.history-cards{flex-direction:column;gap:.7rem;margin:0;padding:0;list-style:none;display:flex}.history-card{text-align:left;width:100%;font:inherit;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:1rem;padding:.9rem .85rem;transition:border-color .15s,box-shadow .15s;box-shadow:0 1px 3px #0f172a0d}.history-card:hover{border-color:#c7d2fe;box-shadow:0 8px 20px #4f46e514}.history-card-top{align-items:center;gap:.45rem;margin-bottom:.65rem;display:flex}.history-serial{color:#64748b;white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:.78rem;font-weight:700;overflow:hidden}.status-badge{white-space:nowrap;border-radius:999px;align-items:center;padding:.18rem .5rem;font-size:.68rem;font-weight:700;display:inline-flex}.status-open{color:#a16207;background:#fef9c3}.status-closed{color:#15803d;background:#dcfce7}.status-review{color:#4338ca;background:#e0e7ff}.history-card-main{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.history-card-main strong{color:#0f172a;margin-bottom:.35rem;font-size:.98rem;font-weight:700;display:block}.history-card-main p{color:#64748b;align-items:center;gap:.35rem;margin:.2rem 0 0;font-size:.78rem;display:flex}.history-card-main p svg{color:#94a3b8;flex-shrink:0}.card-chevron{color:#94a3b8;place-items:center;display:grid}.history-empty{text-align:center;color:#94a3b8;padding:2rem 1rem;font-size:.88rem}.details-page{background:#f8fafc;flex-direction:column;min-height:100%;display:flex}.details-header{color:#fff;background:#0b2a5b;align-items:center;gap:.55rem;padding:.85rem;display:flex}.details-header h2{font-family:var(--display);margin:0;font-size:1.1rem;font-weight:700}.details-body{flex-direction:column;flex:1;gap:.85rem;padding:1rem;display:flex}.details-summary{background:#fff;border:1px solid #e2e8f0;border-radius:1rem;padding:1rem}.details-badges{gap:.4rem;margin-bottom:.55rem;display:flex}.details-summary h3{font-family:var(--display);color:#0f172a;letter-spacing:-.02em;margin:0;font-size:1.25rem;font-weight:800}.details-summary>p,.details-meta-line{color:#64748b;align-items:center;gap:.4rem;margin:.45rem 0 0;font-size:.84rem;display:flex}.details-block{background:#fff;border:1px solid #e2e8f0;border-radius:1rem;padding:.95rem 1rem}.details-block h4{color:#0f172a;border-left:3px solid #0b2a5b;margin:0 0 .7rem;padding-left:.65rem;font-size:.9rem;font-weight:700}.details-grid{flex-direction:column;gap:.7rem;margin:0;display:flex}.details-grid div{gap:.15rem;display:grid}.details-grid dt{color:#94a3b8;text-transform:uppercase;letter-spacing:.04em;font-size:.72rem;font-weight:600}.details-grid dd{color:#0f172a;margin:0;font-size:.9rem;font-weight:600}.details-grid dd.with-icon,.severity-dot-row{align-items:center;gap:.35rem;display:flex}.severity-dot{background:currentColor;border-radius:999px;width:.55rem;height:.55rem}.severity-dot.badge-high{color:#b91c1c;background:#b91c1c}.severity-dot.badge-medium{color:#c2410c;background:#c2410c}.severity-dot.badge-low{color:#1d4ed8;background:#1d4ed8}.details-text{color:#334155;margin:0;font-size:.88rem;line-height:1.5}.details-text.muted{color:#94a3b8}.details-quote{color:#475569;background:#f8fafc;border-left:3px solid #c7d2fe;border-radius:.75rem;margin:0;padding:.75rem .85rem;font-size:.88rem;font-style:italic;line-height:1.5}.snap-thumbs{gap:.55rem;display:flex}.snap-thumb{aspect-ratio:1;color:#fff;border-radius:.7rem;flex:1;place-items:center;max-width:5.5rem;font-size:.95rem;font-weight:800;display:grid}.snap-thumb.tone-1{background:linear-gradient(145deg,#64748b,#334155)}.snap-thumb.tone-2{background:linear-gradient(145deg,#94a3b8,#475569)}.snap-thumb.tone-3{background:linear-gradient(145deg,#78859a,#1e293b)}.snap-thumb.more{background:linear-gradient(145deg,#0f172ab8,#0f172ae0)}.evidence-list{flex-direction:column;gap:.55rem;margin:0;padding:0;list-style:none;display:flex}.evidence-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.75rem;align-items:center;gap:.7rem;padding:.65rem .7rem;display:flex}.file-type{color:#fff;background:#64748b;border-radius:.5rem;place-items:center;min-width:2.4rem;height:2.4rem;font-size:.62rem;font-weight:800;display:grid}.file-type.pdf{background:#dc2626}.file-type.doc{background:#2563eb}.file-type.image{background:#0891b2}.evidence-item strong{color:#0f172a;font-size:.82rem;display:block}.evidence-item span{color:#94a3b8;font-size:.72rem}.details-footer{background:#f8fafc;padding:.35rem 1rem 1rem}@media (width>=480px){.app-frame.report-mode .history-header,.app-frame.report-mode .details-header{border-radius:1.75rem 1.75rem 0 0}}.profile-page{background:#f3f5f9;flex-direction:column;width:100%;max-width:480px;min-height:100%;margin:0 auto;display:flex}.profile-hero{color:#fff;isolation:isolate;background-position:50%;background-size:cover;padding:1.1rem 1.1rem 3.5rem;position:relative}.profile-hero-overlay{z-index:-1;background:linear-gradient(#0b2a5beb,#0b2a5be0);position:absolute;inset:0}.profile-hero-top{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.profile-hero-top h2{font-family:var(--display);margin:0;font-size:1.45rem;font-weight:800}.profile-hero-top p{color:#e2e8f0d9;margin:.25rem 0 0;font-size:.82rem}.edit-profile-btn{color:#fff;font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;align-items:center;gap:.35rem;padding:.35rem 0;font-size:.82rem;font-weight:700;display:inline-flex}.profile-body{flex-direction:column;gap:1rem;margin-top:-2.4rem;padding:0 1rem 1.25rem;display:flex}.profile-summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:1.15rem;padding:1rem;box-shadow:0 10px 28px #0f172a14}.profile-summary-main{align-items:flex-start;gap:.9rem;display:flex}.profile-photo-wrap{flex-shrink:0;position:relative}.profile-photo{color:#fff;background:linear-gradient(145deg,#38bdf8,#1d4ed8);border:3px solid #fff;border-radius:999px;place-items:center;width:5.2rem;height:5.2rem;font-size:1.8rem;font-weight:800;display:grid;box-shadow:0 4px 14px #2563eb47}.photo-camera-btn{color:#fff;cursor:pointer;background:#2563eb;border:2px solid #fff;border-radius:999px;place-items:center;width:1.7rem;height:1.7rem;padding:0;display:grid;position:absolute;bottom:.1rem;right:0}.photo-camera-btn svg{width:12px;height:12px}.profile-summary-info{min-width:0;padding-top:.15rem}.profile-summary-info h3{font-family:var(--display);color:#0f172a;margin:0;font-size:1.2rem;font-weight:800}.profile-role-line{color:#2563eb;margin:.2rem 0 0;font-size:.88rem;font-weight:700}.profile-dept-line{color:#94a3b8;margin:.15rem 0 .45rem;font-size:.78rem;font-weight:600}.profile-contact{color:#64748b;align-items:center;gap:.4rem;margin:.2rem 0 0;font-size:.76rem;display:flex}.profile-contact svg{color:#94a3b8;flex-shrink:0}.profile-stats{border-top:1px solid #eef2f7;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;margin-top:1rem;padding-top:.9rem;display:grid}.profile-stat{text-align:left;border-right:1px solid #eef2f7;flex-direction:row;justify-content:center;align-items:center;gap:.4rem;min-width:0;padding:0 .35rem;display:flex}.profile-stat:first-child{padding-left:0}.profile-stat:last-child{border-right:0;padding-right:0}.profile-stat>div{min-width:0}.profile-stat-icon{border-radius:.55rem;flex-shrink:0;justify-content:center;align-items:center;width:2rem;height:2rem;line-height:0;display:inline-flex}.profile-stat-icon svg{flex-shrink:0;width:16px;height:16px;display:block}.profile-stat-icon.tone-purple{color:#7c3aed;background:#ede9fe}.profile-stat-icon.tone-orange{color:#ea580c;background:#ffedd5}.profile-stat-icon.tone-green{color:#16a34a;background:#dcfce7}.profile-stat strong{color:#0f172a;font-size:.95rem;line-height:1.1;display:block}.profile-stat>div span{color:#94a3b8;font-size:.62rem;font-weight:600;line-height:1.2;display:block}.profile-section h4{color:#64748b;margin:0 0 .55rem;font-size:.82rem;font-weight:800}.profile-list-card{background:#fff;border:1px solid #e2e8f0;border-radius:1rem;margin:0;padding:.2rem 0;list-style:none;overflow:hidden}.profile-row{width:100%;font:inherit;cursor:pointer;text-align:left;color:#94a3b8;background:0 0;border:0;border-top:1px solid #f1f5f9;grid-template-columns:auto 1fr auto auto;align-items:center;gap:.7rem;padding:.85rem .95rem;display:grid}.profile-list-card li:first-child .profile-row{border-top:0}.row-icon{border-radius:.55rem;place-items:center;width:2rem;height:2rem;display:grid}.row-icon.tone-blue{color:#2563eb;background:#dbeafe}.row-icon.tone-green{color:#16a34a;background:#dcfce7}.row-icon.tone-purple{color:#7c3aed;background:#ede9fe}.row-label{color:#334155;font-size:.88rem;font-weight:600}.row-value{color:#0f172a;text-align:right;font-size:.82rem;font-weight:700}.row-value.value-success{color:#16a34a}.profile-logout-btn{color:#dc2626;width:100%;font:inherit;cursor:pointer;background:#fef2f2;border:0;border-radius:.95rem;justify-content:center;align-items:center;gap:.5rem;padding:.95rem 1rem;font-size:.95rem;font-weight:800;display:flex}.profile-logout-btn:hover{background:#fee2e2}@media (width<=520px){.profile-summary-main{text-align:center;flex-direction:column;align-items:center}.profile-summary-info{width:100%}.profile-contact{justify-content:center}.profile-stat strong{font-size:.88rem}.profile-stat>div span{font-size:.58rem}}
