.customers-overview .admin-section-head p{max-width:660px}.customers-toolbar{display:flex;gap:22px;align-items:flex-end;padding:23px 25px}.customers-toolbar>label{flex:1;min-width:0;margin:0}.customers-toolbar .admin-text-button{flex:0 0 auto;min-height:44px;font-size:11px}.customers-list-summary{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:24px 0 15px;font-size:11px;color:var(--night-muted, #8b9bb0)}.customers-list-summary>span:last-child{font-size:10px;color:var(--night-muted, #a1adbb)}.customers-list{display:grid;gap:14px}.customers-row{display:grid;grid-template-columns:minmax(0,1.5fr) auto auto;gap:24px;align-items:center;padding:23px}.customers-person{display:flex;align-items:flex-start;gap:14px;min-width:0}.customers-person>div{min-width:0}.customers-avatar{display:grid;place-items:center;flex:0 0 auto;width:43px;height:43px;border-radius:13px;background:var(--night-well, #f0f5fc);color:var(--night-blue, #6283ab);font-size:14px;font-weight:550;letter-spacing:-.025em}.customers-person h3,.customers-person h2{font-weight:550;color:var(--night-secondary, #3d5877);overflow-wrap:anywhere}.customers-person h3{font-size:15px;line-height:1.5;margin:0}.customers-contact{display:flex;gap:4px 15px;flex-wrap:wrap;margin-top:5px}.customers-contact>a{font-size:11px;line-height:1.75;color:var(--night-muted, #8a9db5);overflow-wrap:anywhere}.customers-contact>a:hover{color:var(--night-blue, #0877df)}.customers-account-badge{display:inline-block;font-size:9px;line-height:1.5;color:var(--night-muted, #99a7b8);border-radius:5px;background:var(--night-panel, #f5f7fa);padding:4px 6px;margin-top:9px}.customers-account-badge[data-account=yes]{color:var(--night-blue, #6b94bd);background:var(--night-well, #edf5ff)}.customers-row-stats{display:flex;gap:20px;text-align:center}.customers-row-stats>div,.customers-detail-stats>div{display:flex;flex-direction:column;gap:5px}.customers-row-stats strong{font-size:17px;font-weight:550;letter-spacing:-.03em;color:var(--night-blue, #56769b)}.customers-row-stats span{font-size:9px;color:var(--night-muted, #9cacc0)}.customers-row-actions{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:10px}.customers-row-actions small{font-size:9px;line-height:1.6;color:var(--night-muted, #9fabbc)}.customers-row-actions .admin-text-button{font-size:11px;white-space:nowrap;min-height:32px}.customers-empty{border:1px dashed var(--night-line, #dae4f0);border-radius:17px;padding:36px;background:var(--night-panel, #f9fbfe)}.customers-empty h3{font-size:20px;color:var(--night-muted, #617b9b);font-weight:500;margin-bottom:10px}.customers-empty p,.customers-loading{font-size:12px;line-height:1.8;color:var(--night-muted, #97a6ba)}.customers-loading{padding:25px 0}.customers-more{display:flex;margin:24px auto 0}.customers-back{margin:0 0 25px;font-size:12px;min-height:35px}.customers-detail-card{padding:28px}.customers-detail-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.customers-detail-heading .customers-avatar{width:54px;height:54px;font-size:18px}.customers-detail-heading h2{font-size:26px;letter-spacing:-.035em;line-height:1.35;margin:6px 0 10px}.customers-detail-heading .eyebrow{font-size:8px;color:var(--night-muted, #9cabbc)}.customers-detail-heading>.admin-text-button{font-size:11px;white-space:nowrap;min-height:34px}.customers-detail-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;border-top:1px solid var(--night-line, #e9eef5);padding-top:23px;margin-top:25px}.customers-detail-stats strong{font-size:25px;font-weight:550;letter-spacing:-.035em;color:var(--night-blue, #4d729e)}.customers-detail-stats span{font-size:11px;color:var(--night-muted, #8e9fb4)}.customers-detail-note{font-size:10px;color:var(--night-muted, #a0adbe);line-height:1.8;margin-top:23px;overflow-wrap:anywhere}.customers-history-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;margin-top:24px;align-items:start}.customers-history-panel{min-width:0;padding:25px}.customers-history-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:23px;border-bottom:1px solid var(--night-line, #e8eef6);margin-bottom:5px}.customers-history-heading>div{min-width:0}.customers-history-heading h3{font-size:20px;color:var(--night-secondary, #4a6587);font-weight:550;letter-spacing:-.025em}.customers-history-heading p{font-size:11px;line-height:1.8;color:var(--night-muted, #99a9bd);margin-top:8px}.customers-history-count{font-size:10px;line-height:1.8;color:var(--night-muted, #94a6be);text-align:right;flex:0 0 auto;margin-top:3px}.customers-history-list{display:grid}.customers-history-row{padding:22px 0;border-bottom:1px solid var(--night-line, #eaf0f6);min-width:0}.customers-history-row:last-child{border-bottom:0;padding-bottom:0}.customers-history-top{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.customers-history-top>div{min-width:0}.customers-reference{font-size:9px;color:var(--night-muted, #a5b0bf);line-height:1.8;overflow-wrap:anywhere}.customers-history-top h4{font-size:14px;font-weight:550;color:var(--night-muted, #4e688b);margin-top:6px;line-height:1.5;overflow-wrap:anywhere}.customers-history-top p{font-size:11px;color:var(--night-muted, #90a1b8);line-height:1.75;margin-top:6px;overflow-wrap:anywhere}.customers-status{flex:0 0 auto;max-width:145px;font-size:9px;line-height:1.7;border-radius:7px;padding:5px 8px;background:var(--night-well, #f3f6fa);color:var(--night-muted, #8196b0);text-align:center}.customers-status[data-stage=completed]{background:var(--night-well, #edf7f2);color:var(--night-green, #60917d)}.customers-status[data-stage=cancelled]{background:var(--night-well, #faf1f0);color:var(--night-red, #b08885)}.customers-status[data-stage=waiting_parts]{background:var(--night-tint-amber, #fff6e6);color:var(--night-amber, #aa8a51)}.customers-status[data-stage=repairing],.customers-status[data-stage=ready]{background:var(--night-well, #edf5ff);color:var(--night-blue, #6a93be)}.customers-history-meta{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;font-size:10px;color:var(--night-muted, #9cabc0);line-height:1.8;margin-top:16px}.customers-history-meta strong{font-size:12px;color:var(--night-muted, #7f96b3);font-weight:500;text-align:right}.customers-history-row>.admin-text-button{display:inline-flex;margin-top:15px;font-size:10px;min-height:30px}.customers-invoice-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 17px;margin-top:16px}.customers-invoice-actions .admin-button{padding:10px 13px;font-size:10px;min-height:35px}.customers-invoice-actions .admin-text-button{font-size:10px;min-height:30px}.customers-invoice-note{flex-basis:100%;font-size:10px;line-height:1.8;color:var(--night-muted, #9eaabd)}.customers-history-empty{font-size:12px;line-height:1.9;color:var(--night-muted, #9aabc0);padding:23px 0}.customers-detail>.admin-message{margin-bottom:20px}
@media(max-width:1380px){.customers-history-grid{grid-template-columns:1fr}.customers-row{grid-template-columns:minmax(0,1fr) auto;gap:19px}.customers-row-stats{grid-column:1;grid-row:2;text-align:left;gap:26px;margin-left:57px}.customers-row-actions{grid-column:2;grid-row:1/3;align-self:center}}
@media(max-width:760px){.customers-toolbar{padding:20px;gap:14px;flex-wrap:wrap}.customers-toolbar>label{flex-basis:100%;width:100%}.customers-toolbar .admin-text-button{min-height:30px}.admin-page .customers-toolbar input{font-size:16px!important}.customers-list-summary{font-size:11px;gap:7px;margin-top:22px}.customers-list-summary>span:last-child{font-size:10px}.customers-row{padding:20px;grid-template-columns:1fr;gap:18px}.customers-person{gap:12px}.customers-avatar{width:38px;height:38px;font-size:13px;border-radius:11px}.customers-person h3{font-size:15px}.customers-contact{gap:4px 12px}.customers-contact>a{font-size:12px}.customers-account-badge{font-size:10px}.customers-row-stats{grid-column:1;grid-row:auto;margin-left:50px;gap:25px}.customers-row-stats span{font-size:10px}.customers-row-actions{grid-column:1;grid-row:auto;display:flex;flex-direction:row;justify-content:space-between;align-items:center;text-align:left;border-top:1px solid var(--night-line, #edf1f6);padding-top:14px;gap:13px}.customers-row-actions small{font-size:10px}.customers-row-actions .admin-text-button{font-size:11px;min-height:35px}.customers-empty{padding:25px}.customers-empty h3{font-size:21px}.customers-empty p{font-size:12px}.customers-back{font-size:12px;margin-bottom:20px}.customers-detail-card{padding:22px}.customers-detail-heading{flex-direction:column;gap:18px}.customers-detail-heading .customers-avatar{width:43px;height:43px;font-size:15px}.customers-detail-heading h2{font-size:25px}.customers-detail-heading .eyebrow{font-size:8px}.customers-detail-heading .customers-contact{flex-direction:column;gap:3px}.customers-detail-heading>.admin-text-button{font-size:11px;min-height:34px}.customers-detail-stats{gap:15px;margin-top:20px;padding-top:20px}.customers-detail-stats strong{font-size:24px}.customers-detail-stats span{font-size:10px;line-height:1.6}.customers-detail-note{font-size:10px}.customers-history-grid{gap:20px;margin-top:20px}.customers-history-panel{padding:22px}.customers-history-heading{gap:12px;padding-bottom:20px}.customers-history-heading h3{font-size:20px}.customers-history-heading p{font-size:11px}.customers-history-count{font-size:10px;max-width:95px}.customers-history-top{gap:12px}.customers-history-top h4{font-size:14px}.customers-history-top p{font-size:12px}.customers-reference{font-size:10px}.customers-status{max-width:105px;font-size:9px}.customers-history-meta{flex-wrap:wrap;gap:7px 15px;font-size:11px}.customers-history-meta strong{font-size:12px}.customers-history-row>.admin-text-button{font-size:11px;min-height:34px}.customers-invoice-actions .admin-text-button,.customers-invoice-actions .admin-button{font-size:11px;min-height:40px}.customers-invoice-note{font-size:11px}.customers-more{width:100%;justify-content:center}.customers-invoice-actions{align-items:flex-start}.customers-invoice-actions .admin-button{max-width:100%;justify-content:center}}
.customers-row-actions .customers-new-repair,.customers-detail-actions .customers-new-repair{font-size:11px;line-height:1.5;padding:11px 15px;max-width:100%;white-space:normal;text-align:center;min-height:42px}.customers-detail-actions{display:flex;flex-direction:column;align-items:flex-end;gap:10px;flex:0 0 auto;max-width:205px}.customers-detail-actions .admin-text-button{font-size:11px;min-height:34px}.customers-row-actions .customers-new-repair{max-width:195px}@media(max-width:760px){.customers-row-actions{flex-wrap:wrap}.customers-row-actions small{flex-basis:100%}.customers-row-actions .customers-new-repair{max-width:100%;min-height:44px}.customers-detail-actions{align-items:stretch;max-width:none;width:100%}.customers-detail-actions .customers-new-repair{width:100%;min-height:44px}.customers-detail-actions .admin-text-button{align-self:flex-start}}
.customers-delete-area{display:flex;align-items:flex-start;gap:20px;flex-wrap:wrap;margin-top:24px;padding-top:22px;border-top:1px solid var(--night-line, #e8edf4)}.customers-delete-area>div:first-child{flex:1;min-width:200px}.customers-delete-area strong{font-size:12px;font-weight:550;color:var(--night-muted, #647d99)}.customers-delete-area p{font-size:11px;line-height:1.8;color:var(--night-muted, #93a3b7);margin-top:7px;max-width:650px}.customers-delete-area>.admin-button{font-size:11px;min-height:40px;white-space:normal}.customers-delete-area>.admin-button:disabled{opacity:.5;cursor:not-allowed}.customers-delete-confirm{flex-basis:100%;border:1px solid var(--night-line, #ead8d6);background:var(--night-panel, #fff9f8);padding:18px;border-radius:12px}.customers-delete-confirm[hidden]{display:none}.customers-delete-confirm strong{color:var(--night-red, #9d6c66)}.customers-delete-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}.customers-delete-actions .admin-button{font-size:11px;min-height:40px}.customers-delete-help{flex-basis:100%;margin-top:0!important}.customers-overview>.admin-message .admin-text-button{margin-left:12px;display:inline-flex;min-height:32px;font-size:11px}@media(max-width:760px){.customers-delete-area{flex-direction:column;gap:15px;margin-top:20px;padding-top:20px}.customers-delete-area>div:first-child{min-width:0}.customers-delete-area>.admin-button,.customers-delete-confirm{width:100%;flex-basis:auto}.customers-delete-area p{font-size:11px}.customers-delete-confirm{padding:16px}.customers-delete-actions{align-items:stretch;flex-direction:column;gap:10px}.customers-delete-actions .admin-button{width:100%;justify-content:center;min-height:44px}.customers-overview>.admin-message .admin-text-button{display:flex;margin:10px 0 0}}
.customers-status[data-stage=failed_ready],.customers-status[data-outcome=unsuccessful]{background:var(--night-tint-amber, #fff6e8);border-color:var(--night-line, #ecd8b5);color:var(--night-amber, #895f26)}.customers-status[data-stage=retrying]{background:var(--night-well, #f2effb);border-color:var(--night-line, #ded4f0);color:var(--night-purple, #735393)}
