.appointments-body{padding:16px}.appointments-refresh,.appointments-expand{min-height:44px;color:var(--primary);cursor:pointer;padding:8px 12px;font-size:13px;font-weight:600}.appointment-row{border:1px solid var(--border);background:var(--surface,#f8fafc);border-radius:10px;padding:12px}.appointment-row>div:first-child{flex-wrap:wrap}.appointment-status{color:var(--muted-foreground);margin-right:8px;font-size:11px;display:inline-block}.appointment-requests{border-top:1px solid var(--border);margin-top:16px;padding-top:12px}.appointment-requests>summary{cursor:pointer;min-height:44px;padding-block:12px;font-size:13px;font-weight:600}.appointment-requests .customer-request-inbox{padding-top:8px}.appointments-panel button:focus-visible,.appointment-requests>summary:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.appointment-request-count{background:var(--secondary);color:var(--primary);font-variant-numeric:tabular-nums;border-radius:6px;margin-left:8px;padding:2px 7px;display:inline-block}.business-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px;display:grid}.business-metric-card{border:1px solid var(--border);min-width:0;color:var(--primary-hover);box-shadow:0 1px 2px color-mix(in srgb, var(--foreground) 1.57%, transparent);background:#fff;border-radius:12px;padding:13px;position:relative}.metric-placeholder{vertical-align:middle;background:var(--secondary);border-radius:6px;width:72px;height:24px;display:inline-block}.metric-loading>p,.metric-loading>.comparison-chart{visibility:hidden}@media (prefers-reduced-motion:no-preference){.metric-value{animation:.15s ease-out metric-value-in}}@keyframes metric-value-in{0%{opacity:0}to{opacity:1}}.business-metric-open{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;position:absolute;inset:0}.business-metric-open:disabled{cursor:default}.business-metric-open:focus-visible{outline:2px solid var(--ring);outline-offset:3px}.business-metric-card:has(.business-metric-open:hover:not(:disabled)){border-color:var(--primary)}.business-metric-heading{color:var(--muted-foreground);text-transform:uppercase;justify-content:space-between;font-size:11px;font-weight:700;display:flex}.business-metric-card strong{color:var(--foreground);font-variant-numeric:tabular-nums;margin-top:8px;font-size:20px;display:block}.business-metric-card p{color:var(--muted-foreground);margin-top:3px;font-size:11px}.business-metric-card p .positive{color:var(--success)}.business-metric-card p .negative{color:var(--destructive)}.business-metric-card>svg{width:100%;height:42px;margin-top:5px;display:block}.dashboard-columns{grid-template-columns:minmax(0,1fr);align-items:start;gap:14px;display:grid}.dashboard-panel{border:1px solid var(--border);min-width:0;box-shadow:0 1px 2px color-mix(in srgb, var(--foreground) 1.57%, transparent);background:#fff;border-radius:12px;overflow:hidden}.dashboard-panel-heading{border-bottom:1px solid var(--secondary);justify-content:space-between;align-items:center;gap:8px;min-height:44px;padding:8px 12px;display:flex}.dashboard-panel-heading h2{color:var(--foreground);font-size:13px;font-weight:650}.dashboard-panel-heading>span{color:var(--muted-foreground);white-space:nowrap;font-size:11px}.dashboard-action-tabs{border-bottom:1px solid var(--secondary);gap:4px;padding:4px 6px;display:flex}.dashboard-action-tabs button{min-width:0;min-height:30px;color:var(--muted-foreground);border-radius:7px;align-items:center;gap:6px;padding:4px 8px;font-size:11px;font-weight:600;line-height:16px;display:inline-flex}.dashboard-action-tabs button.active{background:var(--brand-50);color:var(--brand-600)}.dashboard-action-tabs button span{font-variant-numeric:tabular-nums;font-size:10px}.dashboard-task-row{border-bottom:1px solid var(--secondary);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;min-height:44px;padding:6px 12px;transition:background-color .15s;display:grid;position:relative}.dashboard-task-row:last-child{border-bottom:0}.dashboard-task-row:hover{background:color-mix(in srgb, var(--brand-50) 50.2%, transparent)}.dashboard-row-target{cursor:pointer;border-radius:4px;width:100%;position:absolute;inset:0}.dashboard-row-target:focus-visible{outline:2px solid var(--primary-hover);outline-offset:-2px}.dashboard-task-row>span{pointer-events:none}.dashboard-task-identity{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--label-foreground);font-size:13px;line-height:18px;overflow:hidden}.dashboard-task-identity strong{color:var(--foreground);font-weight:650}.dashboard-task-tag{background:var(--secondary);color:var(--muted-foreground);white-space:nowrap;border-radius:5px;padding:2px 6px;font-size:10px;line-height:16px}.dashboard-task-tag.paid{background:var(--success-surface);color:var(--success)}.dashboard-task-time{color:var(--subtle-foreground);white-space:nowrap;font-size:11px;line-height:16px}.dashboard-task-amount{color:var(--secondary-foreground);white-space:nowrap;font-variant-numeric:tabular-nums;font-size:12px;font-weight:650;line-height:18px}.dashboard-pickup{z-index:1;cursor:pointer;background:var(--warning-surface);min-height:28px;color:var(--warning);border-radius:999px;padding:4px 10px;font-size:11px;font-weight:600;line-height:18px;transition:background-color .15s;position:relative}.dashboard-pickup:hover{background:var(--pastel-amber)}.dashboard-pickup:disabled{opacity:.45;cursor:default}.dashboard-activity-row{text-align:left;cursor:pointer;border-bottom:1px solid var(--secondary);grid-template-columns:105px 20px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:40px;padding:8px 12px;transition:background-color .15s;display:grid}.dashboard-activity-icon{flex-shrink:0;justify-content:center;align-items:center;width:20px;height:20px;display:inline-flex}.dashboard-timeline li:last-child .dashboard-activity-row{border-bottom:0}.dashboard-activity-row:hover{background:var(--background)}.dashboard-activity-row:focus-visible{outline:2px solid var(--primary-hover);outline-offset:-2px}.dashboard-activity-row time{color:var(--subtle-foreground);font-variant-numeric:tabular-nums;font-size:11px;line-height:18px}.dashboard-activity-dot{background:var(--subtle-foreground);border-radius:50%;width:6px;height:6px}.dashboard-activity-dot.emerald{background:var(--success)}.dashboard-activity-dot.sky{background:var(--primary-hover)}.dashboard-activity-dot.rose{background:var(--destructive)}.dashboard-activity-dot.amber{background:var(--warning)}.dashboard-activity-text{white-space:nowrap;text-overflow:ellipsis;color:var(--secondary-foreground);font-size:13px;line-height:20px;overflow:hidden}.dashboard-activity-detail{color:var(--muted-foreground)}.dashboard-activity-badge{letter-spacing:.02em;vertical-align:middle;border-radius:4px;align-items:center;margin-right:6px;padding:1px 6px;font-size:10px;font-weight:700;display:inline-flex}.dashboard-activity-badge.emerald{color:#047857;background:#ecfdf5;border:1px solid #a7f3d0}.dashboard-activity-badge.amber{color:#b45309;background:#fffbeb;border:1px solid #fde68a}.dashboard-match-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#2563eb;border:none;border-radius:6px;justify-content:center;align-items:center;padding:2px 8px;font-size:11px;font-weight:600;transition:background-color .15s;display:inline-flex}.dashboard-match-btn:hover{background:#1d4ed8}.dashboard-estimated{color:var(--subtle-foreground);font-size:12px}.dashboard-panel-footer{border-top:1px solid var(--secondary);min-height:36px;color:var(--subtle-foreground);justify-content:space-between;align-items:center;gap:8px;padding:4px 12px;font-size:11px;display:flex}.dashboard-panel-footer button{min-height:28px;color:var(--brand-600);padding:4px 0;font-size:11px}.dashboard-empty{color:var(--subtle-foreground);padding:24px 12px;font-size:13px;line-height:20px}.dashboard-feed-note{color:var(--subtle-foreground);border-top:1px solid var(--secondary);padding:6px 12px;font-size:10px;line-height:16px}.dashboard-feed-error{color:var(--destructive);padding:6px 12px;font-size:11px}@media (width>=1024px){.business-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-columns{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}}@media (width<=479px){.dashboard-task-row{gap:6px;padding-inline:8px}.dashboard-action-tabs button{padding-inline:5px;font-size:10px}.dashboard-task-identity{font-size:12px}.dashboard-task-time{font-size:10px}.dashboard-pickup{padding-inline:8px}}.dashboard-timeline{max-height:none;overflow:visible}.dashboard-activity-row time{background:var(--secondary);color:var(--muted-foreground);border-radius:5px;padding:2px 4px;font-size:10px}.dashboard-activity-text{white-space:normal;overflow-wrap:anywhere}.dashboard-appointments{margin-top:24px}@media (width<=767px){.dashboard-activity-row{grid-template-columns:88px 20px minmax(0,1fr) auto}.pos-page-header.dashboard-page-header{flex-wrap:nowrap;align-items:center}.dashboard-page-header .pos-page-header-actions{flex-shrink:0}.dashboard-page-header .pos-page-header-sync{display:none}}.business-metric-card>.comparison-chart{height:36px}.business-metric-card:nth-child(4){order:2}.business-metric-card:nth-child(2){order:3}.business-metric-card:nth-child(3){order:4}@media (width>=1024px){.dashboard-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}.quick-order-actions{flex-wrap:wrap;gap:8px;width:100%;min-width:0;margin-bottom:20px;display:flex}.quick-order-trigger{border:1px solid var(--border);background:var(--card,white);min-width:0;min-height:44px;color:var(--foreground);white-space:nowrap;cursor:pointer;border-radius:12px;flex:calc(50% - 4px);justify-content:center;align-items:center;gap:8px;padding:10px 12px;font-size:12px;font-weight:500;transition:background-color .15s,transform .15s;display:inline-flex;box-shadow:0 1px 2px #0000000d}.quick-order-trigger span{white-space:nowrap}.quick-order-trigger img,.quick-order-trigger svg{flex-shrink:0;width:16px;height:16px}.quick-order-trigger img{object-fit:contain}.quick-order-trigger .quick-order-chevron{display:none}.quick-order-trigger:active:not(:disabled){transform:scale(.98)}.quick-order-trigger:hover,.quick-order-trigger[data-state=open]{background:var(--secondary)}.quick-order-trigger:focus-visible,.quick-order-option:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.quick-order-trigger:disabled{opacity:.5;cursor:default}.quick-order-other{color:var(--muted-foreground)}.quick-order-menu{z-index:60;width:min(320px,100vw - 24px);max-height:var(--bits-dropdown-menu-content-available-height);border:1px solid var(--border);background:var(--card,white);border-radius:12px;padding:6px;overflow-y:auto;box-shadow:0 8px 24px #00000014}.quick-order-menu-heading{color:var(--muted-foreground);padding:7px 8px;font-size:11px}.quick-order-option{cursor:pointer;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:8px;font-size:13px;display:flex}.quick-order-option[data-highlighted]{background:var(--secondary)}.quick-order-option small{color:var(--muted-foreground);flex-shrink:0;font-size:11px}@media (width>=640px){.quick-order-trigger{flex:0 auto;justify-content:flex-start}}@media (width>=1024px){.quick-order-trigger{font-size:14px}.quick-order-trigger .quick-order-chevron{display:block}}.dashboard-period-trigger{border-radius:var(--radius-pill);background:var(--secondary);min-height:32px;color:var(--label-foreground);white-space:nowrap;cursor:pointer;justify-content:center;align-items:center;gap:5px;padding:4px 10px;font-size:13px;font-weight:600;display:inline-flex}.dashboard-period-trigger:hover{background:var(--border)}.dashboard-period-trigger:focus-visible,.dashboard-period-option:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.dashboard-period-menu{z-index:60;border:1px solid var(--border-subtle);background:var(--surface);min-width:190px;box-shadow:0 8px 28px color-mix(in srgb, var(--foreground) 10.2%, transparent);border-radius:14px;padding:6px}.dashboard-period-option{width:100%;min-height:40px;color:var(--foreground);cursor:pointer;border-radius:10px;justify-content:space-between;align-items:center;gap:16px;padding:10px 12px;font-size:14px;display:flex}.dashboard-period-option:hover,.dashboard-period-option[data-highlighted]{background:var(--secondary)}.dashboard-period-option[aria-pressed=true],.dashboard-period-option[data-state=checked]{background:var(--secondary);color:var(--primary);font-weight:600}.dashboard-period-options{gap:4px;display:grid}.dashboard-period-options .dashboard-period-option{min-height:48px}.dashboard-period-hint{color:var(--muted-foreground);font-size:12px}.metric-summary-content{min-width:0}.metric-summary-total{z-index:2;border-radius:var(--radius-control);background:var(--pastel-sky);box-shadow:0 10px 0 var(--surface);justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;padding:14px 16px;display:flex;position:sticky;top:0}.metric-summary-total>div{min-width:0}.metric-summary-total span,.metric-summary-total small{color:var(--muted-foreground);font-size:12px;line-height:1.5}.metric-summary-total small{margin-top:3px;display:block}.metric-total-detail-count{text-align:right;max-width:100px}.metric-summary-total strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin-top:4px;font-size:26px;font-weight:750;line-height:1.25;display:block}.metric-summary-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin:20px 0 8px;display:flex}.metric-summary-heading h3{font-size:14px;font-weight:650}.metric-summary-heading>span,.metric-summary-count{color:var(--muted-foreground);font-size:12px}.metric-summary-list{grid-template-columns:minmax(0,1fr);gap:0;margin:0;padding:0;list-style:none;display:grid}.metric-summary-list>li{min-width:0}.metric-summary-list>li+li{border-top:1px solid var(--border-subtle,var(--border))}.metric-summary-row{text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;width:100%;min-width:0;min-height:64px;padding:12px 4px;display:flex}button.metric-summary-row,.metric-revenue-toggle{cursor:pointer}button.metric-summary-row:hover,.metric-revenue-toggle:hover{background:var(--secondary)}button.metric-summary-row:focus-visible,.metric-revenue-toggle:focus-visible,.metric-view-toggle button:focus-visible,.metric-manage-link:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.metric-summary-row>svg{color:var(--muted-foreground);flex-shrink:0}.metric-summary-copy{flex:1;min-width:0}.metric-summary-copy strong{overflow-wrap:anywhere;font-size:14px;font-weight:650;display:block}.metric-summary-copy p{overflow-wrap:anywhere;margin-top:3px;font-size:13px;line-height:1.45}.metric-summary-copy small{color:var(--muted-foreground);margin-top:4px;font-size:12px;display:block}.metric-summary-copy .metric-summary-services{white-space:nowrap;text-overflow:ellipsis;color:var(--muted-foreground);font-size:12px;overflow:hidden}.metric-summary-order-heading{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.metric-summary-status{border:1px solid;border-radius:5px;max-width:100%;padding:2px 6px;font-size:11px;line-height:1.35}.metric-summary-amount{white-space:nowrap;font-variant-numeric:tabular-nums;flex-shrink:0;font-size:14px;font-weight:700}.metric-summary-amount.expense{color:var(--destructive)}.metric-summary-count{text-align:center;margin-top:16px}.metric-summary-empty{color:var(--muted-foreground);padding:24px 4px;font-size:14px;line-height:1.6}.metric-revenue-toggle{list-style:none}.metric-revenue-toggle::-webkit-details-marker{display:none}.metric-revenue-group details[open]>summary>svg,.metric-day-group details[open]>summary>svg{transform:rotate(90deg)}.metric-revenue-orders,.metric-day-content{border-left:2px solid var(--pastel-sky-border);margin:0 0 8px 8px;padding-left:12px}.metric-day-value{text-align:right;gap:4px;display:grid}.metric-day-value small{color:var(--muted-foreground);font-size:11px}.metric-day-value .metric-summary-amount{color:var(--muted-foreground);font-size:13px;font-weight:600}.metric-day-note,.metric-data-note{color:var(--muted-foreground);padding:8px 4px;font-size:13px;line-height:1.6}.metric-data-note{border-left:3px solid var(--pastel-amber-border,var(--border));background:var(--pastel-amber,var(--secondary));border-radius:6px;padding:10px 12px}.metric-view-toggle{background:var(--secondary);border-radius:10px;gap:4px;margin:16px 0 4px;padding:4px;display:flex}.metric-view-toggle button{min-height:44px;color:var(--muted-foreground);border-radius:7px;flex:1;font-size:13px;font-weight:600}.metric-view-toggle button[aria-pressed=true]{background:var(--surface);color:var(--foreground);box-shadow:0 1px 3px #0f172a10}.metric-empty-days{cursor:pointer;min-height:44px;color:var(--muted-foreground);align-items:center;gap:10px;margin:8px 0;font-size:13px;display:flex}.metric-empty-days input{width:18px;height:18px;accent-color:var(--primary)}.metric-manage-link{min-height:44px;color:var(--primary);justify-content:center;align-items:center;gap:8px;margin-top:20px;font-size:14px;font-weight:600;display:flex}.detail-sheet-body:has(.metric-summary-content){scroll-padding-top:120px}@media (width<=400px){.metric-summary-total strong{font-size:23px}.metric-summary-total{padding:12px}.metric-total-detail-count{max-width:86px}}.metric-customer-name{flex-wrap:wrap;align-items:center;gap:4px 8px;min-width:0;display:flex}.metric-new-customer{color:#236449;background:#e6f5ed;border-radius:6px;flex-shrink:0;padding:2px 7px;font-size:12px;font-weight:600;line-height:1.5;display:inline-flex}
