:is(.admin-workspace,.employee-workspace,.customer-workspace,.login-shell){--type-page:40px;--type-section:26px;--type-card:20px;--type-body:16px;--type-secondary:14px;--type-meta:13px;--space-field:16px;--space-section:32px;--space-card:24px;--radius-card:8px;--control-height:48px;--workspace-primary:#465145;--workspace-danger:#8a322b;min-width:0;font-size:var(--type-body);line-height:1.6;overflow-wrap:anywhere}.admin-workspace{--type-page:36px;--type-section:24px;--type-body:15px;--space-card:20px}.customer-workspace{--type-section:28px;--space-section:40px}:is(.admin-workspace,.employee-workspace,.customer-workspace,.login-shell) :is(section,article,header,form,div,label,span,a,li,details){min-width:0}:is(.admin-workspace,.employee-workspace,.customer-workspace,.login-shell) :is(h1,h2,h3,h4,h5){color:var(--ink);line-height:1.3;letter-spacing:-.015em}:is(.admin-workspace,.employee-workspace,.customer-workspace) h1{margin:0 0 16px;font-family:var(--sans);font-size:var(--type-page);font-weight:600;line-height:1.2}.customer-workspace .portal-heading-row h1,.customer-workspace h1{font-family:var(--serif);font-size:var(--type-page);font-weight:400}.login-shell h1{font-size:var(--type-page)}:is(.admin-workspace,.employee-workspace,.customer-workspace) h2{margin:0 0 12px;font-family:var(--sans);font-size:var(--type-section);font-weight:600}.customer-workspace h2{font-family:var(--serif);font-weight:400}:is(.admin-workspace,.employee-workspace,.customer-workspace) :is(h3,h4,h5){margin:0 0 10px;font-family:var(--sans);font-size:18px;font-weight:600}:is(.admin-workspace,.employee-workspace,.customer-workspace) :is(h4,h5){font-size:16px}:is(.admin-workspace,.employee-workspace,.customer-workspace) p{margin:0 0 12px}:is(.admin-workspace,.employee-workspace,.customer-workspace) .eyebrow{margin-bottom:8px;font-size:12px;letter-spacing:.1em}:is(.admin-workspace,.employee-workspace,.customer-workspace)>.section{padding:var(--space-section) 0 56px;border:0}:is(.admin-workspace,.employee-workspace,.customer-workspace) .panel-card{padding:var(--space-card);border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface)}.employee-workspace .employee-order-heading h2,:is(.admin-workspace,.employee-workspace,.customer-workspace) .panel-card h2{font-family:var(--sans);font-size:var(--type-card);font-weight:600}:is(.admin-workspace,.employee-workspace,.customer-workspace) .panel-card>:last-child{margin-bottom:0}:is(.admin-workspace,.employee-workspace,.customer-workspace) :is(.feature-grid,.customer-detail-grid,.cemetery-edit-form){grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px}:is(.admin-workspace,.employee-workspace,.customer-workspace) .order-card{gap:20px;margin:20px 0}:is(.admin-workspace,.employee-workspace,.customer-workspace) :is(.stack,.cemetery-edit-form){gap:var(--space-field);margin-top:16px}:is(.admin-workspace,.employee-workspace,.customer-workspace,.login-shell) label{font-size:14px;line-height:1.5}:is(.admin-workspace,.employee-workspace,.customer-workspace,.login-shell) :is(input,select,textarea){max-width:100%;min-width:0;min-height:var(--control-height);font-size:16px;font-weight:400;line-height:1.5}:is(.admin-workspace,.employee-workspace,.customer-workspace,.login-shell) textarea{min-height:128px}.selected-option-description{display:block;color:var(--muted);font-size:13px;font-weight:400;line-height:1.6;overflow-wrap:anywhere}:is(.admin-workspace,.employee-workspace,.customer-workspace,.login-shell) input[type=file]{white-space:normal;font-size:14px}:is(.admin-workspace,.employee-workspace,.customer-workspace,.login-shell) input::file-selector-button{min-height:32px;margin:-4px 8px -4px -6px;padding:6px 10px;border:1px solid var(--line);border-radius:4px;background:var(--paper);color:var(--ink);font:inherit}:is(.admin-workspace,.employee-workspace,.customer-workspace,.login-shell) .check{align-items:center;min-height:44px}:is(.admin-workspace,.employee-workspace,.customer-workspace,.login-shell) .check input{flex:0 0 22px;width:22px;min-height:22px;margin:0;accent-color:var(--workspace-primary)}:is(.admin-workspace,.employee-workspace,.customer-workspace,.login-shell) .button{max-width:100%;min-height:var(--control-height);padding:11px 20px;border-color:var(--workspace-primary);border-radius:6px;background:var(--workspace-primary);color:white;font-size:15px;font-weight:600;line-height:1.5;text-align:center;white-space:normal;box-shadow:none}.customer-workspace .button{border-radius:999px}:is(.admin-workspace,.employee-workspace,.customer-workspace,.login-shell) .button:hover{background:#313c32;border-color:#313c32;transform:none}:is(.admin-workspace,.employee-workspace,.customer-workspace) :is(.button-secondary,.button-quiet){background:transparent;border-color:#8c958a;color:var(--workspace-primary)}:is(.admin-workspace,.employee-workspace,.customer-workspace) .button-danger{background:transparent;border-color:var(--workspace-danger);color:var(--workspace-danger)}:is(.admin-workspace,.employee-workspace,.customer-workspace) .button-danger:hover{background:#f8eeeb;border-color:var(--workspace-danger);color:var(--workspace-danger)}:is(.admin-workspace,.employee-workspace,.customer-workspace) :is(.button-secondary,.button-quiet):hover{background:#eeede7;color:var(--workspace-primary)}:is(.admin-workspace,.employee-workspace,.customer-workspace) :is(.text-button,.text-link,.workspace-actions>a,.portal-topbar>a,.stats-card>a){display:inline-flex;align-items:center;min-height:44px;max-width:100%;line-height:1.5;text-underline-offset:3px}:is(.admin-workspace,.employee-workspace,.customer-workspace) summary{min-height:44px;padding-block:10px;line-height:1.5;cursor:pointer}:is(.admin-workspace,.employee-workspace) :is(.workspace-nav,.panel-nav){gap:4px;padding:8px}:is(.admin-workspace,.employee-workspace) :is(.workspace-nav,.panel-nav) a{min-height:44px;padding:10px 12px;font-size:14px;line-height:1.5}:is(.workspace-nav,.panel-nav) a[aria-current=page]{background:#e7e9e3;color:#374239;box-shadow:inset 3px 0 var(--sage-deep)}:is(.admin-workspace,.employee-workspace,.customer-workspace) .workspace-header{gap:16px}:is(.admin-workspace,.employee-workspace,.customer-workspace) .workspace-actions{flex:1 1 280px;gap:8px 16px}:is(.admin-workspace,.employee-workspace,.customer-workspace) .workspace-user{flex:1 1 140px}:is(.admin-workspace,.employee-workspace) .stats-grid strong{font-family:var(--sans);font-size:32px;font-weight:600;line-height:1.2;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.admin-workspace .stats-grid{gap:12px}.admin-workspace .stats-card span{font-size:14px}.admin-workspace .admin-dashboard a{display:inline-flex;align-items:center;gap:4px;min-height:44px;max-width:100%}.admin-workspace .admin-inquiry-preview>div{flex:1 1 240px}.admin-workspace .admin-inquiry-preview>a{flex:0 0 auto}.admin-workspace .admin-inquiry-preview{flex-wrap:wrap}.admin-workspace :is(.customer-summary,.cemetery-card)>header>div{flex:1 1}.admin-workspace :is(.status-pill,.cemetery-badges span){max-width:100%;font-size:13px;line-height:1.4}.admin-workspace .audit-log .panel-card{margin-top:16px;overflow-wrap:anywhere}.admin-workspace .audit-log .panel-card h2{font-size:18px}.admin-workspace .audit-log pre{padding:12px;border:1px solid var(--line);border-radius:4px;background:var(--paper);font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.admin-workspace .order-card>.stack+.stack{padding-top:20px;border-top:1px solid var(--line)}:is(.admin-workspace,.employee-workspace,.customer-workspace) .button-row{display:flex;flex-wrap:wrap;gap:12px}.employee-workspace .employee-next-order{border-left:3px solid var(--sage-deep)}.employee-workspace .employee-next-order h2{font-size:24px}.employee-workspace :is(.employee-week,.employee-time-history,.admin-dashboard-section){margin-top:var(--space-section)}.employee-workspace .employee-week-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.employee-workspace .employee-week-day{padding:12px 6px}.employee-workspace .employee-week-day :is(span,time,small){font-size:13px}.employee-workspace .employee-week-day strong{font-family:var(--sans);font-size:24px;font-weight:600}.employee-workspace .task-check-row{flex-direction:row;align-items:flex-start;flex-wrap:wrap;gap:4px 12px;padding:8px 12px}.employee-workspace .task-check{flex:1 1 240px;font-size:16px}.employee-workspace .inline-feedback{min-width:0;max-width:100%;font-size:13px}.employee-workspace .completion-button{min-height:52px;font-size:16px}.employee-workspace .employee-detail>.eyebrow{margin-top:16px}.employee-workspace :is(.photo-release .check,.employee-completed-card>a){min-height:44px}.employee-workspace .employee-completed-card>a{display:inline-flex;align-items:center}.customer-workspace .portal-topbar{flex-wrap:wrap;justify-content:flex-start;gap:8px 16px;padding-block:8px;font-size:14px}.customer-workspace .portal-sidebar nav a{min-height:44px;font-size:14px}.customer-workspace .portal-heading-row{margin-bottom:24px}.customer-workspace .portal-grave-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}.customer-workspace .portal-grave-summary{padding:20px;gap:12px}.customer-workspace .portal-grave-title{font-size:24px;line-height:1.3}.customer-workspace .portal-grave-location{overflow:visible;font-size:14px;line-height:1.5}.customer-workspace .portal-card-last-care{font-size:14px;line-height:1.5}.customer-workspace .portal-grave-detail-content{padding:var(--space-card);gap:16px}.customer-workspace .portal-grave-detail-content>h3{font-family:var(--serif);font-size:24px;font-weight:400}.customer-workspace .report-preview{display:block;overflow:visible;-webkit-line-clamp:unset}.customer-workspace .portal-support-section{margin-top:var(--space-section)}.customer-workspace .portal-details summary{display:list-item}.customer-workspace .portal-inquiry{flex-shrink:1;white-space:normal}.customer-workspace .portal-photo :is(h4,h5){font-size:14px}.customer-workspace .care-timeline{padding-left:20px;gap:20px}:is(.admin-workspace,.employee-workspace,.customer-workspace) :is(small,figcaption,.muted-note,.message-author,.message-bubble time,.photo-card>p){font-size:var(--type-meta);line-height:1.6}:is(.admin-workspace,.employee-workspace,.customer-workspace) .message-author{color:var(--muted);font-size:13px}:is(.admin-workspace,.employee-workspace,.customer-workspace) .photo-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),min(100%,360px)));justify-content:start}:is(.admin-workspace,.employee-workspace,.customer-workspace) .photo-thumbnail{height:auto;aspect-ratio:3/2}:is(.admin-workspace,.employee-workspace,.customer-workspace) :is(.success-message,.error-message){font-size:14px;line-height:1.6}@media (max-width:1050px){.customer-workspace .portal-heading-row{align-items:flex-start;flex-direction:column;gap:12px}}@media (max-width:760px){.login-shell{--type-page:32px}:is(.admin-workspace,.employee-workspace,.customer-workspace){--type-page:32px;--type-section:24px;--space-card:18px;--space-section:28px}.admin-workspace{--type-page:30px;--type-section:22px}.employee-workspace{--type-page:30px}:is(.admin-workspace,.employee-workspace,.customer-workspace) :is(.workspace-actions,.portal-topbar){justify-content:flex-start}:is(.admin-workspace,.employee-workspace,.customer-workspace) .workspace-user{flex-basis:100%}:is(.admin-workspace,.employee-workspace) :is(.workspace-nav,.panel-nav) a{font-size:14px;padding-inline:10px}.employee-workspace .employee-week-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.employee-workspace .employee-week-day{gap:4px;padding:10px 4px}.customer-workspace .portal-grave-summary{padding:18px}.customer-workspace .portal-grave-title{font-size:22px}.customer-workspace .portal-sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.customer-workspace .portal-sidebar nav a{justify-content:flex-start;padding:10px 8px;font-size:14px}:is(.admin-workspace,.employee-workspace,.customer-workspace) .stack>.button{width:100%}}.workflow-fields{min-width:0;border:0;padding:0;margin:0;display:grid;gap:1rem}.queue-filters{grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));margin:1.5rem 0;align-items:end}.queue-filters,.queue-list{display:grid;gap:1rem}.queue-row{display:flex;gap:1rem;justify-content:space-between;align-items:center}.queue-row,.queue-row>div{min-width:0}.queue-row h2{font-size:1.2rem}.queue-row h2,.queue-row p{overflow-wrap:anywhere}.queue-pagination{margin:1.5rem 0}.offer-position{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,1fr) minmax(0,1fr) minmax(0,2fr);gap:1rem}.matrix-values{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:1rem}.matrix-cell,.matrix-feature,.matrix-values>*,.workflow-fields>*{min-width:0}.portal-grave-summary .portal-card-photo{width:100%;aspect-ratio:8/5;height:auto;object-fit:cover}.portal-card-photo-placeholder{display:grid;align-items:center}.message-bubble{max-width:90%;overflow-wrap:anywhere;white-space:pre-wrap}.message-bubble:not(.message-from-admin){margin-left:auto}.customer-workspace .message-from-admin{margin-left:0;margin-right:auto}.queue-row>.button{flex-shrink:0}.message-list{display:flex;flex-direction:column;gap:1rem;padding:0;list-style:none}@media (max-width:767px){.queue-row{flex-direction:column;align-items:stretch}.offer-position{grid-template-columns:minmax(0,1fr)}}.admin-packages-page{gap:24px}.admin-packages-header,.admin-packages-page{display:flex;flex-direction:column;min-width:0;max-width:100%}.admin-packages-header{gap:16px;word-break:break-word}.admin-matrix-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border:1px solid var(--sand);border-radius:8px;background:#faf8f5;min-width:0;max-width:100%;box-sizing:border-box}.status-indicator-block,.toolbar-actions{display:flex;align-items:center;gap:8px}.toolbar-actions{flex-wrap:wrap}.badge-warning{background:#fff3cd;color:#856404;border:1px solid #ffeeba;border-radius:999px}.badge-success,.badge-warning{padding:4px 10px;font-size:13px;font-weight:600}.badge-success{background:#d4edda;color:#155724;border:1px solid #c3e6cb;border-radius:999px}.badge-status-published{background:#e8f5e9;color:#2e7d32}.badge-status-draft,.badge-status-published{font-size:11px;font-weight:700;padding:2px 7px;border-radius:4px}.badge-status-draft{background:#fff8e1;color:#f57f17}.badge-status-archived{background:#eceff1;color:#546e7a;font-size:11px;font-weight:700;padding:2px 7px;border-radius:4px}.badge-inactive{background:#f5f5f5;color:#888;font-size:11px;padding:2px 6px;border-radius:4px}.preview-pill{font-size:13px;color:#b45309;font-weight:500;margin-left:8px}.admin-matrix-controls-bar,.admin-matrix-scroll-wrapper,.features-management-section,.matrix-view-section,.packages-management-section,.pending-changes-preview-section{min-width:0;max-width:100%;box-sizing:border-box}.admin-matrix-scroll-wrapper{overflow-x:auto;border:1px solid var(--sand);border-radius:8px;background:#fff;margin-top:14px}.admin-matrix-table{width:100%;border-collapse:collapse;min-width:650px}.admin-matrix-table td,.admin-matrix-table th{padding:10px 14px;border:1px solid #ebe6df;font-size:13px}.admin-matrix-table thead th{position:sticky;top:0;z-index:2;vertical-align:top;border-bottom:2px solid #22262a}.admin-matrix-table th.pkg-header-leistung,.admin-matrix-table th.sticky-col-header{position:sticky;left:0;top:0;z-index:3;background:#2d3135!important;color:#ffffff!important}.admin-matrix-table th.pkg-header-basis{background:#737b82!important;color:#ffffff!important}.admin-matrix-table th.pkg-header-basis-plus{background:#3e5e49!important;color:#ffffff!important}.admin-matrix-table th.pkg-header-premium{background:#b8863f!important;color:#ffffff!important}.admin-matrix-table th.pkg-header-custom{background:#475569!important;color:#ffffff!important}.admin-matrix-table th.sticky-col{position:sticky;left:0;z-index:1;background:#faf8f5}.pkg-header-cell{display:flex;flex-direction:column;gap:4px;align-items:center}.pkg-header-cell strong{font-size:15px;font-weight:700;color:#ffffff;text-transform:uppercase;letter-spacing:.05em}.pkg-status-pills{display:flex;gap:4px}.pkg-price{font-weight:600;color:#ffffff;opacity:.95}.pkg-header-cell small{color:#ffffff;opacity:.85}.admin-cat-header-row,.admin-cat-title-cell{background:#f4eee6!important;border-top:2px solid #dfd7cc!important;border-bottom:2px solid #dfd7cc!important}.cat-title-inner{display:flex;align-items:center;gap:8px}.cat-name{font-weight:800;font-size:13px;color:#2d3135;text-transform:uppercase;letter-spacing:.06em}.cat-desc{font-size:12px;color:#555555}.matrix-footer-row th{background:#2d3135!important;color:#ffffff!important;font-size:12px;text-transform:uppercase;letter-spacing:.04em;padding:12px 14px;text-align:left}.matrix-footer-row td{background:#f8fafc;font-size:14px;font-weight:700;text-align:center;border-top:2px solid #dfd7cc;padding:12px 14px;vertical-align:middle}.matrix-footer-row.footer-annual td{border-bottom:2px solid #dfd7cc}.matrix-toggle-btn{border:1px solid #d0d7de;background:#f8fafc;cursor:pointer;font-size:13px;font-weight:600;padding:5px 12px;border-radius:6px;transition:all .12s ease;display:inline-flex;align-items:center;justify-content:center}.matrix-toggle-btn.is-active{background:#eaf3eb;color:#2e663a;border-color:#b7dcbd;font-weight:700}.matrix-toggle-btn.is-active:hover{background:#d8edd9}.matrix-toggle-btn.is-inactive{background:#f8fafc;color:#8a94a6;border-color:#e2e8f0}.matrix-toggle-btn.is-inactive:hover{background:#edf2f7;color:#4a5568}.admin-feat-label-cell{text-align:left;background:#faf8f5;width:250px}.feat-info{display:flex;flex-direction:column;gap:2px}.feat-name{font-weight:600;color:var(--ink)}.feat-type-badge{font-size:10px;color:var(--muted);text-transform:uppercase}.admin-matrix-cell{vertical-align:top;text-align:center}.cell-display-content{display:flex;flex-direction:column;align-items:center;gap:4px}.cell-val-badge{font-weight:600;font-size:13px}.cell-val-badge.is-included{color:var(--ink)}.cell-val-badge.is-not-included{color:#999}.cell-has-draft{background:#fffcf0}.cell-draft-indicator{font-size:11px;color:#b45309;font-weight:600;background:#fef3c7;padding:2px 6px;border-radius:4px}.cell-edit-drawer{margin-top:4px;width:100%}.admin-matrix-table th.feature-title-cell,.admin-matrix-table th.footer-label-cell,.admin-matrix-table th.pkg-header-leistung{min-width:260px;width:260px}.admin-matrix-table td.admin-matrix-cell,.admin-matrix-table td.footer-val-cell,.admin-matrix-table th.package-matrix-col-header{min-width:200px;width:220px}.admin-matrix-table td.admin-matrix-cell{vertical-align:middle}.admin-matrix-table .feature-label-text{font-weight:600}.admin-matrix-table .feature-meta-line{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:2px}.admin-matrix-table .feature-meta-line .badge{font-size:10px}.admin-matrix-table .feat-tooltip-trigger{cursor:help;font-size:11px;color:var(--muted)}.admin-matrix-table .cell-display-content{display:flex;flex-direction:column;align-items:center;gap:6px}.admin-matrix-table .cell-actions-row{display:flex;align-items:center;gap:6px}.admin-matrix-table .btn-open-cell-modal{font-size:11px;padding:4px 6px}.admin-matrix-table .cell-draft-indicator{font-size:10px}.matrix-cell-modal-subheading{margin:2px 0 0}.matrix-cell-modal-discard-box{background:#fffbeb;border:1px solid #fef3c7;border-radius:6px;display:flex;justify-content:space-between;align-items:center}.matrix-cell-modal-discard-title{font-size:13px;color:#92400e;font-weight:600}.matrix-cell-modal-discard-actions{display:flex;gap:8px}.matrix-cell-modal-btn-discard-confirm{background:#dc2626!important;color:#fff!important;border-color:#dc2626!important}.matrix-cell-modal-error-alert{background:#fef2f2;color:#991b1b;border:1px solid #fecaca;border-radius:6px}.matrix-cell-modal-live-box{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:6px;font-size:12px;color:#166534}.matrix-cell-modal-label-hint{display:block;margin-bottom:4px}.matrix-cell-modal-select{width:100%;height:42px}.matrix-cell-modal-check-label{display:flex;gap:8px;align-items:center;cursor:pointer;padding:8px 0}.matrix-cell-modal-input-value{width:100%;font-weight:600}.matrix-cell-modal-footer{display:flex;justify-content:space-between;align-items:center}.matrix-cell-modal-delete-btn{color:var(--color-danger,#b91c1c)}.matrix-cell-modal-action-group{display:flex;gap:10px}.cell-edit-toggle{cursor:pointer;font-size:11px;color:var(--sage-deep);text-decoration:underline}.cell-edit-form{margin-top:8px;padding:8px;background:#faf8f5;border:1px solid var(--sand);border-radius:6px;text-align:left;display:flex;flex-direction:column;gap:6px}.cell-edit-form label{font-size:11px}.cell-edit-form input,.cell-edit-form select{font-size:12px;padding:4px 6px}.grid-form-2{display:grid;grid-template-columns:1fr 1fr;gap:8px}.grid-form-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.inline-form{display:inline-block;margin:0}.inline-form form{display:inline}.card-top-bar{display:flex;justify-content:space-between;align-items:center}.add-category-accordion,.add-package-accordion,.category-accordion,.options-accordion{border-top:1px solid var(--sand);padding-top:8px;margin-top:8px}.features-list,.options-list{display:flex;flex-direction:column;gap:12px;margin-top:10px}.add-feature-form,.add-option-form,.feature-item-card,.option-item{background:#faf8f5;padding:12px}.dashboard-status-bar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:20px 0 24px}@media (max-width:1100px){.dashboard-status-bar{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:640px){.dashboard-status-bar{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}@media (max-width:380px){.dashboard-status-bar{grid-template-columns:1fr}}.status-tile{background:white;border:1px solid var(--line);border-radius:8px;padding:16px 14px;text-decoration:none;color:var(--ink);display:flex;flex-direction:column;justify-content:space-between;transition:all .15s ease-in-out;box-shadow:0 1px 3px rgba(0,0,0,.03);position:relative;min-height:100px;box-sizing:border-box}.status-tile:hover{border-color:var(--sage);background:#fdfbf7;transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.06)}.status-tile.is-active{border-color:var(--sage-deep,#465145);background:#f5f7f4;box-shadow:0 0 0 1px var(--sage-deep,#465145),0 4px 12px rgba(0,0,0,.06)}.status-tile.is-urgent{border-left:4px solid #b91c1c}.status-tile-header{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:4px}.status-tile-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);line-height:1.2}.status-tile-count{font-size:28px;font-weight:700;line-height:1.1;color:var(--ink);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;margin:4px 0}.status-tile-meta{font-size:11px;color:#64748b;line-height:1.3}.dashboard-tab-panel{background:white;border:1px solid var(--line);border-radius:8px;padding:20px;box-shadow:0 1px 3px rgba(0,0,0,.04);margin-top:16px}.dashboard-panel-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid var(--sand)}.dashboard-panel-header h2{margin:0;font-size:18px;font-weight:600}.employee-layout-container{display:flex;min-height:calc(100vh - 72px);width:100%}.employee-sidebar{width:240px;flex-shrink:0;background:#fbf9f5;border-right:1px solid var(--sand);padding:24px 16px;display:flex;flex-direction:column;gap:8px;box-sizing:border-box}.employee-sidebar-link{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-radius:6px;text-decoration:none;color:var(--ink);font-size:14px;font-weight:600;transition:all .15s ease-in-out}.employee-sidebar-link:hover{background:#ede9df}.employee-sidebar-link.active{background:var(--sage-deep,#465145);color:white}.employee-main-content{flex:1 1;min-width:0;padding:24px 32px 56px}@media (max-width:899px){.employee-sidebar{display:none!important}.employee-main-content{padding:16px 16px 40px}}.employee-mobile-nav{display:flex;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:8px;padding:10px 16px;margin:-16px -16px 16px;background:white;border-bottom:1px solid var(--line);white-space:nowrap}.employee-mobile-nav::-webkit-scrollbar{display:none}.employee-mobile-nav a{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:44px;min-width:44px;padding:10px 18px;border-radius:999px;font-size:13px;font-weight:600;text-decoration:none;background:var(--sand,#f7f6f2);color:var(--ink);border:1px solid var(--line);box-sizing:border-box;transition:background-color .15s ease,color .15s ease,border-color .15s ease}.employee-mobile-nav a.active,.employee-mobile-nav a:hover{background:var(--sage-deep,#465145);color:#ffffff;border-color:var(--sage-deep,#465145);box-shadow:0 1px 3px rgba(0,0,0,.12)}.employee-sidebar-link .sidebar-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;font-size:11px;font-weight:700;background:#ede9df;color:var(--ink)}.employee-sidebar-link.active .sidebar-badge{background:rgba(255,255,255,.25);color:#ffffff}@media (min-width:900px){.employee-mobile-nav{display:none!important}}.package-tab-nav{display:flex;gap:8px;border-bottom:2px solid var(--sand);margin-bottom:24px;overflow-x:auto;max-width:100%;scrollbar-width:thin}.package-tab-link{flex:0 0 auto;padding:12px 20px;text-decoration:none;font-size:15px;font-weight:600;color:var(--muted);border-bottom:3px solid transparent;margin-bottom:-2px;transition:all .15s ease-in-out;white-space:nowrap}.package-tab-link:hover{color:var(--ink);background:rgba(0,0,0,.02)}.package-tab-link.active{color:var(--sage-deep,#465145);border-bottom-color:var(--sage-deep,#465145)}.action-col{min-width:170px!important;text-align:right!important;white-space:nowrap!important}.action-button-group{display:inline-flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;vertical-align:middle}.action-button-group .button,.action-button-group .button-small,.action-button-group button{height:32px!important;min-height:32px!important;padding:0 12px!important;font-size:13px!important;font-weight:600!important;line-height:30px!important;border-radius:4px!important;box-sizing:border-box!important;white-space:nowrap!important}.feature-form-grid{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start}.field-category{flex:0 0 280px;max-width:300px;min-width:240px}.field-feature-name{flex:1 1 320px;min-width:240px}.field-feature-type{flex:0 0 200px;max-width:220px;min-width:180px}.field-sort-order{flex:0 0 100px;max-width:110px;min-width:90px}.field-full-width{flex:1 1 100%;width:100%}.input-number-compact{max-width:110px!important;min-width:90px!important;text-align:center}@media (max-width:767px){.field-category,.field-feature-name,.field-feature-type,.field-full-width,.field-sort-order{flex:1 1 100%!important;max-width:100%!important;min-width:0!important;width:100%!important}}.employee-filter-bar{background:#ffffff;border:1px solid var(--line);border-radius:var(--radius-card,6px);padding:16px;margin-bottom:24px}.employee-filter-form{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}.employee-filter-search{flex:1 1 240px;min-width:200px}.employee-filter-select{flex:0 0 190px;min-width:160px}.employee-filter-date{flex:0 0 160px;min-width:140px}.employee-filter-date input[type=date]{width:100%}.employee-filter-sort{flex:0 0 190px;min-width:160px}.employee-filter-actions,.employee-filter-status-info{display:flex;gap:8px;align-items:center}.employee-filter-status-info{margin-top:12px;font-size:13px;color:var(--muted);justify-content:space-between;flex-wrap:wrap}@media (max-width:767px){.employee-filter-actions,.employee-filter-date,.employee-filter-search,.employee-filter-select,.employee-filter-sort{flex:1 1 100%!important;min-width:100%!important}.employee-filter-actions{flex-direction:column}.employee-filter-actions .button{width:100%}}@media (max-width:899px){.action-button-group .button,.action-button-group a.button,.action-button-group button,.employee-filter-actions .button,.employee-order-actions .button,.employee-orders-mobile-list .button,.employee-sidebar-link{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;font-size:.9375rem}.employee-filter-form input,.employee-filter-form select{min-height:44px;font-size:16px}}.employee-orders-desktop-table{display:table;width:100%}.employee-orders-mobile-list{display:none}@media (max-width:899px){.employee-orders-desktop-table{display:none!important}.employee-orders-mobile-list{display:flex!important;flex-direction:column;gap:16px}}.package-overview-table{width:100%;min-width:1180px}.package-management-shell{container-type:inline-size}.package-overview-panel{overflow:hidden}.package-overview-table-shell{max-width:100%;margin:0}.package-overview-table .actions-col{width:270px;min-width:270px!important}.package-overview-table :is(th,td){padding-inline:10px}.package-overview-table .package-action-group{display:flex!important;flex-wrap:nowrap!important;width:max-content;min-width:100%}.package-card-actions .inline-form,.package-overview-table .inline-form{flex:0 0 auto}.package-overview-card-list{display:none}@container (max-width: 1180px){.package-overview-table{min-width:1000px}.package-overview-table .package-annual-col,.package-overview-table .package-sort-col{display:none}}@container (max-width: 1000px){.package-overview-table-shell{display:none}.package-overview-card-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}.package-overview-card{display:grid;gap:16px;min-width:0;padding:18px;border:1px solid var(--line);border-radius:8px;background:#fff}.package-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.package-card-heading h3,.package-card-heading p{margin:0}.package-card-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.package-card-facts div{padding:10px;border-radius:6px;background:#f8faf7}.package-card-facts dt{color:var(--muted);font-size:12px}.package-card-facts dd{margin:2px 0 0;font-weight:700}.package-options-button{width:100%}.package-card-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.package-card-actions :is(.button,.inline-form,.workflow-fields){width:100%}@container (max-width: 800px){.package-card-actions,.package-overview-card-list{grid-template-columns:1fr}}.work-orders-management{min-width:0}.work-orders-management>.section-title-row h1,.work-orders-management>.section-title-row p{margin-bottom:4px}.work-order-filter-bar>label{flex:1 1 180px;margin:0}.work-order-filter-bar .work-order-filter-search{flex-basis:280px}.work-order-filter-bar :is(input,select){width:100%}.work-order-result-count{margin:8px 0;color:var(--muted);font-size:13px}.work-order-table-shell{margin-top:8px}.work-order-table{min-width:900px}.work-order-table .actions-col{min-width:292px}.work-order-table .work-order-actions{display:flex!important;flex-wrap:nowrap!important;width:max-content;margin-left:auto}.work-order-cell-note{display:block;margin-top:2px}.work-order-status.status-open{background:#f3f0e8;color:#665b3f}.work-order-status.status-in_progress{background:#e8f0f7;color:#26526f}.work-order-status.status-completed{background:#e8f4ea;color:#2e663a}.badge.status-overdue,.work-order-status.status-overdue{background:#fbe9e7;color:#8a2a1f}.work-order-detail .detail-list{display:grid;grid-template-columns:minmax(96px,max-content) 1fr;gap:4px 16px;margin:0}.work-order-detail .detail-list dt{color:var(--muted,#666)}.work-order-detail .detail-list dd{margin:0}@media (max-width:520px){.work-order-detail .detail-list{grid-template-columns:1fr;gap:0}.work-order-detail .detail-list dd{margin-bottom:8px}}.work-order-status-tabs{display:flex;flex-wrap:wrap;gap:8px;align-items:end}.contract-ended-notice{border:2px solid #c98a1b;background:#fff6e0}.work-order-mobile-list{display:none}.work-order-mobile-card{display:grid;gap:12px}.work-order-mobile-card :is(h2,p){margin:0}.work-order-mobile-card .work-order-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.work-order-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.work-order-form-grid>label{min-width:0}.work-order-form-grid :is(input,select,textarea){width:100%}.work-order-modal .task-list{margin:0;padding:0;list-style:none}.work-order-modal .task-check-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--line)}.modal-action-row{display:flex;justify-content:flex-end;gap:12px;padding-top:16px;border-top:1px solid var(--line)}@media (max-width:899px){.work-order-table-shell{display:none}.work-order-mobile-list{display:grid;gap:16px}.work-order-filter-bar .work-order-filter-search,.work-order-filter-bar>label{flex-grow:1;flex-shrink:1;flex-basis:calc(50% - 12px)}}@media (max-width:600px){.work-order-filter-bar .work-order-filter-search,.work-order-filter-bar>label{flex-basis:100%}.work-order-form-grid{grid-template-columns:1fr}.modal-action-row,.work-order-mobile-card .work-order-actions{grid-template-columns:1fr;flex-direction:column-reverse}.modal-action-row .button,.work-order-mobile-card .work-order-actions .button{width:100%}}.package-editor-card{background:#ffffff;border:2px solid var(--sand);border-radius:var(--radius-card,8px);padding:24px;box-shadow:0 4px 20px rgba(0,0,0,.05)}.package-editor-header{display:flex;align-items:center;justify-content:space-between;padding-bottom:16px;margin-bottom:20px;border-bottom:1px solid var(--line);flex-wrap:wrap;gap:12px}.package-price-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}@media (max-width:767px){.package-price-grid{grid-template-columns:1fr}}.invoices-desktop-table{display:block;width:100%}.invoices-mobile-cards{display:none}.invoices-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}.invoices-table{width:100%;border-collapse:collapse}.invoices-table td,.invoices-table th{padding:10px 12px;font-size:13px;vertical-align:middle}.invoices-table .num-col{text-align:right;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap}@media (max-width:899px){.invoices-desktop-table{display:none!important}.invoices-mobile-cards{display:flex!important;flex-direction:column;gap:14px}.invoice-mobile-card{background:#ffffff;border:1px solid var(--sand);border-radius:8px;padding:16px;display:flex;flex-direction:column;gap:12px;box-shadow:0 1px 3px rgba(0,0,0,.04)}.invoice-card-header{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:8px;padding-bottom:8px;border-bottom:1px solid var(--line)}.invoice-card-badges{display:flex;gap:6px;flex-wrap:wrap}.invoice-card-customer-row{font-size:14px;font-weight:600;color:var(--ink)}.invoice-card-details-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;font-size:12px;background:#faf8f5;padding:10px 12px;border-radius:6px;border:1px solid #f0ede6}.invoice-card-details-grid dt{color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.04em}.invoice-card-details-grid dd{font-weight:600;color:var(--ink);margin:2px 0 0}.invoice-card-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:4px}.invoice-card-actions .button{min-height:44px;width:100%;justify-content:center}}.modal-backdrop{position:fixed;inset:0;background:rgba(18,22,20,.6);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:1000;display:flex;align-items:center;justify-content:center;padding:16px;overflow-y:auto}.modal-dialog{background:#ffffff;border-radius:10px;width:100%;max-width:560px;max-height:90vh;overflow-y:auto;box-shadow:0 16px 40px rgba(0,0,0,.22);border:1px solid var(--sand);display:flex;flex-direction:column}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--line)}.modal-header h3{margin:0;font-size:18px;font-weight:700;color:var(--ink)}.modal-close-button{background:transparent;border:none;font-size:22px;line-height:1;color:var(--muted);cursor:pointer;padding:8px;min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:4px}.modal-close-button:focus-visible,.modal-close-button:hover{color:var(--ink);background:#f0ede6}.modal-body{padding:20px;display:flex;flex-direction:column;gap:16px}.modal-summary-box{background:var(--sand-soft,#faf8f5);border:1px solid var(--line);border-radius:6px;padding:12px 14px;display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.modal-summary-item dt{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.modal-summary-item dd{font-size:14px;font-weight:700;color:var(--ink);margin:2px 0 0}.modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:16px 20px;border-top:1px solid var(--line);background:var(--sand-soft,#faf9f5)}@media (max-width:600px){.modal-dialog{max-width:100%;margin:auto 0}.modal-footer{flex-direction:column-reverse;gap:10px}.modal-footer .button{width:100%;min-height:44px}}@media (max-width:480px){.workspace-shell{width:calc(100% - 24px);margin-left:auto;margin-right:auto}}.modal-dialog-wide{max-width:720px}.fieldset-group{border:1px solid var(--line);border-radius:8px;padding:14px 16px;margin:0;display:flex;flex-direction:column;gap:12px;background:var(--sand-soft,#fcfbf9)}.fieldset-group legend{font-size:13px;font-weight:700;color:var(--ink);padding:0 8px;text-transform:uppercase;letter-spacing:.04em}.dirty-banner{background:#fffbeb;border:1px solid #fde68a;border-radius:6px;padding:10px 14px;font-size:13px;color:#92400e;display:flex;align-items:center;justify-content:space-between;gap:12px}.btn-open-cell-modal{font-size:11px;color:var(--muted);background:transparent;border:1px dashed var(--line);border-radius:4px;padding:3px 8px;cursor:pointer;margin-top:4px;transition:all .12s ease;white-space:nowrap}.btn-open-cell-modal:hover{background:var(--sand-soft);color:var(--ink);border-color:var(--ink)}.package-options-accordion{margin-top:12px;border-top:1px dashed var(--line);padding-top:10px}.package-card-note{display:block;margin-top:2px;font-size:11px;font-weight:400}