@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";*,:before,:after{box-sizing:border-box;margin:0;padding:0}:root{--crm-accent:#287866;--crm-accent-rgb:40, 120, 102;--crm-accent-hover:#206051;--crm-accent-strong:#206051;--crm-accent-border:#9fdfd1;--crm-accent-soft:#e4f6f2;--crm-accent-soft-alt:#f0faf8;--crm-accent-muted:#d1f0e9}.theme-staging{--crm-accent:#285b78;--crm-accent-rgb:40, 91, 120;--crm-accent-hover:#1f475e;--crm-accent-strong:#1a3c4f;--crm-accent-border:#9fc0df;--crm-accent-soft:#e4eef6;--crm-accent-soft-alt:#f0f5fa;--crm-accent-muted:#d1e1f0}body{color:#20242d;-webkit-font-smoothing:antialiased;background:#f3f4f7;font-family:Inter,sans-serif;font-size:13px;line-height:1.4}@keyframes spin{to{transform:rotate(360deg)}}#root{min-height:100vh;display:flex}select:not([multiple]):not([size]),select:not([multiple])[size="1"]{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-position:right 12px center!important;background-repeat:no-repeat!important;background-size:16px 16px!important;padding-right:40px!important}@media (forced-colors:active){select:not([multiple]):not([size]),select:not([multiple])[size="1"]{appearance:auto;background-image:none!important}}@keyframes payment-wait-spin{to{transform:rotate(360deg)}}.payment-wait-spinner{vertical-align:middle;border:2px solid #cbd5e1;border-top-color:#287766;border-radius:50%;flex-shrink:0;width:18px;height:18px;margin-right:8px;animation:1s linear infinite payment-wait-spin;display:inline-block}.invoice-payment-gate{background:#fff8e7;border-radius:8px;padding:14px;font-size:13px;line-height:1.5}.invoice-payment-gate button,.invoice-payment-gate a{margin:4px 8px 4px 0;display:inline-block}@media (prefers-reduced-motion:reduce){.payment-wait-spinner{animation:none}}.app-layout{width:100%;height:100dvh;display:flex;overflow:hidden}.app-sidebar{z-index:200;flex-shrink:0;width:220px;min-width:220px;height:100%}.app-main{flex-direction:column;flex:1;min-width:0;height:100%;display:flex;overflow:hidden}.app-content{background:#f3f4f7;flex:1;padding:24px;overflow:auto}.kpi-grid{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.two-col-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.settings-grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.form-grid{grid-template-columns:1fr 1fr;gap:14px 20px;display:grid}.analytics-chart-grid{grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr);gap:12px;display:grid}.kanban-board{grid-template-columns:repeat(8,minmax(0,1fr));align-items:start;gap:12px;display:grid}.kanban-column{flex-direction:column;min-width:0;display:flex}.kanban-column-header{box-sizing:border-box;flex-shrink:0;align-items:flex-start;gap:8px;height:40px;margin-bottom:10px;display:flex}.kanban-column-header-dot{border-radius:50%;flex-shrink:0;width:10px;height:10px;margin-top:5px}.kanban-column-header-title{color:#20242d;flex:1;min-width:0;height:40px;font-size:13px;font-weight:600;line-height:20px;overflow:hidden}.kanban-column-header-count{color:#7c8494;background:#f3f4f7;border-radius:10px;flex-shrink:0;margin-top:2px;padding:1px 7px;font-size:11px;line-height:16px}.kanban-column-body{border-radius:8px;flex-direction:column;gap:8px;min-height:80px;display:flex}.kanban-column-body-empty{background:#f9fafb;border:2px dashed #e2e6ec;padding:12px}.client-detail-grid{grid-template-columns:240px 1fr;gap:12px;display:grid}.history-scroll{max-height:360px;overflow-y:auto}.history-table{table-layout:fixed;border-collapse:separate;border-spacing:0;color:#20242d;width:100%;font-size:13px;line-height:1.4}.history-table th,.history-table td{text-align:left;vertical-align:top;overflow-wrap:anywhere;white-space:pre-line;border-bottom:1px solid #e2e6ec;padding:8px 6px}.history-table th{color:#475569;background:#f8fafc;font-size:12px;position:sticky;top:0}.history-table time,.history-table--client td:nth-child(n+3){font-variant-numeric:tabular-nums}.history-table small{color:#586373;font-size:.93em;display:block}.history-table a{color:var(--crm-accent-strong)}.history-table details{color:#4b5563;margin-top:2px;font-size:.95em}.history-table summary{cursor:pointer;color:var(--crm-accent-strong);padding:2px 0}.history-date{width:6.5em}.history-hours,.history-balance{width:8.5em}.history-event{width:28%}.history-table--client :is(th,td):nth-child(n+3){text-align:right}.history-table--client td:nth-child(n+3){font-weight:600}.wa-page{min-height:0}.wa-page-header{margin-bottom:20px}.wa-chats-layout{background:#fff;border:1px solid #e2e6ec;border-radius:8px;height:580px;display:flex;overflow:hidden}.wa-chats-list{border-right:1px solid #e2e6ec;flex-direction:column;flex-shrink:0;width:280px;min-width:0;display:flex}.wa-chats-detail{flex-direction:column;flex:1;min-width:0;display:flex}.wa-chats-header{border-bottom:1px solid #e2e6ec;flex-shrink:0;align-items:flex-start;gap:8px;padding:12px 16px;display:flex}.wa-chats-header-info{flex:1;min-width:0}.wa-chats-header-actions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;align-items:center;gap:6px;display:flex}.wa-chats-back-btn{color:#374151;cursor:pointer;background:#f3f4f7;border:none;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;padding:0;font-size:18px;line-height:1;display:none}.wa-chats-msg-bubble{max-width:65%}.wa-chats-btn-short{display:none}.sidebar-backdrop{z-index:150;background:#0006;display:none;position:fixed;inset:0}.topbar-menu-btn{display:none}@media (width<=768px){.app-topbar{gap:8px!important;padding:0 12px!important}.topbar-user-name{display:none!important}}@media (width<=1024px){.kpi-grid,.kanban-board{grid-template-columns:repeat(2,1fr)}.analytics-chart-grid,.client-detail-grid{grid-template-columns:1fr}.wa-chats-list{width:240px}}.calendar-toolbar{flex-direction:column;align-items:stretch;gap:8px;width:100%;display:flex}.calendar-nav-row{align-items:center;gap:6px;width:100%;display:flex}.calendar-period-label{text-align:center;color:#374151;flex:1;min-width:0;font-size:13px;font-weight:500;line-height:1.3}.calendar-period-picker{width:100%;font:inherit;color:inherit;line-height:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;padding:4px 8px;transition:border-color .15s,background .15s}.calendar-period-picker:hover{background:#f9fafb;border-color:#e2e6ec}.calendar-period-picker__input{opacity:0;pointer-events:none;border:none;width:0;height:0;position:absolute;top:0;left:0}.calendar-mode-row{justify-content:space-between;align-items:center;gap:6px;width:100%;display:flex}@media (width>=769px){.calendar-toolbar{flex-direction:row;align-items:center;gap:6px;width:auto}.calendar-mode-row{order:0;justify-content:flex-start;width:auto}.calendar-nav-row{order:1;width:auto}.calendar-period-label{flex:none;min-width:180px;max-width:280px}}@media (width<=768px){.app-sidebar{z-index:200;height:100dvh;transition:left .25s;position:fixed;top:0;left:-220px}.app-sidebar.open{left:0}.sidebar-backdrop.open{display:block}.topbar-menu-btn{display:flex}.app-content{padding:14px}.kpi-grid{grid-template-columns:repeat(2,1fr);gap:8px}.two-col-grid,.settings-grid,.form-grid,.analytics-chart-grid,.client-detail-grid{grid-template-columns:1fr}.history-table{font-size:12px}.history-table td,.history-table th{padding:7px 3px}.history-table th{font-size:11px}.history-date{width:4.9em}.history-hours{width:17%}.history-balance{width:20%}.kanban-board{flex-wrap:nowrap;gap:12px;padding-bottom:8px;display:flex;overflow-x:auto}.kanban-board>*{flex-shrink:0;min-width:240px}.page-header{flex-direction:column;gap:10px;align-items:flex-start!important}.page-header-actions{flex-wrap:wrap;width:100%}.calendar-page-header .calendar-toolbar{width:100%}.calendar-page:not(.calendar-page--mobile-day):not(.calendar-page--mobile-week) .calendar-grid-body{max-height:none!important;overflow-y:visible!important}.calendar-page--mobile-week .calendar-grid-body{overflow-y:hidden!important}.app-content--calendar-mobile-day{padding:8px 10px;overflow-y:auto}.calendar-page--mobile-day .calendar-grid-card{flex-direction:column;display:flex}.calendar-page--mobile-day .calendar-grid-body{-webkit-overflow-scrolling:touch}.room-form-chars-grid{grid-template-columns:1fr 1fr!important}.room-form-schedule-field{grid-column:1/-1}.room-form-schedule-inputs select{flex:1;min-width:0}.room-form-equipment-grid{grid-template-columns:1fr!important}.booking-actions{flex-wrap:wrap}.wa-page-header{margin-bottom:12px}.wa-page.wa-detail-mode .wa-page-header{display:none}.wa-chats-layout{height:calc(100dvh - 89px);min-height:420px}.wa-chats-layout[data-panel=list] .wa-chats-list{border-right:none;width:100%}.wa-chats-layout[data-panel=list] .wa-chats-detail,.wa-chats-layout[data-panel=detail] .wa-chats-list{display:none}.wa-chats-layout[data-panel=detail] .wa-chats-detail{width:100%}.wa-chats-back-btn{display:inline-flex}.wa-chats-header{flex-wrap:wrap;align-items:center;padding:10px 12px}.wa-chats-header-actions{justify-content:flex-start;width:100%}.wa-chats-msg-bubble{max-width:85%}}@media (width<=480px){.kpi-grid{grid-template-columns:1fr 1fr}.wa-chats-btn-long{display:none}.wa-chats-btn-short{display:inline}.wa-chats-send-btn{padding:8px 12px!important}}.date-filter-row{align-items:center;gap:8px;display:flex}.date-filter-label{color:#7c8494;flex-shrink:0;width:80px;font-size:12px}.date-filter-inputs{align-items:center;gap:4px;display:flex}.date-filter-separator{color:#c0c4ce;padding:0 2px}.date-filter-clear{color:#9ca3af;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:0 4px;font-size:14px;display:flex}.date-filter-clear:hover{color:#ef4444}.date-filter-empty{color:var(--crm-accent);cursor:pointer;-webkit-user-select:none;user-select:none;padding:0 4px;font-size:16px;font-weight:600;display:inline-block}.analytics-chart-grid>*{min-width:0}
