:root{--shadow:0 4px 20px #18334808;--line:#dfe7ec}body{font-family:Inter,'Segoe UI',Arial,sans-serif}.panel{border-radius:12px}.page-heading h1{font-size:30px;letter-spacing:-.75px}.page-heading .muted{max-width:650px}.sidebar{padding-top:24px}.sidebar nav a{transition:background .15s,color .15s}.sidebar nav a.active{box-shadow:inset 3px 0 #83c5eb}.button,input,select,textarea{border-radius:8px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #5db0df;outline-offset:3px}.management-tabs{display:flex;gap:6px;padding:5px;background:#e9eff3;border-radius:10px;width:fit-content;margin:-8px 0 24px}.management-tabs a{padding:10px 20px;color:#536c7d;font-weight:600;border-radius:7px;text-decoration:none}.management-tabs a.active{background:white;color:var(--teal-dark);box-shadow:0 2px 5px #18334812}.pagination{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:18px 20px;border-top:1px solid var(--line);font-size:12px}.panel-body .pagination{padding:18px 0 0}.pagination p{margin:0}.pagination-links{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.page-number{display:grid;place-items:center;min-width:34px;min-height:34px;border-radius:6px;border:1px solid transparent;color:var(--ink)}.page-number.active{background:var(--teal);color:white}.page-number:hover{background:#eaf4f2;color:var(--teal-dark);text-decoration:none}.page-size{display:flex;align-items:center;gap:8px;margin:0;font-size:12px;white-space:nowrap}.page-size select{width:auto;min-height:34px;margin:0;padding:5px 10px;font-size:12px}.filter-bar button{flex-shrink:0}.filter-bar input,.filter-bar select{min-width:0}.connection-status{padding:12px 16px;border-radius:8px;background:#fff4db;color:#765822;border:1px solid #ead6a2;margin-bottom:18px}.install-app{float:right;font-size:12px;margin-bottom:12px}.skip-link{position:fixed;top:-100px;left:16px;z-index:200;background:white;border:2px solid var(--teal);padding:10px 18px;border-radius:8px}.skip-link:focus{top:12px}input[type=search]::-webkit-search-cancel-button{cursor:pointer}td{overflow-wrap:anywhere}.invoice-summary{box-shadow:0 5px 25px #18334808}
@media(max-width:1000px){.directory-layout{grid-template-columns:minmax(0,1fr)}.directory-layout #directory-editor{max-width:700px}}
@media(max-width:800px){.main{padding-bottom:60px}.sidebar{padding:12px 16px}.sidebar nav a{min-height:40px}.management-tabs{width:100%;margin-top:0}.management-tabs a{flex:1;text-align:center;padding:10px 8px;font-size:12px}.page-heading h1{font-size:27px}.pagination{gap:13px;padding:16px}.pagination-links{order:3;width:100%}.pagination .page-size{margin-left:auto}.directory-layout{gap:12px}.directory-actions .button{min-height:38px}.table-wrap{overscroll-behavior-x:contain}.filter-bar{gap:10px}.filter-bar input{flex-basis:100%;max-width:none}.filter-bar select{flex:1;max-width:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.task-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}.task-card{padding:20px;border:1px solid #dae3ea;border-radius:14px;background:#fff}.task-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.evidence-checklist{display:flex;flex-wrap:wrap;gap:8px}.evidence-checklist span{padding:7px 10px;border-radius:8px;background:#edf2f6}.evidence-checklist .complete{background:#e3f4e9;color:#175b36}.photo-edit-canvas{max-width:100%;height:auto;touch-action:none;border:1px solid #bccbd5}.photo-editor-controls{display:flex;flex-wrap:wrap;gap:8px}.photo-editor-controls button{min-height:42px}#photo-edit-dialog{width:min(960px,95vw);max-height:94vh;overflow:auto}.crop-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}@media(max-width:600px){.crop-grid{grid-template-columns:repeat(2,1fr)}}

#photo-edit-dialog{border:1px solid var(--line);border-radius:16px;padding:0;color:var(--ink);font:inherit;box-shadow:0 25px 100px #10263950}#photo-edit-dialog::backdrop{background:#082b4377}#photo-edit-dialog .panel-body{padding:24px}#photo-edit-dialog h2{font-size:21px}#photo-edit-canvas{display:block;max-height:52vh;width:auto;height:auto;margin:16px auto;border-radius:8px}#photo-edit-dialog details{margin-top:12px}#edit-save{position:sticky;bottom:0;box-shadow:0 3px 12px #082b4320}#edit-status:empty{display:none}@media(max-width:600px){#photo-edit-dialog .panel-body{padding:16px}#photo-edit-canvas{max-height:42vh}}

.original-damage-mark{cursor:pointer}.original-damage-mark:focus{outline:1px dashed #64748b}

.inspection-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.inspection-stats a{display:flex;flex-direction:column;color:var(--ink);text-decoration:none;gap:8px}.inspection-stats strong{font-size:30px}.inspection-case-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}.inspection-case-card h2{margin:12px 0 6px}.inspection-case-card .button{margin-top:16px}.image-search{flex:2!important}.capture-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}.capture-step{border:1px solid #c8d7e2;border-radius:10px;padding:12px;background:#f4f7fa;text-align:left;color:#17354e;min-height:64px}.capture-step span,.capture-step small{display:block}.capture-step[aria-pressed=true]{background:#17354e;color:white;border-color:#17354e}.capture-step.complete{border-color:#27824b}.capture-inputs{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.capture-input{flex:1;min-width:200px;padding:14px;border:1px dashed #b5c9d7;border-radius:10px}.capture-preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,180px),1fr));gap:14px;margin:16px 0}.capture-photo{min-width:0;overflow-wrap:anywhere}.capture-photo img{display:block;width:100%;height:140px;object-fit:contain;background:#edf2f5;border-radius:9px;margin-bottom:8px}.capture-photo strong{display:block;font-size:13px}.capture-photo .photo-open{width:100%;padding:0;background:transparent;border:0}#live-camera-dialog,#case-photo-dialog{width:min(900px,95vw);max-height:94vh;overflow:auto;padding:0;border:1px solid var(--line);border-radius:14px;color:var(--ink)}#live-camera-dialog::backdrop,#case-photo-dialog::backdrop{background:#082b4377}#live-camera-video{display:block;width:100%;max-height:60vh;background:#082b43;border-radius:10px}#case-photo-image{display:block;width:100%;height:48vh;object-fit:contain;background:#edf2f5}#capture-upload{min-height:48px}#capture-status:empty{display:none}@media(max-width:650px){.inspection-stats{grid-template-columns:1fr;gap:8px}.inspection-stats a{flex-direction:row;align-items:center;gap:16px}.inspection-stats strong{font-size:25px}.capture-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.capture-inputs{flex-direction:column}.capture-input{min-width:0}.capture-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.capture-photo img{height:110px}.capture-step{min-height:58px}}

.mobile-account{display:none}@media(max-width:800px){.mobile-account{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #ffffff20;margin-top:8px;padding-top:8px}.mobile-account span{font-size:12px;overflow-wrap:anywhere}.mobile-signout{flex:none}.mobile-signout button{border:1px solid #ffffff55;background:transparent;color:#fff;border-radius:7px;padding:8px 12px;min-height:40px}}

@media(max-width:800px){.filter-bar .image-search{flex:1 1 100%!important;min-width:0}.filter-bar .image-search input{max-width:none;width:100%}}

@media(max-width:700px){.saved-statement-table thead{display:none}.saved-statement-table,.saved-statement-table tbody,.saved-statement-table tr,.saved-statement-table td{display:block;width:100%;min-width:0}.saved-statement-table tr{padding:12px 0;border-bottom:1px solid #dae4ec}.saved-statement-table td{border:0;padding:7px 0;white-space:normal;overflow-wrap:normal}.saved-statement-table td[data-label]::before{content:attr(data-label);display:block;font-size:11px;font-weight:700;color:#63768b;margin-bottom:4px}.saved-statement-table td .heading-actions{justify-content:flex-start;gap:14px;flex-wrap:wrap}.saved-statement-table td small{display:block}.saved-statement-table td[colspan]{padding:16px 0}}

.backup-table td:last-child,.backup-table th:last-child{white-space:nowrap}.backup-table td:nth-child(2){white-space:nowrap}.backup-table td:first-child{overflow-wrap:anywhere}

.navigation-toggle{display:none}
.snapshot-change{padding:18px 0;border-bottom:1px solid var(--line)}.snapshot-change h3{margin:0;font-size:15px}.snapshot-change pre{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.6 'Segoe UI',Arial,sans-serif;padding:12px;background:#f3f7fb;border-radius:8px;max-width:100%}.snapshot-change .form-grid>div{min-width:0}.review-history{padding:12px 0}.review-history p{overflow-wrap:anywhere}
@media(max-width:700px){.case-list-table thead,.invoice-list-table thead{display:none}.case-list-table,.invoice-list-table,.case-list-table tbody,.invoice-list-table tbody,.case-list-table tr,.invoice-list-table tr,.case-list-table td,.invoice-list-table td{display:block;width:100%;min-width:0}.case-list-table tr,.invoice-list-table tr{padding:16px;border-bottom:1px solid var(--line)}.case-list-table td,.invoice-list-table td{border:0;padding:7px 0}.case-list-table td[data-label]::before,.invoice-list-table td[data-label]::before{content:attr(data-label);display:block;color:var(--muted);font-size:11px;font-weight:600;margin-bottom:4px}.case-list-table td:nth-child(2),.case-list-table td:nth-child(3),.invoice-list-table td:nth-child(3),.invoice-list-table td:nth-child(4){display:inline-block;width:49%;vertical-align:top}.case-list-table .record-row-actions,.invoice-list-table .record-row-actions{margin:0}.case-list-table .record-row-actions>div,.invoice-list-table .record-row-actions>div{flex-direction:row;flex-wrap:wrap;gap:8px 16px}}
.record-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 20px;padding:5px;background:#e9eff3;border-radius:10px;width:fit-content}.record-tabs a{padding:10px 20px;min-height:44px;border-radius:7px;color:#536c7d;font-weight:600;text-decoration:none}.record-tabs a.active{background:white;color:var(--teal-dark);box-shadow:0 2px 5px #18334812}.record-row-actions{margin-top:8px;min-width:110px}.record-row-actions summary{margin:0;min-height:34px;padding:6px 0;color:var(--teal);font-size:12px}.record-row-actions>div{display:flex;flex-direction:column;gap:4px;padding:4px 0}.record-row-actions a{padding:6px 0;white-space:nowrap}.record-row-actions small{max-width:140px}.invoice-payment-cell{min-width:140px}.record-list-return{margin-bottom:18px}@media(max-width:800px){.record-tabs{width:100%;gap:3px}.record-tabs a{flex:1;text-align:center;padding:10px 8px}.record-row-actions summary,.record-row-actions a{min-height:44px}.record-list-return{min-height:44px}}
.filter-bar .check input{flex:0 0 17px;min-width:17px;max-width:17px}
.firm-statement-table td:nth-child(n+3){white-space:nowrap}
@media(max-width:700px){.filter-bar .check{flex:1 1 100%}.firm-statement-table thead{display:none}.firm-statement-table,.firm-statement-table tbody,.firm-statement-table tr,.firm-statement-table td{display:block;width:100%;min-width:0}.firm-statement-table tr{padding:10px 0;border-bottom:1px solid var(--line)}.firm-statement-table td{border:0;padding:7px 0;overflow-wrap:normal}.firm-statement-table td[data-label]::before{content:attr(data-label);display:block;font-size:11px;font-weight:600;color:var(--muted);margin-bottom:3px}.firm-statement-table td:nth-child(n+3){display:inline-block;width:49%;vertical-align:top}.firm-statement-table td small{max-width:none}.statement-total strong{display:block;margin:4px 0 0}.filter-bar label:not(.check){max-width:100%;min-width:0}.filter-bar label input{min-width:0}}
@media(max-width:800px){.sidebar-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.sidebar-heading .brand{min-width:0;flex:1}.sidebar-heading .brand span{max-width:110px}.shell-js .navigation-toggle:not([hidden]){display:block;border:1px solid #ffffff55;background:transparent;color:white;border-radius:8px;min-height:44px;min-width:70px;padding:8px 12px;flex:none}.sidebar nav{flex-direction:column;overflow:visible;gap:4px}.sidebar nav a{white-space:normal;min-height:44px;font-size:13px;padding:10px 12px}.sidebar nav .nav-icon{display:inline-block}.shell-js .sidebar nav{display:none}.shell-js .sidebar nav.navigation-open{display:flex}.mobile-account span{min-width:0;flex:1}}

/* Workspace polish: readable text, compact guidance and restrained feedback. */
:root{--muted:#526b7b;--motion-fast:150ms;--motion-panel:200ms}
body{font-size:14px;line-height:1.55}.main label{font-size:13px}.main input,.main select,.main textarea{font-size:14px}.small,.muted.small,.main small{font-size:12px;line-height:1.5}.muted{color:var(--muted)}.sidebar nav a{font-size:14px}.main .button{font-size:13px;min-height:42px}.main th{font-size:12px}.main td{font-size:13px}.main .eyebrow{font-size:11px;color:#526e81}.page-heading{margin-bottom:24px}.panel-body{padding:22px}.case-aside .panel{margin-bottom:16px}.case-aside p{line-height:1.55}.sidebar .nav-icon{display:inline-flex;width:20px;justify-content:center}.nav-icon svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.button,.sidebar nav a,.management-tabs a,.progress-step,.photo-order button,.kpi,input,select,textarea{transition:background-color var(--motion-fast),border-color var(--motion-fast),color var(--motion-fast),box-shadow var(--motion-fast)}.button:hover:not(:disabled){box-shadow:0 2px 8px #18334818}.button:disabled{cursor:not-allowed;box-shadow:none}.kpi:hover{border-color:#83bcdc;text-decoration:none}.main tbody tr:hover{background:#f5faf9}input:focus,select:focus,textarea:focus{border-color:#0369a4;box-shadow:0 0 0 3px #0369a414}.button.danger,.button.destructive{color:#9e2929;border-color:#dcb8b8;background:#fff5f5}
.workflow-card{padding:20px 22px;background:#fff;border-left:3px solid #0369a4}.workflow-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.workflow-heading h2{margin:0;font-size:19px}.workflow-heading .eyebrow{margin-bottom:6px}.case-progress{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:18px}.progress-step{display:flex;align-items:center;gap:9px;padding:11px 9px;border:1px solid #dfe7ec;border-radius:9px;color:#526b7b;text-decoration:none;min-width:0}.progress-step strong,.progress-step small{display:block;overflow-wrap:anywhere}.progress-step strong{font-size:13px}.progress-step small{font-size:11px;margin-top:2px}.step-number{display:grid;place-items:center;width:26px;height:26px;flex-shrink:0;border-radius:50%;background:#edf2f5;font-weight:700;font-size:12px}.progress-step.complete{background:#f0f8f5;border-color:#cce4da;color:#235b48}.progress-step.complete .step-number{background:#d8ece3}.progress-step.current{border-color:#0369a4;background:#eaf4fc;color:#075582}.progress-step.current .step-number{background:#0369a4;color:#fff}.progress-step:hover{border-color:#0369a4;text-decoration:none}.readiness-list:empty{display:none}.readiness-list a{font-size:12px}.save-state{display:inline-flex;align-items:center;gap:7px;border:1px solid #dfe7ec;background:#fff;border-radius:20px;padding:6px 10px;font-size:12px;max-width:290px;overflow-wrap:anywhere}.save-state:before{content:'';width:7px;height:7px;flex-shrink:0;border-radius:50%;background:#487465}.save-state[data-state=unsaved]{color:#79551b;background:#fff8e9;border-color:#eadbb7}.save-state[data-state=unsaved]:before{background:#9a6a21}.save-state[data-state=saving]{color:#075582;background:#eaf4fc}.save-state[data-state=saving]:before{animation:saving-pulse 900ms ease-in-out infinite;background:#0369a4}.save-state[data-state=error]{color:#922d2d;background:#fff1f1;border-color:#e5c2c2}.save-state[data-state=error]:before{background:#b73737}
.photo-layout-note{margin:0 0 16px}.evidence-guide{margin-bottom:14px}.evidence-guide summary{margin:0;font-size:14px}.evidence-guide summary .small{margin-left:10px}.evidence-guide[open] .evidence-checklist{margin-top:16px}.photo-toolbar{gap:14px;margin-bottom:14px}.photo-toolbar label{flex:1;min-width:160px}.photo-toolbar #photo-count{flex-basis:100%}.photo-batch-bar{padding:12px;border:1px solid #dfe7ec;border-radius:10px;background:#f6f8fa}.photo-batch-bar .button{min-height:40px}.review-photo-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.photo-open img{height:230px}.photo-badges span{font-size:12px;padding:4px 8px}.photo-card-details strong{font-size:14px}.photo-card-details small{font-size:12px}.photo-order button{min-height:40px}.photo-viewer{width:min(1280px,96vw);max-height:94vh;max-height:94dvh;padding:18px;color:var(--ink);font:inherit}.viewer-layout{grid-template-columns:minmax(0,1fr) 310px;gap:18px}.viewer-header{position:sticky;top:0;background:#fff;z-index:5;padding:8px 0;margin-bottom:12px}.viewer-header strong,.viewer-header small{display:block}.viewer-header strong{font-size:14px}.viewer-header small{color:#526b7b;font-size:12px;margin-top:2px}.viewer-image img{height:65vh;height:65dvh}.viewer-details{position:sticky;top:65px;align-self:start}.viewer-details h2{font-size:16px}.viewer-navigation .button{min-height:44px}.viewer-details button{min-height:44px}#photo-upload-progress{width:100%;height:10px;accent-color:#0369a4;margin:12px 0}.tone-pending{background:#fff4dd!important;color:#765319!important}.tone-approved{background:#e5f3eb!important;color:#235b48!important}.tone-overdue{background:#fff0f0!important;color:#992b2b!important}.tone-neutral{background:#edf2f6!important;color:#455e70!important}
@keyframes panel-enter{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:none}}@keyframes saving-pulse{50%{opacity:.35}}dialog[open]{animation:panel-enter var(--motion-panel) ease-out}dialog::backdrop{background:#082b43b3}details[open]>:not(summary){animation:panel-enter var(--motion-panel) ease-out}
@media(max-width:1000px){.case-progress{grid-template-columns:repeat(3,minmax(0,1fr))}.viewer-layout{grid-template-columns:minmax(0,1fr) 270px}}
@media(max-width:800px){.panel-body{padding:18px}.workflow-card{padding:18px}.case-progress{grid-template-columns:repeat(2,minmax(0,1fr))}.case-progress .progress-step:last-child{grid-column:1/-1}.workflow-heading .button{width:100%;justify-content:center}.viewer-layout{grid-template-columns:1fr}.viewer-details{position:static}.viewer-image img{height:47vh;height:47dvh}.viewer-header{flex-wrap:wrap;gap:8px}.viewer-header strong{font-size:12px}.viewer-header small{font-size:11px}.viewer-header .button{font-size:12px;min-height:42px}.photo-toolbar #review-pending{width:100%}.photo-toolbar label{min-width:0}.photo-batch-bar{position:static}.save-state{max-width:100%}.heading-actions{flex-wrap:wrap}.progress-step small{font-size:11px}}
@media(max-width:600px){.review-photo-grid{grid-template-columns:1fr}.photo-open img{height:250px}.viewer-header>div{flex-basis:100%}.viewer-header .mobile-photo-review{flex:1}.viewer-header #viewer-close{min-width:70px}.viewer-image img{height:42vh;height:42dvh}.photo-viewer{padding:12px}.photo-toolbar label{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.status{font-size:12px;padding:5px 8px}@media(max-width:600px){.photo-toolbar label{flex-basis:calc(50% - 7px);width:auto}}

.capture-wizard{max-width:680px;margin:0 auto}.capture-case-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.capture-case-header strong,.capture-case-header small{display:block}.capture-case-header strong{font-size:22px}.capture-case-header small{color:var(--muted)}.capture-wizard h1{font-size:26px;line-height:1.25;margin:12px 0}.capture-wizard .full{justify-content:center;margin-top:12px;min-height:50px}.capture-intro-count{display:flex;align-items:center;gap:15px;background:#eef6f4;padding:18px;border-radius:12px;margin:22px 0}.capture-intro-count strong{font-size:32px}.capture-task-header{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--muted)}.capture-wizard progress{width:100%;height:7px;accent-color:#0369a4}.wizard-camera,.wizard-gallery{position:relative;overflow:hidden;cursor:pointer}.wizard-camera input,.wizard-gallery input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;margin:0}.wizard-camera:focus-within,.wizard-gallery:focus-within{outline:3px solid #5db0df;outline-offset:3px}.wizard-photo-preview{display:grid;grid-template-columns:1fr;gap:10px}.wizard-photo-preview img{width:100%;max-height:35vh;object-fit:contain;background:#eef2f5;border-radius:12px}.capture-extra{margin-top:20px;padding:12px 0;border-top:1px solid var(--line)}.capture-extra summary{font-size:13px}.wizard-navigation{display:grid;grid-template-columns:1fr 2fr;gap:12px;margin-top:16px}.text-button{background:none;border:0;color:#0369a4;cursor:pointer;padding:10px;font:inherit;min-height:44px}.wizard-summary-view{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;border-top:1px solid var(--line);padding:16px 0}.wizard-summary-thumbs{grid-column:1/-1;display:flex;gap:8px;overflow:auto}.wizard-summary-thumbs img{width:90px;height:75px;object-fit:contain;background:#eef2f5;border-radius:8px}.capture-wizard [hidden]{display:none!important}@media(max-width:600px){.capture-wizard .panel-body{padding:18px}.capture-case-header strong{font-size:20px}.capture-wizard h1{font-size:24px}.capture-wizard #capture-status{font-size:13px}.wizard-navigation .button{min-height:48px}}

@media(max-width:600px){#capture-form{padding-bottom:100px}.capture-wizard .wizard-navigation{position:fixed;bottom:0;left:0;right:0;z-index:20;margin:0;padding:12px 16px;padding-bottom:max(12px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);box-shadow:0 -3px 14px #1833480d}.wizard-photo-preview img{max-height:28vh}}

@media(max-width:700px){.mobile-record-table{display:block;width:100%;min-width:0!important}.mobile-record-table thead{display:none}.mobile-record-table tbody,.mobile-record-table tbody tr,.mobile-record-table tbody td{display:block;width:100%;min-width:0!important;max-width:100%}.mobile-record-table tbody tr{padding:14px 16px;border-bottom:1px solid var(--line)}.mobile-record-table tbody td{padding:7px 0;border:0;white-space:normal!important;overflow-wrap:break-word}.mobile-record-table tbody td[data-label]::before{content:attr(data-label);display:block;font-size:12px;font-weight:600;color:var(--muted);margin-bottom:4px}.mobile-record-table input,.mobile-record-table select{max-width:100%;min-width:0!important}.mobile-record-table tfoot{display:block;max-width:100%}.mobile-record-table tfoot td{display:block;white-space:normal}.main input:not([type=checkbox]):not([type=radio]),.main select,.main textarea{font-size:16px;min-height:44px}.main .button,.main button:not(.photo-open):not(.original-damage-mark),.pagination .page-number{min-height:44px}.pagination .page-number{min-width:44px}.case-tabs a{display:inline-flex;min-height:44px;align-items:center}.directory-actions{flex-wrap:wrap}.directory-actions .text-link,.inline-actions a{display:inline-flex;align-items:center;min-height:44px}.filter-bar{align-items:stretch}.filter-bar .check{align-items:center;min-height:44px}.mobile-record-table .invoice-custom-amount{max-width:100%}}

@media(max-width:700px){.page-heading>div,.capture-case-header>div{min-width:0}.page-heading h1,.page-heading p,.capture-case-header small,.panel strong,.mobile-account span{overflow-wrap:anywhere}.invoice-layout>*,.case-layout>*,.directory-layout>*{min-width:0}}

.discount-highlight{background:#eaf4fc;border:2px solid #0369a4}.discount-highlight strong{color:#035680}.billing-table .discount-column{background:#eaf4fc;color:#035680}.billing-table td.discount-column strong{font-size:15px;font-weight:750}.billing-table th.discount-column{border-bottom:2px solid #0369a4}

.billing-table td.discount-none strong{font-size:12px;font-weight:500;color:var(--muted)}.kpi.discount-none strong{font-size:22px;color:var(--muted)}

.capture-assignment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.capture-assignment-card{min-width:0;background:#f4f8fa;padding:10px;border-radius:12px}.capture-assignment-card img{width:100%;height:130px;object-fit:contain;border-radius:8px}.capture-assignment-card span{display:block;font-size:12px;overflow-wrap:anywhere;margin:8px 0}.capture-assignment-card select{width:100%;min-width:0}#capture-bulk-upload{padding-bottom:20px;border-bottom:1px solid var(--line)}

.text-template-picker{margin-top:10px;display:flex;flex-wrap:wrap;gap:8px}.text-template-picker select{width:100%;min-width:0}.text-template-picker p{width:100%;margin:0}

.estimate-filter label{flex:1;min-width:180px}.estimate-report-table small{display:block;color:var(--muted);margin-top:4px}.estimate-row-actions{display:flex;flex-wrap:wrap;gap:12px}.estimate-delete-link{color:#a52532!important}.estimate-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.estimate-summary dt{font-size:12px;color:var(--muted)}.estimate-summary dd{margin:6px 0 0;overflow-wrap:anywhere;font-weight:600}.estimate-fee{font-size:30px;font-weight:700;margin:12px 0}.estimate-upload-form{max-width:850px}.estimate-upload-form>label{margin-top:22px}.estimate-upload-form>input{margin-bottom:8px}@media(max-width:600px){.estimate-summary{grid-template-columns:1fr;gap:12px}.estimate-row-actions{gap:16px}}
