.admin-grid{gap:var(--sgc-space-5);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.admin-wide{grid-column:1/-1}.admin-actions{gap:var(--sgc-space-3);flex-wrap:wrap;display:flex}.admin-filter-form{align-items:end;gap:var(--sgc-space-5);width:100%;display:flex}.admin-filter-form--audit>label{flex:1;min-width:150px}.admin-form-page>.stack-form{width:min(var(--sgc-form-max-width),100%)}.admin-empty{padding:var(--sgc-space-9);text-align:center;color:var(--sgc-color-muted)}.admin-check{gap:var(--sgc-space-4);border:1px solid var(--sgc-color-line);border-radius:var(--sgc-radius-control);background:var(--sgc-color-surface);align-items:flex-start;padding:12px;display:flex}.admin-check span{flex-direction:column;gap:3px;display:flex}.admin-check small{color:var(--sgc-color-muted)}.tag-list{gap:var(--sgc-space-2);flex-wrap:wrap;display:flex}.tag-list span{background:var(--sgc-color-background);border-radius:999px;padding:5px 9px;font-size:12px}.info-banner{background:color-mix(in srgb,var(--sgc-color-info) 9%,white);border:1px solid color-mix(in srgb,var(--sgc-color-info) 28%,white);border-radius:var(--sgc-radius-control);color:var(--sgc-color-info);padding:12px 14px}.person-autocomplete{position:relative}.person-autocomplete-options{z-index:20;border:1px solid var(--sgc-color-line);border-radius:var(--sgc-radius-control);background:var(--sgc-color-surface);max-height:18rem;box-shadow:var(--sgc-shadow-popover);position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto}.person-autocomplete-option{border:0;border-bottom:1px solid var(--sgc-color-line);width:100%;color:var(--sgc-color-text);text-align:left;cursor:pointer;background:0 0;flex-direction:column;align-items:flex-start;gap:3px;padding:11px 13px;display:flex}.person-autocomplete-option:last-child{border-bottom:0}.person-autocomplete-option:hover,.person-autocomplete-option:focus-visible{background:var(--sgc-color-background);outline:0}.person-autocomplete-option strong{color:var(--sgc-color-text-strong)}.person-autocomplete-option span,.person-autocomplete-state{color:var(--sgc-color-muted);font-size:12px}.person-autocomplete-state{padding:12px 13px}.user-create-role-grid{gap:var(--sgc-space-3);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.user-create-role-grid .admin-check{cursor:pointer;align-items:flex-start;gap:9px;margin:0;padding:10px 11px}.form-card .user-create-role-grid .admin-check>input[type=checkbox]{width:var(--sgc-checkbox-size);height:var(--sgc-checkbox-size);min-height:var(--sgc-checkbox-size);flex:0 0 var(--sgc-checkbox-size);border-radius:var(--sgc-space-1);accent-color:var(--sgc-color-gold);margin:2px 0 0;padding:0}.form-card .user-create-role-grid .admin-check>span{min-width:0}.user-create-role-hint{margin:var(--sgc-space-4) 0 0;color:var(--sgc-color-muted);font-size:12px}.admin-tabs{margin:0 0 var(--sgc-space-6);border-bottom:1px solid var(--sgc-color-line);gap:6px;display:flex;overflow-x:auto}.admin-tabs button{padding:var(--sgc-space-4) var(--sgc-space-5);color:var(--sgc-color-muted);cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;font-weight:700}.admin-tabs button.active{color:var(--sgc-color-navy);border-bottom-color:var(--sgc-color-gold)}.admin-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.admin-detail-grid>div{border:1px solid var(--sgc-color-line);border-radius:var(--sgc-radius-control);background:color-mix(in srgb,var(--sgc-color-background) 55%,white);gap:5px;padding:13px;display:grid}.admin-detail-grid span{color:var(--sgc-color-muted);font-size:12px}.admin-detail-grid strong{color:var(--sgc-color-text-strong)}.permission-groups{grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:12px;display:grid}.permission-group{border:1px solid var(--sgc-color-line);border-radius:var(--sgc-radius-section);background:color-mix(in srgb,var(--sgc-color-background) 70%,white);padding:12px}.permission-group h3{margin:0 0 9px;font-size:14px}.danger-panel{border-color:color-mix(in srgb,var(--sgc-color-danger) 30%,white)!important;background:color-mix(in srgb,var(--sgc-color-danger) 4%,white)!important}.admin-table-banner{margin:var(--sgc-space-5)}.access-review-grid{margin-top:var(--sgc-space-5);grid-template-columns:minmax(0,1fr)}.access-review-table-wrap{overflow-x:hidden}.access-review-table{table-layout:fixed;width:100%}.access-review-table th:first-child,.access-review-table td:first-child{overflow-wrap:anywhere;width:calc(100% - 8rem)}.access-review-table th.actions-cell,.access-review-table td.actions-cell{width:8rem}.resource-page .access-review-table th.actions-cell,.resource-page .access-review-table td.actions-cell{text-align:right}.organization-users-table-wrap{overflow-x:hidden}.organization-users-table{table-layout:fixed;width:100%;min-width:0!important}.organization-users-table th,.organization-users-table td{overflow-wrap:anywhere}.organization-users-table th:first-child,.organization-users-table td:first-child{width:24%}.organization-users-table th:nth-child(2),.organization-users-table td:nth-child(2){width:38%}.organization-users-table th:nth-child(3),.organization-users-table td:nth-child(3){width:16%}.organization-users-table th:nth-child(4),.organization-users-table td:nth-child(4){width:22%}.organization-users-action{white-space:normal;max-width:100%}.resource-page .organization-list-table th.actions-cell,.resource-page .organization-users-table th.actions-cell{text-align:right}.record-button{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.record-button:hover{text-underline-offset:3px;text-decoration:underline}.audit-page-size-control{align-items:center;gap:var(--sgc-space-3);white-space:nowrap;display:inline-flex!important}.audit-page-size-control>span{display:inline}.audit-page-size-control select{width:6rem;min-width:6rem}.resource-page .audit-table th.actions-cell,.resource-page .audit-table td.actions-cell{text-align:right}.audit-resource-id{color:var(--sgc-color-muted);font-size:12px}.audit-detail-button{white-space:nowrap}.audit-table-wrap{overflow-x:hidden}.audit-table{table-layout:fixed;width:100%;min-width:0!important}.audit-table th,.audit-table td{overflow-wrap:anywhere}.audit-table th:first-child,.audit-table td:first-child{white-space:nowrap;width:9.25rem}.audit-table th:nth-child(2),.audit-table td:nth-child(2){width:9rem}.audit-table th:nth-child(3),.audit-table td:nth-child(3){width:8.25rem}.audit-table th:nth-child(4),.audit-table td:nth-child(4){width:10rem}.audit-table th:nth-child(5),.audit-table td:nth-child(5){width:7.75rem}.audit-details-row>td{background:var(--sgc-color-background);padding:0!important}.audit-details{border-top:1px solid var(--sgc-color-line);padding:18px 20px 20px}.audit-detail-summary{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin-bottom:18px;display:grid}.audit-detail-summary>div{border:1px solid var(--sgc-color-line);background:var(--sgc-color-surface);border-radius:8px;flex-direction:column;gap:4px;min-width:0;padding:10px 12px;display:flex}.audit-detail-summary span{color:var(--sgc-color-muted);letter-spacing:.06em;text-transform:uppercase;font-size:10px;font-weight:800}.audit-detail-summary strong,.audit-detail-summary code{overflow-wrap:anywhere;color:var(--sgc-color-text-strong);font-size:12px}.audit-changes h3{color:var(--sgc-color-text-strong);margin:0 0 10px;font-size:13px}.audit-diff-table{background:var(--sgc-color-surface)}.audit-diff-table td{vertical-align:top;overflow-wrap:anywhere}.audit-diff-table td:first-child{width:25%;color:var(--sgc-color-text-strong);font-weight:700}.audit-no-changes{border:1px dashed var(--sgc-control-border);background:var(--sgc-color-surface);color:var(--sgc-color-muted);border-radius:8px;margin:0;padding:12px 14px;font-size:12px}@media (width<=900px){.admin-grid{grid-template-columns:1fr}.admin-wide{grid-column:auto}.admin-filter-form{flex-direction:column;align-items:stretch}.admin-filter-form>label,.admin-filter-form>button{width:100%}.admin-detail-grid{grid-template-columns:1fr}.admin-actions{flex-direction:column;align-items:stretch}.user-create-role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.access-review-table th:first-child,.access-review-table td:first-child,.access-review-table th.actions-cell,.access-review-table td.actions-cell,.organization-users-table th:first-child,.organization-users-table td:first-child,.organization-users-table th:nth-child(2),.organization-users-table td:nth-child(2),.organization-users-table th:nth-child(3),.organization-users-table td:nth-child(3),.organization-users-table th:nth-child(4),.organization-users-table td:nth-child(4){width:auto}.audit-page-size-control{width:auto!important}.audit-detail-summary{grid-template-columns:1fr}.audit-table th:first-child,.audit-table td:first-child{width:8.25rem}.audit-table th:nth-child(2),.audit-table td:nth-child(2){width:7.5rem}.audit-table th:nth-child(3),.audit-table td:nth-child(3){width:6.75rem}.audit-table th:nth-child(4),.audit-table td:nth-child(4){width:8rem}.audit-table th:nth-child(5),.audit-table td:nth-child(5){width:7rem}.audit-detail-button{white-space:normal}}@media (width<=620px){.user-create-role-grid{grid-template-columns:1fr}}.funeral-page{gap:var(--sgc-space-7);display:grid}.funeral-list-filters{align-items:end}.funeral-list-filters .grow-field{flex:28rem}.funeral-table-id{margin-top:var(--sgc-space-1);color:var(--sgc-color-muted);display:block}.funeral-attendance-form{gap:var(--sgc-space-6);display:grid}.funeral-form-grid{gap:var(--sgc-space-6);grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}.funeral-full-field,.funeral-entity-field>label,.funeral-status-form label{gap:var(--sgc-space-2);display:grid}.funeral-full-field small,.funeral-field-helper,.funeral-status-form small{color:var(--sgc-color-muted);font-size:var(--sgc-font-size-sm)}.funeral-form-grid .funeral-full-field:first-child{grid-column:1/-1}.funeral-initial-state{align-items:center;gap:var(--sgc-space-2);flex-wrap:wrap;display:inline-flex}.funeral-financial-responsibility{gap:var(--sgc-space-5);margin-top:var(--sgc-space-6);padding-top:var(--sgc-space-5);border-top:1px solid var(--sgc-color-line);display:grid}.funeral-financial-field{width:min(100%,680px)}.form-card label.funeral-checkbox{align-items:center;gap:var(--sgc-space-3);width:fit-content;color:var(--sgc-color-text-strong);font-size:var(--sgc-font-size-label);cursor:pointer;flex-direction:row;font-weight:700;display:inline-flex}.funeral-checkbox input[type=checkbox]{width:18px;min-width:18px;height:18px;accent-color:var(--sgc-color-info);cursor:pointer;flex:0 0 18px;margin:0;padding:0}.funeral-checkbox span{line-height:1.35}.funeral-entity-field{gap:var(--sgc-space-2);align-content:start;align-self:start;display:grid;position:relative}.funeral-selected-entity{min-height:var(--sgc-control-height);justify-content:space-between;align-items:center;gap:var(--sgc-space-5);border:1px solid var(--sgc-control-border);border-radius:var(--sgc-radius-control);padding:var(--sgc-space-3) var(--sgc-space-4);background:var(--sgc-color-surface);display:flex}.funeral-selected-entity div{gap:var(--sgc-space-1);min-width:0;display:grid}.funeral-selected-entity small{color:var(--sgc-color-muted)}.funeral-entity-results{z-index:30;top:calc(100% + var(--sgc-space-1));border:1px solid var(--sgc-control-border);border-radius:var(--sgc-radius-control);max-height:280px;padding:var(--sgc-space-2);background:var(--sgc-color-surface);box-shadow:var(--sgc-shadow-popover);position:absolute;left:0;right:0;overflow:auto}.funeral-entity-results button{gap:var(--sgc-space-1);border-radius:var(--sgc-radius-control);width:100%;padding:var(--sgc-space-4);color:var(--sgc-color-text-strong);text-align:left;cursor:pointer;background:0 0;border:0;display:grid}.funeral-entity-results button:hover,.funeral-entity-results button:focus-visible{background:var(--sgc-color-info-soft);outline:none}.funeral-entity-results small,.funeral-search-state{color:var(--sgc-color-muted);font-size:var(--sgc-font-size-sm)}.funeral-search-state{padding:var(--sgc-space-5) var(--sgc-space-4);display:block}.funeral-overview-grid{gap:var(--sgc-space-6);grid-template-columns:minmax(0,1.35fr) minmax(20rem,.65fr);align-items:start;display:grid}.funeral-summary-metrics{gap:var(--sgc-space-4);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.funeral-summary-list{gap:var(--sgc-space-5);grid-template-columns:repeat(3,minmax(0,1fr));margin:0;display:grid}.funeral-summary-list div{min-width:0;padding-bottom:var(--sgc-space-4);border-bottom:1px solid var(--sgc-color-line)}.funeral-summary-list dt{color:var(--sgc-color-muted);font-size:var(--sgc-font-size-xs);text-transform:uppercase;font-weight:800}.funeral-summary-list dd{margin:var(--sgc-space-1) 0 0;color:var(--sgc-color-text-strong);font-size:var(--sgc-font-size-label);font-weight:600}.funeral-observation strong{color:var(--sgc-color-muted);font-size:var(--sgc-font-size-sm);text-transform:uppercase}.funeral-observation p{margin:var(--sgc-space-2) 0 0;color:var(--sgc-color-text-strong);white-space:pre-wrap}.funeral-status-form{gap:var(--sgc-space-5);display:grid}.funeral-pending-counts{gap:var(--sgc-space-2);flex-wrap:wrap;display:flex}.funeral-pending-list{gap:var(--sgc-space-3);display:grid}.funeral-pending-item{align-items:center;gap:var(--sgc-space-4);border-left:4px solid var(--sgc-color-muted);border-radius:var(--sgc-radius-control);padding:var(--sgc-space-4) var(--sgc-space-5);background:var(--sgc-color-background);flex-wrap:wrap;display:flex}.funeral-pending-item.severity-blocking{border-left-color:var(--sgc-color-danger)}.funeral-pending-item.severity-warning{border-left-color:var(--sgc-color-warning)}.funeral-pending-item.severity-info{border-left-color:var(--sgc-color-info)}.funeral-pending-item>div{gap:var(--sgc-space-1);flex:1;min-width:14rem;display:grid}.funeral-pending-item small{color:var(--sgc-color-muted)}.funeral-resource-ref,.funeral-blocks{border-radius:var(--sgc-radius-pill);padding:var(--sgc-space-1) var(--sgc-space-3);background:var(--sgc-color-surface);color:var(--sgc-color-muted);font-size:var(--sgc-font-size-xs);font-weight:700}.funeral-timeline,.funeral-history-list{display:grid}.funeral-timeline-event{gap:var(--sgc-space-4);padding-bottom:var(--sgc-space-6);grid-template-columns:20px 1fr;display:grid;position:relative}.funeral-timeline-event:before{content:"";background:var(--sgc-color-line);width:1px;position:absolute;top:12px;bottom:0;left:5px}.funeral-timeline-event:last-child:before{display:none}.funeral-timeline-dot{z-index:1;width:11px;height:11px;margin-top:var(--sgc-space-1);border:3px solid var(--sgc-color-surface);background:var(--sgc-color-info);box-shadow:0 0 0 1px var(--sgc-control-border);border-radius:50%;position:relative}.funeral-timeline-event>div,.funeral-history-item>div{gap:var(--sgc-space-1);display:grid}.funeral-timeline-event small,.funeral-timeline-event time,.funeral-history-item small{color:var(--sgc-color-muted);font-size:var(--sgc-font-size-xs)}.funeral-history-item{gap:var(--sgc-space-2);padding:var(--sgc-space-4) 0;border-bottom:1px solid var(--sgc-color-line);display:grid}.funeral-history-item:first-child{padding-top:0}.funeral-history-item:last-child{border-bottom:0}.funeral-history-item p{color:var(--sgc-color-muted);font-size:var(--sgc-font-size-label);margin:0}@media (width<=900px){.funeral-overview-grid,.funeral-activity-grid,.funeral-form-grid,.funeral-summary-metrics,.funeral-summary-list{grid-template-columns:1fr}.funeral-form-grid .funeral-full-field:first-child{grid-column:auto}}@media (width<=620px){.funeral-pending-item{align-items:flex-start}}.inventory-page{gap:var(--sgc-space-7);display:grid}.inventory-metrics{gap:var(--sgc-space-5);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.inventory-metric-warning{border-left-color:var(--sgc-color-warning)}.inventory-metric-danger{border-left-color:var(--sgc-color-danger)}.inventory-dashboard-grid{align-items:stretch}.inventory-dashboard-grid>*{height:100%}.inventory-stock-list{display:grid}.inventory-stock-list article{align-items:center;gap:var(--sgc-space-5);padding:var(--sgc-space-4) 0;border-top:1px solid var(--sgc-color-line);grid-template-columns:minmax(0,1fr) auto auto;display:grid}.inventory-stock-list article:first-child{border-top:0}.inventory-stock-list article>div:first-child{gap:var(--sgc-space-1);display:grid}.inventory-stock-list article span{color:var(--sgc-color-muted);font-size:var(--sgc-font-size-label)}.inventory-stock-numbers{text-align:right;font-variant-numeric:tabular-nums;display:grid}.inventory-stock-list a{font-weight:700;text-decoration:none}.inventory-shortcuts{gap:var(--sgc-space-5);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.inventory-shortcuts>a{gap:var(--sgc-space-2);padding:var(--sgc-space-6);border:1px solid var(--sgc-color-line);border-radius:var(--sgc-radius-card);background:var(--sgc-color-surface);color:inherit;box-shadow:var(--sgc-shadow-card);text-decoration:none;display:grid}.inventory-shortcuts>a:hover{border-color:var(--sgc-focus-border)}.inventory-shortcuts span{color:var(--sgc-color-muted);font-size:var(--sgc-font-size-label)}.inventory-product-filters .grow-field{flex:22rem}.inventory-product-filters>label:not(.grow-field):not(.inventory-check){flex:0 18rem}.inventory-check{align-items:center;gap:var(--sgc-space-3);color:var(--sgc-color-text-strong);font-size:var(--sgc-font-size-label);font-weight:700;display:inline-flex}.inventory-check>input{flex:none}.inventory-product-sku{margin-top:var(--sgc-space-1);color:var(--sgc-color-muted);display:block}.inventory-number{font-variant-numeric:tabular-nums}.inventory-product-form,.inventory-movement-form{gap:var(--sgc-space-7);display:grid}.inventory-movement-layout{gap:var(--sgc-space-6);grid-template-columns:minmax(0,1fr) minmax(15rem,18rem);align-items:start;display:grid}.inventory-balance-summary{top:var(--sgc-space-6);gap:var(--sgc-space-5);display:grid;position:sticky}.inventory-settings-form{margin:0}.inventory-settings-form .grow-field{flex:16rem}.inventory-settings-list{display:grid}.inventory-settings-list>div{justify-content:space-between;align-items:center;gap:var(--sgc-space-5);min-width:0;padding:var(--sgc-space-4) 0;border-top:1px solid var(--sgc-color-line);display:flex}.inventory-settings-list>div:first-child{border-top:0}.inventory-settings-list>div>span:first-child{gap:var(--sgc-space-1);min-width:0;display:grid}.inventory-settings-list small{color:var(--sgc-color-muted)}@media (width<=960px){.inventory-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-dashboard-grid,.inventory-settings-grid,.inventory-movement-layout{grid-template-columns:1fr}.inventory-balance-summary{position:static}.inventory-shortcuts{grid-template-columns:1fr}}@media (width<=640px){.inventory-metrics{grid-template-columns:1fr}.inventory-stock-list article,.inventory-stock-list.compact article{grid-template-columns:1fr auto}.inventory-stock-list article>a,.inventory-stock-list article>.ds-status-badge{grid-column:1/-1;justify-self:start}.inventory-settings-list>div{align-items:flex-start}}.inventory-page .inventory-metrics .metric-card{min-height:148px;padding:var(--sgc-space-6);justify-content:center;gap:var(--sgc-space-3);flex-direction:column;display:flex}.inventory-page .inventory-metrics .ds-metric-card__value{font-variant-numeric:tabular-nums;font-size:clamp(1.85rem,2.4vw,2.5rem);line-height:1.1}.inventory-page .inventory-dashboard-grid{gap:var(--sgc-space-5);grid-template-columns:minmax(0,1fr);display:grid}.inventory-page .inventory-movements-table{overflow-x:auto}.inventory-page .inventory-movements-table table{width:100%}.inventory-page .inventory-movements-table th,.inventory-page .inventory-movements-table td{padding:var(--sgc-space-4)}.inventory-page .inventory-movements-table td:last-child,.inventory-page .inventory-movements-table th:last-child{text-align:right}@media (width<=960px){.inventory-page .inventory-dashboard-grid{grid-template-columns:minmax(0,1fr)}}.operational-status{z-index:1300;top:var(--sgc-space-4);right:var(--sgc-space-4);width:min(520px, calc(100vw - (var(--sgc-space-4) * 2)));justify-content:space-between;align-items:flex-start;gap:var(--sgc-space-4);padding:var(--sgc-space-4) var(--sgc-space-5);border:1px solid var(--sgc-color-line);border-radius:var(--sgc-radius-card);background:var(--sgc-color-surface);color:var(--sgc-color-text-strong);box-shadow:var(--sgc-shadow-popover);display:flex;position:fixed}.operational-status--offline,.operational-status--timeout,.operational-status--network,.operational-status--rate_limited,.operational-status--unavailable{border-color:color-mix(in srgb, var(--sgc-color-warning) 45%, var(--sgc-color-line))}.operational-status--session_expired,.operational-status--forbidden,.operational-status--api_error{border-color:color-mix(in srgb, var(--sgc-color-danger) 35%, var(--sgc-color-line))}.operational-status__content{gap:var(--sgc-space-1);min-width:0;display:grid}.operational-status__content strong{font-size:var(--sgc-font-size-label);font-weight:800}.operational-status__content span,.operational-status__content small{color:var(--sgc-color-muted);font-size:var(--sgc-font-size-label);line-height:1.45}.operational-status__content code{color:var(--sgc-color-text-strong);font-size:inherit}.operational-status__actions{align-items:center;gap:var(--sgc-space-2);flex:none;display:flex}.operational-status__actions .secondary-button{white-space:nowrap;min-height:36px}.operational-status__dismiss{border-radius:var(--sgc-radius-control);width:36px;height:36px;color:var(--sgc-color-muted);cursor:pointer;background:0 0;border:0;place-items:center;font-size:22px;line-height:1;display:grid}.operational-status__dismiss:hover,.operational-status__dismiss:focus-visible{background:var(--sgc-color-background);color:var(--sgc-color-text-strong);outline:none}.operational-status__dismiss:focus-visible{box-shadow:var(--sgc-focus-ring)}@media (width<=640px){.operational-status{top:var(--sgc-space-3);right:var(--sgc-space-3);left:var(--sgc-space-3);flex-direction:column;width:auto}.operational-status__actions{width:100%}.operational-status__actions .secondary-button{flex:1}}.row-actions-trigger{letter-spacing:.08em;font-weight:800}.row-actions-menu{z-index:1000;width:max-content;min-width:190px;max-width:min(280px, calc(100vw - var(--sgc-space-6)));padding:var(--sgc-space-2);gap:var(--sgc-space-1);background:var(--sgc-color-surface);border:1px solid var(--sgc-color-line);border-radius:var(--sgc-radius-control);box-shadow:var(--sgc-shadow-popover);display:grid;position:fixed}.row-action{border-radius:var(--sgc-space-2);width:100%;padding:var(--sgc-space-3) var(--sgc-space-4);align-items:center;gap:var(--sgc-space-3);color:var(--sgc-color-text-strong);text-align:left;font-size:var(--sgc-font-size-label);white-space:nowrap;background:0 0;border:0;font-weight:650;line-height:1.25;display:flex}.row-action:hover:not(:disabled),.row-action:focus-visible{background:var(--sgc-color-background);outline:none}.row-action.danger{color:var(--sgc-color-danger);margin-top:var(--sgc-space-1);border-top:1px solid var(--sgc-color-line);border-radius:0 0 var(--sgc-space-2) var(--sgc-space-2);padding-top:var(--sgc-space-4)}.row-action:disabled{opacity:.5;cursor:default}.row-action-icon{width:18px;color:var(--sgc-color-muted);flex:0 0 18px;place-items:center;font-size:12px;display:inline-grid}.row-action.danger .row-action-icon{color:currentColor}.record-link{color:var(--sgc-color-text-strong);text-align:left;cursor:pointer;background:0 0;border:0;padding:0;font-weight:700;text-decoration:none}.record-link:hover{color:var(--sgc-color-warning)}.record-link:focus-visible{outline:2px solid var(--sgc-color-gold);outline-offset:var(--sgc-space-1);border-radius:var(--sgc-space-1)}.simple-crud-editor{gap:var(--sgc-space-6);margin-bottom:var(--sgc-space-7);padding:var(--sgc-space-6);border:1px solid var(--sgc-color-line);border-radius:var(--sgc-radius-card);background:var(--sgc-color-surface);box-shadow:var(--sgc-shadow-card);display:grid}.simple-crud-editor__heading{justify-content:space-between;align-items:flex-start;gap:var(--sgc-space-6);display:flex}.simple-crud-editor__heading h2{margin:var(--sgc-space-1) 0 0;color:var(--sgc-color-navy);font-size:var(--sgc-font-size-section)}.simple-crud-editor__actions{justify-content:flex-end;gap:var(--sgc-space-4);display:flex}.simple-crud-filters{margin-bottom:var(--sgc-space-7)}.simple-crud-bulk-toolbar{min-height:46px;margin-bottom:var(--sgc-space-4)}.simple-crud-table .ds-table-footer{padding:0}.simple-crud-table .pagination{border-top:0}.simple-crud-pagination{width:100%}.simple-crud-readonly-note{color:var(--sgc-color-muted);font-size:12px}.simple-crud-table .responsive-table{width:100%}.simple-crud-table .record-link{text-align:left}@media (width<=860px){.simple-crud-editor__heading{flex-direction:column;align-items:stretch}.simple-crud-editor__heading>.secondary-button{align-self:flex-start}}@media (width<=640px){.simple-crud-editor{padding:var(--sgc-space-5)}.simple-crud-editor__actions{flex-direction:column-reverse;align-items:stretch}.simple-crud-editor__actions>button,.simple-crud-editor__actions>a{width:100%}.simple-crud-pagination{align-items:stretch}.simple-crud-pagination .secondary-button{flex:1}}:root{--sgc-color-navy:#0d1b30;--sgc-color-navy-2:#172842;--sgc-color-gold:#d7ae2f;--sgc-color-gold-soft:#fbf5df;--sgc-color-surface:#fff;--sgc-color-background:#f2f4f7;--sgc-color-text:#132238;--sgc-color-text-strong:#273a55;--sgc-color-muted:#718096;--sgc-color-line:#e1e6ec;--sgc-color-danger:#a43b3b;--sgc-color-danger-soft:#fff0f0;--sgc-color-success:#3b8058;--sgc-color-success-soft:#e7f5ed;--sgc-color-info:#49668c;--sgc-color-info-soft:#edf3ff;--sgc-color-warning:#8c6d17;--sgc-color-warning-soft:#fff7dc;--navy:var(--sgc-color-navy);--navy-2:var(--sgc-color-navy-2);--gold:var(--sgc-color-gold);--gold-soft:var(--sgc-color-gold-soft);--surface:var(--sgc-color-surface);--bg:var(--sgc-color-background);--muted:var(--sgc-color-muted);--line:var(--sgc-color-line);--danger:var(--sgc-color-danger);--sgc-font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--sgc-font-size-xs:10px;--sgc-font-size-sm:11px;--sgc-font-size-label:13px;--sgc-font-size-caption:12px;--sgc-font-size-body:14px;--sgc-font-size-section:18px;--sgc-font-size-dialog:20px;--sgc-font-size-title:34px;--sgc-space-1:4px;--sgc-space-2:7px;--sgc-space-3:8px;--sgc-space-4:10px;--sgc-space-5:14px;--sgc-space-6:18px;--sgc-space-7:20px;--sgc-space-8:22px;--sgc-space-9:24px;--sgc-space-10:28px;--sgc-space-11:32px;--sgc-form-section-gap:var(--sgc-space-10);--sgc-radius-control:9px;--sgc-radius-card:13px;--sgc-radius-section:11px;--sgc-radius-pill:999px;--sgc-shadow-card:0 3px 12px #15223406;--sgc-shadow-popover:0 14px 34px #0914232e;--sgc-control-height:44px;--sgc-control-height-large:48px;--sgc-radio-size:18px;--sgc-textarea-short-height:72px;--sgc-textarea-medium-height:100px;--sgc-textarea-long-height:110px;--sgc-sticky-column-width:190px;--sgc-compact-panel-width:480px;--sgc-action-height:42px;--sgc-checkbox-size:16px;--sgc-control-border:#d7dde5;--sgc-focus-border:#c19a29;--sgc-focus-ring:0 0 0 3px #d7ae2f1f;--sgc-page-max-width:1380px;--sgc-form-page-max-width:1180px;--sgc-form-max-width:920px;--sgc-page-padding:32px;--sgc-sidebar-width:270px;--sgc-topbar-height:76px}html,body,button,input,select,textarea{font-family:var(--sgc-font-family)}@media (width<=860px){:root{--sgc-page-padding:20px}}:root{color:#132238;font-synthesis:none;--navy:#0d1b30;--navy-2:#172842;--gold:#d7ae2f;--gold-soft:#fbf5df;--surface:#fff;--muted:#718096;--line:#e1e6ec;--bg:#f2f4f7;--danger:#a43b3b;background:#f2f4f7;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:var(--bg);min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit}.auth-page,.centered-state{background:var(--navy);place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{color:#fff;background:#13233b;border:1px solid #293b55;border-radius:18px;gap:18px;width:min(440px,100%);padding:34px;display:grid;box-shadow:0 20px 50px #0000003d}.auth-card h1,.page-header h1{margin:4px 0}.auth-card p{color:#b8c2d0;margin-bottom:0}.auth-card label{gap:7px;font-weight:600;display:grid}.auth-card input{color:#fff;background:#20314d;border:1px solid #526078;border-radius:10px;width:100%;padding:12px 14px}.eyebrow{color:var(--gold);letter-spacing:.14em;text-transform:uppercase;font-size:12px;font-weight:800}.primary-button,.gold-button{background:var(--gold);color:#172238;border:0;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:11px 16px;font-weight:800;text-decoration:none;display:inline-flex}.primary-button:disabled,.gold-button:disabled{opacity:.6;cursor:default}.error-banner{color:#8d2929;background:#fff3f3;border:1px solid #efcaca;border-radius:10px;padding:13px 15px}.error-text{color:var(--danger)!important}.app-shell{grid-template-columns:270px 1fr;min-height:100vh;display:grid}.sidebar{background:var(--navy);color:#fff;min-height:100vh;padding:24px 16px}.brand{align-items:center;gap:12px;padding:4px 2px 18px;display:flex}.brand-mark{width:48px;height:48px;color:var(--gold);border:1px solid #aa8d40;border-radius:50%;place-items:center;font-weight:900;display:grid}.brand>div{gap:2px;display:grid}.brand strong{letter-spacing:.05em;font-size:21px}.brand small{color:#aeb9c8;text-transform:uppercase;letter-spacing:.08em;font-size:11px}.sidebar-divider{border-top:1px solid #26364d;margin:0 0 18px}.sidebar-nav{gap:7px;display:grid}.sidebar-nav a,.nav-disabled{color:#d7dee9;border-radius:9px;align-items:center;gap:11px;min-height:45px;padding:10px 13px;text-decoration:none;display:flex}.sidebar-nav a:hover{background:#152944}.sidebar-nav a.active{background:var(--gold);color:#172238;font-weight:700}.nav-icon{text-align:center;width:20px;font-size:18px}.nav-disabled{opacity:.65}.nav-group{gap:5px;display:grid}.nav-group-title{color:#77879b;text-transform:uppercase;letter-spacing:.12em;padding:13px 13px 4px;font-size:10px;font-weight:800}.app-content{min-width:0}.topbar{background:var(--navy);color:#fff;border-left:1px solid #25364d;justify-content:space-between;align-items:center;gap:20px;min-height:88px;padding:13px 30px;display:flex}.global-search{flex:1;max-width:620px;position:relative}.topbar input,.topbar select{color:#f7f9fb;background:#172842;border:1px solid #46566d;border-radius:9px;width:100%;padding:11px 13px}.search-results{z-index:20;color:#16243a;border:1px solid var(--line);background:#fff;border-radius:10px;padding:8px;display:grid;position:absolute;top:calc(100% + 7px);left:0;right:0;box-shadow:0 14px 34px #0914232e}.search-results a{border-radius:7px;gap:2px;padding:9px;text-decoration:none;display:grid}.search-results a:hover{background:#f4f6f8}.search-results small{color:var(--muted)}.topbar-actions{align-items:center;gap:14px;display:flex}.topbar-actions>button{color:#fff;background:#172842;border:1px solid #46566d;border-radius:8px;padding:10px 13px}.organization-switcher{gap:2px;display:grid}.organization-switcher>span{color:#9facbc;text-transform:uppercase;letter-spacing:.08em;font-size:10px}.organization-switcher select{min-width:190px;padding:7px 10px}.resource-page{max-width:1380px;margin:0 auto}.breadcrumb{color:#8691a1;margin-bottom:22px;font-size:13px}.breadcrumb span{color:#b0b8c3;margin:0 7px}.resource-header{justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px;display:flex}.resource-title{align-items:center;gap:16px;display:flex}.resource-title h1{letter-spacing:-.03em;color:#0d1b30;margin:0 0 5px;font-size:34px}.resource-title p{color:var(--muted);margin:0}.title-icon{background:var(--gold-soft);color:#a6821d;border:1px solid #efe3b6;border-radius:12px;place-items:center;width:58px;height:58px;font-weight:900;display:grid}.filter-card,.table-card,.form-card,.metric-card,.panel{background:var(--surface);border:1px solid var(--line);border-radius:13px;box-shadow:0 3px 12px #15223406}.filter-card{align-items:end;gap:14px;margin-bottom:20px;padding:18px;display:flex}.filter-card label:not(.check-filter),.form-card label,.search-person{gap:7px;display:grid}.filter-card label>span,.form-card label>span,.search-person>span{color:#34445a;font-size:13px;font-weight:700}.grow-field{flex:1;min-width:260px}.filter-card input,.filter-card select,.form-card input,.form-card select,.search-person input{color:#18263a;background:#fff;border:1px solid #d7dde5;border-radius:9px;outline:none;width:100%;min-height:44px;padding:10px 12px}.filter-card input:focus,.filter-card select:focus,.form-card input:focus,.form-card select:focus,.search-person input:focus{border-color:#c19a29;box-shadow:0 0 0 3px #d7ae2f1f}.check-filter{white-space:nowrap;color:#536175;align-items:center;gap:7px;min-height:44px;font-size:13px;display:flex}.check-filter input,.inline-checks input{width:16px;height:16px;min-height:0;accent-color:var(--gold);border-radius:3px;flex:0 0 16px;margin:0;padding:0}.secondary-button,.navy-button,.add-row-button{border-radius:9px;min-height:42px;padding:9px 14px;font-weight:700}.secondary-button:disabled{color:#aab2bd;cursor:default;background:#f4f5f7}.link-button{justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.table-card{overflow:hidden}.table-meta{color:#788597;border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:48px;padding:14px 17px;font-size:12px;display:flex}.responsive-table{overflow:auto}table{border-collapse:collapse;width:100%}th{text-align:left;color:#657286;background:#f6f7f9;padding:14px;font-size:12px;font-weight:700}td{color:#4d5a6d;border-top:1px solid #edf0f3;padding:15px 14px;font-size:13px}td strong{color:#273a55}td small{color:#98a2b0;margin-top:3px;display:block}.soft-badge,.status-badge{border-radius:6px;padding:5px 8px;font-size:11px;font-weight:700;display:inline-flex}.soft-badge{color:#49668c;background:#edf3ff}.status-badge.active{color:#3b8058;background:#e7f5ed}.status-badge.inactive{color:#7f8792;background:#f2f3f5}.actions-cell{text-align:right}.icon-button{color:#526176;background:#fff;border:1px solid #dfe4e9;border-radius:8px;width:36px;height:34px}.empty-row,.table-state{text-align:center;color:#8b96a5;padding:35px!important}.pagination{border-top:1px solid var(--line);justify-content:flex-end;align-items:center;gap:8px;padding:15px 17px;display:flex}.page-chip{background:var(--gold);color:#253146;border-radius:8px;place-items:center;min-width:36px;height:36px;font-weight:800;display:grid}.stack-form{gap:var(--sgc-form-section-gap);display:grid}.form-card{margin:0;padding:28px 30px 26px}.form-card legend{color:#192b44;margin-left:-2px;padding:0 10px;font-size:18px;font-weight:800}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px;display:grid}.form-card>.form-grid+.form-grid{margin-top:18px}.compact-grid{grid-template-columns:1fr .55fr .55fr 1fr .8fr}.full-field{grid-column:1/-1}.section-help{color:#718096;margin:-2px 0 18px;font-size:13px}.repeat-list{gap:13px;display:grid}.repeat-row{background:#fbfcfd;border:1px solid #e4e8ed;border-radius:11px;margin-bottom:12px;padding:17px}.inline-checks{align-items:center;gap:18px;margin-top:13px;display:flex}.inline-checks label{color:#59687b;flex-direction:row;align-items:center;gap:6px;font-size:13px;display:flex}.text-danger{color:var(--danger);background:0 0;border:0;margin-left:auto;padding:0}.add-row-button{color:#8c6d17;background:#fffdf6;border:1px dashed #c7a344}.form-actions{justify-content:flex-end;gap:10px;padding-bottom:18px;display:flex}.search-person{max-width:650px}.person-picker{gap:7px;max-height:300px;margin-top:12px;display:grid;overflow:auto}.person-option{text-align:left;color:#48566a;background:#fff;border:1px solid #e1e6ec;border-radius:9px;justify-content:space-between;align-items:center;width:100%;padding:12px 14px;display:flex}.person-option>span:first-child{gap:3px;display:grid}.person-option strong{color:#1f334d}.person-option small{color:#8c97a5}.person-option.selected{background:#fffaf0;border-color:#c6a034}.selected-person{color:#526176;background:#f5f8fb;border-radius:8px;margin-top:12px;padding:11px 13px}.page-header{justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px;display:flex}.metric-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;display:grid}.metric-card,.panel{padding:18px}.metric-card{border-left:3px solid var(--gold);gap:10px;display:grid}.metric-card span{color:var(--muted);font-size:14px}.metric-card strong{font-size:30px}.dashboard-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px;display:grid}.panel h2{margin-top:0;font-size:18px}.empty-state{color:var(--muted);background:#fff;border:1px dashed #d1d5db;border-radius:12px;padding:28px}@media (width<=1050px){.filter-card{flex-wrap:wrap}.compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=860px){.app-shell{grid-template-columns:1fr}.sidebar{display:none}.topbar{flex-direction:column;align-items:stretch}.topbar-actions{width:100%}.organization-switcher{flex:1}.organization-switcher select{min-width:0}.page-content{padding:20px}.resource-header{flex-direction:column;align-items:flex-start}.form-grid,.compact-grid,.dashboard-columns{grid-template-columns:1fr}.filter-card{flex-direction:column;align-items:stretch}.grow-field{min-width:0}.gold-button{width:100%}.form-card{padding:24px 18px 20px}}:root{--sgc-density-zoom:.9}:root[data-density=compact]{--sgc-density-zoom:.86}:root[data-density=comfortable]{--sgc-density-zoom:.94}@supports (zoom:1){.app-shell{zoom:var(--sgc-density-zoom);width:100%;min-height:calc(100vh / var(--sgc-density-zoom))}}@media (width<=760px){:root,:root[data-density=compact],:root[data-density=comfortable]{--sgc-density-zoom:1}}.toast-stack{z-index:1400;gap:10px;width:min(390px,100vw - 40px);display:grid;position:fixed;bottom:20px;right:20px}.toast{border:1px solid var(--line);color:#34445a;background:#fff;border-radius:10px;grid-template-columns:26px 1fr 24px;align-items:center;gap:10px;padding:12px 13px;font-size:13px;display:grid;box-shadow:0 14px 34px #0914232e}.toast-success{border-left:4px solid #3b8058}.toast-error{border-left:4px solid var(--danger)}.toast-info{border-left:4px solid #49668c}.toast-mark{background:#f1f4f7;border-radius:50%;place-items:center;width:22px;height:22px;font-weight:800;display:grid}.toast button{color:#8490a0;background:0 0;border:0;padding:0;font-size:18px;line-height:1}.confirm-backdrop{z-index:1300;background:#0914237a;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.confirm-dialog{border:1px solid var(--line);background:#fff;border-radius:14px;width:min(440px,100%);padding:22px;box-shadow:0 22px 55px #09142340}.confirm-dialog h2{color:var(--navy);margin:0 0 8px;font-size:20px}.confirm-dialog p{color:#657286;margin:0;font-size:14px;line-height:1.5}.confirm-actions{justify-content:flex-end;gap:9px;margin-top:20px;display:flex}.danger-button{border:1px solid var(--danger);background:var(--danger);color:#fff;border-radius:9px;min-height:42px;padding:9px 14px;font-weight:700}.danger-button:disabled{opacity:.6;cursor:default}.search-shortcut{color:#91a0b4;pointer-events:none;border:1px solid #46566d;border-radius:5px;padding:2px 6px;font-size:10px;position:absolute;top:50%;right:11px;transform:translateY(-50%)}.search-results-enhanced{max-height:min(520px,70vh);padding:7px;overflow:auto}.search-group{gap:2px;display:grid}.search-group+.search-group{border-top:1px solid #edf0f3;margin-top:6px;padding-top:6px}.search-group-title{color:#8995a5;letter-spacing:.08em;text-transform:uppercase;padding:5px 8px 3px;font-size:10px;font-weight:800}.search-results .search-result{border-radius:7px;padding:8px 9px}.search-results .search-result.active{background:#f4f6f8}.search-state{color:#7a8798;padding:10px;font-size:13px}.search-hint{color:#98a2b0;border-top:1px solid #edf0f3;margin-top:5px;padding:7px 9px 3px;font-size:10px}.sort-button{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-weight:700;display:inline-flex}.sort-button span{color:#a2acb9;font-size:10px}.sort-button.active{color:#34445a}.sort-button.active span{color:#8c6d17}.page-size-control{color:#788597;align-items:center;gap:7px;font-size:12px;display:inline-flex}.page-size-control select{color:#4d5c70;background:#fff;border:1px solid #dce1e7;border-radius:7px;min-height:30px;padding:4px 26px 4px 8px}.breadcrumb{color:#8691a1;flex-wrap:wrap;align-items:center;gap:0;margin-bottom:22px;font-size:13px;display:flex}.breadcrumb-item{align-items:center;display:inline-flex}.breadcrumb-separator{color:#b0b8c3;margin:0 7px}.breadcrumb a{color:#69778b;text-decoration:none}.breadcrumb a:hover{color:#8c6d17;text-underline-offset:3px;text-decoration:underline}.breadcrumb [aria-current=page]{color:#46566d;font-weight:600}.table-skeleton{padding:5px 0;display:grid}.skeleton-row{border-top:1px solid #edf0f3;gap:14px;padding:15px 14px;display:grid}.skeleton-row:first-child{border-top:0}.skeleton-line{background:linear-gradient(90deg,#edf0f3 25%,#f7f8fa 50%,#edf0f3 75%) 0 0/200% 100%;border-radius:999px;height:13px;animation:1.25s linear infinite skeleton-shimmer;display:block}.skeleton-row .skeleton-line:nth-child(2n){width:76%}.skeleton-row .skeleton-line:nth-child(3n){width:58%}.inline-skeleton{gap:9px;padding:8px 2px;display:grid}.inline-skeleton .skeleton-line{border-radius:8px;height:40px}@keyframes skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){.skeleton-line{animation:none}}.smart-empty-state{text-align:center;color:#6f7d90;justify-items:center;gap:8px;padding:42px 24px;display:grid}.smart-empty-state .empty-state-icon{color:#98a2b0;background:#f4f6f8;border-radius:50%;place-items:center;width:42px;height:42px;font-size:20px;display:grid}.smart-empty-state strong{color:#34445a;font-size:15px}.smart-empty-state p{max-width:520px;margin:0 0 5px;font-size:13px;line-height:1.5}.form-actions{z-index:30;background:linear-gradient(to bottom, #f2f4f700, var(--bg) 24%);margin:0 -4px;padding:14px 4px 18px;position:sticky;bottom:0}.field-error{margin-top:2px;font-size:11px;font-weight:600;display:block;color:var(--danger)!important}.field-invalid input,.field-invalid select,input[aria-invalid=true],select[aria-invalid=true]{border-color:#d77b7b!important;box-shadow:0 0 0 3px #a43b3b17!important}.field-grid-item{gap:7px;display:grid}.standardized-page-header{gap:20px}.page-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.page-header-actions .shortcut-badge{margin-left:2px}.shortcut-badge{color:#8a95a5;white-space:nowrap;background:#fff;border:1px solid #dce1e7;border-radius:6px;align-items:center;min-height:22px;padding:2px 7px;font-size:10px;font-weight:700;display:inline-flex}.row-primary-action{color:#40516a;cursor:pointer;background:#fff;border:1px solid #d8dee6;border-radius:7px;align-items:center;gap:6px;min-height:30px;padding:5px 9px;font-size:12px;font-weight:700;display:inline-flex}.row-primary-action:hover{color:#6c5518;background:#fbf8ef;border-color:#c4ad69}.table-row-actions{justify-content:flex-end;align-items:center;gap:5px;display:inline-flex}@media (width<=760px){.responsive-card-table{overflow:visible}.responsive-card-table table,.responsive-card-table tbody{width:100%;display:block}.responsive-card-table thead{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.responsive-card-table tbody{gap:10px;padding:10px;display:grid}.responsive-card-table tr{background:#fff;border:1px solid #e1e6ec;border-radius:11px;gap:0;display:grid;overflow:hidden;box-shadow:0 2px 7px #14243a0a}.responsive-card-table td{border:0;border-top:1px solid #edf0f3;grid-template-columns:minmax(92px,35%) 1fr;align-items:center;gap:10px;min-height:39px;padding:9px 12px;display:grid;text-align:left!important}.responsive-card-table td:first-child{background:#fbfcfd;border-top:0}.responsive-card-table td:before{content:attr(data-label);color:#8995a5;letter-spacing:.05em;text-transform:uppercase;font-size:10px;font-weight:800}.responsive-card-table td.actions-cell{grid-template-columns:1fr;justify-items:end}.responsive-card-table td.actions-cell:before{display:none}.table-row-actions{justify-content:flex-end;width:100%}.standardized-page-header{align-items:flex-start}.page-header-actions{justify-content:flex-start;width:100%}}@media (width<=640px){.toast-stack{width:calc(100vw - 24px);bottom:12px;right:12px}.confirm-actions{flex-direction:column-reverse}.confirm-actions button{width:100%}.table-meta{flex-direction:column;align-items:flex-start;gap:8px}.search-shortcut{display:none}.skeleton-row{grid-template-columns:1fr!important}.skeleton-row .skeleton-line:nth-child(n+3){display:none}.form-actions{gap:8px}.form-actions .secondary-button,.form-actions .gold-button{flex:1}}.account-inline-form,.finance-report-filters,.fleet-operations-filters{align-items:end;gap:var(--sgc-space-4);flex-wrap:wrap;display:flex}.finance-reference-grid,.funeral-activity-grid,.inventory-dashboard-grid,.inventory-settings-grid{gap:var(--sgc-space-6);grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}.fleet-bulk,.fleet-actions,.fleet-header-actions,.teams-hub-header-actions{align-items:center;gap:var(--sgc-space-3);flex-wrap:wrap;display:flex}.bulk-action-button,.reference-bulk-action{min-height:var(--sgc-action-height);border:1px solid var(--sgc-color-line);border-radius:var(--sgc-radius-control);padding:var(--sgc-space-2) var(--sgc-space-4);background:var(--sgc-color-surface);color:var(--sgc-color-text);cursor:pointer;font-size:12px;font-weight:700}.bulk-action-button:hover:not(:disabled),.reference-bulk-action:hover:not(:disabled){border-color:var(--sgc-color-gold);background:var(--sgc-color-gold-soft);color:var(--sgc-color-warning)}.bulk-action-button.danger,.reference-bulk-action.danger{color:var(--sgc-color-danger)}.bulk-action-button:disabled,.reference-bulk-action:disabled{opacity:.55;cursor:default}.reference-card,.fleet-page .fleet-aux-card{gap:var(--sgc-space-5);min-height:142px;padding:var(--sgc-space-8);background:var(--sgc-color-surface);border:1px solid var(--sgc-color-line);border-radius:var(--sgc-radius-card);color:var(--sgc-color-text-strong);box-shadow:var(--sgc-shadow-card);grid-template-columns:auto 1fr auto;align-items:center;text-decoration:none;transition:transform .15s,border-color .15s,box-shadow .15s;display:grid}.reference-card:hover,.reference-card:focus-visible,.fleet-page .fleet-aux-card:hover,.fleet-page .fleet-aux-card:focus-visible{border-color:var(--sgc-color-gold);box-shadow:var(--sgc-shadow-popover);outline:none;transform:translateY(-2px)}.reference-card-icon,.fleet-page .fleet-aux-card-icon{border-radius:var(--sgc-radius-section);background:var(--sgc-color-gold-soft);border:1px solid color-mix(in srgb, var(--sgc-color-gold) 35%, var(--sgc-color-line));width:48px;height:48px;color:var(--sgc-color-warning);place-items:center;font-weight:900;display:grid}@media (width<=760px){.bulk-toolbar,.fleet-page .bulk-toolbar{z-index:20;bottom:var(--sgc-space-3);box-shadow:var(--sgc-shadow-popover);position:sticky}.responsive-card-table td.selection-cell,.fleet-page .responsive-card-table td.selection-cell{min-height:var(--sgc-action-height);background:var(--sgc-color-background);justify-content:flex-end;display:flex}}:is(.resource-page:has(>.record-form>.form-section>.form-grid.two-columns),.resource-page:has(>.form-section>.form-grid.two-columns)){max-width:var(--sgc-form-page-max-width)}.resource-page:has(>.record-form>.form-section>.form-grid.two-columns)>.record-form{width:min(var(--sgc-form-max-width), 100%);margin-top:var(--sgc-space-3);gap:var(--sgc-form-section-gap)}.resource-page:has(>.record-form>.form-section>.form-grid.two-columns)>.record-form>.form-section{width:min(var(--sgc-form-max-width), 100%);box-sizing:border-box;gap:var(--sgc-space-6);padding:var(--sgc-space-9) var(--sgc-space-10);border:1px solid var(--sgc-color-line);border-radius:var(--sgc-radius-card);background:var(--sgc-color-surface);box-shadow:var(--sgc-shadow-card);display:grid}.resource-page>.form-section:has(>.form-grid.two-columns){width:min(var(--sgc-form-max-width), 100%);box-sizing:border-box;gap:var(--sgc-space-6);padding:var(--sgc-space-9) var(--sgc-space-10);border:1px solid var(--sgc-color-line);border-radius:var(--sgc-radius-card);background:var(--sgc-color-surface);box-shadow:var(--sgc-shadow-card);display:grid}.resource-page>.form-section:has(>.form-grid.two-columns){margin-top:var(--sgc-space-3)}.management-type-page .management-type-grid{gap:var(--sgc-space-6) var(--sgc-space-8);grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}.resource-page:has(>.record-form>.form-section>.form-grid.two-columns) .form-grid.two-columns{gap:var(--sgc-space-6) var(--sgc-space-8);grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}.resource-page>.form-section:has(>.form-grid.two-columns)>.form-grid.two-columns{gap:var(--sgc-space-6) var(--sgc-space-8);grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;display:grid}.resource-page:has(>.record-form>.form-section>.form-grid.two-columns) .form-grid.two-columns>label{align-content:start;align-self:start;gap:var(--sgc-space-2);grid-auto-rows:max-content;min-width:0;display:grid}.resource-page>.form-section:has(>.form-grid.two-columns)>.form-grid.two-columns>label{align-content:start;align-self:start;gap:var(--sgc-space-2);grid-auto-rows:max-content;min-width:0;display:grid}.resource-page:has(>.record-form>.form-section>.form-grid.two-columns) .form-grid.two-columns small{color:var(--sgc-color-muted);margin:0;line-height:1.45}.resource-page>.form-section:has(>.form-grid.two-columns) .form-grid.two-columns small{color:var(--sgc-color-muted);margin:0;line-height:1.45}:is(.resource-page:has(>.record-form>.form-section>.form-grid.two-columns)>.record-form>.form-actions,.resource-page>.form-section:has(>.form-grid.two-columns)>.form-actions){width:min(var(--sgc-form-max-width), 100%);justify-content:flex-end}@media (width<=760px){.resource-page:has(>.record-form>.form-section>.form-grid.two-columns) .form-grid.two-columns{grid-template-columns:1fr}.resource-page>.form-section:has(>.form-grid.two-columns)>.form-grid.two-columns{grid-template-columns:1fr}.resource-page:has(>.record-form>.form-section>.form-grid.two-columns)>.record-form>.form-section{padding:var(--sgc-space-7)}.resource-page>.form-section:has(>.form-grid.two-columns){padding:var(--sgc-space-7)}}@media (width<=640px){:is(.resource-page:has(>.record-form>.form-section>.form-grid.two-columns)>.record-form>.form-actions,.resource-page>.form-section:has(>.form-grid.two-columns)>.form-actions){flex-direction:column-reverse;align-items:stretch}:is(.resource-page:has(>.record-form>.form-section>.form-grid.two-columns)>.record-form>.form-actions>*,.resource-page>.form-section:has(>.form-grid.two-columns)>.form-actions>*){width:100%}}.page-content{padding:var(--sgc-page-padding)}.resource-page{width:100%;max-width:var(--sgc-page-max-width);color:var(--sgc-color-text);margin:0 auto}.ds-page-header,.resource-header{justify-content:space-between;align-items:center;gap:var(--sgc-space-9);margin-bottom:var(--sgc-space-9);display:flex}.ds-page-header__title,.resource-title{align-items:center;gap:16px;min-width:0;display:flex}.ds-page-header__title h1,.resource-title h1{color:var(--sgc-color-navy);font-size:var(--sgc-font-size-title);letter-spacing:-.03em;margin:0 0 5px;font-weight:800;line-height:1.12}.ds-page-header__title p,.resource-title p{color:var(--sgc-color-muted);margin:0}.ds-page-header__icon,.title-icon{background:var(--sgc-color-gold-soft);color:#a6821d;border:1px solid #efe3b6;border-radius:12px;flex:0 0 58px;place-items:center;width:58px;height:58px;font-weight:900;display:grid}.ds-page-header__actions,.page-header-actions{justify-content:flex-end;align-items:center;gap:var(--sgc-space-3);flex-wrap:wrap;display:flex}.ds-surface,.ds-form-card,.ds-filter-card,.ds-table-card,.ds-metric-card,.ds-page-section,.form-card,.filter-card,.table-card,.metric-card,.panel{border:1px solid var(--sgc-color-line);border-radius:var(--sgc-radius-card);background:var(--sgc-color-surface);box-shadow:var(--sgc-shadow-card)}.ds-form-card,.form-card{margin:0;padding:28px 30px 26px}.ds-form-card legend,.form-card legend{color:#192b44;font-size:var(--sgc-font-size-section);margin-left:-2px;padding:0 10px;font-weight:800}.ds-section-help,.section-help{color:var(--sgc-color-muted);font-size:var(--sgc-font-size-label);margin:-2px 0 18px}.ds-filter-card,.filter-card{align-items:end;gap:var(--sgc-space-5);padding:var(--sgc-space-6);margin-bottom:var(--sgc-space-7);display:flex}.ds-table-card,.table-card{overflow:hidden}.ds-table-meta,.table-meta{color:#788597;border-bottom:1px solid var(--sgc-color-line);justify-content:space-between;align-items:center;min-height:48px;padding:14px 17px;font-size:12px;display:flex}.ds-table-footer{border-top:1px solid var(--sgc-color-line);padding:15px 17px}.ds-metric-card,.metric-card{gap:var(--sgc-space-4);padding:var(--sgc-space-6);border-left:3px solid var(--sgc-color-gold);display:grid;position:relative}.ds-metric-card__icon{background:var(--sgc-color-gold-soft);color:#8c6d17;border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.ds-metric-card__label,.metric-card>span{color:var(--sgc-color-muted);font-size:var(--sgc-font-size-body)}.ds-metric-card__value,.metric-card>strong{color:var(--sgc-color-text-strong);font-size:30px;line-height:1.1}.ds-metric-card__help{color:var(--sgc-color-muted);font-size:12px}.ds-form-actions,.form-actions{justify-content:flex-end;gap:var(--sgc-space-4);display:flex}.ds-form-actions--sticky,.form-actions{z-index:30;background:linear-gradient(to bottom, #f2f4f700, var(--sgc-color-background) 24%);margin:0 -4px;padding:14px 4px 18px;position:sticky;bottom:0}.ds-form-actions--static{background:0 0;margin:0;padding:0;position:static}.ds-status-badge,.status-badge,.soft-badge{width:fit-content;font-size:var(--sgc-font-size-sm);border-radius:6px;align-items:center;padding:5px 8px;font-weight:700;line-height:1.2;display:inline-flex}.ds-status-badge--neutral{color:#687386;background:#f2f3f5}.ds-status-badge--info,.soft-badge{color:var(--sgc-color-info);background:#edf3ff}.ds-status-badge--success,.ds-status-badge--active,.status-badge.active{color:var(--sgc-color-success);background:#e7f5ed}.ds-status-badge--warning{color:var(--sgc-color-warning);background:#fff7dc}.ds-status-badge--danger{color:#8d2929;background:#fff0f0}.ds-status-badge--inactive,.status-badge.inactive{color:#7f8792;background:#f2f3f5}.ds-page-section{gap:var(--sgc-space-6);padding:var(--sgc-space-6);display:grid}.ds-page-section__header{justify-content:space-between;align-items:flex-start;gap:var(--sgc-space-5);display:flex}.ds-page-section__header h2{color:#192b44;font-size:var(--sgc-font-size-section);margin:0}.ds-page-section__header p{color:var(--sgc-color-muted);font-size:var(--sgc-font-size-label);margin:5px 0 0}.ds-page-section__actions{justify-content:flex-end;gap:var(--sgc-space-3);flex-wrap:wrap;display:flex}.resource-page label>span,.resource-page .field-label,.form-card label>span,.filter-card label>span{color:#34445a;font-size:var(--sgc-font-size-label);font-weight:700}.resource-page input:not([type=checkbox]):not([type=radio]),.resource-page select,.resource-page textarea{border:1px solid var(--sgc-control-border);border-radius:var(--sgc-radius-control);color:#18263a;background:#fff;outline:none;width:100%}.resource-page input:not([type=checkbox]):not([type=radio]),.resource-page select{min-height:var(--sgc-control-height);padding:10px 12px}.resource-page :where(input[type=checkbox],input[type=radio]){max-width:16px;max-height:16px;accent-color:var(--sgc-color-gold);box-shadow:none;flex:0 0 16px;width:16px!important;min-width:16px!important;height:16px!important;min-height:16px!important;padding:0!important}.resource-page textarea{resize:vertical;min-height:96px;padding:10px 12px}.resource-page input:focus,.resource-page select:focus,.resource-page textarea:focus{border-color:var(--sgc-focus-border);box-shadow:var(--sgc-focus-ring)}.resource-page input[type=checkbox]:focus-visible,.resource-page input[type=radio]:focus-visible{outline:2px solid var(--sgc-focus-border);outline-offset:2px;box-shadow:none}.resource-page input:disabled,.resource-page select:disabled,.resource-page textarea:disabled{color:#8b96a5;cursor:not-allowed;background:#f4f5f7}.primary-button,.gold-button,.secondary-button,.navy-button,.danger-button,.add-row-button{min-height:var(--sgc-action-height);border-radius:var(--sgc-radius-control);justify-content:center;align-items:center;gap:var(--sgc-space-3);padding:9px 14px;font-weight:700;text-decoration:none;display:inline-flex}.primary-button,.gold-button{border:1px solid var(--sgc-color-gold);background:var(--sgc-color-gold);color:#172238;font-weight:800}.secondary-button{color:#4d5c70;background:#fff;border:1px solid #dce1e7}.navy-button{border:1px solid var(--sgc-color-navy);background:var(--sgc-color-navy);color:#fff}.danger-button{border:1px solid var(--sgc-color-danger);background:var(--sgc-color-danger);color:#fff}.primary-button:disabled,.gold-button:disabled,.secondary-button:disabled,.navy-button:disabled,.danger-button:disabled{opacity:.6;cursor:default}.resource-page table{border-collapse:collapse;width:100%}.resource-page th{color:#657286;text-align:left;background:#f6f7f9;padding:14px;font-size:12px;font-weight:700}.resource-page td{color:#4d5a6d;border-top:1px solid #edf0f3;padding:15px 14px;font-size:13px}.resource-page td strong{color:var(--sgc-color-text-strong)}@media (width<=860px){.ds-page-header,.resource-header{flex-direction:column;align-items:flex-start}.ds-page-header__actions,.page-header-actions{justify-content:flex-start;width:100%}.ds-filter-card,.filter-card{flex-direction:column;align-items:stretch}.ds-form-card,.form-card{padding:24px 18px 20px}}@media (width<=640px){.ds-table-meta,.table-meta,.ds-page-section__header{flex-direction:column;align-items:flex-start}.ds-form-actions,.form-actions{gap:var(--sgc-space-3)}.ds-form-actions>.secondary-button,.ds-form-actions>.primary-button,.ds-form-actions>.gold-button,.form-actions>.secondary-button,.form-actions>.primary-button,.form-actions>.gold-button{flex:1}}.resource-page :is(a,button,[role=button],[tabindex]):focus-visible,.ds-page-header :is(a,button):focus-visible{outline:2px solid var(--sgc-focus-border);outline-offset:3px}.resource-page :is(.ds-page-section,.ds-form-card,.ds-filter-card,.ds-table-card,.ds-metric-card){min-width:0}.resource-page :is(.ds-page-section__header,.ds-table-meta,.ds-page-header__title){overflow-wrap:anywhere;min-width:0}.resource-page :is(.ds-table-card,.table-card)>.responsive-table{max-width:100%}@media (width<=640px){.resource-page .ds-page-header__actions>:is(a,button),.resource-page .ds-table-meta>*{max-width:100%}}@media (prefers-reduced-motion:reduce){.resource-page :is(.ds-metric-card,.ds-page-section,.ds-table-card),.resource-page :is(a,button){scroll-behavior:auto;transition-duration:.01ms}}.resource-page :is(.responsive-table,.table-scroll,.table-wrapper){overscroll-behavior-x:contain;min-width:0;max-width:100%;overflow-x:auto}.resource-page .ds-page-header__title>div{overflow-wrap:anywhere;min-width:0}.resource-page :is(.ds-filter-card,.ds-form-card) :is(input,select,textarea){max-width:100%}@media (width<=640px){.resource-page .ds-filter-card>:is(label,button,a){min-width:0;max-width:100%}.resource-page .ds-page-header__title h1{overflow-wrap:anywhere}}@media (forced-colors:active){.resource-page :is(a,button,input,select,textarea):focus-visible{outline-offset:2px;outline:2px solid highlight}}.page-size-control{gap:var(--sgc-space-3);white-space:nowrap;flex-direction:row!important;align-items:center!important;width:auto!important;display:inline-flex!important}.page-size-control>span{white-space:nowrap;display:inline!important}.page-size-control select{flex:0 0 6rem;min-width:6rem;width:6rem!important}
