/* V21 simple field-engineer interface. Advanced/admin UI remains unchanged. */
body.employee-shell{
  --simple-blue:#1267a8;
  --simple-blue-dark:#0d4f82;
  --simple-blue-soft:#edf6fc;
  --simple-line:#d9e2ea;
  --simple-text:#173042;
  --simple-muted:#657786;
  --simple-green:#138a5b;
  --simple-orange:#e77618;
  padding-left:0!important;
  background:#f4f7f9!important;
  color:var(--simple-text)!important;
  color-scheme:light;
}
.employee-shell .metro-topbar{
  left:0!important;
  height:64px!important;
  padding:0 22px!important;
  background:rgba(255,255,255,.97)!important;
  border-bottom:1px solid #dce4ea!important;
  color:var(--simple-text)!important;
  box-shadow:0 2px 16px rgba(29,55,74,.06);
  backdrop-filter:blur(16px)!important;
}
.employee-shell .metro-topbar .brand{display:flex!important;margin-right:18px}
.employee-shell .aiotor-wordmark{color:#0b6f7f!important;font-size:17px!important}
.employee-topbar-title{display:flex;flex-direction:column;border-left:1px solid #dbe4ea;padding-left:17px;line-height:1.05}
.employee-topbar-title b{font-size:13px;color:#203849}.employee-topbar-title small{font-size:10px;color:#7b8b96;margin-top:4px}
.employee-quick-nav{display:flex;gap:5px;margin-left:auto;align-items:center}.employee-quick-nav a{padding:9px 12px;border-radius:9px;color:#516675;font-size:12px;font-weight:700}.employee-quick-nav a:hover{background:#f1f5f8}.employee-quick-nav .employee-new-link{background:#eaf4fb;color:#1267a8}
.employee-shell .topbar-actions{margin-left:9px}.employee-shell .account-menu>summary{background:#fff!important;border:1px solid #dce4ea!important;color:#233d4e!important;min-height:42px!important}.employee-shell .account-menu>summary small{color:#7a8a95!important}.employee-shell .metro-popover,.employee-shell .account-popover{background:#fff!important;border:1px solid #dce4ea!important;color:#1c3545!important;box-shadow:0 18px 50px rgba(22,47,64,.14)!important}.employee-shell .account-popover>a,.employee-shell .account-popover button{color:#375365!important}.employee-shell .access-badges span{background:#eef4f7!important;color:#526a79!important}
.employee-shell .metro-footer{background:#fff!important;border-top:1px solid #dce4ea!important;color:#7a8b96!important;margin-left:0!important}
.employee-shell .employee-bottom-dock{grid-template-columns:repeat(3,1fr)!important}

.employee-investigation-page{width:min(1280px,calc(100% - 34px));margin:0 auto;padding:24px 0 112px}
.employee-form-header{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:14px}.employee-form-header h1{margin:2px 0 6px;font-size:28px;line-height:1.1;color:#173042}.employee-form-header>div:first-child>p:last-child{margin:0;color:#687b88;font-size:12px;max-width:760px}.simple-eyebrow{margin:0;color:#1267a8;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.1em}.employee-form-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.employee-form-head-actions .connection-state{background:#fff!important;color:#4f6574!important;border:1px solid #dce4ea!important;min-height:38px}.employee-form-head-actions .connection-state i{background:#26a26e!important}.simple-save-state{background:#fff!important;color:#395367!important;border:1px solid #dce4ea!important;min-height:38px!important}.simple-save-state small{color:#7e8f9a!important}.simple-close-link{height:38px;display:inline-flex;align-items:center;padding:0 12px;border:1px solid #dce4ea;border-radius:9px;background:#fff;color:#536a78;font-weight:750;font-size:11px}
.simple-alert{padding:10px 13px;border-radius:9px;margin:8px 0;font-size:12px;border:1px solid}.simple-alert.success{background:#edf9f3;border-color:#bce7d1;color:#166e4b}.simple-alert.error{background:#fff0f1;border-color:#f0c4ca;color:#a13542}.simple-alert.warning{background:#fff8ea;border-color:#efd8a3;color:#835e15}
.simple-progress-card{background:#fff;border:1px solid var(--simple-line);border-radius:12px;padding:11px 14px;margin-bottom:12px}.simple-progress-card>div{display:flex;justify-content:space-between;font-size:11px;color:#405868}.simple-progress-card progress{width:100%;height:5px;margin:7px 0 2px;accent-color:#1773b6}.simple-progress-card small{font-size:10px;color:#81909a}.simple-background-pipeline{margin:0 0 12px!important;background:#fff!important;border:1px solid #dce4ea!important;color:#355264!important;border-radius:12px!important}
.simple-report-form{display:flex;flex-direction:column;gap:12px}.simple-form-card{background:#fff;border:1px solid var(--simple-line);border-radius:13px;padding:0;overflow:visible;box-shadow:0 4px 18px rgba(31,55,70,.035)}.simple-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:14px 16px 12px;border-bottom:1px solid #e5ebef}.simple-section-head h2{margin:0 0 3px;font-size:15px;color:#143d5a}.simple-section-head p{margin:0;font-size:10.5px;color:#778995}.simple-section-head>span{font-size:9px;color:#8a9aa4;text-transform:uppercase;letter-spacing:.05em}.simple-report-grid{display:flex;flex-direction:column}.simple-report-row{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #edf1f4}.simple-report-grid>.simple-report-row:last-child{border-bottom:0}.simple-field-cell{min-width:0;padding:9px 12px 8px;position:relative}.simple-report-row>.simple-field-cell:first-child{border-right:1px solid #edf1f4}.simple-field-cell>label{display:block;margin:0 0 5px;color:#536a78;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.035em}.simple-field-cell>label em{color:#b3404a;font-style:normal}.simple-input-row{display:flex;align-items:center;gap:6px}.simple-input-row input,.simple-input-row select,.simple-input-row textarea{width:100%;min-width:0;height:37px;padding:7px 9px;border:1px solid #cad6de;border-radius:8px;background:#fff!important;color:#183142!important;font:600 12px/1.25 ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;outline:none;box-shadow:none!important}.simple-input-row textarea{height:auto;min-height:78px;resize:vertical}.simple-input-row input:focus,.simple-input-row select:focus,.simple-input-row textarea:focus{border-color:#4c96c6;box-shadow:0 0 0 3px rgba(31,119,178,.09)!important}.simple-input-row input[readonly],.simple-input-row select:disabled{background:#f4f9fc!important;color:#173f5a!important;opacity:1}.simple-help{display:block;margin-top:4px;font-size:9px;color:#87959e}.simple-empty-cell{background:#fbfcfd}
.simple-camera-button,.simple-file-button{flex:0 0 auto;border:0;cursor:pointer}.simple-camera-button{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e97818;color:#fff;box-shadow:0 3px 9px rgba(215,105,17,.18)}.simple-camera-button:hover{background:#cf6512}.simple-camera-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.simple-file-button{display:grid;place-items:center;width:30px;height:30px;border-radius:7px;background:#eef4f7;color:#496574;font-size:17px}.simple-file-button:hover{background:#e2edf3}.simple-hidden-file{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.simple-recognition-tools{margin-top:5px!important;padding:0!important;background:transparent!important;border:0!important;display:flex!important;justify-content:space-between;align-items:center;gap:8px}.simple-recognition-tools .recognition-save-status{font-size:9px!important;color:#7b8e99!important}.simple-recognition-tools>div{display:flex;gap:4px}.simple-recognition-tools button{min-height:24px!important;padding:3px 7px!important;border-radius:6px!important;font-size:9px!important}.simple-recognition-tools.confirmed .recognition-save-status{color:#16835a!important}
.simple-field-runtime{margin-top:5px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;min-height:0!important}.simple-field-runtime.capture-ready{border:0!important}.simple-field-preview{display:flex!important;gap:6px!important;margin:4px 0 0!important;min-height:0!important}.simple-field-preview:empty{display:none!important}.simple-field-preview figure{width:72px!important;height:54px!important;border-radius:7px!important;margin:0!important;overflow:hidden!important}.simple-field-preview figure img{width:100%!important;height:100%!important;object-fit:cover!important}.simple-field-preview .preview-badge{font-size:7px!important;padding:2px 4px!important}.simple-field-preview .server-photo-delete{position:absolute!important;right:3px!important;bottom:3px!important;font-size:8px!important;padding:3px 5px!important;min-height:0!important;background:rgba(255,255,255,.92)!important;color:#8d3340!important;border:0!important;border-radius:5px!important}.simple-capture-feedback,.simple-processing,.simple-field-runtime .server-check{font-size:8.5px!important;color:#8a98a1!important;margin-top:3px!important}.simple-ocr-details{display:none!important}
.simple-notes-grid{display:grid;grid-template-columns:1fr 1fr}.simple-notes-grid>.simple-field-cell{padding:11px 12px}.simple-notes-grid>.simple-field-cell:nth-child(1){border-right:1px solid #edf1f4}.simple-notes-grid>.simple-field-cell:nth-child(3){grid-column:1/-1;border-top:1px solid #edf1f4}.simple-notes-grid textarea{min-height:86px!important}
.simple-photo-section{overflow:visible}.simple-evidence-list{display:flex;flex-direction:column}.simple-evidence-row{display:grid!important;grid-template-columns:minmax(250px,1.2fr) auto minmax(220px,1fr);gap:12px;align-items:center;padding:11px 14px!important;border:0!important;border-bottom:1px solid #edf1f4!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;min-height:74px!important}.simple-evidence-list>.simple-evidence-row:last-child{border-bottom:0!important}.simple-evidence-info{display:flex;align-items:center;justify-content:space-between;gap:10px}.simple-evidence-row .capture-card-head{display:block!important;margin:0!important}.simple-evidence-row .capture-card-head h3{margin:0 0 2px!important;font-size:12px!important;color:#244256!important}.simple-evidence-row .capture-card-head p{margin:0!important;font-size:9.5px!important;color:#82909a!important}.simple-evidence-row .capture-count{font-size:9px!important;background:#eff5f8!important;color:#527080!important;padding:4px 6px!important;border-radius:6px!important}.simple-evidence-actions{display:flex;align-items:center;gap:7px}.simple-upload-button{height:34px;padding:0 10px;border:1px solid #cfdae1;border-radius:8px;background:#fff;color:#496270;font-size:10px;font-weight:800;cursor:pointer}.simple-evidence-previews{display:flex!important;min-height:0!important;gap:5px!important;margin:0!important}.simple-evidence-previews:empty{display:none!important}.simple-evidence-previews figure{width:64px!important;height:50px!important;border-radius:7px!important;margin:0!important}.simple-evidence-previews figure img{width:100%!important;height:100%!important;object-fit:cover!important}.simple-evidence-previews .server-photo-delete{position:absolute!important;right:2px!important;bottom:2px!important;font-size:7px!important;padding:2px 4px!important;min-height:0!important}.simple-evidence-row>.simple-processing,.simple-evidence-row>.ocr-inline-results,.simple-evidence-row>.simple-capture-feedback,.simple-evidence-row>.server-check{grid-column:1/-1;margin:0!important;font-size:8.5px!important;color:#81919b!important}.simple-evidence-row>.ocr-inline-results:empty,.simple-evidence-row>.simple-processing:empty,.simple-evidence-row>.server-check:empty{display:none!important}
.simple-submit-bar{position:sticky;bottom:12px;z-index:35;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 12px 10px 15px;border:1px solid #d6e0e6;border-radius:12px;background:rgba(255,255,255,.96);box-shadow:0 14px 38px rgba(27,52,70,.13);backdrop-filter:blur(14px)}.simple-submit-bar>div:first-child{display:flex;flex-direction:column}.simple-submit-bar b{font-size:11px;color:#29495c}.simple-submit-bar span{font-size:9.5px;color:#7b8c97}.simple-submit-actions{display:flex;align-items:center;gap:7px}.simple-submit-actions .button.primary{min-height:39px!important;border-radius:8px!important;background:#1267a8!important;box-shadow:none!important;font-size:11px!important}.simple-draft-action{border:0;background:transparent;color:#7a8e9a;font-size:10px;font-weight:750;cursor:pointer}.simple-hidden-action{display:none}

.employee-shell .camera-modal,.employee-shell .replacement-modal{color:#f5f7f9}
.employee-shell .camera-dialog,.employee-shell .replacement-dialog{color:#f5f7f9}

@media(max-width:900px){
  .employee-investigation-page{width:calc(100% - 20px);padding-top:14px}.employee-form-header{flex-direction:column;gap:10px}.employee-form-head-actions{width:100%;justify-content:flex-start}.employee-form-header h1{font-size:23px}.simple-report-row{grid-template-columns:1fr}.simple-report-row>.simple-field-cell:first-child{border-right:0;border-bottom:1px solid #edf1f4}.simple-empty-cell{display:none}.simple-notes-grid{grid-template-columns:1fr}.simple-notes-grid>.simple-field-cell{border-right:0!important;border-bottom:1px solid #edf1f4}.simple-notes-grid>.simple-field-cell:nth-child(3){grid-column:auto;border-top:0}.simple-evidence-row{grid-template-columns:1fr auto;gap:8px}.simple-evidence-previews{grid-column:1/-1}.employee-quick-nav{display:none}.employee-topbar-title{display:none}.employee-shell .metro-topbar{padding:0 12px!important}.simple-submit-bar{bottom:82px}.simple-submit-bar>div:first-child{display:none}.simple-submit-bar{justify-content:flex-end}.simple-submit-actions{width:100%}.simple-submit-actions .button.primary{flex:1}.simple-camera-button{width:38px;height:38px}.simple-input-row input,.simple-input-row select{height:41px}
}
@media(max-width:540px){
  .employee-investigation-page{width:100%;padding:9px 8px 108px}.simple-form-card{border-radius:10px}.simple-section-head{padding:12px}.simple-field-cell{padding:9px 10px}.simple-report-row{border-bottom:0}.simple-report-row>.simple-field-cell{border-bottom:1px solid #edf1f4!important}.simple-report-grid>.simple-report-row:last-child>.simple-field-cell:last-child{border-bottom:0!important}.simple-evidence-row{padding:10px!important}.simple-evidence-info{align-items:flex-start}.employee-form-head-actions .connection-state{display:none}.simple-progress-card{border-radius:10px}.simple-save-state{flex:1}.simple-close-link{margin-left:auto}
}

/* Reference-form refinement: a single blue report header, white report cards,
   pale entry cells, and only small camera controls beside relevant fields. */
.employee-shell .employee-form-header{
  background:var(--simple-blue);
  border-radius:12px;
  padding:16px 18px;
  color:#fff;
  box-shadow:none;
}
.employee-shell .employee-form-header h1{color:#fff}
.employee-shell .employee-form-header>div:first-child>p:last-child{color:rgba(255,255,255,.84)}
.employee-shell .simple-eyebrow{color:rgba(255,255,255,.8)}
.employee-shell .employee-form-head-actions .connection-state,
.employee-shell .simple-save-state,
.employee-shell .simple-close-link{background:#fff!important;border-color:rgba(255,255,255,.65)!important}
.employee-shell .simple-progress-card{display:none}
.employee-shell .simple-input-row input:not([readonly]),
.employee-shell .simple-input-row select:not(:disabled),
.employee-shell .simple-input-row textarea:not([readonly]){background:#fffdf0!important}
.employee-shell .simple-input-row input[readonly],
.employee-shell .simple-input-row textarea[readonly],
.employee-shell .simple-input-row select:disabled{background:#edf8f1!important;border-color:#b9dbc8!important}
.employee-shell .simple-draft-action.danger{color:#a24b54}

/* Employee landing page: intentionally small — one primary action and the case list. */
.employee-dashboard-page{width:min(1100px,calc(100% - 34px));margin:0 auto;padding:24px 0 100px}
.employee-dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;background:var(--simple-blue);color:#fff;border-radius:12px;padding:20px 22px;margin-bottom:14px}
.employee-dashboard-hero h1{margin:3px 0 6px;color:#fff;font-size:27px}.employee-dashboard-hero p{margin:0;max-width:680px;color:rgba(255,255,255,.84);font-size:12px}.employee-dashboard-hero .simple-eyebrow{color:rgba(255,255,255,.78)}
.employee-new-case{display:flex;align-items:center;gap:8px;flex:0 0 auto;background:#fff;color:#0f5b94;border-radius:9px;padding:11px 14px;font-size:12px;box-shadow:0 5px 16px rgba(0,0,0,.08)}.employee-new-case span{font-size:18px;line-height:1}.employee-new-case:hover{color:#0a4774}
.employee-case-card{background:#fff;border:1px solid var(--simple-line);border-radius:12px;overflow:hidden}.employee-case-card>header{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #e7edf1}.employee-case-card>header h2{margin:0 0 2px;font-size:15px;color:#183f59}.employee-case-card>header p{margin:0;font-size:10px;color:#7d8e99}.employee-case-card>header>span{font-size:10px;color:#607887;background:#f0f5f8;border-radius:999px;padding:5px 8px}
.employee-case-list{display:flex;flex-direction:column}.employee-case-item{border-bottom:1px solid #edf1f4}.employee-case-item:last-child{border-bottom:0}.employee-case-main{display:grid;grid-template-columns:minmax(220px,1fr) 125px 180px 20px;align-items:center;gap:12px;padding:12px 15px;color:#284858}.employee-case-main:hover{background:#f8fbfc}.employee-case-main>div{display:flex;flex-direction:column;min-width:0}.employee-case-main b{font-size:12px;color:#244459;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.employee-case-main small,.employee-case-main time{font-size:9.5px;color:#80909a}.employee-case-main>i{font-size:22px;color:#9ba9b1;font-style:normal}.employee-case-status{justify-self:start;border-radius:999px;padding:4px 7px;background:#eef3f6;color:#567080;font-size:9px;font-weight:850}.employee-case-status.final{background:#eaf7f0;color:#18744f}.employee-case-status.draft{background:#fff7e7;color:#8a6518}.employee-case-status.processing{background:#edf5fb;color:#216796}.employee-case-actions{display:flex;gap:5px;padding:0 15px 10px}.employee-case-actions a,.employee-case-actions button{border:0;background:#f0f5f8;color:#4f6b7a;border-radius:6px;padding:5px 8px;font-size:9px;font-weight:800;cursor:pointer}.employee-case-actions form{margin:0}.employee-case-actions .danger{color:#9b4550;background:#fff2f3}.employee-empty-case{text-align:center;padding:42px 20px}.employee-empty-case b{font-size:14px;color:#29495c}.employee-empty-case p{font-size:10.5px;color:#7f909a}.employee-empty-case a{display:inline-flex;margin-top:8px;background:#1267a8;color:#fff;border-radius:8px;padding:9px 12px;font-size:10px;font-weight:800}
@media(max-width:760px){.employee-dashboard-page{width:100%;padding:10px 8px 90px}.employee-dashboard-hero{align-items:flex-start;flex-direction:column;padding:16px}.employee-dashboard-hero h1{font-size:23px}.employee-new-case{width:100%;justify-content:center}.employee-case-main{grid-template-columns:1fr auto 18px}.employee-case-main time{display:none}.employee-case-status{font-size:8px}.employee-case-card>header{padding:12px}}
