.home-business-workspace{margin:14px 0 18px}
.home-business-tabs{display:flex;gap:6px;overflow-x:auto;margin:0 0 10px;padding:2px 0}
.home-business-tab{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;min-height:34px;padding:5px 10px;border:1px solid var(--border);border-radius:999px;background:rgba(255,255,255,.018);color:var(--muted);font-size:11px;font-weight:800}
.home-business-tab.active{color:#e5e0ff;border-color:rgba(124,92,255,.38);background:rgba(124,92,255,.15)}
.home-business-tab strong{display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:rgba(255,255,255,.06);font-size:9px}
.home-business-panel{padding:18px}
.home-business-head{display:flex;justify-content:space-between;gap:16px;margin-bottom:12px}
.home-business-head h2{margin:3px 0 4px;font-size:19px}
.home-business-head p{margin:0;color:var(--muted);font-size:11px}
.home-business-head-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.home-booking-create-trigger{min-height:36px;padding:0 12px;border:1px solid rgba(56,217,150,.3);border-radius:10px;background:rgba(56,217,150,.09);color:#b8f8dd;font-size:11px;font-weight:800;white-space:nowrap}
.home-booking-create-trigger:hover{background:rgba(56,217,150,.14)}
.home-booking-create-panel{margin:0 0 14px;padding:14px;border:1px solid rgba(56,217,150,.2);border-radius:13px;background:rgba(56,217,150,.045)}
.home-booking-create-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.home-booking-create-intro strong,.home-booking-create-intro span{display:block}
.home-booking-create-intro strong{font-size:13px}
.home-booking-create-intro>div span{margin-top:3px;color:var(--muted);font-size:10px}
.home-booking-create-badge{padding:4px 7px;border:1px solid rgba(56,217,150,.2);border-radius:999px;background:rgba(56,217,150,.07);color:#86efc3;font-size:9px;font-weight:800}
.home-booking-create-form{display:grid;grid-template-columns:minmax(150px,1.1fr) minmax(150px,1fr) minmax(140px,.9fr) minmax(110px,.7fr) auto auto;gap:8px;align-items:end}
.home-booking-create-form label{display:grid;gap:4px;color:var(--muted);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.home-booking-create-form select{width:100%;min-height:36px;padding:0 9px;border:1px solid var(--border);border-radius:9px;background:rgba(8,11,16,.72);color:var(--text);font-size:11px}
.home-booking-create-panel>p{margin:8px 0 0}
@media(max-width:980px){.home-booking-create-form{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.home-business-head-actions{width:100%;justify-content:flex-start}.home-business-head-actions button{flex:1 1 auto}.home-booking-create-form{grid-template-columns:1fr 1fr}.home-booking-create-intro{flex-direction:column}}
@media(max-width:480px){.home-booking-create-form{grid-template-columns:1fr}.home-business-head-actions{display:grid;grid-template-columns:1fr}.home-business-head-actions button{width:100%}}
.home-business-table-shell{overflow:auto;border:1px solid rgba(255,255,255,.065);border-radius:13px;background:rgba(0,0,0,.08)}
.home-business-table{width:100%;min-width:780px;border-collapse:collapse;font-size:12px}
.home-business-table th{padding:10px 12px;text-align:left;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em;border-bottom:1px solid rgba(255,255,255,.065)}
.home-business-table td{padding:11px 12px;border-bottom:1px solid rgba(255,255,255,.065)}
.home-business-table tbody tr:last-child td{border-bottom:0}
.home-business-table tbody tr{cursor:pointer;transition:background .14s ease}
.home-business-table tbody tr:hover,.home-business-table tbody tr:focus-visible{background:rgba(124,92,255,.075);outline:none}
.home-pill{display:inline-flex;align-items:center;min-height:25px;padding:3px 8px;border:1px solid rgba(56,217,150,.25);border-radius:999px;background:rgba(56,217,150,.08);color:#86efc3;font-size:10px;font-weight:800}
.home-pill.bad{border-color:rgba(255,113,135,.25);background:rgba(255,113,135,.08);color:#ff9bad}
.home-business-mobile-list{display:none;gap:8px}
.home-business-mobile-card,.home-simple-row{padding:12px 13px;border:1px solid rgba(255,255,255,.065);border-radius:12px;background:rgba(255,255,255,.018)}
.home-business-mobile-card strong,.home-business-mobile-card span{display:block}
.home-business-mobile-card>span:not(.home-pill){margin:4px 0 8px;color:var(--muted);font-size:11px}
.home-simple-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:8px}
.home-simple-row strong,.home-simple-row span{display:block}
.home-simple-row>div span{margin-top:3px;color:var(--muted);font-size:10px}
.home-business-empty{padding:18px;text-align:center;color:var(--muted);font-size:11px}
@media(max-width:760px){.home-business-table-shell{display:none}.home-business-mobile-list{display:grid}.home-business-panel{padding:14px}.home-simple-row{align-items:flex-start}}

.home-booking-filters{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(4,minmax(120px,.8fr)) auto;gap:8px;align-items:end;margin-bottom:8px}
.home-booking-filters label{display:grid;gap:4px}
.home-booking-filters label>span{color:var(--muted);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.home-booking-filters input,.home-booking-filters select{width:100%;min-height:34px;padding:0 9px;border:1px solid var(--border);border-radius:9px;background:rgba(8,11,16,.72);color:var(--text);font-size:11px}
.home-booking-filters input:focus,.home-booking-filters select:focus{outline:none;border-color:rgba(124,92,255,.65);box-shadow:0 0 0 3px rgba(124,92,255,.11)}
.home-filter-clear{min-height:34px;padding:0 10px;border:1px solid var(--border);border-radius:9px;background:rgba(255,255,255,.025);color:var(--muted);font-size:10px;font-weight:800}
.home-filter-clear:hover{color:var(--text);background:rgba(255,255,255,.05)}
.home-filter-result{margin:0 0 8px;color:var(--muted);font-size:10px}
@media(max-width:980px){.home-booking-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.home-filter-search{grid-column:span 2}}
@media(max-width:760px){.home-booking-filters{grid-template-columns:1fr 1fr}.home-filter-search{grid-column:1/-1}.home-filter-clear{grid-column:1/-1}}
@media(max-width:480px){.home-booking-filters{grid-template-columns:1fr}.home-filter-search,.home-filter-clear{grid-column:auto}}

.home-detail-open{overflow:hidden}
.home-detail-backdrop{position:fixed;inset:0;z-index:100;display:flex;justify-content:flex-end;background:rgba(0,0,0,.58);backdrop-filter:blur(3px)}
.home-detail-drawer{width:min(520px,100%);height:100%;overflow:auto;padding:22px;background:linear-gradient(180deg,#171e2b,#0e131c);border-left:1px solid var(--border);box-shadow:-30px 0 80px rgba(0,0,0,.4)}
.home-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:18px;border-bottom:1px solid rgba(255,255,255,.065)}
.home-detail-head h2{margin:5px 0 4px;font-size:26px;letter-spacing:-.03em}
.home-detail-head p{margin:0;color:var(--muted);font-size:11px}
.home-detail-close{min-height:34px;padding:0 11px;border:1px solid var(--border);border-radius:10px;background:rgba(255,255,255,.025);color:var(--text);font-size:11px;font-weight:800}
.home-detail-body{display:grid;gap:16px;padding:18px 0}
.home-detail-facts{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.home-detail-facts>div,.home-detail-fact-link,.home-detail-note,.home-detail-section{padding:12px;border:1px solid rgba(255,255,255,.065);border-radius:12px;background:rgba(255,255,255,.018)}
.home-detail-fact-link{display:block;color:inherit;text-decoration:none;transition:border-color .14s ease,background .14s ease}
.home-detail-fact-link:hover,.home-detail-fact-link:focus-visible{border-color:rgba(124,92,255,.45);background:rgba(124,92,255,.08);outline:none}
.home-detail-facts span,.home-detail-note>span{display:block;margin-bottom:4px;color:var(--muted);font-size:10px}
.home-detail-facts strong{font-size:12px}
.home-detail-note p,.home-detail-summary{margin:0;line-height:1.55;font-size:12px}
.home-detail-section h3{margin:0 0 10px;font-size:13px}
.home-detail-transcript{display:grid;gap:8px;max-height:420px;overflow:auto}
.home-detail-message{padding:10px 11px;border:1px solid rgba(255,255,255,.065);border-radius:11px;background:rgba(255,255,255,.018)}
.home-detail-message.assistant{background:rgba(56,217,150,.045)}
.home-detail-message strong{font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:#cfc7ff}
.home-detail-message p{margin:5px 0;line-height:1.5;font-size:12px}
.home-detail-message span{color:var(--muted);font-size:9px}
.home-detail-actions-list,.home-detail-history{display:grid;gap:7px}
.home-detail-actions-list>div,.home-detail-history>div{display:flex;align-items:center;gap:8px;padding:7px 0;border-bottom:1px solid rgba(255,255,255,.05)}
.home-detail-actions-list>div:last-child,.home-detail-history>div:last-child{border-bottom:0}
.home-detail-actions-list span{color:#86efc3;font-weight:900}
.home-detail-actions-list strong{font-size:11px}
.home-detail-history span{min-width:118px;color:var(--muted);font-size:9px}
.home-detail-history strong{font-size:11px}
.home-detail-link{display:inline-flex;justify-content:center;align-items:center;min-height:38px;padding:0 12px;border-radius:10px;background:rgba(124,92,255,.14);border:1px solid rgba(124,92,255,.28);color:#ddd6ff;text-decoration:none;font-size:11px;font-weight:800}
.home-booking-action-buttons{display:flex;gap:8px;flex-wrap:wrap}
.home-booking-primary{min-height:36px;padding:0 12px;border:1px solid rgba(124,92,255,.38);border-radius:9px;background:rgba(124,92,255,.15);color:#e4ddff;font-size:11px;font-weight:800;cursor:pointer}
.home-booking-primary:hover{background:rgba(124,92,255,.22)}
.home-booking-primary:disabled{opacity:.55;cursor:not-allowed}
.home-booking-reschedule{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px;padding:10px;border:1px solid rgba(124,92,255,.18);border-radius:10px;background:rgba(124,92,255,.045)}
.home-booking-reschedule label{display:grid;gap:4px;color:var(--muted);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.home-booking-reschedule select{min-height:36px;padding:0 9px;border:1px solid var(--border);border-radius:9px;background:rgba(8,11,16,.72);color:var(--text);font-size:11px}
.home-booking-reschedule p{grid-column:1/-1;margin:0}
.home-booking-reschedule button{width:100%}
.home-booking-danger{min-height:36px;padding:0 12px;border:1px solid rgba(255,113,135,.35);border-radius:9px;background:rgba(255,113,135,.09);color:#ffb2bf;font-size:11px;font-weight:800;cursor:pointer}
.home-booking-danger:hover{background:rgba(255,113,135,.14)}
.home-booking-danger:disabled{opacity:.55;cursor:not-allowed}
.home-detail-muted,.home-detail-loading{margin:0;color:var(--muted);font-size:11px;line-height:1.5}
@media(max-width:760px){.home-detail-drawer{width:100%;padding:18px}.home-detail-facts{grid-template-columns:1fr}.home-detail-transcript{max-height:none}}

.home-detail-lines{display:grid;gap:7px}
.home-detail-lines>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:7px 0;border-bottom:1px solid rgba(255,255,255,.055);font-size:11px}
.home-detail-lines>div:last-child{border-bottom:0}
.home-detail-lines strong{white-space:nowrap}
.home-detail-order-actions{position:sticky;bottom:-18px;display:flex;gap:8px;flex-wrap:wrap;margin:4px -18px -18px;padding:13px 18px 18px;border-top:1px solid rgba(255,255,255,.065);background:rgba(14,19,28,.96);backdrop-filter:blur(10px)}
.home-order-primary{min-height:36px;padding:0 12px;border:1px solid rgba(124,92,255,.38);border-radius:9px;background:rgba(124,92,255,.18);color:#fff;font-size:11px;font-weight:800}


.home-incident-trigger{min-height:36px;padding:0 12px;border:1px solid rgba(124,92,255,.34);border-radius:10px;background:rgba(124,92,255,.12);color:#e5e0ff;font-size:11px;font-weight:800;white-space:nowrap}
.home-incident-trigger:hover{background:rgba(124,92,255,.18)}
.home-incident-panel{margin:0 0 14px;padding:14px;border:1px solid rgba(124,92,255,.22);border-radius:13px;background:rgba(124,92,255,.055)}
.home-incident-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.home-incident-intro strong,.home-incident-intro span{display:block}
.home-incident-intro strong{font-size:13px}
.home-incident-intro>div span{margin-top:3px;color:var(--muted);font-size:10px}
.home-incident-safe{flex:0 0 auto;padding:4px 7px;border:1px solid rgba(56,217,150,.22);border-radius:999px;background:rgba(56,217,150,.07);color:#86efc3;font-size:9px;font-weight:800}
.home-incident-form{display:grid;grid-template-columns:minmax(150px,1.1fr) minmax(170px,1.2fr) repeat(4,minmax(120px,.9fr)) auto;gap:8px;align-items:end}
.home-incident-form label{display:grid;gap:4px;color:var(--muted);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.home-incident-form select{width:100%;min-height:36px;padding:8px 9px;border:1px solid var(--border);border-radius:9px;background:rgba(8,11,16,.72);color:var(--text);font:inherit;text-transform:none;letter-spacing:normal}
.home-incident-preview-btn{min-height:36px;padding:0 12px;border:1px solid rgba(124,92,255,.38);border-radius:9px;background:rgba(124,92,255,.18);color:#fff;font-size:10px;font-weight:800}
.home-incident-preview{margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.065)}
.home-incident-preview-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.home-incident-preview-head strong{font-size:12px}
.home-incident-preview-head span{color:var(--muted);font-size:10px}
.home-incident-list{display:grid;gap:7px}
.home-incident-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:10px;border:1px solid rgba(255,255,255,.06);border-radius:10px;background:rgba(255,255,255,.018)}
.home-incident-choice{display:flex;align-items:flex-start;gap:9px;min-width:0;cursor:pointer}
.home-incident-choice input,.home-incident-select-all input{width:auto;min-height:auto;margin:2px 0 0;accent-color:var(--accent)}
.home-incident-choice>span{min-width:0}
.home-incident-choice strong,.home-incident-choice small{display:block}
.home-incident-choice small{margin-top:2px;color:var(--muted);font-size:10px;line-height:1.35}
.home-incident-select-all{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:9px;font-weight:800;white-space:nowrap;cursor:pointer}
.home-incident-channel{align-self:start;padding:4px 7px;border-radius:999px;background:rgba(255,255,255,.05);font-size:9px;font-weight:800}
.home-incident-message{grid-column:1/-1;margin:2px 0 0;padding:9px;border-radius:8px;background:rgba(0,0,0,.12);color:var(--text);font-size:10px;line-height:1.45}
.home-incident-empty{padding:12px;text-align:center;color:var(--muted);font-size:10px}
.home-incident-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;padding-top:10px;border-top:1px solid rgba(255,255,255,.05)}
.home-incident-footer span{color:var(--muted);font-size:9px}
.home-incident-footer button{min-height:34px;padding:0 10px;border:1px solid rgba(124,92,255,.38);border-radius:9px;background:rgba(124,92,255,.18);color:#fff;font-size:10px;font-weight:800;cursor:pointer}
.home-incident-footer button:disabled{border-color:var(--border);background:rgba(255,255,255,.025);color:var(--muted);cursor:not-allowed}
.home-incident-success{display:grid;gap:3px;width:100%;padding:10px;border:1px solid rgba(56,217,150,.2);border-radius:10px;background:rgba(56,217,150,.055)}
.home-incident-success strong{color:#86efc3;font-size:11px}
.home-incident-success span,.home-incident-success small{color:var(--muted);font-size:9px}
@media(max-width:1280px){.home-incident-form{grid-template-columns:repeat(4,minmax(0,1fr))}.home-incident-preview-btn{grid-column:span 2}}
@media(max-width:760px){.home-business-head{align-items:flex-start;flex-direction:column}.home-incident-trigger{width:100%}.home-incident-intro{flex-direction:column}.home-incident-form{grid-template-columns:1fr 1fr}.home-incident-preview-btn{grid-column:1/-1}}
@media(max-width:480px){.home-incident-form{grid-template-columns:1fr}.home-incident-preview-btn{grid-column:auto}.home-incident-item{grid-template-columns:1fr}}


.home-incident-history{margin-top:14px;padding-top:14px;border-top:1px solid rgba(255,255,255,.065)}
.home-incident-history-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}
.home-incident-history-head strong,.home-incident-history-head span{display:block}
.home-incident-history-head strong{font-size:12px}
.home-incident-history-head span{margin-top:2px;color:var(--muted);font-size:9px}
.home-incident-history-head button{min-height:30px;padding:0 9px;border:1px solid var(--border);border-radius:8px;background:rgba(255,255,255,.025);color:var(--muted);font-size:9px;font-weight:800}
.home-incident-history-list{display:grid;gap:8px}
.home-incident-history-item{padding:11px;border:1px solid rgba(255,255,255,.06);border-radius:11px;background:rgba(0,0,0,.1)}
.home-incident-history-main,.home-incident-history-actions{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.home-incident-history-main strong,.home-incident-history-main span{display:block}
.home-incident-history-main strong{font-size:11px}
.home-incident-history-main>div>span{margin-top:2px;color:var(--muted);font-size:9px}
.home-incident-history-status{padding:4px 7px;border:1px solid rgba(124,92,255,.24);border-radius:999px;background:rgba(124,92,255,.08);color:#ddd6ff;font-size:8px;font-weight:900}
.home-incident-history-meta{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}
.home-incident-history-meta span{padding:4px 6px;border-radius:7px;background:rgba(255,255,255,.035);color:var(--muted);font-size:8px}
.home-incident-history-actions{align-items:center}
.home-incident-history-actions small{color:var(--muted);font-size:8px}
.home-incident-history-actions button{min-height:31px;padding:0 9px;border:1px solid rgba(56,217,150,.28);border-radius:8px;background:rgba(56,217,150,.09);color:#a8f3d4;font-size:9px;font-weight:800;cursor:pointer}
.home-incident-history-actions button:disabled{border-color:var(--border);background:rgba(255,255,255,.025);color:var(--muted);cursor:not-allowed}
@media(max-width:600px){.home-incident-history-head,.home-incident-history-main,.home-incident-history-actions{align-items:flex-start;flex-direction:column}.home-incident-history-actions button{width:100%}}


.home-incident-form-compact{margin-top:2px}
.home-incident-form-compact label{min-width:0}
.home-incident-form-compact select{cursor:pointer}
.home-incident-form-compact select:focus-visible{outline:2px solid rgba(124,92,255,.5);outline-offset:1px}
.home-incident-impact-summary{display:flex;align-items:center;gap:8px;margin-top:9px;padding:8px 10px;border:1px solid rgba(255,255,255,.055);border-radius:9px;background:rgba(255,255,255,.014)}
.home-incident-impact-summary strong{font-size:9px}
.home-incident-impact-summary span{color:var(--muted);font-size:8px}
@media(max-width:760px){.home-incident-impact-summary{align-items:flex-start;flex-direction:column;gap:2px}}

@media(max-width:480px){.home-booking-reschedule{grid-template-columns:1fr}.home-booking-reschedule p{grid-column:auto}}

[data-home-customer-id]{cursor:pointer}
[data-home-customer-id]:hover,[data-home-customer-id]:focus-visible{background:rgba(124,92,255,.075);outline:none}

.home-audit-list{display:grid;gap:8px}
.home-audit-row{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(180px,1fr) auto;gap:18px;align-items:center;padding:12px 13px;border:1px solid rgba(255,255,255,.065);border-radius:12px;background:rgba(255,255,255,.018)}
.home-audit-main strong,.home-audit-main span,.home-audit-actor strong,.home-audit-actor span{display:block}
.home-audit-main span,.home-audit-actor span,.home-audit-row time{margin-top:3px;color:var(--muted);font-size:10px}
.home-audit-row time{text-align:right;white-space:nowrap}
@media(max-width:760px){.home-audit-row{grid-template-columns:1fr;gap:7px}.home-audit-row time{text-align:left}}

.home-export-button{border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.035);color:inherit;border-radius:10px;padding:8px 11px;font:inherit;font-size:11px;font-weight:700;cursor:pointer}
.home-export-button:hover{background:rgba(255,255,255,.065)}
.home-export-button:disabled{opacity:.55;cursor:wait}
.home-export-message{min-height:18px;margin:-2px 0 8px;color:var(--muted);font-size:10px}

.home-audit-filters{display:grid;grid-template-columns:minmax(180px,1.4fr) repeat(2,minmax(145px,1fr)) repeat(2,minmax(135px,.8fr)) auto;gap:10px;align-items:end;margin:4px 0 10px}
.home-audit-filters label{display:grid;gap:5px;color:var(--muted);font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.home-audit-filters input,.home-audit-filters select{width:100%;min-height:36px;border:1px solid rgba(255,255,255,.09);border-radius:10px;background:rgba(255,255,255,.025);color:inherit;padding:8px 10px;font:inherit;font-size:11px}
.home-audit-filter-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
@media(max-width:1100px){.home-audit-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.home-audit-filter-actions{grid-column:span 3}}
@media(max-width:760px){.home-audit-filters{grid-template-columns:1fr 1fr}.home-audit-filter-actions{grid-column:span 2}}
@media(max-width:480px){.home-audit-filters{grid-template-columns:1fr}.home-audit-filter-actions{grid-column:auto}}


/* Incident resolver: compact human-facing flow */
.home-incident-panel{padding:12px}
.home-incident-intro{margin-bottom:8px}
.home-incident-intro strong{font-size:13px}
.home-incident-impact-summary{display:inline-flex;width:auto;margin:8px 0 0;padding:6px 9px}
.home-incident-impact-summary strong{font-size:9px}
.home-incident-preview{margin-top:10px;padding-top:10px}
.home-incident-preview-head{margin-bottom:7px}
.home-incident-item{padding:9px}
.home-incident-message-details{grid-column:1/-1;margin-top:0}
.home-incident-message-details summary{width:max-content;color:#b9b1ff;font-size:9px;font-weight:800;cursor:pointer;list-style:none}
.home-incident-message-details summary::-webkit-details-marker{display:none}
.home-incident-message-details summary::after{content:" ▾";font-size:8px}
.home-incident-message-details[open] summary::after{content:" ▴"}
.home-incident-message-details .home-incident-message{margin:7px 0 0;padding:8px}
.home-incident-footer{margin-top:8px;padding-top:8px}
.home-incident-ready{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}
.home-incident-ready>div{display:grid;gap:2px}
.home-incident-ready strong{font-size:11px}
.home-incident-ready span{font-size:9px}
.home-incident-blocked{display:grid;gap:2px;width:100%;padding:9px 10px;border:1px solid rgba(255,255,255,.07);border-radius:9px;background:rgba(255,255,255,.02)}
.home-incident-blocked strong{font-size:10px}
.home-incident-blocked span{color:var(--muted);font-size:9px}
.home-incident-history{margin-top:10px;padding-top:8px}
.home-incident-history-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:34px;padding:0 10px;border:1px solid rgba(255,255,255,.06);border-radius:9px;background:rgba(255,255,255,.018);color:var(--text);font-size:10px;font-weight:800;cursor:pointer}
.home-incident-history-toggle strong{min-width:22px;padding:3px 6px;border-radius:999px;background:rgba(124,92,255,.12);color:#ddd6ff;font-size:8px;text-align:center}
#homeIncidentHistoryBody{margin-top:8px}
.home-incident-history-item{padding:9px}
.home-incident-history-meta{margin:6px 0}
.home-incident-history-actions small{font-size:8px}
@media(max-width:760px){.home-incident-ready{align-items:stretch;flex-direction:column}.home-incident-ready button{width:100%}}

.home-incident-delivery-list{display:grid;gap:6px;margin:8px 0 2px;padding-top:7px;border-top:1px solid rgba(255,255,255,.05)}
.home-incident-delivery-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 9px;border:1px solid rgba(255,255,255,.055);border-radius:9px;background:rgba(255,255,255,.018)}
.home-incident-delivery-who{display:grid;gap:2px;min-width:0}
.home-incident-delivery-who strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-incident-delivery-who span{color:var(--muted);font-size:8px}
.home-incident-delivery-result{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex:0 0 auto}
.home-incident-delivery-status{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;border:1px solid rgba(255,255,255,.07);font-size:8px;font-weight:800}
.home-incident-delivery-status.is-pending,.home-incident-delivery-status.is-sending{color:#d8d5e6;background:rgba(255,255,255,.035)}
.home-incident-delivery-status.is-sent{color:#c9d9ff;background:rgba(91,131,255,.09)}
.home-incident-delivery-status.is-delivered{color:#bff3cf;background:rgba(58,187,112,.09)}
.home-incident-delivery-status.is-error{color:#ffd1d1;background:rgba(219,72,72,.09)}
.home-incident-delivery-status.is-cancelled{color:#d4d0dc;background:rgba(255,255,255,.035)}
.home-incident-delivery-result button{min-height:26px;padding:0 9px;border:1px solid rgba(255,255,255,.09);border-radius:8px;background:rgba(255,255,255,.035);color:var(--text);font-size:8px;font-weight:800;cursor:pointer}
.home-incident-delivery-result button:disabled{opacity:.55;cursor:default}
@media(max-width:560px){.home-incident-delivery-row{align-items:flex-start;flex-direction:column}.home-incident-delivery-result{width:100%;justify-content:space-between}}


.home-customer-create-panel{margin:0 0 12px;padding:12px;border:1px solid rgba(56,217,150,.18);border-radius:12px;background:rgba(56,217,150,.04)}
.home-customer-create-form{display:grid;grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) minmax(180px,1.1fr) auto;gap:8px;align-items:end}
.home-customer-create-form label{display:grid;gap:4px;color:var(--muted);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.home-customer-create-form input{width:100%;min-height:36px;padding:0 9px;border:1px solid var(--border);border-radius:9px;background:rgba(8,11,16,.72);color:var(--text);font-size:11px}
.home-customer-create-form input:focus{outline:none;border-color:rgba(124,92,255,.65);box-shadow:0 0 0 3px rgba(124,92,255,.11)}
.home-customer-create-panel>p{margin:8px 0 0}
@media(max-width:900px){.home-customer-create-form{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.home-customer-create-form{grid-template-columns:1fr}}
