.sla-status-pie[data-v-ec6850fb]{background:#fbfcff;border:1px solid #d5deea;align-content:start;gap:10px;min-width:0;margin:0;padding:12px;display:grid}.sla-status-pie figcaption[data-v-ec6850fb]{color:#475569;text-transform:uppercase;font-size:11px;font-weight:800}.sla-status-pie__content[data-v-ec6850fb]{grid-template-columns:minmax(82px,112px) minmax(0,1fr);align-items:center;gap:8px;display:grid}.sla-status-pie svg[data-v-ec6850fb]{width:100%;max-width:112px;height:auto;display:block}.sla-status-pie__track[data-v-ec6850fb],.sla-status-pie__segment[data-v-ec6850fb]{fill:none;stroke-width:17px}.sla-status-pie__track[data-v-ec6850fb]{stroke:#e6ebf2}.sla-status-pie__segment[data-v-ec6850fb]{transform-origin:60px 60px;transform:rotate(-90deg)}.sla-status-pie__value[data-v-ec6850fb]{fill:#293e62;font-variant-numeric:tabular-nums;text-anchor:middle;font-size:17px;font-weight:800}.sla-status-pie__unit[data-v-ec6850fb]{fill:#64748b;text-anchor:middle;font-size:9px}.sla-status-pie__legend[data-v-ec6850fb]{gap:7px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.sla-status-pie__legend li[data-v-ec6850fb]{grid-template-columns:9px minmax(0,1fr) auto auto;align-items:center;gap:5px;min-width:0;display:grid}.sla-status-pie__swatch[data-v-ec6850fb]{border-radius:2px;width:9px;height:9px}.sla-status-pie__label[data-v-ec6850fb]{color:#475569;overflow-wrap:anywhere;min-width:0;font-size:10px}.sla-status-pie__legend strong[data-v-ec6850fb]{color:#1e293b;font-variant-numeric:tabular-nums;font-size:10px}.sla-status-pie__legend small[data-v-ec6850fb]{color:#64748b;font-variant-numeric:tabular-nums;text-align:right;width:36px;font-size:9px}@media (width<=640px){.sla-status-pie__content[data-v-ec6850fb]{grid-template-columns:94px minmax(0,1fr)}.sla-status-pie svg[data-v-ec6850fb]{max-width:94px}}.appointment-report[data-v-fa777657]{--report-navy:#344c78;--report-border:#d5deea;background:#fff;min-width:0}.appointment-report-heading h2[data-v-fa777657]{color:#293e62;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(21px,2.2vw,29px);line-height:1.3}.appointment-report-heading p[data-v-fa777657]{color:#64748b;margin:8px 0 0;font-size:12px}.appointment-report-filters[data-v-fa777657]{grid-template-columns:repeat(2,minmax(130px,.75fr)) repeat(2,minmax(165px,1fr)) auto;align-items:end;gap:12px;margin:22px 0;display:grid}.appointment-report-filters label[data-v-fa777657]{color:#475569;gap:6px;min-width:0;font-size:12px;font-weight:700;display:grid}.appointment-report-filters input[data-v-fa777657],.appointment-report-filters select[data-v-fa777657]{border:1px solid var(--report-border);color:#1e293b;background:#fff;border-radius:7px;width:100%;min-width:0;min-height:41px;padding:8px}.appointment-report-filters button[data-v-fa777657]{min-height:41px}.appointment-report-filters[data-v-fa777657] :disabled{cursor:wait;opacity:.65}.appointment-report-results[data-v-fa777657]{gap:28px;display:grid}.appointment-report-kpis[data-v-fa777657]{grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.appointment-report-kpis article[data-v-fa777657]{border:1px solid var(--report-border);text-align:center;background:#fbfcff}.appointment-report-kpis h3[data-v-fa777657]{border-bottom:1px solid var(--report-border);color:#475569;text-transform:uppercase;background:#edf2f8;margin:0;padding:8px 5px;font-size:11px;font-weight:800}.appointment-report-kpis strong[data-v-fa777657]{color:#293e62;font-variant-numeric:tabular-nums;padding:14px 6px;font-family:Georgia,Times New Roman,serif;font-size:clamp(25px,3vw,34px);display:block}.appointment-report-table[data-v-fa777657]{min-width:0}.appointment-report-table>h3[data-v-fa777657]{background:var(--report-navy);color:#fff;text-transform:uppercase;margin:0;padding:9px 12px;font-family:Georgia,Times New Roman,serif;font-size:15px}.appointment-report-scroll[data-v-fa777657]{overflow-x:auto}.appointment-report-scroll[data-v-fa777657]:focus-visible{outline:2px solid var(--report-navy);outline-offset:2px}.appointment-report-table-layout[data-v-fa777657]{grid-template-columns:minmax(0,1fr) 250px;align-items:start;gap:12px;display:grid}.appointment-report-table table[data-v-fa777657]{border-collapse:collapse;table-layout:fixed;width:100%;min-width:960px;font-size:12px}.appointment-report-table th[data-v-fa777657],.appointment-report-table td[data-v-fa777657]{border:1px solid var(--report-border);font-variant-numeric:tabular-nums;text-align:right;padding:8px 10px}.appointment-report-table th[data-v-fa777657]:first-child{overflow-wrap:anywhere;text-align:left;width:24%}.appointment-report-table th[data-v-fa777657]:nth-child(2),.appointment-report-table th[data-v-fa777657]:nth-last-child(-n+2){width:88px}.appointment-report-table thead[data-v-fa777657]{color:#334155;background:#e9eef5}.appointment-report-table thead th[data-v-fa777657]{overflow-wrap:anywhere;font-size:11px;font-weight:800}.appointment-report-table tbody th[data-v-fa777657]{color:#334155;font-weight:400}.appointment-report-table tbody td[data-v-fa777657]{color:#334155}.appointment-report-table tbody tr[data-v-fa777657]:nth-child(2n){background:#fcfdff}.appointment-report-table td.sla-compliance-cell[data-v-fa777657]{text-align:center;font-size:13px;font-weight:850}.appointment-report-table td.sla-compliance-cell small[data-v-fa777657]{margin-top:3px;font-size:10px;font-weight:650;display:block}.appointment-report-table td.sla-compliance-green[data-v-fa777657]{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.appointment-report-table td.sla-compliance-yellow[data-v-fa777657]{color:#854d0e;background:#fefce8;border-color:#fde68a}.appointment-report-table td.sla-compliance-red[data-v-fa777657]{color:#991b1b;background:#fff1f2;border-color:#fecaca}.appointment-report-table td.sla-compliance-neutral[data-v-fa777657]{color:#64748b;background:#f8fafc;border-color:#e2e8f0}.appointment-report-table tfoot[data-v-fa777657]{color:#1e293b;background:#edf2f8;border-bottom:3px double #b2bfd3;font-weight:800}.appointment-report-table .appointment-report-empty[data-v-fa777657]{color:#64748b;text-align:center;padding:22px 10px}.appointment-report-message[data-v-fa777657]{color:#64748b;text-align:center;padding:24px 0}.appointment-report-error[data-v-fa777657]{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:7px;padding:14px}@media (width<=1200px){.appointment-report-filters[data-v-fa777657]{grid-template-columns:repeat(2,minmax(0,1fr))}.appointment-report-filters button[data-v-fa777657]{justify-self:start}}@media (width<=1100px){.appointment-report-table-layout[data-v-fa777657]{grid-template-columns:minmax(0,1fr)}}@media (width<=640px){.appointment-report-kpis[data-v-fa777657]{grid-template-columns:repeat(2,minmax(0,1fr))}.appointment-report-filters[data-v-fa777657]{gap:10px}.appointment-report-filters label[data-v-fa777657]:nth-child(n+3),.appointment-report-filters button[data-v-fa777657]{grid-column:1/-1}.appointment-report-table>h3[data-v-fa777657]{font-size:13px}}*{box-sizing:border-box}body{color:#171717;background:#f4f5f7;margin:0;font-family:Inter,Arial,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;color:#fff;background:#111;border:0;border-radius:12px;padding:10px 14px;font-weight:700}.secondary{color:#111;background:#eef0f3}.disabled{opacity:.5}.login-page{background:#111827;place-items:center;min-height:100vh;display:grid}.login-card{background:#fff;border-radius:24px;width:min(420px,92vw);padding:32px;box-shadow:0 20px 70px #0005}.login-card h1{color:#0f2942;margin:0}.login-card label,.card-modal label{gap:6px;margin:14px 0;display:grid}.login-card input,.card-modal input,.card-modal select,.card-modal textarea,.module-header input,.detail-modal input,.detail-modal select,.detail-modal textarea{background:#fff;border:1px solid #d9dde3;border-radius:12px;padding:11px 12px}.app-shell{grid-template-columns:260px 1fr;min-height:100vh;display:grid}.sidebar{color:#fff;background:#111827;flex-direction:column;gap:8px;padding:24px 16px;display:flex}.brand{letter-spacing:.08em;margin-bottom:24px;font-weight:900}.brand span{color:#cbd5e1;font-size:13px}.sidebar button{text-align:left;color:#e5e7eb;background:0 0}.sidebar button.active,.sidebar button:hover{background:#253041}.workspace{min-width:0}.topbar{background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;height:82px;padding:0 24px;display:flex}.topbar h2{margin:0}.topbar p{color:#6b7280;margin:4px 0 0}.top-actions{align-items:center;gap:12px;display:flex}.top-actions select{border:1px solid #d1d5db;border-radius:10px;padding:8px}.bell{background:#f3f4f6;border-radius:50%;padding:10px}.content{padding:24px}.quick-actions,.module-header{flex-wrap:wrap;gap:12px;margin-bottom:20px;display:flex}.cards{grid-template-columns:repeat(5,minmax(150px,1fr));gap:16px;margin-bottom:28px;display:grid}.cards article,.panel,.appointment-card,.kanban-column,.list .row{background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 8px 22px #1111}.cards article{padding:18px}.cards b{color:#6b7280}.cards strong{margin-top:8px;font-size:28px;display:block}.list{gap:10px;display:grid}.row{color:#111;text-align:left;justify-content:space-between;padding:14px;display:flex}.kanban{grid-auto-columns:minmax(290px,1fr);grid-auto-flow:column;gap:16px;padding-bottom:18px;display:grid;overflow-x:auto}.kanban-column{min-height:62vh;padding:14px}.kanban-column header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.kanban-column h3{margin:0;font-size:15px}.kanban-column header span{color:#fff;background:#111827;border-radius:20px;padding:4px 10px}.appointment-card{cursor:pointer;gap:7px;margin-bottom:12px;padding:14px;display:grid}.appointment-card p{color:#374151;margin:0}.appointment-card small{color:#6b7280}.card-line{justify-content:space-between;align-items:start;gap:8px;display:flex}.status{white-space:nowrap;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800}.status.success{color:#166534;background:#dcfce7}.status.warning{color:#92400e;background:#fef3c7}.status.danger{color:#991b1b;background:#fee2e2}.status.info{color:#1d4ed8;background:#dbeafe}.status.neutral{color:#374151;background:#e5e7eb}.modal-backdrop{z-index:40;background:#0008;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:22px;position:relative;box-shadow:0 24px 80px #0008}.card-modal{width:min(720px,96vw);max-height:92vh;padding:26px;overflow:auto}.x{color:#111;background:#f3f4f6;border-radius:50%;width:34px;height:34px;padding:0;position:absolute;top:14px;right:14px}.grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.address-line{grid-template-columns:1fr auto auto;gap:8px;margin-bottom:8px;display:grid}.check{align-items:center;gap:6px!important;margin:0!important;display:flex!important}.card-modal footer{justify-content:flex-end;gap:12px;margin-top:20px;display:flex}.detail-modal{width:min(1120px,98vw);height:min(860px,94vh);padding:24px;overflow:hidden}.detail-modal header{justify-content:space-between;align-items:center;margin-right:34px;display:flex}.detail-grid{grid-template-columns:1fr 360px;gap:18px;height:calc(100% - 54px);display:grid}.detail-left,.comments{align-content:start;gap:14px;display:grid;overflow:auto}.panel,.comments{padding:16px}.timeline{gap:12px;padding-left:20px;display:grid}.timeline p{margin:4px 0}.comments{background:#fafafa;border:1px solid #e5e7eb;border-radius:18px}.comment-list{gap:12px;max-height:420px;display:grid;overflow:auto}.comment-list article{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:12px}.comment-list small{color:#6b7280;margin:4px 0;display:block}.placeholder{text-align:center}.notifications{z-index:100;gap:10px;display:grid;position:fixed;top:18px;right:18px}.toast{text-align:left;background:#111827;max-width:360px;box-shadow:0 12px 34px #0003}.toast.success{background:#166534}.toast.error{background:#991b1b}.toast.warning{background:#92400e}.toast.info{background:#1d4ed8}@media (width<=900px){.app-shell{grid-template-columns:1fr}.sidebar{z-index:10;grid-template-columns:1fr 1fr;max-height:260px;display:grid;position:sticky;top:0;overflow:auto}.brand{grid-column:1/-1;margin-bottom:8px}.topbar{flex-direction:column;align-items:flex-start;gap:14px;height:auto;padding:16px}.cards{grid-template-columns:1fr 1fr}.detail-grid,.grid{grid-template-columns:1fr}.detail-modal{height:94vh;overflow:auto}.address-line{grid-template-columns:1fr}.kanban{grid-auto-columns:86vw}}.customer-picker{position:relative}.customer-dropdown{z-index:60;background:#fff;border:1px solid #d9dde3;border-radius:14px;max-height:260px;margin-top:4px;padding:6px;position:absolute;top:100%;left:0;right:0;overflow:auto;box-shadow:0 18px 40px #1112}.customer-option{text-align:left;color:#111;background:#fff;border-radius:10px;gap:4px;width:100%;padding:10px 12px;font-weight:500;display:grid}.customer-option:hover{background:#f3f4f6}.customer-option strong{font-weight:800}.customer-option span,.customer-empty{color:#6b7280;font-size:13px}.customer-empty{margin:8px 10px}.kanban-column.drop-target{outline-offset:-6px;background:#f8fafc;outline:2px dashed #111827}.drop-hint{color:#6b7280;margin:0 0 10px;font-size:12px}.appointment-card.dragging{opacity:.55;transform:scale(.98)}.appointment-card[draggable=true]{-webkit-user-select:none;user-select:none}.status-change-modal{gap:14px;width:min(560px,96vw);padding:24px;display:grid}.status-change-modal header{padding-right:36px}.status-change-modal h2{margin:0}.status-change-modal p{color:#6b7280;margin:4px 0 0}.status-change-modal label{gap:6px;display:grid}.status-change-modal input,.status-change-modal textarea{background:#fff;border:1px solid #d9dde3;border-radius:12px;padding:11px 12px}.status-change-modal textarea{resize:vertical;min-height:110px}.status-change-summary{background:#f9fafb;border:1px solid #e5e7eb;border-radius:14px;align-items:center;gap:10px;padding:12px;display:flex}.modal-actions{justify-content:flex-end;gap:12px;margin-top:4px;display:flex}.comment-thread{gap:8px;display:grid;background:0 0!important;border:0!important;padding:0!important}.comment-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:12px}.comment-replies{border-left:3px solid #e5e7eb;gap:8px;margin-left:18px;padding-left:12px;display:grid}.reply-card{background:#f8fafc}.comment-action{color:#111827;background:0 0;border-radius:0;padding:0;font-size:12px;text-decoration:underline}.mention-label{font-weight:700;color:#1d4ed8!important}.reply-context{background:#f3f4f6;border:1px solid #e5e7eb;border-radius:12px;justify-content:space-between;align-items:center;gap:8px;padding:10px;font-size:13px;display:flex}.mention-picker{gap:6px;font-size:13px;display:grid}.mention-picker select{background:#fff;border:1px solid #d9dde3;border-radius:12px;padding:10px 12px}.nested-backdrop{z-index:90;background:#0007}.change-reason-modal{gap:14px;width:min(560px,96vw);padding:24px;display:grid}.change-reason-modal header{padding-right:36px}.change-reason-modal h2{margin:0}.change-reason-modal p{color:#6b7280;margin:4px 0 0;line-height:1.4}.change-reason-modal label{gap:6px;display:grid}.change-reason-modal textarea{resize:vertical;background:#fff;border:1px solid #d9dde3;border-radius:12px;min-height:130px;padding:11px 12px}.partial-warning{color:#9a3412;background:#fff7ed;border:1px solid #fed7aa;border-radius:12px;padding:10px 12px;font-size:.9rem}.check-row{flex-direction:row;align-items:center;gap:10px;line-height:1.35;display:flex}.check-row input[type=checkbox]{width:auto}.payment-list{gap:8px;margin-top:12px;display:grid}.payment-row{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;gap:2px;padding:10px 12px;display:grid}.payment-row span{font-weight:600}.payment-row small{color:#64748b}.appointment-card.locked{cursor:not-allowed;opacity:.82}.locked-note{background:#ecfdf5;border:1px solid #bbf7d0;border-radius:10px;padding:6px 8px;font-size:12px;font-weight:800;display:inline-block;color:#166534!important}.locked-panel{background:#f0fdf4;border-color:#bbf7d0}.users-toolbar select,.users-toolbar input{background:#fff;border:1px solid #d1d5db;border-radius:12px;padding:11px 12px}.users-panel{gap:14px;display:grid}.users-panel-header{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.users-panel-header h3{margin:0}.users-panel-header p{color:#6b7280;margin:4px 0 0}.users-panel-header span{color:#fff;background:#111827;border-radius:999px;padding:6px 12px;font-weight:800}.users-table-wrap{overflow:auto}.users-table{border-collapse:collapse;width:100%;min-width:900px}.users-table th,.users-table td{text-align:left;vertical-align:middle;border-bottom:1px solid #e5e7eb;padding:12px}.users-table th{text-transform:uppercase;color:#6b7280;background:#f9fafb;font-size:12px}.users-table td small{color:#6b7280;margin-top:4px;display:block}.users-table tr.inactive{opacity:.62}.table-actions{flex-wrap:wrap;gap:8px;display:flex}.danger-button{color:#991b1b;background:#fee2e2}.danger-button:disabled{opacity:.45;cursor:not-allowed}.check-row.compact{background:#fff;border:1px solid #d1d5db;border-radius:12px;align-items:center;padding:10px 12px;gap:8px!important;margin:0!important;display:flex!important}.user-form-modal,.password-modal{width:min(760px,96vw)}.help-text{color:#6b7280;margin:8px 0 0;font-size:13px}@media (width<=900px){.users-panel-header,.table-actions{display:grid}}.calendar-config-help{color:#7a4b00;max-width:420px;font-size:11px;line-height:1.25;display:block}.error-text{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;padding:8px}.calendar-sync-panel a{color:#111827;margin:6px 0 10px;font-weight:800;display:inline-block}.settings-module{gap:18px;display:grid}.settings-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.settings-header h2{margin:0}.settings-header p{color:#6b7280;margin:6px 0 0}.settings-card{gap:16px;display:grid}.settings-card-header{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.settings-card-header h3{margin:0}.settings-card-header p{color:#6b7280;margin:6px 0 0;line-height:1.45}.settings-badge{white-space:nowrap;border-radius:999px;padding:7px 12px;font-weight:900}.settings-badge.ok{color:#166534;background:#dcfce7}.settings-badge.warn{color:#92400e;background:#fef3c7}.settings-grid{grid-template-columns:repeat(4,minmax(160px,1fr));gap:12px;display:grid}.settings-grid article{background:#f9fafb;border:1px solid #e5e7eb;border-radius:14px;padding:12px}.settings-grid b{color:#374151;margin-bottom:6px;font-size:13px;display:block}.settings-grid p{word-break:break-word;margin:0}.settings-warning{color:#9a3412;background:#fff7ed;border:1px solid #fed7aa;border-radius:14px;padding:12px 14px}.settings-warning.neutral{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.settings-warning p{margin:6px 0 0;line-height:1.45}.settings-warning code{color:#111827;word-break:break-all;background:#fff;border:1px solid #e5e7eb;border-radius:8px;margin-top:4px;padding:4px 6px;display:inline-block}.settings-actions{flex-wrap:wrap;gap:12px;display:flex}@media (width<=900px){.settings-grid{grid-template-columns:1fr}.settings-card-header,.settings-actions{display:grid}}.appointment-filters{background:#fff;border:1px solid #e5e7eb;border-radius:18px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));align-items:end;gap:12px;max-width:100%;margin-bottom:20px;padding:16px;display:grid;overflow:hidden;box-shadow:0 8px 22px #1111}.appointment-filters label{color:#374151;gap:6px;min-width:0;font-size:12px;font-weight:800;display:grid}.appointment-filters input,.appointment-filters select{color:#111;background:#fff;border:1px solid #d9dde3;border-radius:12px;width:100%;min-width:0;padding:10px 11px}.appointment-filters .wide-filter{grid-column:span 2}.filter-actions{grid-column:1/-1;justify-content:flex-end;align-items:center;gap:10px;min-width:0;padding-top:2px;display:flex}.filter-actions button{white-space:nowrap;min-width:132px}@media (width<=1100px){.appointment-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.appointment-filters .wide-filter{grid-column:span 2}}@media (width<=640px){.appointment-filters{grid-template-columns:1fr}.appointment-filters .wide-filter{grid-column:span 1}.filter-actions{grid-template-columns:1fr;display:grid}.filter-actions button{width:100%}}.conflict-modal{gap:14px;width:min(680px,96vw);max-height:88vh;padding:24px;display:grid;overflow:auto}.conflict-modal header{padding-right:36px}.conflict-modal h2{margin:0}.conflict-modal p{color:#6b7280;margin:6px 0 0;line-height:1.45}.conflict-list{gap:10px;display:grid}.conflict-card{background:#fff7ed;border:1px solid #fed7aa;border-radius:14px;gap:4px;padding:12px;display:grid}.conflict-card b{color:#111827}.conflict-card span{color:#374151;font-size:13px}.conflict-card small{color:#6b7280;line-height:1.35}.conflict-modal .modal-actions{flex-wrap:wrap}@media (width<=640px){.conflict-modal .modal-actions{display:grid}.conflict-modal .modal-actions button{width:100%}}.day-schedule-panel{background:#f9fafb;border:1px solid #e5e7eb;border-radius:16px;gap:12px;margin:12px 0;padding:14px;display:grid}.day-schedule-panel header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.day-schedule-panel h3{margin:0;font-size:15px}.day-schedule-panel p{color:#6b7280;margin:4px 0 0;font-size:13px}.small-button{white-space:nowrap;padding:8px 10px;font-size:12px}.hour-slots{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;display:grid}.hour-slot{color:#111827;text-align:left;background:#fff;border:1px solid #d1d5db;gap:4px;min-height:84px;padding:10px;display:grid}.hour-slot strong{font-size:13px}.hour-slot span{font-size:12px;font-weight:800}.hour-slot small{color:#6b7280;max-height:34px;font-size:11px;line-height:1.25;overflow:hidden}.hour-slot.available{background:#f0fdf4;border-color:#bbf7d0}.hour-slot.available span{color:#166534}.hour-slot.occupied{background:#fff7ed;border-color:#fed7aa}.hour-slot.occupied span{color:#92400e}.compact-schedule{margin-top:10px}.compact-schedule .hour-slots{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}@media (width<=640px){.day-schedule-panel header{display:grid}.small-button{width:100%}.hour-slots{grid-template-columns:1fr}.hour-slot{min-height:auto}}.payment-settlement-summary{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:14px;grid-column:1/-1;gap:4px;padding:12px 14px;line-height:1.35;display:grid}.payment-settlement-summary b{color:#14532d}.payment-settlement-summary span{font-size:13px;font-weight:700}.sidebar-submenu{color:#cbd5e1;opacity:.9;margin-top:4px;margin-left:22px;font-size:11px;font-weight:700;display:block}.customers-toolbar{background:#fff;border:1px solid #e5e7eb;border-radius:18px;align-items:center;padding:14px;box-shadow:0 8px 22px #1111}.customers-toolbar input{min-width:260px}.customers-table{min-width:1080px}.customer-form-modal{width:min(860px,96vw)}.addresses-editor{background:#f9fafb;border:1px solid #e5e7eb;border-radius:16px;gap:10px;margin-top:16px;padding:14px;display:grid}.addresses-editor header{justify-content:space-between;align-items:center;gap:12px;display:flex}.addresses-editor h3{margin:0}.customer-address-line{grid-template-columns:1fr auto auto;align-items:center;gap:8px;display:grid}.customer-address-line input{background:#fff;border:1px solid #d9dde3;border-radius:12px;min-width:0;padding:11px 12px}.customer-address-line .check-row.compact{white-space:nowrap}@media (width<=760px){.customers-toolbar{display:grid}.customers-toolbar input,.customers-toolbar select,.customers-toolbar button{width:100%;min-width:0}.customer-address-line{grid-template-columns:1fr}.addresses-editor header{display:grid}.addresses-editor header button{width:100%}}.inline-address-panel{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:14px;gap:10px;margin-top:-4px;padding:12px;display:grid}.inline-address-panel textarea{min-height:82px}.inline-address-panel .help-text{margin:0}:root{--bdh-bg:#f6f7fb;--bdh-surface:#fff;--bdh-surface-soft:#f9fafb;--bdh-border:#e5e7eb;--bdh-border-strong:#cbd5e1;--bdh-text:#111827;--bdh-muted:#64748b;--bdh-primary:#111827;--bdh-primary-hover:#1f2937;--bdh-secondary:#f1f5f9;--bdh-secondary-hover:#e2e8f0;--bdh-danger:#991b1b;--bdh-danger-bg:#fee2e2;--bdh-success:#166534;--bdh-success-bg:#dcfce7;--bdh-warning:#92400e;--bdh-warning-bg:#fef3c7;--bdh-radius:16px;--bdh-radius-sm:12px;--bdh-shadow:0 12px 30px #0f172a14;--bdh-shadow-soft:0 8px 22px #0f172a0f;--bdh-focus:0 0 0 4px #1118271f}body{background:var(--bdh-bg);color:var(--bdh-text)}button{appearance:none;background:var(--bdh-primary);border:1px solid var(--bdh-primary);border-radius:var(--bdh-radius-sm);color:#fff;white-space:nowrap;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:10px 15px;font-weight:800;transition:background .16s,border-color .16s,box-shadow .16s,transform .16s,opacity .16s;display:inline-flex;box-shadow:0 2px #0f172a14}button:hover:not(:disabled){background:var(--bdh-primary-hover);border-color:var(--bdh-primary-hover);transform:translateY(-1px);box-shadow:0 10px 22px #0f172a29}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{box-shadow:var(--bdh-focus);outline:none;border-color:#94a3b8!important}button:disabled,.disabled{opacity:.55;cursor:not-allowed!important;box-shadow:none!important;transform:none!important}button.secondary,.secondary{background:var(--bdh-secondary);border-color:var(--bdh-border);color:var(--bdh-text)}button.secondary:hover:not(:disabled),.secondary:hover:not(:disabled){background:var(--bdh-secondary-hover);border-color:var(--bdh-border-strong);color:var(--bdh-text)}.danger-button{background:var(--bdh-danger-bg);color:var(--bdh-danger);border-color:#fecaca}.danger-button:hover:not(:disabled){color:#7f1d1d;background:#fecaca;border-color:#fca5a5}.small-button{min-height:34px;padding:8px 11px;font-size:12px}.x{box-shadow:none;min-height:34px;font-size:18px;border:1px solid var(--bdh-border)!important;color:#111827!important;background:#f8fafc!important}.x:hover{background:#e5e7eb!important;transform:none!important}.comment-action{min-height:auto;padding:0;text-decoration:none;display:inline-flex;box-shadow:none!important;color:#2563eb!important;background:0 0!important;border:0!important}.comment-action:hover{text-decoration:underline;color:#1d4ed8!important;box-shadow:none!important;transform:none!important}input,select,textarea{color:var(--bdh-text);background:#fff;transition:border-color .16s,box-shadow .16s}.login-card input,.card-modal input,.card-modal select,.card-modal textarea,.module-header input,.detail-modal input,.detail-modal select,.detail-modal textarea,.users-toolbar select,.users-toolbar input{border:1px solid var(--bdh-border-strong);border-radius:var(--bdh-radius-sm);min-height:42px;padding:10px 12px}.card-modal textarea,.detail-modal textarea{resize:vertical;min-height:96px;line-height:1.45}.login-card label,.card-modal label{color:#374151;font-size:13px;font-weight:800}.help-text{color:var(--bdh-muted);font-size:13px;line-height:1.45}.app-shell{background:var(--bdh-bg)}.sidebar{background:linear-gradient(#0f172a 0%,#111827 100%);box-shadow:8px 0 28px #0f172a14}.brand{background:#ffffff0f;border:1px solid #ffffff14;border-radius:18px;padding:14px 12px}.sidebar button{box-shadow:none;border:1px solid #0000;min-height:46px;padding:11px 12px}.sidebar button.active,.sidebar button:hover{box-shadow:none;background:#253041;border-color:#ffffff14;transform:none}.sidebar-submenu{margin-left:0;padding-left:24px}.topbar{border-bottom:1px solid var(--bdh-border);z-index:20;background:#fffffff2;position:sticky;top:0;box-shadow:0 8px 24px #0f172a0a}.topbar h2{letter-spacing:-.02em;font-size:24px}.topbar p{color:var(--bdh-muted)}.top-actions{border:1px solid var(--bdh-border);background:#f8fafc;border-radius:18px;padding:8px}.top-actions select{border-color:var(--bdh-border-strong);background:#fff;min-height:40px}.bell{border:1px solid var(--bdh-border);background:#fff;box-shadow:0 2px 8px #0f172a0d}.content{gap:20px;padding:26px;display:grid}.quick-actions,.module-header{gap:10px;margin-bottom:0}.quick-actions{border:1px solid var(--bdh-border);box-shadow:var(--bdh-shadow-soft);background:#fff;border-radius:20px;padding:14px}.quick-actions button{min-width:150px}.cards{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:0}.cards article,.panel,.appointment-card,.kanban-column,.list .row{background:var(--bdh-surface);border:1px solid var(--bdh-border);box-shadow:var(--bdh-shadow-soft)}.cards article{border-radius:20px;padding:18px 20px}.cards b{color:var(--bdh-muted);text-transform:uppercase;letter-spacing:.04em;font-size:12px}.cards strong{letter-spacing:-.03em;font-size:30px}.list{border:1px solid var(--bdh-border);box-shadow:var(--bdh-shadow-soft);background:#fff;border-radius:20px;padding:12px}.row{border-radius:14px;align-items:center;padding:14px 16px;box-shadow:none!important}.row:hover{background:#f8fafc;box-shadow:none!important;transform:none!important}.appointment-filters{box-shadow:var(--bdh-shadow);border-radius:22px;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));align-items:end;gap:14px;padding:18px;overflow:visible}.appointment-filters:before{content:"Filtros de citas";color:#111827;letter-spacing:-.01em;grid-column:1/-1;align-self:center;font-size:15px;font-weight:900}.appointment-filters label{letter-spacing:.02em;text-transform:uppercase;font-size:12px}.appointment-filters input,.appointment-filters select{min-height:42px}.filter-actions{border:1px solid var(--bdh-border);background:#f8fafc;border-radius:16px;justify-content:flex-end;padding:10px}.filter-actions button{min-width:150px}.kanban{gap:18px}.kanban-column{border-radius:22px;min-height:60vh;padding:16px}.kanban-column header{border-bottom:1px solid var(--bdh-border);padding-bottom:12px}.kanban-column h3{text-transform:uppercase;letter-spacing:.03em;font-size:14px}.kanban-column header span{border:1px solid var(--bdh-border);color:var(--bdh-text);background:#f8fafc;font-size:12px}.drop-hint{color:var(--bdh-muted);background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;padding:9px 10px}.appointment-card{border-radius:18px;gap:8px;padding:15px;box-shadow:0 8px 20px #0f172a12}.appointment-card:hover{border-color:#cbd5e1;transform:translateY(-1px);box-shadow:0 14px 28px #0f172a1c}.appointment-card b{font-size:15px}.appointment-card p{color:#334155;line-height:1.35}.appointment-card small{color:var(--bdh-muted);line-height:1.35}.card-line{align-items:flex-start}.status{letter-spacing:.02em;text-transform:uppercase;border:1px solid #0000;font-size:11px}.status.success{background:var(--bdh-success-bg);color:var(--bdh-success);border-color:#bbf7d0}.status.warning{background:var(--bdh-warning-bg);color:var(--bdh-warning);border-color:#fde68a}.status.danger{color:#991b1b;background:#fee2e2;border-color:#fecaca}.status.info{color:#1d4ed8;background:#dbeafe;border-color:#bfdbfe}.status.neutral{color:#475569;background:#f1f5f9;border-color:#e2e8f0}.modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal{border:1px solid #ffffff6b;box-shadow:0 28px 90px #0f172a52}.card-modal{border-radius:24px;padding:28px}.card-modal h2,.detail-modal h2,.status-change-modal h2,.conflict-modal h2{letter-spacing:-.02em;margin-top:0}.card-modal footer,.modal-actions{border:1px solid var(--bdh-border);background:#f8fafc;border-radius:16px;justify-content:flex-end;gap:10px;padding:10px;display:flex}.grid{gap:14px}.panel,.comments{border-radius:20px;padding:18px}.detail-modal{border-radius:24px}.detail-modal header{border-bottom:1px solid var(--bdh-border);padding-bottom:14px}.detail-grid{gap:20px;padding-top:16px}.detail-left{padding-right:4px}.timeline{border-left:3px solid #e2e8f0;gap:14px;padding-left:18px}.timeline article,.timeline li{position:relative}.comments{background:#f8fafc}.comment-list article,.comment-card{border-color:var(--bdh-border);box-shadow:0 4px 14px #0f172a0a}.payment-row,.conflict-card,.settings-grid article,.hour-slot{box-shadow:0 4px 12px #0f172a0a}.users-toolbar,.customers-toolbar{box-shadow:var(--bdh-shadow);border-radius:22px;flex-wrap:wrap;gap:10px;padding:16px;display:flex}.users-toolbar input,.users-toolbar select{min-width:210px}.users-panel{border-radius:22px}.users-panel-header{border-bottom:1px solid var(--bdh-border);padding-bottom:14px}.users-panel-header h3{letter-spacing:-.02em;font-size:20px}.users-panel-header p{line-height:1.45}.users-panel-header span{border:1px solid var(--bdh-border);color:var(--bdh-text);background:#f8fafc}.users-table{border-collapse:separate;border-spacing:0}.users-table th{color:#475569;letter-spacing:.04em;text-transform:uppercase;background:#f8fafc;font-size:11px}.users-table th:first-child{border-top-left-radius:12px}.users-table th:last-child{border-top-right-radius:12px}.users-table tbody tr:hover{background:#f8fafc}.users-table td{color:#111827}.users-table td small{line-height:1.35}.table-actions{justify-content:flex-start;align-items:center;gap:8px;display:flex}.table-actions button{min-height:36px;padding:8px 11px}.addresses-editor,.inline-address-panel,.day-schedule-panel{border-radius:18px}.addresses-editor header,.day-schedule-panel header{border-bottom:1px solid var(--bdh-border);padding-bottom:10px}.customer-address-line{grid-template-columns:190px minmax(240px,1fr) auto auto}.customer-address-line select,.customer-address-line input{min-height:42px}.hour-slots{grid-template-columns:repeat(auto-fit,minmax(168px,1fr))}.hour-slot{box-shadow:none;border-radius:16px;min-height:92px}.hour-slot:hover{transform:translateY(-1px);box-shadow:0 10px 20px #0f172a1a}.hour-slot.available{border-color:#86efac}.hour-slot.occupied{border-color:#fdba74}.hour-slot.selected{outline-offset:2px;outline:3px solid #111827d1}.settings-module{gap:20px}.settings-header,.settings-card{border-radius:22px}.settings-card{box-shadow:var(--bdh-shadow-soft)}.settings-actions{border:1px solid var(--bdh-border);background:#f8fafc;border-radius:16px;padding:10px}.toast{white-space:normal;border:1px solid #ffffff2e;border-radius:16px;justify-content:flex-start;min-height:auto;padding:13px 16px;line-height:1.35}.toast:hover{transform:none!important}.locked-note,.locked-panel{border-radius:12px}@media (width<=1100px){.topbar{position:static}.detail-grid{grid-template-columns:1fr}.comments{max-height:none}.customer-address-line{grid-template-columns:1fr}.filter-actions{justify-content:stretch}.filter-actions button{flex:1;min-width:0}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.content{padding:16px}.top-actions,.quick-actions,.users-toolbar,.customers-toolbar,.filter-actions,.card-modal footer,.modal-actions{width:100%;display:grid}.quick-actions button,.users-toolbar input,.users-toolbar select,.users-toolbar button,.customers-toolbar input,.customers-toolbar select,.customers-toolbar button,.filter-actions button,.card-modal footer button,.modal-actions button{width:100%;min-width:0}.cards{grid-template-columns:1fr}.appointment-filters{grid-template-columns:1fr;padding:14px}.appointment-filters .wide-filter{grid-column:auto}.kanban{grid-auto-columns:88vw}.card-modal{padding:22px}.topbar{padding:14px}.customer-address-line{grid-template-columns:1fr}.settings-actions{display:grid}.settings-actions button{width:100%}}.list button.row:hover,.list .row:hover{outline-offset:2px;outline:2px solid #cbd5e18c;background:var(--bdh-surface,#fff)!important;color:var(--bdh-text,#111827)!important;border-color:#cbd5e1!important;transform:none!important;box-shadow:0 10px 24px #0f172a1a!important}:root{--bdh-hover-border:#cbd5e1;--bdh-hover-outline:#cbd5e18c;--bdh-hover-shadow:0 10px 24px #0f172a1a}.hover-surface,[data-hover-surface],.appointment-card,.cards article,.list .row,.list button.row,.users-table tbody tr,.customers-table tbody tr,.settings-grid article,.payment-row,.conflict-card,.comment-card,.comment-list article,.customer-option,.hour-slot,.panel.interactive,.module-card,.catalog-card,.dashboard-card{transition:border-color .16s,box-shadow .16s,outline-color .16s,transform .16s}.hover-surface:hover,[data-hover-surface]:hover,.appointment-card:hover,.cards article:hover,.list .row:hover,.list button.row:hover,.users-table tbody tr:hover,.customers-table tbody tr:hover,.settings-grid article:hover,.payment-row:hover,.conflict-card:hover,.comment-card:hover,.comment-list article:hover,.customer-option:hover,.hour-slot:hover,.panel.interactive:hover,.module-card:hover,.catalog-card:hover,.dashboard-card:hover{background-color:inherit!important;color:inherit!important;border-color:var(--bdh-hover-border)!important;box-shadow:var(--bdh-hover-shadow)!important;outline:2px solid var(--bdh-hover-outline)!important;outline-offset:2px!important;transform:none!important}html,body,#app{width:100%;min-height:100%}#app{min-height:100dvh}.app-shell{grid-template-columns:260px minmax(0,1fr);width:100%;min-height:100dvh}.app-shell>.sidebar{min-width:0}.app-shell>.workspace{min-width:0;max-width:100%;overflow-x:clip}.app-shell.sidebar-collapsed{grid-template-columns:0 minmax(0,1fr)}.app-shell.sidebar-collapsed>.sidebar{visibility:hidden;width:0;min-width:0;padding-left:0;padding-right:0;overflow:hidden}.topbar{z-index:20;flex-direction:row;align-items:center;gap:12px;height:auto;min-height:72px;position:sticky;top:0}.topbar-heading{flex:auto;align-items:center;gap:12px;min-width:0;display:flex}.topbar-title{min-width:0}.topbar-title h2{overflow-wrap:anywhere}.navigation-toggle{border:1px solid var(--bdh-border,#dbe2ea);color:#111827;background:#f1f5f9;flex:0 0 44px;justify-content:center;align-items:center;width:44px;height:44px;padding:0;display:inline-flex}.navigation-toggle span{font-size:21px;line-height:1}.sidebar-backdrop{display:none}@media (width>=901px){.app-shell.sidebar-collapsed>.sidebar{display:flex}}@media (width<=900px){.app-shell,.app-shell.sidebar-collapsed{grid-template-columns:minmax(0,1fr);min-height:100dvh}.app-shell>.sidebar{max-width:calc(100vw - 32px);height:100dvh;max-height:none;padding:max(18px, env(safe-area-inset-top)) 14px max(18px, env(safe-area-inset-bottom));visibility:hidden;z-index:50;background:linear-gradient(#0f172a 0%,#111827 100%);grid-template-columns:none;width:min(320px,86vw);transition:transform .2s,visibility .2s;display:flex;position:fixed;inset:0 auto 0 0;overflow:hidden auto;transform:translate(-102%)}.app-shell.mobile-nav-open>.sidebar{visibility:visible;transform:translate(0)}.app-shell.sidebar-collapsed>.sidebar{width:min(320px,86vw)}.app-shell>.sidebar .brand{flex:none;margin-bottom:12px}.sidebar-tree{grid-template-columns:minmax(0,1fr);display:grid}.sidebar-tree-group,.sidebar-tree-item,.sidebar-tree-subitem{width:100%;min-width:0}.sidebar-tree-group .sidebar-tree-children{grid-template-columns:minmax(0,1fr)}.sidebar-backdrop{z-index:40;background:#0f172a7a;border:0;border-radius:0;padding:0;display:block;position:fixed;inset:0}.topbar{flex-direction:row;align-items:center;gap:8px;min-height:64px;padding:9px 12px}.topbar-heading{gap:9px}.topbar-title h2{font-size:clamp(16px,3.6vw,21px);line-height:1.2}.topbar-title p{margin-top:3px;font-size:11px;line-height:1.25}.top-actions{flex:none;align-items:center;gap:6px;width:auto;padding:4px;display:flex}.top-actions select{min-width:0;max-width:27vw;padding:8px 5px}.top-actions button{min-height:42px;padding:9px 10px}.content{gap:14px;width:100%;min-width:0;padding:clamp(10px,2.6vw,18px);overflow-x:clip}.content>*,.module-header>*,.panel,.settings-card,.users-panel{min-width:0;max-width:100%}.status-metric-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.status-metric-cards article{overflow-wrap:anywhere;min-width:0;padding:13px}.status-metric-cards b{line-height:1.3;display:block}.status-metric-cards strong{font-size:clamp(22px,6vw,30px)}.quick-actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));display:grid}.quick-actions button{width:100%;min-width:0}.appointment-filters{grid-template-columns:minmax(0,1fr)}.appointment-filters label,.appointment-filters input,.appointment-filters select{width:100%;min-width:0}.filter-actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));display:grid}.filter-actions button{width:100%;min-width:0}.sla-color-legend{flex-wrap:wrap;gap:8px 12px}.kanban{overscroll-behavior-x:contain;touch-action:pan-x pan-y;grid-auto-columns:min(86vw,360px);width:100%;max-width:100%;padding:4px 3px 18px}.kanban-column{scroll-snap-align:start;min-width:0;min-height:50vh}.kanban-column.drop-target{outline-offset:2px;outline:3px solid #2563eb}.appointment-card{touch-action:pan-x pan-y;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.touch-drag-hint{color:var(--bdh-muted,#64748b);margin:-6px 2px 0;font-size:12px}.list .row{overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;gap:6px;width:100%;min-width:0}.list .row>span{width:100%;min-width:0}.users-toolbar,.customers-toolbar,.settings-actions{grid-template-columns:minmax(0,1fr);align-items:stretch;min-width:0;display:grid}.users-toolbar input,.users-toolbar select,.users-toolbar button,.customers-toolbar input,.customers-toolbar select,.customers-toolbar button,.settings-actions button{width:100%;min-width:0;max-width:100%}.users-panel-header{grid-template-columns:minmax(0,1fr);align-items:stretch}.users-panel-header span{justify-self:start}.users-table-wrap,.appointment-report-scroll,.table-scroll,.table-scroll-container{overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;max-width:100%;overflow-x:auto}.modal-backdrop{max-height:100dvh;padding:max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));align-items:start;display:grid;overflow-y:auto}.modal-backdrop>.modal,.modal-backdrop>.card-modal,.modal-backdrop>.detail-modal,.modal-backdrop>.conflict-modal,.modal-backdrop>.profile-form-modal,.modal-backdrop>.user-form-modal,.modal-backdrop>.password-modal,.modal-backdrop>.customer-form-modal,.modal-backdrop>.quote-confirmation-modal{max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));width:100%;min-width:0;overflow:auto}.card-modal,.conflict-modal,.profile-form-modal,.user-form-modal,.password-modal,.customer-form-modal{border-radius:18px;padding:16px}.detail-modal{border-radius:18px;height:auto;min-height:0;padding:15px}.detail-modal header{flex-direction:column;align-items:flex-start;gap:8px;margin-right:36px}.detail-grid{grid-template-columns:minmax(0,1fr);height:auto;min-height:0}.detail-left,.comments{min-width:0;max-height:none;overflow:visible}.modal-actions,.card-modal footer{grid-template-columns:minmax(0,1fr);display:grid}.modal-actions button,.card-modal footer button{width:100%;min-height:44px}.grid{grid-template-columns:minmax(0,1fr)}.permission-row{grid-template-columns:minmax(0,1fr);align-items:start}.segmented-actions{grid-template-columns:repeat(auto-fit,minmax(80px,1fr));width:100%;display:grid}.segmented-actions button{min-width:0}.customer-address-line{grid-template-columns:minmax(0,1fr)}.customer-address-line>*{width:100%;min-width:0}.day-schedule-panel header,.addresses-editor header,.users-panel-header{display:grid}.small-button{white-space:normal;width:100%;min-height:44px}input,select,textarea,button{max-width:100%}input,select,button{min-height:42px}}@media (width<=420px){.topbar,.topbar-heading{align-items:flex-start}.topbar-title p{text-overflow:ellipsis;white-space:nowrap;max-width:45vw;overflow:hidden}.top-actions{flex-wrap:wrap;justify-content:flex-end}.top-actions select{max-width:33vw}.top-actions button{min-height:40px}.status-metric-cards{gap:8px}.status-metric-cards article{border-radius:14px;padding:10px}.appointment-filters{padding:12px}.kanban{grid-auto-columns:min(88vw,340px)}.kanban-column{padding:10px}.card-modal,.conflict-modal,.profile-form-modal,.user-form-modal,.password-modal,.customer-form-modal{padding:13px}.notifications{left:8px;right:8px;top:max(8px, env(safe-area-inset-top))}.toast{width:100%;max-width:100%}}.touch-status-picker-backdrop{z-index:70}.touch-status-picker{width:min(460px,100vw - 24px);max-height:calc(100dvh - 24px);padding:20px;overflow:auto}.touch-status-picker header{border-bottom:1px solid var(--bdh-border,#e2e8f0);justify-content:space-between;align-items:flex-start;gap:12px;margin-right:34px;padding-bottom:12px;display:flex}.touch-status-picker header h2{margin:0;font-size:20px;line-height:1.2}.touch-status-picker header p{color:var(--bdh-muted,#64748b);overflow-wrap:anywhere;margin:5px 0 0;font-size:12px}.touch-status-picker-prompt{color:#475569;margin:13px 0 10px;font-size:13px}.touch-status-options{gap:8px;display:grid}.touch-status-option{border:1px solid var(--bdh-border,#dbe2ea);color:#1f2937;text-align:left;background:#fff;border-radius:13px;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:48px;padding:11px 13px;display:flex}.touch-status-option:hover:not(:disabled){border-color:#64748b;box-shadow:0 4px 12px #0f172a1a}.touch-status-option:disabled{cursor:default;opacity:.72}.touch-status-option small{background:#ffffffb8;border-radius:99px;padding:4px 8px;font-size:11px;font-weight:800}.touch-status-option.tone-neutral{color:#475569;background:#f8fafc;border-color:#e2e8f0}.touch-status-option.tone-warning{color:#92400e;background:#fffbeb;border-color:#fde68a}.touch-status-option.tone-info{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.touch-status-option.tone-success{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.touch-status-option.tone-danger{color:#991b1b;background:#fff1f2;border-color:#fecaca}.touch-status-picker-actions{justify-content:flex-end;margin-top:12px;display:flex}@media (width<=900px){.touch-status-picker-backdrop{align-items:center}.touch-status-picker{width:100%;padding:16px}.touch-status-picker-actions{display:grid}.touch-status-picker-actions button{width:100%;min-height:44px}}@media (prefers-reduced-motion:reduce){.app-shell>.sidebar{transition:none}}.appointment-cleanup-module{gap:16px;min-width:0;display:grid}.appointment-cleanup-toolbar,.appointment-cleanup-summary,.appointment-cleanup-result{border:1px solid var(--bdh-border,#e2e8f0);box-shadow:var(--bdh-shadow-soft,0 8px 22px #0f172a0f);background:#fff;border-radius:18px}.appointment-cleanup-toolbar{grid-template-columns:minmax(150px,210px) minmax(180px,260px) auto;align-items:end;gap:12px;padding:16px;display:grid}.appointment-cleanup-toolbar label,.appointment-cleanup-confirmation label{color:#475569;gap:6px;margin:0;font-size:12px;font-weight:800;display:grid}.appointment-cleanup-toolbar input,.appointment-cleanup-toolbar select,.appointment-cleanup-confirmation input{border:1px solid var(--bdh-border-strong,#cbd5e1);color:#111827;background:#fff;border-radius:11px;width:100%;min-width:0;min-height:44px;padding:10px 12px}.appointment-cleanup-toolbar button{min-height:44px}.appointment-cleanup-summary{gap:16px;padding:18px;display:grid}.appointment-cleanup-summary-title{justify-content:space-between;align-items:start;gap:12px;display:flex}.appointment-cleanup-summary-title h3{margin:0;font-size:20px}.appointment-cleanup-summary-title p{color:#64748b;margin:5px 0 0;font-size:13px}.appointment-cleanup-count{color:#475569;white-space:nowrap;background:#f1f5f9;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:800}.appointment-cleanup-breakdowns{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.appointment-cleanup-breakdowns>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:13px}.appointment-cleanup-breakdowns h4{margin:0 0 8px;font-size:13px}.appointment-cleanup-breakdowns ul{gap:6px;margin:0;padding:0;list-style:none;display:grid}.appointment-cleanup-breakdowns li{color:#475569;justify-content:space-between;align-items:center;gap:10px;font-size:12px;display:flex}.appointment-cleanup-breakdowns li b{color:#111827}.appointment-cleanup-table-wrap{overscroll-behavior-x:contain;max-width:100%;overflow-x:auto}.appointment-cleanup-table{border-collapse:collapse;width:100%;min-width:680px}.appointment-cleanup-table th,.appointment-cleanup-table td{text-align:left;border-bottom:1px solid #e5e7eb;padding:10px 11px}.appointment-cleanup-table th{color:#475569;letter-spacing:.03em;text-transform:uppercase;background:#f8fafc;font-size:11px}.appointment-cleanup-table td{color:#1f2937;font-size:12px}.appointment-cleanup-table-wrap>small{color:#64748b;margin-top:8px;font-size:11px;display:block}.appointment-cleanup-impact{color:#7c2d12;background:#fff7ed;border:1px solid #fed7aa;border-radius:14px;gap:5px;padding:13px;font-size:13px;display:grid}.appointment-cleanup-impact small{color:#9a3412;margin-top:3px;line-height:1.4}.appointment-cleanup-confirmation{border-top:1px solid #e5e7eb;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;padding-top:15px;display:grid}.appointment-cleanup-confirmation label{color:#334155;font-size:12px}.appointment-cleanup-confirmation label b{color:#991b1b;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.appointment-cleanup-confirmation button.danger{background:#991b1b;min-height:44px}.appointment-cleanup-confirmation button:disabled,.appointment-cleanup-toolbar button:disabled{cursor:not-allowed;opacity:.55}.appointment-cleanup-empty,.appointment-cleanup-readonly{color:#475569;background:#f8fafc;border-radius:12px;margin:0;padding:12px;font-size:13px}.appointment-cleanup-result{color:#166534;background:#f0fdf4;border-color:#bbf7d0;gap:4px;padding:15px 18px;display:grid}.appointment-cleanup-result small{color:#475569}@media (width<=760px){.appointment-cleanup-toolbar{grid-template-columns:minmax(0,1fr)}.appointment-cleanup-toolbar button{width:100%}.appointment-cleanup-breakdowns,.appointment-cleanup-confirmation{grid-template-columns:minmax(0,1fr)}.appointment-cleanup-confirmation button{width:100%;min-height:46px}.appointment-cleanup-summary-title{flex-direction:column;align-items:start}}.users-table tbody tr:hover td,.customers-table tbody tr:hover td{background-color:inherit!important;color:inherit!important}.hour-slot.available:hover,.hour-slot.occupied:hover,.hour-slot.selected:hover,.customer-option:hover{background-color:inherit!important}.history-item{cursor:pointer;background:#fff;border:1px solid #0000;border-radius:14px;padding:10px 12px;scroll-margin-top:90px}.history-item-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.history-comment-badge{color:#3730a3;white-space:nowrap;background:#eef2ff;border:1px solid #c7d2fe;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:800}.history-comment-hint{margin-top:6px;display:block;color:#64748b!important}.active-history-highlight{box-shadow:0 0 0 4px #1118271f,var(--bdh-hover-shadow)!important;border-color:#111827!important;outline:2px solid #11182733!important}.history-link-chip{color:#1f2937;text-align:left;text-overflow:ellipsis;white-space:nowrap;background:#f8fafc;border:1px solid #dbe3ef;border-radius:999px;max-width:100%;margin:8px 0 0;padding:7px 10px;font-size:11px;font-weight:800;line-height:1.25;display:block;overflow:hidden}.history-link-chip:hover{border-color:var(--bdh-hover-border)!important;box-shadow:var(--bdh-hover-shadow)!important;color:#111827!important;outline:2px solid var(--bdh-hover-outline)!important;background:#f8fafc!important}.history-comment-modal header p{border:1px solid var(--bdh-border);background:#f8fafc;border-radius:14px;padding:10px 12px;color:#374151!important}.timeline .history-item::marker{color:#64748b;font-weight:900}@media (width<=760px){.history-item-header{flex-direction:column;align-items:flex-start}.history-link-chip{white-space:normal}}.sidebar-submenu-group{border-left:1px solid #ffffff24;gap:6px;margin:-4px 0 6px 18px;padding-left:12px;display:grid}.sidebar .sidebar-subitem{color:#cbd5e1;background:0 0;border-radius:10px;min-height:36px;padding:8px 10px;font-size:13px}.sidebar .sidebar-subitem.active,.sidebar .sidebar-subitem:hover{color:#fff;background:#ffffff1a;border-color:#ffffff1a}.branches-table{min-width:980px}.branches-table td:nth-child(2){white-space:normal;max-width:320px;line-height:1.4}.branch-form-modal textarea{min-height:100px}.grid-span-2{grid-column:1/-1}.branches-module .users-panel-header p{max-width:760px}@media (width<=760px){.sidebar-submenu-group{grid-column:1/-1;margin:0 0 6px 8px}.grid-span-2{grid-column:auto}}.sidebar-tree{gap:6px;display:grid}.sidebar-tree-item,.sidebar-tree-subitem{text-align:left;border-radius:12px;grid-template-columns:18px 1fr;align-items:center;gap:10px;min-height:42px;padding:10px 12px;font-weight:800;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid}.sidebar-tree-item:hover,.sidebar-tree-subitem:hover{transform:translate(2px);box-shadow:0 0 0 2px #ffffff29,0 8px 18px #0000002e;background:0 0!important}.sidebar-tree-item.active,.sidebar-tree-subitem.active{color:#fff;box-shadow:inset 3px 0 #fff;background:#ffffff1f!important}.sidebar-tree-item.parent{margin-top:2px}.sidebar-tree-children{border-left:1px solid #ffffff2e;gap:4px;margin:-2px 0 4px 18px;padding-left:10px;display:grid}.sidebar-tree-subitem{min-height:38px;padding:8px 10px;font-size:13px;color:#cbd5e1!important}.sidebar-tree-subitem.active{color:#fff!important}.tree-icon,.tree-branch{color:#94a3b8;font-weight:900}@media (width<=900px){.sidebar-tree{grid-column:1/-1;grid-template-columns:1fr 1fr}.sidebar-tree-children{grid-column:1/-1;grid-template-columns:1fr 1fr;margin-left:10px}}.sidebar-tree-group{gap:4px;min-width:0;display:grid}.sidebar-tree-group .sidebar-tree-children{display:grid!important}.sidebar-tree-group .sidebar-tree-children[style*="display: none"]{display:none!important}.sidebar-tree-subitem span:last-child,.sidebar-tree-item span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}@media (width<=900px){.sidebar-tree-group{grid-column:1/-1}.sidebar-tree-group .sidebar-tree-children{grid-template-columns:1fr 1fr}}input[type=checkbox]{appearance:none;cursor:pointer;vertical-align:middle;transition:background .18s,border-color .18s,box-shadow .18s;display:inline-block;position:relative;box-shadow:inset 0 1px 2px #0f172a1f;background:#e5e7eb!important;border:1px solid #cbd5e1!important;border-radius:999px!important;width:38px!important;min-width:38px!important;height:22px!important;min-height:22px!important;margin:0!important;padding:0!important}input[type=checkbox]:before{content:"";background:#fff;border-radius:999px;width:18px;height:18px;transition:transform .18s;position:absolute;top:1px;left:1px;box-shadow:0 1px 4px #0f172a40}input[type=checkbox]:checked{background:#22c55e!important;border-color:#22c55e!important}input[type=checkbox]:checked:before{transform:translate(16px)}input[type=checkbox]:focus-visible{outline-offset:2px;outline:3px solid #22c55e38}input[type=checkbox]:disabled{cursor:not-allowed;opacity:.55}.check-row,.check{min-height:32px;flex-direction:row!important;align-items:center!important;gap:10px!important;display:inline-flex!important}.check-row.compact{align-items:center!important;gap:10px!important;padding:8px 12px!important}.profile-form-modal{width:min(1100px,96vw);max-width:1100px;max-height:92vh;overflow:auto}.profile-permissions-panel,.profile-users-panel{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;margin-top:14px;padding:16px}.permission-grid{gap:10px;display:grid}.permission-row{background:#fff;border:1px solid #e5e7eb;border-radius:14px;grid-template-columns:minmax(220px,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.segmented-actions{flex-wrap:wrap;gap:6px;display:inline-flex}.segmented-actions button{color:#334155;background:#f8fafc;border:1px solid #cbd5e1;padding:8px 12px}.segmented-actions button.active{color:#fff;background:#0f172a;border-color:#0f172a}.profile-user-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:8px;display:grid}.profile-user-option{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:10px 12px!important}.profile-pill{color:#3730a3;background:#eef2ff;border-radius:999px;margin:2px 4px 2px 0;padding:4px 8px;font-size:12px;font-weight:700;display:inline-flex}.profile-assignment-panel{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;grid-column:1/-1;gap:8px;padding:14px;display:grid}.profile-assignment-panel .check-row{justify-content:flex-start}@media (width<=760px){.permission-row{grid-template-columns:1fr}.segmented-actions{width:100%}.segmented-actions button{flex:1}.profile-form-modal{width:96vw}}.action-read:before,.action-create:before,.action-edit:before,.action-delete:before{font-weight:800}.readonly-hint{color:#475569;background:#f8fafcf2;border:1px solid #0f172a1f;border-radius:14px;margin:.35rem 0 1rem;padding:.7rem .9rem;font-size:.9rem}button.action-read,button.action-create,button.action-edit,button.action-delete{white-space:nowrap}.help-disclosure{color:#475569;overflow-wrap:anywhere;margin:12px 0;font-size:13px}.help-disclosure summary{cursor:pointer;font-weight:600}.help-disclosure summary:focus-visible{outline-offset:4px;outline:2px solid #2563eb}.help-disclosure p{margin:8px 0}.confirmation-summary{white-space:pre-line;overflow-wrap:anywhere}.users-table .table-text-preview{text-overflow:ellipsis;white-space:nowrap;max-width:32ch;overflow:hidden}button.action-read{border-color:#3b82f638}button.action-create{border-color:#10b98147}button.action-edit{border-color:#f59e0b47}button.action-delete{border-color:#ef444447}.segmented-actions button:disabled,button:disabled{cursor:not-allowed;opacity:.55}.consultable-row{cursor:pointer}.consultable-row:hover td{background:#f8fafc}.readonly-hint.inline{margin-top:6px}.readonly-fieldset{border:0;margin:0;padding:0}.readonly-fieldset:disabled{opacity:1}.readonly-fieldset:disabled input,.readonly-fieldset:disabled select,.readonly-fieldset:disabled textarea{color:#334155;cursor:default;background:#f8fafc}.dashboard-scope{border:1px solid var(--bdh-border,#e5e7eb);color:var(--bdh-muted,#6b7280);background:#fff;border-radius:16px;align-items:center;gap:8px;padding:12px 14px;font-size:13px;font-weight:800;display:flex}.status-metric-cards{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.status-metric-card{min-height:116px}.status-metric-card:hover{outline-offset:2px;outline:2px solid #cbd5e18c;background:var(--bdh-surface,#fff)!important;border-color:#cbd5e1!important;transform:none!important;box-shadow:0 12px 26px #0f172a1a!important}.admin-reassign-panel{gap:14px;display:grid;overflow:hidden}.admin-reassign-header{border:1px solid var(--bdh-border,#e5e7eb);background:#f8fafc;border-radius:16px;justify-content:space-between;align-items:flex-start;gap:12px;padding:14px;display:flex}.admin-reassign-header h3{margin:3px 0 4px}.section-kicker{color:#64748b;letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:900;display:block}.assignment-current-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.assignment-current-summary article{border:1px solid var(--bdh-border,#e5e7eb);background:#fff;border-radius:14px;gap:4px;min-width:0;padding:12px 14px;display:grid}.assignment-current-summary span{color:#64748b;letter-spacing:.04em;text-transform:uppercase;font-size:11px;font-weight:900}.assignment-current-summary strong{color:#111827;text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.assignment-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;display:grid}.assignment-form-grid label{gap:6px;min-width:0;display:grid}.assignment-form-grid select,.assignment-form-grid textarea{width:100%;min-width:0;max-width:100%}.assignment-form-grid textarea{resize:vertical;min-height:92px}.assignment-wide{grid-column:1/-1}.assignment-primary-toggle{border:1px solid var(--bdh-border,#e5e7eb);background:#fff;border-radius:14px;padding:10px 12px;margin:0!important}.assignment-primary-toggle span{color:#334155;font-weight:800}.assignment-actions{border:1px solid var(--bdh-border,#e5e7eb);background:#f8fafc;border-radius:16px;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:10px 12px;display:flex}.assignment-actions .help-text{margin:0}.assignment-actions button{flex:none}@media (width<=760px){.assignment-current-summary,.assignment-form-grid{grid-template-columns:1fr}.assignment-actions{align-items:stretch;display:grid}.assignment-actions button{width:100%}}.admin-reassign-card .admin-reassign-header{align-items:center}.admin-reassign-card .admin-reassign-header button{white-space:nowrap;flex:none}.compact-summary{margin-top:2px}.assignment-modal{gap:16px;width:min(820px,96vw);max-height:92vh;padding:26px;display:grid;overflow:auto}.assignment-modal header{border-bottom:1px solid var(--bdh-border,#e5e7eb);padding:0 42px 14px 0}.assignment-modal header h2{margin:4px 0 6px}.assignment-modal header p{color:#64748b;margin:0;line-height:1.45}.assignment-modal .assignment-current-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.assignment-modal-grid{border:1px solid var(--bdh-border,#e5e7eb);background:#f8fafc;border-radius:18px;padding:16px}.assignment-modal .modal-actions{margin-top:0}@media (width<=760px){.admin-reassign-card .admin-reassign-header{display:grid}.admin-reassign-card .admin-reassign-header button,.assignment-modal .modal-actions button{width:100%}.assignment-modal .assignment-current-summary{grid-template-columns:1fr}.assignment-modal{padding:22px}}.detail-modal{flex-direction:column;max-height:94vh;display:flex;overflow:hidden}.detail-modal .detail-main-header{flex:none;justify-content:space-between;align-items:flex-start;gap:14px;min-width:0;margin-right:38px;display:flex}.detail-title-block{gap:8px;min-width:0;display:grid}.detail-title-block h2{overflow-wrap:anywhere;margin:0;line-height:1.15}.detail-header-action{white-space:nowrap;flex:none;align-self:flex-start}.detail-grid{flex:auto;min-height:0}.detail-left,.comments{min-height:0}.admin-reassign-compact-panel{gap:10px;display:grid}.compact-admin-title h3{margin:2px 0 0}.admin-reassign-compact-panel .help-text{margin:0}.assignment-modal{max-height:min(760px,92vh);overflow-y:auto}.assignment-modal-grid label,.assignment-modal-grid select,.assignment-modal-grid textarea{min-width:0}@media (width<=760px){.detail-modal .detail-main-header{margin-right:36px;display:grid}.detail-header-action{white-space:normal;width:100%}.detail-modal{height:94vh}}.assignment-modal.card-modal{width:min(820px,96vw);max-height:min(760px,92vh);padding:28px;overflow-y:auto}.assignment-modal.card-modal header{border-bottom:1px solid var(--bdh-border,#e5e7eb);margin-right:34px;padding:0 0 16px;display:block}.assignment-modal.card-modal .assignment-current-summary,.assignment-modal.card-modal .assignment-modal-grid,.assignment-modal.card-modal .modal-actions{margin-top:16px}.assignment-modal.card-modal .assignment-modal-grid{border:1px solid var(--bdh-border,#e5e7eb);background:#fff;border-radius:18px;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px;display:grid;box-shadow:0 4px 14px #0f172a0a}.assignment-modal.card-modal label{color:#374151;gap:7px;min-width:0;margin:0;font-size:13px;font-weight:800;display:grid}.assignment-modal.card-modal select,.assignment-modal.card-modal textarea,.assignment-modal.card-modal input:not([type=checkbox]){border:1px solid var(--bdh-border-strong,#d1d5db);border-radius:var(--bdh-radius-sm,12px);color:#111827;background:#fff;outline:none;width:100%;min-width:0;min-height:42px;padding:10px 12px;transition:border-color .15s,box-shadow .15s}.assignment-modal.card-modal select:focus,.assignment-modal.card-modal textarea:focus,.assignment-modal.card-modal input:not([type=checkbox]):focus{border-color:#94a3b8;box-shadow:0 0 0 3px #94a3b838}.assignment-modal.card-modal textarea{resize:vertical;min-height:96px;line-height:1.45}.assignment-modal.card-modal .assignment-wide{grid-column:1/-1}.assignment-modal.card-modal .inline-address-panel{border:1px solid var(--bdh-border,#e5e7eb);background:#f8fafc;border-radius:16px;padding:14px}.assignment-modal.card-modal .assignment-primary-toggle{border:1px solid var(--bdh-border,#e5e7eb);background:#f8fafc;border-radius:16px;justify-content:flex-start;align-items:center;padding:12px 14px;gap:10px!important;display:flex!important}.assignment-modal.card-modal .assignment-primary-toggle input[type=checkbox]{flex:none}.assignment-modal.card-modal .assignment-primary-toggle span{color:#334155;font-size:13px;font-weight:800}.assignment-modal.card-modal .modal-actions{border:1px solid var(--bdh-border,#e5e7eb);background:#f8fafc;border-radius:16px;justify-content:flex-end;gap:10px;padding:10px;display:flex}@media (width<=760px){.assignment-modal.card-modal{width:min(96vw,720px);max-height:92vh;padding:22px}.assignment-modal.card-modal .assignment-modal-grid,.assignment-modal.card-modal .assignment-current-summary{grid-template-columns:1fr}.assignment-modal.card-modal .modal-actions{display:grid}.assignment-modal.card-modal .modal-actions button{width:100%}}.appointment-card.processing{opacity:.68;pointer-events:none;position:relative}.appointment-card.processing:after{content:"Guardando…";color:#fff;background:#111827;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800;position:absolute;bottom:10px;right:12px;box-shadow:0 4px 12px #0f172a33}.quote-confirmation-modal{z-index:2;width:min(520px,94vw)}.quote-confirmation-modal input[aria-invalid=true]{border-color:#dc2626;box-shadow:0 0 0 3px #dc26261a}.field-error{color:#b91c1c;font-size:12px;font-weight:700;line-height:1.35}.form-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:12px;margin:0;padding:10px 12px;font-size:13px}.regularization-warning{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:12px;padding:10px 12px}.history-legacy-badge{color:#475569;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:800}.quote-correction-grid{margin-top:12px}.appointment-card .quote-card-data{overflow-wrap:anywhere;margin-top:.35rem;display:block}.quote-confirmation-backdrop{z-index:120}.quote-confirmation-backdrop.nested-backdrop{z-index:130}.appointment-card.overdue{background:#fff1f2!important;border:2px solid #dc2626!important;box-shadow:0 12px 30px #dc26262e!important}.appointment-card.overdue:hover{background:#ffe4e6!important;border-color:#b91c1c!important}.sla-overdue-banner{color:#fff;background:#dc2626;border-radius:12px;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;display:flex}.sla-overdue-banner b{letter-spacing:.04em;text-transform:uppercase;font-size:12px}.sla-overdue-banner span{font-size:12px;font-weight:800}.list .row.overdue{background:#fff1f2;border:2px solid #dc2626}.sla-overdue-inline{color:#fff;background:#dc2626;border-radius:999px;margin-left:8px;padding:4px 8px;font-size:11px;display:inline-block}.sla-rule-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px;display:grid}.sla-rule-card{background:#f8fafc;border:1px solid #dbe3ec;border-radius:18px;gap:14px;padding:16px;display:grid}.sla-rule-card h4{margin:4px 0 0;font-size:18px}.sla-rule-card>p{color:#64748b;margin:0;line-height:1.45}.sla-rule-card>small{color:#64748b}.sla-rule-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.sla-active-toggle{background:#fff;border:1px solid #dbe3ec;border-radius:14px;flex-shrink:0;padding:8px 10px!important}.sla-basis-note{background:#fff;border:1px solid #e2e8f0;border-radius:14px;gap:4px;padding:11px 12px;display:grid}.sla-basis-note b{color:#475569;letter-spacing:.05em;text-transform:uppercase;font-size:11px}.sla-basis-note span{color:#0f172a;font-weight:800}.sla-time-inputs{grid-template-columns:minmax(0,1fr) minmax(150px,.65fr);gap:12px;display:grid}.sla-time-inputs label{color:#334155;gap:6px;font-size:13px;font-weight:800;display:grid}.sla-time-inputs input,.sla-time-inputs select{background:#fff;border:1px solid #cbd5e1;border-radius:12px;width:100%;min-height:44px;padding:10px 12px}@media (width<=700px){.sla-rule-grid,.sla-time-inputs{grid-template-columns:1fr}.sla-rule-heading{display:grid}}.detail-sla-overdue{color:#991b1b;background:#fff1f2;border:2px solid #dc2626;border-radius:16px;justify-content:space-between;align-items:center;gap:16px;margin:12px 0;padding:12px 14px;display:flex}.detail-sla-overdue div{gap:3px;display:grid}.detail-sla-overdue b{letter-spacing:.05em;text-transform:uppercase;font-size:13px}.detail-sla-overdue span{font-size:13px}.detail-sla-overdue strong{white-space:nowrap}@media (width<=700px){.detail-sla-overdue{align-items:flex-start;display:grid}}.status-timer{background:#f8fafc;border:1px solid #cbd5e1;border-radius:14px;gap:5px;margin:8px 0;padding:9px 10px;display:grid}.status-timer>div{justify-content:space-between;align-items:center;gap:10px;display:flex}.status-timer span,.status-timer small{color:#475569;font-size:11px;font-weight:800}.status-timer strong{color:#0f172a;font-variant-numeric:tabular-nums;letter-spacing:.03em;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:16px}.status-timer em{color:#64748b;font-size:10px;font-style:normal;line-height:1.35}.status-timer.overdue{background:#fee2e2;border-color:#dc2626}.status-timer.overdue strong,.status-timer.overdue span,.status-timer.overdue small{color:#991b1b}.status-timer-inline{color:#475569;font-variant-numeric:tabular-nums;margin-top:4px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:10px;display:block}.detail-status-timer{background:#f8fafc;border:1px solid #cbd5e1;border-radius:16px;gap:12px;margin:12px 0;padding:14px;display:grid}.detail-status-timer.overdue{color:#991b1b;background:#fff1f2;border:2px solid #dc2626}.detail-status-timer-title{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.detail-status-timer-title>div{gap:4px;display:grid}.detail-status-timer-title b{letter-spacing:.05em;text-transform:uppercase;font-size:13px}.detail-status-timer-title span,.detail-status-timer-title small,.detail-status-timer em{color:#64748b;font-size:12px;font-style:normal}.detail-status-timer-values{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.detail-status-timer-values>span{background:#fff;border:1px solid #e2e8f0;border-radius:13px;gap:4px;padding:10px 12px;display:grid}.detail-status-timer-values small{color:#64748b;font-size:11px;font-weight:800}.detail-status-timer-values strong{font-variant-numeric:tabular-nums;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:20px}.detail-status-timer.overdue .detail-status-timer-title span,.detail-status-timer.overdue .detail-status-timer-title small,.detail-status-timer.overdue em{color:#991b1b}@media (width<=700px){.detail-status-timer-title{display:grid}.detail-status-timer-values{grid-template-columns:1fr}}.kanban{grid-auto-columns:minmax(260px,1fr);gap:12px}.kanban-column{padding:11px}.appointment-card{gap:5px;min-height:0;padding:10px 11px}.compact-card-customer{color:#111827;overflow-wrap:anywhere;white-space:normal;min-width:0;font-size:13px;line-height:1.25;display:block}.compact-card-customer-line{flex-wrap:wrap;flex:auto;align-items:center;gap:4px 7px;min-width:0;display:flex}.assigned-to-me-badge{color:#047857;letter-spacing:.025em;text-transform:uppercase;white-space:nowrap;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:999px;flex:none;padding:4px 7px;font-size:9px;font-weight:900;line-height:1;display:inline-flex}.compact-card-heading{justify-content:space-between;align-items:flex-start;gap:8px;min-width:0;display:flex}.appointment-delete-button{color:#b91c1c;cursor:pointer;touch-action:manipulation;z-index:1;background:#fff;border:1px solid #fecaca;border-radius:9px;flex:0 0 32px;justify-content:center;align-items:center;width:32px;height:32px;min-height:32px;margin:-4px -4px 0 0;padding:6px;display:inline-flex;position:relative}.appointment-delete-button:hover:not(:disabled){color:#991b1b;background:#fef2f2;border-color:#fca5a5}.appointment-delete-button:focus-visible{outline-offset:2px;outline:3px solid #fecaca}.appointment-delete-button:disabled{cursor:wait;opacity:.55}.appointment-delete-button svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:18px;height:18px}.compact-card-schedule{font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:3px 8px;min-width:0;line-height:1.25;display:flex}.compact-card-date{color:#64748b;white-space:nowrap;font-size:11px;font-weight:700;line-height:1.25}.compact-card-time{color:#334155;white-space:nowrap;font-size:12px;font-weight:750}.appointment-card.processing{cursor:progress;opacity:.72}@media (width<=700px){.appointment-card{padding:9px 10px}}:root{--metric-success:#16a34a;--metric-danger:#dc2626;--metric-warning:#d97706;--metric-neutral:#64748b;--metric-info:#2563eb}.customer-address-card{border:1px solid var(--bdh-border,#e5e7eb);background:#fff;border-radius:16px;gap:12px;padding:14px;display:grid}.customer-address-grid{grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px 12px;display:grid}.customer-address-grid label{color:#475569;gap:6px;margin:0;font-size:12px;font-weight:800;display:grid}.customer-address-grid input,.customer-address-grid select{color:#111827;background:#fff;border:1px solid #d9dde3;border-radius:12px;width:100%;min-width:0;min-height:42px;padding:10px 11px}.customer-address-grid input[readonly]{color:#475569;cursor:not-allowed;background:#f1f5f9}.customer-address-actions{border-top:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:12px;padding-top:10px;display:flex}.quick-customer-modal{width:min(900px,96vw)}.quick-addresses-editor small{color:#64748b;margin-top:3px;display:block}@media (width<=1050px){.customer-address-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=680px){.customer-address-grid{grid-template-columns:1fr}.customer-address-actions{display:grid}.customer-address-actions button{width:100%}}.sla-color-legend{border:1px solid var(--bdh-border,#e2e8f0);color:#475569;background:#fff;border-radius:12px;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:8px 12px;display:flex}.sla-color-legend span{align-items:center;gap:6px;font-size:11px;font-weight:700;display:inline-flex}.sla-color-legend i{border:1px solid #0000;border-radius:50%;width:10px;height:10px}.sla-color-legend i.green{background:#f0fdf4;border-color:#86efac}.sla-color-legend i.yellow{background:#fefce8;border-color:#fcd34d}.sla-color-legend i.orange{background:#fff7ed;border-color:#fdba74}.sla-color-legend i.red{background:#fff1f2;border-color:#fda4af}.appointment-card.sla-green,.detail-status-timer.sla-green{background:#f0fdf4;border-color:#bbf7d0}.appointment-card.sla-yellow,.detail-status-timer.sla-yellow{background:#fefce8;border-color:#fde68a}.appointment-card.sla-orange,.detail-status-timer.sla-orange{background:#fff7ed;border-color:#fed7aa}.appointment-card.sla-red,.detail-status-timer.sla-red{background:#fff1f2;border-color:#fda4af}.detail-status-timer.sla-yellow{color:#854d0e}.detail-status-timer.sla-orange{color:#9a3412}.detail-status-timer.sla-red{color:#991b1b}.dashboard-appointments{gap:6px;display:grid}.list .dashboard-appointment{text-align:left;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px;min-width:0;min-height:0;padding:8px 12px;display:grid}.dashboard-appointment-customer{color:var(--bdh-text,#111827);overflow-wrap:anywhere;min-width:0;font-size:14px;font-weight:750;line-height:1.3}.dashboard-appointment-schedule{color:var(--bdh-muted,#64748b);font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px 12px;min-width:0;font-size:12px;display:flex}.dashboard-appointment-date,.dashboard-appointment-time{white-space:nowrap}@media (width<=560px){.list .dashboard-appointment{grid-template-columns:minmax(0,1fr);align-items:flex-start}.dashboard-appointment-schedule{justify-content:space-between;width:100%}}:root{--bdh-font-family:Inter, "Segoe UI", Arial, sans-serif;--bdh-font-body:14px;--bdh-font-control:13px;--bdh-font-label:12px}body{font-size:var(--bdh-font-body);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.45;font-family:var(--bdh-font-family)!important}body :where(button,input,select,textarea){font-family:var(--bdh-font-family)!important}body :where(.app-shell *,.login-page *){font-weight:400!important}body :where(input,select,textarea){font-size:var(--bdh-font-control)!important}body :where(h1,h2,h3,h4,h5,h6){color:inherit;font-family:var(--bdh-font-family)!important;letter-spacing:-.01em!important;text-transform:none!important;font-weight:600!important;line-height:1.3!important}body h1{font-size:22px!important}body h2{font-size:19px!important}body h3{font-size:16px!important}body :where(h4,h5,h6){font-size:14px!important}body :where(button){font-size:var(--bdh-font-control);letter-spacing:0!important;font-weight:600!important}body :where(label,th){font-size:var(--bdh-font-label)!important;letter-spacing:0!important;text-transform:none!important;font-weight:500!important}body :where(td,.users-table,.customers-table,.appointment-report-table table){font-size:13px}body :where(strong,b),body :where(.brand,.status,.settings-badge,[class*=badge],.users-panel-header span,.appointment-cleanup-count,.dashboard-appointment-customer,.compact-card-time,.sla-color-legend span,.appointment-report-table td.sla-compliance-cell){font-weight:600!important}body :where(.cards b){letter-spacing:0!important;text-transform:none!important;font-size:12px!important}body :where(.cards strong,.status-metric-cards strong){letter-spacing:-.02em!important;font-size:24px!important;font-weight:600!important;line-height:1.25!important}body :where(.appointment-report-heading h2){font-size:20px!important}body :where(.appointment-report-kpis h3){font-size:12px!important}body :where(.appointment-report-kpis strong){font-size:24px!important;font-weight:600!important}body :where(.appointment-report-table>h3){font-size:14px!important}body :where(.appointment-report-table thead th,.appointment-cleanup-table th,.users-table th,.customers-table th){letter-spacing:0!important;text-transform:none!important;font-size:12px!important;font-weight:600!important}body :where(.sla-status-pie figcaption){text-transform:none!important;font-size:12px!important;font-weight:600!important}body :where(.sla-status-pie__value){font-size:16px!important;font-weight:600!important}body :where(.sla-status-pie__label,.sla-status-pie__legend strong){font-size:11px!important;font-weight:500!important}body :where(.sla-status-pie__legend small){font-size:10px!important}
