.crm-dialog,.crm-workspace{--crm-border:var(--erp-border);--crm-muted:var(--erp-muted);--crm-text:var(--erp-text);--crm-accent:var(--erp-accent);color:var(--crm-text);font-size:var(--erp-text-base);line-height:1.5}.crm-workspace{gap:var(--erp-space-4)}.crm-workspace :is(h2,h3,p,dl,dd,ol){margin:0}.crm-dialog :is(button,select,input,textarea),.crm-workspace :is(button,select,input,textarea){max-width:100%}.crm-dialog :is(.erp-field,.erp-form-grid),.crm-workspace :is(.erp-field,.erp-form-grid){min-width:0}.crm-dialog .erp-field>span,.crm-workspace .erp-field>span{font-size:var(--erp-text-sm);font-weight:500;color:var(--crm-muted)}.crm-dialog :is(input,select,textarea),.crm-workspace :is(input,select,textarea){min-width:0;font-size:var(--erp-text-base);border-color:var(--crm-border)}.crm-dialog .erp-field>:is(input,select),.crm-workspace .erp-field>:is(input,select){height:44px;min-height:var(--erp-control-height);border-radius:var(--erp-radius-sm);background:var(--erp-surface)}.crm-dialog textarea,.crm-workspace textarea{border-radius:var(--erp-radius-sm);background:var(--erp-surface);resize:vertical}.crm-dialog [data-slot=button],.crm-workspace [data-slot=button]{min-height:var(--erp-control-compact);height:auto;font-size:var(--erp-text-base);line-height:1.4;white-space:normal}.crm-dialog [data-slot=button]:focus-visible,.crm-workspace .crm-list-row:focus-visible,.crm-workspace [data-slot=button]:focus-visible{outline:2px solid var(--erp-focus);outline-offset:2px}.crm-view-tabs{margin:0}.crm-workspace .crm-toolbar{display:flex;gap:var(--erp-space-3);align-items:end;padding:14px;margin:0;background:var(--erp-surface);border:1px solid var(--crm-border);border-radius:var(--erp-radius-md)}.crm-workspace .crm-toolbar .erp-field{flex:1 1 160px;max-width:none;min-width:0;gap:6px;margin:0}.crm-workspace .crm-toolbar select{width:100%;font-size:var(--erp-text-base);text-overflow:ellipsis}.crm-workspace .crm-create-action{min-height:var(--erp-control-compact)}.crm-channel-state,.crm-row-meta{color:var(--crm-muted);font-size:var(--erp-text-xs);line-height:1.5}.crm-row-meta{overflow-wrap:anywhere}.crm-columns{min-width:0;grid-template-columns:minmax(270px,.85fr) minmax(0,1.35fr);gap:var(--erp-space-4)}.crm-workspace :is(.crm-list,.crm-detail,.crm-detail-empty){border-color:var(--crm-border);border-radius:var(--erp-radius-md)}.crm-list-heading{align-items:center;gap:var(--erp-space-3);padding:13px 16px;font-size:var(--erp-text-base);border-color:var(--crm-border)}.crm-list-heading>strong{font-weight:600}.crm-list-heading>span{display:inline-flex;justify-content:center;min-width:28px;padding:2px 8px;border-radius:6px;color:var(--crm-muted);font-size:var(--erp-text-xs);font-weight:600;font-variant-numeric:tabular-nums}.crm-workspace .crm-list-row{gap:7px;padding:14px 15px 14px 13px;border-bottom-color:var(--crm-border);color:var(--crm-text);font-size:var(--erp-text-base);line-height:1.45}.crm-workspace .crm-list-row.selected{background:var(--erp-accent-surface)}.crm-row-top{align-items:start;gap:7px}.crm-row-top>strong{flex:1 1 150px;font-weight:600;line-height:1.5}.crm-workspace .crm-stage{flex:0 0 auto;max-width:100%;padding:3px 7px;border:1px solid transparent;border-radius:6px;font-size:var(--erp-text-xs);font-weight:600;line-height:1.4;background:var(--erp-soft);color:var(--erp-muted)}.crm-workspace .crm-stage.stage-calculation,.crm-workspace .crm-stage.stage-qualification{background:var(--erp-info-surface);color:var(--erp-info)}.crm-workspace .crm-stage.stage-waiting{background:var(--erp-warning-surface);color:var(--erp-warning)}.crm-workspace .crm-stage.stage-won{background:var(--erp-positive-surface);color:var(--erp-positive)}.crm-next,.crm-overdue{display:flex;align-items:start;gap:7px;font-size:var(--erp-text-sm);line-height:1.45;padding:7px 9px;border-radius:7px;background:var(--erp-soft);color:var(--erp-muted)}.crm-next>svg,.crm-overdue>svg{flex:0 0 auto;width:14px;height:14px;margin-top:2px}.crm-next>span,.crm-overdue>span{min-width:0}.crm-overdue{background:var(--erp-danger-surface);color:var(--erp-danger);font-weight:500}.crm-list-row.selected .crm-next{background:var(--erp-accent-surface)}.crm-plan-warning{color:var(--erp-warning);font-size:var(--erp-text-xs);line-height:1.45}.crm-workspace .crm-list .erp-pagination{padding:12px 14px;margin:0;gap:var(--erp-space-2);border-top:0;font-size:var(--erp-text-xs)}.crm-workspace .erp-pagination select{max-width:100%}.crm-detail{padding:var(--erp-space-5);gap:var(--erp-space-4)}.crm-detail-heading{flex-wrap:wrap}.crm-detail-title{display:grid;gap:8px;min-width:0}.crm-detail-title>button{justify-self:start;margin-top:4px}.crm-detail h2{font-size:22px;line-height:1.25;letter-spacing:-.025em}.crm-detail h2,.crm-detail h3{color:var(--crm-text);font-weight:600}.crm-detail h3{font-size:15px;line-height:1.4}.crm-facts{gap:12px 20px;padding:15px;border:1px solid var(--crm-border);border-radius:10px}.crm-facts>div{min-width:0}.crm-facts>div:last-child{grid-column:1/-1}.crm-facts dt{margin-bottom:4px;color:var(--crm-muted);font-size:var(--erp-text-xs)}.crm-facts dd{color:var(--crm-text);font-size:var(--erp-text-base);line-height:1.45}.crm-facts dd>span{color:var(--crm-muted)}.crm-description{font-size:var(--erp-text-base);line-height:1.6}.crm-main-actions{gap:var(--erp-space-2);margin:0}.crm-linked-heading{padding-top:4px;scroll-margin-top:90px}.crm-order-guidance{gap:10px;padding:var(--erp-space-3);border:1px solid var(--crm-border);border-radius:10px;background:var(--erp-surface)}.crm-order-guidance>div{flex:1 1 180px}.crm-order-guidance>div>[data-slot=button]{justify-content:start;min-height:0;padding:0;font-weight:600;text-align:left;overflow-wrap:anywhere}.crm-order-guidance>div>p{margin:5px 0 0;color:var(--crm-muted);font-size:var(--erp-text-sm)}.crm-followup-form{gap:var(--erp-space-3);padding:var(--erp-space-4);margin:4px 0;border:1px solid var(--crm-border);border-radius:var(--erp-radius-md);background:var(--erp-soft)}.crm-followup-form>h3{margin-bottom:2px}.crm-workspace .crm-plan-modes{width:fit-content;max-width:100%;gap:3px;padding:3px;margin:0;border:1px solid var(--crm-border);border-radius:9px}.crm-workspace .crm-plan-modes>button[data-slot=button]{min-height:var(--erp-control-compact);border:0;border-radius:6px;background:transparent;color:var(--crm-muted);box-shadow:none}.crm-workspace .crm-plan-modes>button[aria-pressed=true]{background:var(--erp-surface);color:var(--crm-text);box-shadow:var(--erp-shadow-card)}.crm-workspace .crm-close-action{justify-content:start;min-height:var(--erp-control-compact);padding-inline:0;color:var(--crm-muted);font-size:var(--erp-text-xs);text-align:left}.crm-workspace .crm-close-action:hover{background:transparent;color:var(--erp-danger);text-decoration:underline}.crm-dialog .crm-quick-choices>button,.crm-workspace .crm-quick-choices>button{min-height:var(--erp-control-compact);padding:6px 9px;border-radius:7px;font-size:var(--erp-text-xs);font-weight:500}.crm-dialog .crm-quick-choices>button[aria-pressed=true],.crm-workspace .crm-quick-choices>button[aria-pressed=true]{background:var(--erp-accent-surface);border-color:var(--erp-accent-line);color:var(--erp-accent-ink)}.crm-dialog .erp-form-help,.crm-workspace .erp-form-help{font-size:var(--erp-text-xs);line-height:1.5;color:var(--crm-muted);overflow-wrap:anywhere}.crm-workspace .crm-waiting-summary{gap:var(--erp-space-3);margin:0;padding:13px;border-color:var(--erp-warning-line);border-radius:10px}.crm-waiting-summary>div{min-width:0;overflow-wrap:anywhere}.crm-waiting-summary strong{font-size:var(--erp-text-base);font-weight:600}.crm-workspace .crm-waiting-summary p{margin-top:4px}.crm-owner-notice{border-color:var(--erp-accent-line);border-radius:10px;background:var(--erp-accent-surface)}.crm-owner-notice>span{min-width:0}.crm-comparison{border-radius:10px;border-color:var(--erp-accent-line);font-size:var(--erp-text-sm)}.crm-notes{gap:var(--erp-space-3);padding:0;list-style:none}.crm-notes li{padding:0 0 1px 12px;border-left-color:var(--erp-border);font-size:var(--erp-text-base)}.crm-notes li>span{color:var(--crm-muted);font-size:var(--erp-text-xs)}.crm-workspace .crm-empty{min-height:176px;align-content:center;justify-items:center;text-align:center;padding:24px 20px}.crm-empty>svg{width:26px;height:26px;margin-bottom:3px;color:var(--erp-muted)}.crm-empty>strong{font-size:var(--erp-text-base);font-weight:600}.crm-empty>p{max-width:280px;font-size:var(--erp-text-sm);color:var(--crm-muted)}.crm-day-groups button{min-height:58px;border-color:var(--crm-border);border-radius:10px;font-size:var(--erp-text-sm);color:var(--crm-text)}.crm-day-groups button.active{background:var(--erp-accent);color:var(--erp-accent-text);border-color:var(--erp-accent)}.crm-day-groups button strong{font-size:20px;font-weight:600;font-variant-numeric:tabular-nums}.crm-order-day{margin:0;padding:0;overflow:hidden;border-color:var(--crm-border);border-radius:var(--erp-radius-md)}.crm-order-day .erp-order-day-row{margin:0;padding:13px 16px;gap:var(--erp-space-3)}.crm-order-day .erp-order-day-row>div{min-width:0;overflow-wrap:anywhere}.crm-order-day .erp-order-day-row>div>span{color:var(--crm-muted);font-size:var(--erp-text-xs)}.crm-order-day>.erp-muted{padding:var(--erp-space-4);font-size:var(--erp-text-sm)}.crm-dialog .erp-form-grid{gap:14px}.crm-dialog .erp-form-grid>.erp-field:first-child{grid-column:1/-1}.crm-dialog .crm-edit-fields>button{justify-self:start}.crm-dialog .crm-form-actions{padding-top:14px;border-top:1px solid var(--crm-border)}.crm-dialog .erp-form-help>button{margin-top:4px}@media (max-width:1000px){.crm-columns{grid-template-columns:minmax(250px,.9fr) minmax(0,1.2fr)}.crm-detail{padding:var(--erp-space-4)}.crm-followup-form{padding:13px}}@media (max-width:900px){.crm-workspace{gap:var(--erp-space-3)}.crm-columns{grid-template-columns:minmax(0,1fr)}.crm-columns .crm-detail-empty,.crm-columns.has-detail .crm-list{display:none}.crm-day-groups{gap:var(--erp-space-2)}}@media (max-width:600px){.crm-workspace .crm-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px;padding:var(--erp-space-3)}.crm-workspace .crm-toolbar .erp-field{width:100%}.crm-workspace .crm-toolbar .erp-field>span{font-size:var(--erp-text-xs)}.crm-workspace .crm-create-action{width:100%;min-height:var(--erp-control-height)}.crm-dialog .erp-field>:is(input,select),.crm-workspace .erp-field>:is(input,select){min-height:var(--erp-control-height);height:44px}.crm-dialog :is(input,select,textarea),.crm-workspace :is(input,select,textarea){font-size:var(--erp-text-lg)}.crm-workspace .crm-toolbar select{font-size:var(--erp-text-base)}.crm-dialog [data-slot=button],.crm-workspace [data-slot=button]{min-height:var(--erp-control-height)}.crm-dialog .crm-quick-choices>button,.crm-workspace .crm-close-action,.crm-workspace .crm-plan-modes>button[data-slot=button],.crm-workspace .crm-quick-choices>button{min-height:var(--erp-control-compact)}.crm-list-heading{padding:var(--erp-space-3)}.crm-workspace .crm-list-row{padding:13px 12px 13px 10px}.crm-row-top>strong{flex-basis:170px}.crm-row-top .crm-stage{flex-shrink:1}.crm-detail{padding:14px;gap:14px}.crm-detail h2{font-size:21px}.crm-facts{grid-template-columns:minmax(0,1fr);padding:var(--erp-space-3);gap:13px}.crm-order-guidance>div{flex-basis:100%}.crm-order-guidance>[data-slot=button]{width:100%}.crm-order-guidance>div>[data-slot=button]{min-height:0}.crm-followup-form{padding:var(--erp-space-3)}.crm-followup-form>button[type=submit],.crm-note-form>button[type=submit]{width:100%;justify-self:stretch}.crm-workspace .crm-waiting-summary{flex-direction:column;align-items:stretch}.crm-owner-notice>[data-slot=button]{width:100%}.crm-workspace .erp-pagination{flex-wrap:wrap;gap:var(--erp-space-2)}.crm-workspace .erp-pagination>label{max-width:100%}.crm-order-day .erp-order-day-row{flex-direction:column;align-items:stretch;padding:var(--erp-space-3)}.crm-order-day .erp-order-day-row>[data-slot=button]{width:100%;max-width:100%}.crm-dialog .erp-form-grid{grid-template-columns:minmax(0,1fr)}.crm-dialog .crm-form-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--erp-space-2)}.crm-dialog .crm-form-actions>button{min-width:0}.crm-dialog .erp-form-help>button{justify-content:flex-start;padding-inline:0;text-align:left}}.crm-bitrix-import{min-width:0;color:var(--erp-text);border:1px solid var(--erp-border);border-radius:var(--erp-radius-md);background:var(--erp-surface)}.crm-bitrix-import>summary{padding:var(--erp-space-4);cursor:pointer;font-weight:600;font-size:var(--erp-text-lg)}.crm-bitrix-import summary:focus-visible{outline:2px solid var(--erp-accent);outline-offset:3px}.crm-bitrix-content{display:grid;gap:var(--erp-space-4);padding:0 var(--erp-space-4) var(--erp-space-4);min-width:0}.crm-bitrix-content :is(p,h3,dl,dd){margin:0}.crm-bitrix-content :is(button,select,input,textarea){max-width:100%;min-width:0}.crm-bitrix-content [data-slot=button]{height:auto;min-height:42px;white-space:normal;line-height:1.45}.crm-bitrix-content .erp-field{min-width:0;margin:0}.crm-bitrix-heading{display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center;justify-content:space-between;overflow-wrap:anywhere}.crm-bitrix-heading>span{color:var(--erp-muted);font-size:var(--erp-text-sm)}.crm-bitrix-read{display:grid;justify-items:start;gap:12px;padding:var(--erp-space-3);border:1px solid var(--erp-border);border-radius:var(--erp-radius-sm)}.crm-bitrix-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.crm-bitrix-totals>button{display:grid;gap:5px;align-content:start;padding:14px;text-align:left;color:var(--erp-text);background:var(--erp-surface);border:1px solid var(--erp-border);border-radius:var(--erp-radius-sm)}.crm-bitrix-totals>button>span{color:var(--erp-muted);font-size:var(--erp-text-sm)}.crm-bitrix-totals>button>strong{font-size:24px;font-variant-numeric:tabular-nums}.crm-bitrix-totals>button[aria-pressed=true]{border-color:var(--erp-accent);box-shadow:inset 0 0 0 1px var(--erp-accent)}.crm-bitrix-totals>button:focus-visible{outline:2px solid var(--erp-accent);outline-offset:3px}.crm-bitrix-filters{display:grid;grid-template-columns:minmax(170px,.6fr) minmax(0,1fr);gap:14px;align-items:end}.crm-bitrix-records{display:grid;gap:var(--erp-space-4);min-width:0}.crm-bitrix-record{display:grid;gap:14px;min-width:0;padding:var(--erp-space-4);border:1px solid var(--erp-border);border-radius:var(--erp-radius-md);overflow-wrap:anywhere}.crm-bitrix-record>header{display:flex;flex-wrap:wrap;gap:8px 16px;justify-content:space-between;align-items:start}.crm-bitrix-record>header>div{flex:1 1 230px;min-width:0}.crm-bitrix-record h3{font-size:var(--erp-text-lg);line-height:1.45}.crm-bitrix-state{padding:4px 8px;border-radius:6px;background:var(--erp-soft);font-size:var(--erp-text-xs)}.crm-bitrix-channels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px}.crm-bitrix-channels dt{color:var(--erp-muted);font-size:var(--erp-text-xs)}.crm-bitrix-channels dd{display:grid;gap:3px}.crm-bitrix-invalid{color:var(--erp-danger);font-size:var(--erp-text-xs)}.crm-bitrix-warning{padding:12px 14px;border:1px solid var(--erp-warning-line);border-radius:var(--erp-radius-sm);background:var(--erp-warning-surface);color:var(--erp-text)}.crm-bitrix-warning:is(ul){margin:0;padding-left:30px}.crm-bitrix-warning p+p{margin-top:5px}.crm-bitrix-links{display:grid;gap:5px;font-size:var(--erp-text-sm)}.crm-bitrix-defer summary,.crm-bitrix-source summary{color:var(--erp-muted);font-size:var(--erp-text-sm);cursor:pointer}.crm-bitrix-source pre{margin:10px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow:auto;font-size:var(--erp-text-xs)}.crm-bitrix-defer[open]{display:grid;gap:12px}.crm-bitrix-record>[data-slot=button]{justify-self:start}.crm-contact-methods{display:flex;flex-wrap:wrap;gap:6px 14px;overflow-wrap:anywhere;min-width:0}.crm-contact-methods>span{display:inline-flex;flex-wrap:wrap;gap:5px;max-width:100%}.crm-contact-methods small{color:var(--erp-muted)}.crm-contact-channel-editor{display:grid;gap:12px;margin-top:12px}.crm-contact-channel-editor>p{margin:0}.crm-contact-channel-row{display:grid;grid-template-columns:120px minmax(0,1fr) 130px auto;align-items:end;gap:8px;min-width:0}.crm-contact-channel-row .erp-field{margin:0;min-width:0}.crm-contact-channel-editor [data-slot=button]{height:auto;min-height:40px;white-space:normal}@media (max-width:650px){.crm-bitrix-content{padding-inline:12px;gap:14px}.crm-bitrix-import>summary{padding:16px 12px}.crm-bitrix-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-bitrix-record{padding:14px 12px}.crm-bitrix-channels,.crm-bitrix-filters{grid-template-columns:minmax(0,1fr)}.crm-bitrix-content :is(input,select,textarea){font-size:16px}.crm-bitrix-content [data-slot=button]{min-height:44px}.crm-bitrix-read>[data-slot=button],.crm-bitrix-record>[data-slot=button]{width:100%;justify-self:stretch}.crm-contact-channel-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-bottom:1px solid var(--erp-border);padding-bottom:12px}.crm-contact-channel-row>.erp-field:nth-child(2){grid-column:1/-1;grid-row:2}}.crm-workspace{gap:12px}.crm-queue-toolbar{justify-content:space-between;gap:12px}.crm-queue-scopes,.crm-queue-toolbar{display:flex;align-items:center;flex-wrap:wrap}.crm-queue-scopes{gap:4px;padding:4px;border:1px solid var(--erp-border);border-radius:12px;background:var(--erp-soft)}.crm-queue-scopes button{min-height:34px;padding:7px 12px;border-radius:8px;color:var(--erp-muted);font-size:var(--erp-text-sm);font-weight:550;cursor:pointer;transition:background .16s,color .16s}.crm-queue-scopes button[aria-pressed=true]{color:var(--erp-text);background:var(--erp-surface);box-shadow:var(--erp-shadow-card)}.crm-queue-scopes button:hover{color:var(--erp-text)}.crm-queue-scopes button:focus-visible{outline:2px solid var(--erp-accent);outline-offset:2px}.crm-workspace .crm-create-action{width:auto;justify-self:end;border-radius:10px;padding-inline:15px}.crm-workspace>.erp-registry-filters,.crm-workspace>.list-filter-shell{margin:0}.crm-columns{grid-template-columns:minmax(280px,.85fr) minmax(0,1.4fr);gap:16px;align-items:stretch;height:clamp(460px,calc(100dvh - 268px),880px)}.crm-workspace :is(.crm-list,.crm-detail,.crm-detail-empty){background:var(--erp-surface);border:1px solid var(--erp-border);border-radius:16px}.crm-workspace .crm-list{display:flex;flex-direction:column;overflow:auto}.crm-workspace .crm-list-heading{flex:0 0 auto;position:sticky;top:0;z-index:1;background:var(--erp-surface);border-bottom:1px solid var(--erp-border);padding:15px 18px}.crm-list-heading>span{border-radius:20px;background:var(--erp-soft)}.crm-workspace .crm-list-row{flex:0 0 auto;padding:16px 17px;gap:8px;border-left:3px solid transparent;background:transparent;transition:background .15s}.crm-workspace .crm-list-row:hover{background:var(--erp-soft)}.crm-workspace .crm-list-row.selected{background:color-mix(in srgb,var(--erp-accent) 8%,var(--erp-surface));border-left-color:var(--erp-accent)}.crm-row-top{flex-wrap:wrap}.crm-row-top>strong{font-size:var(--erp-text-base);font-weight:650;line-height:1.45}.crm-row-identity{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:3px 10px}.crm-row-customer{color:var(--erp-muted);overflow-wrap:anywhere}.crm-row-assignee,.crm-row-customer,.crm-row-identity time{font-size:var(--erp-text-sm)}.crm-row-assignee{display:flex;align-items:center;gap:5px}.crm-row-assignee svg{flex-shrink:0}.crm-workspace .crm-stage{border-radius:20px;padding:3px 8px;font-weight:550;font-size:var(--erp-text-sm)}.crm-workspace .crm-stage.stage-new{background:var(--erp-info-surface);color:var(--erp-info)}.crm-workspace .crm-stage.stage-lost{background:var(--erp-soft);color:var(--erp-muted)}.crm-workspace .crm-list-row.selected .crm-next,.crm-workspace .crm-next{padding:0;background:transparent;color:var(--erp-text);font-size:var(--erp-text-sm);line-height:1.45}.crm-workspace .crm-next>svg{color:var(--erp-muted)}.crm-workspace .crm-overdue{padding:5px 7px;font-size:var(--erp-text-sm);border-radius:7px}.crm-workspace .crm-list>.erp-pagination{margin-top:auto;background:var(--erp-surface);border-top:1px solid var(--erp-border)}.crm-workspace .crm-detail{padding:22px;gap:16px;overflow:auto;align-content:start}.crm-detail h2{font-size:23px;line-height:1.3;letter-spacing:-.03em}.crm-detail .crm-detail-heading [data-slot=button]{min-height:32px;font-size:var(--erp-text-sm);padding:4px 8px}.crm-facts{background:var(--erp-soft);border-color:var(--erp-border);border-radius:12px;padding:16px}.crm-facts dd,.crm-facts dd>span,.crm-facts dt{font-size:var(--erp-text-sm)}.crm-facts dd>span{margin-top:3px}.crm-owner-notice{font-size:var(--erp-text-sm)}.crm-detail .crm-main-actions{padding-bottom:14px;border-bottom:1px solid var(--erp-border)}.crm-detail .crm-main-actions [data-slot=button]{min-height:36px;padding:7px 11px;font-size:var(--erp-text-sm)}.crm-followup-section{min-width:0;border:1px solid var(--erp-border);border-radius:12px;background:var(--erp-soft)}.crm-followup-section>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;padding:14px 16px;font-size:var(--erp-text-sm);font-weight:600}.crm-followup-section>summary::-webkit-details-marker{display:none}.crm-followup-section>summary:focus-visible{outline:2px solid var(--erp-accent);outline-offset:2px;border-radius:12px}.crm-followup-section>summary svg{flex-shrink:0;transition:transform .15s}.crm-followup-section[open]>summary svg{transform:rotate(180deg)}.crm-followup-section .crm-followup-form{margin:0;padding:0 16px 16px;background:transparent;border:0}.crm-workspace .crm-plan-modes{background:var(--erp-soft)}.crm-workspace .crm-waiting-summary{background:var(--erp-warning-surface);border-color:color-mix(in srgb,var(--erp-warning) 22%,var(--erp-border))}.crm-workspace .crm-plan-warning{color:var(--erp-warning)}.crm-workspace .crm-notes{display:grid;gap:0}.crm-workspace .crm-notes>li{background:transparent;padding:12px 0;border:0;border-bottom:1px solid var(--erp-border);border-radius:0}.crm-workspace .crm-notes>li:last-child{border-bottom:0}.crm-workspace .crm-notes p{line-height:1.55}.crm-workspace .crm-notes p,.crm-workspace .crm-notes span{font-size:var(--erp-text-sm)}.crm-detail-empty{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:10px;padding:30px;color:var(--erp-muted)}.crm-detail-empty>svg{width:38px;height:38px;padding:9px;box-sizing:content-box;border-radius:18px;background:var(--erp-soft);color:var(--erp-accent)}.crm-detail-empty strong{color:var(--erp-text);font-size:16px}@media(max-width:1020px) and (min-width:761px){.crm-columns{grid-template-columns:minmax(235px,.85fr) minmax(0,1.1fr);gap:12px}.crm-workspace .crm-detail{padding:16px}.crm-workspace .crm-list-row{padding:13px 12px}}@media(max-width:760px){.crm-queue-toolbar{gap:10px}.crm-queue-scopes{flex:1 1 100%}.crm-queue-scopes button{flex:1;min-height:38px;font-size:var(--erp-text-sm);padding-inline:8px}.crm-workspace .crm-create-action{min-height:40px;margin-left:auto;font-size:var(--erp-text-sm)}.crm-columns{display:block;height:auto}.crm-columns.has-detail .crm-list,.crm-workspace .crm-detail-empty{display:none}.crm-workspace :is(.crm-list,.crm-detail){border-radius:12px}.crm-workspace .crm-detail{padding:16px;overflow:visible}.crm-workspace .crm-list-row{padding:14px}.crm-detail h2{font-size:21px}.crm-workspace .crm-main-actions [data-slot=button]{min-height:40px}.crm-followup-section>summary{min-height:48px;padding:12px}.crm-followup-section .crm-followup-form{padding:0 12px 12px}.crm-workspace :is(input,select,textarea){font-size:16px}}.customer-conversation-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 0 2px}.customer-conversation-actions a{display:inline-flex;align-items:center;min-height:36px;padding:6px 11px;border:1px solid var(--erp-border);border-radius:9px;font-size:var(--erp-text-sm)}.crm-customer-context{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border:1px solid var(--erp-border);border-radius:12px;background:var(--erp-soft);font-size:var(--erp-text-sm);overflow-wrap:anywhere}.crm-customer-context>span{min-width:0}.crm-customer-context>button{flex-shrink:0}.crm-sort-bar{justify-content:space-between;gap:10px 16px}.crm-quick-sort,.crm-sort-bar{display:flex;align-items:center;flex-wrap:wrap}.crm-quick-sort{gap:8px;min-width:0}.crm-quick-sort>span,.crm-timezone{font-size:var(--erp-text-sm);color:var(--erp-muted)}.crm-quick-sort>button{white-space:normal}.crm-row-created{display:flex;align-items:baseline;gap:7px;color:var(--erp-text);font-size:var(--erp-text-sm);line-height:1.5}.crm-row-created>svg{width:15px;height:15px;flex-shrink:0;align-self:center;color:var(--erp-muted)}.crm-row-created time{font-weight:600;font-variant-numeric:tabular-nums}@media (max-width:620px){.crm-quick-sort>span{flex-basis:100%}.crm-quick-sort>button{flex:1 1 auto}.crm-timezone{width:100%}}.conversation-queue{min-width:0;overflow:hidden;border:1px solid var(--erp-border);border-radius:var(--erp-radius-card,16px);background:var(--erp-surface)}.conversation-queue-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px;border-bottom:1px solid var(--erp-border)}.conversation-queue-header h3{margin:0;font-size:var(--erp-text-lg,18px);font-weight:650}.conversation-queue-header p{margin:5px 0 0;color:var(--erp-muted)}.conversation-queue>.crm-queue-scopes{margin:16px 20px}.conversation-queue-tools{display:flex;align-items:end;flex-wrap:wrap;gap:12px;padding:0 20px 16px}.conversation-queue-tools .erp-field{flex:1 1 240px;min-width:0}.conversation-queue-tools small{color:var(--erp-muted)}.conversation-queue-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-top:1px solid var(--erp-border)}.conversation-queue-copy{display:grid;gap:5px;min-width:0}.conversation-queue-copy>strong{font-size:var(--erp-text-md,15px);overflow-wrap:anywhere}.conversation-queue-copy>span{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.conversation-queue-copy>small{color:var(--erp-muted);display:flex;align-items:center;gap:5px;flex-wrap:wrap}.conversation-queue-copy>button{justify-self:start;height:auto;padding:0;white-space:normal;text-align:left}.conversation-queue-actions{display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0}.conversation-context-dialog{width:min(640px,calc(100vw - 24px))}.conversation-context-dialog .erp-field{min-width:0}.conversation-candidates{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.conversation-candidates>span{color:var(--erp-muted)}.conversation-statistics{margin:16px 20px}.conversation-statistics summary{cursor:pointer;color:var(--erp-muted)}.conversation-statistics dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}.conversation-statistics dt{font-size:var(--erp-text-sm,13px);color:var(--erp-muted)}.conversation-statistics dd{font-size:var(--erp-text-lg,18px);font-weight:650}@media(max-width:640px){.conversation-queue-header{padding:16px}.conversation-queue>.crm-queue-scopes{margin:12px}.conversation-queue-tools{padding:0 12px 12px;gap:10px}.conversation-queue-row{align-items:stretch;flex-direction:column;gap:10px;padding:14px 16px}.conversation-queue-actions>button{flex:1;min-height:44px}.conversation-queue .crm-quick-sort{display:flex;flex-wrap:wrap;gap:8px}.conversation-queue .crm-quick-sort button{flex:1;white-space:normal;height:auto;min-height:44px}.conversation-statistics dl{grid-template-columns:repeat(2,minmax(0,1fr))}}.comm-launch{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid var(--erp-border);border-radius:10px;background:var(--erp-surface);color:var(--erp-text);font-size:13px;cursor:pointer;white-space:nowrap}.comm-launch b,.comm-list b{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:20px;font-size:11px}.comm-popups{position:fixed;top:76px;right:20px;width:min(370px,calc(100vw - 24px));display:grid;gap:10px;z-index:45;pointer-events:none}.comm-popup{pointer-events:auto;border:1px solid var(--erp-border);border-left:4px solid var(--erp-info);border-radius:14px;padding:15px;display:grid;gap:7px;color:var(--erp-text);overflow-wrap:anywhere}.comm-popup>strong{font-size:18px;line-height:1.3}.comm-popup p{font-size:13px;line-height:1.5;margin:0}.comm-popup-top{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:12px;color:var(--erp-muted)}.comm-popup-top>span{display:flex;align-items:center;gap:7px}.comm-popup-top>button{padding:6px;border-radius:6px;cursor:pointer}.comm-popup-top>button:hover{background:var(--erp-soft)}.comm-secondary{font-size:12px;color:var(--erp-muted);line-height:1.5;overflow-wrap:anywhere}.comm-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.comm-dialog{width:min(1060px,calc(100vw - 32px))!important;max-width:1060px!important;max-height:calc(100dvh - 32px);display:flex!important;flex-direction:column;gap:16px!important;padding:24px!important;overflow:hidden}.comm-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;flex-shrink:0}.comm-toolbar nav{display:flex;gap:7px;flex-wrap:wrap}.comm-layout{display:grid;grid-template-columns:minmax(240px,340px) minmax(0,1fr);min-height:0;max-height:calc(100dvh - 225px);gap:0;border:1px solid var(--erp-border);border-radius:12px;overflow:hidden}.comm-list-pane{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--erp-soft);border-right:1px solid var(--erp-border)}.comm-search{display:flex;align-items:center;gap:7px;padding:12px;color:var(--erp-muted)}.comm-search input{background:var(--erp-surface);min-width:0}.comm-list{overflow:auto;min-height:150px}.comm-list>button{display:flex;width:100%;gap:10px;padding:14px 12px;text-align:left;border-bottom:1px solid var(--erp-border);cursor:pointer}.comm-list>button:hover{background:var(--erp-surface)}.comm-list>button.selected{background:var(--erp-accent-surface);box-shadow:inset 3px 0 var(--erp-accent)}.comm-item-icon{color:var(--erp-muted);padding-top:3px}.comm-list>button>span:nth-child(2){display:grid;gap:5px;min-width:0;flex:1}.comm-list strong{font-size:14px;overflow-wrap:anywhere}.comm-list small,.comm-list span span{font-size:12px;color:var(--erp-muted);line-height:1.45;overflow-wrap:anywhere}.comm-pagination{margin-top:auto;padding:7px;display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:12px;color:var(--erp-muted);border-top:1px solid var(--erp-border)}.comm-detail{padding:22px;display:flex;flex-direction:column;gap:16px;overflow:auto;min-width:0;min-height:0}.comm-detail-heading h3{font-size:24px;line-height:1.25;font-weight:650;margin:8px 0;overflow-wrap:anywhere}.comm-detail-heading p{font-size:13px;color:var(--erp-muted);overflow-wrap:anywhere}.comm-kicker{font-size:12px;padding:5px 8px;border-radius:6px}.comm-back{align-self:flex-start}.comm-customer,.comm-inquiry{display:flex;align-items:flex-start;gap:10px;padding:14px;background:var(--erp-soft);border:1px solid var(--erp-border);border-radius:9px;flex-wrap:wrap;overflow-wrap:anywhere}.comm-customer{align-items:center;justify-content:space-between}.comm-inquiry{flex-direction:column}.comm-detail .erp-field{display:grid;gap:6px;font-size:13px}.comm-detail select{min-height:38px;border:1px solid var(--erp-border);border-radius:7px;padding:6px;background:var(--erp-surface);max-width:100%}.comm-detail textarea{min-height:100px;resize:vertical}.comm-detail>button{align-self:flex-start}.comm-matches{display:flex;flex-wrap:wrap;gap:7px;font-size:12px;padding:12px;border-radius:8px}.comm-matches p{width:100%}.comm-matches button{white-space:normal;height:auto;min-height:32px}.comm-orders h4{font-size:13px;font-weight:600;margin-bottom:8px}.comm-orders>button{display:flex;gap:10px;align-items:center;padding:10px 0;width:100%;text-align:left;border-bottom:1px solid var(--erp-border);font-size:13px;cursor:pointer}.comm-orders>button>span{flex:1;min-width:0;overflow-wrap:anywhere}.comm-empty{padding:26px 18px;display:flex;flex-direction:column;gap:10px;color:var(--erp-muted);font-size:13px;line-height:1.5}.comm-empty strong{color:var(--erp-text);font-size:15px}.comm-select-hint{align-items:center;justify-content:center;text-align:center;min-height:350px}@media(max-width:700px){.comm-launch>span:not([aria-label]){display:none}.comm-launch{padding:8px}.comm-popups{top:68px;right:12px}.comm-popup:nth-child(n+2){display:none}.comm-dialog{width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px);padding:16px!important;gap:12px!important}.comm-toolbar{gap:8px}.comm-toolbar .comm-actions{margin-left:auto}.comm-layout{display:block;max-height:calc(100dvh - 220px);overflow:auto}.comm-list-pane{border-right:0;max-height:calc(100dvh - 230px)}.comm-detail{padding:16px;overflow:visible}.comm-has-selection .comm-list-pane,.comm-select-hint{display:none}.comm-detail-heading h3{font-size:21px}.comm-actions>button{min-height:36px}.comm-popup-top>button{min-width:36px;min-height:36px}}.comm-launcher-control{display:flex;align-items:center;gap:4px}.comm-launch{border-color:transparent;background:transparent;border-radius:11px;color:var(--erp-muted);min-height:38px;padding:8px}.comm-launch:hover,.comm-quiet-control:hover{background:var(--erp-soft);color:var(--erp-text)}.comm-quiet-control{display:inline-flex;align-items:center;justify-content:center;width:32px;min-height:36px;border-radius:9px;cursor:pointer;color:var(--erp-muted)}.comm-quiet-control[aria-pressed=true]{color:var(--erp-warning);background:var(--erp-warning-surface)}.comm-launch:focus-visible,.comm-quiet-control:focus-visible{outline:2px solid var(--erp-accent);outline-offset:2px}.comm-launch b,.comm-list b{background:var(--erp-positive-surface);color:var(--erp-positive);font-variant-numeric:tabular-nums}.comm-popup{border-radius:17px;border-color:var(--erp-border);border-left-color:var(--erp-info);background:var(--erp-surface);box-shadow:var(--erp-shadow-raised);padding:17px}.comm-popup-call{border-left-color:var(--erp-positive)}.comm-popup-top{font-size:11px}.comm-popup>strong{font-size:17px}.comm-workspace{min-width:0;display:grid;gap:14px;color:var(--erp-text)}.comm-workspace :is(h2,h3,h4,p){margin:0}.comm-workspace [hidden]{display:none!important}.comm-workspace .comm-toolbar{flex-wrap:nowrap}.comm-workspace-heading{display:flex;align-items:center;gap:18px;min-width:0}.comm-workspace-heading h2{font-size:22px;font-weight:650;letter-spacing:-.035em;line-height:1.3}.comm-eyebrow{font-size:11px;color:var(--erp-muted)}.comm-active-count{display:inline-flex;gap:6px;align-items:center;border-radius:20px;padding:5px 9px;background:var(--erp-positive-surface);color:var(--erp-positive);font-size:11px;white-space:nowrap}.comm-active-count>span{width:6px;height:6px;border-radius:50%;background:currentColor}.comm-workspace .comm-layout{grid-template-columns:minmax(260px,350px) minmax(0,1fr);height:clamp(450px,calc(100dvh - 250px),880px);max-height:none;border-radius:16px}.comm-workspace .comm-layout,.comm-workspace .comm-list-pane{background:var(--erp-surface)}.comm-workspace .comm-search{padding:16px;gap:10px;border-bottom:1px solid var(--erp-border)}.comm-workspace .comm-search input{border:0;background:var(--erp-soft);height:38px;border-radius:10px;font-size:13px;box-shadow:none}.comm-workspace .comm-list{flex:1;min-height:0}.comm-workspace .comm-list>button{padding:16px;align-items:flex-start;gap:12px;border-bottom-color:color-mix(in srgb,var(--erp-border) 65%,transparent)}.comm-workspace .comm-list>button:hover{background:var(--erp-soft)}.comm-workspace .comm-list>button.selected{background:color-mix(in srgb,var(--erp-accent) 8%,var(--erp-surface));box-shadow:inset 3px 0 var(--erp-accent)}.comm-item-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;border-radius:12px;padding:0;color:var(--erp-positive);background:var(--erp-positive-surface)}.comm-item-icon.is-missed{color:var(--erp-danger);background:var(--erp-danger-surface)}.comm-workspace .comm-list strong{font-size:13px;font-weight:600}.comm-workspace .comm-list small{font-size:11px}.comm-workspace .comm-detail{padding:24px;gap:18px;align-items:stretch}.comm-workspace .comm-detail-heading h3{margin:12px 0 5px;font-size:24px;letter-spacing:-.035em;line-height:1.3}.comm-kicker{color:var(--erp-positive);background:var(--erp-positive-surface);border-radius:20px;font-size:11px}.comm-workspace .comm-detail-heading p{line-height:1.5;font-size:12px}.comm-workspace .comm-back{min-height:32px;padding:3px 8px;font-size:12px}.comm-customer,.comm-inquiry{border-radius:12px;padding:16px}.comm-customer>strong,.comm-inquiry>strong{font-size:14px}.comm-workspace :is(button,input,textarea,select){max-width:100%}.comm-workspace button{white-space:normal;height:auto;min-height:36px}.comm-workspace .comm-actions button{font-size:12px;padding:8px 12px}.comm-workspace .comm-detail .erp-field{gap:7px;font-size:12px;color:var(--erp-muted)}.comm-workspace .comm-detail .erp-field :is(input,textarea,select){border:1px solid var(--erp-border);background:var(--erp-surface);border-radius:9px;padding:10px;font-size:13px;color:var(--erp-text)}.comm-workspace .comm-detail .erp-field textarea{min-height:100px}.comm-workspace .comm-detail>.erp-field>span{font-size:12px}.comm-matches{background:var(--erp-warning-surface)}.comm-matches,.comm-matches p{color:var(--erp-warning)}.comm-workspace .comm-select-hint>svg{width:32px;height:32px;padding:16px;box-sizing:content-box;border-radius:22px;background:var(--erp-soft);color:var(--erp-accent)}.comm-workspace .comm-select-hint strong{font-size:16px}.comm-workspace .comm-select-hint p{max-width:300px}.comm-workspace .comm-orders>button{gap:12px;padding-block:13px}@media (max-width:900px) and (min-width:701px){.comm-workspace .comm-layout{grid-template-columns:minmax(225px,.9fr) minmax(0,1.1fr)}.comm-workspace .comm-detail{padding:18px}.comm-workspace .comm-list>button{padding:13px;gap:9px}}@media(max-width:700px){.comm-launcher-control{gap:1px}.comm-quiet-control{width:28px}.comm-workspace,.comm-workspace-heading{gap:12px}.comm-workspace-heading h2{font-size:21px}.comm-workspace .comm-layout{display:block;height:auto;border-radius:13px}.comm-workspace .comm-layout,.comm-workspace .comm-list-pane{max-height:none;min-height:400px}.comm-workspace .comm-detail{padding:16px}.comm-workspace .comm-search{padding:12px}.comm-workspace .comm-detail .erp-field :is(input,textarea,select),.comm-workspace .comm-search input{font-size:16px}.comm-workspace .comm-search input{height:42px}.comm-workspace .comm-list>button{padding:16px 13px}.comm-workspace .comm-detail button{min-height:42px}.comm-workspace .comm-select-hint{display:none}.comm-workspace .comm-toolbar [data-slot=button]{min-width:40px;min-height:40px}.comm-popup .comm-actions button{min-height:40px}}@media(prefers-reduced-motion:reduce){.comm-workspace *,.crm-followup-section>summary svg,.crm-queue-scopes button{transition:none}}.metric-details{min-width:0;display:grid;gap:20px;color:var(--erp-text)}.metric-details-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.metric-details-actions button,.metric-details-pagination button,.metric-details-toolbar button{min-height:42px}.metric-details-heading{display:grid;gap:7px;min-width:0}.metric-details-kicker{font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--erp-muted)}.metric-details-heading h2{font-size:clamp(23px,4vw,32px);font-weight:650;line-height:1.2;overflow-wrap:anywhere;outline-offset:5px}.metric-details-heading p{font-size:14px;line-height:1.6;color:var(--erp-muted);max-width:90ch;overflow-wrap:anywhere}.metric-details-heading .metric-details-period{font-size:13px}.metric-details-summary{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:22px;background:var(--erp-surface);border:1px solid var(--erp-border);border-radius:16px;flex-wrap:wrap}.metric-details-summary>div{display:grid;gap:8px;min-width:0}.metric-details-summary>div>span{font-size:13px;color:var(--erp-muted)}.metric-details-summary>div>strong{font-size:clamp(27px,5vw,38px);line-height:1.2;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.metric-details-summary>p{font-size:14px;color:var(--erp-muted);line-height:1.7}.metric-details-summary>p>strong{font-weight:600;color:var(--erp-text)}.metric-details-summary>p>span{display:block;font-size:12px}.metric-details-notice{padding:13px 16px;border:1px solid var(--erp-border);border-left:3px solid var(--erp-accent,#798660);border-radius:8px;background:var(--erp-soft);font-size:13px;line-height:1.6;overflow-wrap:anywhere}.metric-details-table-wrap{max-width:100%;min-width:0;overflow:auto;background:var(--erp-surface);border:1px solid var(--erp-border);border-radius:14px}.metric-details-table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.5;text-align:left}.metric-details-table th{padding:13px 14px;background:var(--erp-soft);font-weight:600;color:var(--erp-muted);white-space:nowrap}.metric-details-table td{padding:15px 14px;border-top:1px solid var(--erp-border);vertical-align:top;max-width:320px;overflow-wrap:anywhere}.metric-details-table .metric-details-numeric{text-align:right;font-variant-numeric:tabular-nums}.metric-details-table td.metric-details-numeric>span:last-child{white-space:nowrap}.metric-details-caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.metric-details-mobile-label{display:none}.metric-details-actions>div{display:flex;align-items:flex-start;gap:6px;flex-wrap:wrap}.metric-details-actions button{height:auto;white-space:normal;text-align:left}.metric-details-state{padding:26px;border:1px solid var(--erp-border);border-radius:14px;background:var(--erp-surface);font-size:14px;line-height:1.7;display:grid;gap:12px;justify-items:start;overflow-wrap:anywhere}.metric-details-state strong{font-size:17px}.metric-details-state p{color:var(--erp-muted)}.metric-details-state[role=alert]{border-left:3px solid var(--erp-danger)}.metric-details-state[role=alert] p{color:var(--erp-text)}.metric-details-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--erp-muted)}.erp-fact-link{display:inline-flex;align-items:center;gap:5px;max-width:100%;min-height:36px;padding:3px 6px;margin-left:-6px;border:1px solid transparent;border-radius:6px;background:transparent;color:inherit;font:inherit;font-weight:600;text-align:left;line-height:1.5;cursor:pointer;overflow-wrap:anywhere}.erp-fact-link>svg{width:16px;height:16px;flex-shrink:0;color:var(--erp-muted)}.erp-fact-link:hover{background:var(--erp-soft);border-color:var(--erp-border)}.erp-fact-link:focus-visible{outline:2px solid var(--erp-accent,#798660);outline-offset:3px}.erp-fact-link.strong{font-weight:700}@media(max-width:760px){.erp-fact-link{min-height:44px}.metric-details{gap:16px}.metric-details-summary{padding:18px}.metric-details-table-wrap{background:transparent;border:0;border-radius:0;overflow:visible}.metric-details-table,.metric-details-table tbody{display:block;width:100%}.metric-details-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%)}.metric-details-table tr{display:block;background:var(--erp-surface);border:1px solid var(--erp-border);border-radius:14px;padding:7px 16px;margin-bottom:12px}.metric-details-table td{display:grid;grid-template-columns:minmax(85px,.85fr) minmax(0,1.15fr);gap:12px;border-top:0;border-bottom:1px solid var(--erp-border);padding:11px 0;max-width:none;width:100%;align-items:start;text-align:left}.metric-details-table td:last-child{border-bottom:0}.metric-details-mobile-label{display:block;color:var(--erp-muted);font-size:12px;font-weight:500}.metric-details-table td.metric-details-numeric{text-align:left}.metric-details-table td.metric-details-numeric>span:last-child{white-space:normal}.metric-details-table td.metric-details-actions{display:block}.metric-details-actions>.metric-details-mobile-label{display:none}.metric-details-actions>div{justify-content:flex-start}.metric-details-pagination{justify-content:center}.metric-details-pagination>span{order:-1;flex-basis:100%;text-align:center}.metric-details-pagination button{flex:1}}.metric-details-table td[data-format=date]>span:last-child{white-space:nowrap}.system-update-center{width:min(820px,calc(100vw - 32px));max-width:min(820px,calc(100vw - 32px))!important;max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;gap:20px;padding:28px;color:var(--foreground);scrollbar-gutter:stable}.system-update-center [data-slot=dialog-header]{padding-right:22px;text-align:left}.system-update-center [data-slot=dialog-title]{font-size:1.35rem;line-height:1.35}.system-update-center h2{font-size:1.06rem;font-weight:650;line-height:1.45;margin:0 0 10px}.system-update-center h3{font-size:.95rem;font-weight:650;margin:14px 0 8px}.system-update-center p{line-height:1.55;margin:8px 0}.system-update-center section+.system-update-warning,.system-update-center section+section{margin-top:20px}.system-update-center button{min-height:44px;white-space:normal;height:auto;text-align:center;padding-top:10px;padding-bottom:10px}.system-update-center button svg{flex-shrink:0}.system-update-center button[data-slot=dialog-close]{min-width:40px;min-height:40px;display:grid;place-items:center;right:8px;top:8px;padding:0}.system-update-current{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px;border:1px solid var(--border);border-radius:14px;background:var(--muted)}.system-update-current>div{display:grid;gap:5px;min-width:0}.system-update-current strong{font-size:1.45rem;overflow-wrap:anywhere}.system-update-current small,.system-update-muted{color:var(--muted-foreground);font-size:.88rem;line-height:1.55}.system-update-muted svg{display:inline;vertical-align:text-bottom}.system-update-setup{display:flex;gap:14px;padding:18px;border:1px solid var(--border);border-radius:14px}.system-update-setup>svg{flex:0 0 24px;margin-top:2px}.system-update-warning{border:1px solid var(--erp-warning-line);background:var(--erp-warning-surface);border-radius:12px;padding:12px 16px;line-height:1.55;overflow-wrap:anywhere}.system-update-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.system-update-row h2{margin:0}.system-update-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;background:var(--muted);border:1px solid var(--border);border-radius:8px;font-size:.8rem;line-height:1.3}.system-update-job{padding:16px;border:1px solid var(--border);border-radius:12px;margin-top:10px}.system-update-job.is-succeeded{border-color:color-mix(in srgb,var(--erp-positive) 30%,var(--erp-border))}.system-update-job.is-interrupted,.system-update-job.is-recovery_required{border-color:var(--erp-danger-line)}.system-update-meta{display:flex;gap:8px 18px;flex-wrap:wrap;color:var(--muted-foreground);font-size:.8rem;line-height:1.5;margin-top:12px}.system-update-job>button{margin-top:12px}.system-update-package,.system-update-upload{border:1px solid var(--border);padding:18px;border-radius:14px}.system-update-file{display:flex;align-items:center;gap:12px;min-height:62px;border:1px dashed var(--muted-foreground);border-radius:10px;padding:14px;margin:16px 0 8px;position:relative;cursor:pointer}.system-update-file>svg{flex-shrink:0}.system-update-file>span{overflow-wrap:anywhere;min-width:0}.system-update-file input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.system-update-file:focus-within{outline:2px solid var(--ring);outline-offset:3px}.system-update-file:has(input:disabled){opacity:.55;cursor:default}.system-update-file input:disabled{cursor:default}.system-update-upload>button{margin-top:14px}.system-update-upload-progress{margin-top:16px}.system-update-upload-progress progress{width:100%;height:12px;accent-color:var(--primary)}.system-update-package ul{padding-left:22px;list-style:disc}.system-update-package li{line-height:1.55;margin:7px 0}.system-update-package details{margin:16px 0}.system-update-package summary{cursor:pointer;padding:10px 0;font-size:.88rem}.system-update-package dl{font-size:.82rem;display:grid;gap:6px}.system-update-package dt{color:var(--muted-foreground);margin-top:6px}.system-update-digest{word-break:break-all}.system-update-package label{display:grid;gap:8px;font-size:.88rem;margin-bottom:18px}.system-update-package select{min-height:44px;max-width:100%;border:1px solid var(--border);padding:8px;background:var(--background);border-radius:8px}.system-update-confirm{padding:18px;border:1px solid var(--border);border-radius:14px}.system-update-consent{display:flex;align-items:flex-start;gap:10px;padding:14px 0;line-height:1.55}.system-update-consent input{flex:0 0 20px;width:20px;height:20px;margin-top:3px;accent-color:var(--primary)}.system-update-actions{display:flex;gap:10px;flex-wrap:wrap}.system-update-history{border-top:1px solid var(--border);padding-top:20px}.workspace-update-entry{border-top:1px solid var(--border);padding-top:16px;margin-top:6px}.workspace-update-entry p{font-size:.85rem;color:var(--muted-foreground);line-height:1.5;margin:0 0 10px}.workspace-update-entry button{min-height:44px}@media(max-width:600px){.system-update-center{width:calc(100vw - 16px);max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px);padding:20px 16px;gap:16px}.system-update-current{align-items:flex-start;padding:14px}.system-update-current strong{font-size:1.15rem}.system-update-current>button{font-size:0;min-width:44px;padding:10px}.system-update-current>button svg{width:18px;height:18px}.system-update-confirm,.system-update-package,.system-update-setup,.system-update-upload{padding:14px}.system-update-actions{display:grid;grid-template-columns:1fr}.system-update-package>button,.system-update-upload>button{width:100%}.system-update-row{align-items:flex-start}.system-update-meta{display:grid;gap:5px}.system-update-center [data-slot=dialog-title]{font-size:1.22rem}}.system-update-status-link{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid var(--border);border-radius:10px;text-decoration:underline;text-underline-offset:3px;margin:16px 0;font-size:.9rem;text-align:center;line-height:1.4}.system-update-versions{border:1px solid var(--border);border-radius:14px;padding:18px;min-width:0}.system-update-version-list{display:grid;gap:12px;list-style:none;margin:16px 0;padding:0}.system-update-version{min-width:0;padding:16px;border:1px solid var(--border);border-radius:12px;background:var(--background)}.system-update-version .system-update-row h3{margin:0;overflow-wrap:anywhere;min-width:0}.system-update-version>button{margin-top:6px}@media(max-width:600px){.system-update-version,.system-update-versions{padding:14px}.system-update-version>button{width:100%}}@font-face{font-family:ERP Noto Sans;src:url(/fonts/NotoSans-Regular.ttf) format("truetype");font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:ERP Noto Sans;src:url(/fonts/NotoSans-Bold.ttf) format("truetype");font-style:normal;font-weight:700;font-display:swap}@font-face{font-family:ERP Rubik;src:url(/fonts/Rubik-Regular.ttf) format("truetype");font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:ERP Rubik;src:url(/fonts/Rubik-Bold.ttf) format("truetype");font-style:normal;font-weight:700;font-display:swap}@media screen{.erp-workspace{color:var(--erp-text);font-size:15px}.erp-workspace .erp-main{background-color:var(--erp-canvas)}.erp-workspace .erp-sidebar{background:var(--erp-sidebar);border-right:0;box-shadow:3px 0 14px var(--titan-shadow)}.erp-workspace .erp-brand{min-height:82px;padding:18px 16px;border-bottom-color:var(--titan-feature-line)}.erp-workspace .erp-brand-mark{width:40px;height:40px;flex-basis:40px;border-radius:12px 12px 12px 4px;background:var(--erp-sidebar-active);color:var(--erp-sidebar-active-text);box-shadow:0 4px 12px var(--titan-shadow);font-weight:800}.erp-workspace .erp-brand strong{font-size:16px;letter-spacing:.025em;color:var(--titan-feature-text)}.erp-workspace .erp-brand span{font-size:12px;color:var(--erp-sidebar-muted)}.erp-workspace .erp-nav{padding:12px 10px}.erp-workspace .erp-nav button,.erp-workspace .workspace-more-nav>summary{min-height:44px;padding:11px 12px;border-radius:11px;color:var(--erp-sidebar-text);font-size:14px;font-weight:500}.erp-workspace .erp-nav button:hover,.erp-workspace .workspace-more-nav>summary:hover{background:var(--titan-feature-low);color:var(--titan-feature-text)}.erp-workspace .erp-nav button.active{color:var(--erp-sidebar-active-text);background:var(--erp-sidebar-active);box-shadow:0 4px 12px var(--titan-shadow);font-weight:650}.erp-workspace .erp-nav button.active svg{color:inherit}.erp-workspace .workspace-primary-nav{gap:5px}.erp-workspace .workspace-more-nav{border-color:var(--erp-border)}.erp-workspace .workspace-nav-group>p{color:var(--erp-sidebar-muted);font-size:12px;font-weight:600}.erp-workspace .workspace-profile-button{border-color:var(--erp-border);background:color-mix(in srgb,var(--erp-surface) 4%,transparent);color:var(--erp-sidebar-text);border-radius:10px}.erp-workspace .erp-user-actions button,.erp-workspace .workspace-side-action{color:var(--erp-sidebar-text)}.erp-workspace .erp-user-actions button:hover,.erp-workspace .workspace-side-action:hover{background:var(--titan-feature-low);color:var(--titan-feature-text)}.erp-workspace:not(.is-collapsed) .erp-user-actions{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 4px 4px;gap:7px}.erp-workspace .erp-user-actions button{min-height:44px;font-size:12px;padding:9px 6px;gap:6px;border-radius:9px;border-color:var(--titan-feature-line);background:var(--titan-feature-low)}.erp-workspace .erp-user-actions button svg{width:15px;height:15px;flex:0 0 15px}.erp-workspace .erp-user-card{border-color:var(--titan-feature-line);gap:10px}.erp-workspace .erp-user-card strong{font-size:14px;color:var(--titan-feature-text)}.erp-workspace .erp-user-card span{color:var(--erp-sidebar-muted)}.erp-workspace .erp-sidebar-bottom{border-color:var(--titan-feature-line)}.erp-workspace .erp-sidebar :is(button,a,summary):focus-visible{outline-color:var(--erp-sidebar-active)}.erp-workspace .erp-topbar{min-height:68px;background:color-mix(in srgb,var(--erp-surface) 93%,transparent);border-bottom-color:var(--erp-border);padding-inline:28px;box-shadow:0 1px 0 var(--titan-shadow)}.erp-workspace .erp-search{position:relative;width:min(420px,36vw);min-width:100px;flex:1 1 180px;padding:0;border:0;background:transparent;height:44px}.erp-workspace .erp-search:focus-within{background:transparent;box-shadow:none}.erp-workspace .erp-search>svg{position:absolute;left:12px;z-index:1;pointer-events:none}.erp-workspace .erp-search input{padding-left:38px}.erp-workspace .erp-global-search-button{flex-shrink:0;white-space:nowrap}.erp-workspace .workspace-topbar-caption{font-size:14px;font-weight:600;color:var(--erp-muted)}.erp-workspace .comm-launch,.erp-workspace .erp-global-search-button,.erp-workspace .workspace-help-button{min-height:40px;border-radius:10px;color:var(--erp-muted)}.erp-workspace .comm-launch:hover,.erp-workspace .erp-global-search-button:hover,.erp-workspace .workspace-help-button:hover{color:var(--erp-accent-ink);background:var(--erp-accent-surface)}.erp-workspace .erp-content{padding:26px 28px 40px}.erp-workspace .erp-page-head{margin-bottom:22px;gap:16px}.erp-workspace .erp-page-head h1{font-size:clamp(26px,2.2vw,32px);font-weight:700;letter-spacing:-.035em;line-height:1.2}.erp-workspace .erp-page-head p:not(.erp-eyebrow){font-size:14px;color:var(--erp-muted);line-height:1.55;margin-top:6px}.erp-workspace .erp-eyebrow{color:var(--erp-accent-ink);font-size:11px;font-weight:700;letter-spacing:.09em;margin-bottom:8px}:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) [data-slot=button]:not(:where(.communication-workspace *,.team-workspace *)){min-height:44px;border-radius:10px;font-size:14px;font-weight:650;line-height:1.4;padding:10px 16px;letter-spacing:-.01em}:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) [data-slot=button]:is([data-size=sm],[data-size=xs]):not(:where(.communication-workspace *,.team-workspace *)){min-height:38px;padding:8px 12px;font-size:13px}:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) [data-slot=button][data-size^=icon]:not(:where(.communication-workspace *,.team-workspace *)){width:40px;min-width:40px;height:40px;padding:9px}.erp-workspace .erp-primary,:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) [data-slot=button][data-variant=default]{background:var(--erp-accent);border:1px solid transparent;color:var(--erp-accent-text);box-shadow:0 2px 2px var(--erp-accent),inset 0 1px 0 var(--titan-shadow)}.erp-workspace .erp-primary:hover,:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) [data-slot=button][data-variant=default]:hover{background:var(--erp-accent-hover);box-shadow:0 4px 10px var(--titan-shadow)}:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) [data-slot=button][data-variant=outline]{border:1px solid var(--erp-border);color:var(--erp-text);background:var(--erp-surface);box-shadow:0 1px 2px var(--titan-shadow)}:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) [data-slot=button][data-variant=outline]:hover{border-color:var(--erp-accent-line);background:var(--erp-accent-surface);color:var(--erp-accent-ink)}:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) [data-slot=button][data-variant=secondary]{color:var(--erp-accent-ink);background:var(--erp-accent-surface);border:1px solid transparent}:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) [data-slot=button][data-variant=ghost]:hover{background:var(--erp-soft);color:var(--erp-accent-ink)}:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) [data-slot=button][data-variant=link]{color:var(--erp-accent-ink)}:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) [data-slot=button][data-variant=destructive]{background:var(--erp-danger);color:#fff;box-shadow:none}:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid var(--erp-focus);outline-offset:3px}.erp-workspace .erp-icon-action{border:1px solid var(--erp-border);color:var(--erp-muted);background:var(--erp-surface)}.erp-workspace .erp-icon-action:hover{background:var(--erp-accent-surface);border-color:var(--erp-accent-line);color:var(--erp-accent-ink)}.erp-workspace .erp-compact-entities .erp-table-link,.erp-workspace :is(.erp-table-link,.erp-small-link,.erp-back){color:var(--erp-accent-ink);font-weight:600;text-decoration-color:var(--erp-accent-line);text-underline-offset:4px}:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=color]):not([type=file]),select,textarea,[data-slot=select-trigger]):not(:where(.communication-workspace *,.team-workspace *)){border:1px solid var(--erp-field-border);background:var(--erp-surface);color:var(--erp-text);border-radius:10px;min-height:44px;font-size:16px;line-height:1.4;box-shadow:inset 0 1px 2px var(--erp-accent)}:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) :is(input,textarea)::placeholder{color:var(--erp-muted);opacity:1}:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) :is(.erp-field,.erp-list-toolbar label,.list-filter-body label,.workspace-preview-selectors label){gap:7px}.erp-workspace .erp-list-toolbar label>span,.erp-workspace .list-filter-body label,:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) .erp-field>span{color:var(--erp-text);font-size:13px;font-weight:600;line-height:1.5}:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) .erp-field>[data-slot=input-group]{border-color:var(--erp-field-border);border-radius:10px}:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) .erp-field [data-slot=input-group] [data-slot=input-group-control]{border:0;box-shadow:none;background:transparent}:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) :is(input,select,textarea,[data-slot=select-trigger])[aria-invalid=true]{border-color:var(--erp-danger);box-shadow:0 0 0 1px var(--erp-danger)}:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) :is(input,select,textarea):user-invalid{border-color:var(--erp-danger);box-shadow:0 0 0 1px var(--erp-danger);outline-color:var(--erp-danger)}:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) :is(input[type=checkbox],input[type=radio]){accent-color:var(--erp-accent-ink)}:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) :is(.erp-required-note,.erp-field-hint,.erp-form-help){color:var(--erp-muted);font-size:13px;line-height:1.55}:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) .erp-field>span>b{color:var(--erp-danger);font-weight:700}.erp-required-group{min-width:0;border:1px solid var(--erp-border);border-radius:12px;padding:14px;background:var(--erp-soft)}.erp-required-group>legend{color:var(--erp-text);font-size:14px;font-weight:650;padding-inline:5px}.erp-required-group-note{color:var(--erp-muted);font-size:13px;line-height:1.55;margin:7px 0 0}.erp-required-mark{color:var(--erp-danger);font-weight:700;margin-left:3px}.erp-form-error{color:var(--erp-danger);background:var(--erp-danger-surface);border:1px solid var(--erp-danger-line);border-radius:10px;padding:11px 14px;font-size:14px;line-height:1.5}.erp-workspace :is(.erp-panel,.workspace-day-section,.production-work-section,.erp-order-plan,.crm-detail,.crm-list,.erp-equipment-summary){border-color:var(--erp-border);border-radius:16px;background:var(--erp-surface);box-shadow:var(--erp-shadow-card)}.erp-workspace .erp-panel-head,.erp-workspace .workspace-day-section>header{min-height:64px;padding:15px 18px;border-bottom:1px solid var(--erp-border);background:var(--erp-soft);gap:12px}.erp-workspace .erp-panel-head h2,.erp-workspace .workspace-day-section h2{font-size:19px;font-weight:650;line-height:1.3;letter-spacing:-.02em;color:var(--erp-text)}.erp-workspace .erp-panel-head p,.erp-workspace .workspace-day-section header p{font-size:13px;color:var(--erp-muted);margin-top:4px}.erp-workspace .workspace-day-section header h2>svg{color:var(--erp-accent-ink)}.erp-workspace .erp-detail-stack,.erp-workspace .workspace-day{gap:18px}.erp-workspace .workspace-day-row{padding:14px 18px;border-color:var(--erp-border)}.erp-workspace .workspace-day-row:hover{background:var(--erp-soft)}.erp-workspace .workspace-day-dateline,.erp-workspace .workspace-row-copy :is(span,small){color:var(--erp-muted);font-size:13px}.erp-workspace .workspace-count{color:var(--erp-accent-ink);background:var(--erp-accent-surface);border-radius:7px;padding:3px 8px}.erp-workspace .workspace-welcome{border-color:var(--erp-accent-line);background:var(--erp-accent-surface);border-radius:14px;padding:16px 18px}.erp-workspace .workspace-welcome p{color:var(--erp-accent-ink)}.erp-workspace :is(.erp-empty,.erp-compact-empty){min-height:144px;padding:26px 20px}.erp-workspace .erp-empty strong{font-size:16px}.erp-workspace .erp-compact-empty-icon{color:var(--erp-accent-ink);background:var(--erp-accent-surface)}.erp-workspace .erp-kpi-grid{gap:14px}.erp-workspace .erp-kpi{min-height:140px;padding:18px;border:1px solid var(--erp-border);border-radius:16px;box-shadow:var(--erp-shadow-card);background:var(--erp-surface)}.erp-workspace .erp-kpi>span{color:var(--erp-muted);font-size:13px;font-weight:650;text-transform:none;letter-spacing:0;padding-right:32px;min-height:0;line-height:1.4}.erp-workspace .erp-kpi>strong{color:var(--erp-text);font-size:clamp(25px,2.15vw,30px);font-weight:700;letter-spacing:-.035em;line-height:1.15;margin:16px 0 8px}.erp-workspace .erp-kpi>p{color:var(--erp-muted);font-size:13px;line-height:1.45;padding-right:12px}.erp-workspace .erp-kpi-icon{width:30px;height:30px;top:15px;right:14px;background:var(--erp-accent-surface);color:var(--erp-accent-ink);border-radius:9px}.erp-workspace .erp-kpi.warning{border-color:var(--erp-warning-line);background:var(--erp-warning-surface)}.erp-workspace .erp-kpi.warning .erp-kpi-icon{color:var(--erp-warning);background:var(--erp-warning-surface)}.erp-workspace .erp-kpi.is-clickable:hover{border-color:var(--erp-accent-line);box-shadow:var(--erp-shadow-raised)}.erp-workspace .erp-kpi-arrow{color:var(--erp-accent-ink)}.erp-workspace .product-home-summary{gap:12px}.erp-workspace .product-home-summary button{padding:16px 18px;min-width:145px;border-radius:16px;border-color:var(--erp-border);box-shadow:var(--erp-shadow-card)}.erp-workspace .product-home-summary button:hover{border-color:var(--erp-accent-line);background:var(--erp-accent-surface)}.erp-workspace .product-home-summary strong{font-size:28px;font-weight:700;color:var(--erp-text);line-height:1.2;margin-bottom:5px}.erp-workspace .product-home-summary small{font-size:13px;color:var(--erp-muted)}.erp-workspace :is(.product-area-nav,.erp-detail-tabs,.erp-list-views,.order-commerce-tabs){background:var(--erp-soft);border:1px solid var(--erp-border);border-radius:12px;padding:5px;gap:4px}.erp-workspace :is(.product-area-nav,.erp-detail-tabs,.erp-list-views,.order-commerce-tabs)>button{border-radius:8px;color:var(--erp-muted);font-size:14px;font-weight:600;min-height:40px;padding:9px 13px}.erp-workspace :is(.product-area-nav,.erp-detail-tabs,.erp-list-views,.order-commerce-tabs)>button:is(.active,[aria-pressed=true]){color:var(--erp-accent-ink);background:var(--erp-surface);box-shadow:0 1px 4px var(--titan-shadow),inset 0 -2px 0 var(--erp-accent-line)}.erp-workspace :is(.product-area-nav,.erp-detail-tabs,.erp-list-views,.order-commerce-tabs)>button:hover{color:var(--erp-accent-ink);background:var(--erp-accent-surface)}.erp-workspace .erp-list-filters .erp-list-toolbar,.erp-workspace .erp-list-toolbar,.erp-workspace .list-filter-body{background:var(--erp-soft);border:1px solid var(--erp-border);border-radius:12px;padding:14px;gap:12px}.erp-workspace :is(.erp-list-filters,.list-filter-panel)>summary{color:var(--erp-muted);font-size:14px;font-weight:600}.erp-workspace .list-filter-actions .list-filter-apply{background:var(--erp-accent);color:var(--erp-accent-text);border-color:transparent}.erp-workspace .list-filter-count{background:var(--erp-accent-surface);color:var(--erp-accent-ink)}.erp-workspace .material-group-nav button[aria-pressed=true],.erp-workspace .order-view-switch button[aria-pressed=true]{background:var(--erp-accent-surface);color:var(--erp-accent-ink);border-color:var(--erp-accent-line);box-shadow:inset 0 0 0 1px var(--erp-accent-line)}.erp-workspace .erp-compact-entities .erp-table,.erp-workspace .erp-table{font-size:15px}.erp-workspace .erp-compact-entities .erp-table th,.erp-workspace .erp-table th{height:44px;padding:10px 16px;background:var(--erp-soft);color:var(--erp-muted);font-size:13px;font-weight:650;border-bottom:1px solid var(--erp-border)}.erp-workspace .erp-compact-entities .erp-table td,.erp-workspace .erp-table td{height:54px;padding:12px 16px;color:var(--erp-text);font-size:15px;border-color:var(--erp-border)}.erp-workspace .erp-compact-entities .erp-table tbody tr:focus-within td,.erp-workspace .erp-table tbody tr:hover td{background:var(--erp-soft)}.erp-workspace .erp-table td :is(small,.erp-muted){color:var(--erp-muted);font-size:13px}.erp-workspace .erp-pagination{padding:14px 18px;background:var(--erp-surface);border-top-color:var(--erp-border);font-size:13px}.erp-workspace :is(.erp-status,.erp-bank-status,.workspace-state){font-size:12px;font-weight:650;padding:4px 9px;border-radius:7px;line-height:1.4;min-height:26px}.erp-workspace .erp-status:is(.status-posted,.status-completed,.status-active,.status-connected,.status-approved,.status-received){color:var(--erp-positive);background:var(--erp-positive-surface);border-color:color-mix(in srgb,var(--erp-positive) 30%,var(--erp-border))}.erp-workspace .erp-status:is(.status-draft,.status-calculation,.status-awaiting_credentials,.status-planned,.status-sent,.status-partial){color:var(--erp-warning);background:var(--erp-warning-surface);border-color:var(--erp-warning-line)}.erp-workspace .erp-status:is(.status-production,.status-in_progress,.status-installation){color:var(--erp-info);background:var(--erp-info-surface);border-color:color-mix(in srgb,var(--erp-info) 30%,var(--erp-border))}.erp-workspace .erp-status:is(.status-cancelled,.status-disabled){color:var(--erp-danger);background:var(--erp-danger-surface);border-color:var(--erp-danger-line)}.erp-workspace .erp-order-title{min-height:100px;padding:18px 20px;border-radius:16px;background:var(--erp-sidebar);border-color:var(--erp-sidebar);box-shadow:var(--erp-shadow-raised)}.erp-workspace .erp-order-title>div:first-child>span{color:var(--erp-sidebar-active);font-size:12px;font-weight:650;letter-spacing:.035em}.erp-workspace .erp-order-title .erp-table-link{color:var(--erp-sidebar-active);background:transparent;text-decoration-color:var(--erp-sidebar-muted)}.erp-workspace .erp-order-title h2{font-size:26px;font-weight:700;line-height:1.25}.erp-workspace .erp-order-status-control span,.erp-workspace .erp-order-title p{color:var(--erp-sidebar-text);font-size:13px;font-weight:500;letter-spacing:0;text-transform:none}.erp-workspace .erp-order-facts{background:var(--erp-soft);border-color:var(--erp-border);border-radius:14px}.erp-workspace .erp-order-facts>div{padding:14px 16px;border-color:var(--erp-border)}.erp-workspace .erp-order-facts span{font-size:13px;color:var(--erp-muted)}.erp-workspace .erp-order-facts b{font-size:15px;font-weight:600}.erp-workspace .erp-order-facts b.strong{font-size:23px}.erp-workspace :is(.erp-next-action,.erp-order-guidance){background:var(--erp-accent-surface);border-color:var(--erp-accent-line);border-radius:14px;padding:16px 18px}.erp-workspace .erp-next-action small,.erp-workspace .erp-next-action>div>svg{color:var(--erp-accent-ink)}.erp-workspace .erp-stage-actions{padding:16px 18px;border-color:var(--erp-border);border-radius:14px}.erp-workspace .erp-stage-actions>strong{font-size:18px}.erp-workspace .crm-day-groups button{border-color:var(--erp-border);border-radius:12px;font-size:14px}.erp-workspace .crm-day-groups button.active{color:var(--erp-accent-text);background:var(--erp-accent);border-color:transparent}.erp-workspace .crm-detail h3{font-size:17px}.erp-workspace .production-work-section{padding:18px}.erp-workspace .production-work-controls{box-shadow:var(--erp-shadow-raised)}.erp-workspace .erp-catalog,.erp-workspace .production-work-controls{border-color:var(--erp-border);border-radius:14px}.erp-workspace .erp-catalog>summary{background:var(--erp-soft)}:is([data-slot=dialog-overlay],[data-slot=alert-dialog-overlay]){background:var(--erp-overlay)}:is([data-slot=dialog-content],[data-slot=alert-dialog-content]){border:1px solid var(--erp-border);border-radius:20px;background:var(--erp-surface);color:var(--erp-text);box-shadow:var(--erp-shadow-modal);padding:24px}:is([data-slot=dialog-title],[data-slot=alert-dialog-title]){color:var(--erp-text);font-size:23px;font-weight:700;line-height:1.25;letter-spacing:-.025em}:is([data-slot=dialog-description],[data-slot=alert-dialog-description]){color:var(--erp-muted);font-size:14px;line-height:1.6}.erp-dialog .erp-form-section{background:var(--erp-soft);border-color:var(--erp-border);border-radius:14px;padding:16px;gap:14px}.erp-dialog .erp-form-section>h3{font-size:16px;font-weight:650;color:var(--erp-text)}.erp-dialog .erp-form-body{gap:18px;padding-block:18px}.erp-dialog [data-slot=dialog-footer]{padding-top:18px;border-color:var(--erp-border)}:is([data-slot=select-content],[data-slot=combobox-content],[data-slot=dropdown-menu-content],.erp-entity-results){border-color:var(--erp-border);border-radius:12px;padding:5px;box-shadow:var(--erp-shadow-modal)}:is([data-slot=select-item],[data-slot=combobox-item],[data-slot=dropdown-menu-item]){font-size:14px;border-radius:8px;min-height:38px}:is([data-slot=select-item],[data-slot=combobox-item],[data-slot=dropdown-menu-item]):is([data-highlighted],[data-state=checked],[data-selected],:focus-visible){color:var(--erp-accent-ink);background:var(--erp-accent-surface)}.comm-popup{border-color:var(--erp-border);box-shadow:var(--erp-shadow-modal);border-radius:16px}.comm-list>button.selected{background:var(--erp-accent-surface);box-shadow:inset 3px 0 var(--erp-accent-ink)}.comm-list strong{font-size:15px}.comm-detail-heading p,.comm-list :is(small,span span){font-size:13px}.workspace-profile-options button[aria-pressed=true]{background:var(--erp-accent-surface);border-color:var(--erp-accent-line);color:var(--erp-accent-ink)}.workspace-command-results button:focus-visible,.workspace-command-results button:hover{background:var(--erp-accent-surface);outline-color:var(--erp-focus)}.calculator-polished{background:var(--erp-canvas)}.calculator-polished :is(.parameter-card,.detail-panel,.calculator-source-status){border-radius:16px;border-color:var(--erp-border);box-shadow:var(--erp-shadow-card)}.calculator-polished .result-card{min-height:0;padding:24px;border-radius:16px;background:var(--erp-sidebar);box-shadow:var(--erp-shadow-raised)}.calculator-polished .calculator-execution,.calculator-polished .calculator-manual-materials,.calculator-polished .product-panel{padding:20px}.calculator-polished .panel-heading h2,.calculator-polished .section-intro h2,.calculator-polished .section-title h2{font-size:19px;font-weight:650}.calculator-polished .parameter-content{min-height:0;padding:20px}.calculator-polished :is(.client-strip,.toggle-row,.inline-switch-card){border-color:var(--erp-border);border-radius:12px;background:var(--erp-surface)}.calculator-polished :is(.field-label-row label,.settings-label,.toggle-title){color:var(--erp-text);font-size:13px;font-weight:600}.calculator-polished :is(.field-stack input,.field-stack [data-slot=select-trigger],.client-strip input,.calculator-client-price input,.calculator-quote-input){border-color:var(--erp-field-border);border-radius:10px;min-height:44px;font-size:16px;background:var(--erp-surface);color:var(--erp-text)}.calculator-polished .result-actions button{border-radius:10px;font-size:14px;font-weight:650}.calculator-polished .result-card .calculator-cost-note{color:var(--erp-sidebar-text);font-size:13px}.calculator-polished .result-card .calculator-price-warning{color:var(--erp-danger)}.calculator-polished :is(.toggle-description,.settings-unit,.field-description,.section-title p,.panel-heading p){color:var(--erp-muted);font-size:13px}.calculator-polished .step-badge{background:var(--erp-accent-surface);color:var(--erp-accent-ink)}.calculator-polished .live-badge>span{background:var(--erp-sidebar-active)}.calculator-polished .product-tab b{font-weight:650}.calculator-polished :is(input,select,textarea,button):focus-visible{outline:3px solid var(--erp-focus);outline-offset:3px}.calculator-polished .calculator-execution-option input:checked+span{color:var(--erp-accent-ink);background:var(--erp-accent-surface);border-color:var(--erp-accent-line)}.calculator-polished .calculator-execution-option input:checked+span:before{background:var(--erp-accent-ink);border-color:var(--erp-accent-ink)}.erp-auth-screen{background:radial-gradient(ellipse at 20% 5%,var(--appearance-glow),transparent 50%),var(--erp-canvas)}.erp-auth-card{border:1px solid var(--erp-border);border-radius:24px;box-shadow:var(--erp-shadow-modal)}.erp-auth-logo{background:var(--erp-sidebar);color:var(--erp-sidebar-active);border-radius:16px 16px 16px 5px}@media (max-width:1080px){.erp-workspace .erp-content{padding:24px 20px calc(94px + env(safe-area-inset-bottom))}.erp-workspace .erp-topbar{padding:10px 20px;gap:8px;flex-wrap:nowrap}.erp-workspace .workspace-topbar-caption{flex:1;min-width:0}.erp-workspace .erp-search{flex:1 1 180px;width:auto;min-width:100px}.erp-workspace .erp-topbar :is(.erp-menu-button,.erp-global-search-button,.workspace-help-button,.team-header-button,.comm-launch,.erp-refresh-button,.queue){position:relative;display:inline-flex;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;justify-content:center;align-items:center;gap:0;padding:0;white-space:nowrap;border-radius:10px}.erp-workspace .erp-topbar :is(.erp-menu-button,.erp-global-search-button,.workspace-help-button,.team-header-button,.comm-launch,.erp-refresh-button,.queue)>svg{width:20px;height:20px;flex-shrink:0}.erp-workspace .comm-launch>span:not([aria-label]),.erp-workspace .erp-topbar :is(.erp-global-search-button,.workspace-help-button,.team-header-button)>:is(span,kbd){display:none}.erp-workspace .erp-top-status{display:flex;flex:0 0 auto;align-items:center;gap:8px;margin-left:0}.erp-workspace .erp-top-status>span{display:none}.erp-workspace .erp-topbar :is(.erp-refresh-button,.queue){font-size:0}.erp-workspace .erp-topbar .queue:after,.erp-workspace .erp-topbar :is(.team-header-button,.comm-launch)>b{position:absolute;top:-3px;right:-3px;display:grid;place-items:center;min-width:18px;height:18px;border-radius:9px;padding:0 4px;background:var(--erp-accent);color:var(--erp-accent-text);font-size:11px;font-weight:700;line-height:18px}.erp-workspace .erp-topbar .queue:after{content:attr(data-count)}.erp-workspace .comm-launch>span[aria-label]{position:absolute;top:-2px;right:-2px}.workspace-bottom-nav{padding:6px 8px calc(6px + env(safe-area-inset-bottom));border-top-color:var(--erp-border);box-shadow:0 -4px 18px var(--titan-shadow)}.workspace-bottom-nav button{min-height:58px;border-radius:10px;color:var(--erp-muted);gap:5px}.workspace-bottom-nav button span{font-size:12px;line-height:1.25;font-weight:500}.workspace-bottom-nav button.active{color:var(--erp-accent-ink);background:var(--erp-accent-surface)}.workspace-bottom-nav button.active svg{stroke-width:2.2}}@media (max-width:680px){.erp-workspace .erp-topbar{min-height:60px;padding:8px 12px;gap:7px;flex-wrap:wrap}.erp-workspace .erp-search{order:10;flex:1 0 100%;width:100%;min-width:0}.erp-workspace .erp-topbar .erp-global-search-button{margin-left:0}.erp-workspace .erp-top-status{margin-left:auto}.erp-workspace .erp-content{padding:20px 12px calc(96px + env(safe-area-inset-bottom))}.erp-workspace .erp-page-head{margin-bottom:18px}.erp-workspace .erp-page-head h1{font-size:27px}.erp-workspace .erp-page-head p:not(.erp-eyebrow){font-size:14px}.erp-workspace .erp-panel-head,.erp-workspace .workspace-day-section>header{min-height:60px;padding:14px}.erp-workspace .erp-panel-head h2,.erp-workspace .workspace-day-section h2{font-size:18px}.erp-workspace .erp-kpi-grid{gap:10px}.erp-workspace .erp-kpi{padding:14px;min-height:136px;border-radius:14px}.erp-workspace .erp-kpi>span{font-size:13px;line-height:1.35;padding-right:21px;min-height:35px}.erp-workspace .erp-kpi>strong{font-size:clamp(23px,5.7vw,28px);margin-top:10px;margin-bottom:7px}.erp-workspace .erp-kpi>p{font-size:13px;padding-right:0}.erp-workspace .erp-kpi-icon{width:23px;height:23px;top:12px;right:10px;border-radius:7px}.erp-workspace .erp-kpi-icon svg{width:15px;height:15px}.erp-workspace .product-home-summary button{padding:14px}.erp-workspace .product-home-summary strong{font-size:26px}.erp-workspace .erp-compact-entities .erp-compact-row{padding-inline:14px}.erp-workspace .erp-compact-entities .erp-compact-main{min-height:84px;padding-block:14px}.erp-workspace .erp-compact-entities :is(.erp-compact-name strong,.erp-compact-amount strong){font-size:15px;line-height:1.45}.erp-workspace .erp-compact-entities :is(.erp-compact-name small,.erp-compact-amount small){font-size:13px}.erp-workspace .erp-compact-main:hover{background:var(--erp-soft)}.erp-workspace .erp-compact-main:focus-visible{outline-color:var(--erp-focus)}.erp-workspace .erp-compact-entities .erp-table td,.erp-workspace .erp-table td{padding:10px 12px}.erp-workspace .erp-order-facts>div{padding:12px}.erp-workspace :is(.erp-next-action,.erp-stage-actions,.erp-order-guidance){padding:14px}:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) [data-slot=button]:is([data-size=sm],[data-size=xs],[data-size^=icon]):not(:where(.communication-workspace *,.team-workspace *)){min-height:44px}:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) [data-slot=button][data-size^=icon]:not(:where(.communication-workspace *,.team-workspace *)){min-width:44px;width:44px;height:44px}:is([data-slot=dialog-content],[data-slot=alert-dialog-content]){padding:20px 16px;border-radius:18px}:is([data-slot=dialog-title],[data-slot=alert-dialog-title]){font-size:22px}.erp-dialog .erp-form-section{padding:14px}.calculator-polished .parameter-content{padding:18px 14px}.calculator-polished .result-card{padding:22px 18px}.calculator-polished .calculator-execution,.calculator-polished .calculator-manual-materials,.calculator-polished .product-panel{padding:18px 14px}}@media (pointer:coarse){:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) [data-slot=button]:is([data-size=sm],[data-size=xs],[data-size^=icon]):not(:where(.communication-workspace *,.team-workspace *)){min-height:44px;min-width:44px}:is(.erp-workspace,.erp-auth-card,[data-slot=dialog-content],[data-slot=alert-dialog-content]) [data-slot=button][data-size^=icon]:not(:where(.communication-workspace *,.team-workspace *)){width:44px;height:44px}.erp-workspace :is(.erp-icon-action,.erp-menu-button,.workspace-help-button,.comm-launch){min-width:44px;min-height:44px}:is([data-slot=select-item],[data-slot=combobox-item],[data-slot=dropdown-menu-item]){min-height:44px}}@media (prefers-reduced-motion:no-preference){:root:not([data-erp-motion=off]) :is(.erp-workspace,[data-slot=dialog-content]) [data-slot=button]{transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease}:root:not([data-erp-motion=off]) .erp-workspace .product-home-summary button{transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease}}}