.urom-bottom{position:sticky;bottom:0;padding:14px;background:var(--color-base-50,#fff);border-top:1px solid #cbd5e1;display:flex;gap:12px;z-index:20}.urom-button{background:#0f766e;color:#fff!important;border-radius:8px;padding:11px 22px;font-weight:600}.dark .urom-bottom{background:#111827}input,select,textarea{min-height:42px}details>summary{cursor:pointer}td a{font-weight:500}
.t1-expand{display:flex;gap:8px;align-items:center;text-align:left}.t1-chevron{color:#0f766e}.t1-expanded-row td{background:#f1f5f9}.dark .t1-expanded-row td{background:#111827}

.urom-price th,.urom-price td{padding:12px;text-align:left;border-bottom:1px solid #cbd5e1}
.urom-price form p{margin:16px 0}.urom-price label{display:block;font-weight:600;margin-bottom:6px}
.urom-price input:not([type=hidden]):not([type=checkbox]),.urom-price textarea{width:100%;max-width:560px;padding:10px;border:1px solid #94a3b8;border-radius:8px;background:transparent}
.urom-price .errorlist{color:#b91c1c}

.urom-price input[type=checkbox]{width:18px;min-height:18px;vertical-align:middle;margin-right:8px}
.urom-icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;display:inline-block}
.urom-icon-button{display:inline-flex!important;align-items:center;justify-content:center;width:44px!important;min-width:44px;height:44px;min-height:44px;padding:0!important;border:1px solid #cbd5e1;border-radius:9px;color:#475569;background:transparent;vertical-align:middle;flex:none;cursor:pointer}
.urom-icon-button:hover,.urom-icon-button:focus-visible{color:#0f766e;background:#ecfdf5;border-color:#0f766e}
.urom-icon-button:focus-visible{outline:2px solid #0f766e;outline-offset:2px}
.urom-icon-button.urom-danger{color:#be123c}.urom-icon-button.urom-danger:hover{background:#fff1f2;border-color:#be123c}
.urom-record-head,.urom-tree-record>summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:48px}
.urom-row-actions{display:inline-flex;gap:6px;margin-left:8px;flex:none}
.t1-expand{gap:8px;min-height:44px;font-weight:500}.t1-chevron,.urom-chevron{display:inline-flex;color:#0f766e;flex:none;transition:transform .15s}
.t1-record-label{min-height:44px;text-align:left;font-weight:500;cursor:pointer}
.t1-expand[aria-expanded="true"] .t1-chevron,details[open]>.urom-chevron,details[open]>summary>.urom-chevron{transform:rotate(90deg)}
:root{--urom-tree-indent:32px;--urom-tree-guide:#cbd5e1}
.urom-child-group{padding:4px 0;margin:6px 0}
.t1-expanded-row>td>div>.t1-child-content{padding-left:calc(12px + var(--urom-tree-indent))}
.urom-child-group>summary{display:flex;align-items:center;gap:8px;min-height:44px;list-style:none}
.urom-tree-record>summary{list-style:none}.urom-child-group>summary::-webkit-details-marker,.urom-tree-record>summary::-webkit-details-marker{display:none}
.urom-group-content{margin-left:var(--urom-tree-indent);padding:4px 0 8px}
/* Center the first 44px action below the parent's 32px collapse control. */
.urom-group-content>.urom-toolbar{margin-left:calc(23px - var(--urom-tree-indent));padding-left:0}
.urom-group-content>.urom-child-search{margin-left:calc(23px - var(--urom-tree-indent))}
.urom-tree-record>.t1-child-content{margin-left:var(--urom-tree-indent)}
.urom-tree-branch{position:relative}
.urom-tree-guides{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;fill:none;color:var(--urom-tree-guide)}
.urom-tree-guides path{stroke:currentColor;stroke-width:1;vector-effect:non-scaling-stroke}
.urom-tree-item{border-bottom:1px solid #e2e8f0;padding:4px 0}
.dark{--urom-tree-guide:#475569}
.urom-group-add{padding:10px 0 2px}.urom-empty{color:#64748b;padding:12px 0}
.urom-price-link{color:#0f766e;font-weight:600}.urom-error{color:#be123c;margin:16px 0}
.dark .urom-icon-button{border-color:#475569;color:#e2e8f0}.dark .urom-icon-button:hover{background:#134e4a}.dark .urom-icon-button.urom-danger{color:#fb7185}
#submit-row>div>div.flex{flex-direction:row!important;flex-wrap:wrap;justify-content:flex-end}
#urom-form-cancel{margin-left:12px}

#submit-row .flex>div.mr-auto{margin-right:0!important;width:auto!important;flex-direction:row!important}

.urom-toolbar,.urom-list-toolbar,.urom-form-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 0}
.urom-form-toolbar{position:sticky;top:0;z-index:30;margin-bottom:16px;border-bottom:1px solid #e2e8f0;background:var(--color-base-50,#fff)}
.dark .urom-form-toolbar{background:#111827}
.urom-list-toolbar{position:relative;z-index:1;background:var(--color-base-50,#fff);padding:8px 12px;border:1px solid #e2e8f0}
.dark .urom-list-toolbar{background:#111827}
.urom-record-head>.urom-row-actions,.urom-tree-record>summary>.urom-row-actions{margin-left:auto;justify-content:flex-end}
#result_list>tbody>tr:not(.t1-expanded-row)>td:last-child{white-space:nowrap;text-align:right;width:1%}
#result_list>tbody>tr:not(.t1-expanded-row)>td:last-child>.urom-row-actions{margin:0;justify-content:flex-end}
.urom-child-search{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;margin:8px 0 12px;padding:12px;border:1px solid #cbd5e1;border-radius:8px}
.urom-child-search[hidden]{display:none!important}
.urom-child-search label{display:flex;flex-direction:column;gap:4px;font-size:13px}
.urom-child-search input,.urom-child-search select{padding:8px;border:1px solid #94a3b8;border-radius:6px;background:transparent;max-width:100%}
.urom-child-search input{width:280px}
.urom-child-results[aria-busy=true]{opacity:.55}
@media(max-width:640px){:root{--urom-tree-indent:24px}.urom-child-search input{width:200px}.urom-row-actions{gap:4px}}

.urom-child-scroll{overflow-x:auto}
.urom-child-grid{display:grid!important;grid-template-columns:var(--urom-grid-columns);gap:12px;align-items:center;min-width:var(--urom-grid-minwidth)}
.urom-child-primary{display:flex;align-items:center;gap:8px;min-width:160px}
.urom-child-cell{min-width:150px;overflow-wrap:anywhere}
.urom-child-heading{font-size:13px;font-weight:600;padding:12px 0;border-bottom:1px solid #cbd5e1}
.urom-child-heading-expandable>span:first-child{padding-left:69px}
.urom-child-grid>.urom-row-actions{margin-left:0!important;justify-content:flex-end}
.urom-date-line{display:block;white-space:nowrap}
.urom-boolean{display:inline-flex;color:#0f766e}
.urom-price select{min-height:44px;max-width:100%;padding:8px;border:1px solid #94a3b8;border-radius:8px;background:transparent}.urom-delete-reason{display:block;color:#64748b;font-size:12px;max-width:280px;white-space:normal}

.urom-child-results{min-width:var(--urom-grid-minwidth)}
.urom-tree-record[open]>summary>.urom-child-primary>.urom-chevron{transform:rotate(90deg)}

.urom-bulk-action{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #cbd5e1;border-radius:8px;font-weight:600;white-space:normal}.urom-assignment h1{font-size:22px;font-weight:700}.urom-assignment p{margin:12px 0}.urom-assignment-row{display:flex;align-items:center;gap:12px;padding:12px 8px;border-bottom:1px solid #e2e8f0}.urom-assignment-row input{width:20px;height:20px;flex-shrink:0}.urom-assignment-row span{font-size:13px}.urom-assignment-dates{display:flex;flex-wrap:wrap;gap:16px;margin:16px 0}.urom-assignment-dates>div{display:flex;flex-direction:column;gap:6px}.urom-assignment-dates input{padding:8px;border:1px solid #cbd5e1;border-radius:6px}.urom-assignment-feedback{color:#15803d;margin:8px 0}

body>div:has(>#modal-content>iframe[name="own-plates"]),body>div:has(>#modal-content>iframe[name="password-change"]){padding:24px}

.urom-password-summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.urom-password-summary [role="status"]{color:#15803d}.urom-password-change form p{display:flex;flex-direction:column;gap:8px;margin:20px 0}.urom-password-change input[type="password"]{width:100%;max-width:100%;box-sizing:border-box}.urom-password-change ul.errorlist{color:#be123c}

.urom-trip-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%;max-width:1100px}.urom-trip-photos figure{min-width:0;margin:0}.urom-trip-photos figcaption{font-weight:600;margin-bottom:8px}.urom-trip-photos img{display:block;width:100%;height:auto;border-radius:8px}.urom-trip-photos a{display:block}.app-business.model-trip.change-form .field-trip_photos .readonly{width:100%}@media(max-width:640px){.urom-trip-photos{grid-template-columns:1fr}}
.urom-test-business-note{padding:10px 14px;margin:12px 0;background:#fef3c7;color:#78350f;border-radius:8px;font-size:14px}

.urom-attachments{padding:16px;margin:16px 0;border:1px solid #cbd5e1;border-radius:8px}.urom-attachments h2{font-size:17px;font-weight:600}.urom-attachment-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,320px));gap:16px}.urom-attachment-grid figure{margin:0;min-width:0}.urom-attachment-grid img{width:100%;height:200px;object-fit:contain;border-radius:8px;background:#f1f5f9}.urom-attachment-grid figcaption{overflow-wrap:anywhere}.urom-attachment-grid small{color:#64748b}.urom-upload-page{padding:20px;max-width:900px}.urom-upload-page h1{font-size:22px;font-weight:600}.urom-upload-page form p{display:flex;flex-direction:column;gap:8px;margin:18px 0}.urom-upload-page textarea{border:1px solid #94a3b8;border-radius:8px;padding:12px;width:100%}.urom-upload-page small{color:#64748b}.urom-upload-page .errorlist{color:#be123c}
.urom-collapse-button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:32px;min-width:32px;height:44px;padding:0;margin:0;border:0;border-radius:4px;background:transparent;color:#475569;cursor:pointer;vertical-align:middle}.urom-collapse-button:hover,.urom-collapse-button:focus-visible{color:#0f766e}.urom-collapse-button:focus-visible{outline:2px solid #0f766e;outline-offset:2px}.dark .urom-collapse-button{color:#cbd5e1}.dark .urom-collapse-button:hover,.dark .urom-collapse-button:focus-visible{color:#5eead4}.urom-native-summary{display:flex;align-items:center;gap:8px}
.urom-attachment-preview{display:block;max-width:100%;max-height:400px;height:auto;border-radius:8px;margin:16px 0}.urom-icon-button:disabled{opacity:.4;cursor:not-allowed}
.urom-measurement-views{display:flex;flex-wrap:wrap;gap:8px;padding:12px}.urom-measurement-views a{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;border:1px solid #cbd5e1;border-radius:8px;color:#475569;font-weight:500;background:transparent}.urom-measurement-views a:hover{border-color:#0f766e;color:#0f766e}.urom-measurement-views a.is-active{background:#0f766e;border-color:#0f766e;color:white}.urom-measurement-hint{padding:0 12px 12px;color:#64748b;font-size:14px}.urom-measurement-issue{color:#b91c1c;font-weight:600}.dark .urom-measurement-views a{color:#cbd5e1}.dark .urom-measurement-views a.is-active{color:white}.dark .urom-measurement-issue{color:#fda4af}
@media(min-width:1024px){.model-measurement .result-list-wrapper>div>div:has(>#toolbar){margin-bottom:0;padding-bottom:12px}}
.urom-review-page{max-width:1280px;padding:20px}.urom-review-page h1{font-size:22px;font-weight:600;margin-bottom:12px}.urom-review-page h2{font-size:17px;font-weight:600;margin-bottom:12px}.urom-review-page form p{display:flex;flex-direction:column;gap:8px;margin:16px 0}.urom-review-page input:not([type=hidden]),.urom-review-page select,.urom-review-page textarea{border:1px solid #94a3b8;border-radius:6px;padding:10px;max-width:100%;width:100%}.urom-review-page .select2-container{max-width:100%;width:100%!important}.urom-review-page .errorlist,.urom-error{color:#b91c1c}.urom-review-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:16px 0}.urom-measurement-card{border:1px solid #cbd5e1;border-radius:8px;padding:16px;min-width:0}.urom-measurement-card dl{display:grid;grid-template-columns:auto 1fr;gap:6px 16px}.urom-measurement-card dt{font-weight:600}.urom-measurement-card dd{overflow-wrap:anywhere}.urom-review-photos figure{margin:12px 0}.urom-review-photos img{width:100%;height:auto;border-radius:6px}.urom-preview-button{border:1px solid #94a3b8;border-radius:6px;min-height:44px;padding:8px 16px}.urom-review-summary{background:#f0fdfa;color:#115e59;padding:12px;margin:12px 0;border-radius:6px}.urom-review-history{margin:16px 0;border:1px solid #cbd5e1;padding:12px}.urom-review-history article{padding:12px 0;border-bottom:1px solid #e2e8f0}.urom-review-history summary{cursor:pointer;font-weight:600}@media(max-width:640px){.urom-review-columns{grid-template-columns:1fr}.urom-review-page{padding:12px}.urom-measurement-card dl{grid-template-columns:1fr}.urom-measurement-card dd{margin-bottom:6px}}
.model-measurement #result_list .urom-row-actions{align-items:center;gap:8px;vertical-align:middle}

.urom-booking-filters{padding:16px;border:1px solid #e2e8f0;border-radius:8px;margin:0 0 16px}
.urom-booking-filter-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.urom-booking-filter-field{min-width:0;display:flex;flex-direction:column;gap:6px}
.urom-booking-filter-field label{font-size:13px;font-weight:600}
.urom-booking-filter-field input,.urom-booking-filter-field select{width:100%;min-height:44px;padding:8px;border:1px solid #cbd5e1;border-radius:8px;background:transparent;color:inherit;box-sizing:border-box}
.urom-booking-filter-field .select2-container{width:100%!important;min-width:0}
.urom-booking-filter-field .select2-selection{min-height:44px;border-radius:8px;background:transparent;color:inherit}
.urom-booking-filters .errorlist{color:#be123c;font-size:13px}
.urom-booking-filter-hint{font-size:13px;color:#64748b}
.urom-booking-summary{padding:20px 12px;margin-top:12px;border-top:1px solid #cbd5e1}
.urom-booking-summary h2{font-size:16px;font-weight:600}
.urom-booking-summary p{color:#64748b;font-size:13px;margin:6px 0 12px}
.urom-booking-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.urom-booking-totals>div{border:1px solid #cbd5e1;border-radius:8px;padding:16px;min-width:0}
.urom-booking-totals span,.urom-booking-totals strong,.urom-booking-totals small{display:block}
.urom-booking-totals strong{font-size:24px;font-weight:600;margin-top:6px;font-variant-numeric:tabular-nums}
.urom-booking-totals small{font-size:13px;color:#64748b;margin-top:8px}
.dark .urom-booking-filters,.dark .urom-booking-filter-field input,.dark .urom-booking-filter-field select,.dark .urom-booking-totals>div{border-color:#475569}
.dark .urom-booking-summary p,.dark .urom-booking-totals small,.dark .urom-booking-filter-hint{color:#94a3b8}
@media(max-width:1000px){.urom-booking-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.urom-booking-filter-fields,.urom-booking-totals{grid-template-columns:1fr}.urom-booking-filters{padding:12px}}

.urom-monthly-report{padding:16px;max-width:1500px;width:100%;box-sizing:border-box}
.urom-monthly-report h1{font-size:26px;font-weight:700;line-height:1.3;margin:10px 0}
.urom-monthly-report h2{font-size:18px;font-weight:600;margin:26px 0 10px}
.urom-monthly-report p{margin:8px 0}
.urom-report-muted,.urom-report-kicker,.urom-report-equation{color:#64748b;font-size:13px}
.urom-report-kicker{font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.urom-report-state{display:inline-block;padding:6px 10px;border-radius:6px;background:#dcfce7;color:#166534;font-weight:600;font-size:13px}
.urom-report-open{background:#fef3c7;color:#92400e}
.urom-report-filter{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:20px 0;padding:16px;border:1px solid #cbd5e1;border-radius:8px}
.urom-report-filter>div{display:flex;flex-direction:column;gap:6px;min-width:140px}
.urom-report-filter>div:first-child{min-width:280px;max-width:100%}
.urom-report-filter label{font-size:13px;font-weight:600}
.urom-report-filter select,.urom-report-filter input{min-height:44px;padding:8px;border:1px solid #cbd5e1;border-radius:8px;background:transparent;color:inherit;max-width:100%;box-sizing:border-box}
.urom-report-filter .select2-container{width:100%!important}
.urom-report-filter .errorlist{color:#be123c}
.urom-report-totals{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:20px}
.urom-report-totals>div{padding:16px;border:1px solid #cbd5e1;border-radius:8px;min-width:0}
.urom-report-totals span,.urom-report-totals strong{display:block}
.urom-report-totals span{font-size:13px;color:#64748b}
.urom-report-totals strong{font-size:20px;font-weight:600;margin-top:8px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.urom-report-totals .urom-report-balance{border-color:#0f766e;background:#f0fdfa}
.urom-report-scroll{overflow-x:auto;max-width:100%}
.urom-report-table{width:100%;border-collapse:collapse;font-size:13px}
.urom-report-table th,.urom-report-table td{padding:12px 10px;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:middle}
.urom-report-table th{font-weight:600;background:#f1f5f9}
.urom-report-table .number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.urom-report-details{margin:20px 0;border:1px solid #e2e8f0;border-radius:8px;padding:8px 12px}
.urom-report-details>summary{font-weight:600;cursor:pointer;min-height:44px}
.urom-report-warning{padding:12px;border:1px solid #f59e0b;background:#fffbeb;border-radius:8px;color:#92400e}
.urom-report-details li{padding:8px 0}.urom-report-details a:not(.urom-icon-button){color:#0f766e}
.dark .urom-report-filter,.dark .urom-report-totals>div,.dark .urom-report-details,.dark .urom-report-table td,.dark .urom-report-table th{border-color:#475569}
.dark .urom-report-table th{background:#1e293b}.dark .urom-report-totals .urom-report-balance{background:#134e4a}
.dark .urom-report-muted,.dark .urom-report-totals span,.dark .urom-report-equation,.dark .urom-report-kicker{color:#94a3b8}
@media(max-width:1100px){.urom-report-totals{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.urom-monthly-report{padding:8px}.urom-report-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.urom-report-totals strong{font-size:17px}.urom-report-filter>div:first-child{min-width:0;width:100%}.urom-report-filter{padding:12px}.urom-monthly-report .urom-form-toolbar{position:static}}

.urom-carrier-totals{grid-template-columns:repeat(3,minmax(0,1fr))}
.urom-carrier-level-plate{font-weight:700;background:#f1f5f9}
.urom-carrier-level-work{font-weight:600}
.urom-carrier-hierarchy .urom-carrier-level-work>td:first-child{padding-left:34px}
.urom-carrier-hierarchy .urom-carrier-level-material>td:first-child{padding-left:58px}
.dark .urom-carrier-level-plate{background:#1e293b}
@media(max-width:640px){.urom-carrier-totals{grid-template-columns:1fr}.urom-carrier-hierarchy .urom-carrier-level-work>td:first-child{padding-left:26px}.urom-carrier-hierarchy .urom-carrier-level-material>td:first-child{padding-left:42px}}
/* Office reports share compact, responsive filter controls. */
.urom-ops-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px 20px;align-items:end;padding:16px 0}
.urom-ops-filters p{margin:0!important}.urom-ops-filters label{display:block;margin-bottom:6px;font-size:13px;font-weight:600}
.urom-ops-filters input,.urom-ops-filters select{width:100%;min-height:44px;border:1px solid #cbd5e1;border-radius:8px;padding:8px;background:transparent}

/* Homepage: exactly three cards, each with daily and current-month figures. */
.urom-dashboard{padding:20px;max-width:1600px}
.urom-dashboard h1{font-size:28px;font-weight:700}
.urom-dashboard-period{color:#64748b;margin:8px 0 24px;font-size:14px}
.urom-dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.urom-dashboard-card{min-width:0;padding:24px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;box-shadow:0 2px 5px #0f172a05}
.urom-dashboard-card h2{font-size:17px;font-weight:650;margin:0 0 20px}
.urom-dashboard-card dl>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:16px 0}
.urom-dashboard-card dl>div+div{border-top:1px solid #e2e8f0}
.urom-dashboard-card dt{color:#64748b;font-size:14px}
.urom-dashboard-card dd{color:#0f766e;font-size:clamp(24px,2.2vw,34px);font-weight:700;line-height:1.3;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.urom-dashboard-card small{font-size:14px;font-weight:500;color:#64748b;white-space:nowrap}
.urom-dashboard-note{display:block;margin-top:6px;font-size:12px;font-weight:400;color:#64748b;line-height:1.5}
.dark .urom-dashboard-card{background:#111827;border-color:#334155}
.dark .urom-dashboard-card dl>div+div{border-color:#334155}
.dark .urom-dashboard-card dd{color:#5eead4}
.dark .urom-dashboard-period,.dark .urom-dashboard-card dt,.dark .urom-dashboard-card small,.dark .urom-dashboard-note{color:#94a3b8}
@media(max-width:900px){.urom-dashboard-grid{grid-template-columns:1fr}.urom-dashboard-card{padding:20px}.urom-dashboard-card dd{font-size:30px}.urom-dashboard{padding:12px}}
