/* Customer records are available only inside the authenticated administrator UI. */
body[data-view="clients"] .day-toolbar,body[data-view="clients"] .stats,body[data-view="blacklist"] .day-toolbar,body[data-view="blacklist"] .stats{display:none}
.customer-toolbar{display:flex;align-items:center;gap:12px;margin:5px 0 18px}.customer-toolbar .search-field{max-width:650px}.customer-toolbar .button{min-height:44px}.customer-help{color:#72796d;font-size:13px;line-height:1.65;overflow-wrap:anywhere}.customer-status{margin:14px 0;color:#72796d;font-size:14px}.customer-list{display:grid;gap:8px}.customer-row{display:grid;grid-template-columns:minmax(170px,2fr) minmax(100px,.8fr) minmax(160px,1.1fr) minmax(80px,auto);align-items:center;gap:18px;width:100%;padding:17px 19px;text-align:left;border:1px solid #dee4d6;border-radius:9px;background:#fff;min-width:0}.customer-row:hover{border-color:#b9c6aa;background:#fcfdf9}.customer-row>span{min-width:0}.customer-identity{display:flex;flex-direction:column;gap:4px}.customer-identity strong{font-size:15px;overflow-wrap:anywhere}.customer-row-phone{font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#586b48}.customer-row-stats{display:flex;flex-direction:column;gap:2px;font-size:12px;color:#7b8671}.customer-row-stats strong{font-size:18px;line-height:1.3;color:#435c32}.customer-row-stats small{font-size:12px}.customer-row-visit{display:flex;flex-direction:column;gap:3px;font-size:12px;color:#7b8671}.customer-row-visit strong{font-size:13px;font-weight:600;color:#4d6141;overflow-wrap:anywhere}.customer-flag,.customer-normal{display:inline-flex;width:fit-content;max-width:100%;align-items:center;padding:4px 8px;border-radius:5px;background:#fde7e1;color:#9a3c2b;font-size:12px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}.customer-normal{background:#eff4e9;color:#60794a}.customer-pager{display:flex;justify-content:center;align-items:center;gap:16px;margin:22px 0}.customer-pager span{font-size:13px;color:#6d7d60}.customer-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:620px;max-width:100%;height:100dvh;max-height:100dvh;background:#fafaf7}.customer-dialog[open]{display:flex;flex-direction:column}.customer-dialog .drawer-top{flex:0 0 auto}.customer-dialog .drawer-top h2{overflow-wrap:anywhere}.customer-dialog .drawer-top>div{min-width:0}.customer-dialog form{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;overflow:hidden}.customer-dialog-body{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 25px}.customer-dialog-body>.field,.customer-dialog-body>.form-grid{margin-top:18px}.customer-dialog-body .form-error{margin-bottom:15px}.customer-dialog-body #customer-reload{margin-bottom:16px}.customer-dialog-body input[readonly]{background:#f0f1ea;color:#6b7861}.customer-dialog-footer{display:flex;justify-content:flex-end;padding:16px 25px;border-top:1px solid var(--line);background:#fff;padding-bottom:max(16px,env(safe-area-inset-bottom))}.customer-dialog-footer .button{min-height:46px}.customer-summary{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;padding-bottom:20px;border-bottom:1px solid var(--line)}.customer-contact{font-size:17px;font-weight:700;color:#486d36;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}.customer-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:12px;margin:9px 0 0}.customer-stats>div{min-width:0}.customer-stats dt{font-size:12px;color:#7d8874}.customer-stats dd{margin:4px 0 0;font-size:14px;font-weight:700;color:#4a603c;overflow-wrap:anywhere}.customer-blacklist-choice{display:flex;align-items:center;gap:10px;min-height:48px;margin:18px 0 8px;font-size:15px;font-weight:700;color:#8b3f32;cursor:pointer}.customer-blacklist-choice input{width:21px;height:21px;accent-color:#bd5943;flex:0 0 21px}.customer-blacklist-history{padding:12px;border:1px solid #dfe4d7;background:#f0f3eb;border-radius:6px;font-size:13px;line-height:1.65;overflow-wrap:anywhere;color:#647357}#customer-blacklist-fields{padding:13px;border:1px solid #e8c5bb;border-radius:7px;background:#fff3ef}#customer-blacklist-fields .customer-help{margin-top:8px}#customer-history{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}#customer-history h3{font-size:16px;margin-bottom:6px}.customer-bookings{display:grid;gap:8px;margin-top:12px}.customer-booking{display:flex;flex-direction:column;align-items:stretch;gap:5px;width:100%;padding:12px 14px;border:1px solid #dfe4d7;border-radius:7px;background:#fff;text-align:left;font-size:13px}.customer-booking:hover{background:#f3f7ed}.customer-booking-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.customer-booking-top strong{min-width:0;overflow-wrap:anywhere}.customer-alert,.approval-alert{padding:13px 14px;border:1px solid #e7b7a9;background:#fff0e9;border-radius:7px;margin:15px 0 0;color:#923b2b;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.customer-alert strong,.approval-alert strong{display:block;margin-bottom:4px}.customer-alert button{display:block;margin-top:8px;background:transparent;color:#923b2b;padding:3px 0;text-decoration:underline;text-underline-offset:3px;font-size:13px}.approval-alert{border-color:#e4cb94;background:#fff8e8;color:#805f20}.note-flag.blacklist{background:#ffe5dd;color:#a34431}.manager-task.kind-approval{border-left-color:#c3832c;background:#fffdf7}.manager-task.kind-approval .manager-task-channel{background:#fff0d4;color:#8c601f}.button.danger{background:#fff0eb;color:#a74832;border:1px solid #e4bdaf}.mobile-more-menu{position:fixed;right:max(12px,env(safe-area-inset-right));bottom:calc(83px + env(safe-area-inset-bottom));z-index:40;min-width:230px;padding:7px;border:1px solid #d8dfd0;border-radius:11px;background:#fff;box-shadow:0 -4px 30px #28381d26}.mobile-more-menu>button{display:block;width:100%;min-height:48px;padding:10px 15px;border-radius:6px;background:transparent;color:#4b623c;text-align:left;font-size:15px;font-weight:700}.mobile-more-menu>button:hover,.mobile-more-menu>button.active{background:#edf4e5}.sidebar .nav-item{min-height:47px}.sidebar-note{margin-top:30px}
@media(min-width:761px){.mobile-more-menu{display:none!important}}
@media(max-width:900px){.customer-row{grid-template-columns:minmax(150px,1.5fr) minmax(90px,.8fr) auto}.customer-row-visit{grid-column:1/3}.customer-row>.customer-flag,.customer-row>.customer-normal{grid-column:3;grid-row:1/3}.customer-toolbar{flex-wrap:wrap}.customer-toolbar .search-field{min-width:200px}}
@media(max-width:760px){.mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding-left:max(10px,env(safe-area-inset-left));padding-right:max(10px,env(safe-area-inset-right))}.mobile-nav>#mobile-add{display:flex;flex-direction:column;align-items:center;justify-content:center;justify-self:stretch;gap:3px;width:100%;min-width:0;height:56px;min-height:56px;margin:0;padding:4px 0;border-radius:10px;font-size:11px;line-height:14px;white-space:nowrap}.mobile-nav>#mobile-add>span{flex:0 0 auto;font-size:22px;line-height:24px}.mobile-nav>#mobile-more{font-size:12px}.mobile-nav>#mobile-more.active{color:#bb593f}.customer-toolbar{gap:10px;margin-bottom:16px}.customer-toolbar .search-field{flex-basis:100%;max-width:none}.customer-toolbar .search-field input{font-size:16px;height:46px}.customer-toolbar .button{font-size:13px}.customer-row{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:15px}.customer-identity strong{font-size:16px}.customer-row-stats{grid-column:2;grid-row:1;text-align:right}.customer-row-visit{grid-column:1;grid-row:2}.customer-row>.customer-flag,.customer-row>.customer-normal{grid-column:2;grid-row:2;max-width:100px}.customer-row-phone{font-size:14px}.customer-dialog .drawer-top{padding:18px 17px}.customer-dialog .drawer-top h2{font-size:21px}.customer-dialog-body{padding:17px}.customer-dialog-body input,.customer-dialog-body textarea{font-size:16px}.customer-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.customer-dialog-footer{padding:13px 17px;padding-bottom:max(13px,env(safe-area-inset-bottom))}.customer-dialog-footer .button{width:100%;min-height:48px;font-size:15px}.customer-booking-top{align-items:flex-start}.customer-booking-top .status-badge{font-size:11px}.customer-alert,.approval-alert{font-size:14px}.customer-contact{font-size:16px}.customer-pager{gap:9px}.customer-pager .button{font-size:13px;padding:9px 12px}.manager-task.kind-approval .manager-task-actions .danger{order:3}}
