.app-eyebrow { display: inline-block; color: var(--app-primary-hover); font-size: 0.72rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; }
.foundation-hero .app-eyebrow, .auth-showcase .app-eyebrow { color: #93c5fd; }
.btn { min-height: 2.7rem; border-radius: var(--app-radius-sm); font-weight: 650; }
.btn-app-primary { color: var(--app-primary-contrast); background: var(--app-primary); border-color: var(--app-primary); }
.btn-app-primary:hover, .btn-app-primary:focus { color: var(--app-primary-contrast); background: var(--app-primary-hover); border-color: var(--app-primary-hover); }
.btn-app-secondary { color: var(--app-ink); background: var(--app-surface); border: 1px solid var(--app-border); }
.foundation-hero .btn-app-secondary { color: #edf4f8; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); }
.app-icon-button { display: inline-grid; width: 2.6rem; height: 2.6rem; place-items: center; padding: 0; color: var(--app-ink); background: var(--app-surface); border: 1px solid var(--app-border); border-radius: var(--app-radius-sm); }
.app-notification-button { position: relative; }
.app-notification-button.is-unread { color: var(--app-primary-contrast); background: var(--app-primary); border-color: var(--app-primary); animation: app-notification-pulse 1.25s ease-in-out infinite; }
.app-notification-count { position: absolute; top: -0.38rem; right: -0.42rem; display: grid; min-width: 1.2rem; height: 1.2rem; padding: 0 0.28rem; place-items: center; color: #fff; background: var(--app-danger); border: 2px solid var(--app-surface); border-radius: 999px; font-size: 0.66rem; font-weight: 800; line-height: 1; }
@keyframes app-notification-pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--app-primary) 55%, transparent); transform: rotate(0); } 42% { box-shadow: 0 0 0 0.5rem color-mix(in srgb, var(--app-primary) 0%, transparent); transform: rotate(-8deg); } 58% { transform: rotate(8deg); } }
.app-sidebar .app-icon-button { color: var(--app-sidebar-text); background: transparent; border-color: rgba(255, 255, 255, 0.16); }
.app-company-switcher { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.6rem; padding: 0.35rem 0.75rem; color: var(--app-muted); background: var(--app-surface); border: 1px solid var(--app-border); border-radius: var(--app-radius-sm); font-size: 0.82rem; }
.app-company-icon { color: var(--app-primary-hover); }
.app-user-avatar { display: inline-grid; width: 2.55rem; height: 2.55rem; place-items: center; color: var(--app-primary-contrast); background: var(--app-primary); border-radius: 50%; font-size: 0.75rem; font-weight: 800; }
.app-card { background: var(--app-surface); border: 1px solid var(--app-border); border-radius: var(--app-radius-md); box-shadow: var(--app-shadow-sm); }
.app-card-narrow { width: min(100%, 47.5rem); }
.app-card-readable { width: min(100%, 45rem); margin-inline: auto; }
.app-card-wide { width: min(100%, 68.75rem); margin-inline: auto; }
.app-page-header { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--app-space-4); }
.app-page-header > div { min-width: 0; flex: 1 1 18rem; }
@media (max-width: 575.98px) { .app-page-header { flex-direction: column; }.app-page-header > .btn, .app-page-header > .app-header-actions { width: 100%; } }
.app-card-header { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.25rem 0; }
.app-card-header > div { min-width: 0; flex: 1 1 16rem; }
.app-card-header h1, .app-card-header h2, .app-card-header p { overflow-wrap: anywhere; }
.app-card-header h2 { margin: 0.25rem 0 0; font-size: 1.15rem; }
.app-card-body { padding: 1.25rem; }
.app-header-actions,
.app-form-actions,
.app-inline-actions,
.app-row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--app-space-3);
}
.app-header-actions { flex: 0 1 auto; justify-content: flex-end; }
.app-card-header > .app-header-actions { min-width: 0; flex: 0 1 auto; }
.app-form-actions { justify-content: flex-end; padding-top: var(--app-space-1); }
.app-form-actions .btn { min-width: 8.5rem; }
.app-inline-actions { justify-content: flex-start; }
.app-row-actions { justify-content: flex-end; }
.app-row-actions form { margin: 0; }
@media (max-width: 575.98px) {
  .app-header-actions,
  .app-form-actions { width: 100%; }
  .app-header-actions .btn { flex: 1 1 auto; }
  .app-form-actions { align-items: stretch; flex-direction: column; }
  .app-form-actions > .btn,
  .app-form-actions > form,
  .app-form-actions > form > .btn { width: 100%; min-width: 0; }
}
.app-list-card .app-card-header h1 { margin: 0.35rem 0 0.45rem; font-size: clamp(1.75rem, 3vw, 2.35rem); letter-spacing: -0.04em; }.app-list-header-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.65rem; }.app-list-toolbar { display: grid; grid-template-columns: minmax(15rem, 1.5fr) minmax(12rem, 0.85fr) minmax(12rem, 0.85fr) max-content; align-items: start; gap: 0.85rem; padding: 1rem; margin: 0 0 1.25rem; background: var(--app-surface-muted); border: 1px solid var(--app-border); border-radius: var(--app-radius-md); }.app-list-filter { min-width: 0; }.app-list-toolbar .form-text { min-height: 1.25rem; margin-top: 0.38rem; color: var(--app-muted); font-size: 0.78rem; line-height: 1.35; }.app-list-search-input { position: relative; }.app-list-search-input > i { position: absolute; z-index: 1; top: 50%; left: 0.85rem; color: var(--app-muted); transform: translateY(-50%); }.app-list-search-input .form-control { padding-left: 2.4rem; }.app-list-filter-action { display: grid; justify-items: stretch; gap: 0.35rem; align-self: start; min-width: 9.75rem; }.app-list-filter-action .btn { min-height: 2.75rem; white-space: nowrap; }.app-list-clear { justify-self: center; color: var(--app-muted); font-size: 0.78rem; }.app-list-clear:hover { color: var(--app-primary-hover); }
.app-list-toolbar-simple { grid-template-columns: minmax(15rem, 1fr) max-content; }
@media (max-width: 1100px) { .app-list-toolbar { grid-template-columns: minmax(14rem, 1.25fr) minmax(11rem, 0.8fr) minmax(11rem, 0.8fr); }.app-list-filter-action { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; }.app-list-clear { justify-self: auto; } }@media (max-width: 767.98px) { .app-card-header, .app-list-header-actions { align-items: stretch; }.app-card-header { flex-direction: column; }.app-card-header > div { width: 100%; flex-basis: auto; }.app-card-header > .btn { width: 100%; }.app-list-header-actions .btn { flex: 1 1 auto; }.app-list-toolbar { grid-template-columns: 1fr; padding: 0.85rem; }.app-list-filter-action { grid-column: auto; width: 100%; }.app-list-filter-action .btn { width: 100%; }.app-list-clear { margin-top: 0.15rem; } }
.app-toast-container { position: fixed; z-index: 1100; top: 1rem; right: 1rem; display: grid; gap: 0.75rem; width: min(calc(100% - 2rem), 26rem); }
.app-alert { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.9rem 1rem; color: var(--app-ink); background: var(--app-surface); border: 1px solid var(--app-border); border-left: 0.3rem solid var(--app-info); border-radius: var(--app-radius-sm); box-shadow: var(--app-shadow-md); }
.app-alert-success { border-left-color: var(--app-success); }.app-alert-warning { border-left-color: var(--app-warning); }.app-alert-error, .app-alert-danger { border-left-color: var(--app-danger); }
.app-alert > i { color: var(--app-info); }.app-alert-success > i { color: var(--app-success); }.app-alert-warning > i { color: var(--app-warning); }.app-alert-error > i, .app-alert-danger > i { color: var(--app-danger); }
.app-alert .btn-close { margin-left: auto; }
.app-breadcrumbs { margin-bottom: 1.25rem; }.app-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0; margin: 0; color: var(--app-muted); font-size: 0.8rem; list-style: none; }.app-breadcrumbs li:not(:last-child)::after { padding-left: 0.35rem; content: "/"; }.app-breadcrumbs a { color: inherit; }.app-breadcrumbs [aria-current="page"] { color: var(--app-ink); font-weight: 650; }
.form-control, .form-select { min-height: 2.75rem; color: var(--app-ink); background-color: var(--app-surface); border-color: var(--app-border); border-radius: var(--app-radius-sm); }.form-control:focus, .form-select:focus { color: var(--app-ink); background-color: var(--app-surface); border-color: var(--app-primary); box-shadow: 0 0 0 0.22rem rgba(37, 99, 235, 0.2); }.app-field { margin-bottom: 1rem; }.app-field .form-label { margin-bottom: 0.4rem; color: var(--app-ink-soft); font-size: 0.88rem; font-weight: 650; }.app-field .form-text { color: var(--app-muted); }.app-field-error { margin-top: 0.35rem; color: var(--app-danger); font-size: 0.82rem; }.app-field.has-error .form-control, .app-field.has-error .form-select { border-color: var(--app-danger); }
.app-upload-control { position: relative; }.app-upload-control .app-upload-icon { position: absolute; z-index: 1; top: 50%; left: 0.85rem; display: grid; place-items: center; color: var(--app-primary); pointer-events: none; transform: translateY(-50%); }.app-upload-control input[type="file"] { box-sizing: border-box; width: 100%; min-height: 3rem; padding: 0.32rem 0.4rem 0.32rem 2.45rem; overflow: hidden; color: var(--app-muted); text-overflow: ellipsis; white-space: nowrap; background: var(--app-surface-muted); border: 1px dashed var(--app-border-strong, var(--app-border)); border-radius: var(--app-radius-sm); cursor: pointer; }.app-upload-control input[type="file"]::file-selector-button { min-height: 2.2rem; padding: 0.4rem 0.75rem; margin-right: 0.75rem; color: var(--app-primary-hover); font-weight: 650; background: var(--app-surface); border: 1px solid var(--app-border); border-radius: calc(var(--app-radius-sm) - 0.18rem); cursor: pointer; }.app-upload-control input[type="file"]:hover { border-color: var(--app-primary); }.app-upload-control input[type="file"]:focus-visible { border-color: var(--app-primary); outline: 0; box-shadow: 0 0 0 0.22rem rgba(37, 99, 235, 0.2); }.app-upload-status { display: flex; align-items: center; gap: 0.4rem; min-width: 0; margin-top: 0.45rem; color: var(--app-muted); font-size: 0.78rem; line-height: 1.35; }.app-upload-status > i { flex: 0 0 auto; }.app-upload-status span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.app-upload-field.has-file .app-upload-status { color: var(--app-success); }.app-upload-field.has-file .app-upload-status > i { color: var(--app-success); }.app-upload-field.has-error .app-upload-control input[type="file"] { border-color: var(--app-danger); }.app-upload-field.has-error .app-upload-status { color: var(--app-danger); }@media (max-width: 575.98px) { .app-upload-control .app-upload-icon { display: none; }.app-upload-control input[type="file"] { padding-left: 0.4rem; }.app-upload-control input[type="file"]::file-selector-button { display: inline-block; width: auto; margin-right: 0.55rem; } }
.app-quote-item-form { display: grid; gap: 1rem; }.app-quote-item-form .app-field { margin-bottom: 0; }.app-quote-item-primary { display: grid; grid-template-columns: minmax(15rem, 0.8fr) minmax(0, 1.7fr); gap: 1rem; align-items: start; }.app-quote-item-financial { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }.app-quote-item-actions { display: flex; justify-content: flex-end; padding-top: 0.15rem; border-top: 1px solid var(--app-border); }.app-quote-item-actions .btn { min-width: 10rem; }@media (max-width: 1100px) { .app-quote-item-financial { grid-template-columns: repeat(2, minmax(0, 1fr)); } }@media (max-width: 767.98px) { .app-quote-item-primary, .app-quote-item-financial { grid-template-columns: 1fr; }.app-quote-item-actions { justify-content: stretch; }.app-quote-item-actions .btn { width: 100%; } }
.app-quote-fee-empty { margin: 0 0 1rem; }.app-quote-fee-form { display: grid; grid-template-columns: minmax(0, 52rem) max-content; align-items: end; gap: 1rem; }.app-quote-fee-form .app-field { margin: 0; }.app-quote-fee-control { min-width: 0; }.app-quote-fee-action { display: flex; align-items: end; }.app-quote-fee-action .btn { white-space: nowrap; }@media (max-width: 767.98px) { .app-quote-fee-form { grid-template-columns: 1fr; }.app-quote-fee-action, .app-quote-fee-action .btn { width: 100%; } }
.brand-logo, .app-company-logo, .dashboard-welcome-logo, .app-company-logo-preview, .app-public-quote-logo, .app-public-result-logo { display: block; box-sizing: border-box; object-fit: contain; object-position: center; background: var(--app-surface-muted); border: 1px solid var(--app-border); filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.72)) drop-shadow(0 -1px 1px rgba(15, 23, 42, 0.5)); }.brand-logo { width: 2.5rem; height: 2.5rem; flex: 0 0 2.5rem; padding: 0.18rem; background: transparent; border-color: rgba(255, 255, 255, 0.2); border-radius: 0.75rem; box-shadow: none; }.app-company-logo { width: 1.5rem; height: 1.5rem; flex: 0 0 1.5rem; padding: 0.1rem; border-radius: 0.4rem; }.app-company-logo-preview { width: 7rem; height: 7rem; padding: 0.45rem; margin: 0 0 0.75rem; border-radius: var(--app-radius-sm); }.app-public-quote-brand { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }.app-public-quote-logo, .app-public-quote-mark, .app-public-result-logo { width: 4.5rem; height: 4.5rem; flex: 0 0 4.5rem; padding: 0.45rem; border-radius: 1rem; }.app-public-quote-mark { display: grid; place-items: center; color: var(--app-primary-hover); background: var(--app-surface-muted); border: 1px solid var(--app-border); font-size: 1.75rem; }.app-public-quote-brand h1 { margin: 0.2rem 0; font-size: 1.4rem; }.app-public-result { text-align: center; }.app-public-result-logo { margin: 0 auto 1rem; }
.app-empty-state { padding: 3rem 1.5rem; text-align: center; background: var(--app-surface); border: 1px dashed var(--app-border); border-radius: var(--app-radius-lg); }.app-empty-icon, .app-empty-state-icon { display: inline-grid; width: 3.75rem; height: 3.75rem; place-items: center; color: var(--app-primary-hover); background: color-mix(in srgb, var(--app-primary) 20%, var(--app-surface)); border-radius: 1rem; font-size: 1.5rem; }.app-empty-state h2, .app-empty-state h3 { margin: 1rem 0 0.4rem; font-size: 1.15rem; }.app-empty-state p { max-width: 32rem; margin: 0 auto; color: var(--app-muted); }
.app-error-card { max-width: 42rem; }
.app-table-wrap { background: var(--app-surface); border: 1px solid var(--app-border); border-radius: var(--app-radius-md); box-shadow: var(--app-shadow-sm); }.app-table { --bs-table-bg: transparent; --bs-table-color: var(--app-ink); --bs-table-border-color: var(--app-border); }.app-table > :not(caption) > * > * { padding: 0.9rem 1rem; }.app-table thead th { color: var(--app-muted); background: var(--app-surface-muted); font-size: 0.73rem; letter-spacing: 0.05em; text-transform: uppercase; }.app-table tbody tr:hover > * { background: color-mix(in srgb, var(--app-primary) 6%, var(--app-surface)); }
@media (max-width: 767.98px) { .app-table-wrap.table-responsive { overflow: visible; }.app-table { display: block; width: 100%; }.app-table caption { display: block; }.app-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }.app-table tbody { display: grid; gap: 0.75rem; }.app-table .app-table-card-row { display: grid; gap: 0; padding: 0.2rem 1rem; background: var(--app-surface); border: 1px solid var(--app-border); border-radius: var(--app-radius-sm); box-shadow: 0 0.25rem 0.75rem color-mix(in srgb, var(--app-ink) 5%, transparent); }.app-table .app-table-card-row > td, .app-table .app-table-card-row > th { display: grid; grid-template-columns: minmax(6.75rem, 0.7fr) minmax(0, 1.3fr); gap: 0.75rem; align-items: start; padding: 0.75rem 0; color: var(--app-ink); text-align: left !important; border: 0; border-bottom: 1px solid var(--app-border); }.app-table .app-table-card-row > td:last-child, .app-table .app-table-card-row > th:last-child { border-bottom: 0; }.app-table .app-table-card-row > td::before, .app-table .app-table-card-row > th::before { color: var(--app-muted); font-size: 0.7rem; font-weight: 750; letter-spacing: 0.05em; text-transform: uppercase; content: attr(data-label); }.app-table .app-table-card-row > .app-table-action-cell { display: flex; flex-wrap: wrap; grid-template-columns: none; align-items: center; gap: 0.5rem; }.app-table .app-table-card-row > .app-table-action-cell::before { flex: 0 0 6.75rem; }.app-table .app-table-card-row > .app-table-action-cell .btn, .app-table .app-table-card-row > .app-table-action-cell > a:not(.btn) { flex: 1 1 auto; }.app-table .app-table-card-row > .app-table-action-cell form { flex: 1 1 auto; }.app-table .app-table-card-row > .app-table-action-cell form .btn { width: 100%; }.app-table .app-table-empty-row { display: block; padding: 1rem; text-align: center; background: var(--app-surface-muted); border-radius: var(--app-radius-sm); }.app-table .app-table-empty-row > td { display: block; padding: 0; border: 0; } }
.app-pagination { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; margin-top: 1rem; color: var(--app-muted); border-top: 1px solid var(--app-border); font-size: 0.83rem; }.app-pagination-summary { margin: 0; }.app-pagination .pagination { display: flex; gap: 0.4rem; }.app-pagination .page-link { display: inline-grid; width: 2.75rem; height: 2.75rem; place-items: center; padding: 0; color: var(--app-ink); background: var(--app-surface); border: 1px solid var(--app-border); border-radius: var(--app-radius-sm); }.app-pagination .page-link:hover, .app-pagination .page-link:focus-visible { color: var(--app-primary-hover); border-color: var(--app-primary); box-shadow: var(--app-shadow-focus); }.app-pagination .page-item.disabled .page-link { color: var(--app-muted); background: var(--app-surface-muted); opacity: 0.55; }@media (max-width: 575.98px) { .app-pagination { align-items: stretch; flex-direction: column; }.app-pagination-summary { text-align: center; }.app-pagination .pagination { justify-content: space-between; }.app-pagination .page-item:first-child, .app-pagination .page-item:last-child { flex: 1; }.app-pagination .page-link { width: 100%; } }
.app-modal { color: var(--app-ink); background: var(--app-surface); border-color: var(--app-border); border-radius: var(--app-radius-md); }.app-modal .modal-header, .app-modal .modal-footer { border-color: var(--app-border); }.app-modal .modal-footer { justify-content: flex-end; gap: var(--app-space-3); }
.app-timeline { display: grid; gap: 1.25rem; padding: 0; margin: 0; list-style: none; }.app-timeline li { position: relative; display: flex; gap: 0.85rem; }.app-timeline li:not(:last-child)::before { position: absolute; top: 2.25rem; left: 1.1rem; width: 1px; height: calc(100% + 0.15rem); background: var(--app-border); content: ""; }.app-timeline-marker { position: relative; z-index: 1; display: inline-grid; flex: 0 0 auto; width: 2.25rem; height: 2.25rem; place-items: center; color: var(--app-primary-contrast); background: var(--app-primary); border-radius: 50%; }.app-timeline p, .app-timeline small { margin: 0.2rem 0 0; color: var(--app-muted); }.app-timeline-empty { color: var(--app-muted); }
.work-order-hero { overflow: hidden; }.work-order-hero-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }.work-order-hero h1 { margin: 0.3rem 0 0.45rem; font-size: clamp(1.8rem, 4vw, 2.7rem); letter-spacing: -0.045em; }.work-order-hero-status { min-width: min(100%, 13rem); padding: 0.9rem 1rem; color: var(--app-primary-contrast); background: linear-gradient(135deg, var(--app-primary), var(--app-primary-hover)); border-radius: var(--app-radius-md); }.work-order-hero-status span, .work-order-hero-status small { display: block; opacity: 0.82; font-size: 0.75rem; }.work-order-hero-status strong { display: block; margin: 0.18rem 0; font-size: 1rem; }.work-order-briefing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 1.1rem 0; margin: 1.25rem 0; border-top: 1px solid var(--app-border); border-bottom: 1px solid var(--app-border); }.work-order-briefing strong { color: var(--app-ink-soft); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }.work-order-briefing p { margin: 0.35rem 0 0; color: var(--app-muted); white-space: pre-line; }.work-order-control-card { border-color: color-mix(in srgb, var(--app-primary) 28%, var(--app-border)); }.work-order-action-callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; background: color-mix(in srgb, var(--app-primary) 7%, var(--app-surface)); border: 1px solid color-mix(in srgb, var(--app-primary) 20%, var(--app-border)); border-radius: var(--app-radius-sm); }.work-order-action-callout p { margin: 0.2rem 0 0; color: var(--app-muted); }.work-order-subsection { padding-top: 1.25rem; margin-top: 1.25rem; border-top: 1px solid var(--app-border); }.work-order-subsection-heading { display: flex; gap: 0.7rem; margin-bottom: 1rem; }.work-order-subsection-heading > i { color: var(--app-primary); font-size: 1.35rem; }.work-order-subsection-heading h3 { margin: 0; font-size: 1rem; }.work-order-subsection-heading p { margin: 0.2rem 0 0; color: var(--app-muted); font-size: 0.88rem; }.work-order-occurrence { border-color: var(--app-warning); }.work-order-responsible { display: flex; align-items: center; gap: 0.75rem; }.work-order-responsible .app-user-avatar { flex: 0 0 auto; }.work-order-responsible small { display: block; margin-top: 0.15rem; color: var(--app-muted); }.work-order-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 20rem)); gap: 0.9rem; }.work-order-photo-button, .work-order-signature-button { display: grid; width: 100%; padding: 0; overflow: hidden; color: var(--app-ink); text-align: left; background: var(--app-surface-muted); border: 1px solid var(--app-border); border-radius: var(--app-radius-sm); cursor: zoom-in; }.work-order-photo-button img { width: 100%; height: 10rem; object-fit: cover; }.work-order-photo-button span { padding: 0.6rem 0.7rem; overflow: hidden; font-size: 0.78rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }.work-order-photo-button:hover, .work-order-photo-button:focus-visible, .work-order-signature-button:hover, .work-order-signature-button:focus-visible { border-color: var(--app-primary); box-shadow: 0 0 0 0.22rem color-mix(in srgb, var(--app-primary) 20%, transparent); outline: 0; }.work-order-signature-button img { display: block; width: 100%; max-height: 11rem; object-fit: contain; background: #fff; }.work-order-history-card .app-timeline { max-width: 70rem; }.work-order-photo-dialog { width: min(92vw, 68rem); max-height: 92vh; padding: 0; color: var(--app-ink); background: var(--app-surface); border: 1px solid var(--app-border); border-radius: var(--app-radius-md); box-shadow: var(--app-shadow-md); }.work-order-photo-dialog::backdrop { background: rgba(15, 23, 42, 0.72); }.work-order-photo-dialog-header, .work-order-photo-dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 1rem; border-bottom: 1px solid var(--app-border); }.work-order-photo-dialog-footer { justify-content: flex-end; border-top: 1px solid var(--app-border); border-bottom: 0; }.work-order-photo-dialog > img { display: block; width: 100%; max-height: calc(92vh - 9rem); object-fit: contain; background: #0f172a; }
 .work-order-evidence-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(20rem, 0.85fr); gap: 1.5rem; align-items: start; }.work-order-evidence-gallery { min-width: 0; }.work-order-evidence-capture { padding: 1.1rem; background: var(--app-surface-muted); border: 1px solid var(--app-border); border-radius: var(--app-radius-sm); }.work-order-evidence-capture .app-field:last-child { margin-bottom: 0; }.work-order-signature-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(13rem, 20rem); gap: 1rem; align-items: center; padding: 1rem; margin-top: 1rem; background: var(--app-surface-muted); border: 1px solid var(--app-border); border-radius: var(--app-radius-sm); }.work-order-signature-panel p { margin: 0.2rem 0 0; color: var(--app-muted); }.work-order-history-card .app-timeline { max-width: 70rem; }
