*{box-sizing:border-box}:root{color:#172033;background:#f5f6f8;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{min-width:320px;min-height:100vh;margin:0}button{font:inherit;cursor:pointer}.app-shell{min-height:100vh;display:flex}.sidebar{color:#fff;background:#111827;flex-direction:column;width:230px;padding:24px 15px 18px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:11px;padding:0 9px 25px;display:flex}.brand-mark{color:#111827;background:#fff;border-radius:10px;place-items:center;width:38px;height:38px;font-size:19px;font-weight:900;display:grid}.brand strong{letter-spacing:.08em;font-size:13px;display:block}.brand span{color:#778196;letter-spacing:.1em;margin-top:3px;font-size:10px;display:block}.sidebar nav{flex-direction:column;gap:4px;display:flex}.nav-item{color:#98a2b3;border-radius:9px;align-items:center;gap:10px;min-height:43px;padding:0 12px;font-size:13px;font-weight:600;display:flex}.nav-item.active{color:#fff;background:#253044}.nav-item:hover{color:#fff;background:#1d2738}.sidebar-bottom{margin-top:auto}.staging-badge{color:#22c55e;letter-spacing:.13em;border-top:1px solid #273145;margin:17px 10px 0;padding-top:16px;font-size:10px;font-weight:800}.main{width:calc(100% - 230px);margin-left:230px;padding:31px 34px 50px}.topbar{justify-content:space-between;align-items:center;margin-bottom:27px;display:flex}.topbar p{color:#8b95a6;letter-spacing:.12em;margin:0 0 5px;font-size:10px;font-weight:800}.topbar h1{letter-spacing:-.04em;margin:0;font-size:28px}.topbar button{color:#fff;background:#111827;border:0;border-radius:9px;height:41px;padding:0 17px;font-size:13px;font-weight:700}.kpi-grid{grid-template-columns:repeat(4,1fr);gap:14px;display:grid}.kpi-card,.panel{background:#fff;border:1px solid #e4e7ec;border-radius:13px}.kpi-card{min-height:125px;padding:20px}.kpi-card span{color:#7d8798;font-size:12px;font-weight:650}.kpi-card strong{color:#111827;letter-spacing:-.04em;margin-top:15px;font-size:28px;display:block}.panel-grid{grid-template-columns:1.6fr .8fr;gap:14px;margin:14px 0;display:grid}.panel{padding:20px}.panel h2{letter-spacing:-.02em;margin:0 0 18px;font-size:16px}.status-grid{grid-template-columns:repeat(4,1fr);gap:9px;display:grid}.status-card{background:#f7f8fa;border-radius:10px;padding:15px}.status-card strong{font-size:22px;display:block}.status-card span{color:#7d8798;margin-top:4px;font-size:11px;display:block}.finance-row{color:#778194;border-bottom:1px solid #edf0f3;justify-content:space-between;padding:11px 0;font-size:12px;display:flex}.finance-row strong{color:#172033;font-size:14px}.orders-list{overflow-x:auto}.order-row{border-top:1px solid #edf0f3;grid-template-columns:1.3fr 1fr .8fr .6fr;align-items:center;gap:18px;min-width:720px;min-height:63px;font-size:12px;display:grid}.order-row>div:first-child strong{font-size:12px;display:block}.order-row>div:first-child span{color:#8b95a6;margin-top:4px;font-size:11px;display:block}.loading,.error{background:#fff;border:1px solid #e4e7ec;border-radius:12px;padding:25px}.error{color:#b42318}@media (width<=1050px){.kpi-grid{grid-template-columns:repeat(2,1fr)}.panel-grid{grid-template-columns:1fr}}@media (width<=720px){.sidebar{width:68px;padding:20px 9px}.brand>div:last-child,.nav-item:not(.active){font-size:0}.nav-item{justify-content:center;padding:0}.nav-item.active,.staging-badge{font-size:0}.main{width:calc(100% - 68px);margin-left:68px;padding:22px 15px 40px}.kpi-grid{grid-template-columns:1fr 1fr}.topbar h1{font-size:24px}}@media (width<=480px){.kpi-grid{grid-template-columns:1fr}.topbar button{padding:0 11px}}.global-actions{position:absolute;top:34px;right:34px}.global-actions button{color:#fff;background:#111827;border:0;border-radius:9px;height:41px;padding:0 17px;font-size:13px;font-weight:700}.sidebar{align-items:center;width:76px;padding:22px 10px 18px}.brand{justify-content:center;padding:0 0 26px}.brand>div:last-child{display:none}.brand-mark{width:42px;height:42px}.sidebar nav{align-items:center;width:100%}.nav-item{border-radius:12px;justify-content:center;width:48px;height:48px;min-height:48px;padding:0;font-size:0;position:relative}.nav-item svg{width:21px;height:21px}.nav-item:after{content:attr(data-tooltip);color:#fff;white-space:nowrap;opacity:0;pointer-events:none;z-index:100;background:#111827;border-radius:8px;padding:8px 10px;font-size:12px;font-weight:650;transition:all .15s;position:absolute;top:50%;left:58px;transform:translateY(-50%)translate(-4px);box-shadow:0 8px 24px #0000002e}.nav-item:hover:after{opacity:1;transform:translateY(-50%)translate(0)}.staging-badge{color:#22c55e;background:#22c55e1f;border-top:0;border-radius:999px;place-items:center;width:40px;height:24px;margin:16px 0 0;padding:0;font-size:0;display:grid}.staging-badge:after{content:"";background:#22c55e;border-radius:50%;width:8px;height:8px}.main{width:calc(100% - 76px);margin-left:76px}.nav-item:after{border:1px solid #ffffff14;min-width:max-content;width:auto!important;height:auto!important;font-size:12px!important;line-height:1!important}.sidebar,.sidebar nav,.sidebar-bottom{overflow:visible}.brand-mark{background:#111827;padding:0;overflow:hidden}.brand-mark img{object-fit:cover;border-radius:inherit;width:100%;height:100%;display:block}:root{--crm-bg:#f5f6f8;--crm-surface:#fff;--crm-surface-2:#f8f9fb;--crm-border:#e3e7ed;--crm-text:#172033;--crm-muted:#8b95a6;--crm-input:#fff;--crm-sidebar:#111827}html[data-theme=dark]{--crm-bg:#0b0f17;--crm-surface:#121821;--crm-surface-2:#171e29;--crm-border:#26303d;--crm-text:#eef2f7;--crm-muted:#929eae;--crm-input:#151c26;--crm-sidebar:#090d14;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html,body,#root,.app-shell,.main{background:var(--crm-bg);color:var(--crm-text)}.theme-toggle{color:#fff;cursor:pointer;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:10px;place-items:center;width:42px;height:42px;display:grid}.theme-toggle:hover{background:#ffffff1a}html[data-theme=dark] .main,html[data-theme=dark] .payments-table,html[data-theme=dark] .clients-table,html[data-theme=dark] .invoice-table,html[data-theme=dark] .calendar-month,html[data-theme=dark] .calendar-week-column,html[data-theme=dark] .calendar-day-view,html[data-theme=dark] .login-card,html[data-theme=dark] .order-card,html[data-theme=dark] .orders-table,html[data-theme=dark] .wa-shell,html[data-theme=dark] .settings-card{background:var(--crm-surface)!important;color:var(--crm-text)!important;border-color:var(--crm-border)!important}html[data-theme=dark] .payments-head,html[data-theme=dark] .clients-table-head,html[data-theme=dark] .invoice-head,html[data-theme=dark] .calendar-week-head,html[data-theme=dark] .calendar-week-day-head{background:var(--crm-surface-2)!important;color:var(--crm-muted)!important;border-color:var(--crm-border)!important}html[data-theme=dark] .payment-row,html[data-theme=dark] .client-row,html[data-theme=dark] .invoice-row,html[data-theme=dark] .calendar-day-cell,html[data-theme=dark] .calendar-event{background:var(--crm-surface)!important;color:var(--crm-text)!important;border-color:var(--crm-border)!important}html[data-theme=dark] .payment-row:hover,html[data-theme=dark] .calendar-event:hover{background:#18212d!important}html[data-theme=dark] strong,html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3{color:var(--crm-text)}html[data-theme=dark] small,html[data-theme=dark] p,html[data-theme=dark] .muted{color:var(--crm-muted)}html[data-theme=dark] button:not(.nav-item):not(.theme-toggle){border-color:var(--crm-border)}html[data-theme=dark] .global-actions button,html[data-theme=dark] .orders-page button.primary,html[data-theme=dark] .invoice-send-button{color:#111827!important;background:#e9edf3!important}html[data-theme=dark] .sidebar{background:var(--crm-sidebar)!important}html[data-theme=dark] .payment-state,html[data-theme=dark] .invoice-state,html[data-theme=dark] [class*=status-]{filter:saturate(.9)}html[data-theme=dark]{--crm-bg:#0b1017;--crm-surface:#121923;--crm-surface-2:#17212d;--crm-surface-3:#1c2734;--crm-border:#2a3646;--crm-text:#eef2f7;--crm-text-soft:#c7d0dc;--crm-muted:#8491a4;--crm-input:#0f1722;--crm-hover:#1b2633}html[data-theme=dark] body,html[data-theme=dark] #root,html[data-theme=dark] .app-shell,html[data-theme=dark] .main{background:var(--crm-bg)!important;color:var(--crm-text)!important}html[data-theme=dark] input,html[data-theme=dark] textarea,html[data-theme=dark] select{background:var(--crm-input)!important;color:var(--crm-text)!important;border-color:var(--crm-border)!important}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#718096!important}html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3,html[data-theme=dark] strong{color:var(--crm-text)}html[data-theme=dark] small,html[data-theme=dark] .muted{color:var(--crm-muted)}html[data-theme=dark] [class*=card],html[data-theme=dark] [class*=panel],html[data-theme=dark] [class*=table],html[data-theme=dark] button{border-color:var(--crm-border)}html[data-theme=dark] button:not(.primary-action):not(.theme-toggle){color:var(--crm-text-soft)}html[data-theme=dark] .clients-table{background:var(--crm-surface)!important;border-color:var(--crm-border)!important}html[data-theme=dark] .clients-table-head{background:var(--crm-surface-2)!important;color:var(--crm-muted)!important}html[data-theme=dark] .client-row{background:var(--crm-surface)!important;border-color:var(--crm-border)!important;color:var(--crm-text-soft)!important}html[data-theme=dark] .client-row:hover{background:var(--crm-hover)!important}html[data-theme=dark] .client-inline-value{color:var(--crm-text)!important}html[data-theme=dark] .client-inline-value:hover{background:var(--crm-surface-3)!important}html[data-theme=dark] .client-orders-expand{border-color:var(--crm-border)!important;background:#101720!important}html[data-theme=dark] .client-expand-meta>div,html[data-theme=dark] .client-order-list>button{background:var(--crm-surface-2)!important;border-color:var(--crm-border)!important;color:var(--crm-text)!important}html[data-theme=dark] .payments-kpi{background:var(--crm-surface)!important;border-color:var(--crm-border)!important}html[data-theme=dark] .payments-kpi-icon{background:var(--crm-surface-3)!important;color:#b6c2d1!important}html[data-theme=dark] .payments-search{background:var(--crm-surface)!important;border-color:var(--crm-border)!important}html[data-theme=dark] .payments-date-buttons button,html[data-theme=dark] .payments-toolbar>select,html[data-theme=dark] .payments-date-input{background:var(--crm-surface)!important;color:var(--crm-text-soft)!important;border-color:var(--crm-border)!important}html[data-theme=dark] .payments-date-buttons button.active{color:#101722!important;background:#e9eef5!important}html[data-theme=dark] .payments-table{background:var(--crm-surface)!important;border-color:var(--crm-border)!important}html[data-theme=dark] .payments-head{background:var(--crm-surface-2)!important;color:var(--crm-muted)!important}html[data-theme=dark] .payment-row{background:var(--crm-surface)!important;color:var(--crm-text-soft)!important;border-color:var(--crm-border)!important}html[data-theme=dark] .payment-row:hover{background:var(--crm-hover)!important}html[data-theme=dark] .calendar-month,html[data-theme=dark] .calendar-week-column,html[data-theme=dark] .calendar-day-view{background:var(--crm-surface)!important;border-color:var(--crm-border)!important}html[data-theme=dark] .calendar-week-head,html[data-theme=dark] .calendar-week-day-head{background:var(--crm-surface-2)!important;border-color:var(--crm-border)!important;color:var(--crm-muted)!important}html[data-theme=dark] .calendar-day-cell{background:var(--crm-surface)!important;border-color:var(--crm-border)!important}html[data-theme=dark] .calendar-day-cell.other-month{background:#0f1620!important}html[data-theme=dark] .calendar-event{background:var(--crm-surface-2)!important;border-color:var(--crm-border)!important;color:var(--crm-text)!important}html[data-theme=dark] .calendar-event:hover{background:var(--crm-surface-3)!important}html[data-theme=dark] .invoices-kpis>div{background:var(--crm-surface)!important;border-color:var(--crm-border)!important}html[data-theme=dark] .invoice-tabs button{background:var(--crm-surface)!important;color:var(--crm-text-soft)!important;border-color:var(--crm-border)!important}html[data-theme=dark] .invoice-tabs button.active{color:#101722!important;background:#e9eef5!important}html[data-theme=dark] .invoice-search,html[data-theme=dark] .invoice-table{background:var(--crm-surface)!important;border-color:var(--crm-border)!important}html[data-theme=dark] .invoice-head{background:var(--crm-surface-2)!important;color:var(--crm-muted)!important}html[data-theme=dark] .invoice-row{background:var(--crm-surface)!important;color:var(--crm-text-soft)!important;border-color:var(--crm-border)!important}html[data-theme=dark] .wa-shell,html[data-theme=dark] .wa-sidebar,html[data-theme=dark] .wa-main,html[data-theme=dark] .wa-details{background:var(--crm-surface)!important;border-color:var(--crm-border)!important}html[data-theme=dark] .wa-chat-row{color:var(--crm-text-soft)!important;background:0 0!important}html[data-theme=dark] .wa-chat-row:hover,html[data-theme=dark] .wa-chat-row.active{background:var(--crm-surface-3)!important}html[data-theme=dark] .wa-composer,html[data-theme=dark] .wa-template-strip{background:var(--crm-surface)!important;border-color:var(--crm-border)!important}html[data-theme=dark] .wa-template-menu>button{color:var(--crm-text)!important;background:0 0!important}html[data-theme=dark] .wa-template-menu>button:hover{background:var(--crm-surface-3)!important}html[data-theme=dark] .login-card{background:var(--crm-surface)!important;border-color:var(--crm-border)!important}html[data-theme=dark] .permission-denied{color:var(--crm-muted)!important}html[data-theme=dark] .wa-layout,html[data-theme=dark] .wa-sidebar,html[data-theme=dark] .wa-client-panel{background:#121923!important;border-color:#2a3646!important}html[data-theme=dark] .wa-search{background:#151e29!important;border-color:#2a3646!important}html[data-theme=dark] .wa-search input{color:#eef2f7!important;background:#0f1722!important;border-color:#303d4f!important}html[data-theme=dark] .wa-chat-list>button{color:#dce4ee!important;background:#121923!important;border-color:#273343!important}html[data-theme=dark] .wa-chat-list>button:hover,html[data-theme=dark] .wa-chat-list>button.active{background:#1a2532!important}html[data-theme=dark] .wa-chat-list-main strong{color:#eef2f7!important}html[data-theme=dark] .wa-chat-list-main span{color:#9ba7b7!important}html[data-theme=dark] .wa-chat-list-main small,html[data-theme=dark] .wa-chat-list time{color:#748195!important}html[data-theme=dark] .wa-chat{background:#0e151f!important}html[data-theme=dark] .wa-chat-head{background:#151e29!important;border-color:#2a3646!important}html[data-theme=dark] .wa-chat-head strong{color:#eef2f7!important}html[data-theme=dark] .wa-chat-head span{color:#8491a4!important}html[data-theme=dark] .wa-mode button{color:#aeb9c8!important;background:#182331!important;border-color:#344255!important}html[data-theme=dark] .wa-mode button.active{color:#101722!important;background:#edf1f6!important;border-color:#edf1f6!important}html[data-theme=dark] .wa-messages{background:#0e151f!important}html[data-theme=dark] .wa-bubble{color:#e8edf4!important;box-shadow:none!important;background:#182331!important;border-color:#2d3a4b!important}html[data-theme=dark] .wa-message-row.outgoing .wa-bubble{background:#163126!important;border-color:#26513f!important}html[data-theme=dark] .wa-bubble-author strong{color:#a8b4c3!important}html[data-theme=dark] .wa-translation{border-color:#354254!important}html[data-theme=dark] .wa-translation p{color:#b8c2d0!important}html[data-theme=dark] .wa-composer{background:#121923!important;border-color:#2a3646!important}html[data-theme=dark] .wa-composer textarea{color:#eef2f7!important;background:#0f1722!important;border-color:#303d4f!important}html[data-theme=dark] .wa-template-strip{background:#121923!important;border-color:#2a3646!important}html[data-theme=dark] .wa-template-button{color:#dce4ee!important;background:#182331!important;border-color:#344255!important}html[data-theme=dark] .wa-template-menu{background:#182331!important;border-color:#344255!important}html[data-theme=dark] .wa-client-card,html[data-theme=dark] .wa-client-meta,html[data-theme=dark] .wa-orders-head{background:#121923!important;border-color:#2a3646!important}html[data-theme=dark] .wa-client-card strong,html[data-theme=dark] .wa-client-meta strong,html[data-theme=dark] .wa-orders-head strong{color:#eef2f7!important}html[data-theme=dark] .wa-orders button{color:#dce4ee!important;background:#121923!important;border-color:#273343!important}html[data-theme=dark] .wa-orders button:hover{background:#1a2532!important}html[data-theme=dark] .lookup-card,html[data-theme=dark] .new-order-card,html[data-theme=dark] .new-order-items{background:#121923!important;border-color:#2a3646!important}html[data-theme=dark] .lookup-title{border-color:#2a3646!important}html[data-theme=dark] .lookup-title h2{color:#eef2f7!important}html[data-theme=dark] .lookup-title span{color:#8491a4!important}html[data-theme=dark] .lookup-input{background:#0f1722!important;border-color:#303d4f!important}html[data-theme=dark] .lookup-input input{color:#eef2f7!important}html[data-theme=dark] .lookup-kind{color:#cbd4df!important;background:#1a2532!important}html[data-theme=dark] .client-found{color:#70d8aa!important;background:#153229!important}html[data-theme=dark] .client-missing{color:#efbf69!important;background:#3c2e17!important}html[data-theme=dark] .field,html[data-theme=dark] .invoice-create{background:#182331!important;border-color:#2b394b!important}html[data-theme=dark] .field>span,html[data-theme=dark] .invoice-create>span{color:#8491a4!important}html[data-theme=dark] .field input,html[data-theme=dark] .field textarea,html[data-theme=dark] .field select{border-radius:4px;padding:3px 5px;color:#eef2f7!important;background:#0f1722!important;border:1px solid #293748!important}html[data-theme=dark] .field.readonly strong{color:#eef2f7!important}html[data-theme=dark] .new-order-footer{background:#151e29!important;border-color:#2a3646!important}html[data-theme=dark] .cancel-button{color:#cbd4df!important;background:#182331!important;border-color:#344255!important}html[data-theme=dark] .create-button,html[data-theme=dark] .add-order-item-button{color:#101722!important;background:#edf1f6!important}html[data-theme=dark] .new-order-item-row{background:#121923!important;border-color:#2a3646!important}html[data-theme=dark] .new-order-item-row input{color:#eef2f7!important;background:#0f1722!important;border-color:#303d4f!important}html[data-theme=dark] .analytics-filters{background:#121923!important;border-color:#2a3646!important}html[data-theme=dark] .analytics-filter-tabs button{color:#cbd4df!important;background:#182331!important;border-color:#344255!important}html[data-theme=dark] .analytics-filter-tabs button.active{color:#101722!important;background:#edf1f6!important;border-color:#edf1f6!important}html[data-theme=dark] .analytics-filter-summary{color:#9ba7b7!important;background:#1a2532!important}html[data-theme=dark] .analytics-filter-summary strong{color:#eef2f7!important}html[data-theme=dark] .analytics-kpi{background:#121923!important;border-color:#2a3646!important}html[data-theme=dark] .analytics-kpi-icon{color:#aeb9c8!important;background:#1d2937!important}html[data-theme=dark] .analytics-kpi span,html[data-theme=dark] .analytics-kpi small{color:#8491a4!important}html[data-theme=dark] .analytics-kpi strong{color:#eef2f7!important}html[data-theme=dark] .analytics-panel{background:#121923!important;border-color:#2a3646!important}html[data-theme=dark] .analytics-panel-head{border-color:#2a3646!important}html[data-theme=dark] .analytics-panel-head h2{color:#eef2f7!important}html[data-theme=dark] .analytics-panel-head p{color:#8491a4!important}html[data-theme=dark] .staff-analytics-head,html[data-theme=dark] .analytics-details-head{color:#8491a4!important;background:#182331!important}html[data-theme=dark] .staff-analytics-row,html[data-theme=dark] .device-analytics-row,html[data-theme=dark] .analytics-detail-row{color:#dce4ee!important;background:#121923!important;border-color:#283547!important}html[data-theme=dark] .analytics-detail-row:hover{background:#1a2532!important}html[data-theme=dark] .analytics-detail-row small,html[data-theme=dark] .device-analytics-row span{color:#8491a4!important}html[data-theme=dark] .topbar{color:#eef2f7}html[data-theme=dark] .topbar p{color:#8390a4!important}html[data-theme=dark] .topbar h1{color:#f4f7fb!important}html[data-theme=dark] .kpi-grid{gap:14px}html[data-theme=dark] .kpi-card{box-shadow:none!important;background:#151f2b!important;border:1px solid #2a3748!important}html[data-theme=dark] .kpi-card span{color:#8794a7!important}html[data-theme=dark] .kpi-card strong{color:#f4f7fb!important}html[data-theme=dark] .panel-grid{gap:14px}html[data-theme=dark] .panel{box-shadow:none!important;color:#e8edf4!important;background:#151f2b!important;border:1px solid #2a3748!important}html[data-theme=dark] .panel h2{color:#f0f4f8!important}html[data-theme=dark] .status-grid{gap:10px}html[data-theme=dark] .status-card{background:#192431!important;border:1px solid #2c3a4c!important}html[data-theme=dark] .status-card strong{color:#f5f7fb!important}html[data-theme=dark] .status-card span{color:#9aa7b8!important}html[data-theme=dark] .finance-row{color:#cbd4df!important;border-color:#2a3748!important}html[data-theme=dark] .finance-row span{color:#8d9aad!important}html[data-theme=dark] .finance-row strong{color:#f1f4f8!important}html[data-theme=dark] .orders-list{border-color:#2a3748!important}html[data-theme=dark] .panel .orders-list .order-row{color:#dce4ee!important;background:#151f2b!important;border-color:#293748!important}html[data-theme=dark] .panel .orders-list .order-row:nth-child(2n){background:#182330!important}html[data-theme=dark] .panel .orders-list .order-row:hover{background:#1d2937!important}html[data-theme=dark] .panel .orders-list .order-row strong{color:#f4f7fb!important}html[data-theme=dark] .panel .orders-list .order-row span,html[data-theme=dark] .loading{color:#8d9aad!important}html[data-theme=dark] .error{color:#ff9b95!important;background:#3b1f1f!important;border-color:#5a2b2b!important}html[data-theme=dark] .settings-page,html[data-theme=dark] .settings-page-wrap{background:var(--crm-bg)!important;color:var(--crm-text)!important}html[data-theme=dark] .settings-card,html[data-theme=dark] .settings-placeholder{color:#eef2f7!important;box-shadow:none!important;background:#151f2b!important;border:1px solid #2a3748!important}html[data-theme=dark] .settings-card h2,html[data-theme=dark] .settings-placeholder h2{color:#f4f7fb!important}html[data-theme=dark] .settings-card p,html[data-theme=dark] .settings-placeholder p{color:#8794a7!important}html[data-theme=dark] .settings-status-header h1,html[data-theme=dark] .ss-head h1{color:#f4f7fb!important}html[data-theme=dark] .settings-status-header p,html[data-theme=dark] .settings-status-header span,html[data-theme=dark] .ss-head p{color:#8491a4!important}html[data-theme=dark] .status-settings-card,html[data-theme=dark] .ss-card{color:#eef2f7!important;background:#151f2b!important;border:1px solid #2a3748!important}html[data-theme=dark] .status-settings-title,html[data-theme=dark] .ss-title{border-color:#2a3748!important}html[data-theme=dark] .status-settings-title h2,html[data-theme=dark] .ss-title h2{color:#f4f7fb!important}html[data-theme=dark] .status-settings-title p,html[data-theme=dark] .ss-title p{color:#8491a4!important}html[data-theme=dark] .new-status-row input,html[data-theme=dark] .new-status-row select,html[data-theme=dark] .ss-add input,html[data-theme=dark] .ss-add select,html[data-theme=dark] .status-name-cell input,html[data-theme=dark] .sort-order-input,html[data-theme=dark] .ss-row select{color:#eef2f7!important;background:#0f1722!important;border-color:#303d4f!important}html[data-theme=dark] .new-status-row button,html[data-theme=dark] .ss-add button{color:#101722!important;background:#edf1f6!important;border-color:#edf1f6!important}html[data-theme=dark] .status-settings-head,html[data-theme=dark] .ss-label{color:#8491a4!important;background:#182331!important;border-color:#2a3748!important}html[data-theme=dark] .status-settings-row,html[data-theme=dark] .ss-row,html[data-theme=dark] .perm-row{color:#dce4ee!important;background:#151f2b!important;border-color:#293748!important}html[data-theme=dark] .status-settings-row:hover,html[data-theme=dark] .ss-row:hover,html[data-theme=dark] .perm-row:hover{background:#1a2532!important}html[data-theme=dark] .status-kind{color:#93a0b2!important}html[data-theme=dark] .ss-tabs button{color:#cbd4df!important;background:#182331!important;border-color:#344255!important}html[data-theme=dark] .ss-tabs button.on{color:#101722!important;background:#edf1f6!important}html[data-theme=dark] .ss-roles{background:#121923!important;border-color:#2a3748!important}html[data-theme=dark] .ss-roles button{color:#c5cfdb!important;background:0 0!important}html[data-theme=dark] .ss-roles button:hover,html[data-theme=dark] .ss-roles button.on{color:#fff!important;background:#1a2532!important}html[data-theme=dark] .toggle,html[data-theme=dark] .status-toggle{background:#263244!important;border-color:#364357!important}html[data-theme=dark] .toggle.on,html[data-theme=dark] .status-toggle.on{background:#2e7d63!important}html[data-theme=dark] .settings-message{color:#8491a4!important}html[data-theme=dark] .settings-error{color:#ff9b95!important;background:#3b1f1f!important}.sidebar-user{background:#ffffff0a;border:1px solid #ffffff14;border-radius:10px;align-items:center;gap:9px;margin-top:6px;padding:9px 10px;display:flex}.sidebar-user-avatar{color:#fff;background:#ffffff1c;border-radius:9px;flex:0 0 32px;place-items:center;width:32px;height:32px;font-size:9px;font-weight:800;display:grid}.sidebar-user-info{min-width:0}.sidebar-user-info strong{text-overflow:ellipsis;white-space:nowrap;color:#fff;font-size:9px;display:block;overflow:hidden}.sidebar-user-info span{text-overflow:ellipsis;white-space:nowrap;color:#8f9bad;margin-top:2px;font-size:7px;display:block;overflow:hidden}.sidebar-bottom-actions{grid-template-columns:42px 1fr;gap:6px;margin-top:6px;display:grid}.logout-button{color:#cbd5e1;cursor:pointer;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:10px;justify-content:center;align-items:center;gap:7px;height:42px;font-size:8px;font-weight:700;display:flex}.logout-button:hover{color:#fca5a5;background:#dc262621;border-color:#f8717140}.sidebar-bottom{position:relative}.sidebar-bottom-actions{flex-direction:column;align-items:center;gap:8px;margin-top:8px;display:flex}.sidebar-profile-wrap{position:relative}.sidebar-profile-button{color:#fff;cursor:pointer;background:#ffffff14;border:1px solid #ffffff1a;border-radius:12px;place-items:center;width:46px;height:46px;font-size:10px;font-weight:800;display:grid}.sidebar-profile-button:hover{background:#ffffff21}.sidebar-profile-menu{z-index:100;background:#111827;border:1px solid #ffffff1f;border-radius:12px;width:190px;padding:10px;position:absolute;bottom:0;left:58px;box-shadow:0 14px 40px #00000059}.sidebar-profile-menu-head{border-bottom:1px solid #ffffff14;padding:4px 4px 10px}.sidebar-profile-menu-head strong{color:#fff;font-size:10px;display:block}.sidebar-profile-menu-head span{color:#8f9bad;margin-top:3px;font-size:8px;display:block}.sidebar-profile-logout{color:#d7dee8;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;width:100%;height:36px;margin-top:8px;padding:0 10px;font-size:9px;font-weight:700;display:flex}.sidebar-profile-logout:hover{color:#fca5a5;background:#dc262624}.sidebar-user,.sidebar-user-info,.logout-button{display:none!important}.sidebar{flex-direction:column;align-items:center;display:flex}.brand{justify-content:center;align-items:center;width:100%;display:flex}.brand>div:not(.brand-mark){display:none}.brand-mark{width:58px!important;height:58px!important;box-shadow:none!important;background:0 0!important;border:0!important;outline:0!important;margin:0 auto!important;padding:0!important;overflow:visible!important}.brand-mark img{object-fit:contain;width:100%;height:100%;display:block;box-shadow:none!important;background:0 0!important;border:0!important;outline:0!important}.sidebar nav{flex-direction:column;align-items:center;width:100%;display:flex}.nav-item{border-radius:12px!important;justify-content:center!important;align-items:center!important;gap:0!important;width:48px!important;min-width:48px!important;height:48px!important;margin:0 auto!important;padding:0!important;display:flex!important}.nav-item>span{display:none!important}.nav-item svg{flex:none;display:block;margin:0!important}.sidebar-bottom{flex-direction:column;align-items:center;width:100%;display:flex}.sidebar-bottom .nav-item{margin-left:auto!important;margin-right:auto!important}.sidebar-bottom-actions{flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:8px!important;width:100%!important;margin-top:8px!important;display:flex!important}.theme-toggle,.sidebar-profile-button{border-radius:12px!important;place-items:center!important;width:48px!important;min-width:48px!important;height:48px!important;min-height:48px!important;margin:0 auto!important;display:grid!important}.theme-toggle svg,.sidebar-profile-button svg{margin:0!important}.sidebar-profile-wrap{justify-content:center;width:48px;display:flex}.staging-badge{text-align:center;margin-left:auto!important;margin-right:auto!important}.order-id-block{flex-direction:column;align-items:flex-start;gap:1px;display:flex}.order-id-block strong{line-height:1.1}.order-id-block span{color:#8b97aa;font-size:9px;font-weight:600;line-height:1.1}html[data-theme=dark] .order-id-block span{color:#7f8da1}@media (width<=768px){.app-sidebar,.sidebar,aside[class*=sidebar],nav[class*=sidebar]{display:none!important}.app-shell,.app-layout,.main-layout,.main-content,main{width:100%!important;max-width:100%!important;margin-left:0!important;padding-left:0!important}.orders-page,.page-content,.orders-shell{width:100%!important;max-width:100%!important;margin:0!important}.sidebar{display:none!important}.app-shell{width:100%!important;min-width:0!important;max-width:100vw!important;display:block!important}.main{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding-left:0!important}.global-actions{right:14px!important}body,#root{width:100%!important;max-width:100vw!important;overflow-x:hidden!important}}.color-white{color:#111827!important;background:#fff!important;border-color:#cbd5e1!important}.color-slate{color:#fff!important;background:#64748b!important}.color-gray{color:#111827!important;background:#94a3b8!important}.color-zinc{color:#fff!important;background:#71717a!important}.color-charcoal{color:#fff!important;background:#374151!important}.color-black{color:#fff!important;background:#111827!important}.color-red{color:#fff!important;background:#ef4444!important}.color-crimson{color:#fff!important;background:#dc2626!important}.color-rose{color:#fff!important;background:#f43f5e!important}.color-burgundy{color:#fff!important;background:#881337!important}.color-orange{color:#fff!important;background:#f97316!important}.color-coral{color:#111827!important;background:#fb7185!important}.color-amber{color:#111827!important;background:#f59e0b!important}.color-yellow{color:#111827!important;background:#eab308!important}.color-mustard{color:#111827!important;background:#ca8a04!important}.color-lime{color:#111827!important;background:#84cc16!important}.color-olive{color:#fff!important;background:#708238!important}.color-green{color:#111827!important;background:#22c55e!important}.color-emerald{color:#111827!important;background:#10b981!important}.color-forest{color:#fff!important;background:#15803d!important}.color-deepgreen{color:#fff!important;background:#14532d!important}.color-teal{color:#111827!important;background:#14b8a6!important}.color-cyan{color:#111827!important;background:#06b6d4!important}.color-sky{color:#111827!important;background:#38bdf8!important}.color-blue{color:#fff!important;background:#3b82f6!important}.color-navy{color:#fff!important;background:#1e3a8a!important}.color-indigo{color:#fff!important;background:#6366f1!important}.color-violet{color:#fff!important;background:#8b5cf6!important}.color-purple{color:#fff!important;background:#a855f7!important}.color-fuchsia{color:#fff!important;background:#d946ef!important}.color-magenta{color:#fff!important;background:#c026d3!important}.color-pink{color:#fff!important;background:#ec4899!important}.inline-status[class*=color-]{font-weight:700}.inline-status[class*=color-] option{color:#111827;background:#fff}.settings-hub-head{margin-bottom:18px}.settings-hub-head p{color:#8b95a6;letter-spacing:.12em;margin:0;font-size:9px;font-weight:800}.settings-hub-head h1{margin:4px 0 0;font-size:27px}.settings-hub-head span{color:#8b95a6;margin-top:4px;font-size:10px;display:block}.settings-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:900px;display:grid}.settings-hub-card{text-align:left;color:#172033;cursor:pointer;background:#fff;border:1px solid #e3e7ed;border-radius:12px;align-items:center;gap:14px;min-height:120px;padding:18px;transition:transform .15s,border-color .15s,box-shadow .15s;display:flex;position:relative}.settings-hub-card:hover{border-color:#cfd5de;transform:translateY(-1px);box-shadow:0 10px 28px #1018280f}.settings-hub-icon{color:#475467;background:#f2f4f7;border-radius:11px;flex:0 0 46px;place-items:center;width:46px;height:46px;display:grid}.settings-hub-card strong{font-size:12px;display:block}.settings-hub-card span{color:#8b95a6;max-width:280px;margin-top:5px;font-size:8px;line-height:1.5;display:block}.settings-hub-side-icon{color:#a2abba;position:absolute;top:16px;right:16px}html[data-theme=dark] .settings-hub-head h1{color:#f4f7fb}html[data-theme=dark] .settings-hub-head p,html[data-theme=dark] .settings-hub-head span{color:#8491a4}html[data-theme=dark] .settings-hub-card{color:#eef2f7;box-shadow:none;background:#151f2b;border-color:#2a3748}html[data-theme=dark] .settings-hub-card:hover{background:#1a2532;border-color:#39485b}html[data-theme=dark] .settings-hub-icon{color:#c5cfdb;background:#1f2b39}html[data-theme=dark] .settings-hub-card strong{color:#f4f7fb}html[data-theme=dark] .settings-hub-card span{color:#8794a7}html[data-theme=dark] .settings-hub-side-icon{color:#6f7e91}@media (width<=850px){.settings-hub-grid{grid-template-columns:1fr}}html[data-mini-app=true]{--mini-safe-top:0px;--mini-safe-bottom:0px;--mini-safe-left:0px;--mini-safe-right:0px;scroll-padding-top:80px}html[data-mini-app=true] body{background:var(--crm-bg,#f4f6f8)}.app-shell.mini-shell{min-height:100dvh;padding:calc(62px + var(--mini-safe-top)) max(0px,var(--mini-safe-right)) 0 max(0px,var(--mini-safe-left));display:block}.mini-shell .mini-header{top:var(--mini-safe-top);left:var(--mini-safe-left);right:var(--mini-safe-right);z-index:65;background:var(--crm-surface,#fff);border-bottom:1px solid var(--crm-border,#dfe5ec);align-items:center;gap:10px;min-height:62px;padding:9px 16px;display:flex;position:fixed}.mini-header>img{object-fit:contain;border-radius:10px;width:36px;height:36px}.mini-header .mini-identity{min-width:0;color:var(--crm-text,#172033);flex:1;text-decoration:none}.mini-identity strong{letter-spacing:.09em;font-size:12px;display:block}.mini-identity span{color:var(--crm-muted);white-space:nowrap;text-overflow:ellipsis;margin-top:2px;font-size:11px;display:block;overflow:hidden}.mini-header :is(.mini-icon,.mini-create){background:var(--crm-surface-2,#edf3f0);min-width:44px;min-height:44px;color:var(--crm-link);border-radius:12px;justify-content:center;align-items:center;gap:4px;padding:0 10px;font-size:12px;font-weight:700;text-decoration:none;display:flex}.mini-shell .main.mini-main{box-sizing:border-box;width:100%;min-width:0;margin:0;padding:16px 12px calc(86px + max(env(safe-area-inset-bottom,0px),var(--mini-safe-bottom)))!important}.mini-bottom-nav{z-index:65;left:var(--mini-safe-left);right:var(--mini-safe-right);padding:6px 8px calc(6px + max(env(safe-area-inset-bottom,0px),var(--mini-safe-bottom)));background:var(--crm-surface,#fff);border-top:1px solid var(--crm-border,#dfe5ec);align-items:stretch;gap:3px;display:flex;position:fixed;bottom:0;box-shadow:0 -4px 20px #10182806}.mini-bottom-nav a{min-width:0;min-height:52px;color:var(--crm-muted);border-radius:12px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:4px;font-size:10px;font-weight:650;text-decoration:none;display:flex}.mini-bottom-nav a.is-active{color:#116d4a;background:#e8f5ee}html[data-theme=dark] .mini-bottom-nav a.is-active{color:#dbf9e9;background:#214737}.mini-offline{z-index:66;color:#714807;background:#fff2cd;margin:0;padding:10px 14px;font-size:12px;line-height:1.4;position:sticky;top:62px}.mini-more{max-width:660px;color:var(--crm-text);margin:0 auto;padding:22px 16px}.mini-more h1{letter-spacing:-.03em;margin:0 0 20px;font-size:25px}.mini-profile{border:1px solid var(--crm-border);background:var(--crm-surface);border-radius:16px;align-items:center;gap:12px;margin-bottom:20px;padding:17px;display:flex}.mini-profile>span{color:#116d4a;background:#e8f5ee;border-radius:14px;place-items:center;width:44px;height:44px;font-size:15px;font-weight:750;display:grid}.mini-profile strong{font-size:16px}.mini-profile small{color:var(--crm-muted);margin-top:4px;font-size:12px;display:block}.mini-menu{border:1px solid var(--crm-border);background:var(--crm-surface);border-radius:16px;overflow:hidden}.mini-menu>a,.mini-menu>button{text-align:left;color:var(--crm-text);border:0;border-bottom:1px solid var(--crm-border);width:100%;min-height:68px;font:inherit;cursor:pointer;background:0 0;align-items:center;gap:13px;padding:16px;text-decoration:none;display:flex}.mini-menu>:last-child{border-bottom:0}.mini-menu>*>svg{color:var(--crm-link);flex-shrink:0}.mini-menu>*>span{flex:1;min-width:0}.mini-menu strong{font-size:14px}.mini-menu small{color:var(--crm-muted);margin-top:4px;font-size:12px;line-height:1.45;display:block}.mini-help{color:var(--crm-muted);margin:18px 5px;font-size:12px;line-height:1.7}html[data-mini-app=true] .login-page{min-height:100dvh;padding:calc(24px + var(--mini-safe-top)) 20px calc(24px + var(--mini-safe-bottom));padding-left:20px!important}html[data-mini-app=true] .login-card{box-shadow:none;padding:24px}html[data-mini-app=true] .login-card input{height:48px;font-size:16px}html[data-mini-app=true] .login-card :is(label small,.login-welcome>span,.login-error){font-size:13px;line-height:1.5}html[data-mini-app=true] .login-card>button{height:48px;font-size:14px}html[data-mini-app=true] .login-footer{font-size:11px;line-height:1.6}html[data-mini-app=true] :is(.auth-loading,.permission-denied){color:var(--crm-text);padding:32px 20px;line-height:1.6}@media (width>=769px){.mini-shell .mini-main{padding:24px 24px 100px!important}.mini-shell .mini-bottom-nav{border:1px solid var(--crm-border);border-radius:18px 18px 0 0;max-width:660px;margin:auto}.mini-shell .mini-header{padding-left:24px;padding-right:24px}}@media (width<=768px){.mini-shell .orders-header{padding-top:18px}.mini-shell .orders-header p{display:none}.mini-shell .order-map-heading h1{font-size:26px}.mini-shell .order-map-preview{display:none}.mini-shell .work-page{padding-top:18px}.mini-shell :is(.wa-page-head,.clients-header,.calendar-page-head){padding-top:0}.mini-shell .wa-layout{height:auto;min-height:calc(100dvh - 245px);max-height:none}}.mini-order-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:10px;display:grid}.mini-order-card{border:1px solid var(--crm-border);background:var(--crm-surface);min-width:0;color:var(--crm-text);border-radius:15px;padding:12px 14px}.mini-order-card.is-selected{border-color:var(--crm-focus);box-shadow:0 0 0 1px var(--crm-focus)}.mini-order-card header{align-items:center;gap:8px;min-height:28px;display:flex}.mini-order-card header a{color:var(--crm-link);font-size:13px;text-decoration:none}.mini-order-card header small{color:var(--crm-muted);font-size:10px}.mini-order-card header>b{margin-left:auto;font-size:15px}.mini-order-check{flex-shrink:0;place-items:center;width:28px;min-height:32px;display:grid}.mini-order-check input{width:15px;height:15px;accent-color:var(--crm-focus);margin:0}.mini-order-open{min-height:66px;color:var(--crm-text);justify-content:space-between;align-items:center;gap:10px;text-decoration:none;display:flex}.mini-order-open h2{overflow-wrap:anywhere;margin:5px 0;font-size:16px;line-height:1.35}.mini-order-open p{color:var(--crm-muted);margin:0 0 10px;font-size:12px;line-height:1.4}.mini-order-open svg{color:var(--crm-muted);flex-shrink:0}.mini-order-meta{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.mini-order-meta>span{align-items:center;gap:5px;font-size:11px;display:inline-flex}.mini-order-meta .mini-order-status{background:var(--crm-status-bg,#edf0f4);color:var(--crm-status-fg,#172033);border-radius:7px;padding:5px 8px;font-size:11px;font-weight:650}.mini-status-control{cursor:pointer;border-radius:8px;align-items:center;max-width:100%;min-height:44px;display:inline-flex;position:relative}.mini-status-control .mini-order-status{overflow-wrap:anywhere;align-items:center;gap:6px;min-width:0;display:inline-flex}.mini-status-control svg{flex-shrink:0}.mini-status-control select{opacity:0;cursor:pointer;width:100%;height:100%;font-size:16px;position:absolute;inset:0}.mini-status-control:focus-within{outline:2px solid var(--crm-focus);outline-offset:2px}.mini-status-control.is-disabled{opacity:.6;cursor:wait}.mini-status-control select:disabled{cursor:wait}.mini-status-feedback{top:calc(68px + var(--mini-safe-top));z-index:60;border:1px solid var(--crm-border);background:var(--crm-surface);color:var(--crm-link);border-radius:10px;align-items:flex-start;gap:10px;margin:0 0 12px;padding:10px 12px;font-size:12px;line-height:1.5;display:flex;position:sticky}.mini-status-feedback.is-warning{color:var(--crm-text)}.mini-status-feedback span{overflow-wrap:anywhere;flex:1}.mini-status-feedback button{background:var(--crm-surface-2);min-width:32px;min-height:32px;color:var(--crm-muted);cursor:pointer;border:0;border-radius:7px;flex-shrink:0;place-items:center;display:grid}.mini-order-city{color:var(--crm-muted);align-items:center;gap:5px;margin:10px 0 0;font-size:12px;display:flex}.mini-order-card footer{border-top:1px solid var(--crm-border);flex-wrap:wrap;align-items:center;gap:7px;min-height:30px;margin-top:12px;padding-top:9px;display:flex}.mini-order-payment{font-size:11px;font-weight:600}.mini-order-payment.paid{color:var(--crm-link)}.mini-order-balance{color:var(--crm-muted);font-size:10px}.mini-order-card footer a{width:38px;min-height:32px;color:var(--crm-link);background:var(--crm-surface-2,#edf3f0);border-radius:8px;place-items:center;margin-left:auto;text-decoration:none;display:grid}.mini-order-driver{color:var(--crm-muted);margin-top:8px;font-size:11px;display:block}.mini-shell .orders-search{flex-basis:100%;min-width:0;height:44px}.mini-shell .orders-search input{font-size:16px}.mini-shell :is(.date-shortcuts button,.filters-button){min-height:40px;font-size:12px}.mini-shell .status-tabs.compact button{min-height:38px;font-size:12px}.mini-shell .order-preferences{margin:8px 0 12px}.mini-shell .order-preferences summary{padding:8px 10px;font-size:12px}.login-page{background:radial-gradient(circle at 50% 20%,#3b485c1a,#0000 38%),#f4f6f8;place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{background:#fff;border:1px solid #e0e5eb;border-radius:18px;width:min(410px,100%);padding:30px;box-shadow:0 24px 70px #10182817}.login-brand{align-items:center;gap:12px;margin-bottom:28px;display:flex}.login-brand img{object-fit:contain;background:0 0;border:0;width:58px;height:58px;display:block}.login-brand strong{color:#111827;letter-spacing:.08em;font-size:12px;font-weight:900;display:block}.login-brand span{color:#8a95a5;letter-spacing:.12em;margin-top:3px;font-size:8px;font-weight:700;display:block}.login-welcome{margin-bottom:22px}.login-welcome p{color:#8a95a5;letter-spacing:.13em;margin:0;font-size:8px;font-weight:800}.login-welcome h1{color:#111827;margin:6px 0 0;font-size:27px;line-height:1.15}.login-welcome>span{color:#7b8798;margin-top:7px;font-size:10px;display:block}.login-card label{margin-top:12px;display:block}.login-card label small{color:#667085;margin-bottom:6px;font-size:8px;font-weight:800;display:block}.login-card input{color:#172033;background:#fff;border:1px solid #dce2e9;border-radius:10px;outline:none;width:100%;height:42px;padding:0 11px;font-size:11px;transition:border-color .15s,box-shadow .15s}.login-card input:focus{border-color:#9ba7b7;box-shadow:0 0 0 3px #1118270d}.login-card>button{color:#fff;cursor:pointer;background:#111827;border:0;border-radius:10px;width:100%;height:43px;margin-top:18px;font-size:10px;font-weight:800;transition:transform .15s,background .15s}.login-card>button:hover:not(:disabled){background:#1d2735;transform:translateY(-1px)}.login-card>button:disabled{opacity:.45;cursor:not-allowed}.login-error{color:#b42318;background:#fff1f0;border-radius:9px;margin-top:11px;padding:9px 10px;font-size:8px}.login-footer{color:#a0a9b7;text-align:center;letter-spacing:.08em;border-top:1px solid #edf0f3;margin-top:26px;padding-top:17px;font-size:7px}.login-footer strong{color:#667085;font-weight:800}html[data-theme=dark] .login-page{background:radial-gradient(circle at 50% 18%,#43536c33,#0000 35%),#090e15!important}html[data-theme=dark] .login-card{background:#121a24!important;border-color:#293647!important;box-shadow:0 26px 80px #00000052!important}html[data-theme=dark] .login-brand strong,html[data-theme=dark] .login-welcome h1{color:#f2f5f8!important}html[data-theme=dark] .login-brand span,html[data-theme=dark] .login-welcome p,html[data-theme=dark] .login-welcome>span,html[data-theme=dark] .login-card label small{color:#8491a4!important}html[data-theme=dark] .login-card input{color:#eef2f7!important;background:#0d151f!important;border-color:#303d4f!important}html[data-theme=dark] .login-card input:focus{border-color:#61728a!important;box-shadow:0 0 0 3px #7a91b014!important}html[data-theme=dark] .login-card>button{color:#101722!important;background:#edf1f6!important}html[data-theme=dark] .login-footer{color:#667488;border-color:#253142}html[data-theme=dark] .login-footer strong{color:#aeb9c8}.dashboard-page{--dash-surface:#fff;--dash-soft:#f7f9fc;--dash-ink:#192539;--dash-muted:#62718a;--dash-line:#e2e8f0;--dash-blue:#225db0;--dash-blue-bg:#eaf2ff;color:var(--dash-ink);max-width:1680px;margin:0 auto}html[data-theme=dark] .dashboard-page{--dash-surface:#172234;--dash-soft:#111c2c;--dash-ink:#eaf0f8;--dash-muted:#a4b3c9;--dash-line:#2d3c51;--dash-blue:#9bc4ff;--dash-blue-bg:#233e60}.dashboard-page a{color:inherit;text-decoration:none}.dashboard-page a:focus-visible,.dashboard-page button:focus-visible{outline:3px solid var(--dash-blue);outline-offset:4px}.dashboard-heading{margin:0 0 20px;padding-right:165px}.dashboard-heading .dashboard-eyebrow{color:var(--dash-muted);letter-spacing:.15em;margin:0 0 10px;font-size:11px;font-weight:800}.dashboard-heading h1{letter-spacing:-.04em;color:var(--dash-ink);margin:0 0 12px;font-size:clamp(28px,2.5vw,38px);line-height:1.1}.dashboard-heading p{color:var(--dash-muted);margin:0;font-size:14px;line-height:1.5}.dashboard-update{color:var(--dash-muted);justify-content:space-between;align-items:center;gap:12px;margin:0 0 16px;font-size:12px;display:flex}.dashboard-update button{border:1px solid var(--dash-line);background:var(--dash-surface);color:var(--dash-ink);border-radius:8px;align-items:center;gap:7px;min-height:36px;padding:9px 12px;display:flex}.dashboard-update button:disabled{opacity:.65;cursor:wait}.dashboard-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px;display:grid}.dashboard-metric{background:var(--dash-surface);border:1px solid var(--dash-line);border-radius:14px;padding:20px}.dashboard-metric>div{color:var(--dash-muted);justify-content:space-between;align-items:flex-start;gap:8px;min-height:36px;font-size:13px;line-height:1.4;display:flex}.dashboard-metric svg{color:var(--dash-blue);flex-shrink:0}.dashboard-metric>strong{letter-spacing:-.04em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:17px 0 8px;font-size:clamp(24px,2.1vw,34px);line-height:1.1;display:block}.dashboard-metric small{color:var(--dash-muted);font-size:11px;line-height:1.5;display:block}.dashboard-work-grid{grid-template-columns:minmax(0,1.8fr) minmax(275px,1fr);align-items:start;gap:22px;display:grid}.dashboard-card{background:var(--dash-surface);border:1px solid var(--dash-line);border-radius:14px;overflow:hidden}.dashboard-card h2{color:var(--dash-ink);letter-spacing:-.02em;margin:0;font-size:17px}.dashboard-section-head{justify-content:space-between;align-items:center;gap:16px;padding:22px 24px;display:flex}.dashboard-section-head p,.dashboard-finance>p{color:var(--dash-muted);margin:7px 0 0;font-size:12px;line-height:1.5}.dashboard-section-head>a,.dashboard-empty a{color:var(--dash-blue);white-space:nowrap;align-items:center;gap:5px;font-size:12px;font-weight:700;display:inline-flex}.dashboard-agenda-row{border-top:1px solid var(--dash-line);grid-template-columns:128px minmax(0,1fr) auto 17px;align-items:center;gap:16px;padding:19px 24px;transition:background .15s;display:grid}.dashboard-agenda-row:hover{background:var(--dash-soft)}.dashboard-agenda-time{color:var(--dash-muted);gap:7px;font-size:12px;line-height:1.5;display:flex}.dashboard-agenda-time svg{flex-shrink:0;margin-top:2px}.dashboard-agenda-order{gap:5px;min-width:0;display:grid}.dashboard-agenda-order strong{font-size:14px}.dashboard-agenda-order span{overflow-wrap:anywhere;font-size:13px}.dashboard-agenda-order small{color:var(--dash-muted);font-size:12px}.dashboard-agenda-row>svg{color:var(--dash-muted)}.dashboard-badge{color:var(--dash-blue);background:var(--dash-blue-bg);overflow-wrap:anywhere;border-radius:7px;max-width:140px;padding:5px 9px;font-size:11px;font-weight:700}.dashboard-badge.delivery{color:#6e489e;background:#f2eafb}html[data-theme=dark] .dashboard-badge.delivery{color:#d9bcff;background:#39294e}.dashboard-side{gap:20px;display:grid}.dashboard-shortcuts{padding:22px}.dashboard-shortcuts>h2{margin-bottom:15px}.dashboard-shortcuts>a{align-items:center;gap:12px;padding:13px 0;display:flex}.dashboard-shortcuts>a+a{border-top:1px solid var(--dash-line)}.dashboard-shortcut-icon{background:var(--dash-soft);width:39px;height:39px;color:var(--dash-blue);border-radius:10px;flex-shrink:0;place-items:center;display:grid}.dashboard-shortcuts a>span:nth-child(2){flex:1;gap:5px;display:grid}.dashboard-shortcuts strong{font-size:13px}.dashboard-shortcuts small{color:var(--dash-muted);font-size:11px;line-height:1.4}.dashboard-shortcuts a:hover strong{color:var(--dash-blue)}.dashboard-finance{padding:22px}.dashboard-finance>p{margin-bottom:16px}.dashboard-finance>div{border-bottom:1px solid var(--dash-line);justify-content:space-between;gap:12px;padding:11px 0;font-size:13px;display:flex}.dashboard-finance>div>span{color:var(--dash-muted)}.dashboard-finance>div>strong{font-variant-numeric:tabular-nums}.dashboard-finance>small{color:var(--dash-muted);margin-top:14px;font-size:11px;line-height:1.6;display:block}.dashboard-statuses{margin-top:24px}.dashboard-status-grid{grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:12px;padding:0 24px 24px;display:grid}.dashboard-status-grid>div{background:var(--dash-soft);border-radius:9px;gap:7px;padding:17px 14px;display:grid}.dashboard-status-grid strong{letter-spacing:-.04em;font-size:25px}.dashboard-status-grid span{color:var(--dash-muted);overflow-wrap:anywhere;font-size:12px}.dashboard-empty{text-align:center;min-height:240px;color:var(--dash-muted);flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:50px 24px;font-size:13px;display:flex}.dashboard-empty strong{color:var(--dash-ink);font-size:15px}.dashboard-alert{color:#6a4515;background:#fff5e4;border:1px solid #cf903c;border-radius:9px;margin-bottom:18px;padding:15px;font-size:13px;line-height:1.5}html[data-theme=dark] .dashboard-alert{color:#f6d19e;background:#3a2c1c}.dashboard-spin{animation:1.2s linear infinite dashboard-spin}@keyframes dashboard-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.dashboard-spin{animation:none}.dashboard-agenda-row{transition:none}}@media (width<=1150px){.dashboard-work-grid{grid-template-columns:minmax(0,1fr)}.dashboard-side{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-metrics{gap:12px}.dashboard-metric{padding:16px}}@media (width<=850px){.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-heading{padding-right:0}.dashboard-side{grid-template-columns:minmax(0,1fr)}.dashboard-section-head{flex-wrap:wrap;padding:20px}.dashboard-agenda-row{grid-template-columns:105px minmax(0,1fr) auto;gap:12px;padding:17px 20px}.dashboard-agenda-row>svg{display:none}}.filters-popover{max-height:min(75dvh,680px);overflow-y:auto}.order-filter-select{min-width:0}.order-filter-label{color:#7f8999;margin-bottom:4px;font-size:8px;font-weight:700;display:block}.order-filter-trigger{color:#172033;text-align:left;width:100%;min-height:33px;font:inherit;cursor:pointer;background:#fff;border:1px solid #dfe4ea;border-radius:7px;align-items:center;gap:6px;padding:7px 8px;font-size:9px;display:flex}.order-filter-trigger>span{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.order-filter-trigger>small{color:#13795b;text-align:center;background:#e8f7ef;border-radius:6px;min-width:19px;padding:2px 4px;font-size:9px;font-weight:750}.order-filter-trigger svg{flex-shrink:0}.order-filter-trigger:focus-visible,.order-filter-done:focus-visible{outline-offset:2px;outline:2px solid #168263}.order-filter-choices{background:#f8fafb;border:1px solid #dfe4ea;border-radius:8px;margin-top:5px;padding:7px}.order-filter-choices>p{color:#657186;margin:0 0 4px;font-size:9px}.order-filter-options{max-height:200px;overflow-y:auto}.filters-popover .order-filter-choice{cursor:pointer;border-radius:5px;align-items:center;gap:8px;min-height:33px;padding:4px;display:flex}.filters-popover .order-filter-choice:hover{background:#e8f4ef}.filters-popover .order-filter-choice>input{accent-color:#168263;flex:0 0 16px;width:16px;height:16px;margin:0;padding:0}.filters-popover .order-filter-choice>span{color:#253245;overflow-wrap:anywhere;margin:0;font-size:10px;font-weight:500}.order-filter-done{color:#13795b;cursor:pointer;background:#fff;border:1px solid #cdded6;border-radius:6px;width:100%;min-height:30px;margin-top:5px;font-size:10px;font-weight:700}html[data-theme=dark] .order-filter-label,html[data-theme=dark] .order-filter-choices>p{color:#9daec3}html[data-theme=dark] .order-filter-trigger,html[data-theme=dark] .order-filter-done{color:#edf2f7;background:#0f1722;border-color:#303d4f}html[data-theme=dark] .order-filter-choices{background:#111b27;border-color:#303d4f}html[data-theme=dark] .filters-popover .order-filter-choice>span{color:#edf2f7}html[data-theme=dark] .filters-popover .order-filter-choice:hover{background:#243d36}html[data-theme=dark] .order-filter-trigger>small{color:#ade3cd;background:#24483c}@media (width<=640px){.order-filter-trigger{min-height:42px;font-size:13px}.order-filter-label,.order-filter-choices>p{font-size:11px}.filters-popover .order-filter-choice{min-height:40px}.filters-popover .order-filter-choice>span{font-size:13px}.order-filter-done{min-height:38px;font-size:12px}}.driver-select{width:100%;min-width:0;position:relative}.driver-select select{border:1px solid var(--crm-border);background:var(--crm-input);width:100%;min-width:0;height:27px;color:var(--crm-text);font:inherit;cursor:pointer;border-radius:7px;padding:0 5px;font-size:10px}.driver-select select:focus-visible{outline:2px solid var(--crm-focus);outline-offset:2px}.driver-select select:disabled{cursor:default}.driver-error{z-index:15;background:var(--crm-surface);width:230px;max-width:80vw;color:var(--crm-text);border:1px solid #c4453c;border-radius:8px;padding:10px;font-size:12px;position:absolute;top:100%;right:0}.driver-saving{color:var(--crm-muted);font-size:9px;position:absolute}@media (width>=1151px){.work-order-summary.has-driver{grid-template-columns:repeat(6,minmax(0,1fr))}}@media (width>=769px){.orders-with-driver:not(.orders-personal) :is(.orders-table-head,.orders-table-row){grid-template-columns:minmax(112px,.98fr) minmax(105px,.9fr) minmax(92px,.72fr) minmax(100px,.78fr) minmax(125px,.92fr) minmax(84px,.48fr) minmax(92px,.62fr) minmax(92px,.67fr) minmax(72px,.5fr) minmax(65px,.42fr) 24px}.orders-with-driver:not(.orders-personal) :is(.orders-table-head,.orders-table-row)>:nth-child(n+6){order:1}.orders-with-driver:not(.orders-personal) :is(.orders-table-head,.orders-table-row)>.driver-column{order:0;position:relative;left:clamp(-16px,128px - 10vw,0px)}.orders-with-driver.orders-personal :is(.orders-table-head,.orders-table-row)>.driver-column{order:var(--order-driver)}.orders-with-driver.orders-personal.hide-driver :is(.orders-table-head,.orders-table-row)>.driver-column{display:none}.orders-with-driver :is(.orders-table-head,.orders-table-row)>*{min-width:0}.orders-with-driver .order-client>span{overflow-wrap:anywhere}}@media (width<=768px){.orders-with-driver .orders-table-row{grid-template-areas:"client price""phone price""device device""status status""date date""driver driver""payment payment""assignee invoice"!important}.orders-with-driver .driver-column{grid-area:driver;align-items:center;gap:12px;display:flex}.orders-with-driver .driver-column:before{content:"Водитель";color:var(--crm-muted);font-size:11px}.orders-with-driver .driver-select{max-width:170px;margin-left:auto}.orders-with-driver .driver-select select,.work-order-summary.has-driver .driver-select select{height:36px;font-size:14px}}.driver-settings{border:1px solid var(--crm-border);background:var(--crm-surface);color:var(--crm-text);border-radius:12px;margin-top:20px;padding:16px}.driver-settings h2{margin:0 0 8px;font-size:18px}.driver-settings p{color:var(--crm-muted);font-size:12px;line-height:1.5}.driver-profile{border-top:1px solid var(--crm-border);grid-template-columns:minmax(100px,1fr) 110px minmax(140px,200px) auto;align-items:center;gap:12px;padding:12px 0;font-size:12px;display:grid}.driver-profile label{align-items:center;gap:8px;display:flex}.driver-profile label:has(input:not([type=checkbox])){gap:4px;font-size:10px;display:grid}.driver-profile input:not([type=checkbox]),.driver-profile button{border:1px solid var(--crm-border);background:var(--crm-input);width:100%;min-width:0;height:34px;color:var(--crm-text);border-radius:7px;padding:0 8px}.driver-profile input[type=checkbox]{width:14px;height:14px;accent-color:var(--crm-focus)}.driver-profile small{color:var(--crm-muted);display:block}.driver-profile>span{color:var(--crm-muted);grid-column:1/-1}@media (width<=600px){.driver-profile{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.driver-profile input:not([type=checkbox]){font-size:16px}.driver-profile button{height:40px}}.orders-results-line{justify-content:space-between;align-items:center;gap:8px 16px;margin:0 0 10px;display:flex}.orders-results-line .orders-results-summary{min-width:0;margin:0}.dispatch-toolbar{color:var(--text,#202b3e);flex-shrink:0;justify-content:flex-end;align-items:center;gap:6px;display:flex}.dispatch-toolbar .dispatch-count{color:var(--muted,#65748d);font-size:12px}.dispatch-toolbar button{border:1px solid var(--border,#dfe5ef);background:var(--surface,#fff);min-height:26px;color:inherit;cursor:pointer;white-space:nowrap;border-radius:6px;justify-content:center;align-items:center;gap:4px;padding:3px 8px;font-family:inherit;font-size:12px;font-weight:600;line-height:18px;display:inline-flex}.dispatch-toolbar .dispatch-clear{width:26px;padding:3px}.dispatch-dialog button{border:1px solid var(--border,#dfe5ef);background:var(--surface,#fff);min-height:40px;color:inherit;cursor:pointer;font:inherit;border-radius:9px;padding:8px 13px;font-weight:600}.dispatch-toolbar button:disabled,.dispatch-dialog button:disabled{opacity:.5;cursor:not-allowed}.dispatch-toolbar .dispatch-primary,.dispatch-dialog .dispatch-primary{color:#fff;background:#167c58;border-color:#167c58}.dispatch-client{padding-left:22px;position:relative}.dispatch-select{cursor:pointer;justify-content:center;align-items:center;width:20px;min-height:28px;display:inline-flex;position:absolute;top:0;left:0}.dispatch-select input{accent-color:#16835e;flex:none;width:13px;height:13px;margin:0}.dispatch-confirm input{accent-color:#16835e;flex:none;width:18px;height:18px;margin:0}.orders-table-panel .orders-table-row.dispatch-selected{box-shadow:inset 3px 0 #16835e;background:var(--dispatch-selected,#eff9f5)!important}.dispatch-dialog{border:1px solid var(--border,#dfe5ef);background:var(--surface,#fff);width:min(720px,100vw - 32px);max-height:calc(100dvh - 32px);color:var(--text,#202b3e);border-radius:16px;padding:0;box-shadow:0 24px 80px #0004}.dispatch-dialog::backdrop{background:#0a142c88}.dispatch-dialog header{border-bottom:1px solid var(--border,#dfe5ef);justify-content:space-between;align-items:center;padding:20px 24px 16px;display:flex}.dispatch-dialog header small{letter-spacing:.08em;color:var(--muted,#65748d);font-size:11px}.dispatch-dialog h2{margin:5px 0 0;font-size:22px}.dispatch-dialog .dispatch-icon{place-items:center;padding:8px;display:grid}.dispatch-dialog form{margin:0}.dispatch-dialog-body{padding:18px 24px}.dispatch-fields{border:0;grid-template-columns:1fr 1fr;gap:14px;min-width:0;margin:0;padding:0;display:grid}.dispatch-fields label{flex-direction:column;gap:7px;min-width:0;font-size:13px;font-weight:600;display:flex}.dispatch-fields select,.dispatch-fields input{box-sizing:border-box;border:1px solid var(--border,#dfe5ef);width:100%;min-width:0;min-height:44px;font:inherit;color:inherit;background:var(--surface,#fff);border-radius:9px;padding:10px}.dispatch-explanation{color:var(--muted,#65748d);margin:12px 0;font-size:13px;line-height:1.5}.dispatch-review{border:1px solid var(--border,#dfe5ef);border-radius:10px;max-height:280px;overflow:auto}.dispatch-review article{padding:12px}.dispatch-review article+article{border-top:1px solid var(--border,#dfe5ef)}.dispatch-review article>div{flex-wrap:wrap;gap:10px;font-size:14px;display:flex}.dispatch-review p{overflow-wrap:anywhere;margin:5px 0 0;font-size:13px;line-height:1.5}.dispatch-review p>span{margin:0 6px}.dispatch-confirm{cursor:pointer;align-items:flex-start;gap:10px;margin:18px 0 0;font-size:14px;line-height:1.5;display:flex}.dispatch-confirm input{margin-top:2px}.dispatch-dialog footer{border-top:1px solid var(--border,#dfe5ef);flex-wrap:wrap;align-items:center;gap:8px;padding:16px 24px;display:flex}.dispatch-dialog footer>span{color:var(--muted,#65748d);flex:200px;font-size:12px;line-height:1.5}.dispatch-result.updated,.dispatch-result.unchanged{color:#147650}.dispatch-result.failed,.dispatch-result.unknown{color:#ba322a}.dispatch-result.skipped{color:var(--muted,#65748d)}[data-theme=dark] .dispatch-toolbar,[data-theme=dark] .dispatch-dialog{--surface:#182334;--text:#edf2fa;--muted:#a9b9cf;--border:#354256;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}[data-theme=dark] .orders-table-row.dispatch-selected{--dispatch-selected:#15392e}[data-theme=dark] .dispatch-result.updated,[data-theme=dark] .dispatch-result.unchanged{color:#83ddb4}[data-theme=dark] .dispatch-result.failed,[data-theme=dark] .dispatch-result.unknown{color:#ffaaa4}@media (width<=640px){.orders-results-line{gap:8px}.orders-results-line .orders-results-summary{font-size:11px;line-height:1.4}.dispatch-toolbar{gap:4px}.dispatch-toolbar .dispatch-count{font-size:11px}.dispatch-count-label{display:none}.dispatch-hidden-count{max-width:60px;font-size:10px;display:block}.dispatch-toolbar button{min-height:28px;padding:4px 6px;font-size:11px}.dispatch-toolbar .dispatch-clear{width:24px;padding:4px}.dispatch-select{min-height:36px}.dispatch-dialog{border-radius:14px;width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.dispatch-dialog header,.dispatch-dialog footer,.dispatch-dialog-body{padding:16px}.dispatch-fields{grid-template-columns:1fr}.dispatch-fields input,.dispatch-fields select{font-size:16px}.dispatch-dialog footer>span{flex-basis:100%}.dispatch-dialog footer button{flex:1;min-height:44px}.dispatch-review{max-height:210px}}@media (width<=760px){.order-items-panel .order-items-head{align-items:center;gap:8px;padding:10px}.order-items-panel .order-items-head h3{font-size:14px}.order-items-panel .order-items-head p{font-size:10px;line-height:1.4}.order-items-panel .order-items-head button{flex-shrink:0;min-height:40px;font-size:10px}.order-items-panel .order-item-card{grid-template-columns:minmax(0,1fr) 36px;gap:6px;padding:10px}.order-items-panel .order-item-index{grid-area:1/1;align-self:center;font-size:11px}.order-items-panel .order-item-delete{grid-area:1/2;width:36px;height:36px}.order-items-panel .order-item-fields{grid-area:2/1/auto/-1}.order-items-panel .order-item-fields,.order-items-panel .order-item-add{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-width:0}.order-items-panel .order-item-add{padding:10px}.order-items-panel .order-item-inline{min-width:0;padding:6px 8px}.order-items-panel .order-item-inline span{font-size:10px;line-height:1.4}.order-items-panel .order-item-inline.wide,.order-items-panel .order-item-device,.order-items-panel .order-item-choice,.order-items-panel .order-item-add>textarea,.order-items-panel .order-item-price-discount,.order-items-panel .order-item-add-price,.order-items-panel .order-item-actions{grid-column:1/-1}.order-items-panel .order-item-fields :is(input,select,textarea),.order-items-panel .order-item-add :is(input,select,textarea){box-sizing:border-box;width:100%;min-width:0;color:var(--crm-text,#172033);font-family:inherit;line-height:1.4;min-height:32px!important;font-size:16px!important}.order-items-panel .order-item-inline :is(input,select){background:0 0;padding:3px 0}.order-items-panel .order-item-inline textarea{resize:vertical;background:0 0;border:0;outline:0;padding:3px 0;display:block}.order-items-panel .order-item-fields textarea,.order-items-panel .order-item-add textarea{min-height:48px!important}.order-items-panel .order-item-description textarea,.order-items-panel .order-item-add>.order-item-description{min-height:72px!important}.order-items-panel .order-item-inline:focus-within{border-color:#558de2}.order-items-panel .order-item-price-discount,.order-items-panel .order-item-add-price{box-sizing:border-box;grid-template-columns:minmax(0,1fr) minmax(0,.8fr) minmax(0,1fr);align-items:end;gap:8px;width:100%;max-width:316px}.order-items-panel .order-item-final-price{min-width:0}.order-items-panel .order-item-final-price strong{font-variant-numeric:tabular-nums;align-items:center;min-height:32px;font-size:16px;display:flex}.order-items-panel .order-item-price-discount label>span,.order-items-panel .order-item-final-price>span{white-space:normal}.order-items-panel .order-item-add-final{min-height:36px;font-size:14px}.order-items-panel .order-item-actions button{min-height:36px;font-size:11px}.order-items-panel .order-items-total{font-size:11px}html[data-theme=dark] .order-items-panel .order-item-inline textarea{color:#edf2f7;background:#0f1722;border-radius:4px;padding:3px 5px}}.orders-header{margin-bottom:18px}.orders-header p{color:#8b95a6;letter-spacing:.12em;margin:0 0 4px;font-size:9px;font-weight:800}.orders-header h1{margin:0;font-size:27px}.orders-header>div>span{color:#8b95a6;margin-top:4px;font-size:11px;display:block}.orders-toolbar{flex-wrap:wrap;gap:7px;margin-bottom:9px;display:flex}.orders-search{background:#fff;border:1px solid #e2e6ec;border-radius:9px;flex:1;align-items:center;gap:8px;min-width:260px;height:38px;padding:0 11px;display:flex}.orders-search input{background:0 0;border:0;outline:0;width:100%;font-size:11px}.orders-toolbar select,.date-shortcuts button{background:#fff;border:1px solid #e2e6ec;border-radius:8px;height:38px;padding:0 10px;font-size:10px}.date-shortcuts{gap:4px;display:flex}.status-tabs{gap:5px;margin-bottom:10px;display:flex;overflow-x:auto}.status-tabs.compact button{border-radius:8px;min-height:34px;padding:0 9px;font-size:10px}.status-tabs button{white-space:nowrap;background:#fff;border:1px solid #e2e6ec;align-items:center;gap:6px;display:flex}.status-tabs button strong{background:#f0f2f5;border-radius:20px;place-items:center;min-width:18px;height:18px;padding:0 5px;font-size:9px;display:grid}.status-tabs button.active{color:#fff;background:#111827;border-color:#111827}.status-tabs button.active strong{background:#2c374a}.orders-table-panel{background:#fff;border:1px solid #e3e7ed;border-radius:12px;overflow:hidden}.orders-table-head,.orders-table-row{grid-template-columns:minmax(118px,1.08fr) minmax(105px,.9fr) minmax(92px,.72fr) minmax(100px,.78fr) minmax(125px,.92fr) minmax(98px,.72fr) minmax(92px,.67fr) minmax(72px,.5fr) minmax(70px,.48fr) 24px;align-items:center;gap:8px;display:grid}.orders-table-head{color:#8892a2;text-transform:uppercase;letter-spacing:.035em;background:#f8f9fb;min-height:36px;padding:0 12px;font-size:8px;font-weight:800}.orders-table-row{color:#172033;cursor:pointer;background:#fff;border-top:1px solid #edf0f3;min-height:61px;padding:8px 12px}.orders-table-row:hover,.orders-table-row.expanded{background:#fafbfc}.orders-table-row strong{font-size:10px;display:block}.orders-table-row small{color:#8a94a5;margin-top:3px;font-size:8px;display:block}.order-client>strong{color:#596579;font-size:8px}.order-client>span{margin-top:3px;font-size:10px;font-weight:750;display:block}.inline-status{cursor:pointer;border:0;border-radius:20px;outline:none;max-width:100px;height:27px;padding:0 7px;font-size:9px;font-weight:750}.status-new{color:#2563eb;background:#eaf3ff}.status-diagnosis{color:#7c3aed;background:#f3efff}.status-approval{color:#b7791f;background:#fff7df}.status-repair{color:#d45a24;background:#fff0e9}.status-parts{color:#9b4dca;background:#f9efff}.status-ready,.status-completed{color:#16835b;background:#e9f7f0}.status-cancelled{color:#747e8e;background:#f2f3f5}.inline-date-cell input{color:#172033;background:0 0;border:0;outline:none;width:120px;font-size:9px;font-weight:700}.inline-date-cell input::-webkit-calendar-picker-indicator{opacity:.55;cursor:pointer}.order-payment{border-radius:20px;align-items:center;min-height:22px;padding:0 7px;font-size:8px;font-weight:750;display:inline-flex}.order-payment.unpaid{color:#c4453c;background:#fff0ef}.order-payment.partial{color:#a76b12;background:#fff7df}.order-payment.paid{color:#178352;background:#e8f7ef}.assignee-cell{align-items:center;gap:5px;display:flex}.assignee-avatar{color:#fff;background:#111827;border-radius:7px;place-items:center;width:22px;height:22px;font-size:7px;font-weight:800;display:grid}.invoice-cell{color:#657186;align-items:center;gap:4px;font-size:8px;display:flex}.order-price{font-size:11px;font-weight:800}.expand-icon{color:#929bab;justify-content:flex-end;display:flex}.expanded-order{background:#f7f9fb;border-top:1px solid #e4e8ee;padding:12px}.order-summary-strip{grid-template-columns:repeat(6,1fr);gap:6px;margin-bottom:8px;display:grid}.summary-item{background:#fff;border:1px solid #e3e7ed;border-radius:8px;padding:8px 9px}.summary-item span{color:#8b95a6;margin-bottom:3px;font-size:7px;display:block}.summary-item strong{font-size:10px}.summary-item strong.good{color:#16835b}.summary-item strong.warn{color:#b7791f}.order-quick-actions{gap:6px;margin-bottom:8px;display:flex}.order-quick-actions button,.order-quick-actions a{color:#344054;background:#fff;border:1px solid #dfe4ea;border-radius:8px;align-items:center;gap:5px;height:30px;padding:0 9px;font-size:9px;font-weight:700;text-decoration:none;display:inline-flex}.order-tabs{border-bottom:1px solid #e2e6ec;gap:4px;margin-bottom:9px;display:flex}.order-tabs button{color:#7c8799;background:0 0;border:0;border-bottom:2px solid #0000;align-items:center;gap:5px;height:33px;padding:0 10px;font-size:9px;font-weight:700;display:flex}.order-tabs button.active{color:#111827;border-bottom-color:#111827}.autosave-line{color:#8792a3;align-items:center;gap:5px;margin:0 0 6px 2px;font-size:8px;display:flex}.editable-grid{grid-template-columns:1.25fr 1.15fr .5fr .8fr .85fr .75fr .85fr 1fr;align-items:stretch;gap:6px;display:grid}.editable-field{background:#fff;border:1px solid #e4e8ee;border-radius:8px;flex-direction:column;min-height:54px;padding:8px 9px;display:flex}.editable-field span{color:#929baa;margin-bottom:4px;font-size:8px;display:block}.editable-field input{width:100%;font:inherit;color:#172033;background:0 0;border:0;outline:none;padding:0;font-size:10px;font-weight:700}.editable-field input:focus{background:#fbfcfe}.editable-field.readonly strong{font-size:10px}.editable-field.tiny,.editable-field.small,.editable-field.medium{grid-column:span 1}.editable-field.wide{grid-column:span 2}.invoice-controls{grid-column:span 2;grid-template-columns:1fr 1fr;gap:6px;display:grid}.invoice-controls label{background:#fff;border:1px solid #e4e8ee;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;min-height:54px;padding:8px 9px;display:flex}.invoice-controls span{color:#596579;font-size:9px;font-weight:700}.invoice-controls input{width:16px;height:16px}.phone-note{color:#9aa3b2;margin-top:6px;font-size:7px}.payment-summary{grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:8px;display:grid}.payment-metric{background:#fff;border:1px solid #e4e8ee;border-radius:8px;padding:10px}.payment-metric span{color:#8d97a7;font-size:8px;display:block}.payment-metric strong{margin-top:4px;font-size:16px;display:block}.payment-metric strong.positive{color:#16835b}.payment-metric strong.warning{color:#b7791f}.payment-add{background:#fff;border:1px solid #e4e8ee;border-radius:8px;grid-template-columns:110px 120px 1fr auto;align-items:end;gap:7px;margin-bottom:8px;padding:9px;display:grid}.payment-add label{color:#8d97a7;margin-bottom:4px;font-size:8px;display:block}.payment-add input,.payment-add select{border:1px solid #dfe4ea;border-radius:7px;width:100%;height:32px;padding:0 8px;font-size:9px}.payment-add button{color:#fff;background:#111827;border:0;border-radius:7px;align-items:center;gap:4px;height:32px;padding:0 10px;font-size:9px;font-weight:700;display:flex}.payment-entry{border-bottom:1px solid #e8ebef;grid-template-columns:120px 1fr 140px 34px;align-items:center;gap:8px;padding:9px 2px;display:grid}.payment-entry.cancelled{opacity:.45}.payment-entry strong{font-size:10px}.payment-entry span,.payment-entry small{color:#7f8999;font-size:8px;display:block}.payment-entry button{background:#fff;border:1px solid #e2e6ec;border-radius:7px;place-items:center;width:27px;height:27px;display:grid}.cancelled-label{color:#b42318;font-size:8px}.order-notes{background:#fff;border:1px solid #e1e5eb;border-radius:9px;overflow:hidden}.notes-title{border-bottom:1px solid #edf0f3;justify-content:space-between;align-items:center;min-height:55px;padding:10px 12px;display:flex}.notes-title>div{align-items:center;gap:8px;display:flex}.notes-title h3{margin:0;font-size:11px}.notes-title p{color:#9099a8;margin:2px 0 0;font-size:8px}.notes-title>span{background:#f0f2f5;border-radius:30px;place-items:center;min-width:23px;height:23px;font-size:8px;font-weight:800;display:grid}.note-editor{background:#fafbfc;border-bottom:1px solid #edf0f3;padding:10px}.note-editor textarea{resize:vertical;width:100%;min-height:70px;font:inherit;border:1px solid #dfe4ea;border-radius:7px;outline:0;padding:9px;font-size:9px;line-height:1.5}.note-attachment-picker,.note-editor-footer{justify-content:space-between;align-items:center;gap:8px;margin-top:7px;display:flex}.attach-button{cursor:pointer;background:#fff;border:1px solid #dfe4ea;border-radius:7px;align-items:center;gap:5px;height:30px;padding:0 9px;font-size:8px;font-weight:700;display:inline-flex}.attach-button input{display:none}.note-attachment-picker>span,.note-editor-footer>span{color:#929baa;font-size:7px}.note-editor-footer button{color:#fff;background:#111827;border:0;border-radius:7px;height:30px;padding:0 10px;font-size:9px;font-weight:700}.pending-images,.note-images{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.pending-image,.note-image{background:#f5f6f8;border:1px solid #dfe4ea;border-radius:7px;width:74px;height:58px;position:relative;overflow:hidden}.pending-image img,.note-image img{object-fit:cover;width:100%;height:100%}.pending-image button,.note-image button{color:#fff;background:#111827d1;border:0;border-radius:6px;place-items:center;width:20px;height:20px;display:grid;position:absolute;top:3px;right:3px}.notes-feed{padding:3px 12px 7px}.note-item{border-bottom:1px solid #edf0f3;gap:8px;padding:10px 0;display:flex}.note-avatar{color:#fff;background:#1f2937;border-radius:8px;flex:0 0 28px;place-items:center;width:28px;height:28px;font-size:8px;font-weight:800;display:grid}.note-content{flex:1;min-width:0}.note-content header{align-items:baseline;gap:7px;display:flex}.note-content header strong{font-size:9px}.note-content time{color:#9ba3b0;font-size:7px}.note-content p{color:#424d60;white-space:pre-wrap;word-break:break-word;margin:5px 0 0;font-size:9px;line-height:1.55}.no-notes,.notes-loading,.empty-tab{color:#929baa;text-align:center;padding:18px;font-size:9px}.whatsapp-tab{background:#fff;border:1px solid #e4e8ee;border-radius:9px;align-items:flex-start;gap:12px;padding:16px;display:flex}.whatsapp-icon{color:#1f9d59;background:#eaf8ef;border-radius:11px;place-items:center;width:42px;height:42px;display:grid}.whatsapp-tab h3{margin:0 0 4px;font-size:11px}.whatsapp-tab p{color:#7f8999;margin:0 0 9px;font-size:9px}.whatsapp-tab a{color:#fff;background:#111827;border-radius:7px;align-items:center;height:30px;padding:0 10px;font-size:9px;font-weight:700;text-decoration:none;display:inline-flex}.history-list{padding:3px 2px}.history-entry{border-bottom:1px solid #e8ebef;gap:10px;padding:9px 0 9px 18px;display:flex;position:relative}.history-dot{background:#7c8aa0;border-radius:50%;width:7px;height:7px;position:absolute;top:14px;left:2px}.history-entry strong{font-size:9px}.history-entry p{color:#596579;margin:3px 0;font-size:9px}.history-entry small{color:#98a1af;font-size:7px}.empty-orders{color:#8993a4;text-align:center;padding:38px;font-size:10px}@media (width<=1250px){.orders-table-panel{overflow-x:auto}.orders-table-head,.orders-table-row{min-width:1120px}.editable-grid{grid-template-columns:repeat(4,1fr)}.order-summary-strip{grid-template-columns:repeat(3,1fr)}}@media (width<=700px){.payment-add{grid-template-columns:1fr 1fr}.payment-comment{grid-column:span 2}.editable-grid{grid-template-columns:1fr 1fr}.editable-field.wide,.invoice-controls{grid-column:span 2}.order-summary-strip{grid-template-columns:1fr 1fr}}.orders-table-head{font-size:9px}.orders-table-row strong{font-size:11px}.orders-table-row small,.order-client>strong{font-size:9px}.order-client>span{font-size:11px}.phone-cell strong,.inline-status,.inline-date-cell input{font-size:10px}.order-payment{font-size:9px}.assignee-cell strong{font-size:10px}.invoice-cell{font-size:9px}.order-price{font-size:12px}.editable-field span{font-size:8px}.editable-field input,.editable-field.readonly strong{font-size:11px}.assignee-select{align-items:center;gap:6px;width:100%;display:flex}.assignee-select-avatar{color:#fff;background:#111827;border-radius:7px;place-items:center;width:26px;height:26px;font-size:8px;font-weight:800;display:grid}.assignee-select select{background:#fff;border:1px solid #dfe4ea;border-radius:7px;width:100%;height:30px;padding:0 7px;font-size:9px;font-weight:700}.assignee-select.compact select{background:#f3f5f7;border-color:#0000;height:27px}.order-items-panel{background:#fff;border:1px solid #e3e7ed;border-radius:10px;margin-top:10px;overflow:hidden}.order-items-head{border-bottom:1px solid #edf0f3;justify-content:space-between;padding:10px 12px;display:flex}.order-items-head h3{margin:0;font-size:11px}.order-items-head p{color:#8b95a6;margin:2px 0 0;font-size:8px}.order-items-head button{color:#fff;background:#111827;border:0;border-radius:7px;align-items:center;gap:4px;height:30px;padding:0 9px;font-size:8px;font-weight:700;display:flex}.order-item-add{background:#fafbfc;grid-template-columns:repeat(4,1fr);gap:6px;padding:10px 12px;display:grid}.order-item-add input,.order-item-add textarea{border:1px solid #dfe4ea;border-radius:7px;padding:7px;font-size:9px}.order-item-actions{grid-column:span 4;justify-content:flex-end;gap:6px;display:flex}.order-item-actions button{border-radius:7px;height:30px;padding:0 10px;font-size:8px}.order-item-actions .primary{color:#fff;background:#111827;border:0}.order-item-card{border-top:1px solid #edf0f3;grid-template-columns:24px 1fr 30px;gap:7px;padding:9px 12px;display:grid}.order-item-index{background:#f2f4f7;border-radius:7px;place-items:center;width:22px;height:22px;font-size:8px;display:grid}.order-item-fields{grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.order-item-inline{border:1px solid #e4e8ee;border-radius:7px;padding:7px}.order-item-inline.wide{grid-column:span 2}.order-item-inline span{color:#8b95a6;font-size:8px;display:block}.order-item-inline input{border:0;outline:0;width:100%;font-size:9px}.order-item-delete{color:#b42318;background:#fff;border:1px solid #e2e6ec;border-radius:7px;width:27px;height:27px}.order-items-empty{text-align:center;color:#98a1af;padding:18px;font-size:9px}.order-items-total{background:#fafbfc;border-top:1px solid #edf0f3;justify-content:flex-end;gap:10px;padding:9px 12px;font-size:9px;display:flex}.order-item-inline select{background:0 0;border:0;width:100%;height:22px;font-size:9px}.order-item-add.v2 select{background:#fff;border:1px solid #dfe4ea;border-radius:7px;height:32px;font-size:9px}.date-shortcuts button.active,.filters-button.active{color:#fff!important;background:#111827!important;border-color:#111827!important}.filters-menu-wrap{position:relative}.filters-button{background:#fff;border:1px solid #e2e6ec;border-radius:8px;align-items:center;gap:5px;height:38px;padding:0 10px;font-size:10px;font-weight:700;display:flex}.filters-popover{z-index:50;background:#fff;border:1px solid #dfe4ea;border-radius:11px;gap:8px;width:310px;padding:11px;display:grid;position:absolute;top:44px;right:0;box-shadow:0 14px 35px #10182821}.filters-popover label>span{color:#7f8999;margin-bottom:4px;font-size:8px;font-weight:700;display:block}.filters-popover select,.filters-popover input{background:#fff;border:1px solid #dfe4ea;border-radius:7px;width:100%;height:33px;padding:0 8px;font-size:9px}.filter-date-range{grid-template-columns:1fr 1fr;gap:7px;display:grid}.reset-filters{color:#344054;background:#f8f9fb;border:1px solid #dfe4ea;border-radius:7px;height:32px;font-size:9px;font-weight:700}.editable-payment-price input{width:100%;font:inherit;color:#172033;background:0 0;border:0;outline:0;padding:0;font-size:17px;font-weight:800}.editable-payment-price input:focus{background:#fff}.order-whatsapp-simple button{color:#fff;cursor:pointer;background:#111827;border:0;border-radius:8px;height:36px;padding:0 14px;font-size:9px;font-weight:800}.order-whatsapp-simple{padding:18px 0}.order-whatsapp-simple a{color:#fff;background:#111827;border-radius:9px;justify-content:center;align-items:center;min-width:145px;height:42px;padding:0 18px;font-size:10px;font-weight:800;text-decoration:none;transition:transform .15s,background .15s;display:inline-flex}.order-whatsapp-simple a:hover{background:#1f2937;transform:translateY(-1px)}html[data-theme=dark] .orders-header h1{color:#f5f7fb}html[data-theme=dark] .orders-header p,html[data-theme=dark] .orders-header>div>span{color:#8491a4}html[data-theme=dark] .orders-search{background:#121a25;border-color:#263244}html[data-theme=dark] .orders-search input{color:#eef3f8!important;background:0 0!important;border:0!important}html[data-theme=dark] .orders-search input::placeholder{opacity:1;color:#728095!important}html[data-theme=dark] .orders-search svg{color:#8390a3}html[data-theme=dark] .date-shortcuts button,html[data-theme=dark] .filters-button{color:#cbd4df!important;background:#151e2a!important;border-color:#293647!important}html[data-theme=dark] .date-shortcuts button:hover,html[data-theme=dark] .filters-button:hover{color:#fff!important;background:#1c2735!important}html[data-theme=dark] .date-shortcuts button.active,html[data-theme=dark] .filters-button.active{color:#101722!important;background:#e9eef5!important;border-color:#e9eef5!important}html[data-theme=dark] .filters-button svg{color:currentColor}html[data-theme=dark] .filters-popover{background:#151e29;border-color:#2a3747;box-shadow:0 18px 45px #00000061}html[data-theme=dark] .filters-popover label>span{color:#8d9aad}html[data-theme=dark] .filters-popover select,html[data-theme=dark] .filters-popover input{color:#edf2f7!important;background:#0f1722!important;border-color:#303d4f!important}html[data-theme=dark] .reset-filters{color:#dce4ee;background:#1b2634;border-color:#303d4f}html[data-theme=dark] .status-tabs button{color:#bec9d7!important;background:#151e29!important;border-color:#293647!important}html[data-theme=dark] .status-tabs button:hover{color:#fff!important;background:#1c2735!important}html[data-theme=dark] .status-tabs button strong{color:#d6dee9!important;background:#263244!important}html[data-theme=dark] .status-tabs button.active{color:#101722!important;background:#e9eef5!important;border-color:#e9eef5!important}html[data-theme=dark] .orders-table-panel{box-shadow:0 12px 35px #00000029;background:#131c27!important;border-color:#283547!important}html[data-theme=dark] .orders-table-head{color:#8593a8!important;background:#192330!important;border-color:#283547!important}html[data-theme=dark] .orders-table-row{color:#e8edf4!important;background:#131c27!important;border-color:#263343!important}html[data-theme=dark] .orders-table-row:nth-child(2n){background:#151f2b!important}html[data-theme=dark] .orders-table-row:hover,html[data-theme=dark] .orders-table-row.expanded{background:#192431!important}html[data-theme=dark] .order-client>strong{color:#718096!important}html[data-theme=dark] .order-client>span{color:#f0f3f7!important}html[data-theme=dark] .order-client small{color:#7f8da1!important}html[data-theme=dark] .phone-cell strong{color:#dce5ef!important}html[data-theme=dark] .orders-table-row>div:nth-child(3) strong{color:#eaf0f6!important}html[data-theme=dark] .orders-table-row>div:nth-child(3) small{color:#8997aa!important}html[data-theme=dark] .inline-date-cell{color:#edf2f7!important;background:0 0!important}html[data-theme=dark] .inline-date-cell input{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#edf2f7!important;background:0 0!important;border:0!important}html[data-theme=dark] .orders-table-row>div:nth-child(5) small{color:#8997aa!important}html[data-theme=dark] .inline-status{color:#edf2f7!important;background:#1a2532!important;border:1px solid #344255!important}html[data-theme=dark] .assignee-select select,html[data-theme=dark] .assignee-select.compact select{color:#edf2f7!important;background:#1a2532!important;border-color:#344255!important}html[data-theme=dark] .assignee-select-avatar{color:#fff;background:#273446}html[data-theme=dark] .invoice-cell{color:#94a2b5!important}html[data-theme=dark] .order-price{color:#f5f7fa!important}html[data-theme=dark] .expand-icon{color:#8492a6}html[data-theme=dark] .order-payment.unpaid{color:#ff9690!important;background:#422323!important}html[data-theme=dark] .order-payment.partial{color:#f3c067!important;background:#473516!important}html[data-theme=dark] .order-payment.paid{color:#61d5a0!important;background:#153b30!important}html[data-theme=dark] .expanded-order{background:#101823!important;border-color:#283547!important}html[data-theme=dark] .summary-item{background:#182331!important;border-color:#293748!important}html[data-theme=dark] .summary-item span{color:#8290a4!important}html[data-theme=dark] .summary-item strong{color:#edf2f7!important}html[data-theme=dark] .summary-item strong.good{color:#5cd39d!important}html[data-theme=dark] .summary-item strong.warn{color:#efb45a!important}html[data-theme=dark] .order-quick-actions button,html[data-theme=dark] .order-quick-actions a{color:#dce4ee!important;background:#182331!important;border-color:#303e50!important}html[data-theme=dark] .order-quick-actions button:hover,html[data-theme=dark] .order-quick-actions a:hover{background:#202c3b!important}html[data-theme=dark] .order-tabs{border-color:#2a3748!important}html[data-theme=dark] .order-tabs button{color:#8391a5!important}html[data-theme=dark] .order-tabs button:hover{color:#d9e1eb!important}html[data-theme=dark] .order-tabs button.active{color:#f1f4f8!important;border-bottom-color:#7db6ff!important}html[data-theme=dark] .autosave-line,html[data-theme=dark] .phone-note{color:#77869a!important}html[data-theme=dark] .editable-field{background:#182331!important;border-color:#2b394b!important}html[data-theme=dark] .editable-field span{color:#8290a4!important}html[data-theme=dark] .editable-field input{border-radius:4px;padding:3px 5px;color:#f0f3f7!important;background:#0f1722!important;border:1px solid #283648!important}html[data-theme=dark] .editable-field input:focus{background:#111b28!important;border-color:#659ce6!important}html[data-theme=dark] .editable-field.readonly strong{color:#eef2f7!important}html[data-theme=dark] .invoice-controls label{background:#182331!important;border-color:#2b394b!important}html[data-theme=dark] .invoice-controls span{color:#a6b1c0!important}html[data-theme=dark] .invoice-controls input{accent-color:#6ea8fe}html[data-theme=dark] .order-items-panel{background:#151f2b!important;border-color:#2b394b!important}html[data-theme=dark] .order-items-head{border-color:#2b394b!important}html[data-theme=dark] .order-items-head h3{color:#eef2f7!important}html[data-theme=dark] .order-items-head p{color:#8290a4!important}html[data-theme=dark] .order-items-head button{color:#eef2f7!important;background:#0d1520!important;border:1px solid #344255!important}html[data-theme=dark] .order-item-card{background:#151f2b!important;border-color:#293748!important}html[data-theme=dark] .order-item-index{color:#cfd8e4!important;background:#243142!important}html[data-theme=dark] .order-item-inline{background:#182331!important;border-color:#2b394b!important}html[data-theme=dark] .order-item-inline span{color:#8290a4!important}html[data-theme=dark] .order-item-inline input,html[data-theme=dark] .order-item-inline select{border-radius:4px;padding:3px 5px;color:#edf2f7!important;background:#0f1722!important;border:1px solid #283648!important}html[data-theme=dark] .order-item-delete{color:#ff6b64!important;background:#182331!important;border-color:#465164!important}html[data-theme=dark] .order-item-add{background:#121b27!important}html[data-theme=dark] .order-item-add input,html[data-theme=dark] .order-item-add textarea,html[data-theme=dark] .order-item-add.v2 select{color:#edf2f7!important;background:#0f1722!important;border-color:#303e50!important}html[data-theme=dark] .order-items-total{color:#dce4ee!important;background:#121b27!important;border-color:#293748!important}html[data-theme=dark] .payment-metric{background:#182331!important;border-color:#2b394b!important}html[data-theme=dark] .payment-metric span{color:#8290a4!important}html[data-theme=dark] .payment-metric strong{color:#eef2f7!important}html[data-theme=dark] .payment-metric strong.positive{color:#5cd39d!important}html[data-theme=dark] .payment-metric strong.warning{color:#efb45a!important}html[data-theme=dark] .payment-add{background:#151f2b!important;border-color:#2b394b!important}html[data-theme=dark] .payment-add label{color:#8290a4!important}html[data-theme=dark] .payment-add input,html[data-theme=dark] .payment-add select{color:#edf2f7!important;background:#0f1722!important;border-color:#303e50!important}html[data-theme=dark] .payment-entry{color:#dce4ee!important;border-color:#293748!important}html[data-theme=dark] .payment-entry span,html[data-theme=dark] .payment-entry small{color:#8492a6!important}html[data-theme=dark] .payment-entry button{color:#ff746d!important;background:#182331!important;border-color:#344255!important}html[data-theme=dark] .order-notes{background:#151f2b!important;border-color:#2b394b!important}html[data-theme=dark] .notes-title{border-color:#293748!important}html[data-theme=dark] .notes-title h3{color:#eef2f7!important}html[data-theme=dark] .notes-title p{color:#8290a4!important}html[data-theme=dark] .notes-title>span{color:#dce4ee!important;background:#243142!important}html[data-theme=dark] .note-editor{background:#121b27!important;border-color:#293748!important}html[data-theme=dark] .note-editor textarea{color:#edf2f7!important;background:#0f1722!important;border-color:#303e50!important}html[data-theme=dark] .attach-button{color:#dce4ee!important;background:#182331!important;border-color:#344255!important}html[data-theme=dark] .note-item{border-color:#293748!important}html[data-theme=dark] .note-content header strong{color:#edf2f7!important}html[data-theme=dark] .note-content p{color:#bec8d5!important}html[data-theme=dark] .note-content time{color:#77869a!important}html[data-theme=dark] .order-whatsapp-simple a{color:#101722!important;background:#e9eef5!important}@media (width<=768px){.orders-table-panel{width:100%!important;min-width:0!important;box-shadow:none!important;background:0 0!important;border:0!important;overflow:visible!important}.orders-table-head{display:none!important}.order-block{width:100%!important;min-width:0!important;margin:0 0 10px!important}.orders-table-row{position:relative;background:#fff!important;border:1px solid #e4e8ee!important;border-radius:14px!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"client price""phone price""device device""status status""date date""payment payment""assignee invoice"!important;gap:9px 12px!important;width:100%!important;min-width:0!important;padding:14px 14px 13px!important;display:grid!important;box-shadow:0 2px 10px #10182809!important}.orders-table-row.expanded{border-bottom-color:#edf0f4!important;border-radius:14px 14px 0 0!important}.orders-table-row .order-client{grid-area:client;min-width:0!important}.order-client{flex-direction:column!important;align-items:flex-start!important;gap:2px!important;display:flex!important}.order-id-block{flex-direction:row!important;align-items:center!important;gap:6px!important;display:flex!important}.order-id-block strong{font-size:13px!important;line-height:1.1!important}.order-id-block span{color:#8a96a8!important;font-size:9px!important;line-height:1!important}.order-client>span{text-overflow:ellipsis!important;white-space:nowrap!important;max-width:100%!important;font-size:12px!important;font-weight:700!important;overflow:hidden!important}.order-client>small{color:#98a2b3!important;font-size:8px!important}.orders-table-row .phone-cell{grid-area:phone;min-width:0!important}.phone-cell strong{text-overflow:ellipsis!important;white-space:nowrap!important;color:#667085!important;font-size:10px!important;display:block!important;overflow:hidden!important}.orders-table-row>div:nth-child(3){grid-area:device;border-top:1px solid #eef1f4!important;min-width:0!important;padding-top:7px!important}.orders-table-row>div:nth-child(3) strong{font-size:11px!important;display:block!important}.orders-table-row>div:nth-child(3) small{color:#8a96a8!important;margin-top:2px!important;font-size:9px!important;display:block!important}.orders-table-row>div:nth-child(4){grid-area:status;min-width:0!important}.inline-status{border-radius:9px!important;width:100%!important;min-width:0!important;height:34px!important;font-size:10px!important}.inline-date-cell{grid-area:date;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:9px!important;min-width:0!important;display:grid!important}.inline-date-cell input{width:100%!important;min-width:0!important;height:34px!important;font-size:10px!important}.inline-date-cell small{text-overflow:ellipsis!important;white-space:nowrap!important;text-align:right!important;max-width:105px!important;font-size:9px!important;overflow:hidden!important}.orders-table-row>div:nth-child(6){grid-area:payment;justify-content:space-between!important;align-items:center!important;gap:10px!important;min-width:0!important;display:flex!important}.order-payment,.orders-table-row>div:nth-child(6) small{white-space:nowrap!important;font-size:9px!important}.assignee-cell{grid-area:assignee;min-width:0!important}.assignee-cell select,.assignee-cell button{max-width:100%!important}.invoice-cell{grid-area:invoice;white-space:nowrap!important;place-self:center end!important;align-items:center!important;gap:4px!important;font-size:9px!important;display:flex!important}.order-price{grid-area:price;white-space:nowrap!important;place-self:start end!important;padding-right:22px!important;font-size:14px!important;font-weight:900!important}.expand-icon{place-items:center!important;width:18px!important;height:18px!important;display:grid!important;position:absolute!important;top:13px!important;right:10px!important}.expanded-order{border-radius:0 0 14px 14px!important;width:100%!important;min-width:0!important;margin:0!important;padding:14px!important;overflow:hidden!important}.order-summary-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;width:100%!important;min-width:0!important;display:grid!important}.order-quick-actions{grid-template-columns:1fr!important;gap:7px!important;display:grid!important}.order-quick-actions button,.order-quick-actions a{justify-content:center!important;width:100%!important;min-height:40px!important}.order-tabs{scrollbar-width:none!important;gap:6px!important;width:100%!important;max-width:100%!important;padding-bottom:3px!important;display:flex!important;overflow:auto hidden!important}.order-tabs::-webkit-scrollbar{display:none!important}.order-tabs button{white-space:nowrap!important;flex:none!important}body,#root,.app-shell,.page-content{max-width:100vw!important;overflow-x:hidden!important}html[data-theme=dark] .orders-table-row{box-shadow:none!important;background:#131c27!important;border-color:#283547!important}html[data-theme=dark] .orders-table-row>div:nth-child(3){border-color:#283547!important}html[data-theme=dark] .phone-cell strong{color:#9ba8ba!important}html[data-theme=dark] .order-id-block span,html[data-theme=dark] .order-client>small,html[data-theme=dark] .orders-table-row>div:nth-child(3) small{color:#7f8da1!important}.orders-page{padding:12px!important}.orders-header,.orders-page-header{margin-bottom:12px!important}.orders-page-header h1,.orders-header h1{margin-bottom:3px!important;font-size:30px!important;line-height:1!important}.order-block{margin-bottom:9px!important}.orders-table-row{border-radius:13px!important;gap:7px 10px!important;padding:12px!important}.orders-table-row.expanded{border-radius:13px 13px 0 0!important}.order-id-block strong{font-size:13px!important}.order-id-block span{font-size:9px!important}.order-client>span{font-size:13px!important;line-height:1.25!important}.phone-cell strong{font-size:10px!important}.order-price{padding-right:20px!important;font-size:15px!important}.inline-status,.inline-date-cell input,.assignee-cell select{border-radius:9px!important;min-height:38px!important}.inline-status{padding:0 10px!important}.expanded-order{border-radius:0 0 13px 13px!important;padding:13px!important}.expanded-order .detail-grid,.expanded-order .order-details-grid,.expanded-order .summary-grid{grid-template-columns:1fr!important;gap:8px!important}.expanded-order input,.expanded-order select,.expanded-order textarea{border-radius:9px!important;width:100%!important;max-width:100%!important;min-height:40px!important;font-size:14px!important}.expanded-order textarea{min-height:90px!important}.order-summary-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}.order-summary-strip>*{min-width:0!important;padding:8px!important}.order-quick-actions{grid-template-columns:1fr 1fr!important;gap:7px!important}.order-quick-actions button,.order-quick-actions a{border-radius:10px!important;width:100%!important;min-height:42px!important;padding:0 9px!important;font-size:11px!important}.order-tabs{scroll-snap-type:x proximity;margin-top:10px!important;padding-bottom:5px!important}.order-tabs button{scroll-snap-align:start;border-radius:9px!important;min-height:36px!important;padding:0 12px!important}.note-card,.payment-card,.history-entry{border-radius:10px!important;padding:10px!important}.orders-page,.expanded-order{padding-bottom:max(14px, env(safe-area-inset-bottom))!important}}@media (width<=390px){.order-quick-actions,.order-summary-strip{grid-template-columns:1fr!important}}@media (width>=769px){.order-block:nth-of-type(odd)>.orders-table-row{background:#fff}.order-block:nth-of-type(2n)>.orders-table-row{background:#f7f9fb}.order-block:nth-of-type(odd)>.orders-table-row:hover,.order-block:nth-of-type(2n)>.orders-table-row:hover,.order-block>.orders-table-row.expanded{background:#f1f5f9}html[data-theme=dark] .order-block:nth-of-type(odd)>.orders-table-row{background:#121a25}html[data-theme=dark] .order-block:nth-of-type(2n)>.orders-table-row{background:#16202c}html[data-theme=dark] .order-block:nth-of-type(odd)>.orders-table-row:hover,html[data-theme=dark] .order-block:nth-of-type(2n)>.orders-table-row:hover,html[data-theme=dark] .order-block>.orders-table-row.expanded{background:#1b2735}}.inline-date-cell.today-date input{color:#15803d;font-weight:600}html[data-theme=dark] .inline-date-cell.today-date input{color:#4ade80}.order-item-price-discount{grid-template-columns:1fr .72fr .9fr;align-items:end;gap:5px;display:grid}.order-item-price-discount label,.order-item-final-price{min-width:0}.order-item-price-discount label>span,.order-item-final-price>span{color:#8b95a6;white-space:nowrap;margin-bottom:2px;font-size:8px;display:block}.order-item-price-discount input{background:0 0;border:0;outline:0;width:100%;min-width:0;font-size:9px}.order-item-final-price strong{color:#172033;white-space:nowrap;font-size:9px;font-weight:800;display:block}.order-item-add-price{grid-template-columns:1fr .78fr .9fr;align-items:center;gap:5px;display:grid}.order-item-add-price input{min-width:0}.order-item-add-final{color:#172033;background:#f6f8fa;border:1px solid #dfe4ea;border-radius:7px;justify-content:center;align-items:center;min-width:0;height:32px;font-size:9px;font-weight:800;display:flex}html[data-theme=dark] .order-item-final-price strong{color:#f0f3f7!important}html[data-theme=dark] .order-item-add-final{color:#f0f3f7!important;background:#0f1722!important;border-color:#283648!important}html[data-theme=dark] .order-item-price-discount label>span,html[data-theme=dark] .order-item-final-price>span{color:#8290a4!important}.orders-active-filters{flex-wrap:wrap;gap:6px;margin:0 0 10px;display:flex}.orders-active-filters button{border:1px solid var(--crm-border);background:var(--crm-surface);max-width:100%;min-height:32px;color:var(--crm-text);font:inherit;cursor:pointer;border-radius:8px;align-items:center;gap:6px;padding:6px 10px;font-size:11px;display:inline-flex}.orders-active-filters button span{overflow-wrap:anywhere;text-align:left;min-width:0}.orders-active-filters button svg{flex-shrink:0}.orders-active-filters .orders-clear-all{color:#2563eb;background:0 0;border-color:#0000}.orders-filter-count{background:#80808038;border-radius:50%;place-items:center;min-width:20px;min-height:20px;font-size:10px;display:grid}.orders-results-summary{color:var(--crm-muted);margin:0 0 10px;font-size:12px}.orders-results-summary strong{color:var(--crm-text)}.orders-sync-warning{color:var(--crm-text);border:1px solid #d4a044;border-radius:8px;padding:10px 12px;font-size:12px}.orders-pagination{border:1px solid var(--crm-border);background:var(--crm-surface);color:var(--crm-text);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-top:12px;padding:12px 14px;font-size:12px;display:flex}.orders-page-range{font-weight:600}.orders-page-size,.orders-pagination nav{align-items:center;gap:10px;display:flex}.orders-page-size{margin-left:auto}.orders-page-size select,.orders-pagination button{border:1px solid var(--crm-border);background:var(--crm-input);min-width:36px;min-height:36px;color:var(--crm-text);font:inherit;cursor:pointer;border-radius:8px}.orders-page-size select{padding:0 9px}.orders-pagination button{place-items:center;display:grid}.orders-pagination button:disabled{opacity:.4;cursor:default}.orders-pagination button:focus-visible,.orders-page-size select:focus-visible,.orders-active-filters button:focus-visible{outline-offset:2px;outline:2px solid #3b82f6}html[data-theme=dark] .orders-active-filters .orders-clear-all{color:#93c5fd}@media (width<=600px){.orders-pagination{gap:12px;padding:12px}.orders-pagination nav{justify-content:space-between;width:100%}.orders-page-size select,.orders-pagination button,.orders-active-filters button{min-height:40px}}.orders-map-entry{border:1px solid var(--border,#dfe5ef);min-height:26px;color:var(--text,#202b3e);background:var(--surface,#fff);box-sizing:border-box;border-radius:6px;justify-content:center;align-items:center;gap:5px;padding:3px 8px;font-size:12px;font-weight:600;line-height:18px;text-decoration:none;display:inline-flex}.orders-result-actions{flex-shrink:0;align-items:center;gap:6px;display:flex}[data-theme=dark] .orders-map-entry{color:#edf2fa;background:#182334;border-color:#354256}@media (width<=640px){.orders-map-entry{width:28px;min-height:28px;padding:4px}.orders-map-entry span{display:none}.orders-result-actions{gap:4px}}.invoices-page-head{margin-bottom:14px}.invoices-page-head p{color:#8b95a6;letter-spacing:.12em;margin:0;font-size:9px;font-weight:800}.invoices-page-head h1{margin:4px 0 0;font-size:27px}.invoices-page-head span{color:#8b95a6;margin-top:4px;font-size:10px;display:block}.invoices-kpis{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:10px;display:grid}.invoices-kpis>div{background:#fff;border:1px solid #e3e7ed;border-radius:10px;padding:11px 12px}.invoices-kpis span{color:#8b95a6;font-size:8px;display:block}.invoices-kpis strong{margin-top:3px;font-size:17px;display:block}.invoices-toolbar{align-items:center;gap:7px;margin-bottom:9px;display:flex}.invoice-tabs{gap:3px;display:flex}.invoice-tabs button{background:#fff;border:1px solid #dfe4ea;height:35px;padding:0 10px;font-size:8px;font-weight:700}.invoice-tabs button:first-child{border-radius:8px 0 0 8px}.invoice-tabs button:last-child{border-radius:0 8px 8px 0}.invoice-tabs button.active{color:#fff;background:#111827;border-color:#111827}.invoice-search{background:#fff;border:1px solid #dfe4ea;border-radius:8px;align-items:center;gap:6px;min-width:320px;height:35px;margin-left:auto;padding:0 9px;display:flex}.invoice-search input{border:0;outline:0;width:100%;font-size:9px}.invoice-table{background:#fff;border:1px solid #e3e7ed;border-radius:11px;overflow:hidden}.invoice-head,.invoice-row{grid-template-columns:95px 1.1fr 125px 1fr 90px 90px 110px 135px 95px;align-items:center;gap:8px;display:grid}.invoice-head{color:#8b95a6;text-transform:uppercase;background:#f8f9fb;min-height:35px;padding:0 12px;font-size:7px;font-weight:800}.invoice-row{border-top:1px solid #edf0f3;min-height:58px;padding:7px 12px;font-size:8px}.invoice-order-link{text-align:left;color:#344054;background:0 0;border:0;padding:0}.invoice-order-link strong,.invoice-order-link small{display:block}.invoice-order-link strong{font-size:8px}.invoice-order-link small{color:#98a1af;margin-top:2px;font-size:6px}.invoice-state{border-radius:999px;align-items:center;gap:4px;width:max-content;padding:4px 6px;font-size:7px;font-weight:800;display:inline-flex}.invoice-state.sent{color:#157b4d;background:#eaf8ef}.invoice-state.required{color:#8a5a08;background:#fff8e7}.invoice-actions{gap:4px;display:flex}.invoice-actions button{color:#475467;background:#fff;border:1px solid #dfe4ea;border-radius:7px;place-items:center;width:29px;height:29px;display:grid}.invoice-actions button:disabled{opacity:.4}.invoice-empty{text-align:center;color:#98a1af;padding:24px;font-size:9px}.invoice-error{color:#b42318;background:#fff1f0;border-radius:8px;margin-bottom:8px;padding:8px 10px;font-size:8px}@media (width<=1200px){.invoice-table{overflow-x:auto}.invoice-head,.invoice-row{min-width:1050px}}.invoice-actions.v2{gap:4px;display:flex}.invoice-send-button{color:#fff!important;background:#111827!important;border-color:#111827!important}.invoice-send-button:disabled{color:#98a1af!important;background:#fff!important;border-color:#dfe4ea!important}.invoice-head.v2,.invoice-row.v2{grid-template-columns:95px 1.1fr 125px 1fr 90px 90px 110px 135px 125px}.calendar-page-head{margin-bottom:14px}.calendar-page-head p{color:#8b95a6;letter-spacing:.12em;margin:0;font-size:9px;font-weight:800}.calendar-page-head h1{margin:4px 0 0;font-size:27px}.calendar-page-head span{color:#8b95a6;margin-top:4px;font-size:10px;display:block}.calendar-toolbar{align-items:center;gap:7px;margin-bottom:9px;display:flex}.calendar-nav{gap:3px;display:flex}.calendar-nav button,.calendar-quick{color:#475467;background:#fff;border:1px solid #dfe4ea;border-radius:7px;place-items:center;height:34px;display:grid}.calendar-nav button{width:34px}.calendar-quick{padding:0 9px;font-size:8px;font-weight:700}.calendar-title{text-transform:capitalize;font-size:12px}.calendar-spacer{flex:1}.calendar-view-tabs{gap:3px;display:flex}.calendar-view-tabs button{background:#fff;border:1px solid #dfe4ea;height:34px;padding:0 9px;font-size:8px;font-weight:700}.calendar-view-tabs button:first-child{border-radius:7px 0 0 7px}.calendar-view-tabs button:last-child{border-radius:0 7px 7px 0}.calendar-view-tabs button.active{color:#fff;background:#111827;border-color:#111827}.calendar-month{background:#fff;border:1px solid #e3e7ed;border-radius:11px;overflow:hidden}.calendar-week-head{background:#f8f9fb;border-bottom:1px solid #edf0f3;grid-template-columns:repeat(7,1fr);min-height:34px;display:grid}.calendar-week-head span{color:#8b95a6;text-transform:uppercase;place-items:center;font-size:7px;font-weight:800;display:grid}.calendar-month-grid{grid-template-columns:repeat(7,1fr);display:grid}.calendar-day-cell{background:#fff;border-bottom:1px solid #edf0f3;border-right:1px solid #edf0f3;min-height:132px;padding:7px}.calendar-day-cell:nth-child(7n){border-right:0}.calendar-day-cell.other-month{background:#fbfcfd}.calendar-day-cell.other-month .calendar-day-number>span{color:#c0c6cf}.calendar-day-cell.today{background:#fbfdfc}.calendar-day-number{justify-content:space-between;align-items:center;margin-bottom:5px;display:flex}.calendar-day-number>span{border-radius:7px;place-items:center;width:24px;height:24px;font-size:8px;font-weight:800;display:grid}.calendar-day-cell.today .calendar-day-number>span{color:#fff;background:#111827}.calendar-day-number small{color:#667085;background:#f2f4f7;border-radius:999px;place-items:center;min-width:19px;height:19px;font-size:6px;display:grid}.calendar-events{gap:4px;display:grid}.calendar-event{text-align:left;color:#344054;background:#fff;border:1px solid #e2e6ec;border-left:3px solid #98a2b3;border-radius:8px;width:100%;padding:7px}.calendar-event:hover{background:#fafbfc}.calendar-event.compact{padding:5px 6px}.calendar-event-top{justify-content:space-between;align-items:center;gap:5px;display:flex}.calendar-event-time{color:#667085;align-items:center;gap:3px;font-size:6px;display:flex}.calendar-event-status{text-overflow:ellipsis;white-space:nowrap;color:#667085;text-transform:uppercase;max-width:100px;font-size:6px;font-weight:800;overflow:hidden}.calendar-event>strong{text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:8px;display:block;overflow:hidden}.calendar-event>span:not(.calendar-event-status):not(.calendar-event-time){color:#8b95a6;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:7px;display:block;overflow:hidden}.calendar-event-meta{align-items:center;gap:4px;display:flex!important}.status-completed{border-left-color:#2f855a}.status-cancelled{border-left-color:#c2413b}.status-repair{border-left-color:#175cd3}.status-part{border-left-color:#7f56d9}.status-visit{border-left-color:#d97706}.status-delivery{border-left-color:#0891b2}.calendar-more{color:#8b95a6;padding:3px 4px;font-size:6px}.calendar-week{grid-template-columns:repeat(7,1fr);gap:7px;display:grid}.calendar-week-column{background:#fff;border:1px solid #e3e7ed;border-radius:10px;min-width:0;overflow:hidden}.calendar-week-day-head{background:#f8f9fb;border-bottom:1px solid #edf0f3;justify-content:space-between;align-items:center;padding:8px 9px;display:flex}.calendar-week-day-head strong{text-transform:capitalize;font-size:8px}.calendar-week-day-head span{background:#fff;border-radius:7px;place-items:center;width:24px;height:24px;font-size:8px;font-weight:800;display:grid}.calendar-week-events{align-content:start;gap:6px;min-height:320px;padding:7px;display:grid}.calendar-no-events{text-align:center;color:#a1a9b5;padding:10px;font-size:7px}.calendar-no-events.big{padding:35px;font-size:9px}.calendar-day-view{background:#fff;border:1px solid #e3e7ed;border-radius:11px;overflow:hidden}.calendar-day-view-head{border-bottom:1px solid #edf0f3;align-items:center;gap:8px;padding:11px 13px;display:flex}.calendar-day-view-head strong,.calendar-day-view-head span{display:block}.calendar-day-view-head strong{text-transform:capitalize;font-size:10px}.calendar-day-view-head span{color:#8b95a6;margin-top:2px;font-size:7px}.calendar-day-list{gap:7px;padding:10px;display:grid}.calendar-event.large{padding:10px}.calendar-event.large>strong{font-size:10px}.calendar-loading,.calendar-error{color:#667085;padding:12px;font-size:8px}.calendar-error{color:#b42318;background:#fff1f0;border-radius:8px;margin-bottom:8px}@media (width<=1200px){.calendar-month{overflow-x:auto}.calendar-week-head,.calendar-month-grid{min-width:1000px}.calendar-week{grid-template-columns:repeat(7,180px);overflow-x:auto}}.clients-header{margin-bottom:14px}.clients-header p{color:#8b95a6;letter-spacing:.12em;margin:0;font-size:9px;font-weight:800}.clients-header h1{margin:4px 0 0;font-size:27px}.clients-header span{color:#8b95a6;margin-top:4px;font-size:10px;display:block}.clients-toolbar{margin-bottom:9px;display:flex}.clients-search{background:#fff;border:1px solid #dfe4ea;border-radius:8px;flex:1;align-items:center;gap:7px;max-width:620px;height:38px;padding:0 9px;display:flex}.clients-search input{border:0;outline:0;flex:1;font-size:9px}.clients-search button{color:#fff;background:#111827;border:0;border-radius:6px;height:27px;padding:0 9px;font-size:8px;font-weight:700}.clients-table{background:#fff;border:1px solid #e3e7ed;border-radius:11px;overflow:hidden}.clients-table-head,.client-row{grid-template-columns:1.4fr 135px 65px 115px 65px 100px 145px 105px;align-items:center;gap:8px;display:grid}.clients-table-head{color:#8b95a6;text-transform:uppercase;background:#f8f9fb;min-height:36px;padding:0 12px;font-size:7px;font-weight:800}.client-entry{border-top:1px solid #edf0f3}.client-entry:first-of-type{border-top:0}.client-row{min-height:62px;padding:8px 12px;font-size:8px}.client-name{align-items:center;gap:8px;display:flex}.client-avatar{color:#15824f;background:#e9f7ef;border-radius:10px;place-items:center;width:34px;height:34px;font-size:8px;font-weight:800;display:grid}.client-name strong,.client-name small{display:block}.client-name strong{font-size:9px}.client-name small{color:#98a1af;margin-top:2px;font-size:6px}.client-debt{color:#b54708}.client-actions{gap:4px;display:flex}.client-actions button{color:#475467;background:#fff;border:1px solid #dfe4ea;border-radius:7px;place-items:center;width:29px;height:29px;display:grid}.client-actions button:disabled{opacity:.3}.client-orders-expand{background:#fafbfc;border-top:1px solid #edf0f3;padding:10px 12px}.client-expand-meta{gap:7px;margin-bottom:8px;display:flex}.client-expand-meta>div{background:#fff;border:1px solid #e5e9ef;border-radius:8px;min-width:110px;padding:8px}.client-expand-meta span,.client-expand-meta strong{display:block}.client-expand-meta span{color:#8b95a6;font-size:7px}.client-expand-meta strong{margin-top:2px;font-size:10px}.client-order-list{grid-template-columns:repeat(2,1fr);gap:6px;display:grid}.client-order-list>button{text-align:left;color:#344054;background:#fff;border:1px solid #e2e6ec;border-radius:8px;justify-content:space-between;min-height:50px;padding:8px 9px;display:flex}.client-order-list strong,.client-order-list span{display:block}.client-order-list strong{font-size:8px}.client-order-list span{color:#8b95a6;margin-top:2px;font-size:7px}.clients-empty{text-align:center;color:#98a1af;padding:22px;font-size:9px}.clients-error{color:#b42318;background:#fff1f0;border-radius:8px;margin-bottom:8px;padding:8px 10px;font-size:8px}@media (width<=1200px){.clients-table{overflow-x:auto}.clients-table-head,.client-row{min-width:1050px}}.client-edit-main{flex:1;min-width:0}@media (width>=769px){.clients-table{overflow-x:auto}.clients-table-head,.client-row{grid-template-columns:minmax(150px,1.4fr) 150px 135px 40px 65px 110px 85px 135px 105px;min-width:1160px}}.client-order-states{min-width:0}.client-order-states ul{gap:4px;margin:0;padding:0;list-style:none;display:grid}.client-order-states li{align-items:center;gap:5px;min-width:0;display:flex}.client-state-order-number{color:var(--crm-muted);flex:none;font-weight:650}.client-order-states .client-order-state{overflow-wrap:anywhere;filter:none;border-radius:12px;min-width:0;max-width:100%;padding:3px 7px;font-size:8px;font-weight:700;line-height:1.4;display:inline-block;background:var(--crm-status-bg,#94a3b8)!important;color:var(--crm-status-fg,#000)!important}.client-no-orders{color:var(--crm-muted)}.client-references{min-width:0}.client-reference-list{flex-wrap:wrap;align-items:center;gap:3px 8px;display:flex}.client-reference-list a,.client-reference-list span{overflow-wrap:anywhere;min-width:0;font-weight:700;line-height:1.5}.client-reference-list a{color:#167c58;text-underline-offset:2px;border-radius:3px;padding:3px 0;text-decoration:underline}.client-reference-list a:hover{color:#105b41}.client-reference-list a:focus-visible{outline-offset:3px;outline:2px solid #167c58}html[data-theme=dark] .client-reference-list a{color:#78d9b5}@media (width<=768px){.clients-responsive-page .client-order-states,.clients-responsive-page .client-last-contact{grid-column:1/-1}.client-order-states ul{flex-wrap:wrap;gap:6px 12px;display:flex}.client-order-states li{max-width:100%}.client-order-states .client-order-state{padding:4px 8px;font-size:11px}.client-references{align-self:start}.client-reference-list{gap:4px 12px}.client-reference-list a{align-items:center;min-height:36px;padding:4px 2px;display:inline-flex}}.client-inline-value{text-align:left;color:#172033;width:100%;font:inherit;cursor:text;background:0 0;border:0;border-radius:6px;margin:-4px -5px;padding:4px 5px;font-size:8px}.client-edit-main .client-inline-value{font-size:9px;font-weight:700}.client-inline-value:hover{background:#f2f4f7}.client-inline-input{color:#172033;width:100%;min-width:0;height:30px;font:inherit;background:#fff;border:1px solid #98a2b3;border-radius:7px;outline:none;padding:0 7px;font-size:8px}.client-inline-input:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb14}.clients-responsive-page .clients-toolbar{flex-wrap:wrap;align-items:center;gap:8px}.clients-debt-filter{background:#f6f8fa;border:1px solid #dfe4ea;border-radius:8px;flex:none;gap:3px;padding:3px;display:flex}.clients-debt-filter button{color:#64748b;min-height:30px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:5px 11px;font-size:11px}.clients-debt-filter button[aria-pressed=true]{color:#fff;background:#172231}.clients-debt-filter button:focus-visible{outline-offset:2px;outline:2px solid #167c58}.clients-limit-note{color:#64748b;font-size:12px}html[data-theme=dark] .clients-debt-filter{background:var(--crm-surface);border-color:var(--crm-border)}html[data-theme=dark] .clients-debt-filter button{color:var(--crm-muted)}html[data-theme=dark] .clients-debt-filter button[aria-pressed=true]{color:#fff;background:#176b54}@media (width<=768px){.clients-responsive-page .clients-search{flex-basis:100%}.clients-debt-filter button{min-height:36px;font-size:12px}}.payments-page-head{margin-bottom:14px}.payments-page-head p{color:#8b95a6;letter-spacing:.12em;margin:0;font-size:9px;font-weight:800}.payments-page-head h1{margin:4px 0 0;font-size:27px}.payments-page-head span{color:#8b95a6;margin-top:4px;font-size:10px;display:block}.payments-kpis{grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:10px;display:grid}.payments-kpi{background:#fff;border:1px solid #e3e7ed;border-radius:11px;gap:10px;min-height:82px;padding:12px;display:flex}.payments-kpi-icon{color:#475467;background:#f2f4f7;border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.payments-kpi span{color:#8792a3;font-size:8px;display:block}.payments-kpi strong{margin-top:3px;font-size:18px;display:block}.payments-kpi small{color:#a0a8b5;margin-top:2px;font-size:7px;display:block}.payments-toolbar{flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:9px;display:flex}.payments-search{background:#fff;border:1px solid #dfe4ea;border-radius:8px;flex:1;align-items:center;gap:6px;min-width:290px;height:36px;padding:0 8px;display:flex}.payments-search input{border:0;outline:0;flex:1;min-width:0;font-size:9px}.payments-search button{color:#fff;background:#111827;border:0;border-radius:6px;height:26px;padding:0 8px;font-size:8px;font-weight:700}.payments-date-buttons{gap:3px;display:flex}.payments-date-buttons button{background:#fff;border:1px solid #dfe4ea;align-items:center;gap:4px;height:36px;padding:0 9px;font-size:8px;font-weight:700;display:flex}.payments-date-buttons button:first-child{border-radius:8px 0 0 8px}.payments-date-buttons button:last-child{border-radius:0 8px 8px 0}.payments-date-buttons button.active{color:#fff;background:#111827;border-color:#111827}.payments-toolbar>select,.payments-date-input{background:#fff;border:1px solid #dfe4ea;border-radius:8px;height:36px;padding:0 8px;font-size:8px}.payments-table{background:#fff;border:1px solid #e3e7ed;border-radius:11px;overflow:hidden}.payments-head,.payment-row{grid-template-columns:130px 1.2fr 70px 125px 95px 1.4fr 120px 90px 85px;align-items:center;gap:8px;display:grid}.payments-head{color:#8b95a6;text-transform:uppercase;background:#f8f9fb;min-height:35px;padding:0 12px;font-size:7px;font-weight:800}.payment-row{color:#344054;text-align:left;cursor:pointer;background:#fff;border:0;border-top:1px solid #edf0f3;width:100%;min-height:56px;padding:7px 12px;font-size:8px}.payment-row:hover{background:#fafbfc}.payment-row.cancelled{opacity:.58;background:#fcfcfd}.payment-client strong,.payment-client small{display:block}.payment-client strong{font-size:8px}.payment-client small{color:#98a1af;margin-top:2px;font-size:6px}.payment-method{background:#f2f4f7;border-radius:6px;width:max-content;padding:4px 6px;font-size:7px;font-weight:700;display:inline-flex}.method-bizum{color:#175cd3;background:#eef5ff}.method-cash{color:#147d4d;background:#edf9f2}.method-black_cash{color:#344054;background:#f2f4f7}.method-card{color:#6941c6;background:#f4f3ff}.method-transfer{color:#8a5a08;background:#fff8e7}.payment-comment{text-overflow:ellipsis;white-space:nowrap;color:#667085;overflow:hidden}.payment-amount{font-size:10px}.payment-state{border-radius:999px;width:max-content;padding:4px 6px;font-size:7px;font-weight:800;display:inline-flex}.payment-state.active{color:#157b4d;background:#eaf8ef}.payment-state.cancelled{color:#b42318;background:#fff0f0}.payments-empty{text-align:center;color:#98a1af;padding:24px;font-size:9px}.payments-error{color:#b42318;background:#fff1f0;border-radius:8px;margin-bottom:8px;padding:8px 10px;font-size:8px}@media (width<=1200px){.payments-kpis{grid-template-columns:1fr 1fr}.payments-table{overflow-x:auto}.payments-head,.payment-row{min-width:1050px}}.method-bank_transfer,.method-transfer,.method-card{color:#8a5a08;background:#fff8e7}.method-black_transfer,.method-black_cash{color:#344054;background:#f2f4f7}.wa-sync-actions{flex-shrink:0;align-items:center;gap:8px;display:flex}.wa-sync-bar .wa-new-trigger{color:#fff;background:#168054;border-color:#168054;font-weight:700}.wa-new-dialog{box-sizing:border-box;color:#182230;background:#fff;border:1px solid #dfe5ec;border-radius:16px;width:min(520px,100vw - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:24px;font-size:14px;line-height:1.5;overflow:auto;box-shadow:0 24px 80px #10182840}.wa-new-dialog::backdrop{background:#10182885}.wa-new-heading{justify-content:space-between;gap:16px;margin-bottom:22px;display:flex}.wa-new-heading h2{margin:0;font-size:22px;line-height:1.25}.wa-new-heading p,.wa-new-hint{color:#667085;margin:6px 0 14px;font-size:14px}.wa-new-dialog button{color:#344054;min-height:40px;font:inherit;cursor:pointer;background:#fff;border:1px solid #dfe5ec;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;font-weight:600;display:inline-flex}.wa-new-dialog button:disabled{opacity:.5;cursor:default}.wa-new-dialog .wa-new-close{flex-shrink:0;width:40px;padding:8px}.wa-new-dialog label{margin-bottom:7px;font-weight:650;display:block}.wa-new-dialog input{box-sizing:border-box;color:#182230;width:100%;min-height:48px;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:9px;padding:11px 12px;font-size:16px}.wa-new-dialog :is(button,input):focus-visible{outline-offset:3px;outline:2px solid #16855a}.wa-new-dialog .wa-new-back{color:#16764d;background:0 0;border:0;min-height:32px;margin-bottom:12px;padding:0}.wa-new-recipient{overflow-wrap:anywhere;flex-direction:column;gap:2px;margin-bottom:16px;display:flex}.wa-new-recipient>span{color:#667085}.wa-new-recipient>strong{font-size:20px}.wa-new-template{background:#eef8f2;border:1px solid #cfe7da;border-radius:12px;padding:16px}.wa-new-template>div{flex-direction:column;gap:3px;display:flex}.wa-new-template span{color:#567362;font-size:13px}.wa-new-template p{margin:12px 0 0;font-size:16px;line-height:1.55}.wa-new-existing{color:#16764d;font-size:14px}.wa-new-error{color:#75490d;overflow-wrap:anywhere;background:#fff7e6;border:1px solid #edcf92;border-radius:9px;margin-top:16px;padding:12px}.wa-new-error p{margin:8px 0 0}.wa-new-footer{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:22px;display:flex}.wa-new-dialog .wa-new-primary{color:#fff;background:#168054;border-color:#168054}html[data-theme=dark] .wa-new-dialog{color:#e7edf5;background:#16212e;border-color:#344255}html[data-theme=dark] .wa-new-dialog :is(button,input){color:#e7edf5;background:#1e2b3b;border-color:#425269}html[data-theme=dark] .wa-new-dialog :is(.wa-new-hint,.wa-new-heading p,.wa-new-recipient>span){color:#a8b5c6}html[data-theme=dark] .wa-new-dialog .wa-new-template{background:#183629;border-color:#2d6349}html[data-theme=dark] .wa-new-dialog .wa-new-template span{color:#a7d0b9}html[data-theme=dark] .wa-new-dialog :is(.wa-new-existing,.wa-new-back){color:#83ddb4}html[data-theme=dark] .wa-new-dialog .wa-new-error{color:#f1d8a8;background:#352a16;border-color:#725e32}html[data-theme=dark] .wa-new-dialog .wa-new-primary,html[data-theme=dark] .wa-sync-bar .wa-new-trigger{color:#fff;background:#216848;border-color:#458e6e}@media (width<=600px){.wa-sync-bar{flex-wrap:wrap}.wa-sync-actions{margin-left:auto}.wa-new-dialog{width:calc(100vw - 24px);padding:18px}.wa-new-footer button{flex:1;min-height:44px}.wa-new-dialog .wa-new-close{width:44px;min-height:44px}}.wa-doc-dialog{width:min(760px,100vw - 32px)}.wa-doc-dialog .wa-new-close{align-self:flex-start;height:40px}.wa-doc-fields{border:0;min-width:0;margin:0;padding:0}.wa-doc-dialog select,.wa-doc-dialog textarea{box-sizing:border-box;color:#182230;width:100%;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:8px;min-width:0;padding:10px;font-size:16px}.wa-doc-dialog textarea{resize:vertical;min-height:76px}.wa-doc-dialog :is(select,textarea):focus-visible{outline-offset:3px;outline:2px solid #16855a}.wa-doc-equipment{border:1px solid #dfe5ec;border-radius:10px;min-width:0;margin:18px 0;padding:14px}.wa-doc-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;display:grid}.wa-doc-grid label{margin:0}.wa-doc-wide{grid-column:1/-1}.wa-doc-dialog .wa-doc-check{align-items:center;gap:10px;margin:0;font-weight:600;display:flex}.wa-doc-dialog .wa-doc-check input{flex-shrink:0;width:20px;height:20px;min-height:20px;padding:0}.wa-doc-pdf{color:#16764d;margin:0 0 12px;font-weight:650;display:inline-block}.wa-doc-preview{background:#f5f6f8;border:1px solid #dfe5ec;border-radius:8px;width:100%;height:460px;display:block}.wa-doc-state{overflow-wrap:anywhere}.wa-doc-recent{border-top:1px solid #dfe5ec;margin-top:20px;padding-top:12px}.wa-doc-recent h3{font-size:15px}.wa-doc-recent button{text-align:left;overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;width:100%;margin:6px 0;display:flex}.wa-doc-recent small{font-weight:400}html[data-theme=dark] .wa-doc-dialog :is(select,textarea){color:#e7edf5;background:#1e2b3b;border-color:#425269}html[data-theme=dark] .wa-doc-equipment,html[data-theme=dark] .wa-doc-recent{border-color:#425269}html[data-theme=dark] .wa-doc-pdf{color:#83ddb4}@media (width<=600px){.wa-doc-dialog{width:calc(100vw - 24px)}.wa-doc-grid{grid-template-columns:minmax(0,1fr)}.wa-doc-preview{height:320px}.wa-doc-equipment{padding:10px}.wa-doc-fields>button{width:100%}}.wa-proposal-file{overflow-wrap:anywhere}.wa-proposal-dialog .wa-new-close{align-self:flex-start;height:44px}.wa-proposal-dialog .wa-new-template p{font-size:14px}.wa-proposal-file a{color:#168054}.wa-new-dialog .wa-proposal-check{cursor:pointer;align-items:flex-start;gap:10px;margin:16px 0;font-size:14px;font-weight:500;display:flex}.wa-new-dialog .wa-proposal-check input{accent-color:#168054;flex:none;width:18px;height:18px;min-height:18px;margin:2px 0 0;padding:0}html[data-theme=dark] .wa-proposal-file a{color:#83ddb4}.wa-page-head{margin-bottom:14px}.wa-page-head p{color:#8b95a6;letter-spacing:.12em;margin:0;font-size:9px;font-weight:800}.wa-page-head h1{margin:4px 0 0;font-size:27px}.wa-page-head>span{color:#8b95a6;margin-top:4px;font-size:10px;display:block}.wa-layout{background:#fff;border:1px solid #e3e7ed;border-radius:12px;grid-template-columns:265px minmax(420px,1fr) 265px;height:calc(100vh - 170px);min-height:590px;display:grid;overflow:hidden}.wa-sidebar{border-right:1px solid #e7eaef;min-width:0}.wa-search{border-bottom:1px solid #edf0f3;align-items:center;gap:7px;height:54px;padding:9px;display:flex}.wa-search input{border:1px solid #dfe4ea;border-radius:8px;outline:none;width:100%;height:34px;padding:0 9px;font-size:9px}.wa-chat-list{height:calc(100% - 54px);overflow-y:auto}.wa-chat-list>button{text-align:left;color:#344054;background:#fff;border:0;border-bottom:1px solid #edf0f3;grid-template-columns:34px 1fr auto;gap:7px;width:100%;min-height:67px;padding:8px 9px;display:grid}.wa-chat-list>button:hover,.wa-chat-list>button.active{background:#f7f9fb}.wa-avatar{color:#15824f;background:#e9f7ef;border-radius:10px;place-items:center;width:34px;height:34px;font-size:9px;font-weight:800;display:grid}.wa-chat-list-main{min-width:0}.wa-chat-list-main strong,.wa-chat-list-main span,.wa-chat-list-main small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.wa-chat-list-main span{color:#697586;margin-top:3px;font-size:8px}.wa-chat-list-main small{color:#98a1af;margin-top:3px;font-size:7px}.wa-chat-list time{color:#98a1af;font-size:7px}.wa-chat{background:#f7f8fa;grid-template-rows:55px 1fr auto;min-width:0;display:grid}.wa-chat-head{background:#fff;border-bottom:1px solid #e4e8ee;justify-content:space-between;align-items:center;gap:10px;padding:8px 12px;display:flex}.wa-chat-head strong{font-size:10px;display:block}.wa-chat-head span{color:#8b95a6;margin-top:3px;font-size:8px;display:block}.wa-mode{gap:3px;display:flex}.wa-mode button{color:#667085;background:#fff;border:1px solid #dfe4ea;height:27px;padding:0 7px;font-size:7px;font-weight:800}.wa-mode button:first-child{border-radius:7px 0 0 7px}.wa-mode button:last-child{border-radius:0 7px 7px 0}.wa-mode button.active{color:#fff;background:#111827;border-color:#111827}.wa-messages{padding:15px 16px;overflow-y:auto}.wa-message-row{margin-bottom:9px;display:flex}.wa-message-row.outgoing{justify-content:flex-end}.wa-bubble{background:#fff;border:1px solid #e1e5eb;border-radius:11px;max-width:75%;padding:8px 10px;box-shadow:0 1px 2px #10182808}.wa-message-row.outgoing .wa-bubble{background:#eaf6ef;border-color:#d5ebde}.wa-bubble-author{align-items:center;gap:4px;margin-bottom:4px;display:flex}.wa-bubble-author strong{color:#667085;font-size:7px}.wa-bubble-author time{color:#98a1af;margin-left:auto;font-size:6px}.wa-bubble>p,.wa-translation p{white-space:pre-wrap;word-break:break-word;margin:0;font-size:9px;line-height:1.5}.wa-translation{border-top:1px dashed #d7dce3;margin-top:7px;padding-top:6px}.wa-translation span{color:#8b95a6;text-transform:uppercase;margin-bottom:3px;font-size:6px;font-weight:800;display:block}.wa-translation p{color:#596579;font-size:8px}.wa-languages{color:#9ba3b0;margin-top:5px;font-size:6px;display:block}.wa-media-link{color:#087b4a;margin-top:5px;font-size:8px;font-weight:700;display:inline-flex}.wa-composer{background:#fff;border-top:1px solid #dfe4ea;grid-template-columns:1fr auto;gap:7px;padding:9px;display:grid}.wa-composer textarea{resize:vertical;min-height:52px;max-height:130px;font:inherit;border:1px solid #dfe4ea;border-radius:9px;outline:none;padding:8px 9px;font-size:9px;line-height:1.45}.wa-composer button{color:#fff;background:#111827;border:0;border-radius:8px;align-self:end;align-items:center;gap:5px;height:34px;padding:0 11px;font-size:8px;font-weight:700;display:flex}.wa-composer button:disabled{opacity:.4}.wa-client-panel{border-left:1px solid #e7eaef;overflow-y:auto}.wa-client-card{border-bottom:1px solid #edf0f3;gap:9px;padding:13px;display:flex}.wa-client-icon{color:#667085;background:#f2f4f7;border-radius:10px;place-items:center;width:36px;height:36px;display:grid}.wa-client-card strong,.wa-client-card span,.wa-client-card small{display:block}.wa-client-card strong{font-size:10px}.wa-client-card span{color:#667085;margin-top:3px;font-size:8px}.wa-client-card small{color:#98a1af;margin-top:3px;font-size:7px}.wa-client-meta{border-bottom:1px solid #edf0f3;padding:9px 13px}.wa-client-meta>div{justify-content:space-between;gap:8px;padding:5px 0;display:flex}.wa-client-meta span{color:#8b95a6;font-size:7px}.wa-client-meta strong{font-size:8px}.wa-orders-head{justify-content:space-between;align-items:center;padding:10px 13px;display:flex}.wa-orders-head strong{font-size:9px}.wa-orders-head span{background:#f1f3f5;border-radius:20px;place-items:center;min-width:20px;height:20px;font-size:7px;display:grid}.wa-orders button{text-align:left;color:#344054;background:#fff;border:0;border-top:1px solid #edf0f3;justify-content:space-between;align-items:center;width:100%;min-height:49px;padding:8px 13px;display:flex}.wa-orders button:hover{background:#fafbfc}.wa-orders button strong{font-size:8px;display:block}.wa-orders button span{color:#8792a3;margin-top:2px;font-size:7px;display:block}.wa-order-right{align-items:center;gap:4px;display:flex}.wa-empty,.wa-no-chat{text-align:center;color:#98a1af;padding:20px;font-size:8px}.wa-no-chat{flex-direction:column;justify-content:center;align-items:center;height:100%;display:flex}.wa-no-chat strong{color:#475467;margin-top:7px;font-size:10px}.wa-no-chat span{margin-top:3px}.wa-error{color:#b42318;background:#fff1f0;border-radius:8px;margin-bottom:8px;padding:8px 10px;font-size:8px}@media (width<=1150px){.wa-layout{grid-template-columns:240px 1fr}.wa-client-panel{display:none}}.wa-template-strip{background:#fff;padding:6px 9px 0}.wa-template-wrap{display:inline-block;position:relative}.wa-template-button{background:#fff;border:1px solid #dfe4ea;border-radius:7px;height:29px;padding:0 9px;font-size:8px;font-weight:700}.wa-template-menu{z-index:70;background:#fff;border:1px solid #dfe4ea;border-radius:10px;width:235px;padding:5px;position:absolute;bottom:35px;left:0;box-shadow:0 12px 30px #10182829}.wa-template-menu>button{text-align:left;background:#fff;border:0;border-radius:7px;width:100%;padding:8px}.wa-template-menu>button:hover{background:#f6f8fa}.wa-template-menu strong{font-size:8px;display:block}.wa-template-menu span{color:#8b95a6;margin-top:2px;font-size:7px;display:block}.wa-layout{grid-template-columns:minmax(230px,265px) minmax(0,1fr) minmax(230px,265px);width:100%;min-width:0}.wa-sidebar,.wa-chat,.wa-client-panel{min-width:0}.wa-chat{width:100%;overflow:hidden}.wa-messages{min-width:0;overflow:hidden auto}.wa-chat-head,.wa-chat-head>div:first-child{min-width:0}.wa-chat-head strong,.wa-chat-head span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.wa-client-panel{width:100%}@media (width<=1250px){.wa-layout{grid-template-columns:235px minmax(0,1fr)}.wa-client-panel{display:none}}@media (width<=850px){.wa-layout{grid-template-columns:1fr}.wa-sidebar{display:none}}.wa-layout{min-height:0!important}.wa-layout>*{min-width:0!important;min-height:0!important}.wa-chat{grid-template-rows:55px minmax(0,1fr) auto auto!important;width:100%!important;min-width:0!important;height:100%!important;min-height:0!important;display:grid!important;overflow:hidden!important}.wa-chat-head{grid-row:1;min-width:0}.wa-messages{grid-row:2;min-width:0;min-height:0;overflow:hidden auto!important}.wa-template-strip{grid-row:3;min-width:0}.wa-composer{grid-row:4;min-width:0}.wa-no-chat{min-width:0;min-height:0}.wa-workspace{flex-direction:column;min-width:0;height:calc(100dvh - 81px);min-height:520px;display:flex}.wa-workspace>.wa-layout{flex:1;height:auto;min-height:250px!important}.wa-workspace>.wa-page-head,.wa-workspace>.wa-sync-bar,.wa-workspace>.wa-operation,.wa-workspace>.wa-error{flex-shrink:0}.wa-sync-bar{color:#667085;justify-content:space-between;align-items:center;gap:12px;margin:0 0 10px;font-size:11px;display:flex}.wa-sync-bar button,.wa-operation button,.wa-error button{color:#344054;cursor:pointer;background:#fff;border:1px solid #dfe4ea;border-radius:7px;justify-content:center;align-items:center;gap:6px;padding:6px 10px;font-size:11px;display:inline-flex}.wa-operation{color:#344054;background:#f1f5f9;border:1px solid #dbe4ed;border-radius:9px;align-items:center;gap:12px;margin-bottom:10px;padding:10px 12px;font-size:11px;line-height:1.5;display:flex}.wa-operation>div{overflow-wrap:anywhere;flex:1;min-width:0}.wa-operation strong,.wa-operation span{display:block}.wa-operation.success{color:#17633e;background:#edf8f1;border-color:#c8e6d2}.wa-operation.warning{color:#80530d;background:#fff6e7;border-color:#efd4a0}.wa-search button{color:#475467;cursor:pointer;background:#edf2f7;border:0;border-radius:6px;flex-shrink:0;place-items:center;width:26px;height:30px;padding:0;display:grid}.wa-search input{min-width:0;font-size:11px}.wa-chat-list>button.active{background:#eff8f3;box-shadow:inset 3px 0 #178052}.wa-chat-list-main strong{font-size:11px}.wa-chat-list-main span{font-size:10px}.wa-chat-list-main small{font-size:9px}.wa-chat-list time{font-size:8px}.wa-chat-list-main .wa-draft-label{color:#a56614;font-weight:700}.wa-chat-head strong{font-size:12px}.wa-chat-head span{font-size:10px}.wa-mode button{font-size:9px}.wa-mode button:disabled,.wa-template-button:disabled,.wa-template-menu button:disabled,.wa-sync-bar button:disabled{opacity:.5;cursor:default}.wa-messages-area{grid-row:2;min-width:0;min-height:0;position:relative;overflow:hidden}.wa-messages-area>.wa-messages{box-sizing:border-box;overflow-anchor:none;height:100%}.wa-new-messages{color:#17633e;cursor:pointer;background:#edf8f1;border:1px solid #bad8c5;border-radius:20px;padding:8px 14px;font-size:11px;position:absolute;bottom:12px;left:50%;transform:translate(-50%);box-shadow:0 3px 12px #10241818}.wa-bubble{max-width:85%;padding:10px 12px}.wa-bubble>p{font-size:12px;line-height:1.55}.wa-bubble-author strong{font-size:9px}.wa-bubble-author time{font-size:8px}.wa-translation p{font-size:11px}.wa-translation span,.wa-languages{font-size:9px}.wa-languages{overflow-wrap:anywhere}.wa-composer textarea{min-height:60px;font-size:12px}.wa-composer button{height:36px;font-size:11px}.wa-composer-hint{color:#667085;grid-column:1/-1;font-size:9px;line-height:1.5}.wa-template-button,.wa-template-menu strong{font-size:11px}.wa-template-menu span{font-size:10px}.wa-template-menu{box-sizing:border-box;overscroll-behavior:contain;max-height:300px;overflow-y:auto}.wa-empty,.wa-no-chat{font-size:11px}.wa-no-chat{grid-row:1/-1}.wa-no-chat strong{font-size:13px}.wa-error{overflow-wrap:anywhere;font-size:11px}.wa-error button{margin:8px 0 0;display:flex}.wa-layout :is(button,input,textarea,a,[tabindex]):focus-visible,.wa-sync-bar button:focus-visible,.wa-operation button:focus-visible{outline-offset:2px;outline:2px solid #16855a}html[data-theme=dark] .wa-sync-bar{color:#aeb9c8}html[data-theme=dark] .wa-operation{color:#dce4ee;background:#182331;border-color:#344255}html[data-theme=dark] .wa-operation.success,html[data-theme=dark] .wa-new-messages{color:#bce8cc;background:#163126;border-color:#26513f}html[data-theme=dark] .wa-operation.warning{color:#f1d8a8;background:#352a16;border-color:#725e32}html[data-theme=dark] .wa-sync-bar button,html[data-theme=dark] .wa-operation button,html[data-theme=dark] .wa-search button,html[data-theme=dark] .wa-error button{color:#dce4ee;background:#182331;border-color:#344255}html[data-theme=dark] .wa-chat-list-main .wa-draft-label{color:#dfb879!important}html[data-theme=dark] .wa-bubble>p{color:#e8edf4!important}.wa-workspace .wa-chat{grid-template-rows:55px minmax(0,1fr) auto auto auto!important}.wa-language-control{background:#fff;border-top:1px solid #e3e7ed;grid-row:5;grid-template-columns:auto minmax(120px,1fr) auto;align-items:center;gap:6px 9px;padding:8px 10px;display:grid}.wa-language-control label{color:#475467;font-size:11px;font-weight:700}.wa-language-control select,.wa-language-control button{color:#344054;min-width:0;min-height:32px;font:inherit;background:#fff;border:1px solid #dfe4ea;border-radius:7px;padding:5px 8px;font-size:11px}.wa-language-control button{cursor:pointer;color:#17633e;background:#edf8f1;border-color:#c8e6d2;font-weight:700}.wa-language-control :disabled{opacity:.55;cursor:default}.wa-language-control small{color:#667085;grid-column:1/-1;font-size:10px;line-height:1.4}.wa-language-control select:focus-visible{outline-offset:2px;outline:2px solid #16855a}html[data-theme=dark] .wa-language-control{background:#121c28;border-color:#344255}html[data-theme=dark] .wa-language-control label,html[data-theme=dark] .wa-language-control small{color:#aeb9c8}html[data-theme=dark] .wa-language-control select,html[data-theme=dark] .wa-language-control button{color:#dce4ee;background:#182331;border-color:#344255}.wa-touch-hint{display:none}@media (width<=850px),(pointer:coarse){.wa-keyboard-hint{display:none}.wa-touch-hint{display:inline}}.wa-mobile-back,.wa-info-toggle,.wa-info-back{display:none}.wa-work-plan{border-top:1px solid var(--crm-border);padding:15px}.wa-client-panel .work-task-panel h2{font-size:14px}.wa-chat-head>div:first-of-type{flex:1;min-width:0}.wa-mobile-back,.wa-info-toggle,.wa-info-back{border:1px solid var(--crm-border);background:var(--crm-surface);color:var(--crm-text);cursor:pointer;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center}@media (width<=1250px){.wa-info-toggle{width:36px;height:36px;display:flex}.wa-view-info .wa-chat{display:none!important}.wa-view-info .wa-client-panel{grid-column:2;display:block}.wa-info-back{gap:8px;min-height:40px;margin:12px;padding:8px 12px;display:flex}}@media (width<=850px){.wa-mobile-back{width:38px;height:38px;display:flex}.wa-workspace .wa-layout{grid-template-columns:minmax(0,1fr)}.wa-workspace .wa-layout .wa-sidebar,.wa-workspace .wa-layout .wa-chat,.wa-workspace .wa-layout .wa-client-panel{display:none!important}.wa-workspace .wa-view-list .wa-sidebar{display:block!important}.wa-workspace .wa-view-chat .wa-chat{display:grid!important}.wa-workspace .wa-view-info .wa-client-panel{grid-column:1;display:block!important}.wa-chat-head{flex-wrap:wrap;gap:6px;padding:8px 10px}.wa-chat-head>div:first-of-type{flex:1;min-width:0}.wa-chat-head .wa-mode{flex-basis:100%;justify-content:flex-end}.wa-mode button{min-width:68px;height:32px;font-size:10px}.wa-workspace .wa-chat{grid-template-rows:auto minmax(0,1fr) auto auto auto!important}.wa-search{height:62px;padding:10px}.wa-search input{height:40px;font-size:16px}.wa-search button{width:36px;height:40px}.wa-chat-list{height:calc(100% - 62px)}.wa-chat-list>button{grid-template-columns:38px minmax(0,1fr) auto;gap:10px;min-height:83px;padding:14px 12px}.wa-chat-list-main strong{font-size:14px}.wa-chat-list-main span{font-size:12px}.wa-chat-list-main small{font-size:10px}.wa-chat-list time{font-size:9px}.wa-avatar{width:38px;height:38px;font-size:11px}.wa-client-card strong{font-size:15px}.wa-client-card span{font-size:13px}.wa-client-card small{font-size:11px}.wa-client-meta span,.wa-client-meta strong{font-size:12px}.wa-orders-head strong{font-size:14px}.wa-orders button{min-height:65px}.wa-orders button strong{font-size:13px}.wa-orders button span{font-size:11px}}@media (width<=768px){.wa-workspace{height:calc(100dvh - 80px);min-height:440px;margin:10px 8px 0}.wa-page-head{margin-bottom:7px}.wa-page-head h1{font-size:21px}.wa-page-head>span{display:none}.wa-page-head p{font-size:8px}.wa-sync-bar{gap:5px;margin-bottom:7px;font-size:9px}.wa-sync-bar button{min-height:34px;font-size:10px}.wa-workspace>.wa-layout{border-radius:10px;min-height:250px!important}.wa-chat-head strong{font-size:14px}.wa-chat-head span{font-size:11px}.wa-messages{padding:12px 9px}.wa-bubble{max-width:92%;padding:10px}.wa-bubble>p{font-size:14px}.wa-translation p{font-size:12px}.wa-composer{gap:6px;padding:8px}.wa-composer textarea{min-height:50px;max-height:90px;font-size:16px}.wa-composer button{min-height:44px;padding:0 10px;font-size:11px}.wa-composer-hint{font-size:9px}.wa-template-button{min-height:36px}.wa-template-menu{width:min(300px,100vw - 44px);max-height:55dvh;overflow-y:auto}.wa-template-menu>button{min-height:44px}.wa-language-control{grid-template-columns:1fr 1fr;gap:5px;padding:7px}.wa-language-control label{grid-column:1/-1;font-size:10px}.wa-language-control select{min-height:36px;font-size:16px}.wa-language-control button{min-height:36px;font-size:11px}.wa-language-control small{font-size:9px}.wa-operation{gap:7px;padding:7px;font-size:10px}.wa-operation button{min-height:34px;padding:5px;font-size:10px}}.analytics-header{margin-bottom:16px}.analytics-header p{color:#8b95a6;letter-spacing:.12em;margin:0;font-size:9px;font-weight:800}.analytics-header h1{margin:4px 0 0;font-size:27px}.analytics-header span{color:#8b95a6;margin-top:4px;font-size:10px;display:block}.analytics-filters{background:#fff;border:1px solid #e3e7ed;border-radius:11px;flex-wrap:wrap;align-items:flex-end;gap:7px;margin-bottom:10px;padding:10px;display:flex}.analytics-filter-tabs{gap:3px;display:flex}.analytics-filter-tabs button{background:#fff;border:1px solid #dfe4ea;height:34px;padding:0 10px;font-size:9px;font-weight:700}.analytics-filter-tabs button:first-child{border-radius:7px 0 0 7px}.analytics-filter-tabs button:last-child{border-radius:0 7px 7px 0}.analytics-filter-tabs button.active{color:#fff;background:#111827;border-color:#111827}.analytics-filters label>span{color:#8792a3;margin-bottom:4px;font-size:7px;font-weight:700;display:block}.analytics-filters input,.analytics-filters select{background:#fff;border:1px solid #dfe4ea;border-radius:7px;height:34px;padding:0 8px;font-size:9px}.analytics-assignee-filter{min-width:170px}.analytics-filter-summary{color:#667085;background:#f7f8fa;border-radius:8px;align-items:center;gap:7px;min-height:42px;margin-left:auto;padding:0 10px;display:flex}.analytics-filter-summary strong{color:#344054;font-size:8px;display:block}.analytics-filter-summary span{margin-top:2px;font-size:7px;display:block}.analytics-kpis{grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:10px;display:grid}.analytics-kpi{background:#fff;border:1px solid #e3e7ed;border-radius:11px;align-items:flex-start;gap:10px;min-height:86px;padding:12px;display:flex}.analytics-kpi-icon{color:#475467;background:#f2f4f7;border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.analytics-kpi span{color:#8792a3;font-size:8px;display:block}.analytics-kpi strong{letter-spacing:-.02em;margin-top:3px;font-size:19px;display:block}.analytics-kpi small{color:#a0a8b5;margin-top:2px;font-size:7px;display:block}.analytics-grid{grid-template-columns:1.7fr .8fr;gap:10px;margin-bottom:10px;display:grid}.analytics-panel{background:#fff;border:1px solid #e3e7ed;border-radius:11px;overflow:hidden}.analytics-panel-head{border-bottom:1px solid #edf0f3;justify-content:space-between;align-items:center;min-height:55px;padding:11px 13px;display:flex}.analytics-panel-head h2{margin:0;font-size:12px}.analytics-panel-head p{color:#8b95a6;margin:3px 0 0;font-size:8px}.staff-analytics-head,.staff-analytics-row{grid-template-columns:1.4fr 90px 75px 110px 110px;align-items:center;gap:8px;display:grid}.staff-analytics-head{color:#8b95a6;text-transform:uppercase;background:#f8f9fb;min-height:33px;padding:0 13px;font-size:7px;font-weight:800}.staff-analytics-row{border-top:1px solid #edf0f3;min-height:50px;padding:7px 13px;font-size:9px}.analytics-person{align-items:center;gap:7px;display:flex}.analytics-person>div{color:#fff;background:#111827;border-radius:8px;place-items:center;width:27px;height:27px;font-size:7px;font-weight:800;display:grid}.analytics-person strong{font-size:9px}.device-analytics-row{border-top:1px solid #edf0f3;justify-content:space-between;align-items:center;min-height:49px;padding:8px 13px;display:flex}.device-analytics-row strong{font-size:9px}.device-analytics-row span{color:#929baa;margin-top:2px;font-size:7px;display:block}.analytics-details-head,.analytics-detail-row{grid-template-columns:100px 1.1fr 1.25fr 1fr 150px 90px;align-items:center;gap:8px;display:grid}.analytics-details-head{color:#8b95a6;text-transform:uppercase;background:#f8f9fb;min-height:34px;padding:0 13px;font-size:7px;font-weight:800}.analytics-detail-row{text-align:left;color:#344054;cursor:pointer;background:#fff;border:0;border-top:1px solid #edf0f3;width:100%;min-height:53px;padding:7px 13px;font-size:9px}.analytics-detail-row:hover{background:#fafbfc}.analytics-detail-row strong{font-size:9px}.analytics-detail-row small{color:#98a1af;margin-top:2px;font-size:7px;display:block}.analytics-empty{text-align:center;color:#98a1af;padding:22px;font-size:9px}.analytics-error{color:#b42318;background:#fff1f0;border-radius:8px;margin-bottom:10px;padding:9px 11px;font-size:9px}@media (width<=1100px){.analytics-kpis{grid-template-columns:1fr 1fr}.analytics-grid{grid-template-columns:1fr}.analytics-panel{overflow-x:auto}.staff-analytics-head,.staff-analytics-row{min-width:650px}.analytics-details{overflow-x:auto}.analytics-details-head,.analytics-detail-row{min-width:850px}}.analytics-sections{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.analytics-sections a{border:1px solid var(--crm-border);background:var(--crm-surface);min-height:40px;color:var(--crm-text);border-radius:9px;align-items:center;gap:8px;padding:0 14px;font-size:12px;font-weight:650;text-decoration:none;display:inline-flex}.analytics-sections a[aria-current=page]{border-color:var(--crm-focus);background:var(--crm-surface-2);color:var(--crm-link);box-shadow:inset 0 -2px var(--crm-focus)}.analytics-sections a:hover{border-color:var(--crm-focus)}.analytics-payments-total{border:1px solid var(--crm-border);background:var(--crm-surface);color:var(--crm-text);border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;padding:14px;font-size:12px;display:flex}.analytics-payments-total span{color:var(--crm-muted);margin-top:4px;font-size:11px;display:block}.analytics-payments-total>strong{white-space:nowrap;font-size:19px}.main:has(>.new-order-page)>.global-actions{display:none}.new-order-page{--order-muted:#626e80;max-width:1440px;margin:0 auto}html[data-theme=dark] .new-order-page{--order-muted:#aab6c7}.new-order-page .new-order-head{flex-wrap:wrap;align-items:center;gap:20px;margin:0 0 22px;display:flex}.new-order-page .new-order-head p{color:var(--order-muted);letter-spacing:.12em;margin:0 0 5px;font-size:10px;font-weight:750}.new-order-page .new-order-head h1{letter-spacing:-.03em;margin:0;font-size:29px}.new-order-page .new-order-head span{color:var(--order-muted);margin-top:5px;font-size:13px;line-height:1.5;display:block}.new-order-page .new-order-back{border:1px solid var(--crm-border);background:var(--crm-surface);color:var(--crm-text);border-radius:10px;align-items:center;gap:7px;padding:10px 12px;font-size:13px;display:inline-flex}.new-order-page .new-order-safety{color:#287556;align-items:center;gap:10px;margin-left:auto;display:flex}.new-order-page .new-order-safety span{margin:0;font-size:12px}.new-order-page .new-order-fields{border:0;min-width:0;margin:0;padding:0}.new-order-page :is(.lookup-card,.new-order-card,.new-order-items){background:var(--crm-surface);border:1px solid var(--crm-border);border-radius:15px;margin-bottom:16px;overflow:hidden}.new-order-page .lookup-title{border-bottom:1px solid var(--crm-border);align-items:center;gap:12px;padding:18px 22px;display:flex}.new-order-page .lookup-title>b{border:1px solid var(--crm-border);background:var(--crm-surface-2);border-radius:9px;flex:0 0 30px;place-items:center;height:30px;font-size:13px;display:grid}.new-order-page .lookup-title h2{margin:0;font-size:16px;font-weight:750}.new-order-page .lookup-title span{color:var(--order-muted);margin-top:4px;font-size:12px;line-height:1.5;display:block}.new-order-page .lookup-row{grid-template-columns:minmax(0,1fr) auto auto;gap:10px;padding:18px 22px 0;display:grid}.new-order-page .lookup-input{border:1px solid var(--crm-border);min-height:44px;color:var(--order-muted);border-radius:9px;align-items:center;gap:9px;padding:0 13px;display:flex}.new-order-page .lookup-input input{width:100%;min-width:0;color:var(--crm-text);font:inherit;background:0 0;border:0;outline:0;font-size:14px}.new-order-page .lookup-input svg{flex-shrink:0}.new-order-page .lookup-kind{background:var(--crm-surface-2);color:var(--order-muted);border-radius:9px;place-items:center;padding:0 12px;font-size:12px;display:grid}.new-order-page :is(.lookup-row>button,.create-button){color:#fff;text-align:center;background:#172a40;border:0;border-radius:9px;justify-content:center;align-items:center;min-height:44px;padding:10px 18px;font-size:13px;font-weight:700;text-decoration:none;display:inline-flex}.new-order-page :is(.client-found,.client-missing){color:#225f43;background:#edf8f2;border-radius:10px;align-items:flex-start;gap:10px;margin:14px 22px 0;padding:13px;display:flex}.new-order-page .client-missing{color:#751;background:#fff5df}.new-order-page :is(.client-found,.client-missing) svg{flex-shrink:0}.new-order-page :is(.client-found,.client-missing) strong{font-size:14px}.new-order-page :is(.client-found,.client-missing) span{overflow-wrap:anywhere;margin-top:4px;font-size:12px;line-height:1.5;display:block}.new-order-page .new-order-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:20px 22px;display:grid}.new-order-page .field{background:0 0;border:0;flex-direction:column;gap:7px;min-width:0;padding:0;display:flex}.new-order-page .field>span{color:var(--order-muted);font-size:12px;font-weight:650}.new-order-page .field :is(input,select,textarea){border:1px solid var(--crm-border);background:var(--crm-input);width:100%;min-width:0;min-height:43px;color:var(--crm-text);font:inherit;border-radius:8px;padding:10px 11px;font-size:14px}.new-order-page .field textarea{resize:vertical;min-height:90px;line-height:1.55}.new-order-page .field.wide{grid-column:span 2}.new-order-page .field.readonly strong{min-height:43px;color:var(--order-muted);align-items:center;font-size:13px;font-weight:550;display:flex}.new-order-page :is(.field small,.invoice-create small){color:var(--order-muted);font-size:11px;line-height:1.45}.new-order-page .invoice-create{border:1px solid var(--crm-border);background:var(--crm-surface-2);border-radius:10px;grid-column:span 2;align-items:center;gap:12px;padding:15px;display:flex}.new-order-page .invoice-create input{accent-color:#227457;flex-shrink:0;width:19px;height:19px}.new-order-page .invoice-create strong{color:var(--crm-text);font-size:14px}.new-order-page .invoice-create small{margin-top:4px;display:block}.new-order-page .new-order-empty{color:var(--order-muted);gap:13px;padding:22px 22px 8px;display:flex}.new-order-page .new-order-empty svg{flex-shrink:0}.new-order-page .new-order-empty strong{color:var(--crm-text);font-size:14px;display:block}.new-order-page .new-order-empty span{margin-top:5px;font-size:12px;line-height:1.5;display:block}.new-order-page .add-order-item-button{background:var(--crm-surface-2);border:1px solid var(--crm-border);min-height:42px;color:var(--crm-text);border-radius:8px;align-items:center;gap:7px;margin:16px 22px 20px;padding:10px 13px;font-size:13px;font-weight:650;display:inline-flex}.new-order-page .new-order-item-row{border-top:1px solid var(--crm-border);padding:18px 22px}.new-order-page .new-order-item-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px;display:flex}.new-order-page .new-order-item-head strong{font-size:14px}.new-order-page .new-order-item-head button{background:var(--crm-surface);border:1px solid var(--crm-border);color:#b13d38;border-radius:7px;align-items:center;gap:6px;padding:8px 10px;font-size:12px;display:inline-flex}.new-order-page .new-order-item-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.new-order-page :is(.new-order-price-note,.new-order-config){color:#705114;background:#fff5df;border-radius:9px;margin:16px 22px;padding:13px 15px;font-size:12px;line-height:1.6}.new-order-page .new-order-config button{color:inherit;font:inherit;background:0 0;border:0;margin-left:10px;font-weight:700;text-decoration:underline}.new-order-page .new-order-footer{border:1px solid var(--crm-border);background:var(--crm-surface);border-radius:13px;justify-content:space-between;align-items:center;gap:16px;padding:18px 22px;display:flex}.new-order-page .new-order-footer strong{font-size:13px;display:block}.new-order-page .new-order-footer span{color:var(--order-muted);margin-top:5px;font-size:12px;line-height:1.5;display:block}.new-order-page .new-order-footer-actions{flex-shrink:0;gap:10px;display:flex}.new-order-page .cancel-button{border:1px solid var(--crm-border);background:var(--crm-surface);min-height:44px;color:var(--crm-text);border-radius:9px;padding:10px 15px;font-size:13px}.new-order-page button{cursor:pointer}.new-order-page button:disabled{cursor:not-allowed;opacity:.5}.new-order-page :is(input,textarea,select):disabled{opacity:.8;cursor:default}.new-order-page :is(input,textarea,select,button,a,summary):focus-visible{outline-offset:3px;outline:2px solid #4087d1}.new-order-page .lookup-input:focus-within{outline-offset:2px;outline:2px solid #4087d1}.new-order-page .form-error{color:#b42318;margin:12px 22px;font-size:13px;line-height:1.5}.new-order-page .new-order-footer .form-error{margin:10px 0 0}.new-order-page .new-order-hint{color:var(--order-muted);margin:12px 22px;font-size:12px;line-height:1.6}.new-order-page .creation-result{background:var(--crm-surface);outline-offset:4px;border:1px solid #d7ac5d;border-radius:14px;margin-bottom:20px;padding:22px}.new-order-page .creation-result.complete{border-color:#5d9d7a}.new-order-page .creation-result.running{border-color:#80a7cb}.new-order-page .creation-result h2{margin:0;font-size:20px}.new-order-page .creation-result p{color:var(--order-muted);max-width:100ch;font-size:13px;line-height:1.65}.new-order-page .creation-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px;margin:17px 0;padding:0;list-style:none;display:grid}.new-order-page .creation-steps li{border-bottom:1px solid var(--crm-border);justify-content:space-between;align-items:center;gap:10px;padding:9px 0;font-size:12px;display:flex}.new-order-page .creation-steps strong{white-space:nowrap;color:var(--order-muted);font-size:11px}.new-order-page .creation-steps [data-state=confirmed] strong{color:#267450}.new-order-page .creation-steps [data-state=uncertain] strong{color:#996005}.new-order-page .creation-result-actions{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.new-order-page .creation-result-actions>span{color:var(--order-muted);font-size:12px}.new-order-page .creation-result .new-order-hint{margin:14px 0 0}.new-order-page .creation-copy{margin-top:15px;font-size:13px}.new-order-page .creation-copy summary{cursor:pointer;padding:7px 0;font-weight:650}.new-order-page .creation-copy pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--crm-surface-2);line-height:1.7;font:inherit;-webkit-user-select:text;user-select:text;border-radius:8px;padding:15px}html[data-theme=dark] .new-order-page .field{background:0 0!important}html[data-theme=dark] .new-order-page .field :is(input,select,textarea){border-radius:8px;padding:10px 11px}html[data-theme=dark] .new-order-page :is(.lookup-title span,.field>span){color:var(--order-muted)!important}html[data-theme=dark] .new-order-page :is(.new-order-price-note,.new-order-config){color:#e9c480;background:#342c1c}html[data-theme=dark] .new-order-page .creation-steps [data-state=confirmed] strong{color:#79d9aa}html[data-theme=dark] .new-order-page .creation-steps [data-state=uncertain] strong{color:#e9c480}html[data-theme=dark] .new-order-page .form-error{color:#ffaaa0}@media (width<=1100px){.new-order-page .new-order-grid,.new-order-page .new-order-item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.new-order-page .new-order-safety{display:none}.new-order-page .new-order-footer{flex-direction:column;align-items:stretch}.new-order-page .new-order-footer-actions{justify-content:flex-end}}@media (width<=600px){.new-order-page{padding:0 10px 20px}.new-order-page .new-order-head{gap:12px;margin-bottom:16px}.new-order-page .new-order-back{width:max-content}.new-order-page .new-order-head>div:not(.new-order-safety){width:100%}.new-order-page .new-order-head h1{font-size:26px}.new-order-page .lookup-title{align-items:flex-start;padding:16px}.new-order-page .lookup-row{grid-template-columns:minmax(0,1fr) auto;padding:16px 16px 0}.new-order-page .lookup-input{grid-column:1/-1}.new-order-page .lookup-kind{justify-content:start}.new-order-page :is(.new-order-grid,.new-order-item-grid){grid-template-columns:minmax(0,1fr)}.new-order-page .new-order-grid{padding:16px}.new-order-page :is(.field.wide,.invoice-create){grid-column:auto}.new-order-page .field :is(input,select,textarea){font-size:16px}.new-order-page :is(.client-found,.client-missing,.new-order-price-note,.new-order-config){margin-left:16px;margin-right:16px}.new-order-page :is(.new-order-item-row,.new-order-empty,.new-order-footer,.creation-result){padding:16px}.new-order-page .new-order-footer-actions{flex-wrap:wrap}.new-order-page .new-order-footer-actions .create-button{flex:1}.new-order-page .creation-steps{grid-template-columns:minmax(0,1fr)}}.settings-status-header{margin-bottom:18px}.settings-status-header p{color:#8b95a6;letter-spacing:.12em;margin:0 0 4px;font-size:9px;font-weight:800}.settings-status-header h1{margin:0;font-size:27px}.settings-status-header span{color:#8b95a6;margin-top:5px;font-size:11px;display:block}.status-settings-card{background:#fff;border:1px solid #e3e7ed;border-radius:12px;overflow:hidden}.status-settings-title{border-bottom:1px solid #edf0f3;justify-content:space-between;align-items:center;padding:16px 18px;display:flex}.status-settings-title h2{margin:0;font-size:14px}.status-settings-title p{color:#8b95a6;margin:4px 0 0;font-size:9px}.status-settings-title button{background:#fff;border:1px solid #dfe4ea;border-radius:8px;align-items:center;gap:5px;height:32px;padding:0 10px;font-size:9px;font-weight:700;display:flex}.new-status-row{background:#fafbfc;border-bottom:1px solid #edf0f3;grid-template-columns:1fr 150px auto;gap:7px;padding:12px 18px;display:grid}.new-status-row input,.new-status-row select{border:1px solid #dfe4ea;border-radius:8px;height:36px;padding:0 10px;font-size:10px}.new-status-row button{color:#fff;background:#111827;border:0;border-radius:8px;align-items:center;gap:5px;height:36px;padding:0 12px;font-size:9px;font-weight:700;display:flex}.new-status-row button:disabled{opacity:.45}.status-settings-head,.status-settings-row{grid-template-columns:minmax(180px,1.5fr) 150px 90px 85px 130px 70px;align-items:center;gap:10px;display:grid}.status-settings-head{color:#8892a2;text-transform:uppercase;background:#f8f9fb;min-height:35px;padding:0 18px;font-size:8px;font-weight:800}.status-settings-row{border-top:1px solid #edf0f3;min-height:54px;padding:8px 18px}.status-settings-row.inactive{opacity:.52;background:#fbfbfc}.status-name-cell{align-items:center;gap:8px;display:flex}.status-name-cell input{background:0 0;border:1px solid #0000;border-radius:7px;width:100%;height:31px;padding:0 7px;font-size:10px;font-weight:700}.status-name-cell input:focus{background:#fff;border-color:#d8dee7;outline:none}.status-color-dot{border-radius:50%;width:9px;height:9px}.status-settings-row select,.sort-order-input{background:#fff;border:1px solid #dfe4ea;border-radius:7px;height:31px;padding:0 8px;font-size:9px}.sort-order-input{width:72px}.status-toggle{background:#d0d5dd;border:0;border-radius:999px;width:35px;height:20px;padding:2px}.status-toggle span{background:#fff;border-radius:50%;width:16px;height:16px;transition:all .15s;display:block}.status-toggle.on{background:#111827}.status-toggle.on span{transform:translate(15px)}.status-kind{color:#697586;font-size:9px}.status-row-actions{justify-content:flex-end;display:flex}.delete-status{color:#a23b36;background:#fff;border:1px solid #e2e6ec;border-radius:7px;place-items:center;width:30px;height:30px;display:grid}.settings-message,.settings-error{text-align:center;padding:30px;font-size:10px}.settings-error{color:#b42318}@media (width<=900px){.status-settings-card{overflow-x:auto}.status-settings-head,.status-settings-row{min-width:760px}.new-status-row{grid-template-columns:1fr 130px}.new-status-row button{grid-column:span 2;justify-content:center}}.color-white{background:#fff;border:1px solid #cbd5e1}.color-slate{background:#64748b}.color-gray{background:#94a3b8}.color-zinc{background:#71717a}.color-charcoal{background:#374151}.color-black{background:#111827}.color-red{background:#ef4444}.color-crimson{background:#dc2626}.color-rose{background:#f43f5e}.color-burgundy{background:#881337}.color-orange{background:#f97316}.color-coral{background:#fb7185}.color-amber{background:#f59e0b}.color-yellow{background:#eab308}.color-mustard{background:#ca8a04}.color-lime{background:#84cc16}.color-olive{background:#708238}.color-green{background:#22c55e}.color-emerald{background:#10b981}.color-forest{background:#15803d}.color-deepgreen{background:#14532d}.color-teal{background:#14b8a6}.color-cyan{background:#06b6d4}.color-sky{background:#38bdf8}.color-blue{background:#3b82f6}.color-navy{background:#1e3a8a}.color-indigo{background:#6366f1}.color-violet{background:#8b5cf6}.color-purple{background:#a855f7}.color-fuchsia{background:#d946ef}.color-magenta{background:#c026d3}.color-pink{background:#ec4899}.ss-head{margin-bottom:14px}.ss-head p{color:#8b95a6;margin:0;font-size:9px;font-weight:800}.ss-head h1{margin:4px 0 0;font-size:27px}.ss-tabs{gap:5px;margin-bottom:10px;display:flex}.ss-tabs button{background:#fff;border:1px solid #e2e6ec;border-radius:8px;height:34px;padding:0 11px;font-size:9px;font-weight:700}.ss-tabs button.on,.ss-roles button.on{color:#fff;background:#111827}.ss-card{background:#fff;border:1px solid #e3e7ed;border-radius:12px;overflow:hidden}.ss-title{border-bottom:1px solid #edf0f3;padding:13px 15px}.ss-title h2{margin:0;font-size:13px}.ss-title p{color:#8b95a6;margin:3px 0 0;font-size:8px}.ss-add{background:#fafbfc;grid-template-columns:1.2fr 1fr 90px 140px auto;gap:6px;padding:10px 15px;display:grid}.ss-add input,.ss-add select,.ss-row select{border:1px solid #dfe4ea;border-radius:7px;height:32px;padding:0 8px;font-size:9px}.ss-add button{color:#fff;background:#111827;border:0;border-radius:7px;align-items:center;gap:5px;padding:0 10px;font-size:9px;display:flex}.ss-row{border-top:1px solid #edf0f3;grid-template-columns:1.3fr 1fr 150px 80px;align-items:center;gap:8px;min-height:50px;padding:7px 15px;font-size:9px;display:grid}.ss-label{color:#8b95a6;text-transform:uppercase;background:#f8f9fb;min-height:34px;font-size:8px;font-weight:800}.ss-row strong small,.perm-row strong small{color:#98a1af;margin-top:2px;font-size:7px;display:block}.toggle{background:#d0d5dd;border:0;border-radius:20px;width:35px;height:20px;padding:2px}.toggle span{background:#fff;border-radius:50%;width:16px;height:16px;display:block}.toggle.on{background:#111827}.toggle.on span{transform:translate(15px)}.ss-rights{grid-template-columns:180px 1fr;gap:10px;display:grid}.ss-roles{background:#fff;border:1px solid #e3e7ed;border-radius:12px;padding:8px}.ss-roles button{text-align:left;background:0 0;border:0;border-radius:7px;width:100%;height:35px;padding:0 9px;font-size:9px;font-weight:700}.perm-row{border-top:1px solid #edf0f3;grid-template-columns:1fr 100px 120px;align-items:center;gap:8px;min-height:48px;padding:6px 15px;font-size:9px;display:grid}.ss-add.users-v2{grid-template-columns:minmax(130px,1fr) minmax(120px,1fr) minmax(140px,1fr) 90px minmax(120px,1fr) auto}.users-v2-row{grid-template-columns:minmax(150px,1.3fr) minmax(120px,1fr) minmax(120px,1fr) 80px minmax(220px,1.4fr)}.users-v2-row input{border:1px solid #dfe4ea;border-radius:7px;width:100%;min-width:0;height:32px;padding:0 8px;font-size:8px}.staff-actions{align-items:center;gap:5px;display:flex}.staff-actions button{background:#fff;border:1px solid #dfe4ea;border-radius:7px;min-height:30px;padding:0 8px;font-size:7px;font-weight:700}.staff-password-input{max-width:125px}html[data-theme=dark] .users-v2-row input,html[data-theme=dark] .staff-password-input{color:#eef2f7!important;background:#0f1722!important;border-color:#303d4f!important}html[data-theme=dark] .staff-actions button{color:#dce4ee!important;background:#182331!important;border-color:#344255!important}@media (width<=1100px){.ss-add.users-v2{grid-template-columns:1fr 1fr}.users-v2-row{grid-template-columns:1.2fr 1fr 1fr 70px 1.4fr;min-width:950px}}.owner-role-badge{color:#fff;letter-spacing:.08em;background:#171717;border-radius:999px;justify-content:center;align-items:center;width:max-content;min-height:28px;padding:0 10px;font-size:8px;font-weight:900;display:inline-flex}.staff-locked{color:#98a2b3;font-size:8px;font-weight:700}.toggle:disabled{opacity:.45;cursor:not-allowed}.users-v2-row select:disabled{opacity:.55;cursor:not-allowed}html[data-theme=dark] .owner-role-badge{color:#101722;background:#edf1f6}.work-page{max-width:1500px;color:var(--crm-text);margin:0 auto;font-size:14px}.work-page-head{justify-content:space-between;align-items:center;gap:20px;margin:0 0 24px;padding-right:150px;display:flex}.work-page-head h1{letter-spacing:-.04em;margin:5px 0 8px;font-size:32px}.work-page-head p{color:var(--crm-muted);margin:0;line-height:1.6}.work-eyebrow{letter-spacing:.14em;color:var(--crm-muted);margin:0 0 5px;font-size:10px;font-weight:800}.work-button{border:1px solid var(--crm-border);min-height:38px;color:var(--crm-text);background:var(--crm-surface);font:inherit;cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;font-size:12px;font-weight:650;text-decoration:none;display:inline-flex}.work-button.primary{background:#147953;border-color:#147953;color:#fff!important}.work-button:disabled{opacity:.5;cursor:default}.work-button:hover:not(:disabled){border-color:#16845b}.work-link-button{color:#16845b;font:inherit;cursor:pointer;text-align:left;background:0 0;border:0;padding:6px 0;font-size:12px}.work-muted{color:var(--crm-muted);font-size:12px;line-height:1.6}.work-error{color:#912d24;background:#fdf0ee;border:1px solid #e7b8b3;border-radius:9px;padding:12px;font-size:12px;line-height:1.6}.work-error button{margin:8px}.work-success{color:#18613f;background:#e9f6ef;border-radius:8px;padding:10px 12px;font-size:12px}.work-queue-tabs{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px;display:grid}.work-queue-tabs button{background:var(--crm-surface);border:1px solid var(--crm-border);color:var(--crm-text);text-align:left;cursor:pointer;border-radius:13px;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:20px 16px;display:grid}.work-queue-tabs span{font-size:12px;font-weight:650}.work-queue-tabs strong{font-size:24px}.work-queue-tabs button.active{border-color:#16845b;box-shadow:inset 0 -3px #16845b}.work-queue-tabs svg{color:#16845b}.work-queue-toolbar{justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px;display:flex}.work-owner-tabs{flex-wrap:wrap;gap:5px;display:flex}.work-owner-tabs button{border:1px solid var(--crm-border);background:var(--crm-surface);color:var(--crm-text);cursor:pointer;border-radius:20px;padding:8px 12px;font-size:12px}.work-owner-tabs .active{color:#155439;background:#dff0e7;border-color:#b8d6c6}.work-queue-explanation{color:var(--crm-muted);max-width:980px;margin-bottom:18px;font-size:11px;line-height:1.6}.work-queue-layout{gap:18px;display:grid}.work-queue-layout.with-detail{grid-template-columns:minmax(0,1fr) 360px}.work-queue-list{min-width:0}.work-queue-row{border:1px solid var(--crm-border);background:var(--crm-surface);border-radius:12px;align-items:center;gap:16px;margin-bottom:9px;padding:19px;display:flex}.work-queue-row.overdue{border-left:3px solid #d88036}.work-queue-icon{color:#20754e;background:#eaf5ef;border-radius:12px;flex-shrink:0;place-items:center;width:40px;height:40px;display:grid}.overdue .work-queue-icon{color:#965811;background:#fff1df}.work-queue-main{flex:1;min-width:0}.work-queue-main h2{overflow-wrap:anywhere;margin:5px 0;font-size:15px}.work-queue-main p{color:var(--crm-muted);margin:5px 0 9px;font-size:12px}.work-reason{color:#16845b;font-size:10px;font-weight:750}.overdue .work-reason{color:#ac6419}.work-queue-meta{color:var(--crm-muted);flex-wrap:wrap;gap:8px 20px;font-size:11px;display:flex}.work-queue-actions{flex-shrink:0;justify-items:center;gap:5px;display:grid}.work-pagination{justify-content:center;align-items:center;gap:15px;padding:15px;font-size:12px;display:flex}.work-clear{text-align:center;background:var(--crm-surface);border:1px solid var(--crm-border);border-radius:13px;padding:70px 20px}.work-clear svg{color:#16845b}.work-clear h2{font-size:20px}.work-clear p{color:var(--crm-muted)}.work-queue-detail{background:var(--crm-surface);border:1px solid var(--crm-border);border-radius:12px;align-self:start;min-width:0;padding:18px}.work-section-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.work-section-head h2{align-items:center;gap:9px;margin:0;font-size:16px;display:flex}.work-inline-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.work-task-panel{min-width:0;font-size:12px}.work-task-panel h2{font-size:16px}.work-task-panel .work-section-head{flex-wrap:wrap}.work-task{border-top:1px solid var(--crm-border);padding:15px 0}.work-task-title{align-items:flex-start;gap:8px;display:flex}.work-task-title svg{color:#16845b;flex-shrink:0}.work-task-title strong{overflow-wrap:anywhere;line-height:1.5}.work-task p{color:var(--crm-muted);font-size:11px;line-height:1.6}.work-task.done .work-task-title strong,.work-task.cancelled .work-task-title strong{color:var(--crm-muted)}.work-task.cancelled .work-task-title strong{text-decoration:line-through}.work-task-editor{border:1px solid var(--crm-border);background:var(--crm-surface-2);border-radius:10px;gap:12px;margin:12px 0;padding:14px;display:grid}.work-task-editor label{gap:6px;font-size:11px;font-weight:650;display:grid}.work-task-editor input,.work-task-editor select,.work-task-editor textarea{border:1px solid var(--crm-border);background:var(--crm-input);width:100%;min-width:0;min-height:38px;color:var(--crm-text);font:inherit;box-sizing:border-box;border-radius:7px;padding:8px;font-size:12px}.work-task-editor textarea{resize:vertical;min-height:76px}.work-task-editor small{color:var(--crm-muted);font-size:10px;line-height:1.5}.work-form-grid{grid-template-columns:1fr;gap:12px;display:grid}.work-checkbox{color:var(--crm-muted);align-items:center;gap:7px;padding-top:10px;font-size:11px;display:flex}.work-checkbox input{width:16px;height:16px}.work-empty{color:var(--crm-muted);padding:16px 0;font-size:12px;line-height:1.7}.work-task-history{padding-left:18px;font-size:11px}.work-task-history li{padding:8px 0}.work-task-history span{overflow-wrap:anywhere;margin-top:4px;display:block}.work-back{color:var(--crm-muted);align-items:center;gap:7px;margin-bottom:18px;font-size:12px;text-decoration:none;display:inline-flex}.order-workspace .work-page-head{margin-top:8px;padding-right:0}.work-order-summary{border:1px solid var(--crm-border);background:var(--crm-surface);border-radius:13px;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:22px;padding:18px 8px;display:grid}.work-order-summary>div{border-right:1px solid var(--crm-border);padding:0 14px}.work-order-summary>div:last-child{border:0}.work-order-summary span{color:var(--crm-muted);margin-bottom:7px;font-size:10px;display:block}.work-order-summary strong{overflow-wrap:anywhere;font-size:15px}.work-anchor-nav{flex-wrap:wrap;gap:8px;margin-bottom:20px;display:flex}.work-anchor-nav a{color:var(--crm-text);background:var(--crm-surface);border:1px solid var(--crm-border);border-radius:8px;padding:10px 13px;font-size:12px;text-decoration:none}.work-order-grid{grid-template-columns:minmax(0,1fr) 350px;gap:20px;display:grid}.work-order-main,.work-order-side{min-width:0}.work-card{border:1px solid var(--crm-border);background:var(--crm-surface);border-radius:13px;margin-bottom:18px;padding:22px;scroll-margin-top:20px}.work-equipment{border-top:1px solid var(--crm-border);padding:17px 0}.work-equipment h3{margin:0 0 5px;font-size:17px}.work-equipment span{color:var(--crm-muted);font-size:12px}.work-equipment p,.work-note-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7}.work-address{gap:10px;margin:18px 0;font-size:13px;display:flex}.work-address svg{color:#16845b;flex-shrink:0}.work-address a{color:#16845b;align-items:center;gap:4px;margin-top:9px;font-size:12px;display:flex}.work-note{border-top:1px solid var(--crm-border);padding:16px 0}.work-note header{flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:11px;display:flex}.work-note time{color:var(--crm-muted)}.work-note p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7}.work-document{border:1px solid var(--crm-border);color:var(--crm-text);border-radius:9px;align-items:center;gap:12px;margin:10px 0;padding:15px;text-decoration:none;display:flex}.work-document>span{flex:1;min-width:0}.work-document strong,.work-document small{overflow-wrap:anywhere;display:block}.work-document strong{font-size:12px}.work-document small{color:var(--crm-muted);margin-top:5px;font-size:10px}.work-document>svg{color:#16845b;flex-shrink:0}.work-timeline{border-left:2px solid var(--crm-border);margin:20px 0 0;padding:0 0 0 15px;list-style:none}.work-timeline li{padding:0 0 22px 10px;position:relative}.work-timeline li:before{content:"";background:#16845b;border-radius:50%;width:8px;height:8px;position:absolute;top:3px;left:-20px}.work-timeline strong{font-size:12px}.work-timeline p{overflow-wrap:anywhere;white-space:pre-wrap;margin:7px 0;font-size:12px}.work-timeline small{color:var(--crm-muted);font-size:10px}.work-legacy-editor{overflow-x:auto}.work-legacy-editor .expanded-order{min-width:0}.work-page :is(button,a,input,textarea,select):focus-visible,.work-task-panel :is(button,a,input,textarea,select):focus-visible{outline-offset:3px;outline:2px solid #16845b}.mobile-work-nav{display:none}html[data-theme=dark] .work-owner-tabs .active,html[data-theme=dark] .work-success{color:#bbebce;background:#173b2b}html[data-theme=dark] .work-error{color:#ffcbc4;background:#3a211f;border-color:#7b443e}html[data-theme=dark] .work-queue-icon{color:#a7dec2;background:#18372a}html[data-theme=dark] .overdue .work-queue-icon{color:#efd1a5;background:#382a1c}@media (width<=1150px){.work-order-grid{grid-template-columns:minmax(0,1fr) 290px;gap:14px}.work-queue-layout.with-detail{grid-template-columns:1fr}.work-queue-detail{grid-row:1}.work-queue-tabs button{gap:8px;padding:15px 12px}.work-queue-tabs strong{font-size:20px}.work-queue-tabs svg{display:none}.work-page-head{padding-top:45px;padding-right:0}.work-order-summary{grid-template-columns:repeat(3,1fr)}}@media (width<=768px){.app-shell>.main:has(.wa-workspace){padding-bottom:0!important}.app-shell>.main{padding:0 0 24px!important}.mobile-work-nav{z-index:90;background:var(--crm-surface);border-bottom:1px solid var(--crm-border);gap:5px;padding:10px 12px;display:flex;position:sticky;top:0}.mobile-work-nav a{min-height:40px;color:var(--crm-muted);border-radius:9px;flex:1;justify-content:center;align-items:center;gap:7px;font-size:12px;text-decoration:none;display:flex}.mobile-work-nav a.active{color:#176544;background:#e7f3ec;font-weight:750}html[data-theme=dark] .mobile-work-nav a.active{color:#bbebce;background:#173b2b}.app-shell .global-actions{justify-content:flex-end;padding:10px 12px 0;display:flex;position:relative;top:auto;right:auto!important}:is(.app-shell .main:has(.wa-workspace)>.global-actions,.app-shell .main:has(.work-page)>.global-actions){display:none}.work-page{padding:20px 12px}.work-page-head{flex-wrap:wrap;align-items:flex-start;gap:12px;margin-bottom:18px;padding:0}.work-page-head h1{font-size:27px}.work-page-head p{font-size:12px}.work-queue-tabs{grid-template-columns:1fr 1fr;gap:8px}.work-queue-tabs button{min-height:80px}.work-queue-tabs span{line-height:1.4}.work-queue-toolbar{flex-wrap:wrap}.work-owner-tabs button{min-height:40px;font-size:11px}.work-queue-row{flex-wrap:wrap;gap:10px;padding:14px 11px}.work-queue-icon{width:32px;height:32px}.work-queue-main{flex-basis:calc(100% - 45px)}.work-queue-main h2{font-size:14px}.work-queue-actions{justify-content:flex-end;gap:18px;width:100%;display:flex}.work-queue-meta{flex-direction:column;gap:7px}.work-button{min-height:42px}.work-order-grid{grid-template-columns:1fr}.work-order-side{scroll-margin-top:80px}.work-order-summary{grid-template-columns:1fr 1fr;padding:14px 4px}.work-order-summary strong{font-size:14px}.work-card{padding:17px;scroll-margin-top:80px}.work-form-grid{grid-template-columns:1fr}.work-task-editor input,.work-task-editor textarea,.work-task-editor select{font-size:16px}.work-anchor-nav{gap:6px}.work-anchor-nav a{padding:11px;font-size:11px}.work-link-button{min-height:36px}}:root{--crm-muted:#657286;--crm-focus:#147953;--crm-link:#116d4a}html[data-theme=dark]{--crm-muted:#a8b5c6;--crm-focus:#68d4ab;--crm-link:#72dcaf}.color-white{--crm-status-bg:#fff;--crm-status-fg:#000}.color-slate{--crm-status-bg:#64748b;--crm-status-fg:#fff}.color-gray{--crm-status-bg:#94a3b8;--crm-status-fg:#000}.color-zinc{--crm-status-bg:#71717a;--crm-status-fg:#fff}.color-charcoal{--crm-status-bg:#374151;--crm-status-fg:#fff}.color-black{--crm-status-bg:#111827;--crm-status-fg:#fff}.color-red{--crm-status-bg:#ef4444;--crm-status-fg:#000}.color-crimson{--crm-status-bg:#dc2626;--crm-status-fg:#fff}.color-rose{--crm-status-bg:#f43f5e;--crm-status-fg:#000}.color-burgundy{--crm-status-bg:#881337;--crm-status-fg:#fff}.color-orange{--crm-status-bg:#f97316;--crm-status-fg:#000}.color-coral{--crm-status-bg:#fb7185;--crm-status-fg:#000}.color-amber{--crm-status-bg:#f59e0b;--crm-status-fg:#000}.color-yellow{--crm-status-bg:#eab308;--crm-status-fg:#000}.color-mustard{--crm-status-bg:#ca8a04;--crm-status-fg:#000}.color-lime{--crm-status-bg:#84cc16;--crm-status-fg:#000}.color-olive{--crm-status-bg:#708238;--crm-status-fg:#000}.color-green{--crm-status-bg:#22c55e;--crm-status-fg:#000}.color-emerald{--crm-status-bg:#10b981;--crm-status-fg:#000}.color-forest{--crm-status-bg:#15803d;--crm-status-fg:#fff}.color-deepgreen{--crm-status-bg:#14532d;--crm-status-fg:#fff}.color-teal{--crm-status-bg:#14b8a6;--crm-status-fg:#000}.color-cyan{--crm-status-bg:#06b6d4;--crm-status-fg:#000}.color-sky{--crm-status-bg:#38bdf8;--crm-status-fg:#000}.color-blue{--crm-status-bg:#3b82f6;--crm-status-fg:#000}.color-navy{--crm-status-bg:#1e3a8a;--crm-status-fg:#fff}.color-indigo{--crm-status-bg:#6366f1;--crm-status-fg:#000}.color-violet{--crm-status-bg:#8b5cf6;--crm-status-fg:#000}.color-purple{--crm-status-bg:#a855f7;--crm-status-fg:#000}.color-fuchsia{--crm-status-bg:#d946ef;--crm-status-fg:#000}.color-magenta{--crm-status-bg:#c026d3;--crm-status-fg:#fff}.color-pink{--crm-status-bg:#ec4899;--crm-status-fg:#000}html[data-theme=dark] .inline-status[class*=color-]{filter:none;background:var(--crm-status-bg,#1a2532)!important;color:var(--crm-status-fg,#eef2f7)!important;border-color:var(--crm-status-bg,#344255)!important}html[data-theme=dark] .inline-status option{color:#eef2f7;background:#182331}html[data-theme=dark] :is(.filters-button.active,.date-shortcuts button.active,.wa-mode button.active,.status-tabs button.active,.analytics-filter-tabs button.active,.payments-date-buttons button.active,.invoice-tabs button.active){color:#dbf9e9!important;background:#214737!important;border-color:#539e7c!important}html[data-theme=dark] :is(.global-actions button,.wa-composer>button,.invoice-send-button,.orders-page button.primary){color:#f0fff6!important;background:#245d45!important;border-color:#529879!important}.orders-filter-count{color:#184a35;background:#dbece3}.filters-button.active .orders-filter-count{background:#d7f3e4;color:#17432f!important}html[data-theme=dark] :is(.status-tabs button strong,.wa-orders-head>span){color:#edf5ff;background:#2a3d50}html[data-theme=dark] .status-tabs button.active strong{color:#f0fff6;background:#32634b}.app-shell :is(.wa-chat-list time,.wa-chat-list-main small,.wa-bubble-author time,.wa-languages,.wa-translation>span,.wa-client-card small,.wa-client-meta span,.wa-orders button span,.wa-page-head>span,.wa-page-head>p,.wa-chat-head span,.wa-template-menu span,.orders-table-row small,.editable-field>span,.order-item-inline>span,.summary-item>span,.orders-header p,.orders-header>div>span,.autosave-line,.phone-note,.note-content time,.history-entry small){color:var(--crm-muted)!important}.app-shell :is(.work-address a,.work-link-button,.wa-media-link){color:var(--crm-link)!important}.app-shell :is(.work-address a,.wa-media-link),.app-shell :is(.work-address a,.work-link-button,.wa-media-link):hover{text-underline-offset:3px;text-decoration:underline}.app-shell :is(button,a,input,select,textarea,[tabindex]):focus-visible{outline-offset:2px;outline:2px solid var(--crm-focus)!important}.app-shell :is(.editable-field,.order-item-inline,.orders-search,.wa-search):focus-within{box-shadow:0 0 0 1px var(--crm-focus);border-color:var(--crm-focus)!important}.app-shell :is(.editable-field,.order-item-inline,.orders-search) :is(input,select,textarea):focus-visible{outline:none!important}.app-shell button:not(:disabled){cursor:pointer}.app-shell button:disabled{cursor:not-allowed}@media (hover:hover){.app-shell :is(.work-button,.wa-template-button,.wa-sync-bar button,.order-quick-actions button,.order-quick-actions a,.orders-pagination button,.wa-settings-tools button,.mobile-theme-toggle):not(:disabled):hover{box-shadow:0 0 0 1px var(--crm-focus);border-color:var(--crm-focus)!important}.app-shell .order-item-delete:hover{box-shadow:0 0 0 1px #d54444;border-color:#d54444!important}.app-shell .nav-item:hover{box-shadow:inset 3px 0 #68d4ab}}.app-shell :is(.order-item-delete,.wa-search button,.wa-operation>button:last-child){position:relative}.app-shell :is(.order-item-delete,.wa-search button,.wa-operation>button:last-child):after{content:"";position:absolute;inset:-4px}.work-task-panel-empty .work-eyebrow{display:none}.work-task-panel-empty .work-section-head{margin-bottom:2px}.work-task-panel-empty .work-empty{text-align:left;margin:0;padding:0}.work-task-panel-empty .work-task-archive{align-items:center;min-height:32px;padding:3px 0;display:inline-flex}.work-task-panel-empty .work-task-list:empty{display:none}.wa-chat-settings{grid-row:5;min-width:0}.wa-settings-tools,.wa-mobile-help{display:none}@media (width<=768px){.mobile-work-nav .mobile-theme-toggle{border:1px solid var(--crm-border);background:var(--crm-surface);width:40px;height:40px;color:var(--crm-text);border-radius:9px;flex:0 0 40px;place-items:center;padding:0;display:grid}.wa-chat-settings{border-top:1px solid var(--crm-border);background:var(--crm-surface);max-height:42dvh;overflow-y:auto}.wa-settings-tools{justify-content:space-between;align-items:center;gap:8px;padding:2px 8px;display:flex}.wa-settings-tools button{min-height:40px;color:var(--crm-text);font:inherit;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:6px;font-size:11px;display:inline-flex}.wa-language-trigger{text-align:left;flex-wrap:wrap;min-width:0;padding:4px 7px}.wa-settings-tools .wa-help-trigger{flex:0 0 40px;padding:0;font-size:20px}.wa-language-pending{color:var(--crm-muted);font-size:10px}.wa-chat-settings:not(.wa-settings-language) .wa-language-control{display:none}.wa-settings-help .wa-mobile-help{color:var(--crm-muted);padding:4px 12px 10px;font-size:11px;line-height:1.5;display:block}.wa-composer>.wa-composer-hint{display:none}}.order-preferences{color:var(--crm-text);margin:8px 0 12px;font-size:12px}.order-preferences summary{cursor:pointer;border:1px solid var(--crm-border);background:var(--crm-surface);border-radius:8px;width:max-content;padding:9px 12px;font-weight:650}.order-preferences-body{border:1px solid var(--crm-border);background:var(--crm-surface);border-radius:12px;grid-template-columns:1fr 1fr;gap:24px;max-width:800px;margin-top:8px;padding:16px;display:grid}.order-preferences h3{margin:0 0 8px;font-size:14px}.order-preferences p{color:var(--crm-muted);font-size:11px;line-height:1.5}.order-preferences button,.order-preferences input:not([type=checkbox]){border:1px solid var(--crm-border);background:var(--crm-input);color:var(--crm-text);font:inherit;box-sizing:border-box;border-radius:7px;min-width:0;max-width:100%;padding:8px}.order-preferences label{flex:1;align-items:center;gap:7px;min-width:0;display:flex}.order-preferences section>label{margin:12px 0 8px;display:grid}.order-column-choice{align-items:center;gap:5px;margin:5px 0;display:flex}.order-column-choice input{accent-color:var(--crm-focus)}.order-column-choice button{min-width:32px}.order-preferences button:disabled{opacity:.45}.order-saved-view{gap:5px;margin-top:8px;display:flex}.order-saved-view button:first-child{text-align:left;overflow-wrap:anywhere;flex:1}@media (width>=769px){.orders-personal :is(.orders-table-head,.orders-table-row){grid-template-columns:var(--order-grid);min-width:var(--order-min)}.orders-personal :is(.orders-table-head,.orders-table-row)>:last-child{order:10}.orders-personal :is(.orders-table-head,.orders-table-row)>:first-child{order:var(--order-client)}.orders-personal.hide-client :is(.orders-table-head,.orders-table-row)>:first-child{display:none}.orders-personal :is(.orders-table-head,.orders-table-row)>:nth-child(2){order:var(--order-phone)}.orders-personal.hide-phone :is(.orders-table-head,.orders-table-row)>:nth-child(2){display:none}.orders-personal :is(.orders-table-head,.orders-table-row)>:nth-child(3){order:var(--order-device)}.orders-personal.hide-device :is(.orders-table-head,.orders-table-row)>:nth-child(3){display:none}.orders-personal :is(.orders-table-head,.orders-table-row)>:nth-child(4){order:var(--order-status)}.orders-personal.hide-status :is(.orders-table-head,.orders-table-row)>:nth-child(4){display:none}.orders-personal :is(.orders-table-head,.orders-table-row)>:nth-child(5){order:var(--order-date)}.orders-personal.hide-date :is(.orders-table-head,.orders-table-row)>:nth-child(5){display:none}.orders-personal :is(.orders-table-head,.orders-table-row)>:nth-child(6){order:var(--order-payment)}.orders-personal.hide-payment :is(.orders-table-head,.orders-table-row)>:nth-child(6){display:none}.orders-personal :is(.orders-table-head,.orders-table-row)>:nth-child(7){order:var(--order-assignee)}.orders-personal.hide-assignee :is(.orders-table-head,.orders-table-row)>:nth-child(7){display:none}.orders-personal :is(.orders-table-head,.orders-table-row)>:nth-child(8){order:var(--order-invoice)}.orders-personal.hide-invoice :is(.orders-table-head,.orders-table-row)>:nth-child(8){display:none}.orders-personal :is(.orders-table-head,.orders-table-row)>:nth-child(9){order:var(--order-price)}.orders-personal.hide-price :is(.orders-table-head,.orders-table-row)>:nth-child(9){display:none}}.payments-period-field{color:var(--crm-muted);gap:3px;font-size:10px;display:grid}.payments-period-field input,.payments-pagination button{border:1px solid var(--crm-border);background:var(--crm-surface);height:36px;color:var(--crm-text);font:inherit;border-radius:8px;padding:0 9px}.payments-period-range{gap:8px;display:flex}.payments-period-note{color:var(--crm-muted);margin:8px 0 12px;font-size:11px}.payments-pagination{color:var(--crm-text);justify-content:flex-end;align-items:center;gap:12px;margin-top:12px;font-size:12px;display:flex}.payments-pagination>span:first-child{margin-right:auto}.payments-pagination button:disabled{opacity:.45}.wa-delivery{color:var(--crm-muted);margin-top:8px;font-size:10px;line-height:1.5;display:block}.wa-delivery.delivery-read{color:var(--crm-link)}.wa-delivery:is(.delivery-failed,.delivery-undelivered,.delivery-canceled){color:#b42318}html[data-theme=dark] .wa-delivery:is(.delivery-failed,.delivery-undelivered,.delivery-canceled){color:#ffb0a8}.client-action-label,.calendar-mobile-day{display:none}.calendar-more{text-align:left;cursor:pointer;background:0 0;border:0}html[data-theme=dark] :is(.clients-responsive-page,.calendar-responsive-page) :is(.clients-search,.client-actions button,.calendar-nav button,.calendar-quick,.calendar-view-tabs button){background:var(--crm-surface)!important;color:var(--crm-text)!important;border-color:var(--crm-border)!important}html[data-theme=dark] .clients-responsive-page .clients-search input{color:var(--crm-text)!important;background:0 0!important}html[data-theme=dark] .calendar-responsive-page .calendar-view-tabs button.active{color:#dbf9e9!important;background:#214737!important;border-color:#539e7c!important}html[data-theme=dark] .calendar-responsive-page :is(.calendar-event-time,.calendar-event-status,.calendar-event>span,.calendar-no-events,.calendar-day-view-head span){color:var(--crm-muted)!important}html[data-theme=dark] :is(.payments-period-field input,.payments-pagination button){background:var(--crm-surface)!important;color:var(--crm-text)!important;border-color:var(--crm-border)!important}@media (width<=768px){.app-shell .mobile-work-nav{gap:3px;padding:7px 6px}.app-shell .mobile-work-nav a{flex-direction:column;gap:3px;min-width:0;min-height:44px;font-size:9px}.app-shell .mobile-work-nav .mobile-theme-toggle{flex-basis:32px;width:32px;height:44px}.clients-responsive-page,.calendar-responsive-page{min-width:0;padding:16px 12px}.clients-responsive-page :is(.clients-header span,.clients-header p),.calendar-responsive-page :is(.calendar-page-head span,.calendar-page-head p){color:var(--crm-muted);font-size:12px;line-height:1.5}.clients-responsive-page .clients-search{min-width:0;max-width:none;height:44px}.clients-responsive-page .clients-search input{min-width:0;font-size:16px}.clients-responsive-page .clients-search button{height:36px;font-size:12px}.clients-responsive-page .clients-table{border:0;overflow:visible;background:0 0!important}.clients-responsive-page .clients-table-head{display:none}.clients-responsive-page .client-entry{border:1px solid var(--crm-border);background:var(--crm-surface);border-radius:12px;margin:10px 0;overflow:hidden}.clients-responsive-page .client-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;min-width:0;padding:14px;font-size:13px}.client-row>*{min-width:0}.clients-responsive-page .client-name{grid-column:1/-1}.clients-responsive-page .client-name small{font-size:10px}.clients-responsive-page .client-avatar{flex-shrink:0;font-size:12px}.clients-responsive-page .client-inline-value{overflow-wrap:anywhere;min-height:40px;font-size:14px;color:var(--crm-text)!important}.clients-responsive-page .client-inline-input{height:44px;color:var(--crm-text);background:var(--crm-input);font-size:16px}.clients-responsive-page [data-mobile-label]:before{content:attr(data-mobile-label);color:var(--crm-muted);margin-bottom:5px;font-size:10px;font-weight:400;display:block}.clients-responsive-page .client-row>span:nth-child(7){grid-column:1/-1}.clients-responsive-page .client-actions{border-top:1px solid var(--crm-border);grid-column:1/-1;grid-template-columns:1fr 1fr 1.2fr;gap:6px;padding-top:10px;display:grid}.clients-responsive-page .client-actions button{justify-content:center;align-items:center;gap:6px;width:100%;height:44px;font-size:11px;display:flex}.client-action-label{display:inline}.clients-responsive-page .client-expand-meta{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.clients-responsive-page .client-expand-meta>div{min-width:0;padding:7px}.clients-responsive-page .client-expand-meta strong{overflow-wrap:anywhere;font-size:13px}.clients-responsive-page .client-expand-meta span{font-size:10px}.clients-responsive-page .client-order-list{grid-template-columns:minmax(0,1fr)}.clients-responsive-page .client-order-list>button{min-height:60px}.clients-responsive-page .client-order-list strong{font-size:13px}.clients-responsive-page .client-order-list span{white-space:normal;font-size:11px}.calendar-responsive-page .calendar-toolbar{flex-wrap:wrap;gap:8px}.calendar-responsive-page .calendar-title{flex:1;min-width:180px;font-size:14px}.calendar-responsive-page .calendar-spacer{display:none}.calendar-responsive-page :is(.calendar-nav button,.calendar-quick,.calendar-view-tabs button){min-width:44px;height:44px;font-size:12px}.calendar-responsive-page .calendar-view-tabs{margin-left:auto}.calendar-responsive-page .calendar-month{overflow:hidden}.calendar-responsive-page :is(.calendar-week-head,.calendar-month-grid){grid-template-columns:repeat(7,minmax(0,1fr));min-width:0}.calendar-responsive-page .calendar-week-head span{font-size:11px}.calendar-responsive-page .calendar-day-cell{min-width:0;min-height:58px;padding:2px}.calendar-responsive-page .calendar-day-number{margin:0}.calendar-responsive-page .calendar-day-number>span,.calendar-responsive-page .calendar-day-number>small,.calendar-responsive-page .calendar-events{display:none}.calendar-responsive-page .calendar-mobile-day{width:100%;min-height:54px;color:var(--crm-text);background:0 0;border:0;border-radius:7px;place-items:center;gap:2px;font-size:14px;display:grid}.calendar-responsive-page .calendar-mobile-day small{color:var(--crm-muted);background:var(--crm-surface-2);border-radius:5px;height:16px;font-size:10px}.calendar-responsive-page .today .calendar-mobile-day{box-shadow:inset 0 0 0 2px var(--crm-focus)}.calendar-responsive-page .other-month .calendar-mobile-day{opacity:.5}.calendar-responsive-page .calendar-week{grid-template-columns:minmax(0,1fr);overflow:visible}.calendar-responsive-page .calendar-week-events{min-height:0}.calendar-responsive-page :is(.calendar-week-day-head strong,.calendar-week-day-head span,.calendar-day-view-head strong){font-size:14px}.calendar-responsive-page :is(.calendar-day-view-head span,.calendar-no-events){font-size:12px}.calendar-responsive-page .calendar-event{padding:12px}.calendar-responsive-page .calendar-event>strong{white-space:normal;font-size:14px}.calendar-responsive-page .calendar-event>span{overflow-wrap:anywhere;white-space:normal!important;font-size:12px!important}.calendar-responsive-page .calendar-event-time,.calendar-responsive-page .calendar-event-status{font-size:11px}.calendar-responsive-page .calendar-event-status{white-space:normal;max-width:55%}.order-preferences{margin:10px 12px}.order-preferences-body{grid-template-columns:minmax(0,1fr);gap:18px}.order-preferences button{min-height:40px}.order-preferences input:not([type=checkbox]){font-size:16px}}