@media (max-width: 991.98px) { .work-order-evidence-layout, .work-order-signature-panel { grid-template-columns: 1fr; } }
@media (max-width: 767.98px) { .work-order-hero-status { width: 100%; }.work-order-briefing { grid-template-columns: 1fr; }.work-order-action-callout .btn { width: 100%; }.work-order-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }.work-order-photo-button img { height: 5.8rem; }.work-order-photo-button span { display: none; } }
@media (max-width: 767.98px) {
  .app-table .app-table-card-row > td,
  .app-table .app-table-card-row > th,
  .app-table .app-table-card-row > td > *,
  .app-table .app-table-card-row > th > * {
    min-width: 0;
  }

  .app-table .app-table-card-row strong,
  .app-table .app-table-card-row small,
  .app-table .app-table-card-row a:not(.btn) {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }

.app-primary-company-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(13rem, 1fr) minmax(23rem, 0.9fr);
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  overflow: hidden;
  background: linear-gradient(135deg, color-mix(in srgb, var(--app-primary) 7%, var(--app-surface)), var(--app-surface) 68%);
  border-color: color-mix(in srgb, var(--app-primary) 24%, var(--app-border));
}

.app-primary-company-card::after {
  position: absolute;
  top: -3.5rem;
  right: -3.5rem;
  width: 8rem;
  height: 8rem;
  background: color-mix(in srgb, var(--app-primary) 8%, transparent);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.app-primary-company-card > * {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.app-primary-company-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  color: var(--app-primary-hover);
  background: var(--app-surface);
  border: 1px solid color-mix(in srgb, var(--app-primary) 18%, var(--app-border));
  border-radius: 0.85rem;
  box-shadow: var(--app-shadow-sm);
  font-size: 1.15rem;
}

.app-primary-company-copy h2 {
  margin: 0.18rem 0 0.28rem;
  font-size: 1.05rem;
}

.app-primary-company-copy p {
  margin: 0;
  color: var(--app-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.app-primary-company-current {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  padding: 0.32rem 0.55rem;
  margin-top: 0.65rem;
  color: var(--app-primary-hover);
  background: color-mix(in srgb, var(--app-primary) 9%, var(--app-surface));
  border: 1px solid color-mix(in srgb, var(--app-primary) 18%, var(--app-border));
  border-radius: 999px;
  font-size: 0.72rem;
}

.app-primary-company-current strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-primary-company-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.65rem;
}

.app-primary-company-field {
  min-width: 0;
}

.app-primary-company-field .form-label {
  margin-bottom: 0.38rem;
  color: var(--app-ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.app-primary-company-select {
  position: relative;
}

.app-primary-company-select > i {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 0.85rem;
  color: var(--app-primary);
  pointer-events: none;
  transform: translateY(-50%);
}

.app-primary-company-select .form-select {
  width: 100%;
  min-height: 2.8rem;
  padding-left: 2.45rem;
  background-color: var(--app-surface);
}

.app-primary-company-field > small {
  display: block;
  margin-top: 0.35rem;
  color: var(--app-muted);
  font-size: 0.7rem;
  line-height: 1.35;
}

.app-primary-company-form .btn {
  min-height: 2.8rem;
  white-space: nowrap;
}

@media (max-width: 1199.98px) {
  .app-primary-company-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .app-primary-company-form {
    grid-column: 1 / -1;
    padding-top: 0.2rem;
  }
}

@media (max-width: 575.98px) {
  .app-primary-company-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 1rem;
  }

  .app-primary-company-icon {
    display: none;
  }

  .app-primary-company-form {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .app-primary-company-form .btn {
    width: 100%;
  }
}
